react-semaphor 0.0.467 → 0.0.468
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/chunks/{index-TaNgI6po.js → index-Biwh9UaV.js} +474 -469
- package/dist/chunks/{index-ocubJDK9.js → index-vwhwdEV6.js} +64 -64
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/index.cjs +7 -7
- package/dist/index.js +1718 -1688
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -265,7 +265,7 @@ const Ut = (e) => {
|
|
|
265
265
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
266
266
|
f$.test(e) && !h$.test(e)
|
|
267
267
|
), qM = () => !1, _$ = (e) => p$.test(e), E$ = (e) => g$.test(e), R$ = () => {
|
|
268
|
-
const e = Ut("colors"), t = Ut("spacing"), n = Ut("blur"), r = Ut("brightness"), o = Ut("borderColor"), i = Ut("borderRadius"), a = Ut("borderSpacing"), s = Ut("borderWidth"), l = Ut("contrast"), c = Ut("grayscale"), u = Ut("hueRotate"), d = Ut("invert"), h = Ut("gap"), f = Ut("gradientColorStops"), p = Ut("gradientColorStopPositions"), g = Ut("inset"), m = Ut("margin"), b = Ut("opacity"), v = Ut("padding"), w = Ut("saturate"), C = Ut("scale"), _ = Ut("sepia"), x = Ut("skew"), S = Ut("space"), R = Ut("translate"), D = () => ["auto", "contain", "none"], P = () => ["auto", "hidden", "clip", "visible", "scroll"], A = () => ["auto", Xe, t], I = () => [Xe, t], $ = () => ["", mi, Qi],
|
|
268
|
+
const e = Ut("colors"), t = Ut("spacing"), n = Ut("blur"), r = Ut("brightness"), o = Ut("borderColor"), i = Ut("borderRadius"), a = Ut("borderSpacing"), s = Ut("borderWidth"), l = Ut("contrast"), c = Ut("grayscale"), u = Ut("hueRotate"), d = Ut("invert"), h = Ut("gap"), f = Ut("gradientColorStops"), p = Ut("gradientColorStopPositions"), g = Ut("inset"), m = Ut("margin"), b = Ut("opacity"), v = Ut("padding"), w = Ut("saturate"), C = Ut("scale"), _ = Ut("sepia"), x = Ut("skew"), S = Ut("space"), R = Ut("translate"), D = () => ["auto", "contain", "none"], P = () => ["auto", "hidden", "clip", "visible", "scroll"], A = () => ["auto", Xe, t], I = () => [Xe, t], $ = () => ["", mi, Qi], F = () => ["auto", nc, Xe], O = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], T = () => ["solid", "dashed", "dotted", "double", "none"], N = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], z = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], B = () => ["", "0", Xe], M = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], W = () => [nc, Xe];
|
|
269
269
|
return {
|
|
270
270
|
cacheSize: 500,
|
|
271
271
|
separator: ":",
|
|
@@ -583,14 +583,14 @@ const Ut = (e) => {
|
|
|
583
583
|
* @see https://tailwindcss.com/docs/grid-column
|
|
584
584
|
*/
|
|
585
585
|
"col-start": [{
|
|
586
|
-
"col-start":
|
|
586
|
+
"col-start": F()
|
|
587
587
|
}],
|
|
588
588
|
/**
|
|
589
589
|
* Grid Column End
|
|
590
590
|
* @see https://tailwindcss.com/docs/grid-column
|
|
591
591
|
*/
|
|
592
592
|
"col-end": [{
|
|
593
|
-
"col-end":
|
|
593
|
+
"col-end": F()
|
|
594
594
|
}],
|
|
595
595
|
/**
|
|
596
596
|
* Grid Template Rows
|
|
@@ -613,14 +613,14 @@ const Ut = (e) => {
|
|
|
613
613
|
* @see https://tailwindcss.com/docs/grid-row
|
|
614
614
|
*/
|
|
615
615
|
"row-start": [{
|
|
616
|
-
"row-start":
|
|
616
|
+
"row-start": F()
|
|
617
617
|
}],
|
|
618
618
|
/**
|
|
619
619
|
* Grid Row End
|
|
620
620
|
* @see https://tailwindcss.com/docs/grid-row
|
|
621
621
|
*/
|
|
622
622
|
"row-end": [{
|
|
623
|
-
"row-end":
|
|
623
|
+
"row-end": F()
|
|
624
624
|
}],
|
|
625
625
|
/**
|
|
626
626
|
* Grid Auto Flow
|
|
@@ -1659,14 +1659,14 @@ const Ut = (e) => {
|
|
|
1659
1659
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
1660
1660
|
*/
|
|
1661
1661
|
"mix-blend": [{
|
|
1662
|
-
"mix-blend": [...
|
|
1662
|
+
"mix-blend": [...N(), "plus-lighter", "plus-darker"]
|
|
1663
1663
|
}],
|
|
1664
1664
|
/**
|
|
1665
1665
|
* Background Blend Mode
|
|
1666
1666
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
1667
1667
|
*/
|
|
1668
1668
|
"bg-blend": [{
|
|
1669
|
-
"bg-blend":
|
|
1669
|
+
"bg-blend": N()
|
|
1670
1670
|
}],
|
|
1671
1671
|
// Filters
|
|
1672
1672
|
/**
|
|
@@ -5160,8 +5160,8 @@ async function s2e(e) {
|
|
|
5160
5160
|
var ig = { exports: {} };
|
|
5161
5161
|
ig.exports;
|
|
5162
5162
|
(function(e, t) {
|
|
5163
|
-
var n = 200, r = "__lodash_hash_undefined__", o = 800, i = 16, a = 9007199254740991, s = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", u = "[object Boolean]", d = "[object Date]", h = "[object Error]", f = "[object Function]", p = "[object GeneratorFunction]", g = "[object Map]", m = "[object Number]", b = "[object Null]", v = "[object Object]", w = "[object Proxy]", C = "[object RegExp]", _ = "[object Set]", x = "[object String]", S = "[object Undefined]", R = "[object WeakMap]", D = "[object ArrayBuffer]", P = "[object DataView]", A = "[object Float32Array]", I = "[object Float64Array]", $ = "[object Int8Array]",
|
|
5164
|
-
k[A] = k[I] = k[$] = k[
|
|
5163
|
+
var n = 200, r = "__lodash_hash_undefined__", o = 800, i = 16, a = 9007199254740991, s = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", u = "[object Boolean]", d = "[object Date]", h = "[object Error]", f = "[object Function]", p = "[object GeneratorFunction]", g = "[object Map]", m = "[object Number]", b = "[object Null]", v = "[object Object]", w = "[object Proxy]", C = "[object RegExp]", _ = "[object Set]", x = "[object String]", S = "[object Undefined]", R = "[object WeakMap]", D = "[object ArrayBuffer]", P = "[object DataView]", A = "[object Float32Array]", I = "[object Float64Array]", $ = "[object Int8Array]", F = "[object Int16Array]", O = "[object Int32Array]", T = "[object Uint8Array]", N = "[object Uint8ClampedArray]", z = "[object Uint16Array]", B = "[object Uint32Array]", M = /[\\^$.*+?()[\]{}|]/g, W = /^\[object .+?Constructor\]$/, L = /^(?:0|[1-9]\d*)$/, k = {};
|
|
5164
|
+
k[A] = k[I] = k[$] = k[F] = k[O] = k[T] = k[N] = k[z] = k[B] = !0, k[s] = k[l] = k[D] = k[u] = k[P] = k[d] = k[h] = k[f] = k[g] = k[m] = k[v] = k[C] = k[_] = k[x] = k[R] = !1;
|
|
5165
5165
|
var V = typeof Ai == "object" && Ai && Ai.Object === Object && Ai, q = typeof self == "object" && self && self.Object === Object && self, G = V || q || Function("return this")(), H = t && !t.nodeType && t, U = H && !0 && e && !e.nodeType && e, X = U && U.exports === H, ee = X && V.process, re = function() {
|
|
5166
5166
|
try {
|
|
5167
5167
|
var j = U && U.require && U.require("util").types;
|
|
@@ -7575,7 +7575,7 @@ function sB({
|
|
|
7575
7575
|
(T) => T.actions.setThemeStyle
|
|
7576
7576
|
), $ = ae(
|
|
7577
7577
|
(T) => T.actions.setDashboardTheme
|
|
7578
|
-
),
|
|
7578
|
+
), F = ae((T) => T.actions.setOnEvent);
|
|
7579
7579
|
he(() => {
|
|
7580
7580
|
s && D();
|
|
7581
7581
|
}, [s, D]), he(() => {
|
|
@@ -7587,12 +7587,12 @@ function sB({
|
|
|
7587
7587
|
t && m(t);
|
|
7588
7588
|
}, [t, m]);
|
|
7589
7589
|
const O = Re(() => {
|
|
7590
|
-
const T = Vd(rg),
|
|
7590
|
+
const T = Vd(rg), N = ag(T, b);
|
|
7591
7591
|
if (e) {
|
|
7592
|
-
const z = ag(
|
|
7592
|
+
const z = ag(N, e), B = zE(g, z);
|
|
7593
7593
|
I(B), _(z);
|
|
7594
7594
|
} else {
|
|
7595
|
-
const z = zE(g,
|
|
7595
|
+
const z = zE(g, N);
|
|
7596
7596
|
I(z), _(rg);
|
|
7597
7597
|
}
|
|
7598
7598
|
}, [g, e, b, I, _]);
|
|
@@ -7617,7 +7617,7 @@ function sB({
|
|
|
7617
7617
|
}
|
|
7618
7618
|
if (!c || !c.dashboard) return;
|
|
7619
7619
|
const {
|
|
7620
|
-
dashboard:
|
|
7620
|
+
dashboard: N,
|
|
7621
7621
|
filterValues: z,
|
|
7622
7622
|
defaultLensId: B,
|
|
7623
7623
|
lenses: M
|
|
@@ -7626,10 +7626,10 @@ function sB({
|
|
|
7626
7626
|
var q;
|
|
7627
7627
|
if (z && (z == null ? void 0 : z.length) > 0)
|
|
7628
7628
|
return z;
|
|
7629
|
-
const V = T(
|
|
7630
|
-
return V && (V == null ? void 0 : V.length) > 0 ? V :
|
|
7629
|
+
const V = T(N, f || []);
|
|
7630
|
+
return V && (V == null ? void 0 : V.length) > 0 ? V : N.defaultFilterValues && ((q = N.defaultFilterValues) == null ? void 0 : q.length) > 0 ? N.defaultFilterValues : [];
|
|
7631
7631
|
}
|
|
7632
|
-
w(
|
|
7632
|
+
w(N, W()), M && S(M), B && R(B), C(i || ((k = (L = N == null ? void 0 : N.sheets) == null ? void 0 : L[0]) == null ? void 0 : k.id) || null);
|
|
7633
7633
|
}, [
|
|
7634
7634
|
c,
|
|
7635
7635
|
v,
|
|
@@ -7644,8 +7644,8 @@ function sB({
|
|
|
7644
7644
|
]), he(() => {
|
|
7645
7645
|
a && A && a(A);
|
|
7646
7646
|
}, [A, a]), he(() => {
|
|
7647
|
-
n && x(n), r &&
|
|
7648
|
-
}, [n, x, r,
|
|
7647
|
+
n && x(n), r && F(r);
|
|
7648
|
+
}, [n, x, r, F]), {
|
|
7649
7649
|
isFetching: d,
|
|
7650
7650
|
isLoading: u,
|
|
7651
7651
|
isError: h
|
|
@@ -8525,7 +8525,7 @@ var XO = { exports: {} }, Of = {}, Yv = { exports: {} };
|
|
|
8525
8525
|
function $(U, X) {
|
|
8526
8526
|
return U.source === X.source && U.flags === X.flags;
|
|
8527
8527
|
}
|
|
8528
|
-
function
|
|
8528
|
+
function F(U, X, ee, re) {
|
|
8529
8529
|
var Q = U.size === X.size;
|
|
8530
8530
|
if (!Q)
|
|
8531
8531
|
return !1;
|
|
@@ -8541,15 +8541,15 @@ var XO = { exports: {} }, Of = {}, Yv = { exports: {} };
|
|
|
8541
8541
|
}
|
|
8542
8542
|
}), Q;
|
|
8543
8543
|
}
|
|
8544
|
-
var O = o(
|
|
8544
|
+
var O = o(F), T = Object.freeze({
|
|
8545
8545
|
areArraysEqual: C,
|
|
8546
8546
|
areDatesEqual: x,
|
|
8547
8547
|
areMapsEqual: S,
|
|
8548
8548
|
areObjectsEqual: A,
|
|
8549
8549
|
areRegExpsEqual: $,
|
|
8550
|
-
areSetsEqual:
|
|
8550
|
+
areSetsEqual: F,
|
|
8551
8551
|
createIsNestedEqual: r
|
|
8552
|
-
}),
|
|
8552
|
+
}), N = Object.freeze({
|
|
8553
8553
|
areArraysEqual: _,
|
|
8554
8554
|
areDatesEqual: x,
|
|
8555
8555
|
areMapsEqual: R,
|
|
@@ -8567,11 +8567,11 @@ var XO = { exports: {} }, Of = {}, Yv = { exports: {} };
|
|
|
8567
8567
|
function W(U, X) {
|
|
8568
8568
|
return M(U, X, void 0);
|
|
8569
8569
|
}
|
|
8570
|
-
var L = w(
|
|
8570
|
+
var L = w(N);
|
|
8571
8571
|
function k(U, X) {
|
|
8572
8572
|
return L(U, X, /* @__PURE__ */ new WeakMap());
|
|
8573
8573
|
}
|
|
8574
|
-
var V = w(i(
|
|
8574
|
+
var V = w(i(N, {
|
|
8575
8575
|
createIsNestedEqual: function() {
|
|
8576
8576
|
return l;
|
|
8577
8577
|
}
|
|
@@ -8583,7 +8583,7 @@ var XO = { exports: {} }, Of = {}, Yv = { exports: {} };
|
|
|
8583
8583
|
return w(i(T, U(T)));
|
|
8584
8584
|
}
|
|
8585
8585
|
function H(U) {
|
|
8586
|
-
var X = w(i(
|
|
8586
|
+
var X = w(i(N, U(N)));
|
|
8587
8587
|
return function(ee, re, Q) {
|
|
8588
8588
|
return Q === void 0 && (Q = /* @__PURE__ */ new WeakMap()), X(ee, re, Q);
|
|
8589
8589
|
};
|
|
@@ -9149,7 +9149,7 @@ function iV() {
|
|
|
9149
9149
|
}
|
|
9150
9150
|
}
|
|
9151
9151
|
}
|
|
9152
|
-
var _ = l, x = c, S = s, R = a, D = t, P = u, A = r, I = p, $ = f,
|
|
9152
|
+
var _ = l, x = c, S = s, R = a, D = t, P = u, A = r, I = p, $ = f, F = n, O = i, T = o, N = d, z = !1;
|
|
9153
9153
|
function B(Q) {
|
|
9154
9154
|
return z || (z = !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.")), M(Q) || C(Q) === l;
|
|
9155
9155
|
}
|
|
@@ -9189,7 +9189,7 @@ function iV() {
|
|
|
9189
9189
|
function re(Q) {
|
|
9190
9190
|
return C(Q) === d;
|
|
9191
9191
|
}
|
|
9192
|
-
Rt.AsyncMode = _, Rt.ConcurrentMode = x, Rt.ContextConsumer = S, Rt.ContextProvider = R, Rt.Element = D, Rt.ForwardRef = P, Rt.Fragment = A, Rt.Lazy = I, Rt.Memo = $, Rt.Portal =
|
|
9192
|
+
Rt.AsyncMode = _, Rt.ConcurrentMode = x, Rt.ContextConsumer = S, Rt.ContextProvider = R, Rt.Element = D, Rt.ForwardRef = P, Rt.Fragment = A, Rt.Lazy = I, Rt.Memo = $, Rt.Portal = F, Rt.Profiler = O, Rt.StrictMode = T, Rt.Suspense = N, Rt.isAsyncMode = B, Rt.isConcurrentMode = M, Rt.isContextConsumer = W, Rt.isContextProvider = L, Rt.isElement = k, Rt.isForwardRef = V, Rt.isFragment = q, Rt.isLazy = G, Rt.isMemo = H, Rt.isPortal = U, Rt.isProfiler = X, Rt.isStrictMode = ee, Rt.isSuspense = re, Rt.isValidElementType = w, Rt.typeOf = C;
|
|
9193
9193
|
}()), Rt;
|
|
9194
9194
|
}
|
|
9195
9195
|
var WE;
|
|
@@ -9386,7 +9386,7 @@ function lV() {
|
|
|
9386
9386
|
function W(L, k, V, q, G, H) {
|
|
9387
9387
|
var U = L[k], X = T(U);
|
|
9388
9388
|
if (X !== M) {
|
|
9389
|
-
var ee =
|
|
9389
|
+
var ee = N(U);
|
|
9390
9390
|
return new g(
|
|
9391
9391
|
"Invalid " + q + " `" + G + "` of type " + ("`" + ee + "` supplied to `" + V + "`, expected ") + ("`" + M + "`."),
|
|
9392
9392
|
{ expectedType: M }
|
|
@@ -9459,7 +9459,7 @@ function lV() {
|
|
|
9459
9459
|
if (p(H, M[U]))
|
|
9460
9460
|
return null;
|
|
9461
9461
|
var X = JSON.stringify(M, function(re, Q) {
|
|
9462
|
-
var ie =
|
|
9462
|
+
var ie = N(Q);
|
|
9463
9463
|
return ie === "symbol" ? String(Q) : Q;
|
|
9464
9464
|
});
|
|
9465
9465
|
return new g("Invalid " + q + " `" + G + "` of value `" + String(H) + "` " + ("supplied to `" + V + "`, expected one of " + X + "."));
|
|
@@ -9507,7 +9507,7 @@ function lV() {
|
|
|
9507
9507
|
}
|
|
9508
9508
|
function P() {
|
|
9509
9509
|
function M(W, L, k, V, q) {
|
|
9510
|
-
return
|
|
9510
|
+
return F(W[L]) ? null : new g("Invalid " + V + " `" + q + "` supplied to " + ("`" + k + "`, expected a ReactNode."));
|
|
9511
9511
|
}
|
|
9512
9512
|
return m(M);
|
|
9513
9513
|
}
|
|
@@ -9524,7 +9524,7 @@ function lV() {
|
|
|
9524
9524
|
for (var X in M) {
|
|
9525
9525
|
var ee = M[X];
|
|
9526
9526
|
if (typeof ee != "function")
|
|
9527
|
-
return A(V, q, G, X,
|
|
9527
|
+
return A(V, q, G, X, N(ee));
|
|
9528
9528
|
var re = ee(H, X, V, q, G + "." + X, n);
|
|
9529
9529
|
if (re)
|
|
9530
9530
|
return re;
|
|
@@ -9542,7 +9542,7 @@ function lV() {
|
|
|
9542
9542
|
for (var ee in X) {
|
|
9543
9543
|
var re = M[ee];
|
|
9544
9544
|
if (r(M, ee) && typeof re != "function")
|
|
9545
|
-
return A(V, q, G, ee,
|
|
9545
|
+
return A(V, q, G, ee, N(re));
|
|
9546
9546
|
if (!re)
|
|
9547
9547
|
return new g(
|
|
9548
9548
|
"Invalid " + q + " `" + G + "` key `" + ee + "` supplied to `" + V + "`.\nBad object: " + JSON.stringify(L[k], null, " ") + `
|
|
@@ -9556,7 +9556,7 @@ Valid keys: ` + JSON.stringify(Object.keys(M), null, " ")
|
|
|
9556
9556
|
}
|
|
9557
9557
|
return m(W);
|
|
9558
9558
|
}
|
|
9559
|
-
function
|
|
9559
|
+
function F(M) {
|
|
9560
9560
|
switch (typeof M) {
|
|
9561
9561
|
case "number":
|
|
9562
9562
|
case "string":
|
|
@@ -9566,7 +9566,7 @@ Valid keys: ` + JSON.stringify(Object.keys(M), null, " ")
|
|
|
9566
9566
|
return !M;
|
|
9567
9567
|
case "object":
|
|
9568
9568
|
if (Array.isArray(M))
|
|
9569
|
-
return M.every(
|
|
9569
|
+
return M.every(F);
|
|
9570
9570
|
if (M === null || s(M))
|
|
9571
9571
|
return !0;
|
|
9572
9572
|
var W = d(M);
|
|
@@ -9574,12 +9574,12 @@ Valid keys: ` + JSON.stringify(Object.keys(M), null, " ")
|
|
|
9574
9574
|
var L = W.call(M), k;
|
|
9575
9575
|
if (W !== M.entries) {
|
|
9576
9576
|
for (; !(k = L.next()).done; )
|
|
9577
|
-
if (!
|
|
9577
|
+
if (!F(k.value))
|
|
9578
9578
|
return !1;
|
|
9579
9579
|
} else
|
|
9580
9580
|
for (; !(k = L.next()).done; ) {
|
|
9581
9581
|
var V = k.value;
|
|
9582
|
-
if (V && !
|
|
9582
|
+
if (V && !F(V[1]))
|
|
9583
9583
|
return !1;
|
|
9584
9584
|
}
|
|
9585
9585
|
} else
|
|
@@ -9596,7 +9596,7 @@ Valid keys: ` + JSON.stringify(Object.keys(M), null, " ")
|
|
|
9596
9596
|
var W = typeof M;
|
|
9597
9597
|
return Array.isArray(M) ? "array" : M instanceof RegExp ? "object" : O(W, M) ? "symbol" : W;
|
|
9598
9598
|
}
|
|
9599
|
-
function
|
|
9599
|
+
function N(M) {
|
|
9600
9600
|
if (typeof M > "u" || M === null)
|
|
9601
9601
|
return "" + M;
|
|
9602
9602
|
var W = T(M);
|
|
@@ -9609,7 +9609,7 @@ Valid keys: ` + JSON.stringify(Object.keys(M), null, " ")
|
|
|
9609
9609
|
return W;
|
|
9610
9610
|
}
|
|
9611
9611
|
function z(M) {
|
|
9612
|
-
var W =
|
|
9612
|
+
var W = N(M);
|
|
9613
9613
|
switch (W) {
|
|
9614
9614
|
case "array":
|
|
9615
9615
|
case "object":
|
|
@@ -10494,14 +10494,14 @@ ir(Am, "defaultProps", {
|
|
|
10494
10494
|
scale: I,
|
|
10495
10495
|
...$
|
|
10496
10496
|
} = this.props;
|
|
10497
|
-
let
|
|
10498
|
-
const
|
|
10497
|
+
let F = {}, O = null;
|
|
10498
|
+
const N = !!!P || this.state.dragging, z = P || x, B = {
|
|
10499
10499
|
// Set left if horizontal drag is enabled
|
|
10500
|
-
x: (0, a.canDragX)(this) &&
|
|
10500
|
+
x: (0, a.canDragX)(this) && N ? this.state.x : z.x,
|
|
10501
10501
|
// Set top if vertical drag is enabled
|
|
10502
|
-
y: (0, a.canDragY)(this) &&
|
|
10502
|
+
y: (0, a.canDragY)(this) && N ? this.state.y : z.y
|
|
10503
10503
|
};
|
|
10504
|
-
this.state.isElementSVG ? O = (0, i.createSVGTransform)(B, A) :
|
|
10504
|
+
this.state.isElementSVG ? O = (0, i.createSVGTransform)(B, A) : F = (0, i.createCSSTransform)(B, A);
|
|
10505
10505
|
const M = (0, o.default)(_.props.className || "", S, {
|
|
10506
10506
|
[R]: this.state.dragging,
|
|
10507
10507
|
[D]: this.state.dragged
|
|
@@ -10514,7 +10514,7 @@ ir(Am, "defaultProps", {
|
|
|
10514
10514
|
className: M,
|
|
10515
10515
|
style: {
|
|
10516
10516
|
..._.props.style,
|
|
10517
|
-
...
|
|
10517
|
+
...F
|
|
10518
10518
|
},
|
|
10519
10519
|
transform: O
|
|
10520
10520
|
}));
|
|
@@ -14355,8 +14355,8 @@ function Ra(e) {
|
|
|
14355
14355
|
refetchInterval: h
|
|
14356
14356
|
});
|
|
14357
14357
|
function b() {
|
|
14358
|
-
var $,
|
|
14359
|
-
const P = ($ = e.queryConfig) == null ? void 0 : $.metricColumns, A = (
|
|
14358
|
+
var $, F, O;
|
|
14359
|
+
const P = ($ = e.queryConfig) == null ? void 0 : $.metricColumns, A = (F = e.queryConfig) == null ? void 0 : F.groupByColumns, I = (O = e.queryConfig) == null ? void 0 : O.pivotColumns;
|
|
14360
14360
|
return !!(P && (P == null ? void 0 : P.length) > 0 || A && (A == null ? void 0 : A.length) > 0 || I && (I == null ? void 0 : I.length) > 0);
|
|
14361
14361
|
}
|
|
14362
14362
|
const v = {
|
|
@@ -15106,7 +15106,7 @@ function hg({
|
|
|
15106
15106
|
preferences: n,
|
|
15107
15107
|
customCfg: r
|
|
15108
15108
|
}) {
|
|
15109
|
-
var p, g, m, b, v, w, C, _, x, S, R, D, P, A, I, $,
|
|
15109
|
+
var p, g, m, b, v, w, C, _, x, S, R, D, P, A, I, $, F, O, T, N, z, B, M, W, L, k, V, q, G;
|
|
15110
15110
|
const o = ae.getState().themeStyle, i = Y5(t, n), a = Vn(
|
|
15111
15111
|
(t == null ? void 0 : t.options) || {},
|
|
15112
15112
|
n == null ? void 0 : n.chartOptions
|
|
@@ -15194,8 +15194,8 @@ function hg({
|
|
|
15194
15194
|
// ...options?.plugins?.tooltip?.callbacks, // spreading this in the end because the pie and doughnut charts have a different callback
|
|
15195
15195
|
// },
|
|
15196
15196
|
callbacks: c,
|
|
15197
|
-
...(
|
|
15198
|
-
backgroundColor: (z = (
|
|
15197
|
+
...(F = l == null ? void 0 : l.plugins) == null ? void 0 : F.tooltip,
|
|
15198
|
+
backgroundColor: (z = (N = (T = (O = o == null ? void 0 : o.chart) == null ? void 0 : O.options) == null ? void 0 : T.plugins) == null ? void 0 : N.tooltip) == null ? void 0 : z.backgroundColor,
|
|
15199
15199
|
bodyColor: (L = (W = (M = (B = o == null ? void 0 : o.chart) == null ? void 0 : B.options) == null ? void 0 : M.plugins) == null ? void 0 : W.tooltip) == null ? void 0 : L.bodyColor,
|
|
15200
15200
|
titleColor: (G = (q = (V = (k = o == null ? void 0 : o.chart) == null ? void 0 : k.options) == null ? void 0 : V.plugins) == null ? void 0 : q.tooltip) == null ? void 0 : G.titleColor
|
|
15201
15201
|
}
|
|
@@ -20029,22 +20029,22 @@ class Ba extends di {
|
|
|
20029
20029
|
if (a === "center")
|
|
20030
20030
|
v = b((t.top + t.bottom) / 2 + 0.5);
|
|
20031
20031
|
else if (st(a)) {
|
|
20032
|
-
const T = Object.keys(a)[0],
|
|
20033
|
-
v = b(this.chart.scales[T].getPixelForValue(
|
|
20032
|
+
const T = Object.keys(a)[0], N = a[T];
|
|
20033
|
+
v = b(this.chart.scales[T].getPixelForValue(N));
|
|
20034
20034
|
}
|
|
20035
20035
|
A = t.top, $ = t.bottom, S = v + m, D = S + h;
|
|
20036
20036
|
} else if (n === "y") {
|
|
20037
20037
|
if (a === "center")
|
|
20038
20038
|
v = b((t.left + t.right) / 2);
|
|
20039
20039
|
else if (st(a)) {
|
|
20040
|
-
const T = Object.keys(a)[0],
|
|
20041
|
-
v = b(this.chart.scales[T].getPixelForValue(
|
|
20040
|
+
const T = Object.keys(a)[0], N = a[T];
|
|
20041
|
+
v = b(this.chart.scales[T].getPixelForValue(N));
|
|
20042
20042
|
}
|
|
20043
20043
|
x = v - m, R = x - h, P = t.left, I = t.right;
|
|
20044
20044
|
}
|
|
20045
|
-
const
|
|
20045
|
+
const F = $e(o.ticks.maxTicksLimit, d), O = Math.max(1, Math.ceil(d / F));
|
|
20046
20046
|
for (w = 0; w < d; w += O) {
|
|
20047
|
-
const T = this.getContext(w),
|
|
20047
|
+
const T = this.getContext(w), N = i.setContext(T), z = s.setContext(T), B = N.lineWidth, M = N.color, W = z.dash || [], L = z.dashOffset, k = N.tickWidth, V = N.tickColor, q = N.tickBorderDash || [], G = N.tickBorderDashOffset;
|
|
20048
20048
|
C = DG(this, w, l), C !== void 0 && (_ = es(r, C, B), c ? x = R = P = I = _ : S = D = A = $ = _, f.push({
|
|
20049
20049
|
tx1: x,
|
|
20050
20050
|
ty1: S,
|
|
@@ -20097,17 +20097,17 @@ class Ba extends di {
|
|
|
20097
20097
|
S = this._getYAxisLabelAlignment(h).textAlign;
|
|
20098
20098
|
}
|
|
20099
20099
|
n === "y" && (l === "start" ? $ = "top" : l === "end" && ($ = "bottom"));
|
|
20100
|
-
const
|
|
20100
|
+
const F = this._getLabelSizes();
|
|
20101
20101
|
for (b = 0, v = s.length; b < v; ++b) {
|
|
20102
20102
|
w = s[b], C = w.label;
|
|
20103
20103
|
const O = i.setContext(this.getContext(b));
|
|
20104
20104
|
R = this.getPixelForTick(b) + i.labelOffset, D = this._resolveTickFontOptions(b), P = D.lineHeight, A = Yt(C) ? C.length : 1;
|
|
20105
|
-
const T = A / 2,
|
|
20105
|
+
const T = A / 2, N = O.color, z = O.textStrokeColor, B = O.textStrokeWidth;
|
|
20106
20106
|
let M = S;
|
|
20107
|
-
a ? (_ = R, S === "inner" && (b === v - 1 ? M = this.options.reverse ? "left" : "right" : b === 0 ? M = this.options.reverse ? "right" : "left" : M = "center"), o === "top" ? c === "near" || g !== 0 ? I = -A * P + P / 2 : c === "center" ? I = -
|
|
20107
|
+
a ? (_ = R, S === "inner" && (b === v - 1 ? M = this.options.reverse ? "left" : "right" : b === 0 ? M = this.options.reverse ? "right" : "left" : M = "center"), o === "top" ? c === "near" || g !== 0 ? I = -A * P + P / 2 : c === "center" ? I = -F.highest.height / 2 - T * P + P : I = -F.highest.height + P / 2 : c === "near" || g !== 0 ? I = P / 2 : c === "center" ? I = F.highest.height / 2 - T * P : I = F.highest.height - A * P, d && (I *= -1), g !== 0 && !O.showLabelBackdrop && (_ += P / 2 * Math.sin(g))) : (x = R, I = (1 - A) * P / 2);
|
|
20108
20108
|
let W;
|
|
20109
20109
|
if (O.showLabelBackdrop) {
|
|
20110
|
-
const L = Hn(O.backdropPadding), k =
|
|
20110
|
+
const L = Hn(O.backdropPadding), k = F.heights[b], V = F.widths[b];
|
|
20111
20111
|
let q = I - L.top, G = 0 - L.left;
|
|
20112
20112
|
switch ($) {
|
|
20113
20113
|
case "middle":
|
|
@@ -20142,7 +20142,7 @@ class Ba extends di {
|
|
|
20142
20142
|
textOffset: I,
|
|
20143
20143
|
options: {
|
|
20144
20144
|
rotation: g,
|
|
20145
|
-
color:
|
|
20145
|
+
color: N,
|
|
20146
20146
|
strokeColor: z,
|
|
20147
20147
|
strokeWidth: B,
|
|
20148
20148
|
textAlign: M,
|
|
@@ -21356,10 +21356,10 @@ function xg(e, t, n, r, o, i) {
|
|
|
21356
21356
|
let f = 0;
|
|
21357
21357
|
const p = o - l;
|
|
21358
21358
|
if (r) {
|
|
21359
|
-
const O = u > 0 ? u - r : 0, T = d > 0 ? d - r : 0,
|
|
21359
|
+
const O = u > 0 ? u - r : 0, T = d > 0 ? d - r : 0, N = (O + T) / 2, z = N !== 0 ? p * N / (N + r) : p;
|
|
21360
21360
|
f = (p - z) / 2;
|
|
21361
21361
|
}
|
|
21362
|
-
const g = Math.max(1e-3, p * d - n / Qt) / d, m = (p - g) / 2, b = l + m + f, v = o - m - f, { outerStart: w, outerEnd: C, innerStart: _, innerEnd: x } = sY(t, h, d, v - b), S = d - w, R = d - C, D = b + w / S, P = v - C / R, A = h + _, I = h + x, $ = b + _ / A,
|
|
21362
|
+
const g = Math.max(1e-3, p * d - n / Qt) / d, m = (p - g) / 2, b = l + m + f, v = o - m - f, { outerStart: w, outerEnd: C, innerStart: _, innerEnd: x } = sY(t, h, d, v - b), S = d - w, R = d - C, D = b + w / S, P = v - C / R, A = h + _, I = h + x, $ = b + _ / A, F = v - x / I;
|
|
21363
21363
|
if (e.beginPath(), i) {
|
|
21364
21364
|
const O = (D + P) / 2;
|
|
21365
21365
|
if (e.arc(a, s, d, D, O), e.arc(a, s, d, O, P), C > 0) {
|
|
@@ -21368,11 +21368,11 @@ function xg(e, t, n, r, o, i) {
|
|
|
21368
21368
|
}
|
|
21369
21369
|
const T = Il(I, v, a, s);
|
|
21370
21370
|
if (e.lineTo(T.x, T.y), x > 0) {
|
|
21371
|
-
const B = Il(I,
|
|
21372
|
-
e.arc(B.x, B.y, x, v + dn,
|
|
21371
|
+
const B = Il(I, F, a, s);
|
|
21372
|
+
e.arc(B.x, B.y, x, v + dn, F + Math.PI);
|
|
21373
21373
|
}
|
|
21374
|
-
const
|
|
21375
|
-
if (e.arc(a, s, h, v - x / h,
|
|
21374
|
+
const N = (v - x / h + (b + _ / h)) / 2;
|
|
21375
|
+
if (e.arc(a, s, h, v - x / h, N, !0), e.arc(a, s, h, N, b + _ / h, !0), _ > 0) {
|
|
21376
21376
|
const B = Il(A, $, a, s);
|
|
21377
21377
|
e.arc(B.x, B.y, _, $ + Math.PI, b - dn);
|
|
21378
21378
|
}
|
|
@@ -21385,8 +21385,8 @@ function xg(e, t, n, r, o, i) {
|
|
|
21385
21385
|
e.moveTo(a, s);
|
|
21386
21386
|
const O = Math.cos(D) * d + a, T = Math.sin(D) * d + s;
|
|
21387
21387
|
e.lineTo(O, T);
|
|
21388
|
-
const
|
|
21389
|
-
e.lineTo(
|
|
21388
|
+
const N = Math.cos(P) * d + a, z = Math.sin(P) * d + s;
|
|
21389
|
+
e.lineTo(N, z);
|
|
21390
21390
|
}
|
|
21391
21391
|
e.closePath();
|
|
21392
21392
|
}
|
|
@@ -22545,8 +22545,8 @@ class bR extends di {
|
|
|
22545
22545
|
if (b($, I, x), A = Cq(D, A + p + h, w ? A + P : this.right, t.rtl), v(l.x(A), I, x), w)
|
|
22546
22546
|
f.x += P + u;
|
|
22547
22547
|
else if (typeof x.text != "string") {
|
|
22548
|
-
const
|
|
22549
|
-
f.y += HA(x,
|
|
22548
|
+
const F = c.lineHeight;
|
|
22549
|
+
f.y += HA(x, F) + u;
|
|
22550
22550
|
} else
|
|
22551
22551
|
f.y += _;
|
|
22552
22552
|
}), vA(this.ctx, t.textDirection);
|
|
@@ -24604,9 +24604,9 @@ function eI(e, t) {
|
|
|
24604
24604
|
if (l.add(ti(I * D * Be(P), b * S + I * Ue(P))), a += A ? R + D * Gr : R, A ^ p >= n ^ C >= n) {
|
|
24605
24605
|
var $ = Eg(zc(f), zc(w));
|
|
24606
24606
|
ww($);
|
|
24607
|
-
var
|
|
24608
|
-
ww(
|
|
24609
|
-
var O = (A ^ R >= 0 ? -1 : 1) * lo(
|
|
24607
|
+
var F = Eg(i, $);
|
|
24608
|
+
ww(F);
|
|
24609
|
+
var O = (A ^ R >= 0 ? -1 : 1) * lo(F[2]);
|
|
24610
24610
|
(r > O || r === O && ($[0] || $[1])) && (s += A ^ R >= 0 ? 1 : -1);
|
|
24611
24611
|
}
|
|
24612
24612
|
}
|
|
@@ -24752,14 +24752,14 @@ function QK(e) {
|
|
|
24752
24752
|
G0(S, R);
|
|
24753
24753
|
var D = x, P = Gh(S, D), A = Gh(D, D), I = P * P - A * (Gh(S, S) - 1);
|
|
24754
24754
|
if (!(I < 0)) {
|
|
24755
|
-
var $ = fr(I),
|
|
24756
|
-
if (G0(
|
|
24757
|
-
var O = u[0], T = d[0],
|
|
24755
|
+
var $ = fr(I), F = Yh(D, (-P - $) / A);
|
|
24756
|
+
if (G0(F, S), F = vw(F), !h) return F;
|
|
24757
|
+
var O = u[0], T = d[0], N = u[1], z = d[1], B;
|
|
24758
24758
|
T < O && (B = O, O = T, T = B);
|
|
24759
24759
|
var M = T - O, W = gt(M - rt) < Ie, L = W || M < Ie;
|
|
24760
|
-
if (!W && z <
|
|
24760
|
+
if (!W && z < N && (B = N, N = z, z = B), L ? W ? N + z > 0 ^ F[1] < (gt(F[0] - O) < Ie ? N : z) : N <= F[1] && F[1] <= z : M > rt ^ (O <= F[0] && F[0] <= T)) {
|
|
24761
24761
|
var k = Yh(D, (-P + $) / A);
|
|
24762
|
-
return G0(k, S), [
|
|
24762
|
+
return G0(k, S), [F, vw(k)];
|
|
24763
24763
|
}
|
|
24764
24764
|
}
|
|
24765
24765
|
}
|
|
@@ -24845,7 +24845,7 @@ function JK(e, t, n, r) {
|
|
|
24845
24845
|
o(O, T) && u.point(O, T);
|
|
24846
24846
|
}
|
|
24847
24847
|
function D() {
|
|
24848
|
-
for (var O = 0, T = 0,
|
|
24848
|
+
for (var O = 0, T = 0, N = f.length; T < N; ++T)
|
|
24849
24849
|
for (var z = f[T], B = 1, M = z.length, W = z[0], L, k, V = W[0], q = W[1]; B < M; ++B)
|
|
24850
24850
|
L = V, k = q, W = z[B], V = W[0], q = W[1], k <= r ? q > r && (V - L) * (r - k) > (q - k) * (e - L) && ++O : q <= r && (V - L) * (r - k) < (q - k) * (e - L) && --O;
|
|
24851
24851
|
return O;
|
|
@@ -24854,25 +24854,25 @@ function JK(e, t, n, r) {
|
|
|
24854
24854
|
u = d, h = [], f = [], x = !0;
|
|
24855
24855
|
}
|
|
24856
24856
|
function A() {
|
|
24857
|
-
var O = D(), T = x && O,
|
|
24858
|
-
(T ||
|
|
24857
|
+
var O = D(), T = x && O, N = (h = GA(h)).length;
|
|
24858
|
+
(T || N) && (c.polygonStart(), T && (c.lineStart(), i(null, null, 1, c), c.lineEnd()), N && JA(h, s, O, i, c), c.polygonEnd()), u = c, h = f = p = null;
|
|
24859
24859
|
}
|
|
24860
24860
|
function I() {
|
|
24861
|
-
S.point =
|
|
24861
|
+
S.point = F, f && f.push(p = []), _ = !0, C = !1, v = w = NaN;
|
|
24862
24862
|
}
|
|
24863
24863
|
function $() {
|
|
24864
|
-
h && (
|
|
24864
|
+
h && (F(g, m), b && C && d.rejoin(), h.push(d.result())), S.point = R, C && u.lineEnd();
|
|
24865
24865
|
}
|
|
24866
|
-
function
|
|
24867
|
-
var
|
|
24866
|
+
function F(O, T) {
|
|
24867
|
+
var N = o(O, T);
|
|
24868
24868
|
if (f && p.push([O, T]), _)
|
|
24869
|
-
g = O, m = T, b =
|
|
24870
|
-
else if (
|
|
24869
|
+
g = O, m = T, b = N, _ = !1, N && (u.lineStart(), u.point(O, T));
|
|
24870
|
+
else if (N && C) u.point(O, T);
|
|
24871
24871
|
else {
|
|
24872
24872
|
var z = [v = Math.max(Qh, Math.min(Xh, v)), w = Math.max(Qh, Math.min(Xh, w))], B = [O = Math.max(Qh, Math.min(Xh, O)), T = Math.max(Qh, Math.min(Xh, T))];
|
|
24873
|
-
ZK(z, B, e, t, n, r) ? (C || (u.lineStart(), u.point(z[0], z[1])), u.point(B[0], B[1]),
|
|
24873
|
+
ZK(z, B, e, t, n, r) ? (C || (u.lineStart(), u.point(z[0], z[1])), u.point(B[0], B[1]), N || u.lineEnd(), x = !1) : N && (u.lineStart(), u.point(O, T), x = !1);
|
|
24874
24874
|
}
|
|
24875
|
-
v = O, w = T, C =
|
|
24875
|
+
v = O, w = T, C = N;
|
|
24876
24876
|
}
|
|
24877
24877
|
return S;
|
|
24878
24878
|
};
|
|
@@ -25347,8 +25347,8 @@ function SX(e, t) {
|
|
|
25347
25347
|
function n(r, o, i, a, s, l, c, u, d, h, f, p, g, m) {
|
|
25348
25348
|
var b = c - r, v = u - o, w = b * b + v * v;
|
|
25349
25349
|
if (w > 4 * t && g--) {
|
|
25350
|
-
var C = a + h, _ = s + f, x = l + p, S = fr(C * C + _ * _ + x * x), R = lo(x /= S), D = gt(gt(x) - 1) < Ie || gt(i - d) < Ie ? (i + d) / 2 : ti(_, C), P = e(D, R), A = P[0], I = P[1], $ = A - r,
|
|
25351
|
-
(O * O / w > t || gt((b * $ + v *
|
|
25350
|
+
var C = a + h, _ = s + f, x = l + p, S = fr(C * C + _ * _ + x * x), R = lo(x /= S), D = gt(gt(x) - 1) < Ie || gt(i - d) < Ie ? (i + d) / 2 : ti(_, C), P = e(D, R), A = P[0], I = P[1], $ = A - r, F = I - o, O = v * $ - b * F;
|
|
25351
|
+
(O * O / w > t || gt((b * $ + v * F) / w - 0.5) > 0.3 || a * h + s * f + l * p < wX) && (n(r, o, i, a, s, l, A, I, D, C /= S, _ /= S, x, g, m), m.point(A, I), n(A, I, D, C, _, x, c, u, d, h, f, p, g, m));
|
|
25352
25352
|
}
|
|
25353
25353
|
}
|
|
25354
25354
|
return function(r) {
|
|
@@ -25435,13 +25435,13 @@ function yI(e) {
|
|
|
25435
25435
|
A.stream = function(O) {
|
|
25436
25436
|
return D && P === O ? D : D = CX(_X(u)(g(x(C(P = O)))));
|
|
25437
25437
|
}, A.preclip = function(O) {
|
|
25438
|
-
return arguments.length ? (g = O, p = void 0,
|
|
25438
|
+
return arguments.length ? (g = O, p = void 0, F()) : g;
|
|
25439
25439
|
}, A.postclip = function(O) {
|
|
25440
|
-
return arguments.length ? (C = O, m = b = v = w = null,
|
|
25440
|
+
return arguments.length ? (C = O, m = b = v = w = null, F()) : C;
|
|
25441
25441
|
}, A.clipAngle = function(O) {
|
|
25442
|
-
return arguments.length ? (g = +O ? QK(p = O * Ft) : (p = null, HR),
|
|
25442
|
+
return arguments.length ? (g = +O ? QK(p = O * Ft) : (p = null, HR), F()) : p * lr;
|
|
25443
25443
|
}, A.clipExtent = function(O) {
|
|
25444
|
-
return arguments.length ? (C = O == null ? (m = b = v = w = null, kw) : JK(m = +O[0][0], b = +O[0][1], v = +O[1][0], w = +O[1][1]),
|
|
25444
|
+
return arguments.length ? (C = O == null ? (m = b = v = w = null, kw) : JK(m = +O[0][0], b = +O[0][1], v = +O[1][0], w = +O[1][1]), F()) : m == null ? null : [[m, b], [v, w]];
|
|
25445
25445
|
}, A.scale = function(O) {
|
|
25446
25446
|
return arguments.length ? (n = +O, $()) : n;
|
|
25447
25447
|
}, A.translate = function(O) {
|
|
@@ -25457,7 +25457,7 @@ function yI(e) {
|
|
|
25457
25457
|
}, A.reflectY = function(O) {
|
|
25458
25458
|
return arguments.length ? (f = O ? -1 : 1, $()) : f < 0;
|
|
25459
25459
|
}, A.precision = function(O) {
|
|
25460
|
-
return arguments.length ? (x = ik(S, _ = O * O),
|
|
25460
|
+
return arguments.length ? (x = ik(S, _ = O * O), F()) : fr(_);
|
|
25461
25461
|
}, A.fitExtent = function(O, T) {
|
|
25462
25462
|
return vS(A, O, T);
|
|
25463
25463
|
}, A.fitSize = function(O, T) {
|
|
@@ -25469,9 +25469,9 @@ function yI(e) {
|
|
|
25469
25469
|
};
|
|
25470
25470
|
function $() {
|
|
25471
25471
|
var O = ak(n, 0, 0, h, f, d).apply(null, t(i, a)), T = ak(n, r - O[0], o - O[1], h, f, d);
|
|
25472
|
-
return u = QA(s, l, c), S = xw(t, T), R = xw(u, S), x = ik(S, _),
|
|
25472
|
+
return u = QA(s, l, c), S = xw(t, T), R = xw(u, S), x = ik(S, _), F();
|
|
25473
25473
|
}
|
|
25474
|
-
function
|
|
25474
|
+
function F() {
|
|
25475
25475
|
return D = P = null, A;
|
|
25476
25476
|
}
|
|
25477
25477
|
return function() {
|
|
@@ -27668,9 +27668,9 @@ function WZ({
|
|
|
27668
27668
|
//dimensionKeys,
|
|
27669
27669
|
keys: s
|
|
27670
27670
|
} = kn(e), l = [s[1]], c = q5(l, e), u = Ns(c, n);
|
|
27671
|
-
u.forEach(($,
|
|
27672
|
-
var O, T,
|
|
27673
|
-
$.shrinkAnchor = ((
|
|
27671
|
+
u.forEach(($, F) => {
|
|
27672
|
+
var O, T, N;
|
|
27673
|
+
$.shrinkAnchor = ((N = (T = (O = n == null ? void 0 : n.data) == null ? void 0 : O.datasets) == null ? void 0 : T[F]) == null ? void 0 : N.shrinkAnchor) || "top";
|
|
27674
27674
|
});
|
|
27675
27675
|
const { plugins: d, options: h } = Vm(
|
|
27676
27676
|
(r == null ? void 0 : r.customVisualCode) || ""
|
|
@@ -27691,11 +27691,11 @@ function WZ({
|
|
|
27691
27691
|
labels: {
|
|
27692
27692
|
// Always list all original labels, strike-through hidden ones
|
|
27693
27693
|
generateLabels: ($) => {
|
|
27694
|
-
const
|
|
27694
|
+
const F = $.data.labels;
|
|
27695
27695
|
return b.map((O, T) => ({
|
|
27696
27696
|
text: O,
|
|
27697
27697
|
fillStyle: w[T],
|
|
27698
|
-
hidden: !
|
|
27698
|
+
hidden: !F.includes(O.toString()),
|
|
27699
27699
|
index: T,
|
|
27700
27700
|
datasetIndex: 0,
|
|
27701
27701
|
lineWidth: 0
|
|
@@ -27703,9 +27703,9 @@ function WZ({
|
|
|
27703
27703
|
}
|
|
27704
27704
|
},
|
|
27705
27705
|
// Remove/restore data on click
|
|
27706
|
-
onClick: ($,
|
|
27707
|
-
const T = O.chart,
|
|
27708
|
-
k >= 0 ? (M.splice(k, 1), W.splice(k, 1), L.splice(k, 1)) : (M.splice(
|
|
27706
|
+
onClick: ($, F, O) => {
|
|
27707
|
+
const T = O.chart, N = F.index, z = b[N], B = T.data.datasets[0], M = T.data.labels, W = B.data, L = B.backgroundColor, k = M.indexOf(z.toString());
|
|
27708
|
+
k >= 0 ? (M.splice(k, 1), W.splice(k, 1), L.splice(k, 1)) : (M.splice(N, 0, b[N].toString()), W.splice(N, 0, Number(v[N])), L.splice(N, 0, w[N])), T.update();
|
|
27709
27709
|
}
|
|
27710
27710
|
},
|
|
27711
27711
|
datalabels: {
|
|
@@ -27716,14 +27716,14 @@ function WZ({
|
|
|
27716
27716
|
font: {
|
|
27717
27717
|
size: 14
|
|
27718
27718
|
},
|
|
27719
|
-
formatter: ($,
|
|
27720
|
-
var O, T,
|
|
27719
|
+
formatter: ($, F) => {
|
|
27720
|
+
var O, T, N, z;
|
|
27721
27721
|
return kr({
|
|
27722
27722
|
number: Number($),
|
|
27723
27723
|
decimalPlaces: ((O = r == null ? void 0 : r.numberAxisFormat) == null ? void 0 : O.decimalPlaces) || 0,
|
|
27724
27724
|
useSuffix: !!((T = r == null ? void 0 : r.numberAxisFormat) != null && T.suffix),
|
|
27725
27725
|
customSuffix: "",
|
|
27726
|
-
locale: ((
|
|
27726
|
+
locale: ((N = r == null ? void 0 : r.numberAxisFormat) == null ? void 0 : N.locale) || "",
|
|
27727
27727
|
currency: ((z = r == null ? void 0 : r.numberAxisFormat) == null ? void 0 : z.currency) || ""
|
|
27728
27728
|
});
|
|
27729
27729
|
}
|
|
@@ -27736,18 +27736,18 @@ function WZ({
|
|
|
27736
27736
|
const O = ((B = (z = $ == null ? void 0 : $[0]) == null ? void 0 : z.dataset) == null ? void 0 : B.data).reduce(
|
|
27737
27737
|
(L, k) => L + k,
|
|
27738
27738
|
0
|
|
27739
|
-
),
|
|
27740
|
-
return `${(W = $ == null ? void 0 : $[0]) == null ? void 0 : W.label} (${
|
|
27739
|
+
), N = (((M = $ == null ? void 0 : $[0]) == null ? void 0 : M.parsed[i === "x" ? "y" : "x"]) / O * 100).toFixed(2);
|
|
27740
|
+
return `${(W = $ == null ? void 0 : $[0]) == null ? void 0 : W.label} (${N}%)`;
|
|
27741
27741
|
},
|
|
27742
27742
|
label: function($) {
|
|
27743
27743
|
var W, L, k, V;
|
|
27744
27744
|
$.dataset.label;
|
|
27745
|
-
const
|
|
27746
|
-
|
|
27745
|
+
const F = $.dataset.data;
|
|
27746
|
+
F.reduce(
|
|
27747
27747
|
(q, G) => q + G,
|
|
27748
27748
|
0
|
|
27749
27749
|
);
|
|
27750
|
-
const O = $.parsed[i === "x" ? "y" : "x"], T =
|
|
27750
|
+
const O = $.parsed[i === "x" ? "y" : "x"], T = F.indexOf(O), N = F[T - 1], z = kr({
|
|
27751
27751
|
number: Number(O),
|
|
27752
27752
|
decimalPlaces: ((W = r == null ? void 0 : r.numberAxisFormat) == null ? void 0 : W.decimalPlaces) || 0,
|
|
27753
27753
|
useSuffix: !!((L = r == null ? void 0 : r.numberAxisFormat) != null && L.suffix),
|
|
@@ -27756,9 +27756,9 @@ function WZ({
|
|
|
27756
27756
|
currency: ((V = r == null ? void 0 : r.numberAxisFormat) == null ? void 0 : V.currency) || ""
|
|
27757
27757
|
});
|
|
27758
27758
|
let B = 0;
|
|
27759
|
-
return
|
|
27760
|
-
(O /
|
|
27761
|
-
)), z + (
|
|
27759
|
+
return N !== void 0 && (B = Number(
|
|
27760
|
+
(O / N * 100).toFixed(2)
|
|
27761
|
+
)), z + (N !== void 0 ? ` | Conversion: ${B}%` : "");
|
|
27762
27762
|
}
|
|
27763
27763
|
}
|
|
27764
27764
|
}
|
|
@@ -27826,14 +27826,14 @@ function qZ({
|
|
|
27826
27826
|
// anchor: 'end', // Position the label inside the bar
|
|
27827
27827
|
// align: 'end', // Aligns the label inside the bar
|
|
27828
27828
|
formatter: (S, R) => S.map((P) => {
|
|
27829
|
-
var A, I, $,
|
|
27829
|
+
var A, I, $, F;
|
|
27830
27830
|
return kr({
|
|
27831
27831
|
number: Number(P),
|
|
27832
27832
|
decimalPlaces: ((A = r == null ? void 0 : r.numberAxisFormat) == null ? void 0 : A.decimalPlaces) || 0,
|
|
27833
27833
|
useSuffix: !!((I = r == null ? void 0 : r.numberAxisFormat) != null && I.suffix),
|
|
27834
27834
|
customSuffix: "",
|
|
27835
27835
|
locale: (($ = r == null ? void 0 : r.numberAxisFormat) == null ? void 0 : $.locale) || "",
|
|
27836
|
-
currency: ((
|
|
27836
|
+
currency: ((F = r == null ? void 0 : r.numberAxisFormat) == null ? void 0 : F.currency) || ""
|
|
27837
27837
|
});
|
|
27838
27838
|
}).slice(0, 2).join(" - ")
|
|
27839
27839
|
}
|
|
@@ -28051,14 +28051,14 @@ function WI({
|
|
|
28051
28051
|
}
|
|
28052
28052
|
}
|
|
28053
28053
|
}
|
|
28054
|
-
}, { keys: S } = kn(c), R = _.map((
|
|
28054
|
+
}, { keys: S } = kn(c), R = _.map((F) => {
|
|
28055
28055
|
var z;
|
|
28056
|
-
const O = S == null ? void 0 : S[0], T = S == null ? void 0 : S[1],
|
|
28057
|
-
(B) => (B == null ? void 0 : B[O]) ===
|
|
28056
|
+
const O = S == null ? void 0 : S[0], T = S == null ? void 0 : S[1], N = (z = c.find(
|
|
28057
|
+
(B) => (B == null ? void 0 : B[O]) === F.properties.NAME || (B == null ? void 0 : B[O]) === F.properties.name
|
|
28058
28058
|
)) == null ? void 0 : z[T];
|
|
28059
28059
|
return {
|
|
28060
|
-
feature:
|
|
28061
|
-
value:
|
|
28060
|
+
feature: F,
|
|
28061
|
+
value: N
|
|
28062
28062
|
};
|
|
28063
28063
|
}), P = Ns(
|
|
28064
28064
|
[
|
|
@@ -28074,7 +28074,7 @@ function WI({
|
|
|
28074
28074
|
type: "choropleth",
|
|
28075
28075
|
data: {
|
|
28076
28076
|
labels: _.map(
|
|
28077
|
-
(
|
|
28077
|
+
(F) => F.properties.NAME || F.properties.name
|
|
28078
28078
|
),
|
|
28079
28079
|
datasets: P
|
|
28080
28080
|
},
|
|
@@ -28154,11 +28154,11 @@ function WI({
|
|
|
28154
28154
|
r
|
|
28155
28155
|
), { plugins: P, options: A } = Vm(
|
|
28156
28156
|
(a == null ? void 0 : a.customVisualCode) || ""
|
|
28157
|
-
), I = x[0], $ = Tf(c, I),
|
|
28157
|
+
), I = x[0], $ = Tf(c, I), F = Vn(
|
|
28158
28158
|
(C == null ? void 0 : C.options) || {},
|
|
28159
28159
|
(r == null ? void 0 : r.options) || {}
|
|
28160
28160
|
), O = Vn(
|
|
28161
|
-
|
|
28161
|
+
F,
|
|
28162
28162
|
(a == null ? void 0 : a.chartOptions) || {}
|
|
28163
28163
|
), T = {
|
|
28164
28164
|
...O,
|
|
@@ -28200,11 +28200,11 @@ function WI({
|
|
|
28200
28200
|
}
|
|
28201
28201
|
}
|
|
28202
28202
|
}
|
|
28203
|
-
},
|
|
28203
|
+
}, N = Vn(
|
|
28204
28204
|
O,
|
|
28205
28205
|
T
|
|
28206
28206
|
), z = Vn(
|
|
28207
|
-
|
|
28207
|
+
N,
|
|
28208
28208
|
A
|
|
28209
28209
|
);
|
|
28210
28210
|
return {
|
|
@@ -28525,27 +28525,27 @@ function qI(e) {
|
|
|
28525
28525
|
e.connectionId && !_ && (c.current = l);
|
|
28526
28526
|
}, [l, s, e.connectionId, _]), he(() => {
|
|
28527
28527
|
var $;
|
|
28528
|
-
_ && (D.current.filteringCards = [...i || []]), !_ && (($ = D.current.filteringCards) == null ? void 0 : $.find((
|
|
28528
|
+
_ && (D.current.filteringCards = [...i || []]), !_ && (($ = D.current.filteringCards) == null ? void 0 : $.find((F) => F.id === e.id)) && x && r((F) => F + 1);
|
|
28529
28529
|
}, [_, x, e.id, i]);
|
|
28530
|
-
function P(I, $,
|
|
28530
|
+
function P(I, $, F, O) {
|
|
28531
28531
|
var z;
|
|
28532
28532
|
let T = !1;
|
|
28533
28533
|
if (!(g != null && g.records)) return;
|
|
28534
|
-
const
|
|
28534
|
+
const N = ZZ({
|
|
28535
28535
|
card: e,
|
|
28536
28536
|
data: g == null ? void 0 : g.records,
|
|
28537
28537
|
datasetIndex: $,
|
|
28538
|
-
clickIndex:
|
|
28538
|
+
clickIndex: F,
|
|
28539
28539
|
value: O
|
|
28540
28540
|
});
|
|
28541
|
-
if (console.log("fieldValues",
|
|
28541
|
+
if (console.log("fieldValues", N), t == null || t(e, N), !!(((z = e == null ? void 0 : e.preferences) == null ? void 0 : z.onClickFilter) ?? []).length) {
|
|
28542
28542
|
if (_) {
|
|
28543
28543
|
const B = e.id;
|
|
28544
28544
|
f(B), p(e);
|
|
28545
28545
|
} else {
|
|
28546
|
-
if (T = !0, !
|
|
28546
|
+
if (T = !0, !N) return;
|
|
28547
28547
|
const B = [];
|
|
28548
|
-
|
|
28548
|
+
N.forEach((M, W) => {
|
|
28549
28549
|
const L = u == null ? void 0 : u.find((V) => V.columnIndex === W);
|
|
28550
28550
|
if (!L) return;
|
|
28551
28551
|
const k = {
|
|
@@ -28557,17 +28557,17 @@ function qI(e) {
|
|
|
28557
28557
|
name: M.columnName,
|
|
28558
28558
|
expression: L.expression,
|
|
28559
28559
|
valueType: dx(
|
|
28560
|
-
|
|
28560
|
+
N[L.columnIndex].columnValue
|
|
28561
28561
|
),
|
|
28562
28562
|
operation: "=",
|
|
28563
|
-
values: [
|
|
28563
|
+
values: [N[L.columnIndex].columnValue]
|
|
28564
28564
|
};
|
|
28565
28565
|
B.push(k);
|
|
28566
28566
|
}), h(B), d(e);
|
|
28567
28567
|
}
|
|
28568
28568
|
YZ({
|
|
28569
28569
|
chart: I,
|
|
28570
|
-
elementIndex:
|
|
28570
|
+
elementIndex: F,
|
|
28571
28571
|
datasetIndex: $,
|
|
28572
28572
|
cardType: e.type,
|
|
28573
28573
|
cfg: R,
|
|
@@ -28773,7 +28773,7 @@ function Lw({
|
|
|
28773
28773
|
data: t,
|
|
28774
28774
|
isPending: n
|
|
28775
28775
|
}) {
|
|
28776
|
-
var x, S, R, D, P, A, I, $,
|
|
28776
|
+
var x, S, R, D, P, A, I, $, F, O, T, N, z, B, M, W, L, k;
|
|
28777
28777
|
const r = ae((V) => V.actions.setCardTitle), o = ae(
|
|
28778
28778
|
(V) => V.actions.setCardDescription
|
|
28779
28779
|
), i = ae((V) => V.isVisualEditing), a = ft((V) => V.card), s = ft((V) => V.actions.setCard);
|
|
@@ -28797,14 +28797,14 @@ function Lw({
|
|
|
28797
28797
|
number: f,
|
|
28798
28798
|
decimalPlaces: ((A = (P = e.preferences) == null ? void 0 : P.formatNumber) == null ? void 0 : A.decimalPlaces) || 0,
|
|
28799
28799
|
useSuffix: !!(($ = (I = e.preferences) == null ? void 0 : I.formatNumber) != null && $.suffix),
|
|
28800
|
-
customSuffix: ((O = (
|
|
28800
|
+
customSuffix: ((O = (F = e.preferences) == null ? void 0 : F.formatNumber) == null ? void 0 : O.suffix) || "",
|
|
28801
28801
|
locale: c() || "",
|
|
28802
28802
|
currency: l() || ""
|
|
28803
28803
|
});
|
|
28804
28804
|
let C = "";
|
|
28805
28805
|
p && (C = kr({
|
|
28806
28806
|
number: p,
|
|
28807
|
-
decimalPlaces: ((
|
|
28807
|
+
decimalPlaces: ((N = (T = e.preferences) == null ? void 0 : T.formatNumber) == null ? void 0 : N.decimalPlaces) || 0,
|
|
28808
28808
|
useSuffix: !!((B = (z = e.preferences) == null ? void 0 : z.formatNumber) != null && B.suffix),
|
|
28809
28809
|
customSuffix: ((W = (M = e.preferences) == null ? void 0 : M.formatNumber) == null ? void 0 : W.suffix) || "",
|
|
28810
28810
|
locale: c() || "",
|
|
@@ -29226,14 +29226,14 @@ const pJ = (e) => ({
|
|
|
29226
29226
|
}, f = OS(o), p = MS(f), g = await a.getDimensions(c), m = f === "y", b = m ? "top" : "left", v = m ? "bottom" : "right", w = m ? "clientHeight" : "clientWidth", C = i.reference[p] + i.reference[f] - h[f] - i.floating[p], _ = h[f] - i.reference[f], x = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(c));
|
|
29227
29227
|
let S = x ? x[w] : 0;
|
|
29228
29228
|
(!S || !await (a.isElement == null ? void 0 : a.isElement(x))) && (S = s.floating[w] || i.floating[p]);
|
|
29229
|
-
const R = C / 2 - _ / 2, D = S / 2 - g[p] / 2 - 1, P = Wi(d[b], D), A = Wi(d[v], D), I = P, $ = S - g[p] - A,
|
|
29229
|
+
const R = C / 2 - _ / 2, D = S / 2 - g[p] / 2 - 1, P = Wi(d[b], D), A = Wi(d[v], D), I = P, $ = S - g[p] - A, F = S / 2 - g[p] / 2 + R, O = $w(I, F, $), T = !l.arrow && cu(o) != null && F !== O && i.reference[p] / 2 - (F < I ? P : A) - g[p] / 2 < 0, N = T ? F < I ? F - I : F - $ : 0;
|
|
29230
29230
|
return {
|
|
29231
|
-
[f]: h[f] +
|
|
29231
|
+
[f]: h[f] + N,
|
|
29232
29232
|
data: {
|
|
29233
29233
|
[f]: O,
|
|
29234
|
-
centerOffset:
|
|
29234
|
+
centerOffset: F - O - N,
|
|
29235
29235
|
...T && {
|
|
29236
|
-
alignmentOffset:
|
|
29236
|
+
alignmentOffset: N
|
|
29237
29237
|
}
|
|
29238
29238
|
},
|
|
29239
29239
|
reset: T
|
|
@@ -29268,31 +29268,31 @@ const pJ = (e) => ({
|
|
|
29268
29268
|
const S = [s, ..._], R = await Hc(t, m), D = [];
|
|
29269
29269
|
let P = ((r = i.flip) == null ? void 0 : r.overflows) || [];
|
|
29270
29270
|
if (u && D.push(R[b]), d) {
|
|
29271
|
-
const
|
|
29272
|
-
D.push(R[
|
|
29271
|
+
const F = lJ(o, a, C);
|
|
29272
|
+
D.push(R[F[0]], R[F[1]]);
|
|
29273
29273
|
}
|
|
29274
29274
|
if (P = [...P, {
|
|
29275
29275
|
placement: o,
|
|
29276
29276
|
overflows: D
|
|
29277
|
-
}], !D.every((
|
|
29277
|
+
}], !D.every((F) => F <= 0)) {
|
|
29278
29278
|
var A, I;
|
|
29279
|
-
const
|
|
29279
|
+
const F = (((A = i.flip) == null ? void 0 : A.index) || 0) + 1, O = S[F];
|
|
29280
29280
|
if (O)
|
|
29281
29281
|
return {
|
|
29282
29282
|
data: {
|
|
29283
|
-
index:
|
|
29283
|
+
index: F,
|
|
29284
29284
|
overflows: P
|
|
29285
29285
|
},
|
|
29286
29286
|
reset: {
|
|
29287
29287
|
placement: O
|
|
29288
29288
|
}
|
|
29289
29289
|
};
|
|
29290
|
-
let T = (I = P.filter((
|
|
29290
|
+
let T = (I = P.filter((N) => N.overflows[0] <= 0).sort((N, z) => N.overflows[1] - z.overflows[1])[0]) == null ? void 0 : I.placement;
|
|
29291
29291
|
if (!T)
|
|
29292
29292
|
switch (f) {
|
|
29293
29293
|
case "bestFit": {
|
|
29294
29294
|
var $;
|
|
29295
|
-
const
|
|
29295
|
+
const N = ($ = P.filter((z) => {
|
|
29296
29296
|
if (x) {
|
|
29297
29297
|
const B = Aa(z.placement);
|
|
29298
29298
|
return B === v || // Create a bias to the `y` side axis due to horizontal
|
|
@@ -29301,7 +29301,7 @@ const pJ = (e) => ({
|
|
|
29301
29301
|
}
|
|
29302
29302
|
return !0;
|
|
29303
29303
|
}).map((z) => [z.placement, z.overflows.filter((B) => B > 0).reduce((B, M) => B + M, 0)]).sort((z, B) => z[1] - B[1])[0]) == null ? void 0 : $[0];
|
|
29304
|
-
|
|
29304
|
+
N && (T = N);
|
|
29305
29305
|
break;
|
|
29306
29306
|
}
|
|
29307
29307
|
case "initialPlacement":
|
|
@@ -30136,7 +30136,7 @@ function sT(e) {
|
|
|
30136
30136
|
// setting it to `true` when `open === false` (must be specified).
|
|
30137
30137
|
isPositioned: I.current !== !1
|
|
30138
30138
|
};
|
|
30139
|
-
|
|
30139
|
+
F.current && !zg(R.current, M) && (R.current = M, Ys.flushSync(() => {
|
|
30140
30140
|
d(M);
|
|
30141
30141
|
}));
|
|
30142
30142
|
});
|
|
@@ -30147,9 +30147,9 @@ function sT(e) {
|
|
|
30147
30147
|
isPositioned: !1
|
|
30148
30148
|
})));
|
|
30149
30149
|
}, [c]);
|
|
30150
|
-
const
|
|
30151
|
-
qp(() => (
|
|
30152
|
-
|
|
30150
|
+
const F = E.useRef(!1);
|
|
30151
|
+
qp(() => (F.current = !0, () => {
|
|
30152
|
+
F.current = !1;
|
|
30153
30153
|
}), []), qp(() => {
|
|
30154
30154
|
if (C && (x.current = C), _ && (S.current = _), C && _) {
|
|
30155
30155
|
if (P.current)
|
|
@@ -30165,7 +30165,7 @@ function sT(e) {
|
|
|
30165
30165
|
}), [v, w]), T = E.useMemo(() => ({
|
|
30166
30166
|
reference: C,
|
|
30167
30167
|
floating: _
|
|
30168
|
-
}), [C, _]),
|
|
30168
|
+
}), [C, _]), N = E.useMemo(() => {
|
|
30169
30169
|
const z = {
|
|
30170
30170
|
position: n,
|
|
30171
30171
|
left: 0,
|
|
@@ -30191,8 +30191,8 @@ function sT(e) {
|
|
|
30191
30191
|
update: $,
|
|
30192
30192
|
refs: O,
|
|
30193
30193
|
elements: T,
|
|
30194
|
-
floatingStyles:
|
|
30195
|
-
}), [u, $, O, T,
|
|
30194
|
+
floatingStyles: N
|
|
30195
|
+
}), [u, $, O, T, N]);
|
|
30196
30196
|
}
|
|
30197
30197
|
const UJ = (e) => {
|
|
30198
30198
|
function t(n) {
|
|
@@ -30313,7 +30313,7 @@ var $S = "PopperContent", [JJ, eee] = fT($S), bT = E.forwardRef(
|
|
|
30313
30313
|
boundary: A.filter(nee),
|
|
30314
30314
|
// with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
|
|
30315
30315
|
altBoundary: I
|
|
30316
|
-
}, { refs:
|
|
30316
|
+
}, { refs: F, floatingStyles: O, placement: T, isPositioned: N, middlewareData: z } = sT({
|
|
30317
30317
|
// default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
|
|
30318
30318
|
strategy: "fixed",
|
|
30319
30319
|
placement: D,
|
|
@@ -30345,19 +30345,19 @@ var $S = "PopperContent", [JJ, eee] = fT($S), bT = E.forwardRef(
|
|
|
30345
30345
|
]
|
|
30346
30346
|
}), [B, M] = wT(T), W = Rn(p);
|
|
30347
30347
|
jn(() => {
|
|
30348
|
-
|
|
30349
|
-
}, [
|
|
30348
|
+
N && (W == null || W());
|
|
30349
|
+
}, [N, W]);
|
|
30350
30350
|
const L = (H = z.arrow) == null ? void 0 : H.x, k = (U = z.arrow) == null ? void 0 : U.y, V = ((X = z.arrow) == null ? void 0 : X.centerOffset) !== 0, [q, G] = E.useState();
|
|
30351
30351
|
return jn(() => {
|
|
30352
30352
|
b && G(window.getComputedStyle(b).zIndex);
|
|
30353
30353
|
}, [b]), /* @__PURE__ */ y(
|
|
30354
30354
|
"div",
|
|
30355
30355
|
{
|
|
30356
|
-
ref:
|
|
30356
|
+
ref: F.setFloating,
|
|
30357
30357
|
"data-radix-popper-content-wrapper": "",
|
|
30358
30358
|
style: {
|
|
30359
30359
|
...O,
|
|
30360
|
-
transform:
|
|
30360
|
+
transform: N ? O.transform : "translate(0, -200%)",
|
|
30361
30361
|
// keep off the page when measuring
|
|
30362
30362
|
minWidth: "max-content",
|
|
30363
30363
|
zIndex: q,
|
|
@@ -30394,7 +30394,7 @@ var $S = "PopperContent", [JJ, eee] = fT($S), bT = E.forwardRef(
|
|
|
30394
30394
|
...g.style,
|
|
30395
30395
|
// if the PopperContent hasn't been placed yet (not all measurements done)
|
|
30396
30396
|
// we prevent animations so that users's animation don't kick in too early referring wrong sides
|
|
30397
|
-
animation:
|
|
30397
|
+
animation: N ? void 0 : "none"
|
|
30398
30398
|
}
|
|
30399
30399
|
}
|
|
30400
30400
|
)
|
|
@@ -30811,7 +30811,7 @@ function DT({ card: e }) {
|
|
|
30811
30811
|
] });
|
|
30812
30812
|
}
|
|
30813
30813
|
function See({ card: e, renderFilterInfo: t }) {
|
|
30814
|
-
var p, g, m, b, v, w, C, _, x, S, R, D, P, A, I, $,
|
|
30814
|
+
var p, g, m, b, v, w, C, _, x, S, R, D, P, A, I, $, F, O;
|
|
30815
30815
|
ae((T) => T.themeStyle);
|
|
30816
30816
|
const { data: n, isLoading: r } = Ra(e), o = (n == null ? void 0 : n.records) || [], i = ae(
|
|
30817
30817
|
(T) => T.isDashboardEditing
|
|
@@ -30856,7 +30856,7 @@ function See({ card: e, renderFilterInfo: t }) {
|
|
|
30856
30856
|
number: d,
|
|
30857
30857
|
decimalPlaces: ((A = (P = e.preferences) == null ? void 0 : P.formatNumber) == null ? void 0 : A.decimalPlaces) || 0,
|
|
30858
30858
|
useSuffix: !!(($ = (I = e.preferences) == null ? void 0 : I.formatNumber) != null && $.suffix),
|
|
30859
|
-
customSuffix: ((O = (
|
|
30859
|
+
customSuffix: ((O = (F = e.preferences) == null ? void 0 : F.formatNumber) == null ? void 0 : O.suffix) || "",
|
|
30860
30860
|
locale: s() || "",
|
|
30861
30861
|
currency: a() || ""
|
|
30862
30862
|
})}` })
|
|
@@ -34075,7 +34075,7 @@ var Lne = [" ", "Enter", "ArrowUp", "ArrowDown"], $ne = [" ", "Enter"], qf = "Se
|
|
|
34075
34075
|
prop: a,
|
|
34076
34076
|
defaultProp: s,
|
|
34077
34077
|
onChange: l
|
|
34078
|
-
}), A = E.useRef(null), I = m ? p || !!m.closest("form") : !0, [$,
|
|
34078
|
+
}), A = E.useRef(null), I = m ? p || !!m.closest("form") : !0, [$, F] = E.useState(/* @__PURE__ */ new Set()), O = Array.from($).map((T) => T.props.value).join(";");
|
|
34079
34079
|
return /* @__PURE__ */ y(zf, { ...g, children: /* @__PURE__ */ Y(
|
|
34080
34080
|
Bne,
|
|
34081
34081
|
{
|
|
@@ -34101,11 +34101,11 @@ var Lne = [" ", "Enter", "ArrowUp", "ArrowDown"], $ne = [" ", "Enter"], qf = "Se
|
|
|
34101
34101
|
{
|
|
34102
34102
|
scope: e.__scopeSelect,
|
|
34103
34103
|
onNativeOptionAdd: E.useCallback((T) => {
|
|
34104
|
-
|
|
34104
|
+
F((N) => new Set(N).add(T));
|
|
34105
34105
|
}, []),
|
|
34106
34106
|
onNativeOptionRemove: E.useCallback((T) => {
|
|
34107
|
-
|
|
34108
|
-
const z = new Set(
|
|
34107
|
+
F((N) => {
|
|
34108
|
+
const z = new Set(N);
|
|
34109
34109
|
return z.delete(T), z;
|
|
34110
34110
|
});
|
|
34111
34111
|
}, []),
|
|
@@ -34246,7 +34246,7 @@ var go = 10, [vN, ja] = fu(sl), qne = "SelectContentImpl", wN = E.forwardRef(
|
|
|
34246
34246
|
...b
|
|
34247
34247
|
} = e, v = Va(sl, n), [w, C] = E.useState(null), [_, x] = E.useState(null), S = ze(t, (H) => C(H)), [R, D] = E.useState(null), [P, A] = E.useState(
|
|
34248
34248
|
null
|
|
34249
|
-
), I = pb(n), [$,
|
|
34249
|
+
), I = pb(n), [$, F] = E.useState(!1), O = E.useRef(!1);
|
|
34250
34250
|
E.useEffect(() => {
|
|
34251
34251
|
if (w) return db(w);
|
|
34252
34252
|
}, [w]), cb();
|
|
@@ -34257,13 +34257,13 @@ var go = 10, [vN, ja] = fu(sl), qne = "SelectContentImpl", wN = E.forwardRef(
|
|
|
34257
34257
|
if (Q === re || (Q == null || Q.scrollIntoView({ block: "nearest" }), Q === U && _ && (_.scrollTop = 0), Q === ee && _ && (_.scrollTop = _.scrollHeight), Q == null || Q.focus(), document.activeElement !== re)) return;
|
|
34258
34258
|
},
|
|
34259
34259
|
[I, _]
|
|
34260
|
-
),
|
|
34260
|
+
), N = E.useCallback(
|
|
34261
34261
|
() => T([R, w]),
|
|
34262
34262
|
[T, R, w]
|
|
34263
34263
|
);
|
|
34264
34264
|
E.useEffect(() => {
|
|
34265
|
-
$ &&
|
|
34266
|
-
}, [$,
|
|
34265
|
+
$ && N();
|
|
34266
|
+
}, [$, N]);
|
|
34267
34267
|
const { onOpenChange: z, triggerPointerDownPosRef: B } = v;
|
|
34268
34268
|
E.useEffect(() => {
|
|
34269
34269
|
if (w) {
|
|
@@ -34325,7 +34325,7 @@ var go = 10, [vN, ja] = fu(sl), qne = "SelectContentImpl", wN = E.forwardRef(
|
|
|
34325
34325
|
selectedItem: R,
|
|
34326
34326
|
onItemLeave: k,
|
|
34327
34327
|
itemTextRefCallback: V,
|
|
34328
|
-
focusSelectedItem:
|
|
34328
|
+
focusSelectedItem: N,
|
|
34329
34329
|
selectedItemText: P,
|
|
34330
34330
|
position: r,
|
|
34331
34331
|
isPositioned: $,
|
|
@@ -34361,7 +34361,7 @@ var go = 10, [vN, ja] = fu(sl), qne = "SelectContentImpl", wN = E.forwardRef(
|
|
|
34361
34361
|
onContextMenu: (H) => H.preventDefault(),
|
|
34362
34362
|
...b,
|
|
34363
34363
|
...G,
|
|
34364
|
-
onPlaced: () =>
|
|
34364
|
+
onPlaced: () => F(!0),
|
|
34365
34365
|
ref: S,
|
|
34366
34366
|
style: {
|
|
34367
34367
|
// flex layout so we can place the scroll buttons properly
|
|
@@ -34415,14 +34415,14 @@ var Une = "SelectItemAlignedPosition", xN = E.forwardRef((e, t) => {
|
|
|
34415
34415
|
]);
|
|
34416
34416
|
s.style.minWidth = te + "px", s.style.right = Ee + "px";
|
|
34417
34417
|
}
|
|
34418
|
-
const A = h(), I = window.innerHeight - go * 2, $ = g.scrollHeight,
|
|
34418
|
+
const A = h(), I = window.innerHeight - go * 2, $ = g.scrollHeight, F = window.getComputedStyle(c), O = parseInt(F.borderTopWidth, 10), T = parseInt(F.paddingTop, 10), N = parseInt(F.borderBottomWidth, 10), z = parseInt(F.paddingBottom, 10), B = O + T + $ + z + N, M = Math.min(m.offsetHeight * 5, B), W = window.getComputedStyle(g), L = parseInt(W.paddingTop, 10), k = parseInt(W.paddingBottom, 10), V = S.top + S.height / 2 - go, q = I - V, G = m.offsetHeight / 2, H = m.offsetTop + G, U = O + T + H, X = B - U;
|
|
34419
34419
|
if (U <= V) {
|
|
34420
34420
|
const re = A.length > 0 && m === A[A.length - 1].ref.current;
|
|
34421
34421
|
s.style.bottom = "0px";
|
|
34422
34422
|
const Q = c.clientHeight - g.offsetTop - g.offsetHeight, ie = Math.max(
|
|
34423
34423
|
q,
|
|
34424
34424
|
G + // viewport might have padding bottom, include it to avoid a scrollable viewport
|
|
34425
|
-
(re ? k : 0) + Q +
|
|
34425
|
+
(re ? k : 0) + Q + N
|
|
34426
34426
|
), te = U + ie;
|
|
34427
34427
|
s.style.height = te + "px";
|
|
34428
34428
|
} else {
|
|
@@ -35404,8 +35404,8 @@ function Are({
|
|
|
35404
35404
|
columnName: t
|
|
35405
35405
|
}) {
|
|
35406
35406
|
const [n, r] = ye(!1), o = ft((T) => {
|
|
35407
|
-
var
|
|
35408
|
-
return (
|
|
35407
|
+
var N;
|
|
35408
|
+
return (N = T.card) == null ? void 0 : N.preferences;
|
|
35409
35409
|
}), [i, a] = ye(
|
|
35410
35410
|
Cre(o, e)
|
|
35411
35411
|
), [s, l] = ye(Mre(o, e)), [c, u] = ye(
|
|
@@ -35463,15 +35463,15 @@ function Are({
|
|
|
35463
35463
|
}
|
|
35464
35464
|
function A() {
|
|
35465
35465
|
const T = [
|
|
35466
|
-
...new Set(EE.map((
|
|
35466
|
+
...new Set(EE.map((N) => N.currency))
|
|
35467
35467
|
];
|
|
35468
35468
|
return /* @__PURE__ */ y(mt, { children: /* @__PURE__ */ Y("div", { className: "grid grid-cols-9 items-center gap-2", children: [
|
|
35469
35469
|
/* @__PURE__ */ y(jt, { className: "col-span-3", htmlFor: "format", children: "Locale" }),
|
|
35470
|
-
/* @__PURE__ */ Y(rs, { value: f, onValueChange: (
|
|
35470
|
+
/* @__PURE__ */ Y(rs, { value: f, onValueChange: (N) => p(N), children: [
|
|
35471
35471
|
/* @__PURE__ */ y(ia, { className: "col-span-6 h-8 w-full focus:ring-1 focus:ring-offset-0", children: /* @__PURE__ */ y(os, {}) }),
|
|
35472
35472
|
/* @__PURE__ */ y(aa, { children: /* @__PURE__ */ Y(zu, { children: [
|
|
35473
35473
|
/* @__PURE__ */ y(ql, { children: "Locale" }),
|
|
35474
|
-
EE.map((
|
|
35474
|
+
EE.map((N) => /* @__PURE__ */ y(On, { value: N.locale, children: N.locale }, N.locale))
|
|
35475
35475
|
] }) })
|
|
35476
35476
|
] }),
|
|
35477
35477
|
/* @__PURE__ */ y(jt, { className: "col-span-3", htmlFor: "format", children: "Currency" }),
|
|
@@ -35479,13 +35479,13 @@ function Are({
|
|
|
35479
35479
|
rs,
|
|
35480
35480
|
{
|
|
35481
35481
|
value: b || "none",
|
|
35482
|
-
onValueChange: (
|
|
35482
|
+
onValueChange: (N) => v(N === "none" ? void 0 : N),
|
|
35483
35483
|
children: [
|
|
35484
35484
|
/* @__PURE__ */ y(ia, { className: "col-span-6 h-8 w-full focus:ring-1 focus:ring-offset-0", children: /* @__PURE__ */ y(os, {}) }),
|
|
35485
35485
|
/* @__PURE__ */ y(aa, { children: /* @__PURE__ */ Y(zu, { children: [
|
|
35486
35486
|
/* @__PURE__ */ y(ql, { children: "Currency" }),
|
|
35487
35487
|
/* @__PURE__ */ y(On, { value: "none", children: "None" }),
|
|
35488
|
-
T.map((
|
|
35488
|
+
T.map((N) => /* @__PURE__ */ y(On, { value: N, children: N }, N))
|
|
35489
35489
|
] }) })
|
|
35490
35490
|
]
|
|
35491
35491
|
}
|
|
@@ -35495,17 +35495,17 @@ function Are({
|
|
|
35495
35495
|
rs,
|
|
35496
35496
|
{
|
|
35497
35497
|
value: w,
|
|
35498
|
-
onValueChange: (
|
|
35498
|
+
onValueChange: (N) => C(N),
|
|
35499
35499
|
children: [
|
|
35500
35500
|
/* @__PURE__ */ y(ia, { className: "col-span-3 h-8 w-full focus:ring-1 focus:ring-offset-0", children: /* @__PURE__ */ y(os, {}) }),
|
|
35501
|
-
/* @__PURE__ */ y(aa, { children: ["0", "1", "2", "3", "4"].map((
|
|
35501
|
+
/* @__PURE__ */ y(aa, { children: ["0", "1", "2", "3", "4"].map((N) => /* @__PURE__ */ y(On, { value: N, children: N }, N)) })
|
|
35502
35502
|
]
|
|
35503
35503
|
}
|
|
35504
35504
|
),
|
|
35505
35505
|
!b && /* @__PURE__ */ y(
|
|
35506
35506
|
Qm,
|
|
35507
35507
|
{
|
|
35508
|
-
onPressedChange: (
|
|
35508
|
+
onPressedChange: (N) => x(N),
|
|
35509
35509
|
variant: "outline",
|
|
35510
35510
|
size: "sm",
|
|
35511
35511
|
className: "col-span-3 h-8",
|
|
@@ -35528,7 +35528,7 @@ function Are({
|
|
|
35528
35528
|
/* @__PURE__ */ y(ia, { className: "col-span-6 h-8 w-full focus:ring-1 focus:ring-offset-0", children: /* @__PURE__ */ y(os, {}) }),
|
|
35529
35529
|
/* @__PURE__ */ y(aa, { children: oz.map((T) => /* @__PURE__ */ Y(zu, { children: [
|
|
35530
35530
|
/* @__PURE__ */ y(ql, { children: T.label }),
|
|
35531
|
-
T.locales.map((
|
|
35531
|
+
T.locales.map((N) => /* @__PURE__ */ y(On, { value: N.code, children: N.name }, N.code))
|
|
35532
35532
|
] }, T.label)) })
|
|
35533
35533
|
]
|
|
35534
35534
|
}
|
|
@@ -35563,19 +35563,19 @@ function Are({
|
|
|
35563
35563
|
columnSettings: []
|
|
35564
35564
|
});
|
|
35565
35565
|
}
|
|
35566
|
-
function
|
|
35566
|
+
function F() {
|
|
35567
35567
|
var T;
|
|
35568
35568
|
D({
|
|
35569
35569
|
...o,
|
|
35570
35570
|
columnSettings: [
|
|
35571
35571
|
...((T = o == null ? void 0 : o.columnSettings) == null ? void 0 : T.filter(
|
|
35572
|
-
(
|
|
35572
|
+
(N) => N.columnIdx !== e
|
|
35573
35573
|
)) || []
|
|
35574
35574
|
]
|
|
35575
35575
|
});
|
|
35576
35576
|
}
|
|
35577
35577
|
function O() {
|
|
35578
|
-
var T,
|
|
35578
|
+
var T, N, z, B;
|
|
35579
35579
|
if (i === "date") {
|
|
35580
35580
|
const M = xre(f, g), W = {
|
|
35581
35581
|
columnIdx: e,
|
|
@@ -35623,7 +35623,7 @@ function Are({
|
|
|
35623
35623
|
...o,
|
|
35624
35624
|
columnSettings: [
|
|
35625
35625
|
// Remove the existing column setting
|
|
35626
|
-
...((
|
|
35626
|
+
...((N = o == null ? void 0 : o.columnSettings) == null ? void 0 : N.filter(
|
|
35627
35627
|
(L) => L.columnIdx !== e
|
|
35628
35628
|
)) || [],
|
|
35629
35629
|
W
|
|
@@ -35721,7 +35721,7 @@ function Are({
|
|
|
35721
35721
|
/* @__PURE__ */ y(
|
|
35722
35722
|
rn,
|
|
35723
35723
|
{
|
|
35724
|
-
onClick:
|
|
35724
|
+
onClick: F,
|
|
35725
35725
|
variant: "secondary",
|
|
35726
35726
|
className: "col-span-1 col-start-2 h-8 w-full",
|
|
35727
35727
|
children: "Reset"
|
|
@@ -36658,8 +36658,8 @@ function eoe({
|
|
|
36658
36658
|
const g = u(h), m = Object.keys(
|
|
36659
36659
|
((S = e.customCardPreferences) == null ? void 0 : S.dataInputCardIds) || {}
|
|
36660
36660
|
).map((P) => {
|
|
36661
|
-
var $,
|
|
36662
|
-
const A = (
|
|
36661
|
+
var $, F, O;
|
|
36662
|
+
const A = (F = ($ = e.customCardPreferences) == null ? void 0 : $.dataInputCardIds) == null ? void 0 : F[P].cardId, I = (O = t == null ? void 0 : t.cards) == null ? void 0 : O.find((T) => T.id === A);
|
|
36663
36663
|
return I || null;
|
|
36664
36664
|
});
|
|
36665
36665
|
function b(P) {
|
|
@@ -36684,8 +36684,8 @@ function eoe({
|
|
|
36684
36684
|
Object.keys(
|
|
36685
36685
|
((D = e.customCardPreferences) == null ? void 0 : D.dataInputCardIds) || {}
|
|
36686
36686
|
).map((P) => {
|
|
36687
|
-
var $,
|
|
36688
|
-
const A = (
|
|
36687
|
+
var $, F, O;
|
|
36688
|
+
const A = (F = ($ = e.customCardPreferences) == null ? void 0 : $.dataInputCardIds) == null ? void 0 : F[P].cardId, I = (O = t == null ? void 0 : t.cards) == null ? void 0 : O.find(
|
|
36689
36689
|
(T) => T.id === A
|
|
36690
36690
|
);
|
|
36691
36691
|
if (I)
|
|
@@ -38348,10 +38348,10 @@ function Gg(e) {
|
|
|
38348
38348
|
const D = C(0, !0).lab()[0], P = C(1, !0).lab()[0], A = D > P;
|
|
38349
38349
|
let I = C(R, !0).lab()[0];
|
|
38350
38350
|
const $ = D + (P - D) * R;
|
|
38351
|
-
let
|
|
38352
|
-
for (; Math.abs(
|
|
38351
|
+
let F = I - $, O = 0, T = 1, N = 20;
|
|
38352
|
+
for (; Math.abs(F) > 0.01 && N-- > 0; )
|
|
38353
38353
|
(function() {
|
|
38354
|
-
return A && (
|
|
38354
|
+
return A && (F *= -1), F < 0 ? (O = R, R += (T - R) * 0.5) : (T = R, R += (O - R) * 0.5), I = C(R, !0).lab()[0], F = I - $;
|
|
38355
38355
|
})();
|
|
38356
38356
|
return R;
|
|
38357
38357
|
} : v = (R) => R, x;
|
|
@@ -38638,8 +38638,8 @@ function aae(e, t, n = 1, r = 1, o = 1) {
|
|
|
38638
38638
|
const [s, l, c] = Array.from(e.lab()), [u, d, h] = Array.from(t.lab()), f = (s + u) / 2, p = yi(gn(l, 2) + gn(c, 2)), g = yi(gn(d, 2) + gn(h, 2)), m = (p + g) / 2, b = 0.5 * (1 - yi(gn(m, 7) / (gn(m, 7) + gn(25, 7)))), v = l * (1 + b), w = d * (1 + b), C = yi(gn(v, 2) + gn(c, 2)), _ = yi(gn(w, 2) + gn(h, 2)), x = (C + _) / 2, S = i(rP(c, v)), R = i(rP(h, w)), D = S >= 0 ? S : S + 360, P = R >= 0 ? R : R + 360, A = oP(D - P) > 180 ? (D + P + 360) / 2 : (D + P) / 2, I = 1 - 0.17 * bp(a(A - 30)) + 0.24 * bp(a(2 * A)) + 0.32 * bp(a(3 * A + 6)) - 0.2 * bp(a(4 * A - 63));
|
|
38639
38639
|
let $ = P - D;
|
|
38640
38640
|
$ = oP($) <= 180 ? $ : P <= D ? $ + 360 : $ - 360, $ = 2 * yi(C * _) * iP(a($) / 2);
|
|
38641
|
-
const
|
|
38642
|
-
gn(
|
|
38641
|
+
const F = u - s, O = _ - C, T = 1 + 0.015 * gn(f - 50, 2) / yi(20 + gn(f - 50, 2)), N = 1 + 0.045 * x, z = 1 + 0.015 * x * I, B = 30 * iae(-gn((A - 275) / 25, 2)), W = -(2 * yi(gn(x, 7) / (gn(x, 7) + gn(25, 7)))) * iP(2 * a(B)), L = yi(
|
|
38642
|
+
gn(F / (n * T), 2) + gn(O / (r * N), 2) + gn($ / (o * z), 2) + W * (O / (r * N)) * ($ / (o * z))
|
|
38643
38643
|
);
|
|
38644
38644
|
return oae(0, rae(100, L));
|
|
38645
38645
|
}
|
|
@@ -41405,77 +41405,77 @@ function _3() {
|
|
|
41405
41405
|
return e;
|
|
41406
41406
|
}
|
|
41407
41407
|
function Jle(e, t) {
|
|
41408
|
-
var n = Wt(), r = _3(), o = wC(), i = SC(), a = _C(), s = a.focusDayAfter, l = a.focusDayBefore, c = a.focusWeekAfter, u = a.focusWeekBefore, d = a.blur, h = a.focus, f = a.focusMonthBefore, p = a.focusMonthAfter, g = a.focusYearBefore, m = a.focusYearAfter, b = a.focusStartOfWeek, v = a.focusEndOfWeek, w = function(
|
|
41408
|
+
var n = Wt(), r = _3(), o = wC(), i = SC(), a = _C(), s = a.focusDayAfter, l = a.focusDayBefore, c = a.focusWeekAfter, u = a.focusWeekBefore, d = a.blur, h = a.focus, f = a.focusMonthBefore, p = a.focusMonthAfter, g = a.focusYearBefore, m = a.focusYearAfter, b = a.focusStartOfWeek, v = a.focusEndOfWeek, w = function(N) {
|
|
41409
41409
|
var z, B, M, W;
|
|
41410
|
-
_b(n) ? (z = r.onDayClick) === null || z === void 0 || z.call(r, e, t,
|
|
41411
|
-
}, C = function(
|
|
41410
|
+
_b(n) ? (z = r.onDayClick) === null || z === void 0 || z.call(r, e, t, N) : Kf(n) ? (B = o.onDayClick) === null || B === void 0 || B.call(o, e, t, N) : Xf(n) ? (M = i.onDayClick) === null || M === void 0 || M.call(i, e, t, N) : (W = n.onDayClick) === null || W === void 0 || W.call(n, e, t, N);
|
|
41411
|
+
}, C = function(N) {
|
|
41412
41412
|
var z;
|
|
41413
|
-
h(e), (z = n.onDayFocus) === null || z === void 0 || z.call(n, e, t,
|
|
41414
|
-
}, _ = function(
|
|
41413
|
+
h(e), (z = n.onDayFocus) === null || z === void 0 || z.call(n, e, t, N);
|
|
41414
|
+
}, _ = function(N) {
|
|
41415
41415
|
var z;
|
|
41416
|
-
d(), (z = n.onDayBlur) === null || z === void 0 || z.call(n, e, t,
|
|
41417
|
-
}, x = function(
|
|
41416
|
+
d(), (z = n.onDayBlur) === null || z === void 0 || z.call(n, e, t, N);
|
|
41417
|
+
}, x = function(N) {
|
|
41418
41418
|
var z;
|
|
41419
|
-
(z = n.onDayMouseEnter) === null || z === void 0 || z.call(n, e, t,
|
|
41420
|
-
}, S = function(
|
|
41419
|
+
(z = n.onDayMouseEnter) === null || z === void 0 || z.call(n, e, t, N);
|
|
41420
|
+
}, S = function(N) {
|
|
41421
41421
|
var z;
|
|
41422
|
-
(z = n.onDayMouseLeave) === null || z === void 0 || z.call(n, e, t,
|
|
41423
|
-
}, R = function(
|
|
41422
|
+
(z = n.onDayMouseLeave) === null || z === void 0 || z.call(n, e, t, N);
|
|
41423
|
+
}, R = function(N) {
|
|
41424
41424
|
var z;
|
|
41425
|
-
(z = n.onDayPointerEnter) === null || z === void 0 || z.call(n, e, t,
|
|
41426
|
-
}, D = function(
|
|
41425
|
+
(z = n.onDayPointerEnter) === null || z === void 0 || z.call(n, e, t, N);
|
|
41426
|
+
}, D = function(N) {
|
|
41427
41427
|
var z;
|
|
41428
|
-
(z = n.onDayPointerLeave) === null || z === void 0 || z.call(n, e, t,
|
|
41429
|
-
}, P = function(
|
|
41428
|
+
(z = n.onDayPointerLeave) === null || z === void 0 || z.call(n, e, t, N);
|
|
41429
|
+
}, P = function(N) {
|
|
41430
41430
|
var z;
|
|
41431
|
-
(z = n.onDayTouchCancel) === null || z === void 0 || z.call(n, e, t,
|
|
41432
|
-
}, A = function(
|
|
41431
|
+
(z = n.onDayTouchCancel) === null || z === void 0 || z.call(n, e, t, N);
|
|
41432
|
+
}, A = function(N) {
|
|
41433
41433
|
var z;
|
|
41434
|
-
(z = n.onDayTouchEnd) === null || z === void 0 || z.call(n, e, t,
|
|
41435
|
-
}, I = function(
|
|
41434
|
+
(z = n.onDayTouchEnd) === null || z === void 0 || z.call(n, e, t, N);
|
|
41435
|
+
}, I = function(N) {
|
|
41436
41436
|
var z;
|
|
41437
|
-
(z = n.onDayTouchMove) === null || z === void 0 || z.call(n, e, t,
|
|
41438
|
-
}, $ = function(
|
|
41437
|
+
(z = n.onDayTouchMove) === null || z === void 0 || z.call(n, e, t, N);
|
|
41438
|
+
}, $ = function(N) {
|
|
41439
41439
|
var z;
|
|
41440
|
-
(z = n.onDayTouchStart) === null || z === void 0 || z.call(n, e, t,
|
|
41441
|
-
},
|
|
41440
|
+
(z = n.onDayTouchStart) === null || z === void 0 || z.call(n, e, t, N);
|
|
41441
|
+
}, F = function(N) {
|
|
41442
41442
|
var z;
|
|
41443
|
-
(z = n.onDayKeyUp) === null || z === void 0 || z.call(n, e, t,
|
|
41444
|
-
}, O = function(
|
|
41443
|
+
(z = n.onDayKeyUp) === null || z === void 0 || z.call(n, e, t, N);
|
|
41444
|
+
}, O = function(N) {
|
|
41445
41445
|
var z;
|
|
41446
|
-
switch (
|
|
41446
|
+
switch (N.key) {
|
|
41447
41447
|
case "ArrowLeft":
|
|
41448
|
-
|
|
41448
|
+
N.preventDefault(), N.stopPropagation(), n.dir === "rtl" ? s() : l();
|
|
41449
41449
|
break;
|
|
41450
41450
|
case "ArrowRight":
|
|
41451
|
-
|
|
41451
|
+
N.preventDefault(), N.stopPropagation(), n.dir === "rtl" ? l() : s();
|
|
41452
41452
|
break;
|
|
41453
41453
|
case "ArrowDown":
|
|
41454
|
-
|
|
41454
|
+
N.preventDefault(), N.stopPropagation(), c();
|
|
41455
41455
|
break;
|
|
41456
41456
|
case "ArrowUp":
|
|
41457
|
-
|
|
41457
|
+
N.preventDefault(), N.stopPropagation(), u();
|
|
41458
41458
|
break;
|
|
41459
41459
|
case "PageUp":
|
|
41460
|
-
|
|
41460
|
+
N.preventDefault(), N.stopPropagation(), N.shiftKey ? g() : f();
|
|
41461
41461
|
break;
|
|
41462
41462
|
case "PageDown":
|
|
41463
|
-
|
|
41463
|
+
N.preventDefault(), N.stopPropagation(), N.shiftKey ? m() : p();
|
|
41464
41464
|
break;
|
|
41465
41465
|
case "Home":
|
|
41466
|
-
|
|
41466
|
+
N.preventDefault(), N.stopPropagation(), b();
|
|
41467
41467
|
break;
|
|
41468
41468
|
case "End":
|
|
41469
|
-
|
|
41469
|
+
N.preventDefault(), N.stopPropagation(), v();
|
|
41470
41470
|
break;
|
|
41471
41471
|
}
|
|
41472
|
-
(z = n.onDayKeyDown) === null || z === void 0 || z.call(n, e, t,
|
|
41472
|
+
(z = n.onDayKeyDown) === null || z === void 0 || z.call(n, e, t, N);
|
|
41473
41473
|
}, T = {
|
|
41474
41474
|
onClick: w,
|
|
41475
41475
|
onFocus: C,
|
|
41476
41476
|
onBlur: _,
|
|
41477
41477
|
onKeyDown: O,
|
|
41478
|
-
onKeyUp:
|
|
41478
|
+
onKeyUp: F,
|
|
41479
41479
|
onMouseEnter: x,
|
|
41480
41480
|
onMouseLeave: S,
|
|
41481
41481
|
onPointerEnter: R,
|
|
@@ -44041,19 +44041,19 @@ function Ade({ children: e, enabled: t = !0 }) {
|
|
|
44041
44041
|
let { refs: b, floatingStyles: v, context: w } = _de({ open: c, placement: g === "selection" ? m === "center" ? "bottom" : `bottom-${m}` : m === "center" ? `${g}` : `${g}-${m}`, strategy: "absolute", transform: !1, middleware: [FS({ mainAxis: g === "selection" ? 0 : d, crossAxis: h }), lT({ padding: f }), g !== "selection" && cT({ padding: f }), g === "selection" && p ? Rde({ ...p, padding: f, overflowRef: a, offset: o, minItemsVisible: $P, referenceOverflowThreshold: f, onFallbackChange(A) {
|
|
44042
44042
|
var I, $;
|
|
44043
44043
|
if (!A) return;
|
|
44044
|
-
let
|
|
44045
|
-
if (!
|
|
44046
|
-
let O = parseFloat(getComputedStyle(
|
|
44044
|
+
let F = w.elements.floating;
|
|
44045
|
+
if (!F) return;
|
|
44046
|
+
let O = parseFloat(getComputedStyle(F).scrollPaddingBottom) || 0, T = Math.min($P, F.childElementCount), N = 0, z = 0;
|
|
44047
44047
|
for (let B of ($ = (I = w.elements.floating) == null ? void 0 : I.childNodes) != null ? $ : []) if (B instanceof HTMLElement) {
|
|
44048
|
-
let M = B.offsetTop, W = M + B.clientHeight + O, L =
|
|
44048
|
+
let M = B.offsetTop, W = M + B.clientHeight + O, L = F.scrollTop, k = L + F.clientHeight;
|
|
44049
44049
|
if (M >= L && W <= k) T--;
|
|
44050
44050
|
else {
|
|
44051
|
-
z = Math.max(0, Math.min(W, k) - Math.max(M, L)),
|
|
44051
|
+
z = Math.max(0, Math.min(W, k) - Math.max(M, L)), N = B.clientHeight;
|
|
44052
44052
|
break;
|
|
44053
44053
|
}
|
|
44054
44054
|
}
|
|
44055
44055
|
T >= 1 && i((B) => {
|
|
44056
|
-
let M =
|
|
44056
|
+
let M = N * T - z + O;
|
|
44057
44057
|
return B >= M ? B : M;
|
|
44058
44058
|
});
|
|
44059
44059
|
} }) : null, uT({ padding: f, apply({ availableWidth: A, availableHeight: I, elements: $ }) {
|
|
@@ -44384,7 +44384,7 @@ function afe(e, t) {
|
|
|
44384
44384
|
let sfe = Is;
|
|
44385
44385
|
function lfe(e, t) {
|
|
44386
44386
|
var n, r;
|
|
44387
|
-
let o = PC(), { value: i, defaultValue: a, onChange: s, form: l, name: c, by: u, disabled: d = o || !1, onClose: h, __demoMode: f = !1, multiple: p = !1, immediate: g = !1, virtual: m = null, nullable: b, ...v } = e, w = Qce(a), [C = p ? [] : void 0, _] = Xce(i, s, w), [x, S] = ex(afe, { dataRef: G7(), comboboxState: f ? 0 : 1, isTyping: !1, options: [], virtual: m ? { options: m.options, disabled: (n = m.disabled) != null ? n : () => !1 } : null, activeOptionIndex: null, activationTrigger: 2, inputElement: null, buttonElement: null, optionsElement: null, __demoMode: f }), R = pe(!1), D = pe({ static: !1, hold: !1 }), P = Mue(u), A = qe((te) => m ? u === null ? m.options.indexOf(te) : m.options.findIndex((de) => P(de, te)) : x.options.findIndex((de) => P(de.dataRef.current.value, te))), I = Re((te) => Vi(
|
|
44387
|
+
let o = PC(), { value: i, defaultValue: a, onChange: s, form: l, name: c, by: u, disabled: d = o || !1, onClose: h, __demoMode: f = !1, multiple: p = !1, immediate: g = !1, virtual: m = null, nullable: b, ...v } = e, w = Qce(a), [C = p ? [] : void 0, _] = Xce(i, s, w), [x, S] = ex(afe, { dataRef: G7(), comboboxState: f ? 0 : 1, isTyping: !1, options: [], virtual: m ? { options: m.options, disabled: (n = m.disabled) != null ? n : () => !1 } : null, activeOptionIndex: null, activationTrigger: 2, inputElement: null, buttonElement: null, optionsElement: null, __demoMode: f }), R = pe(!1), D = pe({ static: !1, hold: !1 }), P = Mue(u), A = qe((te) => m ? u === null ? m.options.indexOf(te) : m.options.findIndex((de) => P(de, te)) : x.options.findIndex((de) => P(de.dataRef.current.value, te))), I = Re((te) => Vi(F.mode, { 1: () => C.some((de) => P(de, te)), 0: () => P(C, te) }), [C]), $ = qe((te) => x.activeOptionIndex === A(te)), F = ke(() => ({ ...x, immediate: g, optionsPropsRef: D, value: C, defaultValue: w, disabled: d, mode: p ? 1 : 0, virtual: m ? x.virtual : null, get activeOptionIndex() {
|
|
44388
44388
|
if (R.current && x.activeOptionIndex === null && (m ? m.options.length > 0 : x.options.length > 0)) {
|
|
44389
44389
|
if (m) {
|
|
44390
44390
|
let de = m.options.findIndex((be) => {
|
|
@@ -44402,21 +44402,21 @@ function lfe(e, t) {
|
|
|
44402
44402
|
var te;
|
|
44403
44403
|
m && S({ type: 7, options: m.options, disabled: (te = m.disabled) != null ? te : null });
|
|
44404
44404
|
}, [m, m == null ? void 0 : m.options, m == null ? void 0 : m.disabled]), on(() => {
|
|
44405
|
-
x.dataRef.current =
|
|
44406
|
-
}, [
|
|
44407
|
-
let O =
|
|
44408
|
-
Wue(O, [
|
|
44405
|
+
x.dataRef.current = F;
|
|
44406
|
+
}, [F]);
|
|
44407
|
+
let O = F.comboboxState === 0;
|
|
44408
|
+
Wue(O, [F.buttonElement, F.inputElement, F.optionsElement], () => U.closeCombobox());
|
|
44409
44409
|
let T = ke(() => {
|
|
44410
44410
|
var te, de, be;
|
|
44411
|
-
return { open:
|
|
44412
|
-
}, [
|
|
44413
|
-
if (
|
|
44414
|
-
if (U.setIsTyping(!1),
|
|
44411
|
+
return { open: F.comboboxState === 0, disabled: d, activeIndex: F.activeOptionIndex, activeOption: F.activeOptionIndex === null ? null : F.virtual ? F.virtual.options[(te = F.activeOptionIndex) != null ? te : 0] : (be = (de = F.options[F.activeOptionIndex]) == null ? void 0 : de.dataRef.current.value) != null ? be : null, value: C };
|
|
44412
|
+
}, [F, d, C]), N = qe(() => {
|
|
44413
|
+
if (F.activeOptionIndex !== null) {
|
|
44414
|
+
if (U.setIsTyping(!1), F.virtual) k(F.virtual.options[F.activeOptionIndex]);
|
|
44415
44415
|
else {
|
|
44416
|
-
let { dataRef: te } =
|
|
44416
|
+
let { dataRef: te } = F.options[F.activeOptionIndex];
|
|
44417
44417
|
k(te.current.value);
|
|
44418
44418
|
}
|
|
44419
|
-
U.goToOption(vn.Specific,
|
|
44419
|
+
U.goToOption(vn.Specific, F.activeOptionIndex);
|
|
44420
44420
|
}
|
|
44421
44421
|
}), z = qe(() => {
|
|
44422
44422
|
S({ type: 0 }), R.current = !0;
|
|
@@ -44425,11 +44425,11 @@ function lfe(e, t) {
|
|
|
44425
44425
|
}), M = qe((te) => {
|
|
44426
44426
|
S({ type: 3, isTyping: te });
|
|
44427
44427
|
}), W = qe((te, de, be) => (R.current = !1, te === vn.Specific ? S({ type: 2, focus: vn.Specific, idx: de, trigger: be }) : S({ type: 2, focus: te, trigger: be }))), L = qe((te, de) => (S({ type: 4, payload: { id: te, dataRef: de } }), () => {
|
|
44428
|
-
|
|
44429
|
-
})), k = qe((te) => Vi(
|
|
44428
|
+
F.isActive(de.current.value) && (R.current = !0), S({ type: 5, id: te });
|
|
44429
|
+
})), k = qe((te) => Vi(F.mode, { 0() {
|
|
44430
44430
|
return _ == null ? void 0 : _(te);
|
|
44431
44431
|
}, 1() {
|
|
44432
|
-
let de =
|
|
44432
|
+
let de = F.value.slice(), be = de.findIndex((Ee) => P(Ee, te));
|
|
44433
44433
|
return be === -1 ? de.push(te) : de.splice(be, 1), _ == null ? void 0 : _(de);
|
|
44434
44434
|
} })), V = qe((te) => {
|
|
44435
44435
|
S({ type: 6, trigger: te });
|
|
@@ -44439,10 +44439,10 @@ function lfe(e, t) {
|
|
|
44439
44439
|
S({ type: 9, element: te });
|
|
44440
44440
|
}), H = qe((te) => {
|
|
44441
44441
|
S({ type: 10, element: te });
|
|
44442
|
-
}), U = ke(() => ({ onChange: k, registerOption: L, goToOption: W, setIsTyping: M, closeCombobox: B, openCombobox: z, setActivationTrigger: V, selectActiveOption:
|
|
44442
|
+
}), U = ke(() => ({ onChange: k, registerOption: L, goToOption: W, setIsTyping: M, closeCombobox: B, openCombobox: z, setActivationTrigger: V, selectActiveOption: N, setInputElement: q, setButtonElement: G, setOptionsElement: H }), []), [X, ee] = fue(), re = t === null ? {} : { ref: t }, Q = Re(() => {
|
|
44443
44443
|
if (w !== void 0) return _ == null ? void 0 : _(w);
|
|
44444
44444
|
}, [_, w]), ie = Oo();
|
|
44445
|
-
return J.createElement(ee, { value: X, props: { htmlFor: (r =
|
|
44445
|
+
return J.createElement(ee, { value: X, props: { htmlFor: (r = F.inputElement) == null ? void 0 : r.id }, slot: { open: F.comboboxState === 0, disabled: d } }, J.createElement(Ade, null, J.createElement(FC.Provider, { value: U }, J.createElement(lf.Provider, { value: F }, J.createElement(Lde, { value: Vi(F.comboboxState, { 0: sf.Open, 1: sf.Closed }) }, c != null && J.createElement(nue, { disabled: d, data: C != null ? { [c]: C } : {}, form: l, onReset: Q }), ie({ ourProps: re, theirProps: v, slot: T, defaultTag: sfe, name: "Combobox" }))))));
|
|
44446
44446
|
}
|
|
44447
44447
|
let cfe = "input";
|
|
44448
44448
|
function ufe(e, t) {
|
|
@@ -44515,13 +44515,13 @@ function ufe(e, t) {
|
|
|
44515
44515
|
var V, q, G;
|
|
44516
44516
|
let H = (V = k.relatedTarget) != null ? V : hs.find((U) => U !== k.currentTarget);
|
|
44517
44517
|
if (!((q = s.optionsElement) != null && q.contains(H)) && !((G = s.buttonElement) != null && G.contains(H)) && s.comboboxState === 0) return k.preventDefault(), s.mode === 0 && s.value === null && x(), l.closeCombobox();
|
|
44518
|
-
}),
|
|
44518
|
+
}), F = qe((k) => {
|
|
44519
44519
|
var V, q, G;
|
|
44520
44520
|
let H = (V = k.relatedTarget) != null ? V : hs.find((U) => U !== k.currentTarget);
|
|
44521
44521
|
(q = s.buttonElement) != null && q.contains(H) || (G = s.optionsElement) != null && G.contains(H) || s.disabled || s.immediate && s.comboboxState !== 0 && _.microTask(() => {
|
|
44522
44522
|
ms(() => l.openCombobox()), l.setActivationTrigger(1);
|
|
44523
44523
|
});
|
|
44524
|
-
}), O = Rb(), T = lue(), { isFocused:
|
|
44524
|
+
}), O = Rb(), T = lue(), { isFocused: N, focusProps: z } = N3({ autoFocus: g }), { isHovered: B, hoverProps: M } = T3({ isDisabled: p }), W = ke(() => ({ open: s.comboboxState === 0, disabled: p, hover: B, focus: N, autofocus: g }), [s, B, N, g, p]), L = DC({ ref: w, id: d, role: "combobox", type: m, "aria-controls": (n = s.optionsElement) == null ? void 0 : n.id, "aria-expanded": s.comboboxState === 0, "aria-activedescendant": s.activeOptionIndex === null ? void 0 : s.virtual ? (r = s.options.find((k) => !k.dataRef.current.disabled && s.compare(k.dataRef.current.value, s.virtual.options[s.activeOptionIndex]))) == null ? void 0 : r.id : (o = s.options[s.activeOptionIndex]) == null ? void 0 : o.id, "aria-labelledby": O, "aria-describedby": T, "aria-autocomplete": "list", defaultValue: (a = (i = e.defaultValue) != null ? i : s.defaultValue !== void 0 ? f == null ? void 0 : f(s.defaultValue) : null) != null ? a : s.defaultValue, disabled: p || void 0, autoFocus: g, onCompositionStart: D, onCompositionEnd: P, onKeyDown: A, onChange: I, onFocus: F, onBlur: $ }, z, M);
|
|
44525
44525
|
return Oo()({ ourProps: L, theirProps: b, slot: W, defaultTag: cfe, name: "Combobox.Input" });
|
|
44526
44526
|
}
|
|
44527
44527
|
let dfe = "button";
|
|
@@ -44571,17 +44571,17 @@ function gfe(e, t) {
|
|
|
44571
44571
|
}, walk(L) {
|
|
44572
44572
|
L.setAttribute("role", "none");
|
|
44573
44573
|
} });
|
|
44574
|
-
let I = Rb([(n = f.buttonElement) == null ? void 0 : n.id]), $ = ke(() => ({ open: f.comboboxState === 0, option: void 0 }), [f.comboboxState]),
|
|
44574
|
+
let I = Rb([(n = f.buttonElement) == null ? void 0 : n.id]), $ = ke(() => ({ open: f.comboboxState === 0, option: void 0 }), [f.comboboxState]), F = qe(() => {
|
|
44575
44575
|
p.setActivationTrigger(0);
|
|
44576
44576
|
}), O = qe((L) => {
|
|
44577
44577
|
L.preventDefault(), p.setActivationTrigger(0);
|
|
44578
|
-
}), T = DC(g ? C() : {}, { "aria-labelledby": I, role: "listbox", "aria-multiselectable": f.mode === 1 ? !0 : void 0, id: a, ref: _, style: { ...h.style, ...b, "--input-width": EP(f.inputElement, !0).width, "--button-width": EP(f.buttonElement, !0).width }, onWheel: f.activationTrigger === 0 ? void 0 :
|
|
44578
|
+
}), T = DC(g ? C() : {}, { "aria-labelledby": I, role: "listbox", "aria-multiselectable": f.mode === 1 ? !0 : void 0, id: a, ref: _, style: { ...h.style, ...b, "--input-width": EP(f.inputElement, !0).width, "--button-width": EP(f.buttonElement, !0).width }, onWheel: f.activationTrigger === 0 ? void 0 : F, onMouseDown: O, ...nde(D) }), N = R && f.comboboxState === 1, z = y1(N, (r = f.virtual) == null ? void 0 : r.options), B = y1(N, f.value), M = qe((L) => f.compare(B, L));
|
|
44579
44579
|
if (f.virtual) {
|
|
44580
44580
|
if (z === void 0) throw new Error("Missing `options` in virtual mode");
|
|
44581
44581
|
Object.assign(h, { children: J.createElement(lf.Provider, { value: z !== f.virtual.options ? { ...f, virtual: { ...f.virtual, options: z } } : f }, J.createElement(ife, { slot: $ }, h.children)) });
|
|
44582
44582
|
}
|
|
44583
44583
|
let W = Oo();
|
|
44584
|
-
return J.createElement(Jde, { enabled: c ? e.static || R : !1 }, J.createElement(lf.Provider, { value: f.mode === 1 ? f : { ...f, isSelected: M } }, W({ ourProps: T, theirProps: { ...h, children: J.createElement(Nde, { freeze:
|
|
44584
|
+
return J.createElement(Jde, { enabled: c ? e.static || R : !1 }, J.createElement(lf.Provider, { value: f.mode === 1 ? f : { ...f, isSelected: M } }, W({ ourProps: T, theirProps: { ...h, children: J.createElement(Nde, { freeze: N }, typeof h.children == "function" ? (o = h.children) == null ? void 0 : o.call(h, $) : h.children) }, slot: $, defaultTag: hfe, features: pfe, visible: R, name: "Combobox.Options" })));
|
|
44585
44585
|
}
|
|
44586
44586
|
let mfe = "div";
|
|
44587
44587
|
function bfe(e, t) {
|
|
@@ -44613,8 +44613,8 @@ function bfe(e, t) {
|
|
|
44613
44613
|
s.goToOption(vn.Specific, T, 0);
|
|
44614
44614
|
}), I = qe((O) => {
|
|
44615
44615
|
D.wasMoved(O) && (d || g && (a.optionsPropsRef.current.hold || s.goToOption(vn.Nothing)));
|
|
44616
|
-
}), $ = ke(() => ({ active: g, focus: g, selected: m, disabled: d }), [g, m, d]),
|
|
44617
|
-
return Oo()({ ourProps:
|
|
44616
|
+
}), $ = ke(() => ({ active: g, focus: g, selected: m, disabled: d }), [g, m, d]), F = { id: c, ref: C, role: "option", tabIndex: d === !0 ? void 0 : -1, "aria-disabled": d === !0 ? !0 : void 0, "aria-selected": m, disabled: void 0, onMouseDown: S, onFocus: R, onPointerEnter: P, onMouseEnter: P, onPointerMove: A, onMouseMove: A, onPointerLeave: I, onMouseLeave: I };
|
|
44617
|
+
return Oo()({ ourProps: F, theirProps: f, slot: $, defaultTag: mfe, name: "Combobox.Option" });
|
|
44618
44618
|
}
|
|
44619
44619
|
let yfe = Ao(lfe), i6 = Ao(ffe), a6 = Ao(ufe), vfe = mue, s6 = Ao(gfe), l6 = Ao(bfe), wfe = Object.assign(yfe, { Input: a6, Button: i6, Label: vfe, Options: s6, Option: l6 });
|
|
44620
44620
|
function xfe({ elementId: e }) {
|
|
@@ -45238,7 +45238,7 @@ function Vfe({ frame: e }) {
|
|
|
45238
45238
|
);
|
|
45239
45239
|
}
|
|
45240
45240
|
function jfe({ card: e, frame: t }) {
|
|
45241
|
-
var I, $,
|
|
45241
|
+
var I, $, F;
|
|
45242
45242
|
const { customCards: n, placeholders: r } = Or(), o = ae((O) => O.themeStyle), i = ae((O) => O.selectedSheetId), a = ae(
|
|
45243
45243
|
(O) => O.isDashboardEditing
|
|
45244
45244
|
);
|
|
@@ -45253,7 +45253,7 @@ function jfe({ card: e, frame: t }) {
|
|
|
45253
45253
|
handleDatapointClick: _
|
|
45254
45254
|
} = qI(e);
|
|
45255
45255
|
function x() {
|
|
45256
|
-
var O, T,
|
|
45256
|
+
var O, T, N;
|
|
45257
45257
|
if (n && n.length > 0) {
|
|
45258
45258
|
const z = n.find((B) => B.cardId === e.id);
|
|
45259
45259
|
if (z && z.replaceDefault) {
|
|
@@ -45274,7 +45274,7 @@ function jfe({ card: e, frame: t }) {
|
|
|
45274
45274
|
if (((T = t == null ? void 0 : t.cards) == null ? void 0 : T.length) > 1)
|
|
45275
45275
|
return /* @__PURE__ */ y(Vfe, { frame: t });
|
|
45276
45276
|
}
|
|
45277
|
-
return e.type === "text" && ((
|
|
45277
|
+
return e.type === "text" && ((N = t == null ? void 0 : t.cards) == null ? void 0 : N.length) === 1 ? /* @__PURE__ */ y(qg, { className: "mx-3 my-6 overflow-y-auto break-words px-3", children: /* @__PURE__ */ y(
|
|
45278
45278
|
Ww,
|
|
45279
45279
|
{
|
|
45280
45280
|
isLoading: m || b,
|
|
@@ -45343,7 +45343,7 @@ function jfe({ card: e, frame: t }) {
|
|
|
45343
45343
|
return null;
|
|
45344
45344
|
}
|
|
45345
45345
|
function D() {
|
|
45346
|
-
var
|
|
45346
|
+
var N;
|
|
45347
45347
|
const O = t.cards.filter(
|
|
45348
45348
|
(z) => {
|
|
45349
45349
|
var B;
|
|
@@ -45370,12 +45370,12 @@ function jfe({ card: e, frame: t }) {
|
|
|
45370
45370
|
borderRadius: o == null ? void 0 : o.controlInputRadius
|
|
45371
45371
|
},
|
|
45372
45372
|
className: "flex-end flex h-9 flex-wrap items-center border border-border bg-background p-0",
|
|
45373
|
-
children: (
|
|
45373
|
+
children: (N = t.cards.filter(
|
|
45374
45374
|
(z) => {
|
|
45375
45375
|
var B;
|
|
45376
45376
|
return !((B = z.tabTitle) != null && B.endsWith("__Header")) && (z.displayTab === !0 || z.displayTab === void 0);
|
|
45377
45377
|
}
|
|
45378
|
-
)) == null ? void 0 :
|
|
45378
|
+
)) == null ? void 0 : N.map((z, B) => /* @__PURE__ */ y(
|
|
45379
45379
|
Cx,
|
|
45380
45380
|
{
|
|
45381
45381
|
className: se(
|
|
@@ -45479,7 +45479,7 @@ function jfe({ card: e, frame: t }) {
|
|
|
45479
45479
|
"div",
|
|
45480
45480
|
{
|
|
45481
45481
|
style: {
|
|
45482
|
-
borderRadius: (
|
|
45482
|
+
borderRadius: (F = ($ = o == null ? void 0 : o.chart) == null ? void 0 : $.options) == null ? void 0 : F.borderRadius
|
|
45483
45483
|
},
|
|
45484
45484
|
"data-content": "frame-filter-container",
|
|
45485
45485
|
className: "flex shrink-0 items-center",
|
|
@@ -46049,23 +46049,23 @@ function A6({
|
|
|
46049
46049
|
didLogMissingDefaultSizeWarning: !1
|
|
46050
46050
|
}), Gs(() => {
|
|
46051
46051
|
const {
|
|
46052
|
-
callbacks:
|
|
46052
|
+
callbacks: F,
|
|
46053
46053
|
constraints: O
|
|
46054
46054
|
} = I.current, T = {
|
|
46055
46055
|
...O
|
|
46056
46056
|
};
|
|
46057
|
-
I.current.id = A, I.current.idIsFromProps = a !== void 0, I.current.order = h,
|
|
46057
|
+
I.current.id = A, I.current.idIsFromProps = a !== void 0, I.current.order = h, F.onCollapse = c, F.onExpand = u, F.onResize = d, O.collapsedSize = n, O.collapsible = r, O.defaultSize = o, O.maxSize = s, O.minSize = l, (T.collapsedSize !== O.collapsedSize || T.collapsible !== O.collapsible || T.maxSize !== O.maxSize || T.minSize !== O.minSize) && S(I.current, T);
|
|
46058
46058
|
}), Gs(() => {
|
|
46059
|
-
const
|
|
46060
|
-
return R(
|
|
46061
|
-
P(
|
|
46059
|
+
const F = I.current;
|
|
46060
|
+
return R(F), () => {
|
|
46061
|
+
P(F);
|
|
46062
46062
|
};
|
|
46063
46063
|
}, [h, A, R, P]), O6(i, () => ({
|
|
46064
46064
|
collapse: () => {
|
|
46065
46065
|
b(I.current);
|
|
46066
46066
|
},
|
|
46067
|
-
expand: (
|
|
46068
|
-
v(I.current,
|
|
46067
|
+
expand: (F) => {
|
|
46068
|
+
v(I.current, F);
|
|
46069
46069
|
},
|
|
46070
46070
|
getId() {
|
|
46071
46071
|
return A;
|
|
@@ -46079,8 +46079,8 @@ function A6({
|
|
|
46079
46079
|
isExpanded() {
|
|
46080
46080
|
return !x(I.current);
|
|
46081
46081
|
},
|
|
46082
|
-
resize: (
|
|
46083
|
-
D(I.current,
|
|
46082
|
+
resize: (F) => {
|
|
46083
|
+
D(I.current, F);
|
|
46084
46084
|
}
|
|
46085
46085
|
}), [b, v, w, x, A, D]);
|
|
46086
46086
|
const $ = C(I.current, o);
|
|
@@ -47090,7 +47090,7 @@ function K6({
|
|
|
47090
47090
|
panelSize: U
|
|
47091
47091
|
} = is(q, k, V);
|
|
47092
47092
|
return nt(U != null, `Panel size not found for panel "${k.id}"`), !H || ul(U, G) > 0;
|
|
47093
|
-
}, []),
|
|
47093
|
+
}, []), F = yr((k) => {
|
|
47094
47094
|
const {
|
|
47095
47095
|
panelDataArray: V
|
|
47096
47096
|
} = S.current;
|
|
@@ -47183,7 +47183,7 @@ function K6({
|
|
|
47183
47183
|
trigger: "imperative-api"
|
|
47184
47184
|
});
|
|
47185
47185
|
wp(G, ie) || (b(ie), S.current.layout = ie, q && q(ie), Hl(H, ie, w.current));
|
|
47186
|
-
}, []),
|
|
47186
|
+
}, []), N = yr((k, V) => {
|
|
47187
47187
|
const {
|
|
47188
47188
|
layout: q,
|
|
47189
47189
|
panelDataArray: G
|
|
@@ -47233,15 +47233,15 @@ function K6({
|
|
|
47233
47233
|
groupId: h,
|
|
47234
47234
|
isPanelCollapsed: I,
|
|
47235
47235
|
isPanelExpanded: $,
|
|
47236
|
-
reevaluatePanelConstraints:
|
|
47237
|
-
registerPanel:
|
|
47236
|
+
reevaluatePanelConstraints: N,
|
|
47237
|
+
registerPanel: F,
|
|
47238
47238
|
registerResizeHandle: O,
|
|
47239
47239
|
resizePanel: T,
|
|
47240
47240
|
startDragging: z,
|
|
47241
47241
|
stopDragging: B,
|
|
47242
47242
|
unregisterPanel: M,
|
|
47243
47243
|
panelGroupElement: f.current
|
|
47244
|
-
}), [R, p, r, D, P, A, h, I, $,
|
|
47244
|
+
}), [R, p, r, D, P, A, h, I, $, N, F, O, T, z, B, M]), L = {
|
|
47245
47245
|
display: "flex",
|
|
47246
47246
|
flexDirection: r === "horizontal" ? "row" : "column",
|
|
47247
47247
|
height: "100%",
|
|
@@ -47355,11 +47355,11 @@ function UC({
|
|
|
47355
47355
|
startDragging: C,
|
|
47356
47356
|
stopDragging: _,
|
|
47357
47357
|
panelGroupElement: x
|
|
47358
|
-
} = m, S = jC(o), [R, D] = uc("inactive"), [P, A] = uc(!1), [I, $] = uc(null),
|
|
47358
|
+
} = m, S = jC(o), [R, D] = uc("inactive"), [P, A] = uc(!1), [I, $] = uc(null), F = Cr({
|
|
47359
47359
|
state: R
|
|
47360
47360
|
});
|
|
47361
47361
|
Gs(() => {
|
|
47362
|
-
|
|
47362
|
+
F.current.state = R;
|
|
47363
47363
|
}), Us(() => {
|
|
47364
47364
|
if (n)
|
|
47365
47365
|
$(null);
|
|
@@ -47390,7 +47390,7 @@ function UC({
|
|
|
47390
47390
|
case "move": {
|
|
47391
47391
|
const {
|
|
47392
47392
|
state: k
|
|
47393
|
-
} =
|
|
47393
|
+
} = F.current;
|
|
47394
47394
|
k !== "drag" && D("hover"), nt(L, 'Expected event to be defined for "move" action'), I(L);
|
|
47395
47395
|
break;
|
|
47396
47396
|
}
|
|
@@ -50370,9 +50370,9 @@ function zge(e, t, n) {
|
|
|
50370
50370
|
return O === s ? (x.enter("codeFencedFenceSequence"), $(O)) : R(O);
|
|
50371
50371
|
}
|
|
50372
50372
|
function $(O) {
|
|
50373
|
-
return O === s ? (D++, x.consume(O), $) : D >= a ? (x.exit("codeFencedFenceSequence"), xt(O) ? Ht(x,
|
|
50373
|
+
return O === s ? (D++, x.consume(O), $) : D >= a ? (x.exit("codeFencedFenceSequence"), xt(O) ? Ht(x, F, "whitespace")(O) : F(O)) : R(O);
|
|
50374
50374
|
}
|
|
50375
|
-
function
|
|
50375
|
+
function F(O) {
|
|
50376
50376
|
return O === null || Fe(O) ? (x.exit("codeFencedFence"), S(O)) : R(O);
|
|
50377
50377
|
}
|
|
50378
50378
|
}
|
|
@@ -51081,12 +51081,12 @@ function gme(e, t, n) {
|
|
|
51081
51081
|
return k === null || Fe(k) ? I(k) : xt(k) ? (e.consume(k), A) : n(k);
|
|
51082
51082
|
}
|
|
51083
51083
|
function I(k) {
|
|
51084
|
-
return k === 45 && o === 2 ? (e.consume(k), T) : k === 60 && o === 1 ? (e.consume(k),
|
|
51084
|
+
return k === 45 && o === 2 ? (e.consume(k), T) : k === 60 && o === 1 ? (e.consume(k), N) : k === 62 && o === 4 ? (e.consume(k), W) : k === 63 && o === 3 ? (e.consume(k), M) : k === 93 && o === 5 ? (e.consume(k), B) : Fe(k) && (o === 6 || o === 7) ? (e.exit("htmlFlowData"), e.check(fme, L, $)(k)) : k === null || Fe(k) ? (e.exit("htmlFlowData"), $(k)) : (e.consume(k), I);
|
|
51085
51085
|
}
|
|
51086
51086
|
function $(k) {
|
|
51087
|
-
return e.check(hme,
|
|
51087
|
+
return e.check(hme, F, L)(k);
|
|
51088
51088
|
}
|
|
51089
|
-
function
|
|
51089
|
+
function F(k) {
|
|
51090
51090
|
return e.enter("lineEnding"), e.consume(k), e.exit("lineEnding"), O;
|
|
51091
51091
|
}
|
|
51092
51092
|
function O(k) {
|
|
@@ -51095,7 +51095,7 @@ function gme(e, t, n) {
|
|
|
51095
51095
|
function T(k) {
|
|
51096
51096
|
return k === 45 ? (e.consume(k), M) : I(k);
|
|
51097
51097
|
}
|
|
51098
|
-
function
|
|
51098
|
+
function N(k) {
|
|
51099
51099
|
return k === 47 ? (e.consume(k), a = "", z) : I(k);
|
|
51100
51100
|
}
|
|
51101
51101
|
function z(k) {
|
|
@@ -51155,7 +51155,7 @@ function vme(e, t, n) {
|
|
|
51155
51155
|
return M === 45 ? (e.consume(M), f) : n(M);
|
|
51156
51156
|
}
|
|
51157
51157
|
function d(M) {
|
|
51158
|
-
return M === null ? n(M) : M === 45 ? (e.consume(M), h) : Fe(M) ? (a = d,
|
|
51158
|
+
return M === null ? n(M) : M === 45 ? (e.consume(M), h) : Fe(M) ? (a = d, N(M)) : (e.consume(M), d);
|
|
51159
51159
|
}
|
|
51160
51160
|
function h(M) {
|
|
51161
51161
|
return M === 45 ? (e.consume(M), f) : d(M);
|
|
@@ -51168,7 +51168,7 @@ function vme(e, t, n) {
|
|
|
51168
51168
|
return M === W.charCodeAt(i++) ? (e.consume(M), i === W.length ? g : p) : n(M);
|
|
51169
51169
|
}
|
|
51170
51170
|
function g(M) {
|
|
51171
|
-
return M === null ? n(M) : M === 93 ? (e.consume(M), m) : Fe(M) ? (a = g,
|
|
51171
|
+
return M === null ? n(M) : M === 93 ? (e.consume(M), m) : Fe(M) ? (a = g, N(M)) : (e.consume(M), g);
|
|
51172
51172
|
}
|
|
51173
51173
|
function m(M) {
|
|
51174
51174
|
return M === 93 ? (e.consume(M), b) : g(M);
|
|
@@ -51177,10 +51177,10 @@ function vme(e, t, n) {
|
|
|
51177
51177
|
return M === 62 ? T(M) : M === 93 ? (e.consume(M), b) : g(M);
|
|
51178
51178
|
}
|
|
51179
51179
|
function v(M) {
|
|
51180
|
-
return M === null || M === 62 ? T(M) : Fe(M) ? (a = v,
|
|
51180
|
+
return M === null || M === 62 ? T(M) : Fe(M) ? (a = v, N(M)) : (e.consume(M), v);
|
|
51181
51181
|
}
|
|
51182
51182
|
function w(M) {
|
|
51183
|
-
return M === null ? n(M) : M === 63 ? (e.consume(M), C) : Fe(M) ? (a = w,
|
|
51183
|
+
return M === null ? n(M) : M === 63 ? (e.consume(M), C) : Fe(M) ? (a = w, N(M)) : (e.consume(M), w);
|
|
51184
51184
|
}
|
|
51185
51185
|
function C(M) {
|
|
51186
51186
|
return M === 62 ? T(M) : w(M);
|
|
@@ -51192,28 +51192,28 @@ function vme(e, t, n) {
|
|
|
51192
51192
|
return M === 45 || jr(M) ? (e.consume(M), x) : S(M);
|
|
51193
51193
|
}
|
|
51194
51194
|
function S(M) {
|
|
51195
|
-
return Fe(M) ? (a = S,
|
|
51195
|
+
return Fe(M) ? (a = S, N(M)) : xt(M) ? (e.consume(M), S) : T(M);
|
|
51196
51196
|
}
|
|
51197
51197
|
function R(M) {
|
|
51198
51198
|
return M === 45 || jr(M) ? (e.consume(M), R) : M === 47 || M === 62 || Dr(M) ? D(M) : n(M);
|
|
51199
51199
|
}
|
|
51200
51200
|
function D(M) {
|
|
51201
|
-
return M === 47 ? (e.consume(M), T) : M === 58 || M === 95 || qo(M) ? (e.consume(M), P) : Fe(M) ? (a = D,
|
|
51201
|
+
return M === 47 ? (e.consume(M), T) : M === 58 || M === 95 || qo(M) ? (e.consume(M), P) : Fe(M) ? (a = D, N(M)) : xt(M) ? (e.consume(M), D) : T(M);
|
|
51202
51202
|
}
|
|
51203
51203
|
function P(M) {
|
|
51204
51204
|
return M === 45 || M === 46 || M === 58 || M === 95 || jr(M) ? (e.consume(M), P) : A(M);
|
|
51205
51205
|
}
|
|
51206
51206
|
function A(M) {
|
|
51207
|
-
return M === 61 ? (e.consume(M), I) : Fe(M) ? (a = A,
|
|
51207
|
+
return M === 61 ? (e.consume(M), I) : Fe(M) ? (a = A, N(M)) : xt(M) ? (e.consume(M), A) : D(M);
|
|
51208
51208
|
}
|
|
51209
51209
|
function I(M) {
|
|
51210
|
-
return M === null || M === 60 || M === 61 || M === 62 || M === 96 ? n(M) : M === 34 || M === 39 ? (e.consume(M), o = M, $) : Fe(M) ? (a = I,
|
|
51210
|
+
return M === null || M === 60 || M === 61 || M === 62 || M === 96 ? n(M) : M === 34 || M === 39 ? (e.consume(M), o = M, $) : Fe(M) ? (a = I, N(M)) : xt(M) ? (e.consume(M), I) : (e.consume(M), F);
|
|
51211
51211
|
}
|
|
51212
51212
|
function $(M) {
|
|
51213
|
-
return M === o ? (e.consume(M), o = void 0, O) : M === null ? n(M) : Fe(M) ? (a = $,
|
|
51213
|
+
return M === o ? (e.consume(M), o = void 0, O) : M === null ? n(M) : Fe(M) ? (a = $, N(M)) : (e.consume(M), $);
|
|
51214
51214
|
}
|
|
51215
|
-
function
|
|
51216
|
-
return M === null || M === 34 || M === 39 || M === 60 || M === 61 || M === 96 ? n(M) : M === 47 || M === 62 || Dr(M) ? D(M) : (e.consume(M),
|
|
51215
|
+
function F(M) {
|
|
51216
|
+
return M === null || M === 34 || M === 39 || M === 60 || M === 61 || M === 96 ? n(M) : M === 47 || M === 62 || Dr(M) ? D(M) : (e.consume(M), F);
|
|
51217
51217
|
}
|
|
51218
51218
|
function O(M) {
|
|
51219
51219
|
return M === 47 || M === 62 || Dr(M) ? D(M) : n(M);
|
|
@@ -51221,7 +51221,7 @@ function vme(e, t, n) {
|
|
|
51221
51221
|
function T(M) {
|
|
51222
51222
|
return M === 62 ? (e.consume(M), e.exit("htmlTextData"), e.exit("htmlText"), t) : n(M);
|
|
51223
51223
|
}
|
|
51224
|
-
function
|
|
51224
|
+
function N(M) {
|
|
51225
51225
|
return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(M), e.exit("lineEnding"), z;
|
|
51226
51226
|
}
|
|
51227
51227
|
function z(M) {
|
|
@@ -51798,14 +51798,14 @@ function abe(e, t, n) {
|
|
|
51798
51798
|
_bufferIndex: A,
|
|
51799
51799
|
_index: I,
|
|
51800
51800
|
line: $,
|
|
51801
|
-
column:
|
|
51801
|
+
column: F,
|
|
51802
51802
|
offset: O
|
|
51803
51803
|
} = r;
|
|
51804
51804
|
return {
|
|
51805
51805
|
_bufferIndex: A,
|
|
51806
51806
|
_index: I,
|
|
51807
51807
|
line: $,
|
|
51808
|
-
column:
|
|
51808
|
+
column: F,
|
|
51809
51809
|
offset: O
|
|
51810
51810
|
};
|
|
51811
51811
|
}
|
|
@@ -51848,18 +51848,18 @@ function abe(e, t, n) {
|
|
|
51848
51848
|
}
|
|
51849
51849
|
function S(A, I) {
|
|
51850
51850
|
return $;
|
|
51851
|
-
function $(
|
|
51852
|
-
let
|
|
51853
|
-
return Array.isArray(
|
|
51851
|
+
function $(F, O, T) {
|
|
51852
|
+
let N, z, B, M;
|
|
51853
|
+
return Array.isArray(F) ? (
|
|
51854
51854
|
/* c8 ignore next 1 */
|
|
51855
|
-
L(
|
|
51856
|
-
) : "tokenize" in
|
|
51855
|
+
L(F)
|
|
51856
|
+
) : "tokenize" in F ? (
|
|
51857
51857
|
// Looks like a construct.
|
|
51858
51858
|
L([
|
|
51859
51859
|
/** @type {Construct} */
|
|
51860
|
-
|
|
51860
|
+
F
|
|
51861
51861
|
])
|
|
51862
|
-
) : W(
|
|
51862
|
+
) : W(F);
|
|
51863
51863
|
function W(G) {
|
|
51864
51864
|
return H;
|
|
51865
51865
|
function H(U) {
|
|
@@ -51873,7 +51873,7 @@ function abe(e, t, n) {
|
|
|
51873
51873
|
}
|
|
51874
51874
|
}
|
|
51875
51875
|
function L(G) {
|
|
51876
|
-
return
|
|
51876
|
+
return N = G, z = 0, G.length === 0 ? T : k(G[z]);
|
|
51877
51877
|
}
|
|
51878
51878
|
function k(G) {
|
|
51879
51879
|
return H;
|
|
@@ -51893,7 +51893,7 @@ function abe(e, t, n) {
|
|
|
51893
51893
|
return A(B, M), O;
|
|
51894
51894
|
}
|
|
51895
51895
|
function q(G) {
|
|
51896
|
-
return M.restore(), ++z <
|
|
51896
|
+
return M.restore(), ++z < N.length ? k(N[z]) : T;
|
|
51897
51897
|
}
|
|
51898
51898
|
}
|
|
51899
51899
|
}
|
|
@@ -51901,13 +51901,13 @@ function abe(e, t, n) {
|
|
|
51901
51901
|
A.resolveAll && !i.includes(A) && i.push(A), A.resolve && si(c.events, I, c.events.length - I, A.resolve(c.events.slice(I), c)), A.resolveTo && (c.events = A.resolveTo(c.events, c));
|
|
51902
51902
|
}
|
|
51903
51903
|
function D() {
|
|
51904
|
-
const A = p(), I = c.previous, $ = c.currentConstruct,
|
|
51904
|
+
const A = p(), I = c.previous, $ = c.currentConstruct, F = c.events.length, O = Array.from(s);
|
|
51905
51905
|
return {
|
|
51906
|
-
from:
|
|
51906
|
+
from: F,
|
|
51907
51907
|
restore: T
|
|
51908
51908
|
};
|
|
51909
51909
|
function T() {
|
|
51910
|
-
r = A, c.previous = I, c.currentConstruct = $, c.events.length =
|
|
51910
|
+
r = A, c.previous = I, c.currentConstruct = $, c.events.length = F, s = O, P();
|
|
51911
51911
|
}
|
|
51912
51912
|
}
|
|
51913
51913
|
function P() {
|
|
@@ -52125,9 +52125,9 @@ function mbe(e) {
|
|
|
52125
52125
|
hardBreakTrailing: l(I),
|
|
52126
52126
|
htmlFlow: l($),
|
|
52127
52127
|
htmlFlowData: P,
|
|
52128
|
-
htmlText: l(
|
|
52128
|
+
htmlText: l(F),
|
|
52129
52129
|
htmlTextData: P,
|
|
52130
|
-
image: l(
|
|
52130
|
+
image: l(N),
|
|
52131
52131
|
label: B,
|
|
52132
52132
|
labelText: z,
|
|
52133
52133
|
lineEnding: A,
|
|
@@ -52373,7 +52373,7 @@ function mbe(e) {
|
|
|
52373
52373
|
const ne = this.resume(), ue = this.stack[this.stack.length - 1];
|
|
52374
52374
|
ue.value = ne;
|
|
52375
52375
|
}
|
|
52376
|
-
function
|
|
52376
|
+
function F() {
|
|
52377
52377
|
const ne = this.resume(), ue = this.stack[this.stack.length - 1];
|
|
52378
52378
|
ue.value = ne;
|
|
52379
52379
|
}
|
|
@@ -52390,7 +52390,7 @@ function mbe(e) {
|
|
|
52390
52390
|
delete ne.identifier, delete ne.label;
|
|
52391
52391
|
this.data.referenceType = void 0;
|
|
52392
52392
|
}
|
|
52393
|
-
function
|
|
52393
|
+
function N() {
|
|
52394
52394
|
const ne = this.stack[this.stack.length - 1];
|
|
52395
52395
|
if (this.data.inReference) {
|
|
52396
52396
|
const ue = this.data.referenceType || "shortcut";
|
|
@@ -55280,36 +55280,36 @@ var W0e = Object.create, $b = Object.defineProperty, q0e = Object.defineProperti
|
|
|
55280
55280
|
var I = S.pattern.toString().match(/[imsuy]*$/)[0];
|
|
55281
55281
|
S.pattern = RegExp(S.pattern.source, I + "g");
|
|
55282
55282
|
}
|
|
55283
|
-
for (var $ = S.pattern || S,
|
|
55284
|
-
var T =
|
|
55283
|
+
for (var $ = S.pattern || S, F = b.next, O = v; F !== g.tail && !(w && O >= w.reach); O += F.value.length, F = F.next) {
|
|
55284
|
+
var T = F.value;
|
|
55285
55285
|
if (g.length > p.length)
|
|
55286
55286
|
return;
|
|
55287
55287
|
if (!(T instanceof s)) {
|
|
55288
|
-
var
|
|
55288
|
+
var N = 1, z;
|
|
55289
55289
|
if (P) {
|
|
55290
55290
|
if (z = l($, O, p, D), !z || z.index >= p.length)
|
|
55291
55291
|
break;
|
|
55292
55292
|
var L = z.index, B = z.index + z[0].length, M = O;
|
|
55293
|
-
for (M +=
|
|
55294
|
-
|
|
55295
|
-
if (M -=
|
|
55293
|
+
for (M += F.value.length; L >= M; )
|
|
55294
|
+
F = F.next, M += F.value.length;
|
|
55295
|
+
if (M -= F.value.length, O = M, F.value instanceof s)
|
|
55296
55296
|
continue;
|
|
55297
|
-
for (var W =
|
|
55298
|
-
|
|
55299
|
-
|
|
55297
|
+
for (var W = F; W !== g.tail && (M < B || typeof W.value == "string"); W = W.next)
|
|
55298
|
+
N++, M += W.value.length;
|
|
55299
|
+
N--, T = p.slice(O, M), z.index -= O;
|
|
55300
55300
|
} else if (z = l($, 0, T, D), !z)
|
|
55301
55301
|
continue;
|
|
55302
55302
|
var L = z.index, k = z[0], V = T.slice(0, L), q = T.slice(L + k.length), G = O + T.length;
|
|
55303
55303
|
w && G > w.reach && (w.reach = G);
|
|
55304
|
-
var H =
|
|
55305
|
-
V && (H = d(g, H, V), O += V.length), h(g, H,
|
|
55304
|
+
var H = F.prev;
|
|
55305
|
+
V && (H = d(g, H, V), O += V.length), h(g, H, N);
|
|
55306
55306
|
var U = new s(C, R ? a.tokenize(k, R) : k, A, k);
|
|
55307
|
-
if (
|
|
55307
|
+
if (F = d(g, H, U), q && d(g, F, q), N > 1) {
|
|
55308
55308
|
var X = {
|
|
55309
55309
|
cause: C + "," + x,
|
|
55310
55310
|
reach: G
|
|
55311
55311
|
};
|
|
55312
|
-
c(p, g, m,
|
|
55312
|
+
c(p, g, m, F.prev, O, X), w && X.reach > w.reach && (w.reach = X.reach);
|
|
55313
55313
|
}
|
|
55314
55314
|
}
|
|
55315
55315
|
}
|
|
@@ -59612,8 +59612,8 @@ const av = J.use || // This extra generic is to avoid TypeScript mixing up the g
|
|
|
59612
59612
|
}), sv = {
|
|
59613
59613
|
dedupe: !0
|
|
59614
59614
|
}, Mwe = (e, t, n) => {
|
|
59615
|
-
const { cache: r, compare: o, suspense: i, fallbackData: a, revalidateOnMount: s, revalidateIfStale: l, refreshInterval: c, refreshWhenHidden: u, refreshWhenOffline: d, keepPreviousData: h } = n, [f, p, g, m] = Oi.get(r), [b, v] = P_(e), w = pe(!1), C = pe(!1), _ = pe(b), x = pe(t), S = pe(n), R = () => S.current, D = () => R().isVisible() && R().isOnline(), [P, A, I, $] = eL(r, b),
|
|
59616
|
-
for (const de in
|
|
59615
|
+
const { cache: r, compare: o, suspense: i, fallbackData: a, revalidateOnMount: s, revalidateIfStale: l, refreshInterval: c, refreshWhenHidden: u, refreshWhenOffline: d, keepPreviousData: h } = n, [f, p, g, m] = Oi.get(r), [b, v] = P_(e), w = pe(!1), C = pe(!1), _ = pe(b), x = pe(t), S = pe(n), R = () => S.current, D = () => R().isVisible() && R().isOnline(), [P, A, I, $] = eL(r, b), F = pe({}).current, O = pt(a) ? pt(n.fallback) ? dr : n.fallback[b] : a, T = (ie, te) => {
|
|
59616
|
+
for (const de in F) {
|
|
59617
59617
|
const be = de;
|
|
59618
59618
|
if (be === "data") {
|
|
59619
59619
|
if (!o(ie[be], te[be]) && (!pt(ie[be]) || !o(q, te[be])))
|
|
@@ -59622,7 +59622,7 @@ const av = J.use || // This extra generic is to avoid TypeScript mixing up the g
|
|
|
59622
59622
|
return !1;
|
|
59623
59623
|
}
|
|
59624
59624
|
return !0;
|
|
59625
|
-
},
|
|
59625
|
+
}, N = ke(() => {
|
|
59626
59626
|
const ie = !b || !t ? !1 : pt(s) ? R().isPaused() || i ? !1 : l !== !1 : s, te = (Me) => {
|
|
59627
59627
|
const Je = Na(Me);
|
|
59628
59628
|
return delete Je._k, ie ? {
|
|
@@ -59651,7 +59651,7 @@ const av = J.use || // This extra generic is to avoid TypeScript mixing up the g
|
|
|
59651
59651
|
r,
|
|
59652
59652
|
b
|
|
59653
59653
|
]
|
|
59654
|
-
),
|
|
59654
|
+
), N[0], N[1]), B = !w.current, M = f[b] && f[b].length > 0, W = z.data, L = pt(W) ? O && JF(O) ? av(O) : O : W, k = z.error, V = pe(L), q = h ? pt(W) ? pt(V.current) ? L : V.current : W : L, G = M && !pt(k) ? !1 : B && !pt(s) ? s : R().isPaused() ? !1 : i ? pt(L) ? !1 : l : pt(L) || l, H = !!(b && t && B && G), U = pt(z.isValidating) ? H : z.isValidating, X = pt(z.isLoading) ? H : z.isLoading, ee = Re(
|
|
59655
59655
|
async (ie) => {
|
|
59656
59656
|
const te = x.current;
|
|
59657
59657
|
if (!b || !te || C.current || R().isPaused())
|
|
@@ -59781,16 +59781,16 @@ const av = J.use || // This extra generic is to avoid TypeScript mixing up the g
|
|
|
59781
59781
|
return {
|
|
59782
59782
|
mutate: re,
|
|
59783
59783
|
get data() {
|
|
59784
|
-
return
|
|
59784
|
+
return F.data = !0, q;
|
|
59785
59785
|
},
|
|
59786
59786
|
get error() {
|
|
59787
|
-
return
|
|
59787
|
+
return F.error = !0, k;
|
|
59788
59788
|
},
|
|
59789
59789
|
get isValidating() {
|
|
59790
|
-
return
|
|
59790
|
+
return F.isValidating = !0, U;
|
|
59791
59791
|
},
|
|
59792
59792
|
get isLoading() {
|
|
59793
|
-
return
|
|
59793
|
+
return F.isLoading = !0, X;
|
|
59794
59794
|
}
|
|
59795
59795
|
};
|
|
59796
59796
|
}, Rp = Pwe(Mwe);
|
|
@@ -59853,7 +59853,7 @@ function Nwe({
|
|
|
59853
59853
|
he(() => {
|
|
59854
59854
|
$.current = A;
|
|
59855
59855
|
}, [A]);
|
|
59856
|
-
const { data:
|
|
59856
|
+
const { data: F = "ready", mutate: O } = Rp([_, "status"], null), { data: T = void 0, mutate: N } = Rp([_, "error"], null), z = pe(null), B = pe({
|
|
59857
59857
|
credentials: h,
|
|
59858
59858
|
headers: f,
|
|
59859
59859
|
body: p
|
|
@@ -59868,7 +59868,7 @@ function Nwe({
|
|
|
59868
59868
|
const M = Re(
|
|
59869
59869
|
async (re) => {
|
|
59870
59870
|
var Q, ie;
|
|
59871
|
-
O("submitted"),
|
|
59871
|
+
O("submitted"), N(void 0);
|
|
59872
59872
|
const te = tv(re.messages), de = te.length, be = N1(
|
|
59873
59873
|
(Q = te[te.length - 1]) == null ? void 0 : Q.toolInvocations
|
|
59874
59874
|
);
|
|
@@ -59947,7 +59947,7 @@ function Nwe({
|
|
|
59947
59947
|
} catch (we) {
|
|
59948
59948
|
if (we.name === "AbortError")
|
|
59949
59949
|
return z.current = null, O("ready"), null;
|
|
59950
|
-
d && we instanceof Error && d(we),
|
|
59950
|
+
d && we instanceof Error && d(we), N(we), O("error");
|
|
59951
59951
|
}
|
|
59952
59952
|
const Ee = P.current;
|
|
59953
59953
|
ewe({
|
|
@@ -59965,7 +59965,7 @@ function Nwe({
|
|
|
59965
59965
|
c,
|
|
59966
59966
|
u,
|
|
59967
59967
|
d,
|
|
59968
|
-
|
|
59968
|
+
N,
|
|
59969
59969
|
I,
|
|
59970
59970
|
$,
|
|
59971
59971
|
l,
|
|
@@ -60085,8 +60085,8 @@ function Nwe({
|
|
|
60085
60085
|
setInput: H,
|
|
60086
60086
|
handleInputChange: X,
|
|
60087
60087
|
handleSubmit: U,
|
|
60088
|
-
isLoading:
|
|
60089
|
-
status:
|
|
60088
|
+
isLoading: F === "submitted" || F === "streaming",
|
|
60089
|
+
status: F,
|
|
60090
60090
|
addToolResult: ee
|
|
60091
60091
|
};
|
|
60092
60092
|
}
|
|
@@ -60369,7 +60369,7 @@ var so = "MenuContent", [Kwe, O_] = _l(so), uL = E.forwardRef(
|
|
|
60369
60369
|
onDismiss: f,
|
|
60370
60370
|
disableOutsideScroll: p,
|
|
60371
60371
|
...g
|
|
60372
|
-
} = e, m = El(so, n), b = lh(so, n), v = Bb(n), w = aL(n), C = Hwe(n), [_, x] = E.useState(null), S = E.useRef(null), R = ze(t, S, m.onContentChange), D = E.useRef(0), P = E.useRef(""), A = E.useRef(0), I = E.useRef(null), $ = E.useRef("right"),
|
|
60372
|
+
} = e, m = El(so, n), b = lh(so, n), v = Bb(n), w = aL(n), C = Hwe(n), [_, x] = E.useState(null), S = E.useRef(null), R = ze(t, S, m.onContentChange), D = E.useRef(0), P = E.useRef(""), A = E.useRef(0), I = E.useRef(null), $ = E.useRef("right"), F = E.useRef(0), O = p ? Wf : E.Fragment, T = p ? { as: ji, allowPinchZoom: !0 } : void 0, N = (B) => {
|
|
60373
60373
|
var H, U;
|
|
60374
60374
|
const M = P.current + B, W = C().filter((X) => !X.disabled), L = document.activeElement, k = (H = W.find((X) => X.ref.current === L)) == null ? void 0 : H.textValue, V = W.map((X) => X.textValue), q = c1e(V, M, k), G = (U = W.find((X) => X.textValue === q)) == null ? void 0 : U.ref.current;
|
|
60375
60375
|
(function X(ee) {
|
|
@@ -60457,7 +60457,7 @@ var so = "MenuContent", [Kwe, O_] = _l(so), uL = E.forwardRef(
|
|
|
60457
60457
|
style: { outline: "none", ...g.style },
|
|
60458
60458
|
onKeyDown: fe(g.onKeyDown, (B) => {
|
|
60459
60459
|
const W = B.target.closest("[data-radix-menu-content]") === B.currentTarget, L = B.ctrlKey || B.altKey || B.metaKey, k = B.key.length === 1;
|
|
60460
|
-
W && (B.key === "Tab" && B.preventDefault(), !L && k &&
|
|
60460
|
+
W && (B.key === "Tab" && B.preventDefault(), !L && k && N(B.key));
|
|
60461
60461
|
const V = S.current;
|
|
60462
60462
|
if (B.target !== V || !Bwe.includes(B.key)) return;
|
|
60463
60463
|
B.preventDefault();
|
|
@@ -60470,10 +60470,10 @@ var so = "MenuContent", [Kwe, O_] = _l(so), uL = E.forwardRef(
|
|
|
60470
60470
|
onPointerMove: fe(
|
|
60471
60471
|
e.onPointerMove,
|
|
60472
60472
|
vf((B) => {
|
|
60473
|
-
const M = B.target, W =
|
|
60473
|
+
const M = B.target, W = F.current !== B.clientX;
|
|
60474
60474
|
if (B.currentTarget.contains(M) && W) {
|
|
60475
|
-
const L = B.clientX >
|
|
60476
|
-
$.current = L,
|
|
60475
|
+
const L = B.clientX > F.current ? "right" : "left";
|
|
60476
|
+
$.current = L, F.current = B.clientX;
|
|
60477
60477
|
}
|
|
60478
60478
|
})
|
|
60479
60479
|
)
|
|
@@ -61151,7 +61151,7 @@ function nxe({
|
|
|
61151
61151
|
seedQuestions: e,
|
|
61152
61152
|
handleSeedQuestionClick: t
|
|
61153
61153
|
}) {
|
|
61154
|
-
return e.length === 0 ? null : /* @__PURE__ */ Y("div", { className: "overflow-x-auto rounded-md border p-4", children: [
|
|
61154
|
+
return e.length === 0 ? null : /* @__PURE__ */ Y("div", { className: "overflow-x-auto rounded-md border bg-muted/40 p-4", children: [
|
|
61155
61155
|
/* @__PURE__ */ Y("div", { className: "mb-3 flex items-center", children: [
|
|
61156
61156
|
/* @__PURE__ */ y(jH, { className: "mr-2 h-4 w-4 text-muted-foreground" }),
|
|
61157
61157
|
/* @__PURE__ */ y("h3", { className: "font-medium", children: "Example Questions" })
|
|
@@ -61184,9 +61184,9 @@ function oxe({
|
|
|
61184
61184
|
setOpen: t
|
|
61185
61185
|
}) {
|
|
61186
61186
|
const [n, r] = ye(!1), [o, i] = ye(_E), [a, s] = ye(!1), l = pe(null), c = pe(null), u = ae(
|
|
61187
|
-
(
|
|
61187
|
+
(O) => O.dashboard.aiScopeTables
|
|
61188
61188
|
), { assistantProfile: d } = txe(), h = ae(
|
|
61189
|
-
(
|
|
61189
|
+
(O) => O.handleOpenAssistantProfile
|
|
61190
61190
|
), {
|
|
61191
61191
|
append: f,
|
|
61192
61192
|
handleAddNewFrame: p,
|
|
@@ -61207,39 +61207,41 @@ function oxe({
|
|
|
61207
61207
|
inputRef: l,
|
|
61208
61208
|
messages: C
|
|
61209
61209
|
}), he(() => {
|
|
61210
|
-
var
|
|
61211
|
-
e && ((
|
|
61210
|
+
var O;
|
|
61211
|
+
e && ((O = l.current) == null || O.focus());
|
|
61212
61212
|
}, [e]);
|
|
61213
|
-
function P(
|
|
61214
|
-
const
|
|
61213
|
+
function P(O) {
|
|
61214
|
+
const T = {
|
|
61215
61215
|
role: "user",
|
|
61216
|
-
content:
|
|
61216
|
+
content: O.title + " " + O.subtitle
|
|
61217
61217
|
};
|
|
61218
|
-
f(
|
|
61218
|
+
f(T);
|
|
61219
61219
|
}
|
|
61220
|
-
function A(
|
|
61220
|
+
function A(O) {
|
|
61221
61221
|
f({
|
|
61222
61222
|
role: "user",
|
|
61223
|
-
content:
|
|
61223
|
+
content: O
|
|
61224
61224
|
});
|
|
61225
61225
|
}
|
|
61226
|
-
const I = (v == null ? void 0 : v.length) === 0 && (C == null ? void 0 : C.filter((
|
|
61226
|
+
const I = (v == null ? void 0 : v.length) === 0 && (C == null ? void 0 : C.filter((O) => O.role === "user").length) === 0;
|
|
61227
61227
|
function $() {
|
|
61228
|
-
return /* @__PURE__ */
|
|
61229
|
-
|
|
61230
|
-
|
|
61228
|
+
return /* @__PURE__ */ y("div", { "data-role": "header", children: /* @__PURE__ */ y("div", { className: "text-lg font-semibold", children: "Assistant" }) });
|
|
61229
|
+
}
|
|
61230
|
+
function F() {
|
|
61231
|
+
return /* @__PURE__ */ Y("div", { children: [
|
|
61232
|
+
u && u.length > 0 && /* @__PURE__ */ y("div", { className: "flex flex-wrap items-center gap-2", children: u == null ? void 0 : u.map((O, T) => /* @__PURE__ */ y(
|
|
61231
61233
|
"div",
|
|
61232
61234
|
{
|
|
61233
61235
|
className: "flex items-center gap-2 rounded-md border border-border bg-muted px-2 py-1 text-xs",
|
|
61234
61236
|
children: aO({
|
|
61235
|
-
schemaName:
|
|
61236
|
-
tableName:
|
|
61237
|
-
modelName:
|
|
61238
|
-
connectionType:
|
|
61239
|
-
databaseName:
|
|
61237
|
+
schemaName: O.schemaName || "",
|
|
61238
|
+
tableName: O.tableName || "",
|
|
61239
|
+
modelName: O.datamodelName || "",
|
|
61240
|
+
connectionType: O.connectionType || "",
|
|
61241
|
+
databaseName: O.databaseName || ""
|
|
61240
61242
|
})
|
|
61241
61243
|
},
|
|
61242
|
-
|
|
61244
|
+
T
|
|
61243
61245
|
)) }),
|
|
61244
61246
|
(u == null ? void 0 : u.length) === 0 && /* @__PURE__ */ y("div", { className: "mt-2 flex items-center gap-2", children: /* @__PURE__ */ y("span", { className: "text-xs text-muted-foreground", children: "Context: None" }) })
|
|
61245
61247
|
] });
|
|
@@ -61248,7 +61250,7 @@ function oxe({
|
|
|
61248
61250
|
"div",
|
|
61249
61251
|
{
|
|
61250
61252
|
"data-role": "dashboard-assistant",
|
|
61251
|
-
className: "flex h-full grow flex-col justify-between
|
|
61253
|
+
className: "flex h-full grow flex-col justify-between break-words px-6 py-4",
|
|
61252
61254
|
children: [
|
|
61253
61255
|
/* @__PURE__ */ Y(
|
|
61254
61256
|
"div",
|
|
@@ -61257,7 +61259,7 @@ function oxe({
|
|
|
61257
61259
|
className: "flex items-start justify-between gap-2",
|
|
61258
61260
|
children: [
|
|
61259
61261
|
$(),
|
|
61260
|
-
h && /* @__PURE__ */ y(
|
|
61262
|
+
h && d && /* @__PURE__ */ y(
|
|
61261
61263
|
rn,
|
|
61262
61264
|
{
|
|
61263
61265
|
variant: "outline",
|
|
@@ -61293,12 +61295,13 @@ function oxe({
|
|
|
61293
61295
|
]
|
|
61294
61296
|
}
|
|
61295
61297
|
),
|
|
61298
|
+
F(),
|
|
61296
61299
|
/* @__PURE__ */ Y(
|
|
61297
61300
|
xb,
|
|
61298
61301
|
{
|
|
61299
61302
|
"data-role": "dashboard-assistant-scroll-area",
|
|
61300
61303
|
ref: c,
|
|
61301
|
-
className: "flex flex-1 basis-0 flex-col flex-wrap justify-end pr-2",
|
|
61304
|
+
className: "mt-4 flex flex-1 basis-0 flex-col flex-wrap justify-end pr-2",
|
|
61302
61305
|
children: [
|
|
61303
61306
|
/* @__PURE__ */ Y("div", { className: "space-y-3 pb-4", children: [
|
|
61304
61307
|
/* @__PURE__ */ y(
|
|
@@ -61446,10 +61449,10 @@ function Dxe(e) {
|
|
|
61446
61449
|
}
|
|
61447
61450
|
var Mxe = (e) => {
|
|
61448
61451
|
var t, n, r, o, i, a, s, l, c, u, d;
|
|
61449
|
-
let { invert: h, toast: f, unstyled: p, interacting: g, setHeights: m, visibleToasts: b, heights: v, index: w, toasts: C, expanded: _, removeToast: x, defaultRichColors: S, closeButton: R, style: D, cancelButtonStyle: P, actionButtonStyle: A, className: I = "", descriptionClassName: $ = "", duration:
|
|
61452
|
+
let { invert: h, toast: f, unstyled: p, interacting: g, setHeights: m, visibleToasts: b, heights: v, index: w, toasts: C, expanded: _, removeToast: x, defaultRichColors: S, closeButton: R, style: D, cancelButtonStyle: P, actionButtonStyle: A, className: I = "", descriptionClassName: $ = "", duration: F, position: O, gap: T, loadingIcon: N, expandByDefault: z, classNames: B, icons: M, closeButtonAriaLabel: W = "Close toast", pauseWhenPageIsHidden: L } = e, [k, V] = J.useState(null), [q, G] = J.useState(null), [H, U] = J.useState(!1), [X, ee] = J.useState(!1), [re, Q] = J.useState(!1), [ie, te] = J.useState(!1), [de, be] = J.useState(!1), [Ee, we] = J.useState(0), [Se, Me] = J.useState(0), Je = J.useRef(f.duration || F || sM), Lt = J.useRef(null), Ve = J.useRef(null), _n = w === 0, Ct = w + 1 <= b, ne = f.type, ue = f.dismissible !== !1, le = f.className || "", De = f.descriptionClassName || "", Ke = J.useMemo(() => v.findIndex((Pe) => Pe.toastId === f.id) || 0, [v, f.id]), qt = J.useMemo(() => {
|
|
61450
61453
|
var Pe;
|
|
61451
61454
|
return (Pe = f.closeButton) != null ? Pe : R;
|
|
61452
|
-
}, [f.closeButton, R]), Wn = J.useMemo(() => f.duration ||
|
|
61455
|
+
}, [f.closeButton, R]), Wn = J.useMemo(() => f.duration || F || sM, [f.duration, F]), Nn = J.useRef(0), qn = J.useRef(0), hn = J.useRef(0), At = J.useRef(null), [Kr, Fn] = O.split("-"), Rl = J.useMemo(() => v.reduce((Pe, je, et) => et >= Ke ? Pe : Pe + je.height, 0), [v, Ke]), Ga = hxe(), gi = f.invert || h, an = ne === "loading";
|
|
61453
61456
|
qn.current = J.useMemo(() => Ke * T + Rl, [Ke, Rl]), J.useEffect(() => {
|
|
61454
61457
|
Je.current = Wn;
|
|
61455
61458
|
}, [Wn]), J.useEffect(() => {
|
|
@@ -61490,7 +61493,7 @@ var Mxe = (e) => {
|
|
|
61490
61493
|
}, [_t, f.delete]);
|
|
61491
61494
|
function Ln() {
|
|
61492
61495
|
var Pe, je, et;
|
|
61493
|
-
return M != null && M.loading ? J.createElement("div", { className: ho(B == null ? void 0 : B.loader, (Pe = f == null ? void 0 : f.classNames) == null ? void 0 : Pe.loader, "sonner-loader"), "data-visible": ne === "loading" }, M.loading) :
|
|
61496
|
+
return M != null && M.loading ? J.createElement("div", { className: ho(B == null ? void 0 : B.loader, (Pe = f == null ? void 0 : f.classNames) == null ? void 0 : Pe.loader, "sonner-loader"), "data-visible": ne === "loading" }, M.loading) : N ? J.createElement("div", { className: ho(B == null ? void 0 : B.loader, (je = f == null ? void 0 : f.classNames) == null ? void 0 : je.loader, "sonner-loader"), "data-visible": ne === "loading" }, N) : J.createElement(sxe, { className: ho(B == null ? void 0 : B.loader, (et = f == null ? void 0 : f.classNames) == null ? void 0 : et.loader), visible: ne === "loading" });
|
|
61494
61497
|
}
|
|
61495
61498
|
return J.createElement("li", { tabIndex: 0, ref: Ve, className: ho(I, le, B == null ? void 0 : B.toast, (t = f == null ? void 0 : f.classNames) == null ? void 0 : t.toast, B == null ? void 0 : B.default, B == null ? void 0 : B[ne], (n = f == null ? void 0 : f.classNames) == null ? void 0 : n[ne]), "data-sonner-toast": "", "data-rich-colors": (r = f.richColors) != null ? r : S, "data-styled": !(f.jsx || f.unstyled || p), "data-mounted": H, "data-promise": !!f.promise, "data-swiped": de, "data-removed": X, "data-visible": Ct, "data-y-position": Kr, "data-x-position": Fn, "data-index": w, "data-front": _n, "data-swiping": re, "data-dismissible": ue, "data-type": ne, "data-invert": gi, "data-swipe-out": ie, "data-swipe-direction": q, "data-expanded": !!(_ || z && H), style: { "--index": w, "--toasts-before": w, "--z-index": C.length - w, "--offset": `${X ? Ee : qn.current}px`, "--initial-height": z ? "auto" : `${Se}px`, ...D, ...f.style }, onDragEnd: () => {
|
|
61496
61499
|
Q(!1), V(null), At.current = null;
|
|
@@ -61545,7 +61548,7 @@ function Oxe(e, t) {
|
|
|
61545
61548
|
}), n;
|
|
61546
61549
|
}
|
|
61547
61550
|
var q2e = Pn(function(e, t) {
|
|
61548
|
-
let { invert: n, position: r = "bottom-right", hotkey: o = ["altKey", "KeyT"], expand: i, closeButton: a, className: s, offset: l, mobileOffset: c, theme: u = "light", richColors: d, duration: h, style: f, visibleToasts: p = Sxe, toastOptions: g, dir: m = lM(), gap: b = Rxe, loadingIcon: v, icons: w, containerAriaLabel: C = "Notifications", pauseWhenPageIsHidden: _ } = e, [x, S] = J.useState([]), R = J.useMemo(() => Array.from(new Set([r].concat(x.filter((L) => L.position).map((L) => L.position)))), [x, r]), [D, P] = J.useState([]), [A, I] = J.useState(!1), [$,
|
|
61551
|
+
let { invert: n, position: r = "bottom-right", hotkey: o = ["altKey", "KeyT"], expand: i, closeButton: a, className: s, offset: l, mobileOffset: c, theme: u = "light", richColors: d, duration: h, style: f, visibleToasts: p = Sxe, toastOptions: g, dir: m = lM(), gap: b = Rxe, loadingIcon: v, icons: w, containerAriaLabel: C = "Notifications", pauseWhenPageIsHidden: _ } = e, [x, S] = J.useState([]), R = J.useMemo(() => Array.from(new Set([r].concat(x.filter((L) => L.position).map((L) => L.position)))), [x, r]), [D, P] = J.useState([]), [A, I] = J.useState(!1), [$, F] = J.useState(!1), [O, T] = J.useState(u !== "system" ? u : typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light"), N = J.useRef(null), z = o.join("+").replace(/Key/g, "").replace(/Digit/g, ""), B = J.useRef(null), M = J.useRef(!1), W = J.useCallback((L) => {
|
|
61549
61552
|
S((k) => {
|
|
61550
61553
|
var V;
|
|
61551
61554
|
return (V = k.find((q) => q.id === L.id)) != null && V.delete || Sr.dismiss(L.id), k.filter(({ id: q }) => q !== L.id);
|
|
@@ -61589,25 +61592,25 @@ var q2e = Pn(function(e, t) {
|
|
|
61589
61592
|
}, [x]), J.useEffect(() => {
|
|
61590
61593
|
let L = (k) => {
|
|
61591
61594
|
var V, q;
|
|
61592
|
-
o.every((G) => k[G] || k.code === G) && (I(!0), (V =
|
|
61595
|
+
o.every((G) => k[G] || k.code === G) && (I(!0), (V = N.current) == null || V.focus()), k.code === "Escape" && (document.activeElement === N.current || (q = N.current) != null && q.contains(document.activeElement)) && I(!1);
|
|
61593
61596
|
};
|
|
61594
61597
|
return document.addEventListener("keydown", L), () => document.removeEventListener("keydown", L);
|
|
61595
61598
|
}, [o]), J.useEffect(() => {
|
|
61596
|
-
if (
|
|
61599
|
+
if (N.current) return () => {
|
|
61597
61600
|
B.current && (B.current.focus({ preventScroll: !0 }), B.current = null, M.current = !1);
|
|
61598
61601
|
};
|
|
61599
|
-
}, [
|
|
61602
|
+
}, [N.current]), J.createElement("section", { ref: t, "aria-label": `${C} ${z}`, tabIndex: -1, "aria-live": "polite", "aria-relevant": "additions text", "aria-atomic": "false", suppressHydrationWarning: !0 }, R.map((L, k) => {
|
|
61600
61603
|
var V;
|
|
61601
61604
|
let [q, G] = L.split("-");
|
|
61602
|
-
return x.length ? J.createElement("ol", { key: L, dir: m === "auto" ? lM() : m, tabIndex: -1, ref:
|
|
61605
|
+
return x.length ? J.createElement("ol", { key: L, dir: m === "auto" ? lM() : m, tabIndex: -1, ref: N, className: s, "data-sonner-toaster": !0, "data-theme": O, "data-y-position": q, "data-lifted": A && x.length > 1 && !i, "data-x-position": G, style: { "--front-toast-height": `${((V = D[0]) == null ? void 0 : V.height) || 0}px`, "--width": `${Exe}px`, "--gap": `${b}px`, ...f, ...Oxe(l, c) }, onBlur: (H) => {
|
|
61603
61606
|
M.current && !H.currentTarget.contains(H.relatedTarget) && (M.current = !1, B.current && (B.current.focus({ preventScroll: !0 }), B.current = null));
|
|
61604
61607
|
}, onFocus: (H) => {
|
|
61605
61608
|
H.target instanceof HTMLElement && H.target.dataset.dismissible === "false" || M.current || (M.current = !0, B.current = H.relatedTarget);
|
|
61606
61609
|
}, onMouseEnter: () => I(!0), onMouseMove: () => I(!0), onMouseLeave: () => {
|
|
61607
61610
|
$ || I(!1);
|
|
61608
61611
|
}, onDragEnd: () => I(!1), onPointerDown: (H) => {
|
|
61609
|
-
H.target instanceof HTMLElement && H.target.dataset.dismissible === "false" ||
|
|
61610
|
-
}, onPointerUp: () =>
|
|
61612
|
+
H.target instanceof HTMLElement && H.target.dataset.dismissible === "false" || F(!0);
|
|
61613
|
+
}, onPointerUp: () => F(!1) }, x.filter((H) => !H.position && k === 0 || H.position === L).map((H, U) => {
|
|
61611
61614
|
var X, ee;
|
|
61612
61615
|
return J.createElement(Mxe, { key: H.id, icons: w, index: U, toast: H, defaultRichColors: d, duration: (X = g == null ? void 0 : g.duration) != null ? X : h, className: g == null ? void 0 : g.className, descriptionClassName: g == null ? void 0 : g.descriptionClassName, invert: n, visibleToasts: p, closeButton: (ee = g == null ? void 0 : g.closeButton) != null ? ee : a, interacting: $, position: L, style: g == null ? void 0 : g.style, unstyled: g == null ? void 0 : g.unstyled, classNames: g == null ? void 0 : g.classNames, cancelButtonStyle: g == null ? void 0 : g.cancelButtonStyle, actionButtonStyle: g == null ? void 0 : g.actionButtonStyle, removeToast: W, toasts: x.filter((re) => re.position == H.position), heights: D.filter((re) => re.position == H.position), setHeights: P, expandByDefault: i, gap: b, loadingIcon: v, expanded: A, pauseWhenPageIsHidden: _, swipeDirections: e.swipeDirections });
|
|
61613
61616
|
})) : null;
|
|
@@ -61983,7 +61986,7 @@ var Gu = '[cmdk-group=""]', uv = '[cmdk-group-items=""]', Qxe = '[cmdk-group-hea
|
|
|
61983
61986
|
I(), P(), n.current.value || A(), S.emit();
|
|
61984
61987
|
}), () => {
|
|
61985
61988
|
i.current.delete(L), r.current.delete(L), n.current.filtered.items.delete(L);
|
|
61986
|
-
let V =
|
|
61989
|
+
let V = F();
|
|
61987
61990
|
x(4, () => {
|
|
61988
61991
|
I(), (V == null ? void 0 : V.getAttribute("id")) === L && A(), S.emit();
|
|
61989
61992
|
});
|
|
@@ -62043,10 +62046,10 @@ var Gu = '[cmdk-group=""]', uv = '[cmdk-group-items=""]', Qxe = '[cmdk-group-hea
|
|
|
62043
62046
|
}
|
|
62044
62047
|
function $() {
|
|
62045
62048
|
var L, k, V;
|
|
62046
|
-
let q =
|
|
62049
|
+
let q = F();
|
|
62047
62050
|
q && (((L = q.parentElement) == null ? void 0 : L.firstChild) === q && ((V = (k = q.closest(Gu)) == null ? void 0 : k.querySelector(Qxe)) == null || V.scrollIntoView({ block: "nearest" })), q.scrollIntoView({ block: "nearest" }));
|
|
62048
62051
|
}
|
|
62049
|
-
function
|
|
62052
|
+
function F() {
|
|
62050
62053
|
var L;
|
|
62051
62054
|
return (L = _.current) == null ? void 0 : L.querySelector(`${L_}[aria-selected="true"]`);
|
|
62052
62055
|
}
|
|
@@ -62058,20 +62061,20 @@ var Gu = '[cmdk-group=""]', uv = '[cmdk-group-items=""]', Qxe = '[cmdk-group-hea
|
|
|
62058
62061
|
let k = O()[L];
|
|
62059
62062
|
k && S.setState("value", k.getAttribute(gs));
|
|
62060
62063
|
}
|
|
62061
|
-
function
|
|
62064
|
+
function N(L) {
|
|
62062
62065
|
var k;
|
|
62063
|
-
let V =
|
|
62066
|
+
let V = F(), q = O(), G = q.findIndex((U) => U === V), H = q[G + L];
|
|
62064
62067
|
(k = s.current) != null && k.loop && (H = G + L < 0 ? q[q.length - 1] : G + L === q.length ? q[0] : q[G + L]), H && S.setState("value", H.getAttribute(gs));
|
|
62065
62068
|
}
|
|
62066
62069
|
function z(L) {
|
|
62067
|
-
let k =
|
|
62070
|
+
let k = F(), V = k == null ? void 0 : k.closest(Gu), q;
|
|
62068
62071
|
for (; V && !q; ) V = L > 0 ? sSe(V, Gu) : lSe(V, Gu), q = V == null ? void 0 : V.querySelector(dM);
|
|
62069
|
-
q ? S.setState("value", q.getAttribute(gs)) :
|
|
62072
|
+
q ? S.setState("value", q.getAttribute(gs)) : N(L);
|
|
62070
62073
|
}
|
|
62071
62074
|
let B = () => T(O().length - 1), M = (L) => {
|
|
62072
|
-
L.preventDefault(), L.metaKey ? B() : L.altKey ? z(1) :
|
|
62075
|
+
L.preventDefault(), L.metaKey ? B() : L.altKey ? z(1) : N(1);
|
|
62073
62076
|
}, W = (L) => {
|
|
62074
|
-
L.preventDefault(), L.metaKey ? T(0) : L.altKey ? z(-1) :
|
|
62077
|
+
L.preventDefault(), L.metaKey ? T(0) : L.altKey ? z(-1) : N(-1);
|
|
62075
62078
|
};
|
|
62076
62079
|
return E.createElement(xe.div, { ref: t, tabIndex: -1, ...b, "cmdk-root": "", onKeyDown: (L) => {
|
|
62077
62080
|
var k;
|
|
@@ -62105,7 +62108,7 @@ var Gu = '[cmdk-group=""]', uv = '[cmdk-group-items=""]', Qxe = '[cmdk-group-hea
|
|
|
62105
62108
|
case "Enter":
|
|
62106
62109
|
if (!L.nativeEvent.isComposing && L.keyCode !== 229) {
|
|
62107
62110
|
L.preventDefault();
|
|
62108
|
-
let V =
|
|
62111
|
+
let V = F();
|
|
62109
62112
|
if (V) {
|
|
62110
62113
|
let q = new Event(K1);
|
|
62111
62114
|
V.dispatchEvent(q);
|
|
@@ -64340,7 +64343,7 @@ const Q2e = /* @__PURE__ */ Pf(function(t) {
|
|
|
64340
64343
|
data: (an = A == null ? void 0 : A.data) != null ? an : CCe,
|
|
64341
64344
|
rect: I
|
|
64342
64345
|
} : null;
|
|
64343
|
-
}, [S, A]),
|
|
64346
|
+
}, [S, A]), F = pe(null), [O, T] = ye(null), [N, z] = ye(null), B = xf(p, Object.values(p)), M = fh("DndDescribedBy", a), W = ke(() => P.getEnabled(), [P]), L = PCe(h), {
|
|
64344
64347
|
droppableRects: k,
|
|
64345
64348
|
measureDroppableContainers: V,
|
|
64346
64349
|
measuringScheduled: q
|
|
@@ -64348,7 +64351,7 @@ const Q2e = /* @__PURE__ */ Pf(function(t) {
|
|
|
64348
64351
|
dragging: x,
|
|
64349
64352
|
dependencies: [D.x, D.y],
|
|
64350
64353
|
config: L.droppable
|
|
64351
|
-
}), G = cCe(R, S), H = ke(() =>
|
|
64354
|
+
}), G = cCe(R, S), H = ke(() => N ? dm(N) : null, [N]), U = gi(), X = fCe(G, L.draggable.measure);
|
|
64352
64355
|
DCe({
|
|
64353
64356
|
activeNode: S != null ? R.get(S) : null,
|
|
64354
64357
|
config: U.layoutShiftCompensation,
|
|
@@ -64378,7 +64381,7 @@ const Q2e = /* @__PURE__ */ Pf(function(t) {
|
|
|
64378
64381
|
scaleX: 1,
|
|
64379
64382
|
scaleY: 1
|
|
64380
64383
|
},
|
|
64381
|
-
activatorEvent:
|
|
64384
|
+
activatorEvent: N,
|
|
64382
64385
|
active: $,
|
|
64383
64386
|
activeNodeRect: ee,
|
|
64384
64387
|
containerNodeRect: re,
|
|
@@ -64400,13 +64403,13 @@ const Q2e = /* @__PURE__ */ Pf(function(t) {
|
|
|
64400
64403
|
sensor: Ln,
|
|
64401
64404
|
options: Pe
|
|
64402
64405
|
} = _t;
|
|
64403
|
-
if (
|
|
64406
|
+
if (F.current == null)
|
|
64404
64407
|
return;
|
|
64405
|
-
const je = R.get(
|
|
64408
|
+
const je = R.get(F.current);
|
|
64406
64409
|
if (!je)
|
|
64407
64410
|
return;
|
|
64408
64411
|
const et = an.nativeEvent, Jt = new Ln({
|
|
64409
|
-
active:
|
|
64412
|
+
active: F.current,
|
|
64410
64413
|
activeNode: je,
|
|
64411
64414
|
event: et,
|
|
64412
64415
|
options: Pe,
|
|
@@ -64443,7 +64446,7 @@ const Q2e = /* @__PURE__ */ Pf(function(t) {
|
|
|
64443
64446
|
});
|
|
64444
64447
|
},
|
|
64445
64448
|
onStart(Tt) {
|
|
64446
|
-
const Mn =
|
|
64449
|
+
const Mn = F.current;
|
|
64447
64450
|
if (Mn == null)
|
|
64448
64451
|
return;
|
|
64449
64452
|
const en = R.get(Mn);
|
|
@@ -64501,7 +64504,7 @@ const Q2e = /* @__PURE__ */ Pf(function(t) {
|
|
|
64501
64504
|
over: Ya
|
|
64502
64505
|
}, Tt === En.DragEnd && typeof Ka == "function" && await Promise.resolve(Ka(To)) && (Tt = En.DragCancel);
|
|
64503
64506
|
}
|
|
64504
|
-
|
|
64507
|
+
F.current = null, wh(() => {
|
|
64505
64508
|
b({
|
|
64506
64509
|
type: Tt
|
|
64507
64510
|
}), _(sa.Uninitialized), Wn(null), T(null), z(null), hn.current = null;
|
|
@@ -64523,7 +64526,7 @@ const Q2e = /* @__PURE__ */ Pf(function(t) {
|
|
|
64523
64526
|
const je = Ln.nativeEvent, et = R.get(Pe);
|
|
64524
64527
|
if (
|
|
64525
64528
|
// Another sensor is already instantiating
|
|
64526
|
-
|
|
64529
|
+
F.current !== null || // No active draggable
|
|
64527
64530
|
!et || // Event has already been captured
|
|
64528
64531
|
je.dndKit || je.defaultPrevented
|
|
64529
64532
|
)
|
|
@@ -64533,7 +64536,7 @@ const Q2e = /* @__PURE__ */ Pf(function(t) {
|
|
|
64533
64536
|
};
|
|
64534
64537
|
an(Ln, _t.options, Jt) === !0 && (je.dndKit = {
|
|
64535
64538
|
capturedBy: _t.sensor
|
|
64536
|
-
},
|
|
64539
|
+
}, F.current = Pe, At(Ln, _t));
|
|
64537
64540
|
}, [R, At]), Fn = uCe(u, Kr);
|
|
64538
64541
|
yCe(u), Do(() => {
|
|
64539
64542
|
ee && C === sa.Initializing && _(sa.Initialized);
|
|
@@ -64577,7 +64580,7 @@ const Q2e = /* @__PURE__ */ Pf(function(t) {
|
|
|
64577
64580
|
droppableContainers: Pe,
|
|
64578
64581
|
scrollAdjustedTranslate: je
|
|
64579
64582
|
} = Q.current;
|
|
64580
|
-
if (!an ||
|
|
64583
|
+
if (!an || F.current == null || !_t || !je)
|
|
64581
64584
|
return;
|
|
64582
64585
|
const {
|
|
64583
64586
|
onDragOver: et
|
|
@@ -64607,7 +64610,7 @@ const Q2e = /* @__PURE__ */ Pf(function(t) {
|
|
|
64607
64610
|
[Ke]
|
|
64608
64611
|
), Do(() => {
|
|
64609
64612
|
Q.current = {
|
|
64610
|
-
activatorEvent:
|
|
64613
|
+
activatorEvent: N,
|
|
64611
64614
|
active: $,
|
|
64612
64615
|
activeNode: G,
|
|
64613
64616
|
collisionRect: le,
|
|
@@ -64636,7 +64639,7 @@ const Q2e = /* @__PURE__ */ Pf(function(t) {
|
|
|
64636
64639
|
active: $,
|
|
64637
64640
|
activeNode: G,
|
|
64638
64641
|
activeNodeRect: ee,
|
|
64639
|
-
activatorEvent:
|
|
64642
|
+
activatorEvent: N,
|
|
64640
64643
|
collisions: De,
|
|
64641
64644
|
containerNodeRect: re,
|
|
64642
64645
|
dragOverlay: te,
|
|
@@ -64650,8 +64653,8 @@ const Q2e = /* @__PURE__ */ Pf(function(t) {
|
|
|
64650
64653
|
measuringConfiguration: L,
|
|
64651
64654
|
measuringScheduled: q,
|
|
64652
64655
|
windowRect: Se
|
|
64653
|
-
}), [$, G, ee,
|
|
64654
|
-
activatorEvent:
|
|
64656
|
+
}), [$, G, ee, N, De, re, te, R, P, k, qt, V, Me, Je, L, q, Se]), Ga = ke(() => ({
|
|
64657
|
+
activatorEvent: N,
|
|
64655
64658
|
activators: Fn,
|
|
64656
64659
|
active: $,
|
|
64657
64660
|
activeNodeRect: ee,
|
|
@@ -64662,7 +64665,7 @@ const Q2e = /* @__PURE__ */ Pf(function(t) {
|
|
|
64662
64665
|
draggableNodes: R,
|
|
64663
64666
|
over: qt,
|
|
64664
64667
|
measureDroppableContainers: V
|
|
64665
|
-
}), [
|
|
64668
|
+
}), [N, Fn, $, ee, b, M, R, qt, V]);
|
|
64666
64669
|
return J.createElement(l9.Provider, {
|
|
64667
64670
|
value: w
|
|
64668
64671
|
}, J.createElement(hh.Provider, {
|
|
@@ -65228,7 +65231,7 @@ function KCe(e, t) {
|
|
|
65228
65231
|
isLoading: A,
|
|
65229
65232
|
isFetching: I,
|
|
65230
65233
|
isError: $,
|
|
65231
|
-
refetch:
|
|
65234
|
+
refetch: F
|
|
65232
65235
|
} = wo({
|
|
65233
65236
|
queryKey: ["databases", r],
|
|
65234
65237
|
queryFn: () => bs(
|
|
@@ -65243,7 +65246,7 @@ function KCe(e, t) {
|
|
|
65243
65246
|
}), {
|
|
65244
65247
|
data: O,
|
|
65245
65248
|
isLoading: T,
|
|
65246
|
-
isFetching:
|
|
65249
|
+
isFetching: N,
|
|
65247
65250
|
isError: z,
|
|
65248
65251
|
refetch: B
|
|
65249
65252
|
} = wo({
|
|
@@ -65354,7 +65357,7 @@ function KCe(e, t) {
|
|
|
65354
65357
|
isDatabaseError: $,
|
|
65355
65358
|
schemaItems: Se,
|
|
65356
65359
|
selectedSchemaName: a,
|
|
65357
|
-
isSchemaLoadingOrFetching: T ||
|
|
65360
|
+
isSchemaLoadingOrFetching: T || N,
|
|
65358
65361
|
isSchemaError: z,
|
|
65359
65362
|
tableItems: Me,
|
|
65360
65363
|
selectedTableName: s,
|
|
@@ -65370,7 +65373,7 @@ function KCe(e, t) {
|
|
|
65370
65373
|
schemaName: re,
|
|
65371
65374
|
refetchConnections: g,
|
|
65372
65375
|
refetchModels: C,
|
|
65373
|
-
refetchDatabases:
|
|
65376
|
+
refetchDatabases: F,
|
|
65374
65377
|
refetchSchemas: B,
|
|
65375
65378
|
refetchTables: V,
|
|
65376
65379
|
refetchColumns: X,
|
|
@@ -65920,7 +65923,7 @@ function J_e({ original: e, modified: t, language: n, originalLanguage: r, modif
|
|
|
65920
65923
|
let [v, w] = ye(!1), [C, _] = ye(!0), x = pe(null), S = pe(null), R = pe(null), D = pe(b), P = pe(m), A = pe(!1);
|
|
65921
65924
|
U_(() => {
|
|
65922
65925
|
let O = gm.init();
|
|
65923
|
-
return O.then((T) => (S.current = T) && _(!1)).catch((T) => (T == null ? void 0 : T.type) !== "cancelation" && console.error("Monaco initialization: error:", T)), () => x.current ?
|
|
65926
|
+
return O.then((T) => (S.current = T) && _(!1)).catch((T) => (T == null ? void 0 : T.type) !== "cancelation" && console.error("Monaco initialization: error:", T)), () => x.current ? F() : O.cancel();
|
|
65924
65927
|
}), Vr(() => {
|
|
65925
65928
|
if (x.current && S.current) {
|
|
65926
65929
|
let O = x.current.getOriginalEditor(), T = tc(S.current, e || "", r || n || "text", i || "");
|
|
@@ -65948,11 +65951,11 @@ function J_e({ original: e, modified: t, language: n, originalLanguage: r, modif
|
|
|
65948
65951
|
(O = x.current) == null || O.updateOptions(d);
|
|
65949
65952
|
}, [d], v);
|
|
65950
65953
|
let I = Re(() => {
|
|
65951
|
-
var
|
|
65954
|
+
var N;
|
|
65952
65955
|
if (!S.current) return;
|
|
65953
65956
|
P.current(S.current);
|
|
65954
65957
|
let O = tc(S.current, e || "", r || n || "text", i || ""), T = tc(S.current, t || "", o || n || "text", a || "");
|
|
65955
|
-
(
|
|
65958
|
+
(N = x.current) == null || N.setModel({ original: O, modified: T });
|
|
65956
65959
|
}, [n, t, o, e, r, i, a]), $ = Re(() => {
|
|
65957
65960
|
var O;
|
|
65958
65961
|
!A.current && R.current && (x.current = S.current.editor.createDiffEditor(R.current, { automaticLayout: !0, ...d }), I(), (O = S.current) == null || O.editor.setTheme(c), w(!0), A.current = !0);
|
|
@@ -65962,10 +65965,10 @@ function J_e({ original: e, modified: t, language: n, originalLanguage: r, modif
|
|
|
65962
65965
|
}, [v]), he(() => {
|
|
65963
65966
|
!C && !v && $();
|
|
65964
65967
|
}, [C, v, $]);
|
|
65965
|
-
function
|
|
65966
|
-
var T,
|
|
65968
|
+
function F() {
|
|
65969
|
+
var T, N, z, B;
|
|
65967
65970
|
let O = (T = x.current) == null ? void 0 : T.getModel();
|
|
65968
|
-
s || ((
|
|
65971
|
+
s || ((N = O == null ? void 0 : O.original) == null || N.dispose()), l || ((z = O == null ? void 0 : O.modified) == null || z.dispose()), (B = x.current) == null || B.dispose();
|
|
65969
65972
|
}
|
|
65970
65973
|
return J.createElement(F9, { width: f, height: h, isEditorReady: v, loading: u, _ref: R, className: p, wrapperProps: g });
|
|
65971
65974
|
}
|
|
@@ -65989,7 +65992,7 @@ function nEe(e) {
|
|
|
65989
65992
|
}
|
|
65990
65993
|
var rEe = nEe, Dp = /* @__PURE__ */ new Map();
|
|
65991
65994
|
function oEe({ defaultValue: e, defaultLanguage: t, defaultPath: n, value: r, language: o, path: i, theme: a = "light", line: s, loading: l = "Loading...", options: c = {}, overrideServices: u = {}, saveViewState: d = !0, keepCurrentModel: h = !1, width: f = "100%", height: p = "100%", className: g, wrapperProps: m = {}, beforeMount: b = Nd, onMount: v = Nd, onChange: w, onValidate: C = Nd }) {
|
|
65992
|
-
let [_, x] = ye(!1), [S, R] = ye(!0), D = pe(null), P = pe(null), A = pe(null), I = pe(v), $ = pe(b),
|
|
65995
|
+
let [_, x] = ye(!1), [S, R] = ye(!0), D = pe(null), P = pe(null), A = pe(null), I = pe(v), $ = pe(b), F = pe(), O = pe(r), T = rEe(i), N = pe(!1), z = pe(!1);
|
|
65993
65996
|
U_(() => {
|
|
65994
65997
|
let W = gm.init();
|
|
65995
65998
|
return W.then((L) => (D.current = L) && R(!1)).catch((L) => (L == null ? void 0 : L.type) !== "cancelation" && console.error("Monaco initialization: error:", L)), () => P.current ? M() : W.cancel();
|
|
@@ -66015,10 +66018,10 @@ function oEe({ defaultValue: e, defaultLanguage: t, defaultPath: n, value: r, la
|
|
|
66015
66018
|
}, [a], _);
|
|
66016
66019
|
let B = Re(() => {
|
|
66017
66020
|
var W;
|
|
66018
|
-
if (!(!A.current || !D.current) && !
|
|
66021
|
+
if (!(!A.current || !D.current) && !N.current) {
|
|
66019
66022
|
$.current(D.current);
|
|
66020
66023
|
let L = i || n, k = tc(D.current, r || e || "", t || o || "", L || "");
|
|
66021
|
-
P.current = (W = D.current) == null ? void 0 : W.editor.create(A.current, { model: k, automaticLayout: !0, ...c }, u), d && P.current.restoreViewState(Dp.get(L)), D.current.editor.setTheme(a), s !== void 0 && P.current.revealLine(s), x(!0),
|
|
66024
|
+
P.current = (W = D.current) == null ? void 0 : W.editor.create(A.current, { model: k, automaticLayout: !0, ...c }, u), d && P.current.restoreViewState(Dp.get(L)), D.current.editor.setTheme(a), s !== void 0 && P.current.revealLine(s), x(!0), N.current = !0;
|
|
66022
66025
|
}
|
|
66023
66026
|
}, [e, t, n, r, o, i, c, u, d, a, s]);
|
|
66024
66027
|
he(() => {
|
|
@@ -66027,7 +66030,7 @@ function oEe({ defaultValue: e, defaultLanguage: t, defaultPath: n, value: r, la
|
|
|
66027
66030
|
!S && !_ && B();
|
|
66028
66031
|
}, [S, _, B]), O.current = r, he(() => {
|
|
66029
66032
|
var W, L;
|
|
66030
|
-
_ && w && ((W =
|
|
66033
|
+
_ && w && ((W = F.current) == null || W.dispose(), F.current = (L = P.current) == null ? void 0 : L.onDidChangeModelContent((k) => {
|
|
66031
66034
|
z.current || w(P.current.getValue(), k);
|
|
66032
66035
|
}));
|
|
66033
66036
|
}, [_, w]), he(() => {
|
|
@@ -66049,7 +66052,7 @@ function oEe({ defaultValue: e, defaultLanguage: t, defaultPath: n, value: r, la
|
|
|
66049
66052
|
}, [_, C]);
|
|
66050
66053
|
function M() {
|
|
66051
66054
|
var W, L;
|
|
66052
|
-
(W =
|
|
66055
|
+
(W = F.current) == null || W.dispose(), h ? d && Dp.set(i, P.current.saveViewState()) : (L = P.current.getModel()) == null || L.dispose(), P.current.dispose();
|
|
66053
66056
|
}
|
|
66054
66057
|
return J.createElement(F9, { width: f, height: p, isEditorReady: _, loading: l, _ref: A, className: g, wrapperProps: m });
|
|
66055
66058
|
}
|
|
@@ -66542,10 +66545,10 @@ function iRe(e) {
|
|
|
66542
66545
|
active: A,
|
|
66543
66546
|
activatorEvent: I,
|
|
66544
66547
|
activeNodeRect: $,
|
|
66545
|
-
attributes:
|
|
66548
|
+
attributes: F,
|
|
66546
66549
|
setNodeRef: O,
|
|
66547
66550
|
listeners: T,
|
|
66548
|
-
isDragging:
|
|
66551
|
+
isDragging: N,
|
|
66549
66552
|
over: z,
|
|
66550
66553
|
setActivatorNodeRef: B,
|
|
66551
66554
|
transform: M
|
|
@@ -66557,7 +66560,7 @@ function iRe(e) {
|
|
|
66557
66560
|
...n
|
|
66558
66561
|
},
|
|
66559
66562
|
disabled: w.draggable
|
|
66560
|
-
}), W = wSe(P, O), L = !!A, k = L && !p && Mp(h) && Mp(m), V = !b &&
|
|
66563
|
+
}), W = wSe(P, O), L = !!A, k = L && !p && Mp(h) && Mp(m), V = !b && N, q = V && k ? M : null, H = k ? q ?? (s ?? v)({
|
|
66561
66564
|
rects: g,
|
|
66562
66565
|
activeNodeRect: $,
|
|
66563
66566
|
activeIndex: h,
|
|
@@ -66576,7 +66579,7 @@ function iRe(e) {
|
|
|
66576
66579
|
}), re = u !== ee.current.items, Q = t({
|
|
66577
66580
|
active: A,
|
|
66578
66581
|
containerId: d,
|
|
66579
|
-
isDragging:
|
|
66582
|
+
isDragging: N,
|
|
66580
66583
|
isSorting: L,
|
|
66581
66584
|
id: a,
|
|
66582
66585
|
index: C,
|
|
@@ -66608,7 +66611,7 @@ function iRe(e) {
|
|
|
66608
66611
|
}, [X]), {
|
|
66609
66612
|
active: A,
|
|
66610
66613
|
activeIndex: h,
|
|
66611
|
-
attributes:
|
|
66614
|
+
attributes: F,
|
|
66612
66615
|
data: _,
|
|
66613
66616
|
rect: S,
|
|
66614
66617
|
index: C,
|
|
@@ -66616,7 +66619,7 @@ function iRe(e) {
|
|
|
66616
66619
|
items: u,
|
|
66617
66620
|
isOver: D,
|
|
66618
66621
|
isSorting: L,
|
|
66619
|
-
isDragging:
|
|
66622
|
+
isDragging: N,
|
|
66620
66623
|
listeners: T,
|
|
66621
66624
|
node: R,
|
|
66622
66625
|
overIndex: m,
|
|
@@ -66971,35 +66974,37 @@ export {
|
|
|
66971
66974
|
iRe as c7,
|
|
66972
66975
|
NCe as c8,
|
|
66973
66976
|
oRe as c9,
|
|
66974
|
-
|
|
66975
|
-
|
|
66976
|
-
|
|
66977
|
+
a2e as cA,
|
|
66978
|
+
dd as cB,
|
|
66979
|
+
e2e as cC,
|
|
66980
|
+
t2e as cD,
|
|
66981
|
+
dx as cE,
|
|
66977
66982
|
V5 as ca,
|
|
66978
66983
|
GH as cb,
|
|
66979
66984
|
o3 as cc,
|
|
66980
66985
|
Bse as cd,
|
|
66981
66986
|
vce as ce,
|
|
66982
|
-
|
|
66983
|
-
|
|
66984
|
-
|
|
66985
|
-
|
|
66986
|
-
|
|
66987
|
-
|
|
66988
|
-
|
|
66989
|
-
|
|
66990
|
-
|
|
66991
|
-
|
|
66992
|
-
|
|
66993
|
-
|
|
66994
|
-
|
|
66995
|
-
|
|
66996
|
-
|
|
66997
|
-
|
|
66998
|
-
|
|
66999
|
-
|
|
67000
|
-
|
|
67001
|
-
|
|
67002
|
-
|
|
66987
|
+
txe as cf,
|
|
66988
|
+
$we as cg,
|
|
66989
|
+
rve as ch,
|
|
66990
|
+
nve as ci,
|
|
66991
|
+
ive as cj,
|
|
66992
|
+
nxe as ck,
|
|
66993
|
+
ove as cl,
|
|
66994
|
+
Q1e as cm,
|
|
66995
|
+
G5 as cn,
|
|
66996
|
+
Q2e as co,
|
|
66997
|
+
Ixe as cp,
|
|
66998
|
+
aEe as cq,
|
|
66999
|
+
rB as cr,
|
|
67000
|
+
q2e as cs,
|
|
67001
|
+
Txe as ct,
|
|
67002
|
+
cB as cu,
|
|
67003
|
+
k2e as cv,
|
|
67004
|
+
D2e as cw,
|
|
67005
|
+
tB as cx,
|
|
67006
|
+
v2e as cy,
|
|
67007
|
+
aRe as cz,
|
|
67003
67008
|
U2e as d,
|
|
67004
67009
|
G2e as e,
|
|
67005
67010
|
Lxe as f,
|