react-semaphor 0.0.144 → 0.0.146
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.
|
@@ -18,7 +18,7 @@ var ep = (e, t, n, r) => ({
|
|
|
18
18
|
}
|
|
19
19
|
}), Et = (e, t, n) => (qb(e, t, "access private method"), n);
|
|
20
20
|
import * as ce from "react";
|
|
21
|
-
import Oe, { createContext as Wn, useContext as Un, useMemo as Dn, useEffect as ye, useState as we, createElement as j, useCallback as Ue, forwardRef as
|
|
21
|
+
import Oe, { createContext as Wn, useContext as Un, useMemo as Dn, useEffect as ye, useState as we, createElement as j, useCallback as Ue, forwardRef as pe, Children as tl, isValidElement as Nd, cloneElement as gm, Fragment as Or, useLayoutEffect as mm, useRef as ue, useReducer as E1, createRef as bF, memo as O1 } from "react";
|
|
22
22
|
import * as yF from "react-dom";
|
|
23
23
|
import vm, { flushSync as P1, createPortal as Dk } from "react-dom";
|
|
24
24
|
var Ts = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
@@ -4239,7 +4239,10 @@ var $8 = T1.exports;
|
|
|
4239
4239
|
})(Xk);
|
|
4240
4240
|
let Jb = Xk;
|
|
4241
4241
|
var k8 = (Jb.__esModule ? Jb : { default: Jb }).default;
|
|
4242
|
-
const en = /* @__PURE__ */ Af(k8), Ay =
|
|
4242
|
+
const en = /* @__PURE__ */ Af(k8), Ay = `import pandas as pd
|
|
4243
|
+
df = pd.DataFrame(data) # 'data' contains the query result
|
|
4244
|
+
result = df.to_dict('records') # must return 'result' as [dict] type
|
|
4245
|
+
`, Ny = {
|
|
4243
4246
|
// dashboardHeader: ' font-mono border-b-2 border-red-700',
|
|
4244
4247
|
default: {
|
|
4245
4248
|
dashboardPanel: "",
|
|
@@ -4439,7 +4442,7 @@ function nE(e) {
|
|
|
4439
4442
|
return (t == null ? void 0 : t.align) === "end" && (t == null ? void 0 : t.anchor) === "end" && (n = _g()), (t == null ? void 0 : t.align) === "start" && (t == null ? void 0 : t.anchor) === "start" && (n = _g()), Sg(n);
|
|
4440
4443
|
}
|
|
4441
4444
|
function _g() {
|
|
4442
|
-
return
|
|
4445
|
+
return ge.getState().theme === "dark" ? "#000000" : "#FFFFFF";
|
|
4443
4446
|
}
|
|
4444
4447
|
function Sg(e) {
|
|
4445
4448
|
let t = 0, n = 0, r = 0, i = 0;
|
|
@@ -4475,7 +4478,7 @@ function ki() {
|
|
|
4475
4478
|
function R8(e, t) {
|
|
4476
4479
|
return typeof e == "function" ? e(t) : e;
|
|
4477
4480
|
}
|
|
4478
|
-
function
|
|
4481
|
+
function Iy(e) {
|
|
4479
4482
|
return typeof e == "number" && e >= 0 && e !== 1 / 0;
|
|
4480
4483
|
}
|
|
4481
4484
|
function Jk(e, t) {
|
|
@@ -4523,7 +4526,7 @@ function A1(e, t) {
|
|
|
4523
4526
|
function Fd(e) {
|
|
4524
4527
|
return JSON.stringify(
|
|
4525
4528
|
e,
|
|
4526
|
-
(t, n) =>
|
|
4529
|
+
(t, n) => jy(n) ? Object.keys(n).sort().reduce((r, i) => (r[i] = n[i], r), {}) : n
|
|
4527
4530
|
);
|
|
4528
4531
|
}
|
|
4529
4532
|
function zd(e, t) {
|
|
@@ -4533,7 +4536,7 @@ function eR(e, t) {
|
|
|
4533
4536
|
if (e === t)
|
|
4534
4537
|
return e;
|
|
4535
4538
|
const n = oE(e) && oE(t);
|
|
4536
|
-
if (n ||
|
|
4539
|
+
if (n || jy(e) && jy(t)) {
|
|
4537
4540
|
const r = n ? e : Object.keys(e), i = r.length, o = n ? t : Object.keys(t), s = o.length, a = n ? [] : {};
|
|
4538
4541
|
let l = 0;
|
|
4539
4542
|
for (let c = 0; c < s; c++) {
|
|
@@ -4544,7 +4547,7 @@ function eR(e, t) {
|
|
|
4544
4547
|
}
|
|
4545
4548
|
return t;
|
|
4546
4549
|
}
|
|
4547
|
-
function
|
|
4550
|
+
function Ly(e, t) {
|
|
4548
4551
|
if (e && !t || t && !e)
|
|
4549
4552
|
return !1;
|
|
4550
4553
|
for (const n in e)
|
|
@@ -4555,7 +4558,7 @@ function Iy(e, t) {
|
|
|
4555
4558
|
function oE(e) {
|
|
4556
4559
|
return Array.isArray(e) && e.length === Object.keys(e).length;
|
|
4557
4560
|
}
|
|
4558
|
-
function
|
|
4561
|
+
function jy(e) {
|
|
4559
4562
|
if (!sE(e))
|
|
4560
4563
|
return !1;
|
|
4561
4564
|
const t = e.constructor;
|
|
@@ -4572,7 +4575,7 @@ function M8(e) {
|
|
|
4572
4575
|
setTimeout(t, e);
|
|
4573
4576
|
});
|
|
4574
4577
|
}
|
|
4575
|
-
function
|
|
4578
|
+
function Fy(e, t, n) {
|
|
4576
4579
|
return typeof n.structuralSharing == "function" ? n.structuralSharing(e, t) : n.structuralSharing !== !1 ? eR(e, t) : t;
|
|
4577
4580
|
}
|
|
4578
4581
|
function D8(e, t, n = 0) {
|
|
@@ -4788,7 +4791,7 @@ var ir = L8(), Ga, Ck, rR = (Ck = class {
|
|
|
4788
4791
|
this.clearGcTimeout();
|
|
4789
4792
|
}
|
|
4790
4793
|
scheduleGc() {
|
|
4791
|
-
this.clearGcTimeout(),
|
|
4794
|
+
this.clearGcTimeout(), Iy(this.gcTime) && Te(this, Ga, setTimeout(() => {
|
|
4792
4795
|
this.optionalRemove();
|
|
4793
4796
|
}, this.gcTime));
|
|
4794
4797
|
}
|
|
@@ -4823,7 +4826,7 @@ var ir = L8(), Ga, Ck, rR = (Ck = class {
|
|
|
4823
4826
|
!K(this, Xn).length && this.state.fetchStatus === "idle" && K(this, Oi).remove(this);
|
|
4824
4827
|
}
|
|
4825
4828
|
setData(t, n) {
|
|
4826
|
-
const r =
|
|
4829
|
+
const r = Fy(this.state.data, t, this.options);
|
|
4827
4830
|
return Et(this, Ui, Go).call(this, {
|
|
4828
4831
|
data: r,
|
|
4829
4832
|
type: "success",
|
|
@@ -5681,7 +5684,7 @@ var zn, Ls, js, Lc, jc, Fs, Fc, zc, kk, q8 = (kk = class {
|
|
|
5681
5684
|
clear() {
|
|
5682
5685
|
K(this, zn).clear(), K(this, Ls).clear();
|
|
5683
5686
|
}
|
|
5684
|
-
}, zn = new WeakMap(), Ls = new WeakMap(), js = new WeakMap(), Lc = new WeakMap(), jc = new WeakMap(), Fs = new WeakMap(), Fc = new WeakMap(), zc = new WeakMap(), kk), Lr, ln, xf, Sr, Xa, Bc, ho, wf, Vc, Hc, Qa, Za, zs, Wc, Ja, dd, _f,
|
|
5687
|
+
}, zn = new WeakMap(), Ls = new WeakMap(), js = new WeakMap(), Lc = new WeakMap(), jc = new WeakMap(), Fs = new WeakMap(), Fc = new WeakMap(), zc = new WeakMap(), kk), Lr, ln, xf, Sr, Xa, Bc, ho, wf, Vc, Hc, Qa, Za, zs, Wc, Ja, dd, _f, zy, Sf, By, Cf, Vy, Ef, Hy, Of, Wy, Pf, Uy, $f, qy, pm, iR, Rk, G8 = (Rk = class extends If {
|
|
5685
5688
|
constructor(t, n) {
|
|
5686
5689
|
super();
|
|
5687
5690
|
Fe(this, Ja);
|
|
@@ -5715,46 +5718,46 @@ var zn, Ls, js, Lc, jc, Fs, Fc, zc, kk, q8 = (kk = class {
|
|
|
5715
5718
|
this.refetch = this.refetch.bind(this);
|
|
5716
5719
|
}
|
|
5717
5720
|
onSubscribe() {
|
|
5718
|
-
this.listeners.size === 1 && (K(this, ln).addObserver(this), lE(K(this, ln), this.options) ? Et(this, Ja, dd).call(this) : this.updateResult(), Et(this, Ef,
|
|
5721
|
+
this.listeners.size === 1 && (K(this, ln).addObserver(this), lE(K(this, ln), this.options) ? Et(this, Ja, dd).call(this) : this.updateResult(), Et(this, Ef, Hy).call(this));
|
|
5719
5722
|
}
|
|
5720
5723
|
onUnsubscribe() {
|
|
5721
5724
|
this.hasListeners() || this.destroy();
|
|
5722
5725
|
}
|
|
5723
5726
|
shouldFetchOnReconnect() {
|
|
5724
|
-
return
|
|
5727
|
+
return Gy(
|
|
5725
5728
|
K(this, ln),
|
|
5726
5729
|
this.options,
|
|
5727
5730
|
this.options.refetchOnReconnect
|
|
5728
5731
|
);
|
|
5729
5732
|
}
|
|
5730
5733
|
shouldFetchOnWindowFocus() {
|
|
5731
|
-
return
|
|
5734
|
+
return Gy(
|
|
5732
5735
|
K(this, ln),
|
|
5733
5736
|
this.options,
|
|
5734
5737
|
this.options.refetchOnWindowFocus
|
|
5735
5738
|
);
|
|
5736
5739
|
}
|
|
5737
5740
|
destroy() {
|
|
5738
|
-
this.listeners = /* @__PURE__ */ new Set(), Et(this, Of,
|
|
5741
|
+
this.listeners = /* @__PURE__ */ new Set(), Et(this, Of, Wy).call(this), Et(this, Pf, Uy).call(this), K(this, ln).removeObserver(this);
|
|
5739
5742
|
}
|
|
5740
5743
|
setOptions(t, n) {
|
|
5741
5744
|
const r = this.options, i = K(this, ln);
|
|
5742
|
-
if (this.options = K(this, Lr).defaultQueryOptions(t),
|
|
5745
|
+
if (this.options = K(this, Lr).defaultQueryOptions(t), Ly(r, this.options) || K(this, Lr).getQueryCache().notify({
|
|
5743
5746
|
type: "observerOptionsUpdated",
|
|
5744
5747
|
query: K(this, ln),
|
|
5745
5748
|
observer: this
|
|
5746
5749
|
}), typeof this.options.enabled < "u" && typeof this.options.enabled != "boolean")
|
|
5747
5750
|
throw new Error("Expected enabled to be a boolean");
|
|
5748
|
-
this.options.queryKey || (this.options.queryKey = r.queryKey), Et(this, $f,
|
|
5751
|
+
this.options.queryKey || (this.options.queryKey = r.queryKey), Et(this, $f, qy).call(this);
|
|
5749
5752
|
const o = this.hasListeners();
|
|
5750
5753
|
o && cE(
|
|
5751
5754
|
K(this, ln),
|
|
5752
5755
|
i,
|
|
5753
5756
|
this.options,
|
|
5754
5757
|
r
|
|
5755
|
-
) && Et(this, Ja, dd).call(this), this.updateResult(n), o && (K(this, ln) !== i || this.options.enabled !== r.enabled || this.options.staleTime !== r.staleTime) && Et(this, _f,
|
|
5756
|
-
const s = Et(this, Sf,
|
|
5757
|
-
o && (K(this, ln) !== i || this.options.enabled !== r.enabled || s !== K(this, zs)) && Et(this, Cf,
|
|
5758
|
+
) && Et(this, Ja, dd).call(this), this.updateResult(n), o && (K(this, ln) !== i || this.options.enabled !== r.enabled || this.options.staleTime !== r.staleTime) && Et(this, _f, zy).call(this);
|
|
5759
|
+
const s = Et(this, Sf, By).call(this);
|
|
5760
|
+
o && (K(this, ln) !== i || this.options.enabled !== r.enabled || s !== K(this, zs)) && Et(this, Cf, Vy).call(this, s);
|
|
5758
5761
|
}
|
|
5759
5762
|
getOptimisticResult(t) {
|
|
5760
5763
|
const n = K(this, Lr).getQueryCache().build(K(this, Lr), t), r = this.createResult(n, t);
|
|
@@ -5804,7 +5807,7 @@ var zn, Ls, js, Lc, jc, Fs, Fc, zc, kk, q8 = (kk = class {
|
|
|
5804
5807
|
x = K(this, Vc);
|
|
5805
5808
|
else
|
|
5806
5809
|
try {
|
|
5807
|
-
Te(this, wf, n.select), x = n.select(u.data), x =
|
|
5810
|
+
Te(this, wf, n.select), x = n.select(u.data), x = Fy(o == null ? void 0 : o.data, x, n), Te(this, Vc, x), Te(this, ho, null);
|
|
5808
5811
|
} catch (D) {
|
|
5809
5812
|
Te(this, ho, D);
|
|
5810
5813
|
}
|
|
@@ -5823,7 +5826,7 @@ var zn, Ls, js, Lc, jc, Fs, Fc, zc, kk, q8 = (kk = class {
|
|
|
5823
5826
|
} catch (M) {
|
|
5824
5827
|
Te(this, ho, M);
|
|
5825
5828
|
}
|
|
5826
|
-
typeof D < "u" && (m = "success", x =
|
|
5829
|
+
typeof D < "u" && (m = "success", x = Fy(
|
|
5827
5830
|
o == null ? void 0 : o.data,
|
|
5828
5831
|
D,
|
|
5829
5832
|
n
|
|
@@ -5860,7 +5863,7 @@ var zn, Ls, js, Lc, jc, Fs, Fc, zc, kk, q8 = (kk = class {
|
|
|
5860
5863
|
}
|
|
5861
5864
|
updateResult(t) {
|
|
5862
5865
|
const n = K(this, Sr), r = this.createResult(K(this, ln), this.options);
|
|
5863
|
-
if (Te(this, Xa, K(this, ln).state), Te(this, Bc, this.options), K(this, Xa).data !== void 0 && Te(this, Hc, K(this, ln)),
|
|
5866
|
+
if (Te(this, Xa, K(this, ln).state), Te(this, Bc, this.options), K(this, Xa).data !== void 0 && Te(this, Hc, K(this, ln)), Ly(r, n))
|
|
5864
5867
|
return;
|
|
5865
5868
|
Te(this, Sr, r);
|
|
5866
5869
|
const i = {}, o = () => {
|
|
@@ -5880,17 +5883,17 @@ var zn, Ls, js, Lc, jc, Fs, Fc, zc, kk, q8 = (kk = class {
|
|
|
5880
5883
|
(t == null ? void 0 : t.listeners) !== !1 && o() && (i.listeners = !0), Et(this, pm, iR).call(this, { ...i, ...t });
|
|
5881
5884
|
}
|
|
5882
5885
|
onQueryUpdate() {
|
|
5883
|
-
this.updateResult(), this.hasListeners() && Et(this, Ef,
|
|
5886
|
+
this.updateResult(), this.hasListeners() && Et(this, Ef, Hy).call(this);
|
|
5884
5887
|
}
|
|
5885
5888
|
}, Lr = new WeakMap(), ln = new WeakMap(), xf = new WeakMap(), Sr = new WeakMap(), Xa = new WeakMap(), Bc = new WeakMap(), ho = new WeakMap(), wf = new WeakMap(), Vc = new WeakMap(), Hc = new WeakMap(), Qa = new WeakMap(), Za = new WeakMap(), zs = new WeakMap(), Wc = new WeakMap(), Ja = new WeakSet(), dd = function(t) {
|
|
5886
|
-
Et(this, $f,
|
|
5889
|
+
Et(this, $f, qy).call(this);
|
|
5887
5890
|
let n = K(this, ln).fetch(
|
|
5888
5891
|
this.options,
|
|
5889
5892
|
t
|
|
5890
5893
|
);
|
|
5891
5894
|
return t != null && t.throwOnError || (n = n.catch(ki)), n;
|
|
5892
|
-
}, _f = new WeakSet(),
|
|
5893
|
-
if (Et(this, Of,
|
|
5895
|
+
}, _f = new WeakSet(), zy = function() {
|
|
5896
|
+
if (Et(this, Of, Wy).call(this), Jc || K(this, Sr).isStale || !Iy(this.options.staleTime))
|
|
5894
5897
|
return;
|
|
5895
5898
|
const n = Jk(
|
|
5896
5899
|
K(this, Sr).dataUpdatedAt,
|
|
@@ -5899,19 +5902,19 @@ var zn, Ls, js, Lc, jc, Fs, Fc, zc, kk, q8 = (kk = class {
|
|
|
5899
5902
|
Te(this, Qa, setTimeout(() => {
|
|
5900
5903
|
K(this, Sr).isStale || this.updateResult();
|
|
5901
5904
|
}, n));
|
|
5902
|
-
}, Sf = new WeakSet(),
|
|
5905
|
+
}, Sf = new WeakSet(), By = function() {
|
|
5903
5906
|
return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(K(this, ln)) : this.options.refetchInterval) ?? !1;
|
|
5904
|
-
}, Cf = new WeakSet(),
|
|
5905
|
-
Et(this, Pf,
|
|
5907
|
+
}, Cf = new WeakSet(), Vy = function(t) {
|
|
5908
|
+
Et(this, Pf, Uy).call(this), Te(this, zs, t), !(Jc || this.options.enabled === !1 || !Iy(K(this, zs)) || K(this, zs) === 0) && Te(this, Za, setInterval(() => {
|
|
5906
5909
|
(this.options.refetchIntervalInBackground || Cg.isFocused()) && Et(this, Ja, dd).call(this);
|
|
5907
5910
|
}, K(this, zs)));
|
|
5908
|
-
}, Ef = new WeakSet(),
|
|
5909
|
-
Et(this, _f,
|
|
5910
|
-
}, Of = new WeakSet(),
|
|
5911
|
+
}, Ef = new WeakSet(), Hy = function() {
|
|
5912
|
+
Et(this, _f, zy).call(this), Et(this, Cf, Vy).call(this, Et(this, Sf, By).call(this));
|
|
5913
|
+
}, Of = new WeakSet(), Wy = function() {
|
|
5911
5914
|
K(this, Qa) && (clearTimeout(K(this, Qa)), Te(this, Qa, void 0));
|
|
5912
|
-
}, Pf = new WeakSet(),
|
|
5915
|
+
}, Pf = new WeakSet(), Uy = function() {
|
|
5913
5916
|
K(this, Za) && (clearInterval(K(this, Za)), Te(this, Za, void 0));
|
|
5914
|
-
}, $f = new WeakSet(),
|
|
5917
|
+
}, $f = new WeakSet(), qy = function() {
|
|
5915
5918
|
const t = K(this, Lr).getQueryCache().build(K(this, Lr), this.options);
|
|
5916
5919
|
if (t === K(this, ln))
|
|
5917
5920
|
return;
|
|
@@ -5931,9 +5934,9 @@ function Y8(e, t) {
|
|
|
5931
5934
|
return t.enabled !== !1 && !e.state.dataUpdatedAt && !(e.state.status === "error" && t.retryOnMount === !1);
|
|
5932
5935
|
}
|
|
5933
5936
|
function lE(e, t) {
|
|
5934
|
-
return Y8(e, t) || e.state.dataUpdatedAt > 0 &&
|
|
5937
|
+
return Y8(e, t) || e.state.dataUpdatedAt > 0 && Gy(e, t, t.refetchOnMount);
|
|
5935
5938
|
}
|
|
5936
|
-
function
|
|
5939
|
+
function Gy(e, t, n) {
|
|
5937
5940
|
if (t.enabled !== !1) {
|
|
5938
5941
|
const r = typeof n == "function" ? n(e) : n;
|
|
5939
5942
|
return r === "always" || r !== !1 && N1(e, t);
|
|
@@ -5947,7 +5950,7 @@ function N1(e, t) {
|
|
|
5947
5950
|
return e.isStaleByTime(t.staleTime);
|
|
5948
5951
|
}
|
|
5949
5952
|
function K8(e, t) {
|
|
5950
|
-
return !
|
|
5953
|
+
return !Ly(e.getCurrentResult(), t);
|
|
5951
5954
|
}
|
|
5952
5955
|
var oR = ce.createContext(
|
|
5953
5956
|
void 0
|
|
@@ -6576,7 +6579,7 @@ function Mve(e) {
|
|
|
6576
6579
|
return Nt && Nt.context && Nt.context[e.id] !== void 0 ? Nt.context[e.id] : e.defaultValue;
|
|
6577
6580
|
}
|
|
6578
6581
|
function fR(e) {
|
|
6579
|
-
const t = Ur(e), n = Ur(() =>
|
|
6582
|
+
const t = Ur(e), n = Ur(() => Yy(t()));
|
|
6580
6583
|
return n.toArray = () => {
|
|
6581
6584
|
const r = n();
|
|
6582
6585
|
return Array.isArray(r) ? r : r != null ? [r] : [];
|
|
@@ -6751,13 +6754,13 @@ function vR(e) {
|
|
|
6751
6754
|
function I1(e, t = Nt) {
|
|
6752
6755
|
throw vR(e);
|
|
6753
6756
|
}
|
|
6754
|
-
function
|
|
6757
|
+
function Yy(e) {
|
|
6755
6758
|
if (typeof e == "function" && !e.length)
|
|
6756
|
-
return
|
|
6759
|
+
return Yy(e());
|
|
6757
6760
|
if (Array.isArray(e)) {
|
|
6758
6761
|
const t = [];
|
|
6759
6762
|
for (let n = 0; n < e.length; n++) {
|
|
6760
|
-
const r =
|
|
6763
|
+
const r = Yy(e[n]);
|
|
6761
6764
|
Array.isArray(r) ? t.push.apply(t, r) : t.push(r);
|
|
6762
6765
|
}
|
|
6763
6766
|
return t;
|
|
@@ -6776,7 +6779,7 @@ function Ez(e, t) {
|
|
|
6776
6779
|
), i;
|
|
6777
6780
|
};
|
|
6778
6781
|
}
|
|
6779
|
-
var
|
|
6782
|
+
var Ky = Symbol("fallback");
|
|
6780
6783
|
function Rg(e) {
|
|
6781
6784
|
for (let t = 0; t < e.length; t++)
|
|
6782
6785
|
e[t]();
|
|
@@ -6788,7 +6791,7 @@ function Oz(e, t, n = {}) {
|
|
|
6788
6791
|
return l[lR], Zn(() => {
|
|
6789
6792
|
let g = l.length, p, m, b, x, w, _, S, O, E;
|
|
6790
6793
|
if (g === 0)
|
|
6791
|
-
s !== 0 && (Rg(o), o = [], r = [], i = [], s = 0, a && (a = [])), n.fallback && (r = [
|
|
6794
|
+
s !== 0 && (Rg(o), o = [], r = [], i = [], s = 0, a && (a = [])), n.fallback && (r = [Ky], i[0] = nl((P) => (o[0] = P, n.fallback())), s = 1);
|
|
6792
6795
|
else if (s === 0) {
|
|
6793
6796
|
for (i = new Array(g), u = 0; u < g; u++)
|
|
6794
6797
|
r[u] = l[u], i[u] = nl(f);
|
|
@@ -6823,8 +6826,8 @@ function Pz(e, t, n = {}) {
|
|
|
6823
6826
|
const c = e() || [];
|
|
6824
6827
|
return c[lR], Zn(() => {
|
|
6825
6828
|
if (c.length === 0)
|
|
6826
|
-
return a !== 0 && (Rg(o), o = [], r = [], i = [], a = 0, s = []), n.fallback && (r = [
|
|
6827
|
-
for (r[0] ===
|
|
6829
|
+
return a !== 0 && (Rg(o), o = [], r = [], i = [], a = 0, s = []), n.fallback && (r = [Ky], i[0] = nl((f) => (o[0] = f, n.fallback())), a = 1), i;
|
|
6830
|
+
for (r[0] === Ky && (o[0](), o = [], r = [], i = [], a = 0), l = 0; l < c.length; l++)
|
|
6828
6831
|
l < r.length && r[l] !== c[l] ? s[l](() => c[l]) : l >= r.length && (i[l] = nl(u));
|
|
6829
6832
|
for (; l < r.length; l++)
|
|
6830
6833
|
o[l]();
|
|
@@ -6843,7 +6846,7 @@ function $z(e, t) {
|
|
|
6843
6846
|
function op() {
|
|
6844
6847
|
return !0;
|
|
6845
6848
|
}
|
|
6846
|
-
var
|
|
6849
|
+
var Xy = {
|
|
6847
6850
|
get(e, t, n) {
|
|
6848
6851
|
return t === Eg ? n : e.get(t);
|
|
6849
6852
|
},
|
|
@@ -6906,7 +6909,7 @@ function Rz(...e) {
|
|
|
6906
6909
|
return [...new Set(o)];
|
|
6907
6910
|
}
|
|
6908
6911
|
},
|
|
6909
|
-
|
|
6912
|
+
Xy
|
|
6910
6913
|
);
|
|
6911
6914
|
const n = {}, r = {}, i = /* @__PURE__ */ new Set();
|
|
6912
6915
|
for (let o = e.length - 1; o >= 0; o--) {
|
|
@@ -6947,7 +6950,7 @@ function Mz(e, ...t) {
|
|
|
6947
6950
|
return s.filter((a) => a in e);
|
|
6948
6951
|
}
|
|
6949
6952
|
},
|
|
6950
|
-
|
|
6953
|
+
Xy
|
|
6951
6954
|
));
|
|
6952
6955
|
return o.push(
|
|
6953
6956
|
new Proxy(
|
|
@@ -6962,7 +6965,7 @@ function Mz(e, ...t) {
|
|
|
6962
6965
|
return Object.keys(e).filter((s) => !i.has(s));
|
|
6963
6966
|
}
|
|
6964
6967
|
},
|
|
6965
|
-
|
|
6968
|
+
Xy
|
|
6966
6969
|
)
|
|
6967
6970
|
), o;
|
|
6968
6971
|
}
|
|
@@ -7312,7 +7315,7 @@ var hE = "_$DX_DELEGATE";
|
|
|
7312
7315
|
function Wz(e, t, n, r = {}) {
|
|
7313
7316
|
let i;
|
|
7314
7317
|
return nl((o) => {
|
|
7315
|
-
i = o, t === document ? e() :
|
|
7318
|
+
i = o, t === document ? e() : Zy(t, e(), t.firstChild ? null : void 0, n);
|
|
7316
7319
|
}, r.owner), () => {
|
|
7317
7320
|
i(), t.textContent = "";
|
|
7318
7321
|
};
|
|
@@ -7332,7 +7335,7 @@ function Uz(e, t = window.document) {
|
|
|
7332
7335
|
n.has(o) || (n.add(o), t.addEventListener(o, tB));
|
|
7333
7336
|
}
|
|
7334
7337
|
}
|
|
7335
|
-
function
|
|
7338
|
+
function Qy(e, t, n) {
|
|
7336
7339
|
ht.context || (n == null ? e.removeAttribute(t) : e.setAttribute(t, n));
|
|
7337
7340
|
}
|
|
7338
7341
|
function qz(e, t, n, r) {
|
|
@@ -7365,7 +7368,7 @@ function Kz(e, t, n = {}) {
|
|
|
7365
7368
|
}
|
|
7366
7369
|
function Xz(e, t, n) {
|
|
7367
7370
|
if (!t)
|
|
7368
|
-
return n ?
|
|
7371
|
+
return n ? Qy(e, "style") : t;
|
|
7369
7372
|
const r = e.style;
|
|
7370
7373
|
if (typeof t == "string")
|
|
7371
7374
|
return r.cssText = t;
|
|
@@ -7386,7 +7389,7 @@ function Qz(e, t = {}, n, r) {
|
|
|
7386
7389
|
function Fve(e, t, n) {
|
|
7387
7390
|
return Zn(() => e(t, n));
|
|
7388
7391
|
}
|
|
7389
|
-
function
|
|
7392
|
+
function Zy(e, t, n, r) {
|
|
7390
7393
|
if (n !== void 0 && !r && (r = []), typeof t != "function")
|
|
7391
7394
|
return eu(e, t, r, n);
|
|
7392
7395
|
rl((i) => eu(e, t(), i, n), r);
|
|
@@ -7444,7 +7447,7 @@ function gE(e, t, n, r, i, o) {
|
|
|
7444
7447
|
}
|
|
7445
7448
|
(g || n) && (Yz(e, f, n, g), g && Uz([f]));
|
|
7446
7449
|
} else if (t.slice(0, 5) === "attr:")
|
|
7447
|
-
|
|
7450
|
+
Qy(e, t.slice(5), n);
|
|
7448
7451
|
else if ((u = t.slice(0, 5) === "prop:") || (l = Iz.has(t)) || !i && ((c = Fz(t, e.tagName)) || (a = Nz.has(t))) || (s = e.nodeName.includes("-"))) {
|
|
7449
7452
|
if (u)
|
|
7450
7453
|
t = t.slice(5), a = !0;
|
|
@@ -7453,7 +7456,7 @@ function gE(e, t, n, r, i, o) {
|
|
|
7453
7456
|
t === "class" || t === "className" ? Gz(e, n) : s && !a && !l ? e[eB(t)] = n : e[c || t] = n;
|
|
7454
7457
|
} else {
|
|
7455
7458
|
const f = i && t.indexOf(":") > -1 && Vz[t.split(":")[0]];
|
|
7456
|
-
f ? qz(e, f, t, n) :
|
|
7459
|
+
f ? qz(e, f, t, n) : Qy(e, Lz[t] || t, n);
|
|
7457
7460
|
}
|
|
7458
7461
|
return n;
|
|
7459
7462
|
}
|
|
@@ -7515,7 +7518,7 @@ function eu(e, t, n, r, i) {
|
|
|
7515
7518
|
}), () => n;
|
|
7516
7519
|
if (Array.isArray(t)) {
|
|
7517
7520
|
const a = [], l = n && Array.isArray(n);
|
|
7518
|
-
if (
|
|
7521
|
+
if (Jy(a, t, n, i))
|
|
7519
7522
|
return rl(() => n = eu(e, a, n, r, !0)), () => n;
|
|
7520
7523
|
if (ht.context) {
|
|
7521
7524
|
if (!a.length)
|
|
@@ -7547,7 +7550,7 @@ function eu(e, t, n, r, i) {
|
|
|
7547
7550
|
}
|
|
7548
7551
|
return n;
|
|
7549
7552
|
}
|
|
7550
|
-
function
|
|
7553
|
+
function Jy(e, t, n, r) {
|
|
7551
7554
|
let i = !1;
|
|
7552
7555
|
for (let o = 0, s = t.length; o < s; o++) {
|
|
7553
7556
|
let a = t[o], l = n && n[o], c;
|
|
@@ -7555,12 +7558,12 @@ function Zy(e, t, n, r) {
|
|
|
7555
7558
|
if ((c = typeof a) == "object" && a.nodeType)
|
|
7556
7559
|
e.push(a);
|
|
7557
7560
|
else if (Array.isArray(a))
|
|
7558
|
-
i =
|
|
7561
|
+
i = Jy(e, a, l) || i;
|
|
7559
7562
|
else if (c === "function")
|
|
7560
7563
|
if (r) {
|
|
7561
7564
|
for (; typeof a == "function"; )
|
|
7562
7565
|
a = a();
|
|
7563
|
-
i =
|
|
7566
|
+
i = Jy(
|
|
7564
7567
|
e,
|
|
7565
7568
|
Array.isArray(a) ? a : [a],
|
|
7566
7569
|
Array.isArray(l) ? l : [l]
|
|
@@ -7613,7 +7616,7 @@ function zve(e) {
|
|
|
7613
7616
|
const a = r();
|
|
7614
7617
|
if (a instanceof HTMLHeadElement) {
|
|
7615
7618
|
const [l, c] = Er(!1), u = () => c(!0);
|
|
7616
|
-
nl((f) =>
|
|
7619
|
+
nl((f) => Zy(a, () => l() ? f() : o(), null)), Vd(u);
|
|
7617
7620
|
} else {
|
|
7618
7621
|
const l = yR(e.isSVG ? "g" : "div", e.isSVG), c = t && l.attachShadow ? l.attachShadow({
|
|
7619
7622
|
mode: "open"
|
|
@@ -7623,7 +7626,7 @@ function zve(e) {
|
|
|
7623
7626
|
return n.parentNode;
|
|
7624
7627
|
},
|
|
7625
7628
|
configurable: !0
|
|
7626
|
-
}),
|
|
7629
|
+
}), Zy(c, o), a.appendChild(l), e.ref && e.ref(l), Vd(() => a.removeChild(l));
|
|
7627
7630
|
}
|
|
7628
7631
|
},
|
|
7629
7632
|
void 0,
|
|
@@ -7789,7 +7792,7 @@ var uB = (
|
|
|
7789
7792
|
return e === null;
|
|
7790
7793
|
}, Hd = function(e) {
|
|
7791
7794
|
return typeof e != "object" || e === null || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype;
|
|
7792
|
-
},
|
|
7795
|
+
}, ex = function(e) {
|
|
7793
7796
|
return Hd(e) && Object.keys(e).length === 0;
|
|
7794
7797
|
}, Qs = function(e) {
|
|
7795
7798
|
return Array.isArray(e);
|
|
@@ -7843,16 +7846,16 @@ var uB = (
|
|
|
7843
7846
|
}
|
|
7844
7847
|
var a = n;
|
|
7845
7848
|
return t.push(a), t;
|
|
7846
|
-
},
|
|
7847
|
-
return
|
|
7849
|
+
}, tx = function() {
|
|
7850
|
+
return tx = Object.assign || function(e) {
|
|
7848
7851
|
for (var t, n = 1, r = arguments.length; n < r; n++) {
|
|
7849
7852
|
t = arguments[n];
|
|
7850
7853
|
for (var i in t)
|
|
7851
7854
|
Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
|
|
7852
7855
|
}
|
|
7853
7856
|
return e;
|
|
7854
|
-
},
|
|
7855
|
-
},
|
|
7857
|
+
}, tx.apply(this, arguments);
|
|
7858
|
+
}, nx = function(e, t) {
|
|
7856
7859
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
7857
7860
|
if (!n)
|
|
7858
7861
|
return e;
|
|
@@ -7871,7 +7874,7 @@ var uB = (
|
|
|
7871
7874
|
}
|
|
7872
7875
|
}
|
|
7873
7876
|
return o;
|
|
7874
|
-
},
|
|
7877
|
+
}, rx = function(e, t) {
|
|
7875
7878
|
for (var n = 0, r = t.length, i = e.length; n < r; n++, i++)
|
|
7876
7879
|
e[i] = t[n];
|
|
7877
7880
|
return e;
|
|
@@ -7925,14 +7928,14 @@ var CR = [
|
|
|
7925
7928
|
// (sets only exist in es6+)
|
|
7926
7929
|
// eslint-disable-next-line es5/no-es6-methods
|
|
7927
7930
|
function(e) {
|
|
7928
|
-
return
|
|
7931
|
+
return rx([], nx(e.values()));
|
|
7929
7932
|
},
|
|
7930
7933
|
function(e) {
|
|
7931
7934
|
return new Set(e);
|
|
7932
7935
|
}
|
|
7933
7936
|
),
|
|
7934
7937
|
io(Wd, "map", function(e) {
|
|
7935
|
-
return
|
|
7938
|
+
return rx([], nx(e.entries()));
|
|
7936
7939
|
}, function(e) {
|
|
7937
7940
|
return new Map(e);
|
|
7938
7941
|
}),
|
|
@@ -7991,7 +7994,7 @@ var ER = Om(function(e, t) {
|
|
|
7991
7994
|
}, {}), OR = Om(_B, function(e) {
|
|
7992
7995
|
return ["typed-array", e.constructor.name];
|
|
7993
7996
|
}, function(e) {
|
|
7994
|
-
return
|
|
7997
|
+
return rx([], nx(e));
|
|
7995
7998
|
}, function(e, t) {
|
|
7996
7999
|
var n = CB[t[1]];
|
|
7997
8000
|
if (!n)
|
|
@@ -8011,7 +8014,7 @@ var $R = Om(PR, function(e, t) {
|
|
|
8011
8014
|
}, function(e, t) {
|
|
8012
8015
|
var n = t.classRegistry.getAllowedProps(e.constructor);
|
|
8013
8016
|
if (!n)
|
|
8014
|
-
return
|
|
8017
|
+
return tx({}, e);
|
|
8015
8018
|
var r = {};
|
|
8016
8019
|
return n.forEach(function(i) {
|
|
8017
8020
|
r[i] = e[i];
|
|
@@ -8108,7 +8111,7 @@ var PB = function(e, t) {
|
|
|
8108
8111
|
e = e[r];
|
|
8109
8112
|
}
|
|
8110
8113
|
return e;
|
|
8111
|
-
},
|
|
8114
|
+
}, ix = function(e, t, n) {
|
|
8112
8115
|
if (MR(t), t.length === 0)
|
|
8113
8116
|
return n(e);
|
|
8114
8117
|
for (var r = e, i = 0; i < t.length - 1; i++) {
|
|
@@ -8180,23 +8183,23 @@ var PB = function(e, t) {
|
|
|
8180
8183
|
e[i] = t[n];
|
|
8181
8184
|
return e;
|
|
8182
8185
|
};
|
|
8183
|
-
function
|
|
8186
|
+
function ox(e, t, n) {
|
|
8184
8187
|
if (n === void 0 && (n = []), !!e) {
|
|
8185
8188
|
if (!Qs(e)) {
|
|
8186
8189
|
tu(e, function(s, a) {
|
|
8187
|
-
return
|
|
8190
|
+
return ox(s, t, Bs(Bs([], Zo(n)), Zo(_d(a))));
|
|
8188
8191
|
});
|
|
8189
8192
|
return;
|
|
8190
8193
|
}
|
|
8191
8194
|
var r = Zo(e, 2), i = r[0], o = r[1];
|
|
8192
8195
|
o && tu(o, function(s, a) {
|
|
8193
|
-
|
|
8196
|
+
ox(s, t, Bs(Bs([], Zo(n)), Zo(_d(a))));
|
|
8194
8197
|
}), t(i, n);
|
|
8195
8198
|
}
|
|
8196
8199
|
}
|
|
8197
8200
|
function $B(e, t, n) {
|
|
8198
|
-
return
|
|
8199
|
-
e =
|
|
8201
|
+
return ox(t, function(r, i) {
|
|
8202
|
+
e = ix(e, i, function(o) {
|
|
8200
8203
|
return OB(o, r, n);
|
|
8201
8204
|
});
|
|
8202
8205
|
}), e;
|
|
@@ -8205,7 +8208,7 @@ function kB(e, t) {
|
|
|
8205
8208
|
function n(s, a) {
|
|
8206
8209
|
var l = PB(e, _d(a));
|
|
8207
8210
|
s.map(_d).forEach(function(c) {
|
|
8208
|
-
e =
|
|
8211
|
+
e = ix(e, c, function() {
|
|
8209
8212
|
return l;
|
|
8210
8213
|
});
|
|
8211
8214
|
});
|
|
@@ -8213,7 +8216,7 @@ function kB(e, t) {
|
|
|
8213
8216
|
if (Qs(t)) {
|
|
8214
8217
|
var r = Zo(t, 2), i = r[0], o = r[1];
|
|
8215
8218
|
i.forEach(function(s) {
|
|
8216
|
-
e =
|
|
8219
|
+
e = ix(e, _d(s), function() {
|
|
8217
8220
|
return e;
|
|
8218
8221
|
});
|
|
8219
8222
|
}), o && tu(o, n);
|
|
@@ -8240,7 +8243,7 @@ function DB(e, t) {
|
|
|
8240
8243
|
var o = Zo(i), s = o[0], a = o.slice(1);
|
|
8241
8244
|
s.length === 0 ? r = a.map(i0) : n[i0(s)] = a.map(i0);
|
|
8242
8245
|
}
|
|
8243
|
-
}), r ?
|
|
8246
|
+
}), r ? ex(n) ? [r] : [r, n] : ex(n) ? void 0 : n;
|
|
8244
8247
|
}
|
|
8245
8248
|
var DR = function(e, t, n, r, i, o, s) {
|
|
8246
8249
|
var a;
|
|
@@ -8274,7 +8277,7 @@ var DR = function(e, t, n, r, i, o, s) {
|
|
|
8274
8277
|
b[SR(_) + "." + E] = O;
|
|
8275
8278
|
});
|
|
8276
8279
|
});
|
|
8277
|
-
var x =
|
|
8280
|
+
var x = ex(b) ? {
|
|
8278
8281
|
transformedValue: m,
|
|
8279
8282
|
annotations: g ? [g.type] : void 0
|
|
8280
8283
|
} : {
|
|
@@ -8304,16 +8307,16 @@ function AB(e, t, n, r, i) {
|
|
|
8304
8307
|
configurable: !0
|
|
8305
8308
|
});
|
|
8306
8309
|
}
|
|
8307
|
-
function
|
|
8310
|
+
function sx(e, t = {}) {
|
|
8308
8311
|
if (xE(e))
|
|
8309
|
-
return e.map((i) =>
|
|
8312
|
+
return e.map((i) => sx(i, t));
|
|
8310
8313
|
if (!TB(e))
|
|
8311
8314
|
return e;
|
|
8312
8315
|
const n = Object.getOwnPropertyNames(e), r = Object.getOwnPropertySymbols(e);
|
|
8313
8316
|
return [...n, ...r].reduce((i, o) => {
|
|
8314
8317
|
if (xE(t.props) && !t.props.includes(o))
|
|
8315
8318
|
return i;
|
|
8316
|
-
const s = e[o], a =
|
|
8319
|
+
const s = e[o], a = sx(s, t);
|
|
8317
8320
|
return AB(i, o, a, e, t.nonenumerable), i;
|
|
8318
8321
|
}, {});
|
|
8319
8322
|
}
|
|
@@ -8367,7 +8370,7 @@ var ja = function() {
|
|
|
8367
8370
|
var o = DB(n, this.dedupe);
|
|
8368
8371
|
return o && (i.meta = ja(ja({}, i.meta), { referentialEqualities: o })), i;
|
|
8369
8372
|
}, e.prototype.deserialize = function(t) {
|
|
8370
|
-
var n = t.json, r = t.meta, i =
|
|
8373
|
+
var n = t.json, r = t.meta, i = sx(n);
|
|
8371
8374
|
return r != null && r.values && (i = $B(i, r.values, this)), r != null && r.referentialEqualities && (i = kB(i, r.referentialEqualities)), i;
|
|
8372
8375
|
}, e.prototype.stringify = function(t) {
|
|
8373
8376
|
return JSON.stringify(this.serialize(t));
|
|
@@ -8543,7 +8546,7 @@ var Yve = (e, t = !1) => {
|
|
|
8543
8546
|
const t = Wz(() => {
|
|
8544
8547
|
const [n] = K(this, qc), [r] = K(this, Gc), [i] = K(this, Yc), [o] = K(this, Kc), [s] = K(this, Uc);
|
|
8545
8548
|
let a;
|
|
8546
|
-
K(this, Xc) ? a = K(this, Xc) : (a = Dz(() => import("./2DAFLIRC
|
|
8549
|
+
K(this, Xc) ? a = K(this, Xc) : (a = Dz(() => import("./2DAFLIRC--9V0v77A.js")), Te(this, Xc, a)), BB(K(this, Df));
|
|
8547
8550
|
const l = this;
|
|
8548
8551
|
return $z(a, Rz({
|
|
8549
8552
|
get queryFlavor() {
|
|
@@ -12527,12 +12530,12 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
12527
12530
|
}).call(Ts);
|
|
12528
12531
|
})(Dg, Dg.exports);
|
|
12529
12532
|
var vc = Dg.exports;
|
|
12530
|
-
const Zs = /* @__PURE__ */ Af(vc), wE = ["lg", "md", "sm", "xs", "xxs"],
|
|
12533
|
+
const Zs = /* @__PURE__ */ Af(vc), wE = ["lg", "md", "sm", "xs", "xxs"], ge = Vk()(
|
|
12531
12534
|
Kk((e, t) => ({
|
|
12532
12535
|
currentBreakpoint: "lg",
|
|
12533
12536
|
dashboard: {
|
|
12534
12537
|
id: "",
|
|
12535
|
-
style:
|
|
12538
|
+
style: Ny
|
|
12536
12539
|
},
|
|
12537
12540
|
showContext: !1,
|
|
12538
12541
|
selectedSheetId: null,
|
|
@@ -13036,7 +13039,7 @@ const Zs = /* @__PURE__ */ Af(vc), wE = ["lg", "md", "sm", "xs", "xxs"], pe = Vk
|
|
|
13036
13039
|
}
|
|
13037
13040
|
}
|
|
13038
13041
|
}))
|
|
13039
|
-
), wl = () =>
|
|
13042
|
+
), wl = () => ge((e) => e.actions), XB = {
|
|
13040
13043
|
theme: "system",
|
|
13041
13044
|
setTheme: () => null
|
|
13042
13045
|
}, FR = Wn(XB);
|
|
@@ -13106,19 +13109,19 @@ function JB({
|
|
|
13106
13109
|
queryFn: () => ZB(e, t || "", n == null ? void 0 : n.accessToken),
|
|
13107
13110
|
enabled: !1
|
|
13108
13111
|
// this makes sure the query doesn't start on first render
|
|
13109
|
-
}), { theme: f, setTheme: g } = zR(), { setDashboard: p, setSelectedSheetId: m, setStyle: b, setOnSaveFunction: x } =
|
|
13110
|
-
|
|
13112
|
+
}), { theme: f, setTheme: g } = zR(), { setDashboard: p, setSelectedSheetId: m, setStyle: b, setOnSaveFunction: x } = ge((D) => D.actions);
|
|
13113
|
+
ge(
|
|
13111
13114
|
(D) => D.actions.setCustomCards
|
|
13112
13115
|
);
|
|
13113
|
-
const w =
|
|
13116
|
+
const w = ge(
|
|
13114
13117
|
(D) => D.actions.setFilterValues
|
|
13115
|
-
), _ =
|
|
13118
|
+
), _ = ge(
|
|
13116
13119
|
(D) => D.actions.setBookmarkKey
|
|
13117
|
-
), S =
|
|
13120
|
+
), S = ge((D) => D.actions.setAuthToken), O = ge(
|
|
13118
13121
|
(D) => D.actions.setThemeStyle
|
|
13119
|
-
), E =
|
|
13122
|
+
), E = ge(
|
|
13120
13123
|
(D) => D.actions.setDashboardTheme
|
|
13121
|
-
), P =
|
|
13124
|
+
), P = ge((D) => D.actions.setOnEvent);
|
|
13122
13125
|
return ye(() => {
|
|
13123
13126
|
if (f) {
|
|
13124
13127
|
const D = BR(f);
|
|
@@ -13127,13 +13130,13 @@ function JB({
|
|
|
13127
13130
|
}, [f, E]), ye(() => {
|
|
13128
13131
|
i && g(i);
|
|
13129
13132
|
}, [i, g]), ye(() => {
|
|
13130
|
-
const D = Zs.cloneDeep(
|
|
13133
|
+
const D = Zs.cloneDeep(Ny);
|
|
13131
13134
|
if (r) {
|
|
13132
13135
|
const M = Zs.merge(D, r), T = _E(f, M);
|
|
13133
13136
|
O(T), b(M);
|
|
13134
13137
|
} else {
|
|
13135
13138
|
const M = _E(f, D);
|
|
13136
|
-
O(M), b(
|
|
13139
|
+
O(M), b(Ny);
|
|
13137
13140
|
}
|
|
13138
13141
|
}, [f, r, b, O]), ye(() => {
|
|
13139
13142
|
var F;
|
|
@@ -13194,8 +13197,8 @@ function VR({
|
|
|
13194
13197
|
customCards: f,
|
|
13195
13198
|
...g
|
|
13196
13199
|
}) {
|
|
13197
|
-
|
|
13198
|
-
const p =
|
|
13200
|
+
ge((w) => w.selectedSheetId);
|
|
13201
|
+
const p = ge((w) => w.themeStyle), m = ge((w) => w.onEvent), { isLoading: b, isError: x } = JB({
|
|
13199
13202
|
id: a,
|
|
13200
13203
|
version: u,
|
|
13201
13204
|
authToken: l,
|
|
@@ -13331,27 +13334,27 @@ function Pm(...e) {
|
|
|
13331
13334
|
function ft(...e) {
|
|
13332
13335
|
return Ue(Pm(...e), e);
|
|
13333
13336
|
}
|
|
13334
|
-
const os = /* @__PURE__ */
|
|
13337
|
+
const os = /* @__PURE__ */ pe((e, t) => {
|
|
13335
13338
|
const { children: n, ...r } = e, i = tl.toArray(n), o = i.find(nV);
|
|
13336
13339
|
if (o) {
|
|
13337
13340
|
const s = o.props.children, a = i.map((l) => l === o ? tl.count(s) > 1 ? tl.only(null) : /* @__PURE__ */ Nd(s) ? s.props.children : null : l);
|
|
13338
|
-
return /* @__PURE__ */ j(
|
|
13341
|
+
return /* @__PURE__ */ j(ax, ae({}, r, {
|
|
13339
13342
|
ref: t
|
|
13340
13343
|
}), /* @__PURE__ */ Nd(s) ? /* @__PURE__ */ gm(s, void 0, a) : null);
|
|
13341
13344
|
}
|
|
13342
|
-
return /* @__PURE__ */ j(
|
|
13345
|
+
return /* @__PURE__ */ j(ax, ae({}, r, {
|
|
13343
13346
|
ref: t
|
|
13344
13347
|
}), n);
|
|
13345
13348
|
});
|
|
13346
13349
|
os.displayName = "Slot";
|
|
13347
|
-
const
|
|
13350
|
+
const ax = /* @__PURE__ */ pe((e, t) => {
|
|
13348
13351
|
const { children: n, ...r } = e;
|
|
13349
13352
|
return /* @__PURE__ */ Nd(n) ? /* @__PURE__ */ gm(n, {
|
|
13350
13353
|
...rV(r, n.props),
|
|
13351
13354
|
ref: t ? Pm(t, n.ref) : n.ref
|
|
13352
13355
|
}) : tl.count(n) > 1 ? tl.only(null) : null;
|
|
13353
13356
|
});
|
|
13354
|
-
|
|
13357
|
+
ax.displayName = "SlotClone";
|
|
13355
13358
|
const HR = ({ children: e }) => /* @__PURE__ */ j(Or, null, e);
|
|
13356
13359
|
function nV(e) {
|
|
13357
13360
|
return /* @__PURE__ */ Nd(e) && e.type === HR;
|
|
@@ -13462,7 +13465,7 @@ const sV = [
|
|
|
13462
13465
|
"svg",
|
|
13463
13466
|
"ul"
|
|
13464
13467
|
], Ge = sV.reduce((e, t) => {
|
|
13465
|
-
const n = /* @__PURE__ */
|
|
13468
|
+
const n = /* @__PURE__ */ pe((r, i) => {
|
|
13466
13469
|
const { asChild: o, ...s } = r, a = o ? os : t;
|
|
13467
13470
|
return ye(() => {
|
|
13468
13471
|
window[Symbol.for("radix-ui")] = !0;
|
|
@@ -13532,15 +13535,15 @@ function _l(e) {
|
|
|
13532
13535
|
const o0 = "rovingFocusGroup.onEntryFocus", cV = {
|
|
13533
13536
|
bubbles: !1,
|
|
13534
13537
|
cancelable: !0
|
|
13535
|
-
}, j1 = "RovingFocusGroup", [
|
|
13538
|
+
}, j1 = "RovingFocusGroup", [lx, UR, uV] = $m(j1), [dV, vu] = Jn(j1, [
|
|
13536
13539
|
uV
|
|
13537
|
-
]), [fV, hV] = dV(j1), pV = /* @__PURE__ */
|
|
13540
|
+
]), [fV, hV] = dV(j1), pV = /* @__PURE__ */ pe((e, t) => /* @__PURE__ */ j(lx.Provider, {
|
|
13538
13541
|
scope: e.__scopeRovingFocusGroup
|
|
13539
|
-
}, /* @__PURE__ */ j(
|
|
13542
|
+
}, /* @__PURE__ */ j(lx.Slot, {
|
|
13540
13543
|
scope: e.__scopeRovingFocusGroup
|
|
13541
13544
|
}, /* @__PURE__ */ j(gV, ae({}, e, {
|
|
13542
13545
|
ref: t
|
|
13543
|
-
}))))), gV = /* @__PURE__ */
|
|
13546
|
+
}))))), gV = /* @__PURE__ */ pe((e, t) => {
|
|
13544
13547
|
const { __scopeRovingFocusGroup: n, orientation: r, loop: i = !1, dir: o, currentTabStopId: s, defaultCurrentTabStopId: a, onCurrentTabStopIdChange: l, onEntryFocus: c, ...u } = e, f = ue(null), g = ft(t, f), p = _l(o), [m = null, b] = mr({
|
|
13545
13548
|
prop: s,
|
|
13546
13549
|
defaultProp: a,
|
|
@@ -13620,7 +13623,7 @@ const o0 = "rovingFocusGroup.onEntryFocus", cV = {
|
|
|
13620
13623
|
() => w(!1)
|
|
13621
13624
|
)
|
|
13622
13625
|
})));
|
|
13623
|
-
}), mV = "RovingFocusGroupItem", vV = /* @__PURE__ */
|
|
13626
|
+
}), mV = "RovingFocusGroupItem", vV = /* @__PURE__ */ pe((e, t) => {
|
|
13624
13627
|
const { __scopeRovingFocusGroup: n, focusable: r = !0, active: i = !1, tabStopId: o, ...s } = e, a = Br(), l = o || a, c = hV(mV, n), u = c.currentTabStopId === l, f = UR(n), { onFocusableItemAdd: g, onFocusableItemRemove: p } = c;
|
|
13625
13628
|
return ye(() => {
|
|
13626
13629
|
if (r)
|
|
@@ -13629,7 +13632,7 @@ const o0 = "rovingFocusGroup.onEntryFocus", cV = {
|
|
|
13629
13632
|
r,
|
|
13630
13633
|
g,
|
|
13631
13634
|
p
|
|
13632
|
-
]), /* @__PURE__ */ j(
|
|
13635
|
+
]), /* @__PURE__ */ j(lx.ItemSlot, {
|
|
13633
13636
|
scope: n,
|
|
13634
13637
|
id: l,
|
|
13635
13638
|
focusable: r,
|
|
@@ -13786,7 +13789,7 @@ function up(e) {
|
|
|
13786
13789
|
}
|
|
13787
13790
|
const GR = "Tabs", [CV, Jve] = Jn(GR, [
|
|
13788
13791
|
vu
|
|
13789
|
-
]), YR = vu(), [EV, B1] = CV(GR), OV = /* @__PURE__ */
|
|
13792
|
+
]), YR = vu(), [EV, B1] = CV(GR), OV = /* @__PURE__ */ pe((e, t) => {
|
|
13790
13793
|
const { __scopeTabs: n, value: r, onValueChange: i, defaultValue: o, orientation: s = "horizontal", dir: a, activationMode: l = "automatic", ...c } = e, u = _l(a), [f, g] = mr({
|
|
13791
13794
|
prop: r,
|
|
13792
13795
|
onChange: i,
|
|
@@ -13806,7 +13809,7 @@ const GR = "Tabs", [CV, Jve] = Jn(GR, [
|
|
|
13806
13809
|
}, c, {
|
|
13807
13810
|
ref: t
|
|
13808
13811
|
})));
|
|
13809
|
-
}), PV = "TabsList", $V = /* @__PURE__ */
|
|
13812
|
+
}), PV = "TabsList", $V = /* @__PURE__ */ pe((e, t) => {
|
|
13810
13813
|
const { __scopeTabs: n, loop: r = !0, ...i } = e, o = B1(PV, n), s = YR(n);
|
|
13811
13814
|
return /* @__PURE__ */ j(F1, ae({
|
|
13812
13815
|
asChild: !0
|
|
@@ -13820,7 +13823,7 @@ const GR = "Tabs", [CV, Jve] = Jn(GR, [
|
|
|
13820
13823
|
}, i, {
|
|
13821
13824
|
ref: t
|
|
13822
13825
|
})));
|
|
13823
|
-
}), kV = "TabsTrigger", RV = /* @__PURE__ */
|
|
13826
|
+
}), kV = "TabsTrigger", RV = /* @__PURE__ */ pe((e, t) => {
|
|
13824
13827
|
const { __scopeTabs: n, value: r, disabled: i = !1, ...o } = e, s = B1(kV, n), a = YR(n), l = KR(s.baseId, r), c = XR(s.baseId, r), u = r === s.value;
|
|
13825
13828
|
return /* @__PURE__ */ j(z1, ae({
|
|
13826
13829
|
asChild: !0
|
|
@@ -13852,7 +13855,7 @@ const GR = "Tabs", [CV, Jve] = Jn(GR, [
|
|
|
13852
13855
|
!u && !i && f && s.onValueChange(r);
|
|
13853
13856
|
})
|
|
13854
13857
|
})));
|
|
13855
|
-
}), MV = "TabsContent", DV = /* @__PURE__ */
|
|
13858
|
+
}), MV = "TabsContent", DV = /* @__PURE__ */ pe((e, t) => {
|
|
13856
13859
|
const { __scopeTabs: n, value: r, forceMount: i, children: o, ...s } = e, a = B1(MV, n), l = KR(a.baseId, r), c = XR(a.baseId, r), u = r === a.value, f = ue(u);
|
|
13857
13860
|
return ye(() => {
|
|
13858
13861
|
const g = requestAnimationFrame(
|
|
@@ -13899,7 +13902,7 @@ const TV = OV, QR = $V, ZR = RV, JR = DV, eM = TV, tM = ce.forwardRef(({ classNa
|
|
|
13899
13902
|
}
|
|
13900
13903
|
));
|
|
13901
13904
|
tM.displayName = QR.displayName;
|
|
13902
|
-
const
|
|
13905
|
+
const cx = ce.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v.jsx(
|
|
13903
13906
|
ZR,
|
|
13904
13907
|
{
|
|
13905
13908
|
ref: n,
|
|
@@ -13910,7 +13913,7 @@ const lx = ce.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v.jsx(
|
|
|
13910
13913
|
...t
|
|
13911
13914
|
}
|
|
13912
13915
|
));
|
|
13913
|
-
|
|
13916
|
+
cx.displayName = ZR.displayName;
|
|
13914
13917
|
const Tg = ce.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v.jsx(
|
|
13915
13918
|
JR,
|
|
13916
13919
|
{
|
|
@@ -13923,7 +13926,7 @@ const Tg = ce.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v.jsx(
|
|
|
13923
13926
|
}
|
|
13924
13927
|
));
|
|
13925
13928
|
Tg.displayName = JR.displayName;
|
|
13926
|
-
var nM = { exports: {} }, Lf = {},
|
|
13929
|
+
var nM = { exports: {} }, Lf = {}, ux = { exports: {} };
|
|
13927
13930
|
(function(e, t) {
|
|
13928
13931
|
(function(n, r) {
|
|
13929
13932
|
r(t);
|
|
@@ -14094,8 +14097,8 @@ var nM = { exports: {} }, Lf = {}, cx = { exports: {} };
|
|
|
14094
14097
|
}
|
|
14095
14098
|
n.circularDeepEqual = N, n.circularShallowEqual = xe, n.createCustomCircularEqual = he, n.createCustomEqual = ve, n.deepEqual = G, n.sameValueZeroEqual = l, n.shallowEqual = H, Object.defineProperty(n, "__esModule", { value: !0 });
|
|
14096
14099
|
});
|
|
14097
|
-
})(
|
|
14098
|
-
var V1 =
|
|
14100
|
+
})(ux, ux.exports);
|
|
14101
|
+
var V1 = ux.exports;
|
|
14099
14102
|
const H1 = /* @__PURE__ */ $1(_F);
|
|
14100
14103
|
var $t = {}, AV = function(t, n, r) {
|
|
14101
14104
|
return t === n ? !0 : t.className === n.className && r(t.style, n.style) && t.width === n.width && t.autoSize === n.autoSize && t.cols === n.cols && t.draggableCancel === n.draggableCancel && t.draggableHandle === n.draggableHandle && r(t.verticalCompact, n.verticalCompact) && r(t.compactType, n.compactType) && r(t.layout, n.layout) && r(t.margin, n.margin) && r(t.containerPadding, n.containerPadding) && t.rowHeight === n.rowHeight && t.maxRows === n.maxRows && t.isBounded === n.isBounded && t.isDraggable === n.isDraggable && t.isResizable === n.isResizable && t.allowOverlap === n.allowOverlap && t.preventCollision === n.preventCollision && t.useCSSTransforms === n.useCSSTransforms && t.transformScale === n.transformScale && t.isDroppable === n.isDroppable && r(t.resizeHandles, n.resizeHandles) && r(t.resizeHandle, n.resizeHandle) && t.onLayoutChange === n.onLayoutChange && t.onDragStart === n.onDragStart && t.onDrag === n.onDrag && t.onDragStop === n.onDragStop && t.onResizeStart === n.onResizeStart && t.onResize === n.onResize && t.onResizeStop === n.onResizeStop && t.onDrop === n.onDrop && r(t.droppingItem, n.droppingItem) && r(t.innerRef, n.innerRef);
|
|
@@ -14120,7 +14123,7 @@ $t.getLayoutItem = U1;
|
|
|
14120
14123
|
$t.getStatics = q1;
|
|
14121
14124
|
$t.modifyLayout = iM;
|
|
14122
14125
|
$t.moveElement = pd;
|
|
14123
|
-
$t.moveElementAwayFromCollision =
|
|
14126
|
+
$t.moveElementAwayFromCollision = fx;
|
|
14124
14127
|
$t.noop = void 0;
|
|
14125
14128
|
$t.perc = VV;
|
|
14126
14129
|
$t.resizeItemInDirection = YV;
|
|
@@ -14202,7 +14205,7 @@ const BV = {
|
|
|
14202
14205
|
x: "w",
|
|
14203
14206
|
y: "h"
|
|
14204
14207
|
};
|
|
14205
|
-
function
|
|
14208
|
+
function dx(e, t, n, r) {
|
|
14206
14209
|
const i = BV[r];
|
|
14207
14210
|
t[r] += 1;
|
|
14208
14211
|
const o = e.map((s) => s.i).indexOf(t.i);
|
|
@@ -14211,7 +14214,7 @@ function ux(e, t, n, r) {
|
|
|
14211
14214
|
if (!a.static) {
|
|
14212
14215
|
if (a.y > t.y + t.h)
|
|
14213
14216
|
break;
|
|
14214
|
-
km(t, a) &&
|
|
14217
|
+
km(t, a) && dx(e, a, n + t[i], r);
|
|
14215
14218
|
}
|
|
14216
14219
|
}
|
|
14217
14220
|
t[r] = n;
|
|
@@ -14226,7 +14229,7 @@ function sM(e, t, n, r, i, o) {
|
|
|
14226
14229
|
t.x--;
|
|
14227
14230
|
let l;
|
|
14228
14231
|
for (; (l = Va(e, t)) && !(n === null && o); )
|
|
14229
|
-
if (a ?
|
|
14232
|
+
if (a ? dx(i, t, l.x + l.w, "x") : dx(i, t, l.y + l.h, "y"), a && t.x + t.w > r)
|
|
14230
14233
|
for (t.x = r - t.w, t.y++; t.x > 0 && !Va(e, t); )
|
|
14231
14234
|
t.x--;
|
|
14232
14235
|
return t.y = Math.max(t.y, 0), t.x = Math.max(t.x, 0), t;
|
|
@@ -14274,11 +14277,11 @@ function pd(e, t, n, r, i, o, s, a, l) {
|
|
|
14274
14277
|
return "Collision prevented on ".concat(t.i, ", reverting."), t.x = c, t.y = u, t.moved = !1, e;
|
|
14275
14278
|
for (let b = 0, x = p.length; b < x; b++) {
|
|
14276
14279
|
const w = p[b];
|
|
14277
|
-
"Resolving collision between ".concat(t.i, " at [").concat(t.x, ",").concat(t.y, "] and ").concat(w.i, " at [").concat(w.x, ",").concat(w.y, "]"), !w.moved && (w.static ? e =
|
|
14280
|
+
"Resolving collision between ".concat(t.i, " at [").concat(t.x, ",").concat(t.y, "] and ").concat(w.i, " at [").concat(w.x, ",").concat(w.y, "]"), !w.moved && (w.static ? e = fx(e, w, t, i, s) : e = fx(e, t, w, i, s));
|
|
14278
14281
|
}
|
|
14279
14282
|
return e;
|
|
14280
14283
|
}
|
|
14281
|
-
function
|
|
14284
|
+
function fx(e, t, n, r, i, o) {
|
|
14282
14285
|
const s = i === "horizontal", a = i === "vertical", l = t.static;
|
|
14283
14286
|
if (r) {
|
|
14284
14287
|
r = !1;
|
|
@@ -14480,7 +14483,7 @@ Object.defineProperty($o, "__esModule", {
|
|
|
14480
14483
|
});
|
|
14481
14484
|
$o.calcGridColWidth = Rm;
|
|
14482
14485
|
$o.calcGridItemPosition = eH;
|
|
14483
|
-
$o.calcGridItemWHPx =
|
|
14486
|
+
$o.calcGridItemWHPx = hx;
|
|
14484
14487
|
$o.calcWH = nH;
|
|
14485
14488
|
$o.calcXY = tH;
|
|
14486
14489
|
$o.clamp = Ha;
|
|
@@ -14493,7 +14496,7 @@ function Rm(e) {
|
|
|
14493
14496
|
} = e;
|
|
14494
14497
|
return (r - t[0] * (i - 1) - n[0] * 2) / i;
|
|
14495
14498
|
}
|
|
14496
|
-
function
|
|
14499
|
+
function hx(e, t, n) {
|
|
14497
14500
|
return Number.isFinite(e) ? Math.round(t * e + Math.max(0, e - 1) * n) : e;
|
|
14498
14501
|
}
|
|
14499
14502
|
function eH(e, t, n, r, i, o) {
|
|
@@ -14502,7 +14505,7 @@ function eH(e, t, n, r, i, o) {
|
|
|
14502
14505
|
containerPadding: a,
|
|
14503
14506
|
rowHeight: l
|
|
14504
14507
|
} = e, c = Rm(e), u = {};
|
|
14505
|
-
return o && o.resizing ? (u.width = Math.round(o.resizing.width), u.height = Math.round(o.resizing.height)) : (u.width =
|
|
14508
|
+
return o && o.resizing ? (u.width = Math.round(o.resizing.width), u.height = Math.round(o.resizing.height)) : (u.width = hx(r, c, s[0]), u.height = hx(i, l, s[1])), o && o.dragging ? (u.top = Math.round(o.dragging.top), u.left = Math.round(o.dragging.left)) : o && o.resizing && typeof o.resizing.top == "number" && typeof o.resizing.left == "number" ? (u.top = Math.round(o.resizing.top), u.left = Math.round(o.resizing.left)) : (u.top = Math.round((l + s[1]) * n + a[1]), u.left = Math.round((c + s[0]) * t + a[0])), u;
|
|
14506
14509
|
}
|
|
14507
14510
|
function tH(e, t, n, r, i) {
|
|
14508
14511
|
const {
|
|
@@ -14533,7 +14536,7 @@ function nH(e, t, n, r, i, o) {
|
|
|
14533
14536
|
function Ha(e, t, n) {
|
|
14534
14537
|
return Math.max(Math.min(e, n), t);
|
|
14535
14538
|
}
|
|
14536
|
-
var Mm = {},
|
|
14539
|
+
var Mm = {}, px = { exports: {} }, s0, CE;
|
|
14537
14540
|
function J1() {
|
|
14538
14541
|
if (CE)
|
|
14539
14542
|
return s0;
|
|
@@ -15192,10 +15195,10 @@ Valid keys: ` + JSON.stringify(Object.keys(k), null, " ")
|
|
|
15192
15195
|
}
|
|
15193
15196
|
if (process.env.NODE_ENV !== "production") {
|
|
15194
15197
|
var cH = gM(), uH = !0;
|
|
15195
|
-
|
|
15198
|
+
px.exports = lH()(cH.isElement, uH);
|
|
15196
15199
|
} else
|
|
15197
|
-
|
|
15198
|
-
var oa =
|
|
15200
|
+
px.exports = rH()();
|
|
15201
|
+
var oa = px.exports, Dm = { exports: {} }, vM = {};
|
|
15199
15202
|
function bM(e) {
|
|
15200
15203
|
var t, n, r = "";
|
|
15201
15204
|
if (typeof e == "string" || typeof e == "number")
|
|
@@ -16390,15 +16393,15 @@ function aW(e, t) {
|
|
|
16390
16393
|
}
|
|
16391
16394
|
return r.default = e, n && n.set(e, r), r;
|
|
16392
16395
|
}
|
|
16393
|
-
function
|
|
16394
|
-
return
|
|
16396
|
+
function gx() {
|
|
16397
|
+
return gx = Object.assign ? Object.assign.bind() : function(e) {
|
|
16395
16398
|
for (var t = 1; t < arguments.length; t++) {
|
|
16396
16399
|
var n = arguments[t];
|
|
16397
16400
|
for (var r in n)
|
|
16398
16401
|
Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
16399
16402
|
}
|
|
16400
16403
|
return e;
|
|
16401
|
-
},
|
|
16404
|
+
}, gx.apply(this, arguments);
|
|
16402
16405
|
}
|
|
16403
16406
|
function lW(e, t) {
|
|
16404
16407
|
if (e == null)
|
|
@@ -16449,12 +16452,12 @@ function dW(e, t) {
|
|
|
16449
16452
|
return (t === "string" ? String : Number)(e);
|
|
16450
16453
|
}
|
|
16451
16454
|
function fW(e, t) {
|
|
16452
|
-
e.prototype = Object.create(t.prototype), e.prototype.constructor = e,
|
|
16455
|
+
e.prototype = Object.create(t.prototype), e.prototype.constructor = e, mx(e, t);
|
|
16453
16456
|
}
|
|
16454
|
-
function
|
|
16455
|
-
return
|
|
16457
|
+
function mx(e, t) {
|
|
16458
|
+
return mx = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, i) {
|
|
16456
16459
|
return r.__proto__ = i, r;
|
|
16457
|
-
},
|
|
16460
|
+
}, mx(e, t);
|
|
16458
16461
|
}
|
|
16459
16462
|
var iw = /* @__PURE__ */ function(e) {
|
|
16460
16463
|
fW(t, e);
|
|
@@ -16535,7 +16538,7 @@ var iw = /* @__PURE__ */ function(e) {
|
|
|
16535
16538
|
className: (a ? a + " " : "") + "react-resizable",
|
|
16536
16539
|
children: [].concat(s.props.children, c.map(function(f) {
|
|
16537
16540
|
var g, p = (g = i.handleRefs[f]) != null ? g : i.handleRefs[f] = /* @__PURE__ */ Zu.createRef();
|
|
16538
|
-
return /* @__PURE__ */ Zu.createElement(rW.DraggableCore,
|
|
16541
|
+
return /* @__PURE__ */ Zu.createElement(rW.DraggableCore, gx({}, l, {
|
|
16539
16542
|
nodeRef: p,
|
|
16540
16543
|
key: "resizableHandle-" + f,
|
|
16541
16544
|
onStop: i.resizeHandler("onResizeStop", f),
|
|
@@ -16588,15 +16591,15 @@ function vW(e, t) {
|
|
|
16588
16591
|
}
|
|
16589
16592
|
return r.default = e, n && n.set(e, r), r;
|
|
16590
16593
|
}
|
|
16591
|
-
function
|
|
16592
|
-
return
|
|
16594
|
+
function vx() {
|
|
16595
|
+
return vx = Object.assign ? Object.assign.bind() : function(e) {
|
|
16593
16596
|
for (var t = 1; t < arguments.length; t++) {
|
|
16594
16597
|
var n = arguments[t];
|
|
16595
16598
|
for (var r in n)
|
|
16596
16599
|
Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
16597
16600
|
}
|
|
16598
16601
|
return e;
|
|
16599
|
-
},
|
|
16602
|
+
}, vx.apply(this, arguments);
|
|
16600
16603
|
}
|
|
16601
16604
|
function jE(e, t) {
|
|
16602
16605
|
var n = Object.keys(e);
|
|
@@ -16647,12 +16650,12 @@ function wW(e, t) {
|
|
|
16647
16650
|
return n;
|
|
16648
16651
|
}
|
|
16649
16652
|
function _W(e, t) {
|
|
16650
|
-
e.prototype = Object.create(t.prototype), e.prototype.constructor = e,
|
|
16653
|
+
e.prototype = Object.create(t.prototype), e.prototype.constructor = e, bx(e, t);
|
|
16651
16654
|
}
|
|
16652
|
-
function
|
|
16653
|
-
return
|
|
16655
|
+
function bx(e, t) {
|
|
16656
|
+
return bx = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, i) {
|
|
16654
16657
|
return r.__proto__ = i, r;
|
|
16655
|
-
},
|
|
16658
|
+
}, bx(e, t);
|
|
16656
16659
|
}
|
|
16657
16660
|
var MM = /* @__PURE__ */ function(e) {
|
|
16658
16661
|
_W(t, e);
|
|
@@ -16701,7 +16704,7 @@ var MM = /* @__PURE__ */ function(e) {
|
|
|
16701
16704
|
resizeHandles: m,
|
|
16702
16705
|
transformScale: x,
|
|
16703
16706
|
width: this.state.width
|
|
16704
|
-
}, /* @__PURE__ */ m0.createElement("div",
|
|
16707
|
+
}, /* @__PURE__ */ m0.createElement("div", vx({}, w, {
|
|
16705
16708
|
style: Ag(Ag({}, b), {}, {
|
|
16706
16709
|
width: this.state.width + "px",
|
|
16707
16710
|
height: this.state.height + "px"
|
|
@@ -17900,15 +17903,15 @@ function BW(e, t) {
|
|
|
17900
17903
|
}
|
|
17901
17904
|
return r.default = e, n && n.set(e, r), r;
|
|
17902
17905
|
}
|
|
17903
|
-
function
|
|
17904
|
-
return
|
|
17906
|
+
function yx() {
|
|
17907
|
+
return yx = Object.assign ? Object.assign.bind() : function(e) {
|
|
17905
17908
|
for (var t = 1; t < arguments.length; t++) {
|
|
17906
17909
|
var n = arguments[t];
|
|
17907
17910
|
for (var r in n)
|
|
17908
17911
|
Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
17909
17912
|
}
|
|
17910
17913
|
return e;
|
|
17911
|
-
},
|
|
17914
|
+
}, yx.apply(this, arguments);
|
|
17912
17915
|
}
|
|
17913
17916
|
function Ng(e, t, n) {
|
|
17914
17917
|
return t = VW(t), t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
@@ -18009,7 +18012,7 @@ class cw extends VE.Component {
|
|
|
18009
18012
|
onWidthChange: c,
|
|
18010
18013
|
...u
|
|
18011
18014
|
} = this.props;
|
|
18012
|
-
return /* @__PURE__ */ VE.createElement(zW.default,
|
|
18015
|
+
return /* @__PURE__ */ VE.createElement(zW.default, yx({}, u, {
|
|
18013
18016
|
// $FlowIgnore should allow nullable here due to DefaultProps
|
|
18014
18017
|
margin: pp(o, this.state.breakpoint),
|
|
18015
18018
|
containerPadding: pp(s, this.state.breakpoint),
|
|
@@ -18142,7 +18145,7 @@ var uw = {}, FM = function() {
|
|
|
18142
18145
|
}, t;
|
|
18143
18146
|
}()
|
|
18144
18147
|
);
|
|
18145
|
-
}(),
|
|
18148
|
+
}(), xx = typeof window < "u" && typeof document < "u" && window.document === document, Ig = function() {
|
|
18146
18149
|
return typeof global < "u" && global.Math === Math ? global : typeof self < "u" && self.Math === Math ? self : typeof window < "u" && window.Math === Math ? window : Function("return this")();
|
|
18147
18150
|
}(), WW = function() {
|
|
18148
18151
|
return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(Ig) : function(e) {
|
|
@@ -18193,14 +18196,14 @@ var GW = 20, YW = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
18193
18196
|
return n.broadcastActive();
|
|
18194
18197
|
}), t.length > 0;
|
|
18195
18198
|
}, e.prototype.connect_ = function() {
|
|
18196
|
-
!
|
|
18199
|
+
!xx || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), KW ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, {
|
|
18197
18200
|
attributes: !0,
|
|
18198
18201
|
childList: !0,
|
|
18199
18202
|
characterData: !0,
|
|
18200
18203
|
subtree: !0
|
|
18201
18204
|
})) : (document.addEventListener("DOMSubtreeModified", this.refresh), this.mutationEventsAdded_ = !0), this.connected_ = !0);
|
|
18202
18205
|
}, e.prototype.disconnect_ = function() {
|
|
18203
|
-
!
|
|
18206
|
+
!xx || !this.connected_ || (document.removeEventListener("transitionend", this.onTransitionEnd_), window.removeEventListener("resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && document.removeEventListener("DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1);
|
|
18204
18207
|
}, e.prototype.onTransitionEnd_ = function(t) {
|
|
18205
18208
|
var n = t.propertyName, r = n === void 0 ? "" : n, i = YW.some(function(o) {
|
|
18206
18209
|
return !!~r.indexOf(o);
|
|
@@ -18269,7 +18272,7 @@ function tU(e) {
|
|
|
18269
18272
|
return e === nu(e).document.documentElement;
|
|
18270
18273
|
}
|
|
18271
18274
|
function nU(e) {
|
|
18272
|
-
return
|
|
18275
|
+
return xx ? eU(e) ? ZW(e) : JW(e) : BM;
|
|
18273
18276
|
}
|
|
18274
18277
|
function rU(e) {
|
|
18275
18278
|
var t = e.x, n = e.y, r = e.width, i = e.height, o = typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object, s = Object.create(o.prototype);
|
|
@@ -18419,15 +18422,15 @@ function hU(e, t) {
|
|
|
18419
18422
|
}
|
|
18420
18423
|
return r.default = e, n && n.set(e, r), r;
|
|
18421
18424
|
}
|
|
18422
|
-
function
|
|
18423
|
-
return
|
|
18425
|
+
function wx() {
|
|
18426
|
+
return wx = Object.assign ? Object.assign.bind() : function(e) {
|
|
18424
18427
|
for (var t = 1; t < arguments.length; t++) {
|
|
18425
18428
|
var n = arguments[t];
|
|
18426
18429
|
for (var r in n)
|
|
18427
18430
|
Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
18428
18431
|
}
|
|
18429
18432
|
return e;
|
|
18430
|
-
},
|
|
18433
|
+
}, wx.apply(this, arguments);
|
|
18431
18434
|
}
|
|
18432
18435
|
function rc(e, t, n) {
|
|
18433
18436
|
return t = pU(t), t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
@@ -18483,7 +18486,7 @@ function vU(e) {
|
|
|
18483
18486
|
className: (0, fU.default)(this.props.className, mU),
|
|
18484
18487
|
style: this.props.style,
|
|
18485
18488
|
ref: this.elementRef
|
|
18486
|
-
}) : /* @__PURE__ */ gp.createElement(e,
|
|
18489
|
+
}) : /* @__PURE__ */ gp.createElement(e, wx({
|
|
18487
18490
|
innerRef: this.elementRef
|
|
18488
18491
|
}, i, this.state));
|
|
18489
18492
|
}
|
|
@@ -18506,7 +18509,7 @@ function _o({
|
|
|
18506
18509
|
onSave: r,
|
|
18507
18510
|
type: i = "input"
|
|
18508
18511
|
}) {
|
|
18509
|
-
const [o, s] = we(!1), [a, l] = we(n), c =
|
|
18512
|
+
const [o, s] = we(!1), [a, l] = we(n), c = ge(
|
|
18510
18513
|
(g) => g.isDashboardEditing
|
|
18511
18514
|
), u = (g) => {
|
|
18512
18515
|
g.stopPropagation(), c && s(!0);
|
|
@@ -18625,7 +18628,7 @@ function Qo(e) {
|
|
|
18625
18628
|
function qE(e) {
|
|
18626
18629
|
return Vs(Hf(e * 100), 0, 100);
|
|
18627
18630
|
}
|
|
18628
|
-
const Ei = { 0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, A: 10, B: 11, C: 12, D: 13, E: 14, F: 15, a: 10, b: 11, c: 12, d: 13, e: 14, f: 15 },
|
|
18631
|
+
const Ei = { 0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, A: 10, B: 11, C: 12, D: 13, E: 14, F: 15, a: 10, b: 11, c: 12, d: 13, e: 14, f: 15 }, _x = [..."0123456789ABCDEF"], bU = (e) => _x[e & 15], yU = (e) => _x[(e & 240) >> 4] + _x[e & 15], mp = (e) => (e & 240) >> 4 === (e & 15), xU = (e) => mp(e.r) && mp(e.g) && mp(e.b) && mp(e.a);
|
|
18629
18632
|
function wU(e) {
|
|
18630
18633
|
var t = e.length, n;
|
|
18631
18634
|
return e[0] === "#" && (t === 4 || t === 5 ? n = {
|
|
@@ -19237,7 +19240,7 @@ function QM(e, t) {
|
|
|
19237
19240
|
distance: i
|
|
19238
19241
|
};
|
|
19239
19242
|
}
|
|
19240
|
-
function
|
|
19243
|
+
function Sx(e, t) {
|
|
19241
19244
|
return Math.sqrt(Math.pow(t.x - e.x, 2) + Math.pow(t.y - e.y, 2));
|
|
19242
19245
|
}
|
|
19243
19246
|
function QU(e, t) {
|
|
@@ -19637,7 +19640,7 @@ function uq(e) {
|
|
|
19637
19640
|
_indexable: (t) => t !== "backdropPadding"
|
|
19638
19641
|
});
|
|
19639
19642
|
}
|
|
19640
|
-
const hl = /* @__PURE__ */ Object.create(null),
|
|
19643
|
+
const hl = /* @__PURE__ */ Object.create(null), Cx = /* @__PURE__ */ Object.create(null);
|
|
19641
19644
|
function Od(e, t) {
|
|
19642
19645
|
if (!t)
|
|
19643
19646
|
return e;
|
|
@@ -19678,7 +19681,7 @@ class dq {
|
|
|
19678
19681
|
return Od(this, t);
|
|
19679
19682
|
}
|
|
19680
19683
|
describe(t, n) {
|
|
19681
|
-
return w0(
|
|
19684
|
+
return w0(Cx, t, n);
|
|
19682
19685
|
}
|
|
19683
19686
|
override(t, n) {
|
|
19684
19687
|
return w0(hl, t, n);
|
|
@@ -19757,7 +19760,7 @@ function Ra(e, t, n) {
|
|
|
19757
19760
|
function sO(e, t) {
|
|
19758
19761
|
t = t || e.getContext("2d"), t.save(), t.resetTransform(), t.clearRect(0, 0, e.width, e.height), t.restore();
|
|
19759
19762
|
}
|
|
19760
|
-
function
|
|
19763
|
+
function Ex(e, t, n, r) {
|
|
19761
19764
|
oD(e, t, n, r, null);
|
|
19762
19765
|
}
|
|
19763
19766
|
function oD(e, t, n, r, i) {
|
|
@@ -20179,7 +20182,7 @@ function dD(e, t, n, r) {
|
|
|
20179
20182
|
}
|
|
20180
20183
|
const Tq = Number.EPSILON || 1e-14, ou = (e, t) => t < e.length && !e[t].skip && e[t], fD = (e) => e === "x" ? "y" : "x";
|
|
20181
20184
|
function Aq(e, t, n, r) {
|
|
20182
|
-
const i = e.skip ? t : e, o = t, s = n.skip ? t : n, a =
|
|
20185
|
+
const i = e.skip ? t : e, o = t, s = n.skip ? t : n, a = Sx(o, i), l = Sx(s, o);
|
|
20183
20186
|
let c = a / (a + l), u = l / (a + l);
|
|
20184
20187
|
c = isNaN(c) ? 0 : c, u = isNaN(u) ? 0 : u;
|
|
20185
20188
|
const f = r * c, g = r * u;
|
|
@@ -22102,9 +22105,9 @@ Ae(Pd, "id", "polarArea"), Ae(Pd, "defaults", {
|
|
|
22102
22105
|
}
|
|
22103
22106
|
}
|
|
22104
22107
|
});
|
|
22105
|
-
class
|
|
22108
|
+
class Ox extends Wa {
|
|
22106
22109
|
}
|
|
22107
|
-
Ae(
|
|
22110
|
+
Ae(Ox, "id", "pie"), Ae(Ox, "defaults", {
|
|
22108
22111
|
cutout: 0,
|
|
22109
22112
|
rotation: 0,
|
|
22110
22113
|
circumference: 360,
|
|
@@ -22243,7 +22246,7 @@ var $G = /* @__PURE__ */ Object.freeze({
|
|
|
22243
22246
|
BubbleController: sg,
|
|
22244
22247
|
DoughnutController: Wa,
|
|
22245
22248
|
LineController: ag,
|
|
22246
|
-
PieController:
|
|
22249
|
+
PieController: Ox,
|
|
22247
22250
|
PolarAreaController: Pd,
|
|
22248
22251
|
RadarController: lg,
|
|
22249
22252
|
ScatterController: cg
|
|
@@ -23865,7 +23868,7 @@ function SY(e, { plugin: t, local: n }, r, i) {
|
|
|
23865
23868
|
allKeys: !0
|
|
23866
23869
|
});
|
|
23867
23870
|
}
|
|
23868
|
-
function
|
|
23871
|
+
function Px(e, t) {
|
|
23869
23872
|
const n = yn.datasets[e] || {};
|
|
23870
23873
|
return ((t.datasets || {})[e] || {}).indexAxis || t.indexAxis || n.indexAxis || "x";
|
|
23871
23874
|
}
|
|
@@ -23886,7 +23889,7 @@ function OY(e) {
|
|
|
23886
23889
|
if (e === "left" || e === "right")
|
|
23887
23890
|
return "y";
|
|
23888
23891
|
}
|
|
23889
|
-
function
|
|
23892
|
+
function $x(e, ...t) {
|
|
23890
23893
|
if (AO(e))
|
|
23891
23894
|
return e;
|
|
23892
23895
|
for (const n of t) {
|
|
@@ -23913,14 +23916,14 @@ function PY(e, t) {
|
|
|
23913
23916
|
function $Y(e, t) {
|
|
23914
23917
|
const n = hl[e.type] || {
|
|
23915
23918
|
scales: {}
|
|
23916
|
-
}, r = t.scales || {}, i =
|
|
23919
|
+
}, r = t.scales || {}, i = Px(e.type, t), o = /* @__PURE__ */ Object.create(null);
|
|
23917
23920
|
return Object.keys(r).forEach((s) => {
|
|
23918
23921
|
const a = r[s];
|
|
23919
23922
|
if (!Rt(a))
|
|
23920
23923
|
return console.error(`Invalid scale configuration for scale: ${s}`);
|
|
23921
23924
|
if (a._proxy)
|
|
23922
23925
|
return console.warn(`Ignoring resolver passed as options for scale: ${s}`);
|
|
23923
|
-
const l =
|
|
23926
|
+
const l = $x(s, a, PY(s, e), yn.scales[a.type]), c = EY(l, i), u = n.scales || {};
|
|
23924
23927
|
o[s] = Sd(/* @__PURE__ */ Object.create(null), [
|
|
23925
23928
|
{
|
|
23926
23929
|
axis: l
|
|
@@ -23930,7 +23933,7 @@ function $Y(e, t) {
|
|
|
23930
23933
|
u[c]
|
|
23931
23934
|
]);
|
|
23932
23935
|
}), e.data.datasets.forEach((s) => {
|
|
23933
|
-
const a = s.type || e.type, l = s.indexAxis ||
|
|
23936
|
+
const a = s.type || e.type, l = s.indexAxis || Px(a, t), u = (hl[a] || {}).scales || {};
|
|
23934
23937
|
Object.keys(u).forEach((f) => {
|
|
23935
23938
|
const g = CY(f, l), p = s[g + "AxisID"] || g;
|
|
23936
23939
|
o[p] = o[p] || /* @__PURE__ */ Object.create(null), Sd(o[p], [
|
|
@@ -24053,7 +24056,7 @@ class RY {
|
|
|
24053
24056
|
return a;
|
|
24054
24057
|
const l = /* @__PURE__ */ new Set();
|
|
24055
24058
|
n.forEach((u) => {
|
|
24056
|
-
t && (l.add(t), u.forEach((f) => rd(l, t, f))), u.forEach((f) => rd(l, i, f)), u.forEach((f) => rd(l, hl[o] || {}, f)), u.forEach((f) => rd(l, yn, f)), u.forEach((f) => rd(l,
|
|
24059
|
+
t && (l.add(t), u.forEach((f) => rd(l, t, f))), u.forEach((f) => rd(l, i, f)), u.forEach((f) => rd(l, hl[o] || {}, f)), u.forEach((f) => rd(l, yn, f)), u.forEach((f) => rd(l, Cx, f));
|
|
24057
24060
|
});
|
|
24058
24061
|
const c = Array.from(l);
|
|
24059
24062
|
return c.length === 0 && c.push(/* @__PURE__ */ Object.create(null)), $D.has(n) && s.set(n, c), c;
|
|
@@ -24068,7 +24071,7 @@ class RY {
|
|
|
24068
24071
|
type: n
|
|
24069
24072
|
},
|
|
24070
24073
|
yn,
|
|
24071
|
-
|
|
24074
|
+
Cx
|
|
24072
24075
|
];
|
|
24073
24076
|
}
|
|
24074
24077
|
resolveNamedOptions(t, n, r, i = [
|
|
@@ -24247,14 +24250,14 @@ class Ri {
|
|
|
24247
24250
|
const t = this.options, n = t.scales, r = this.scales, i = Object.keys(r).reduce((s, a) => (s[a] = !1, s), {});
|
|
24248
24251
|
let o = [];
|
|
24249
24252
|
n && (o = o.concat(Object.keys(n).map((s) => {
|
|
24250
|
-
const a = n[s], l =
|
|
24253
|
+
const a = n[s], l = $x(s, a), c = l === "r", u = l === "x";
|
|
24251
24254
|
return {
|
|
24252
24255
|
options: a,
|
|
24253
24256
|
dposition: c ? "chartArea" : u ? "bottom" : "left",
|
|
24254
24257
|
dtype: c ? "radialLinear" : u ? "category" : "linear"
|
|
24255
24258
|
};
|
|
24256
24259
|
}))), Vt(o, (s) => {
|
|
24257
|
-
const a = s.options, l = a.id, c =
|
|
24260
|
+
const a = s.options, l = a.id, c = $x(l, a), u = dt(a.type, s.dtype);
|
|
24258
24261
|
(a.position === void 0 || jO(a.position, c) !== jO(s.dposition)) && (a.position = s.dposition), i[l] = !0;
|
|
24259
24262
|
let f = null;
|
|
24260
24263
|
if (l in r && r[l].type === u)
|
|
@@ -24297,7 +24300,7 @@ class Ri {
|
|
|
24297
24300
|
const o = n[r];
|
|
24298
24301
|
let s = this.getDatasetMeta(r);
|
|
24299
24302
|
const a = o.type || this.config.type;
|
|
24300
|
-
if (s.type && s.type !== a && (this._destroyDatasetMeta(r), s = this.getDatasetMeta(r)), s.type = a, s.indexAxis = o.indexAxis ||
|
|
24303
|
+
if (s.type && s.type !== a && (this._destroyDatasetMeta(r), s = this.getDatasetMeta(r)), s.type = a, s.indexAxis = o.indexAxis || Px(a, this.options), s.order = o.order || 0, s.index = r, s.label = "" + o.label, s.visible = this.isDatasetVisible(r), s.controller)
|
|
24301
24304
|
s.controller.updateIndex(r), s.controller.linkScales();
|
|
24302
24305
|
else {
|
|
24303
24306
|
const l = ao.getController(a), { datasetElementType: c, dataElementType: u } = yn.datasets[a];
|
|
@@ -24866,7 +24869,7 @@ function GY(e, t, n, r) {
|
|
|
24866
24869
|
}
|
|
24867
24870
|
S();
|
|
24868
24871
|
}
|
|
24869
|
-
function
|
|
24872
|
+
function kx(e) {
|
|
24870
24873
|
const t = e.options, n = t.borderDash && t.borderDash.length;
|
|
24871
24874
|
return !e._decimated && !e._loop && !t.tension && t.cubicInterpolationMode !== "monotone" && !t.stepped && !n ? GY : qY;
|
|
24872
24875
|
}
|
|
@@ -24878,7 +24881,7 @@ function KY(e, t, n, r) {
|
|
|
24878
24881
|
i || (i = t._path = new Path2D(), t.path(i, n, r) && i.closePath()), RD(e, t.options), e.stroke(i);
|
|
24879
24882
|
}
|
|
24880
24883
|
function XY(e, t, n, r) {
|
|
24881
|
-
const { segments: i, options: o } = t, s =
|
|
24884
|
+
const { segments: i, options: o } = t, s = kx(t);
|
|
24882
24885
|
for (const a of i)
|
|
24883
24886
|
RD(e, o, a.style), e.beginPath(), s(e, t, a, {
|
|
24884
24887
|
start: n,
|
|
@@ -24939,10 +24942,10 @@ class Ws extends us {
|
|
|
24939
24942
|
return a.length === 1 ? a[0] : a;
|
|
24940
24943
|
}
|
|
24941
24944
|
pathSegment(t, n, r) {
|
|
24942
|
-
return
|
|
24945
|
+
return kx(this)(t, this, n, r);
|
|
24943
24946
|
}
|
|
24944
24947
|
path(t, n, r) {
|
|
24945
|
-
const i = this.segments, o =
|
|
24948
|
+
const i = this.segments, o = kx(this);
|
|
24946
24949
|
let s = this._loop;
|
|
24947
24950
|
n = n || 0, r = r || this.points.length - n;
|
|
24948
24951
|
for (const a of i)
|
|
@@ -25022,7 +25025,7 @@ class $d extends us {
|
|
|
25022
25025
|
}
|
|
25023
25026
|
draw(n, r) {
|
|
25024
25027
|
const i = this.options;
|
|
25025
|
-
this.skip || i.radius < 0.1 || !ts(this, r, this.size(i) / 2) || (n.strokeStyle = i.borderColor, n.lineWidth = i.borderWidth, n.fillStyle = i.backgroundColor,
|
|
25028
|
+
this.skip || i.radius < 0.1 || !ts(this, r, this.size(i) / 2) || (n.strokeStyle = i.borderColor, n.lineWidth = i.borderWidth, n.fillStyle = i.backgroundColor, Ex(n, i, this.x, this.y));
|
|
25026
25029
|
}
|
|
25027
25030
|
getRange() {
|
|
25028
25031
|
const n = this.options || {};
|
|
@@ -25180,7 +25183,7 @@ var iK = /* @__PURE__ */ Object.freeze({
|
|
|
25180
25183
|
LineElement: Ws,
|
|
25181
25184
|
PointElement: $d
|
|
25182
25185
|
});
|
|
25183
|
-
const
|
|
25186
|
+
const Rx = [
|
|
25184
25187
|
"rgb(54, 162, 235)",
|
|
25185
25188
|
"rgb(255, 99, 132)",
|
|
25186
25189
|
"rgb(255, 159, 64)",
|
|
@@ -25189,9 +25192,9 @@ const kx = [
|
|
|
25189
25192
|
"rgb(153, 102, 255)",
|
|
25190
25193
|
"rgb(201, 203, 207)"
|
|
25191
25194
|
// grey
|
|
25192
|
-
], WO = /* @__PURE__ */
|
|
25195
|
+
], WO = /* @__PURE__ */ Rx.map((e) => e.replace("rgb(", "rgba(").replace(")", ", 0.5)"));
|
|
25193
25196
|
function TD(e) {
|
|
25194
|
-
return
|
|
25197
|
+
return Rx[e % Rx.length];
|
|
25195
25198
|
}
|
|
25196
25199
|
function AD(e) {
|
|
25197
25200
|
return WO[e % WO.length];
|
|
@@ -25370,7 +25373,7 @@ function gK(e, t, n) {
|
|
|
25370
25373
|
for (const a of r) {
|
|
25371
25374
|
let { start: l, end: c } = a;
|
|
25372
25375
|
c = $w(l, c, i);
|
|
25373
|
-
const u =
|
|
25376
|
+
const u = Mx(n, i[l], i[c], a.loop);
|
|
25374
25377
|
if (!t.segments) {
|
|
25375
25378
|
s.push({
|
|
25376
25379
|
source: a,
|
|
@@ -25382,7 +25385,7 @@ function gK(e, t, n) {
|
|
|
25382
25385
|
}
|
|
25383
25386
|
const f = vD(t, u);
|
|
25384
25387
|
for (const g of f) {
|
|
25385
|
-
const p =
|
|
25388
|
+
const p = Mx(n, o[g.start], o[g.end], g.loop), m = mD(a, i, p);
|
|
25386
25389
|
for (const b of m)
|
|
25387
25390
|
s.push({
|
|
25388
25391
|
source: b,
|
|
@@ -25398,7 +25401,7 @@ function gK(e, t, n) {
|
|
|
25398
25401
|
}
|
|
25399
25402
|
return s;
|
|
25400
25403
|
}
|
|
25401
|
-
function
|
|
25404
|
+
function Mx(e, t, n, r) {
|
|
25402
25405
|
if (r)
|
|
25403
25406
|
return;
|
|
25404
25407
|
let i = t[e], o = n[e];
|
|
@@ -25666,7 +25669,7 @@ function XO(e, t) {
|
|
|
25666
25669
|
const { line: n, target: r, property: i, color: o, scale: s } = t, a = gK(n, r, i);
|
|
25667
25670
|
for (const { source: l, target: c, start: u, end: f } of a) {
|
|
25668
25671
|
const { style: { backgroundColor: g = o } = {} } = l, p = r !== !0;
|
|
25669
|
-
e.save(), e.fillStyle = g, TK(e, s, p &&
|
|
25672
|
+
e.save(), e.fillStyle = g, TK(e, s, p && Mx(i, u, f)), e.beginPath();
|
|
25670
25673
|
const m = !!n.pathSegment(e, l);
|
|
25671
25674
|
let b;
|
|
25672
25675
|
if (p) {
|
|
@@ -26196,7 +26199,7 @@ const vd = {
|
|
|
26196
26199
|
for (o = 0, s = e.length; o < s; ++o) {
|
|
26197
26200
|
const l = e[o].element;
|
|
26198
26201
|
if (l && l.hasValue()) {
|
|
26199
|
-
const c = l.getCenterPoint(), u =
|
|
26202
|
+
const c = l.getCenterPoint(), u = Sx(t, c);
|
|
26200
26203
|
u < i && (i = u, a = l);
|
|
26201
26204
|
}
|
|
26202
26205
|
}
|
|
@@ -26479,7 +26482,7 @@ let oP = (Sy = class extends us {
|
|
|
26479
26482
|
rotation: a.rotation,
|
|
26480
26483
|
borderWidth: 1
|
|
26481
26484
|
}, x = i.leftForLtr(g, c) + c / 2, w = m + l / 2;
|
|
26482
|
-
t.strokeStyle = o.multiKeyBackground, t.fillStyle = o.multiKeyBackground,
|
|
26485
|
+
t.strokeStyle = o.multiKeyBackground, t.fillStyle = o.multiKeyBackground, Ex(t, b, x, w), t.strokeStyle = s.borderColor, t.fillStyle = s.backgroundColor, Ex(t, b, x, w);
|
|
26483
26486
|
} else {
|
|
26484
26487
|
t.lineWidth = Rt(s.borderWidth) ? Math.max(...Object.values(s.borderWidth)) : s.borderWidth || 1, t.strokeStyle = s.borderColor, t.setLineDash(s.borderDash || []), t.lineDashOffset = s.borderDashOffset || 0;
|
|
26485
26488
|
const b = i.leftForLtr(g, c), x = i.leftForLtr(i.xPlus(g, 1), c - 2), w = ol(s.borderRadius);
|
|
@@ -26737,7 +26740,7 @@ function sP(e) {
|
|
|
26737
26740
|
const t = this.getLabels();
|
|
26738
26741
|
return e >= 0 && e < t.length ? t[e] : e;
|
|
26739
26742
|
}
|
|
26740
|
-
class
|
|
26743
|
+
class Dx extends El {
|
|
26741
26744
|
constructor(t) {
|
|
26742
26745
|
super(t), this._startValue = void 0, this._valueRange = 0, this._addedLabels = [];
|
|
26743
26746
|
}
|
|
@@ -26792,7 +26795,7 @@ class Mx extends El {
|
|
|
26792
26795
|
return this.bottom;
|
|
26793
26796
|
}
|
|
26794
26797
|
}
|
|
26795
|
-
Ae(
|
|
26798
|
+
Ae(Dx, "id", "category"), Ae(Dx, "defaults", {
|
|
26796
26799
|
ticks: {
|
|
26797
26800
|
callback: sP
|
|
26798
26801
|
}
|
|
@@ -26894,7 +26897,7 @@ class Ug extends El {
|
|
|
26894
26897
|
return Wf(t, this.chart.options.locale, this.options.ticks.format);
|
|
26895
26898
|
}
|
|
26896
26899
|
}
|
|
26897
|
-
class
|
|
26900
|
+
class Tx extends Ug {
|
|
26898
26901
|
determineDataLimits() {
|
|
26899
26902
|
const { min: t, max: n } = this.getMinMax(!0);
|
|
26900
26903
|
this.min = _n(t) ? t : 0, this.max = _n(n) ? n : 1, this.handleTickRangeOptions();
|
|
@@ -26910,7 +26913,7 @@ class Dx extends Ug {
|
|
|
26910
26913
|
return this._startValue + this.getDecimalForPixel(t) * this._valueRange;
|
|
26911
26914
|
}
|
|
26912
26915
|
}
|
|
26913
|
-
Ae(
|
|
26916
|
+
Ae(Tx, "id", "linear"), Ae(Tx, "defaults", {
|
|
26914
26917
|
ticks: {
|
|
26915
26918
|
callback: Hm.formatters.numeric
|
|
26916
26919
|
}
|
|
@@ -26951,7 +26954,7 @@ function iX(e, { min: t, max: n }) {
|
|
|
26951
26954
|
significand: f
|
|
26952
26955
|
}), r;
|
|
26953
26956
|
}
|
|
26954
|
-
class
|
|
26957
|
+
class Ax extends El {
|
|
26955
26958
|
constructor(t) {
|
|
26956
26959
|
super(t), this.start = void 0, this.end = void 0, this._startValue = void 0, this._valueRange = 0;
|
|
26957
26960
|
}
|
|
@@ -26998,7 +27001,7 @@ class Tx extends El {
|
|
|
26998
27001
|
return Math.pow(10, this._startValue + n * this._valueRange);
|
|
26999
27002
|
}
|
|
27000
27003
|
}
|
|
27001
|
-
Ae(
|
|
27004
|
+
Ae(Ax, "id", "logarithmic"), Ae(Ax, "defaults", {
|
|
27002
27005
|
ticks: {
|
|
27003
27006
|
callback: Hm.formatters.logarithmic,
|
|
27004
27007
|
major: {
|
|
@@ -27006,7 +27009,7 @@ Ae(Tx, "id", "logarithmic"), Ae(Tx, "defaults", {
|
|
|
27006
27009
|
}
|
|
27007
27010
|
}
|
|
27008
27011
|
});
|
|
27009
|
-
function
|
|
27012
|
+
function Nx(e) {
|
|
27010
27013
|
const t = e.ticks;
|
|
27011
27014
|
if (t.display && e.display) {
|
|
27012
27015
|
const n = sr(t.backdropPadding);
|
|
@@ -27089,7 +27092,7 @@ function cX(e, t) {
|
|
|
27089
27092
|
}
|
|
27090
27093
|
function uX(e, t, n) {
|
|
27091
27094
|
const r = [], i = e._pointLabels.length, o = e.options, { centerPointLabels: s, display: a } = o.pointLabels, l = {
|
|
27092
|
-
extra:
|
|
27095
|
+
extra: Nx(o) / 2,
|
|
27093
27096
|
additionalAngle: s ? fn / i : 0
|
|
27094
27097
|
};
|
|
27095
27098
|
let c;
|
|
@@ -27167,7 +27170,7 @@ class bd extends Ug {
|
|
|
27167
27170
|
super(t), this.xCenter = void 0, this.yCenter = void 0, this.drawingArea = void 0, this._pointLabels = [], this._pointLabelItems = [];
|
|
27168
27171
|
}
|
|
27169
27172
|
setDimensions() {
|
|
27170
|
-
const t = this._padding = sr(
|
|
27173
|
+
const t = this._padding = sr(Nx(this.options) / 2), n = this.width = this.maxWidth - t.width, r = this.height = this.maxHeight - t.height;
|
|
27171
27174
|
this.xCenter = Math.floor(this.left + n / 2 + t.left), this.yCenter = Math.floor(this.top + r / 2 + t.top), this.drawingArea = Math.floor(Math.min(n, r) / 2);
|
|
27172
27175
|
}
|
|
27173
27176
|
determineDataLimits() {
|
|
@@ -27175,7 +27178,7 @@ class bd extends Ug {
|
|
|
27175
27178
|
this.min = _n(t) && !isNaN(t) ? t : 0, this.max = _n(n) && !isNaN(n) ? n : 0, this.handleTickRangeOptions();
|
|
27176
27179
|
}
|
|
27177
27180
|
computeTickLimit() {
|
|
27178
|
-
return Math.ceil(this.drawingArea /
|
|
27181
|
+
return Math.ceil(this.drawingArea / Nx(this.options));
|
|
27179
27182
|
}
|
|
27180
27183
|
generateTickLabels(t) {
|
|
27181
27184
|
Ug.prototype.generateTickLabels.call(this, t), this._pointLabels = this.getLabels().map((n, r) => {
|
|
@@ -27602,7 +27605,7 @@ function kp(e, t, n) {
|
|
|
27602
27605
|
const c = s - o;
|
|
27603
27606
|
return c ? a + (l - a) * (t - o) / c : a;
|
|
27604
27607
|
}
|
|
27605
|
-
class
|
|
27608
|
+
class Ix extends Zd {
|
|
27606
27609
|
constructor(t) {
|
|
27607
27610
|
super(t), this._table = [], this._minPos = void 0, this._tableRange = void 0;
|
|
27608
27611
|
}
|
|
@@ -27653,15 +27656,15 @@ class Nx extends Zd {
|
|
|
27653
27656
|
return kp(this._table, r * this._tableRange + this._minPos, !0);
|
|
27654
27657
|
}
|
|
27655
27658
|
}
|
|
27656
|
-
Ae(
|
|
27659
|
+
Ae(Ix, "id", "timeseries"), Ae(Ix, "defaults", Zd.defaults);
|
|
27657
27660
|
var wX = /* @__PURE__ */ Object.freeze({
|
|
27658
27661
|
__proto__: null,
|
|
27659
|
-
CategoryScale:
|
|
27660
|
-
LinearScale:
|
|
27661
|
-
LogarithmicScale:
|
|
27662
|
+
CategoryScale: Dx,
|
|
27663
|
+
LinearScale: Tx,
|
|
27664
|
+
LogarithmicScale: Ax,
|
|
27662
27665
|
RadialLinearScale: bd,
|
|
27663
27666
|
TimeScale: Zd,
|
|
27664
|
-
TimeSeriesScale:
|
|
27667
|
+
TimeSeriesScale: Ix
|
|
27665
27668
|
});
|
|
27666
27669
|
const _X = [
|
|
27667
27670
|
$G,
|
|
@@ -28188,7 +28191,7 @@ function zX(e, t) {
|
|
|
28188
28191
|
listeners: r
|
|
28189
28192
|
});
|
|
28190
28193
|
}
|
|
28191
|
-
function
|
|
28194
|
+
function Lx(e, t, n, r) {
|
|
28192
28195
|
if (t) {
|
|
28193
28196
|
var i = n.$context, o = n.$groups, s;
|
|
28194
28197
|
t[o._set] && (s = t[o._set][o._key], s && Gt(s, [i, r]) === !0 && (e[Ir]._dirty = !0, n.update(i)));
|
|
@@ -28196,7 +28199,7 @@ function Ix(e, t, n, r) {
|
|
|
28196
28199
|
}
|
|
28197
28200
|
function BX(e, t, n, r, i) {
|
|
28198
28201
|
var o, s;
|
|
28199
|
-
!n && !r || (n ? r ? n !== r && (s = o = !0) : s = !0 : o = !0, s &&
|
|
28202
|
+
!n && !r || (n ? r ? n !== r && (s = o = !0) : s = !0 : o = !0, s && Lx(e, t.leave, n, i), o && Lx(e, t.enter, r, i));
|
|
28200
28203
|
}
|
|
28201
28204
|
function VX(e, t) {
|
|
28202
28205
|
var n = e[Ir], r = n._listeners, i, o;
|
|
@@ -28210,7 +28213,7 @@ function VX(e, t) {
|
|
|
28210
28213
|
}
|
|
28211
28214
|
function HX(e, t) {
|
|
28212
28215
|
var n = e[Ir], r = n._listeners.click, i = r && Md.lookup(n._labels, t);
|
|
28213
|
-
i &&
|
|
28216
|
+
i && Lx(e, r, i, t);
|
|
28214
28217
|
}
|
|
28215
28218
|
var WX = {
|
|
28216
28219
|
id: "datalabels",
|
|
@@ -28281,7 +28284,7 @@ Ri.register(..._X);
|
|
|
28281
28284
|
Ri.register(WX);
|
|
28282
28285
|
function Rw({ cfg: e, onDatapointClick: t }) {
|
|
28283
28286
|
var a;
|
|
28284
|
-
const n = ue(null), [r, i] = we(), o =
|
|
28287
|
+
const n = ue(null), [r, i] = we(), o = ge((l) => l.themeStyle);
|
|
28285
28288
|
ye(() => {
|
|
28286
28289
|
var u, f, g, p;
|
|
28287
28290
|
(f = (u = o == null ? void 0 : o.chart) == null ? void 0 : u.font) != null && f.family && (Ri.defaults.font = {
|
|
@@ -28336,7 +28339,7 @@ function Ni(e, t) {
|
|
|
28336
28339
|
i = r[o], !(t.indexOf(i) >= 0) && (n[i] = e[i]);
|
|
28337
28340
|
return n;
|
|
28338
28341
|
}
|
|
28339
|
-
var UX = ["color"], KD = /* @__PURE__ */
|
|
28342
|
+
var UX = ["color"], KD = /* @__PURE__ */ pe(function(e, t) {
|
|
28340
28343
|
var n = e.color, r = n === void 0 ? "currentColor" : n, i = Ni(e, UX);
|
|
28341
28344
|
return j("svg", Object.assign({
|
|
28342
28345
|
width: "15",
|
|
@@ -28352,7 +28355,7 @@ var UX = ["color"], KD = /* @__PURE__ */ ge(function(e, t) {
|
|
|
28352
28355
|
fillRule: "evenodd",
|
|
28353
28356
|
clipRule: "evenodd"
|
|
28354
28357
|
}));
|
|
28355
|
-
}), qX = ["color"], GX = /* @__PURE__ */
|
|
28358
|
+
}), qX = ["color"], GX = /* @__PURE__ */ pe(function(e, t) {
|
|
28356
28359
|
var n = e.color, r = n === void 0 ? "currentColor" : n, i = Ni(e, qX);
|
|
28357
28360
|
return j("svg", Object.assign({
|
|
28358
28361
|
width: "15",
|
|
@@ -28368,7 +28371,7 @@ var UX = ["color"], KD = /* @__PURE__ */ ge(function(e, t) {
|
|
|
28368
28371
|
fillRule: "evenodd",
|
|
28369
28372
|
clipRule: "evenodd"
|
|
28370
28373
|
}));
|
|
28371
|
-
}), YX = ["color"], XD = /* @__PURE__ */
|
|
28374
|
+
}), YX = ["color"], XD = /* @__PURE__ */ pe(function(e, t) {
|
|
28372
28375
|
var n = e.color, r = n === void 0 ? "currentColor" : n, i = Ni(e, YX);
|
|
28373
28376
|
return j("svg", Object.assign({
|
|
28374
28377
|
width: "15",
|
|
@@ -28384,7 +28387,7 @@ var UX = ["color"], KD = /* @__PURE__ */ ge(function(e, t) {
|
|
|
28384
28387
|
fillRule: "evenodd",
|
|
28385
28388
|
clipRule: "evenodd"
|
|
28386
28389
|
}));
|
|
28387
|
-
}), KX = ["color"], su = /* @__PURE__ */
|
|
28390
|
+
}), KX = ["color"], su = /* @__PURE__ */ pe(function(e, t) {
|
|
28388
28391
|
var n = e.color, r = n === void 0 ? "currentColor" : n, i = Ni(e, KX);
|
|
28389
28392
|
return j("svg", Object.assign({
|
|
28390
28393
|
width: "15",
|
|
@@ -28400,7 +28403,7 @@ var UX = ["color"], KD = /* @__PURE__ */ ge(function(e, t) {
|
|
|
28400
28403
|
fillRule: "evenodd",
|
|
28401
28404
|
clipRule: "evenodd"
|
|
28402
28405
|
}));
|
|
28403
|
-
}), XX = ["color"], QX = /* @__PURE__ */
|
|
28406
|
+
}), XX = ["color"], QX = /* @__PURE__ */ pe(function(e, t) {
|
|
28404
28407
|
var n = e.color, r = n === void 0 ? "currentColor" : n, i = Ni(e, XX);
|
|
28405
28408
|
return j("svg", Object.assign({
|
|
28406
28409
|
width: "15",
|
|
@@ -28416,7 +28419,7 @@ var UX = ["color"], KD = /* @__PURE__ */ ge(function(e, t) {
|
|
|
28416
28419
|
fillRule: "evenodd",
|
|
28417
28420
|
clipRule: "evenodd"
|
|
28418
28421
|
}));
|
|
28419
|
-
}), ZX = ["color"], JX = /* @__PURE__ */
|
|
28422
|
+
}), ZX = ["color"], JX = /* @__PURE__ */ pe(function(e, t) {
|
|
28420
28423
|
var n = e.color, r = n === void 0 ? "currentColor" : n, i = Ni(e, ZX);
|
|
28421
28424
|
return j("svg", Object.assign({
|
|
28422
28425
|
width: "15",
|
|
@@ -28432,7 +28435,7 @@ var UX = ["color"], KD = /* @__PURE__ */ ge(function(e, t) {
|
|
|
28432
28435
|
fillRule: "evenodd",
|
|
28433
28436
|
clipRule: "evenodd"
|
|
28434
28437
|
}));
|
|
28435
|
-
}), eQ = ["color"], QD = /* @__PURE__ */
|
|
28438
|
+
}), eQ = ["color"], QD = /* @__PURE__ */ pe(function(e, t) {
|
|
28436
28439
|
var n = e.color, r = n === void 0 ? "currentColor" : n, i = Ni(e, eQ);
|
|
28437
28440
|
return j("svg", Object.assign({
|
|
28438
28441
|
width: "15",
|
|
@@ -28448,7 +28451,7 @@ var UX = ["color"], KD = /* @__PURE__ */ ge(function(e, t) {
|
|
|
28448
28451
|
fillRule: "evenodd",
|
|
28449
28452
|
clipRule: "evenodd"
|
|
28450
28453
|
}));
|
|
28451
|
-
}), tQ = ["color"], nQ = /* @__PURE__ */
|
|
28454
|
+
}), tQ = ["color"], nQ = /* @__PURE__ */ pe(function(e, t) {
|
|
28452
28455
|
var n = e.color, r = n === void 0 ? "currentColor" : n, i = Ni(e, tQ);
|
|
28453
28456
|
return j("svg", Object.assign({
|
|
28454
28457
|
width: "15",
|
|
@@ -28464,7 +28467,7 @@ var UX = ["color"], KD = /* @__PURE__ */ ge(function(e, t) {
|
|
|
28464
28467
|
fillRule: "evenodd",
|
|
28465
28468
|
clipRule: "evenodd"
|
|
28466
28469
|
}));
|
|
28467
|
-
}), rQ = ["color"], iQ = /* @__PURE__ */
|
|
28470
|
+
}), rQ = ["color"], iQ = /* @__PURE__ */ pe(function(e, t) {
|
|
28468
28471
|
var n = e.color, r = n === void 0 ? "currentColor" : n, i = Ni(e, rQ);
|
|
28469
28472
|
return j("svg", Object.assign({
|
|
28470
28473
|
width: "15",
|
|
@@ -28480,7 +28483,7 @@ var UX = ["color"], KD = /* @__PURE__ */ ge(function(e, t) {
|
|
|
28480
28483
|
fillRule: "evenodd",
|
|
28481
28484
|
clipRule: "evenodd"
|
|
28482
28485
|
}));
|
|
28483
|
-
}), oQ = ["color"], sQ = /* @__PURE__ */
|
|
28486
|
+
}), oQ = ["color"], sQ = /* @__PURE__ */ pe(function(e, t) {
|
|
28484
28487
|
var n = e.color, r = n === void 0 ? "currentColor" : n, i = Ni(e, oQ);
|
|
28485
28488
|
return j("svg", Object.assign({
|
|
28486
28489
|
width: "15",
|
|
@@ -28496,7 +28499,7 @@ var UX = ["color"], KD = /* @__PURE__ */ ge(function(e, t) {
|
|
|
28496
28499
|
fillRule: "evenodd",
|
|
28497
28500
|
clipRule: "evenodd"
|
|
28498
28501
|
}));
|
|
28499
|
-
}), aQ = ["color"], Mw = /* @__PURE__ */
|
|
28502
|
+
}), aQ = ["color"], Mw = /* @__PURE__ */ pe(function(e, t) {
|
|
28500
28503
|
var n = e.color, r = n === void 0 ? "currentColor" : n, i = Ni(e, aQ);
|
|
28501
28504
|
return j("svg", Object.assign({
|
|
28502
28505
|
width: "15",
|
|
@@ -28510,7 +28513,7 @@ var UX = ["color"], KD = /* @__PURE__ */ ge(function(e, t) {
|
|
|
28510
28513
|
d: "M4 6H11L7.5 10.5L4 6Z",
|
|
28511
28514
|
fill: r
|
|
28512
28515
|
}));
|
|
28513
|
-
}), lQ = ["color"], Dw = /* @__PURE__ */
|
|
28516
|
+
}), lQ = ["color"], Dw = /* @__PURE__ */ pe(function(e, t) {
|
|
28514
28517
|
var n = e.color, r = n === void 0 ? "currentColor" : n, i = Ni(e, lQ);
|
|
28515
28518
|
return j("svg", Object.assign({
|
|
28516
28519
|
width: "15",
|
|
@@ -28527,7 +28530,7 @@ var UX = ["color"], KD = /* @__PURE__ */ ge(function(e, t) {
|
|
|
28527
28530
|
});
|
|
28528
28531
|
function cQ(e, t, n) {
|
|
28529
28532
|
var l, c, u, f;
|
|
28530
|
-
const r = n == null ? void 0 : n.datasetOptions, i =
|
|
28533
|
+
const r = n == null ? void 0 : n.datasetOptions, i = ge.getState().themeStyle, o = (c = (l = i == null ? void 0 : i.chart) == null ? void 0 : l.dataset) == null ? void 0 : c.backgroundColor, s = (f = (u = i == null ? void 0 : i.chart) == null ? void 0 : u.dataset) == null ? void 0 : f.borderColor;
|
|
28531
28534
|
return e.map((g, p) => {
|
|
28532
28535
|
var _;
|
|
28533
28536
|
const m = r == null ? void 0 : r.find((S) => S.idx === p), b = o == null ? void 0 : o[p % o.length], x = s == null ? void 0 : s[p % s.length];
|
|
@@ -28557,7 +28560,7 @@ function dQ(e) {
|
|
|
28557
28560
|
var a, l, c, u;
|
|
28558
28561
|
const { metricKeys: t, dimensionKeys: n } = Vr(e);
|
|
28559
28562
|
let r = [];
|
|
28560
|
-
const i =
|
|
28563
|
+
const i = ge.getState().themeStyle, o = (l = (a = i == null ? void 0 : i.chart) == null ? void 0 : a.dataset) == null ? void 0 : l.backgroundColor, s = (u = (c = i == null ? void 0 : i.chart) == null ? void 0 : c.dataset) == null ? void 0 : u.borderColor;
|
|
28561
28564
|
if ((n == null ? void 0 : n.length) === 1) {
|
|
28562
28565
|
const f = e.map((g) => ({
|
|
28563
28566
|
x: g[t[0]],
|
|
@@ -28589,7 +28592,7 @@ function dQ(e) {
|
|
|
28589
28592
|
}
|
|
28590
28593
|
function fQ(e, t) {
|
|
28591
28594
|
var s, a, l, c;
|
|
28592
|
-
const n =
|
|
28595
|
+
const n = ge.getState().themeStyle, r = (a = (s = n == null ? void 0 : n.chart) == null ? void 0 : s.dataset) == null ? void 0 : a.backgroundColor, i = (c = (l = n == null ? void 0 : n.chart) == null ? void 0 : l.dataset) == null ? void 0 : c.borderColor;
|
|
28593
28596
|
return e.map((u) => ({
|
|
28594
28597
|
label: u.charAt(0).toUpperCase() + u.slice(1),
|
|
28595
28598
|
data: t.map((f) => f[u]),
|
|
@@ -28630,7 +28633,7 @@ function Vr(e) {
|
|
|
28630
28633
|
});
|
|
28631
28634
|
return { keys: n, dimensionKeys: r, metricKeys: i };
|
|
28632
28635
|
}
|
|
28633
|
-
function
|
|
28636
|
+
function jx(e, t) {
|
|
28634
28637
|
var r;
|
|
28635
28638
|
const n = (r = t == null ? void 0 : t.data) == null ? void 0 : r.datasets;
|
|
28636
28639
|
return n && n.length > 0 ? e.map((o, s) => ({
|
|
@@ -28652,9 +28655,9 @@ function Tw({
|
|
|
28652
28655
|
}, {});
|
|
28653
28656
|
return Object.values(i);
|
|
28654
28657
|
}
|
|
28655
|
-
function
|
|
28658
|
+
function Fx(e, t) {
|
|
28656
28659
|
var s;
|
|
28657
|
-
const n =
|
|
28660
|
+
const n = ge.getState().themeStyle, r = (s = n == null ? void 0 : n.chart) == null ? void 0 : s.options, i = Zs.cloneDeep(r);
|
|
28658
28661
|
return Zs.merge(
|
|
28659
28662
|
i,
|
|
28660
28663
|
e,
|
|
@@ -28665,13 +28668,13 @@ function ZD(e, t) {
|
|
|
28665
28668
|
return e.map((n) => n[t] ? n[t] : "BLANK");
|
|
28666
28669
|
}
|
|
28667
28670
|
function pQ({ frame: e }) {
|
|
28668
|
-
const t =
|
|
28671
|
+
const t = ge(
|
|
28669
28672
|
(_) => _.isDashboardEditing
|
|
28670
|
-
), n =
|
|
28671
|
-
|
|
28673
|
+
), n = ge((_) => _.filterValues), r = ge((_) => _.isVisualEditing), i = ge((_) => _.selectedSheetId);
|
|
28674
|
+
ge(
|
|
28672
28675
|
(_) => _.currentBreakpoint
|
|
28673
28676
|
);
|
|
28674
|
-
const { removeFrame: o } =
|
|
28677
|
+
const { removeFrame: o } = ge((_) => _.actions), s = ge(
|
|
28675
28678
|
(_) => _.actions.setIsVisualEditing
|
|
28676
28679
|
), a = me(
|
|
28677
28680
|
(_) => _.actions.setFilterValues
|
|
@@ -28731,13 +28734,13 @@ function gQ(e, t = globalThis == null ? void 0 : globalThis.document) {
|
|
|
28731
28734
|
t
|
|
28732
28735
|
]);
|
|
28733
28736
|
}
|
|
28734
|
-
const
|
|
28737
|
+
const zx = "dismissableLayer.update", mQ = "dismissableLayer.pointerDownOutside", vQ = "dismissableLayer.focusOutside";
|
|
28735
28738
|
let bP;
|
|
28736
28739
|
const bQ = /* @__PURE__ */ Wn({
|
|
28737
28740
|
layers: /* @__PURE__ */ new Set(),
|
|
28738
28741
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
28739
28742
|
branches: /* @__PURE__ */ new Set()
|
|
28740
|
-
}), bu = /* @__PURE__ */
|
|
28743
|
+
}), bu = /* @__PURE__ */ pe((e, t) => {
|
|
28741
28744
|
var n;
|
|
28742
28745
|
const { disableOutsidePointerEvents: r = !1, onEscapeKeyDown: i, onPointerDownOutside: o, onFocusOutside: s, onInteractOutside: a, onDismiss: l, ...c } = e, u = Un(bQ), [f, g] = we(null), p = (n = f == null ? void 0 : f.ownerDocument) !== null && n !== void 0 ? n : globalThis == null ? void 0 : globalThis.document, [, m] = we({}), b = ft(
|
|
28743
28746
|
t,
|
|
@@ -28778,7 +28781,7 @@ const bQ = /* @__PURE__ */ Wn({
|
|
|
28778
28781
|
u
|
|
28779
28782
|
]), ye(() => {
|
|
28780
28783
|
const M = () => m({});
|
|
28781
|
-
return document.addEventListener(
|
|
28784
|
+
return document.addEventListener(zx, M), () => document.removeEventListener(zx, M);
|
|
28782
28785
|
}, []), /* @__PURE__ */ j(Ge.div, ae({}, c, {
|
|
28783
28786
|
ref: b,
|
|
28784
28787
|
style: {
|
|
@@ -28844,7 +28847,7 @@ function xQ(e, t = globalThis == null ? void 0 : globalThis.document) {
|
|
|
28844
28847
|
};
|
|
28845
28848
|
}
|
|
28846
28849
|
function yP() {
|
|
28847
|
-
const e = new CustomEvent(
|
|
28850
|
+
const e = new CustomEvent(zx);
|
|
28848
28851
|
document.dispatchEvent(e);
|
|
28849
28852
|
}
|
|
28850
28853
|
function JD(e, t, n, { discrete: r }) {
|
|
@@ -28869,7 +28872,7 @@ const wQ = ["top", "right", "bottom", "left"], ta = Math.min, ai = Math.max, qg
|
|
|
28869
28872
|
start: "end",
|
|
28870
28873
|
end: "start"
|
|
28871
28874
|
};
|
|
28872
|
-
function
|
|
28875
|
+
function Bx(e, t, n) {
|
|
28873
28876
|
return ai(e, ta(t, n));
|
|
28874
28877
|
}
|
|
28875
28878
|
function ss(e, t) {
|
|
@@ -28901,9 +28904,9 @@ function CQ(e, t, n) {
|
|
|
28901
28904
|
}
|
|
28902
28905
|
function EQ(e) {
|
|
28903
28906
|
const t = Gg(e);
|
|
28904
|
-
return [
|
|
28907
|
+
return [Vx(e), t, Vx(t)];
|
|
28905
28908
|
}
|
|
28906
|
-
function
|
|
28909
|
+
function Vx(e) {
|
|
28907
28910
|
return e.replace(/start|end/g, (t) => SQ[t]);
|
|
28908
28911
|
}
|
|
28909
28912
|
function OQ(e, t, n) {
|
|
@@ -28922,7 +28925,7 @@ function OQ(e, t, n) {
|
|
|
28922
28925
|
function PQ(e, t, n, r) {
|
|
28923
28926
|
const i = yu(e);
|
|
28924
28927
|
let o = OQ(as(e), n === "start", r);
|
|
28925
|
-
return i && (o = o.map((s) => s + "-" + i), t && (o = o.concat(o.map(
|
|
28928
|
+
return i && (o = o.map((s) => s + "-" + i), t && (o = o.concat(o.map(Vx)))), o;
|
|
28926
28929
|
}
|
|
28927
28930
|
function Gg(e) {
|
|
28928
28931
|
return e.replace(/left|right|bottom|top/g, (t) => _Q[t]);
|
|
@@ -29132,7 +29135,7 @@ const wP = (e) => ({
|
|
|
29132
29135
|
}, p = Iw(i), m = Nw(p), b = await s.getDimensions(c), x = p === "y", w = x ? "top" : "left", _ = x ? "bottom" : "right", S = x ? "clientHeight" : "clientWidth", O = o.reference[m] + o.reference[p] - g[p] - o.floating[m], E = g[p] - o.reference[p], P = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(c));
|
|
29133
29136
|
let D = P ? P[S] : 0;
|
|
29134
29137
|
(!D || !await (s.isElement == null ? void 0 : s.isElement(P))) && (D = a.floating[S] || o.floating[m]);
|
|
29135
|
-
const M = O / 2 - E / 2, T = D / 2 - b[m] / 2 - 1, L = ta(f[w], T), F = ta(f[_], T), B = L, se = D - b[m] - F, ee = D / 2 - b[m] / 2 + M, z =
|
|
29138
|
+
const M = O / 2 - E / 2, T = D / 2 - b[m] / 2 - 1, L = ta(f[w], T), F = ta(f[_], T), B = L, se = D - b[m] - F, ee = D / 2 - b[m] / 2 + M, z = Bx(B, ee, se), J = !l.arrow && yu(i) != null && ee != z && o.reference[m] / 2 - (ee < B ? L : F) - b[m] / 2 < 0, Y = J ? ee < B ? ee - B : ee - se : 0;
|
|
29136
29139
|
return {
|
|
29137
29140
|
[p]: g[p] + Y,
|
|
29138
29141
|
data: {
|
|
@@ -29352,11 +29355,11 @@ const TQ = function(e) {
|
|
|
29352
29355
|
let p = c[g], m = c[f];
|
|
29353
29356
|
if (o) {
|
|
29354
29357
|
const x = g === "y" ? "top" : "left", w = g === "y" ? "bottom" : "right", _ = p + u[x], S = p - u[w];
|
|
29355
|
-
p =
|
|
29358
|
+
p = Bx(_, p, S);
|
|
29356
29359
|
}
|
|
29357
29360
|
if (s) {
|
|
29358
29361
|
const x = f === "y" ? "top" : "left", w = f === "y" ? "bottom" : "right", _ = m + u[x], S = m - u[w];
|
|
29359
|
-
m =
|
|
29362
|
+
m = Bx(_, m, S);
|
|
29360
29363
|
}
|
|
29361
29364
|
const b = a.fn({
|
|
29362
29365
|
...t,
|
|
@@ -30090,14 +30093,14 @@ const cT = "Popper", [uT, Mo] = Jn(cT), [iZ, dT] = uT(cT), oZ = (e) => {
|
|
|
30090
30093
|
anchor: r,
|
|
30091
30094
|
onAnchorChange: i
|
|
30092
30095
|
}, n);
|
|
30093
|
-
}, sZ = "PopperAnchor", aZ = /* @__PURE__ */
|
|
30096
|
+
}, sZ = "PopperAnchor", aZ = /* @__PURE__ */ pe((e, t) => {
|
|
30094
30097
|
const { __scopePopper: n, virtualRef: r, ...i } = e, o = dT(sZ, n), s = ue(null), a = ft(t, s);
|
|
30095
30098
|
return ye(() => {
|
|
30096
30099
|
o.onAnchorChange((r == null ? void 0 : r.current) || s.current);
|
|
30097
30100
|
}), r ? null : /* @__PURE__ */ j(Ge.div, ae({}, i, {
|
|
30098
30101
|
ref: a
|
|
30099
30102
|
}));
|
|
30100
|
-
}), fT = "PopperContent", [lZ, ibe] = uT(fT), cZ = /* @__PURE__ */
|
|
30103
|
+
}), fT = "PopperContent", [lZ, ibe] = uT(fT), cZ = /* @__PURE__ */ pe((e, t) => {
|
|
30101
30104
|
var n, r, i, o, s, a, l, c;
|
|
30102
30105
|
const { __scopePopper: u, side: f = "bottom", sideOffset: g = 0, align: p = "center", alignOffset: m = 0, arrowPadding: b = 0, avoidCollisions: x = !0, collisionBoundary: w = [], collisionPadding: _ = 0, sticky: S = "partial", hideWhenDetached: O = !1, updatePositionStrategy: E = "optimized", onPlaced: P, ...D } = e, M = dT(fT, u), [T, L] = we(null), F = ft(
|
|
30103
30106
|
t,
|
|
@@ -30237,13 +30240,13 @@ function hT(e) {
|
|
|
30237
30240
|
n
|
|
30238
30241
|
];
|
|
30239
30242
|
}
|
|
30240
|
-
const Gf = oZ, Yf = aZ, Kf = cZ, Qm = /* @__PURE__ */
|
|
30243
|
+
const Gf = oZ, Yf = aZ, Kf = cZ, Qm = /* @__PURE__ */ pe((e, t) => {
|
|
30241
30244
|
var n;
|
|
30242
30245
|
const { container: r = globalThis == null || (n = globalThis.document) === null || n === void 0 ? void 0 : n.body, ...i } = e;
|
|
30243
30246
|
return r ? /* @__PURE__ */ vm.createPortal(/* @__PURE__ */ j(Ge.div, ae({}, i, {
|
|
30244
30247
|
ref: t
|
|
30245
30248
|
})), r) : null;
|
|
30246
|
-
}), pT = /* @__PURE__ */
|
|
30249
|
+
}), pT = /* @__PURE__ */ pe((e, t) => /* @__PURE__ */ j(Ge.span, ae({}, e, {
|
|
30247
30250
|
ref: t,
|
|
30248
30251
|
style: {
|
|
30249
30252
|
// See: https://github.com/twbs/bootstrap/blob/master/scss/mixins/_screen-reader.scss
|
|
@@ -30261,7 +30264,7 @@ const Gf = oZ, Yf = aZ, Kf = cZ, Qm = /* @__PURE__ */ ge((e, t) => {
|
|
|
30261
30264
|
}
|
|
30262
30265
|
}))), fZ = pT, [Zm, obe] = Jn("Tooltip", [
|
|
30263
30266
|
Mo
|
|
30264
|
-
]), zw = Mo(), hZ = "TooltipProvider", pZ = 700,
|
|
30267
|
+
]), zw = Mo(), hZ = "TooltipProvider", pZ = 700, Hx = "tooltip.open", [gZ, Bw] = Zm(hZ), mZ = (e) => {
|
|
30265
30268
|
const { __scopeTooltip: t, delayDuration: n = pZ, skipDelayDuration: r = 300, disableHoverableContent: i = !1, children: o } = e, [s, a] = we(!0), l = ue(!1), c = ue(0);
|
|
30266
30269
|
return ye(() => {
|
|
30267
30270
|
const u = c.current;
|
|
@@ -30292,7 +30295,7 @@ const Gf = oZ, Yf = aZ, Kf = cZ, Qm = /* @__PURE__ */ ge((e, t) => {
|
|
|
30292
30295
|
prop: r,
|
|
30293
30296
|
defaultProp: i,
|
|
30294
30297
|
onChange: (D) => {
|
|
30295
|
-
D ? (l.onOpen(), document.dispatchEvent(new CustomEvent(
|
|
30298
|
+
D ? (l.onOpen(), document.dispatchEvent(new CustomEvent(Hx))) : l.onClose(), o == null || o(D);
|
|
30296
30299
|
}
|
|
30297
30300
|
}), S = Dn(() => w ? x.current ? "delayed-open" : "instant-open" : "closed", [
|
|
30298
30301
|
w
|
|
@@ -30336,7 +30339,7 @@ const Gf = oZ, Yf = aZ, Kf = cZ, Qm = /* @__PURE__ */ ge((e, t) => {
|
|
|
30336
30339
|
onClose: E,
|
|
30337
30340
|
disableHoverableContent: m
|
|
30338
30341
|
}, n));
|
|
30339
|
-
}, kP = "TooltipTrigger", gT = /* @__PURE__ */
|
|
30342
|
+
}, kP = "TooltipTrigger", gT = /* @__PURE__ */ pe((e, t) => {
|
|
30340
30343
|
const { __scopeTooltip: n, ...r } = e, i = Jm(kP, n), o = Bw(kP, n), s = zw(n), a = ue(null), l = ft(t, a, i.onTriggerChange), c = ue(!1), u = ue(!1), f = Ue(
|
|
30341
30344
|
() => c.current = !1,
|
|
30342
30345
|
[]
|
|
@@ -30371,7 +30374,7 @@ const Gf = oZ, Yf = aZ, Kf = cZ, Qm = /* @__PURE__ */ ge((e, t) => {
|
|
|
30371
30374
|
})));
|
|
30372
30375
|
}), yZ = "TooltipPortal", [sbe, xZ] = Zm(yZ, {
|
|
30373
30376
|
forceMount: void 0
|
|
30374
|
-
}), tf = "TooltipContent", wZ = /* @__PURE__ */
|
|
30377
|
+
}), tf = "TooltipContent", wZ = /* @__PURE__ */ pe((e, t) => {
|
|
30375
30378
|
const n = xZ(tf, e.__scopeTooltip), { forceMount: r = n.forceMount, side: i = "top", ...o } = e, s = Jm(tf, e.__scopeTooltip);
|
|
30376
30379
|
return /* @__PURE__ */ j(Nn, {
|
|
30377
30380
|
present: r || s.open
|
|
@@ -30384,7 +30387,7 @@ const Gf = oZ, Yf = aZ, Kf = cZ, Qm = /* @__PURE__ */ ge((e, t) => {
|
|
|
30384
30387
|
}, o, {
|
|
30385
30388
|
ref: t
|
|
30386
30389
|
})));
|
|
30387
|
-
}), _Z = /* @__PURE__ */
|
|
30390
|
+
}), _Z = /* @__PURE__ */ pe((e, t) => {
|
|
30388
30391
|
const n = Jm(tf, e.__scopeTooltip), r = Bw(tf, e.__scopeTooltip), i = ue(null), o = ft(t, i), [s, a] = we(null), { trigger: l, onClose: c } = n, u = i.current, { onPointerInTransitChange: f } = r, g = Ue(() => {
|
|
30389
30392
|
a(null), f(!1);
|
|
30390
30393
|
}, [
|
|
@@ -30437,9 +30440,9 @@ const Gf = oZ, Yf = aZ, Kf = cZ, Qm = /* @__PURE__ */ ge((e, t) => {
|
|
|
30437
30440
|
}));
|
|
30438
30441
|
}), [SZ, abe] = Zm(Vw, {
|
|
30439
30442
|
isInside: !1
|
|
30440
|
-
}), mT = /* @__PURE__ */
|
|
30443
|
+
}), mT = /* @__PURE__ */ pe((e, t) => {
|
|
30441
30444
|
const { __scopeTooltip: n, children: r, "aria-label": i, onEscapeKeyDown: o, onPointerDownOutside: s, ...a } = e, l = Jm(tf, n), c = zw(n), { onClose: u } = l;
|
|
30442
|
-
return ye(() => (document.addEventListener(
|
|
30445
|
+
return ye(() => (document.addEventListener(Hx, u), () => document.removeEventListener(Hx, u)), [
|
|
30443
30446
|
u
|
|
30444
30447
|
]), ye(() => {
|
|
30445
30448
|
if (l.trigger) {
|
|
@@ -30647,7 +30650,7 @@ var NZ = {
|
|
|
30647
30650
|
* This source code is licensed under the ISC license.
|
|
30648
30651
|
* See the LICENSE file in the root directory of this source tree.
|
|
30649
30652
|
*/
|
|
30650
|
-
const IZ =
|
|
30653
|
+
const IZ = pe(
|
|
30651
30654
|
({
|
|
30652
30655
|
color: e = "currentColor",
|
|
30653
30656
|
size: t = 24,
|
|
@@ -30682,7 +30685,7 @@ const IZ = ge(
|
|
|
30682
30685
|
* See the LICENSE file in the root directory of this source tree.
|
|
30683
30686
|
*/
|
|
30684
30687
|
const lt = (e, t) => {
|
|
30685
|
-
const n =
|
|
30688
|
+
const n = pe(
|
|
30686
30689
|
({ className: r, ...i }, o) => j(IZ, {
|
|
30687
30690
|
ref: o,
|
|
30688
30691
|
iconNode: t,
|
|
@@ -31247,13 +31250,13 @@ function RP({
|
|
|
31247
31250
|
}
|
|
31248
31251
|
function qw({ card: e, isLoading: t }) {
|
|
31249
31252
|
var x, w, _, S, O, E, P, D, M, T, L, F, B, se, ee, z, J, Y;
|
|
31250
|
-
const n =
|
|
31253
|
+
const n = ge((Q) => Q.actions.setCardTitle), r = ge(
|
|
31251
31254
|
(Q) => Q.actions.setCardDescription
|
|
31252
|
-
), i =
|
|
31255
|
+
), i = ge((Q) => Q.isVisualEditing), o = me((Q) => Q.card), s = me((Q) => Q.actions.setCard);
|
|
31253
31256
|
me(
|
|
31254
31257
|
(Q) => Q.actions.setNumberFormat
|
|
31255
31258
|
);
|
|
31256
|
-
const a =
|
|
31259
|
+
const a = ge((Q) => Q.selectedSheetId), l = e.data, { metricKeys: c } = Vr(l || []), u = (x = l == null ? void 0 : l[0]) == null ? void 0 : x[c == null ? void 0 : c[0]], f = (w = l == null ? void 0 : l[0]) == null ? void 0 : w[c == null ? void 0 : c[1]], g = !!e.data && e.data.length > 0;
|
|
31257
31260
|
function p(Q) {
|
|
31258
31261
|
i ? s({
|
|
31259
31262
|
...o,
|
|
@@ -31269,20 +31272,20 @@ function qw({ card: e, isLoading: t }) {
|
|
|
31269
31272
|
const b = f && f - u !== 0 ? (u - f) / f : null;
|
|
31270
31273
|
return (
|
|
31271
31274
|
// <div className="@container min-w-[320px]">
|
|
31272
|
-
/* @__PURE__ */ v.jsxs("div", { className: "
|
|
31273
|
-
/* @__PURE__ */ v.jsxs(zf, { className: "grow pb-3
|
|
31275
|
+
/* @__PURE__ */ v.jsxs("div", { className: "kpi-card flex grow flex-col overflow-scroll", children: [
|
|
31276
|
+
/* @__PURE__ */ v.jsxs(zf, { className: "grow pb-3", children: [
|
|
31274
31277
|
/* @__PURE__ */ v.jsx(
|
|
31275
31278
|
_o,
|
|
31276
31279
|
{
|
|
31277
31280
|
text: i ? o.title : e.title,
|
|
31278
31281
|
onSave: p,
|
|
31279
|
-
children: /* @__PURE__ */ v.jsxs("div", { className: "flex gap-2
|
|
31280
|
-
/* @__PURE__ */ v.jsx(Bf, { className: "
|
|
31281
|
-
!e.refreshInterval && t && /* @__PURE__ */ v.jsx(Pl, { className: "
|
|
31282
|
+
children: /* @__PURE__ */ v.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
31283
|
+
/* @__PURE__ */ v.jsx(Bf, { className: "text-base font-medium text-muted-foreground", children: e.title }),
|
|
31284
|
+
!e.refreshInterval && t && /* @__PURE__ */ v.jsx(Pl, { className: "h-4 w-4 animate-spin text-muted-foreground" })
|
|
31282
31285
|
] })
|
|
31283
31286
|
}
|
|
31284
31287
|
),
|
|
31285
|
-
g && /* @__PURE__ */ v.jsxs("div", { className: "
|
|
31288
|
+
g && /* @__PURE__ */ v.jsxs("div", { className: "flex flex-wrap items-end gap-3 text-foreground", children: [
|
|
31286
31289
|
/* @__PURE__ */ v.jsx("p", { className: "text-3xl font-semibold", children: RP({
|
|
31287
31290
|
number: u,
|
|
31288
31291
|
format: ((S = (_ = e.preferences) == null ? void 0 : _.formatNumber) == null ? void 0 : S.format) || "",
|
|
@@ -31291,7 +31294,7 @@ function qw({ card: e, isLoading: t }) {
|
|
|
31291
31294
|
locale: ((D = (P = e.preferences) == null ? void 0 : P.formatNumber) == null ? void 0 : D.locale) || "",
|
|
31292
31295
|
currency: ((T = (M = e.preferences) == null ? void 0 : M.formatNumber) == null ? void 0 : T.currency) || ""
|
|
31293
31296
|
}) }),
|
|
31294
|
-
f && /* @__PURE__ */ v.jsxs("span", { className: "
|
|
31297
|
+
f && /* @__PURE__ */ v.jsxs("span", { className: "min-w-fit text-base font-normal text-muted-foreground", children: [
|
|
31295
31298
|
"from ",
|
|
31296
31299
|
RP({
|
|
31297
31300
|
number: f,
|
|
@@ -31304,9 +31307,9 @@ function qw({ card: e, isLoading: t }) {
|
|
|
31304
31307
|
] })
|
|
31305
31308
|
] })
|
|
31306
31309
|
] }),
|
|
31307
|
-
b && /* @__PURE__ */ v.jsxs(Vf, { className: "
|
|
31310
|
+
b && /* @__PURE__ */ v.jsxs(Vf, { className: "grow items-start gap-1 pb-4 text-sm", children: [
|
|
31308
31311
|
/* @__PURE__ */ v.jsx(dJ, { children: b }),
|
|
31309
|
-
/* @__PURE__ */ v.jsxs("div", { className: "
|
|
31312
|
+
/* @__PURE__ */ v.jsxs("div", { className: "flex gap-1 text-muted-foreground", children: [
|
|
31310
31313
|
b > 0 ? "up " : "down ",
|
|
31311
31314
|
/* @__PURE__ */ v.jsx(
|
|
31312
31315
|
_o,
|
|
@@ -31326,7 +31329,7 @@ function dJ({ children: e }) {
|
|
|
31326
31329
|
return /* @__PURE__ */ v.jsxs(
|
|
31327
31330
|
"div",
|
|
31328
31331
|
{
|
|
31329
|
-
className: $e("
|
|
31332
|
+
className: $e("flex items-center", {
|
|
31330
31333
|
"text-green-600": e > 0,
|
|
31331
31334
|
"text-destructive": e < 0
|
|
31332
31335
|
}),
|
|
@@ -31414,8 +31417,8 @@ function Np(e, t, n, r) {
|
|
|
31414
31417
|
}
|
|
31415
31418
|
const bJ = /* @__PURE__ */ Af(pJ);
|
|
31416
31419
|
function yJ(e) {
|
|
31417
|
-
|
|
31418
|
-
const t =
|
|
31420
|
+
ge((c) => c.bookmarkKey);
|
|
31421
|
+
const t = ge((c) => c.dashboard.baseQueries), { authToken: n } = Po(), r = ge((c) => c.authToken), i = ge((c) => c.filterValues), o = ge(
|
|
31419
31422
|
(c) => c.isDashboardEditing
|
|
31420
31423
|
), s = bJ((e == null ? void 0 : e.refreshInterval) || "0"), a = Fk(e.sql, t);
|
|
31421
31424
|
return qi({
|
|
@@ -31426,7 +31429,7 @@ function yJ(e) {
|
|
|
31426
31429
|
{
|
|
31427
31430
|
connection_id: e.connectionId,
|
|
31428
31431
|
sql: a,
|
|
31429
|
-
python: e.python ===
|
|
31432
|
+
python: e.python === Ay ? "" : e.python,
|
|
31430
31433
|
active_filters: i
|
|
31431
31434
|
}
|
|
31432
31435
|
),
|
|
@@ -31447,12 +31450,12 @@ function sc({
|
|
|
31447
31450
|
customCfg: n,
|
|
31448
31451
|
preferences: r
|
|
31449
31452
|
}) {
|
|
31450
|
-
const { dimensionKeys: i, metricKeys: o } = Vr(e), s = cQ(o, e, r), a =
|
|
31453
|
+
const { dimensionKeys: i, metricKeys: o } = Vr(e), s = cQ(o, e, r), a = jx(s, n), l = i[0], c = ZD(e, l);
|
|
31451
31454
|
Zs.merge(
|
|
31452
31455
|
(t == null ? void 0 : t.options) || {},
|
|
31453
31456
|
r == null ? void 0 : r.chartOptions
|
|
31454
31457
|
);
|
|
31455
|
-
const u =
|
|
31458
|
+
const u = Fx(
|
|
31456
31459
|
(t == null ? void 0 : t.options) || {},
|
|
31457
31460
|
// mergedOptions,
|
|
31458
31461
|
(n == null ? void 0 : n.options) || {}
|
|
@@ -31643,10 +31646,10 @@ function Gw({
|
|
|
31643
31646
|
const a = CJ(
|
|
31644
31647
|
t,
|
|
31645
31648
|
n
|
|
31646
|
-
), { dimensionKeys: l, metricKeys: c } = Vr(e), u = fQ(c, e), f =
|
|
31649
|
+
), { dimensionKeys: l, metricKeys: c } = Vr(e), u = fQ(c, e), f = jx(
|
|
31647
31650
|
u,
|
|
31648
31651
|
r
|
|
31649
|
-
), g = l[0], p = ZD(e, g), m =
|
|
31652
|
+
), g = l[0], p = ZD(e, g), m = Fx(
|
|
31650
31653
|
(a == null ? void 0 : a.options) || {},
|
|
31651
31654
|
(r == null ? void 0 : r.options) || {}
|
|
31652
31655
|
);
|
|
@@ -31677,7 +31680,7 @@ function Gw({
|
|
|
31677
31680
|
console.log("Bubble charts require 3 numeric columns");
|
|
31678
31681
|
return;
|
|
31679
31682
|
}
|
|
31680
|
-
const l = dQ(e), c =
|
|
31683
|
+
const l = dQ(e), c = jx(l, r), u = {
|
|
31681
31684
|
plugins: {
|
|
31682
31685
|
datalabels: {
|
|
31683
31686
|
display: !0
|
|
@@ -31710,7 +31713,7 @@ function Gw({
|
|
|
31710
31713
|
}
|
|
31711
31714
|
}
|
|
31712
31715
|
}
|
|
31713
|
-
}, f =
|
|
31716
|
+
}, f = Fx(u, (r == null ? void 0 : r.options) || {});
|
|
31714
31717
|
return {
|
|
31715
31718
|
type: t,
|
|
31716
31719
|
data: {
|
|
@@ -31761,7 +31764,7 @@ function OJ({
|
|
|
31761
31764
|
cfg: i,
|
|
31762
31765
|
apply: o
|
|
31763
31766
|
}) {
|
|
31764
|
-
const s =
|
|
31767
|
+
const s = ge.getState().theme;
|
|
31765
31768
|
if (!i)
|
|
31766
31769
|
return;
|
|
31767
31770
|
const a = s === "dark" ? "rgb(238,238,238,0.2)" : "rgb(238,238,238,0.8)";
|
|
@@ -31921,13 +31924,13 @@ function lbe(e) {
|
|
|
31921
31924
|
}
|
|
31922
31925
|
function Yw(e) {
|
|
31923
31926
|
var F, B, se;
|
|
31924
|
-
const { onChartElementClicked: t } = Po(), [n, r] = we(0), i = ((F = e == null ? void 0 : e.preferences) == null ? void 0 : F.filterOnClickColumnIndex) === void 0 ? 0 : (B = e.preferences) == null ? void 0 : B.filterOnClickColumnIndex, o =
|
|
31925
|
-
|
|
31926
|
-
const s =
|
|
31927
|
-
|
|
31927
|
+
const { onChartElementClicked: t } = Po(), [n, r] = we(0), i = ((F = e == null ? void 0 : e.preferences) == null ? void 0 : F.filterOnClickColumnIndex) === void 0 ? 0 : (B = e.preferences) == null ? void 0 : B.filterOnClickColumnIndex, o = ge((ee) => ee.bookmarkKey);
|
|
31928
|
+
ge((ee) => ee.isVisualEditing);
|
|
31929
|
+
const s = ge((ee) => ee.filteringCards), a = ge((ee) => ee.selectedSheetId);
|
|
31930
|
+
ge((ee) => ee.selectedCardId), ge(
|
|
31928
31931
|
(ee) => ee.isDashboardEditing
|
|
31929
31932
|
);
|
|
31930
|
-
const l =
|
|
31933
|
+
const l = ge((ee) => ee.themeStyle), c = ge((ee) => ee.filterValues), u = (se = e == null ? void 0 : e.preferences) == null ? void 0 : se.onClickFilter, {
|
|
31931
31934
|
addFrame: f,
|
|
31932
31935
|
addFilteringCard: g,
|
|
31933
31936
|
setFrameCardData: p,
|
|
@@ -32030,9 +32033,9 @@ function Yw(e) {
|
|
|
32030
32033
|
};
|
|
32031
32034
|
}
|
|
32032
32035
|
function MJ(e, t) {
|
|
32033
|
-
const n =
|
|
32036
|
+
const n = ge((u) => u.selectedSheetId), r = ge((u) => u.selectedFrameId), i = ge(
|
|
32034
32037
|
(u) => u.isDashboardEditing
|
|
32035
|
-
), o =
|
|
32038
|
+
), o = ge((u) => u.isVisualEditing), { addFrame: s, getSelectedFrame: a, setSelectedFrameId: l } = ge(
|
|
32036
32039
|
(u) => u.actions
|
|
32037
32040
|
);
|
|
32038
32041
|
ye(() => {
|
|
@@ -32124,7 +32127,7 @@ const kT = "HoverCard", [RT, cbe] = Jn(kT, [
|
|
|
32124
32127
|
hasSelectionRef: f,
|
|
32125
32128
|
isPointerDownOnContentRef: g
|
|
32126
32129
|
}, /* @__PURE__ */ j(Gf, l, n));
|
|
32127
|
-
}, AJ = "HoverCardTrigger", NJ = /* @__PURE__ */
|
|
32130
|
+
}, AJ = "HoverCardTrigger", NJ = /* @__PURE__ */ pe((e, t) => {
|
|
32128
32131
|
const { __scopeHoverCard: n, ...r } = e, i = Xw(AJ, n), o = Kw(n);
|
|
32129
32132
|
return /* @__PURE__ */ j(Yf, ae({
|
|
32130
32133
|
asChild: !0
|
|
@@ -32143,8 +32146,8 @@ const kT = "HoverCard", [RT, cbe] = Jn(kT, [
|
|
|
32143
32146
|
})));
|
|
32144
32147
|
}), IJ = "HoverCardPortal", [ube, LJ] = RT(IJ, {
|
|
32145
32148
|
forceMount: void 0
|
|
32146
|
-
}),
|
|
32147
|
-
const n = LJ(
|
|
32149
|
+
}), Wx = "HoverCardContent", jJ = /* @__PURE__ */ pe((e, t) => {
|
|
32150
|
+
const n = LJ(Wx, e.__scopeHoverCard), { forceMount: r = n.forceMount, ...i } = e, o = Xw(Wx, e.__scopeHoverCard);
|
|
32148
32151
|
return /* @__PURE__ */ j(Nn, {
|
|
32149
32152
|
present: r || o.open
|
|
32150
32153
|
}, /* @__PURE__ */ j(FJ, ae({
|
|
@@ -32154,8 +32157,8 @@ const kT = "HoverCard", [RT, cbe] = Jn(kT, [
|
|
|
32154
32157
|
onPointerLeave: Me(e.onPointerLeave, Xg(o.onClose)),
|
|
32155
32158
|
ref: t
|
|
32156
32159
|
})));
|
|
32157
|
-
}), FJ = /* @__PURE__ */
|
|
32158
|
-
const { __scopeHoverCard: n, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: o, onInteractOutside: s, ...a } = e, l = Xw(
|
|
32160
|
+
}), FJ = /* @__PURE__ */ pe((e, t) => {
|
|
32161
|
+
const { __scopeHoverCard: n, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: o, onInteractOutside: s, ...a } = e, l = Xw(Wx, n), c = Kw(n), u = ue(null), f = ft(t, u), [g, p] = we(!1);
|
|
32159
32162
|
return ye(() => {
|
|
32160
32163
|
if (g) {
|
|
32161
32164
|
const m = document.body;
|
|
@@ -33241,9 +33244,9 @@ const dee = {
|
|
|
33241
33244
|
// debug: () => table.options.debugAll ?? table.options.debugTable,
|
|
33242
33245
|
});
|
|
33243
33246
|
}
|
|
33244
|
-
},
|
|
33245
|
-
pageIndex:
|
|
33246
|
-
pageSize:
|
|
33247
|
+
}, Ux = 0, qx = 10, I0 = () => ({
|
|
33248
|
+
pageIndex: Ux,
|
|
33249
|
+
pageSize: qx
|
|
33247
33250
|
}), fee = {
|
|
33248
33251
|
getInitialState: (e) => ({
|
|
33249
33252
|
...e,
|
|
@@ -33289,10 +33292,10 @@ const dee = {
|
|
|
33289
33292
|
});
|
|
33290
33293
|
}, e.resetPageIndex = (r) => {
|
|
33291
33294
|
var i, o;
|
|
33292
|
-
e.setPageIndex(r ?
|
|
33295
|
+
e.setPageIndex(r ? Ux : (i = (o = e.initialState) == null || (o = o.pagination) == null ? void 0 : o.pageIndex) != null ? i : Ux);
|
|
33293
33296
|
}, e.resetPageSize = (r) => {
|
|
33294
33297
|
var i, o;
|
|
33295
|
-
e.setPageSize(r ?
|
|
33298
|
+
e.setPageSize(r ? qx : (i = (o = e.initialState) == null || (o = o.pagination) == null ? void 0 : o.pageSize) != null ? i : qx);
|
|
33296
33299
|
}, e.setPageSize = (r) => {
|
|
33297
33300
|
e.setPagination((i) => {
|
|
33298
33301
|
const o = Math.max(1, qs(r, i.pageSize)), s = i.pageSize * i.pageIndex, a = Math.floor(s / o);
|
|
@@ -33583,7 +33586,7 @@ const dee = {
|
|
|
33583
33586
|
...n
|
|
33584
33587
|
};
|
|
33585
33588
|
return e.getRowModel().rows.forEach((o) => {
|
|
33586
|
-
|
|
33589
|
+
Gx(i, o.id, r, !0, e);
|
|
33587
33590
|
}), i;
|
|
33588
33591
|
}), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = st(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? F0(e, n) : {
|
|
33589
33592
|
rows: [],
|
|
@@ -33650,7 +33653,7 @@ const dee = {
|
|
|
33650
33653
|
const a = {
|
|
33651
33654
|
...o
|
|
33652
33655
|
};
|
|
33653
|
-
return
|
|
33656
|
+
return Gx(a, e.id, n, (s = r == null ? void 0 : r.selectChildren) != null ? s : !0, t), a;
|
|
33654
33657
|
});
|
|
33655
33658
|
}, e.getIsSelected = () => {
|
|
33656
33659
|
const {
|
|
@@ -33661,12 +33664,12 @@ const dee = {
|
|
|
33661
33664
|
const {
|
|
33662
33665
|
rowSelection: n
|
|
33663
33666
|
} = t.getState();
|
|
33664
|
-
return
|
|
33667
|
+
return Yx(e, n) === "some";
|
|
33665
33668
|
}, e.getIsAllSubRowsSelected = () => {
|
|
33666
33669
|
const {
|
|
33667
33670
|
rowSelection: n
|
|
33668
33671
|
} = t.getState();
|
|
33669
|
-
return
|
|
33672
|
+
return Yx(e, n) === "all";
|
|
33670
33673
|
}, e.getCanSelect = () => {
|
|
33671
33674
|
var n;
|
|
33672
33675
|
return typeof t.options.enableRowSelection == "function" ? t.options.enableRowSelection(e) : (n = t.options.enableRowSelection) != null ? n : !0;
|
|
@@ -33684,10 +33687,10 @@ const dee = {
|
|
|
33684
33687
|
};
|
|
33685
33688
|
};
|
|
33686
33689
|
}
|
|
33687
|
-
},
|
|
33690
|
+
}, Gx = (e, t, n, r, i) => {
|
|
33688
33691
|
var o;
|
|
33689
33692
|
const s = i.getRow(t, !0);
|
|
33690
|
-
n ? (s.getCanMultiSelect() || Object.keys(e).forEach((a) => delete e[a]), s.getCanSelect() && (e[t] = !0)) : delete e[t], r && (o = s.subRows) != null && o.length && s.getCanSelectSubRows() && s.subRows.forEach((a) =>
|
|
33693
|
+
n ? (s.getCanMultiSelect() || Object.keys(e).forEach((a) => delete e[a]), s.getCanSelect() && (e[t] = !0)) : delete e[t], r && (o = s.subRows) != null && o.length && s.getCanSelectSubRows() && s.subRows.forEach((a) => Gx(e, a.id, n, r, i));
|
|
33691
33694
|
};
|
|
33692
33695
|
function F0(e, t) {
|
|
33693
33696
|
const n = e.getState().rowSelection, r = [], i = {}, o = function(s, a) {
|
|
@@ -33711,19 +33714,19 @@ function i_(e, t) {
|
|
|
33711
33714
|
var n;
|
|
33712
33715
|
return (n = t[e.id]) != null ? n : !1;
|
|
33713
33716
|
}
|
|
33714
|
-
function
|
|
33717
|
+
function Yx(e, t, n) {
|
|
33715
33718
|
var r;
|
|
33716
33719
|
if (!((r = e.subRows) != null && r.length))
|
|
33717
33720
|
return !1;
|
|
33718
33721
|
let i = !0, o = !1;
|
|
33719
33722
|
return e.subRows.forEach((s) => {
|
|
33720
33723
|
if (!(o && !i) && (s.getCanSelect() && (i_(s, t) ? o = !0 : i = !1), s.subRows && s.subRows.length)) {
|
|
33721
|
-
const a =
|
|
33724
|
+
const a = Yx(s, t);
|
|
33722
33725
|
a === "all" ? o = !0 : (a === "some" && (o = !0), i = !1);
|
|
33723
33726
|
}
|
|
33724
33727
|
}), i ? "all" : o ? "some" : !1;
|
|
33725
33728
|
}
|
|
33726
|
-
const
|
|
33729
|
+
const Kx = /([0-9]+)/gm, gee = (e, t, n) => zT(ia(e.getValue(n)).toLowerCase(), ia(t.getValue(n)).toLowerCase()), mee = (e, t, n) => zT(ia(e.getValue(n)), ia(t.getValue(n))), vee = (e, t, n) => o_(ia(e.getValue(n)).toLowerCase(), ia(t.getValue(n)).toLowerCase()), bee = (e, t, n) => o_(ia(e.getValue(n)), ia(t.getValue(n))), yee = (e, t, n) => {
|
|
33727
33730
|
const r = e.getValue(n), i = t.getValue(n);
|
|
33728
33731
|
return r > i ? 1 : r < i ? -1 : 0;
|
|
33729
33732
|
}, xee = (e, t, n) => o_(e.getValue(n), t.getValue(n));
|
|
@@ -33734,7 +33737,7 @@ function ia(e) {
|
|
|
33734
33737
|
return typeof e == "number" ? isNaN(e) || e === 1 / 0 || e === -1 / 0 ? "" : String(e) : typeof e == "string" ? e : "";
|
|
33735
33738
|
}
|
|
33736
33739
|
function zT(e, t) {
|
|
33737
|
-
const n = e.split(
|
|
33740
|
+
const n = e.split(Kx).filter(Boolean), r = t.split(Kx).filter(Boolean);
|
|
33738
33741
|
for (; n.length && r.length; ) {
|
|
33739
33742
|
const i = n.shift(), o = r.shift(), s = parseInt(i, 10), a = parseInt(o, 10), l = [s, a].sort();
|
|
33740
33743
|
if (isNaN(l[0])) {
|
|
@@ -33781,7 +33784,7 @@ const od = {
|
|
|
33781
33784
|
const o = i == null ? void 0 : i.getValue(e.id);
|
|
33782
33785
|
if (Object.prototype.toString.call(o) === "[object Date]")
|
|
33783
33786
|
return od.datetime;
|
|
33784
|
-
if (typeof o == "string" && (r = !0, o.split(
|
|
33787
|
+
if (typeof o == "string" && (r = !0, o.split(Kx).length > 1))
|
|
33785
33788
|
return od.alphanumeric;
|
|
33786
33789
|
}
|
|
33787
33790
|
return r ? od.text : od.basic;
|
|
@@ -34320,7 +34323,7 @@ function WT(e) {
|
|
|
34320
34323
|
}
|
|
34321
34324
|
function s_({ data: e, card: t }) {
|
|
34322
34325
|
var x, w;
|
|
34323
|
-
const [n, r] = Oe.useState([]), { keys: i } = Vr(e), o =
|
|
34326
|
+
const [n, r] = Oe.useState([]), { keys: i } = Vr(e), o = ge((_) => _.filteringCards), s = o == null ? void 0 : o.find(
|
|
34324
34327
|
(_) => _.id === t.id
|
|
34325
34328
|
), a = (x = t == null ? void 0 : t.preferences) == null ? void 0 : x.onClickFilter, {
|
|
34326
34329
|
addOrUpdateFilterValues: l,
|
|
@@ -34428,7 +34431,7 @@ function Ree({
|
|
|
34428
34431
|
className: n,
|
|
34429
34432
|
...r
|
|
34430
34433
|
}) {
|
|
34431
|
-
const { customCards: i } = Po(), o = Oe.useRef(null), s =
|
|
34434
|
+
const { customCards: i } = Po(), o = Oe.useRef(null), s = ge((T) => T.themeStyle), a = ge((T) => T.selectedSheetId), l = ge((T) => T.selectedFrameId), c = ge(
|
|
34432
34435
|
(T) => T.isDashboardEditing
|
|
34433
34436
|
), u = e.cards.find((T) => T.id === e.activeCardId);
|
|
34434
34437
|
MJ(e, o);
|
|
@@ -34562,25 +34565,25 @@ function Ree({
|
|
|
34562
34565
|
const Mee = UE.WidthProvider(UE.Responsive);
|
|
34563
34566
|
function Dee() {
|
|
34564
34567
|
var x, w, _, S;
|
|
34565
|
-
const e =
|
|
34568
|
+
const e = ge(
|
|
34566
34569
|
(O) => O.isDashboardEditing
|
|
34567
34570
|
);
|
|
34568
|
-
|
|
34571
|
+
ge(
|
|
34569
34572
|
(O) => O.currentBreakpoint
|
|
34570
34573
|
);
|
|
34571
|
-
const t =
|
|
34572
|
-
(x =
|
|
34574
|
+
const t = ge((O) => O.themeStyle), n = ge((O) => O.selectedSheetId);
|
|
34575
|
+
(x = ge(
|
|
34573
34576
|
(O) => {
|
|
34574
34577
|
var E, P;
|
|
34575
34578
|
return (P = (E = O.dashboard) == null ? void 0 : E.sheets) == null ? void 0 : P.filter((D) => D.id === n);
|
|
34576
34579
|
}
|
|
34577
34580
|
)) == null || x[0].layout;
|
|
34578
|
-
const r = (w =
|
|
34581
|
+
const r = (w = ge(
|
|
34579
34582
|
(O) => {
|
|
34580
34583
|
var E, P;
|
|
34581
34584
|
return (P = (E = O.dashboard) == null ? void 0 : E.sheets) == null ? void 0 : P.filter((D) => D.id === n);
|
|
34582
34585
|
}
|
|
34583
|
-
)) == null ? void 0 : w[0].layouts, i =
|
|
34586
|
+
)) == null ? void 0 : w[0].layouts, i = ge(
|
|
34584
34587
|
(O) => {
|
|
34585
34588
|
var E, P, D;
|
|
34586
34589
|
return (D = (P = (E = O.dashboard) == null ? void 0 : E.sheets) == null ? void 0 : P.find((M) => M.id === n)) == null ? void 0 : D.frames;
|
|
@@ -34592,7 +34595,7 @@ function Dee() {
|
|
|
34592
34595
|
setSheetLayout: l,
|
|
34593
34596
|
setSheetLayouts: c,
|
|
34594
34597
|
setCurrentBreakpoint: u
|
|
34595
|
-
} =
|
|
34598
|
+
} = ge((O) => O.actions), f = o(), g = Ue((O) => {
|
|
34596
34599
|
u(O);
|
|
34597
34600
|
}, []), p = Ue(
|
|
34598
34601
|
(O, E) => {
|
|
@@ -34648,7 +34651,7 @@ function Dee() {
|
|
|
34648
34651
|
) })
|
|
34649
34652
|
);
|
|
34650
34653
|
}
|
|
34651
|
-
const UT =
|
|
34654
|
+
const UT = pe(({ className: e, handleAxis: t, ...n }, r) => /* @__PURE__ */ v.jsx(
|
|
34652
34655
|
"div",
|
|
34653
34656
|
{
|
|
34654
34657
|
ref: r,
|
|
@@ -35472,14 +35475,14 @@ function zp(e, t = {}, n, r, i) {
|
|
|
35472
35475
|
typeof b == "boolean" && (g = !0), b === !0 && p.push(m);
|
|
35473
35476
|
g && (f["data-headlessui-state"] = p.join(" "));
|
|
35474
35477
|
}
|
|
35475
|
-
if (o === Or && Object.keys(
|
|
35478
|
+
if (o === Or && Object.keys(Xx(l)).length > 0) {
|
|
35476
35479
|
if (!Nd(u) || Array.isArray(u) && u.length > 1)
|
|
35477
35480
|
throw new Error(['Passing props on "Fragment"!', "", `The current component <${r} /> is rendering a "Fragment".`, "However we need to passthrough the following props:", Object.keys(l).map((b) => ` - ${b}`).join(`
|
|
35478
35481
|
`), "", "You can apply a few solutions:", ['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".', "Render a single element as the child so that we can forward the props onto that element."].map((b) => ` - ${b}`).join(`
|
|
35479
35482
|
`)].join(`
|
|
35480
35483
|
`));
|
|
35481
35484
|
let g = u.props, p = typeof (g == null ? void 0 : g.className) == "function" ? (...b) => tm(g == null ? void 0 : g.className(...b), l.className) : tm(g == null ? void 0 : g.className, l.className), m = p ? { className: p } : {};
|
|
35482
|
-
return gm(u, Object.assign({}, KT(u.props,
|
|
35485
|
+
return gm(u, Object.assign({}, KT(u.props, Xx(V0(l, ["ref"]))), f, c, { ref: i(u.ref, c.ref) }, m));
|
|
35483
35486
|
}
|
|
35484
35487
|
return j(o, Object.assign({}, V0(l, ["ref"]), o !== Or && c, o !== Or && f), u);
|
|
35485
35488
|
}
|
|
@@ -35513,9 +35516,9 @@ function KT(...e) {
|
|
|
35513
35516
|
}
|
|
35514
35517
|
function Do(e) {
|
|
35515
35518
|
var t;
|
|
35516
|
-
return Object.assign(
|
|
35519
|
+
return Object.assign(pe(e), { displayName: (t = e.displayName) != null ? t : e.name });
|
|
35517
35520
|
}
|
|
35518
|
-
function
|
|
35521
|
+
function Xx(e) {
|
|
35519
35522
|
let t = Object.assign({}, e);
|
|
35520
35523
|
for (let n in t)
|
|
35521
35524
|
t[n] === void 0 && delete t[n];
|
|
@@ -35802,7 +35805,7 @@ function $te(e, t) {
|
|
|
35802
35805
|
}, [he, _]), Oe.createElement(f_.Provider, { value: xe }, Oe.createElement(h_.Provider, { value: z }, Oe.createElement(QT, { value: or(z.comboboxState, { 0: li.Open, 1: li.Closed }) }, s != null && w != null && ZT({ [s]: w }).map(([te, oe], Ce) => Oe.createElement(gte, { features: XT.Hidden, ref: Ce === 0 ? (U) => {
|
|
35803
35806
|
var Le;
|
|
35804
35807
|
he.current = (Le = U == null ? void 0 : U.closest("form")) != null ? Le : null;
|
|
35805
|
-
} : void 0, ...
|
|
35808
|
+
} : void 0, ...Xx({ key: te, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: o, name: te, value: oe }) })), fs({ ourProps: ve, theirProps: m, slot: J, defaultTag: Pte, name: "Combobox" }))));
|
|
35806
35809
|
}
|
|
35807
35810
|
let kte = "input";
|
|
35808
35811
|
function Rte(e, t) {
|
|
@@ -36235,9 +36238,9 @@ function one(e, t) {
|
|
|
36235
36238
|
}
|
|
36236
36239
|
function sne(e, t) {
|
|
36237
36240
|
let n = Un(nv) !== null, r = d_() !== null;
|
|
36238
|
-
return Oe.createElement(Oe.Fragment, null, !n && r ? Oe.createElement(
|
|
36241
|
+
return Oe.createElement(Oe.Fragment, null, !n && r ? Oe.createElement(Qx, { ref: t, ...e }) : Oe.createElement(i5, { ref: t, ...e }));
|
|
36239
36242
|
}
|
|
36240
|
-
let
|
|
36243
|
+
let Qx = Do(one), i5 = Do(ine), ane = Do(sne), lne = Object.assign(Qx, { Child: ane, Root: Qx });
|
|
36241
36244
|
const ov = [
|
|
36242
36245
|
"text",
|
|
36243
36246
|
"enum",
|
|
@@ -36325,7 +36328,7 @@ function s5(e, t, n = "AVG") {
|
|
|
36325
36328
|
]
|
|
36326
36329
|
}), r;
|
|
36327
36330
|
}
|
|
36328
|
-
function
|
|
36331
|
+
function Zx(e) {
|
|
36329
36332
|
return ov.includes(e.dataType) ? "string" : bl.includes(e.dataType) ? "number" : th.includes(e.dataType) ? "date" : g_.includes(e.dataType) ? "boolean" : "string";
|
|
36330
36333
|
}
|
|
36331
36334
|
function fbe(e) {
|
|
@@ -36386,7 +36389,7 @@ const VP = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, HP =
|
|
|
36386
36389
|
] : c;
|
|
36387
36390
|
}, []);
|
|
36388
36391
|
return HP(e, s, l, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
|
|
36389
|
-
},
|
|
36392
|
+
}, Jx = v_(
|
|
36390
36393
|
"inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
|
|
36391
36394
|
{
|
|
36392
36395
|
variants: {
|
|
@@ -36416,7 +36419,7 @@ const VP = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, HP =
|
|
|
36416
36419
|
return /* @__PURE__ */ v.jsx(
|
|
36417
36420
|
s,
|
|
36418
36421
|
{
|
|
36419
|
-
className: $e(
|
|
36422
|
+
className: $e(Jx({ variant: t, size: n, className: e })),
|
|
36420
36423
|
ref: o,
|
|
36421
36424
|
...i
|
|
36422
36425
|
}
|
|
@@ -36425,9 +36428,9 @@ const VP = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, HP =
|
|
|
36425
36428
|
);
|
|
36426
36429
|
et.displayName = "Button";
|
|
36427
36430
|
function dne({ filter: e }) {
|
|
36428
|
-
const [t, n] = we([]), [r, i] = we(""), [o, s] = we(""), a = ue(null), { authToken: l } = Po(), c =
|
|
36431
|
+
const [t, n] = we([]), [r, i] = we(""), [o, s] = we(""), a = ue(null), { authToken: l } = Po(), c = ge((M) => M.filterValues), u = ge(
|
|
36429
36432
|
(M) => M.actions.addOrUpdateFilterValue
|
|
36430
|
-
), f =
|
|
36433
|
+
), f = ge(
|
|
36431
36434
|
(M) => M.actions.removeFilterValue
|
|
36432
36435
|
), g = S(c), { data: p, isLoading: m, isFetching: b, isError: x, refetch: w } = qi({
|
|
36433
36436
|
queryKey: [
|
|
@@ -36504,7 +36507,7 @@ function dne({ filter: e }) {
|
|
|
36504
36507
|
const L = {
|
|
36505
36508
|
filterId: e.id,
|
|
36506
36509
|
connectionType: e.database === "NA" ? "api" : "database",
|
|
36507
|
-
valueType:
|
|
36510
|
+
valueType: Zx(e),
|
|
36508
36511
|
name: e.column,
|
|
36509
36512
|
operation: T.operation,
|
|
36510
36513
|
values: [Number(T.value)]
|
|
@@ -36524,7 +36527,7 @@ function dne({ filter: e }) {
|
|
|
36524
36527
|
filterId: e.id,
|
|
36525
36528
|
connectionType: e.database === "NA" ? "api" : "database",
|
|
36526
36529
|
name: e.column,
|
|
36527
|
-
valueType:
|
|
36530
|
+
valueType: Zx(e),
|
|
36528
36531
|
operation: e.operation,
|
|
36529
36532
|
values: M.map((L) => L.value)
|
|
36530
36533
|
};
|
|
@@ -36639,7 +36642,7 @@ function dne({ filter: e }) {
|
|
|
36639
36642
|
)
|
|
36640
36643
|
] }) }) });
|
|
36641
36644
|
}
|
|
36642
|
-
const fne = /* @__PURE__ */
|
|
36645
|
+
const fne = /* @__PURE__ */ pe((e, t) => /* @__PURE__ */ j(Ge.label, ae({}, e, {
|
|
36643
36646
|
ref: t,
|
|
36644
36647
|
onMouseDown: (n) => {
|
|
36645
36648
|
var r;
|
|
@@ -36729,7 +36732,7 @@ function mne(e) {
|
|
|
36729
36732
|
const t = l5(e), n = gi(e, 0);
|
|
36730
36733
|
return n.setFullYear(t, 0, 4), n.setHours(0, 0, 0, 0), yl(n);
|
|
36731
36734
|
}
|
|
36732
|
-
function
|
|
36735
|
+
function e1(e, t) {
|
|
36733
36736
|
const n = t * 7;
|
|
36734
36737
|
return Cr(e, n);
|
|
36735
36738
|
}
|
|
@@ -37944,7 +37947,7 @@ function xre(e, t) {
|
|
|
37944
37947
|
t
|
|
37945
37948
|
) + 1;
|
|
37946
37949
|
}
|
|
37947
|
-
function
|
|
37950
|
+
function t1(e, t) {
|
|
37948
37951
|
const n = At(e), r = At(t);
|
|
37949
37952
|
return n.getTime() > r.getTime();
|
|
37950
37953
|
}
|
|
@@ -37998,7 +38001,7 @@ function v5(e, t, n) {
|
|
|
37998
38001
|
(o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
|
|
37999
38002
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
38000
38003
|
}
|
|
38001
|
-
var
|
|
38004
|
+
var n1 = { exports: {} }, ld = {};
|
|
38002
38005
|
/**
|
|
38003
38006
|
* @license React
|
|
38004
38007
|
* react-jsx-runtime.development.js
|
|
@@ -38623,8 +38626,8 @@ function Cre() {
|
|
|
38623
38626
|
}
|
|
38624
38627
|
return cd.Fragment = n, cd.jsx = s, cd.jsxs = s, cd;
|
|
38625
38628
|
}
|
|
38626
|
-
process.env.NODE_ENV === "production" ?
|
|
38627
|
-
var Ee =
|
|
38629
|
+
process.env.NODE_ENV === "production" ? n1.exports = Cre() : n1.exports = Sre();
|
|
38630
|
+
var Ee = n1.exports;
|
|
38628
38631
|
function rh(e) {
|
|
38629
38632
|
return e.mode === "multiple";
|
|
38630
38633
|
}
|
|
@@ -38899,7 +38902,7 @@ function eie(e) {
|
|
|
38899
38902
|
function tie(e) {
|
|
38900
38903
|
return Ee.jsx("svg", nt({ width: "16px", height: "16px", viewBox: "0 0 120 120" }, e, { children: Ee.jsx("path", { d: "M49.8040405,3.34314575 C46.6798462,0.218951416 41.6145263,0.218951416 38.490332,3.34314575 C35.4326099,6.40086786 35.367552,11.3179931 38.2951583,14.4548388 L38.490332,14.6568542 L83.8333725,60 L38.490332,105.343146 C35.4326099,108.400868 35.367552,113.317993 38.2951583,116.454839 L38.490332,116.656854 C41.5480541,119.714576 46.4651794,119.779634 49.602025,116.852028 L49.8040405,116.656854 L100.804041,65.6568542 C103.861763,62.5991321 103.926821,57.6820069 100.999214,54.5451612 L100.804041,54.3431458 L49.8040405,3.34314575 Z", fill: "currentColor" }) }));
|
|
38901
38904
|
}
|
|
38902
|
-
var im =
|
|
38905
|
+
var im = pe(function(e, t) {
|
|
38903
38906
|
var n = rn(), r = n.classNames, i = n.styles, o = [r.button_reset, r.button];
|
|
38904
38907
|
e.className && o.push(e.className);
|
|
38905
38908
|
var s = o.join(" "), a = nt(nt({}, i.button_reset), i.button);
|
|
@@ -39013,7 +39016,7 @@ function C_() {
|
|
|
39013
39016
|
}
|
|
39014
39017
|
function die(e, t) {
|
|
39015
39018
|
var n = t || {}, r = n.from, i = n.to;
|
|
39016
|
-
return r && i ? zr(i, e) && zr(r, e) ? void 0 : zr(i, e) ? { from: i, to: void 0 } : zr(r, e) ? void 0 :
|
|
39019
|
+
return r && i ? zr(i, e) && zr(r, e) ? void 0 : zr(i, e) ? { from: i, to: void 0 } : zr(r, e) ? void 0 : t1(r, e) ? { from: e, to: i } : { from: r, to: e } : i ? t1(e, i) ? { from: i, to: e } : { from: e, to: i } : r ? m5(e, r) ? { from: e, to: r } : { from: r, to: e } : { from: e, to: void 0 };
|
|
39017
39020
|
}
|
|
39018
39021
|
var E_ = Wn(void 0);
|
|
39019
39022
|
function fie(e) {
|
|
@@ -39158,7 +39161,7 @@ function kie(e, t) {
|
|
|
39158
39161
|
if (Eie(n))
|
|
39159
39162
|
return n.dayOfWeek.includes(e.getDay());
|
|
39160
39163
|
if (wie(n)) {
|
|
39161
|
-
var r = vo(n.before, e), i = vo(n.after, e), o = r > 0, s = i < 0, a =
|
|
39164
|
+
var r = vo(n.before, e), i = vo(n.after, e), o = r > 0, s = i < 0, a = t1(n.before, n.after);
|
|
39162
39165
|
return a ? s && o : o || s;
|
|
39163
39166
|
}
|
|
39164
39167
|
return Sie(n) ? vo(e, n.after) > 0 : Cie(n) ? vo(n.before, e) > 0 : typeof n == "function" ? n(e) : !1;
|
|
@@ -39190,7 +39193,7 @@ var Mie = 365;
|
|
|
39190
39193
|
function C5(e, t) {
|
|
39191
39194
|
var n = t.moveBy, r = t.direction, i = t.context, o = t.modifiers, s = t.retry, a = s === void 0 ? { count: 0, lastFocused: e } : s, l = i.weekStartsOn, c = i.fromDate, u = i.toDate, f = i.locale, g = {
|
|
39192
39195
|
day: Cr,
|
|
39193
|
-
week:
|
|
39196
|
+
week: e1,
|
|
39194
39197
|
month: Zi,
|
|
39195
39198
|
year: vne,
|
|
39196
39199
|
startOfWeek: function(x) {
|
|
@@ -39482,7 +39485,7 @@ function Uie(e, t) {
|
|
|
39482
39485
|
if (t != null && t.useFixedWeeks) {
|
|
39483
39486
|
var r = xre(e, t);
|
|
39484
39487
|
if (r < 6) {
|
|
39485
|
-
var i = n[n.length - 1], o = i.dates[i.dates.length - 1], s =
|
|
39488
|
+
var i = n[n.length - 1], o = i.dates[i.dates.length - 1], s = e1(o, 6 - r), a = JP(e1(o, 1), s, t);
|
|
39486
39489
|
n.push.apply(n, a);
|
|
39487
39490
|
}
|
|
39488
39491
|
}
|
|
@@ -39573,7 +39576,7 @@ function P5({
|
|
|
39573
39576
|
caption_label: "text-sm font-medium",
|
|
39574
39577
|
nav: "space-x-1 flex items-center",
|
|
39575
39578
|
nav_button: $e(
|
|
39576
|
-
|
|
39579
|
+
Jx({ variant: "outline" }),
|
|
39577
39580
|
"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"
|
|
39578
39581
|
),
|
|
39579
39582
|
nav_button_previous: "absolute left-1",
|
|
@@ -39584,7 +39587,7 @@ function P5({
|
|
|
39584
39587
|
row: "flex w-full mt-2",
|
|
39585
39588
|
cell: "h-9 w-9 text-center text-sm p-0 relative [&:has([aria-selected].day-range-end)]:rounded-r-md [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected])]:bg-accent first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md focus-within:relative focus-within:z-20",
|
|
39586
39589
|
day: $e(
|
|
39587
|
-
|
|
39590
|
+
Jx({ variant: "ghost" }),
|
|
39588
39591
|
"h-9 w-9 p-0 font-normal aria-selected:opacity-100"
|
|
39589
39592
|
),
|
|
39590
39593
|
day_range_end: "day-range-end",
|
|
@@ -39624,7 +39627,7 @@ function t$() {
|
|
|
39624
39627
|
const ey = "focusScope.autoFocusOnMount", ty = "focusScope.autoFocusOnUnmount", n$ = {
|
|
39625
39628
|
bubbles: !1,
|
|
39626
39629
|
cancelable: !0
|
|
39627
|
-
}, lv = /* @__PURE__ */
|
|
39630
|
+
}, lv = /* @__PURE__ */ pe((e, t) => {
|
|
39628
39631
|
const { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: o, ...s } = e, [a, l] = we(null), c = Vn(i), u = Vn(o), f = ue(null), g = ft(
|
|
39629
39632
|
t,
|
|
39630
39633
|
(b) => l(b)
|
|
@@ -40117,19 +40120,19 @@ var Eoe = function() {
|
|
|
40117
40120
|
return koe(i);
|
|
40118
40121
|
}, [i]);
|
|
40119
40122
|
return ce.createElement(Roe, { styles: Moe(o, !t, i, n ? "" : "!important") });
|
|
40120
|
-
},
|
|
40123
|
+
}, r1 = !1;
|
|
40121
40124
|
if (typeof window < "u")
|
|
40122
40125
|
try {
|
|
40123
40126
|
var Hp = Object.defineProperty({}, "passive", {
|
|
40124
40127
|
get: function() {
|
|
40125
|
-
return
|
|
40128
|
+
return r1 = !0, !0;
|
|
40126
40129
|
}
|
|
40127
40130
|
});
|
|
40128
40131
|
window.addEventListener("test", Hp, Hp), window.removeEventListener("test", Hp, Hp);
|
|
40129
40132
|
} catch {
|
|
40130
|
-
|
|
40133
|
+
r1 = !1;
|
|
40131
40134
|
}
|
|
40132
|
-
var dc =
|
|
40135
|
+
var dc = r1 ? { passive: !1 } : !1, Toe = function(e) {
|
|
40133
40136
|
return e.tagName === "TEXTAREA";
|
|
40134
40137
|
}, A5 = function(e, t) {
|
|
40135
40138
|
var n = window.getComputedStyle(e);
|
|
@@ -40322,7 +40325,7 @@ const dv = L5, j5 = "Popover", [F5, hbe] = Jn(j5, [
|
|
|
40322
40325
|
),
|
|
40323
40326
|
modal: s
|
|
40324
40327
|
}, n));
|
|
40325
|
-
}, Goe = "PopoverTrigger", Yoe = /* @__PURE__ */
|
|
40328
|
+
}, Goe = "PopoverTrigger", Yoe = /* @__PURE__ */ pe((e, t) => {
|
|
40326
40329
|
const { __scopePopover: n, ...r } = e, i = _u(Goe, n), o = R_(n), s = ft(t, i.triggerRef), a = /* @__PURE__ */ j(Ge.button, ae({
|
|
40327
40330
|
type: "button",
|
|
40328
40331
|
"aria-haspopup": "dialog",
|
|
@@ -40349,7 +40352,7 @@ const dv = L5, j5 = "Popover", [F5, hbe] = Jn(j5, [
|
|
|
40349
40352
|
asChild: !0,
|
|
40350
40353
|
container: i
|
|
40351
40354
|
}, r)));
|
|
40352
|
-
}, of = "PopoverContent", Zoe = /* @__PURE__ */
|
|
40355
|
+
}, of = "PopoverContent", Zoe = /* @__PURE__ */ pe((e, t) => {
|
|
40353
40356
|
const n = Xoe(of, e.__scopePopover), { forceMount: r = n.forceMount, ...i } = e, o = _u(of, e.__scopePopover);
|
|
40354
40357
|
return /* @__PURE__ */ j(Nn, {
|
|
40355
40358
|
present: r || o.open
|
|
@@ -40358,7 +40361,7 @@ const dv = L5, j5 = "Popover", [F5, hbe] = Jn(j5, [
|
|
|
40358
40361
|
})) : /* @__PURE__ */ j(ese, ae({}, i, {
|
|
40359
40362
|
ref: t
|
|
40360
40363
|
})));
|
|
40361
|
-
}), Joe = /* @__PURE__ */
|
|
40364
|
+
}), Joe = /* @__PURE__ */ pe((e, t) => {
|
|
40362
40365
|
const n = _u(of, e.__scopePopover), r = ue(null), i = ft(t, r), o = ue(!1);
|
|
40363
40366
|
return ye(() => {
|
|
40364
40367
|
const s = r.current;
|
|
@@ -40389,7 +40392,7 @@ const dv = L5, j5 = "Popover", [F5, hbe] = Jn(j5, [
|
|
|
40389
40392
|
}
|
|
40390
40393
|
)
|
|
40391
40394
|
})));
|
|
40392
|
-
}), ese = /* @__PURE__ */
|
|
40395
|
+
}), ese = /* @__PURE__ */ pe((e, t) => {
|
|
40393
40396
|
const n = _u(of, e.__scopePopover), r = ue(!1), i = ue(!1);
|
|
40394
40397
|
return /* @__PURE__ */ j(B5, ae({}, e, {
|
|
40395
40398
|
ref: t,
|
|
@@ -40410,7 +40413,7 @@ const dv = L5, j5 = "Popover", [F5, hbe] = Jn(j5, [
|
|
|
40410
40413
|
((a = n.triggerRef.current) === null || a === void 0 ? void 0 : a.contains(l)) && o.preventDefault(), o.detail.originalEvent.type === "focusin" && i.current && o.preventDefault();
|
|
40411
40414
|
}
|
|
40412
40415
|
}));
|
|
40413
|
-
}), B5 = /* @__PURE__ */
|
|
40416
|
+
}), B5 = /* @__PURE__ */ pe((e, t) => {
|
|
40414
40417
|
const { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: o, disableOutsidePointerEvents: s, onEscapeKeyDown: a, onPointerDownOutside: l, onFocusOutside: c, onInteractOutside: u, ...f } = e, g = _u(of, n), p = R_(n);
|
|
40415
40418
|
return av(), /* @__PURE__ */ j(lv, {
|
|
40416
40419
|
asChild: !0,
|
|
@@ -40463,9 +40466,9 @@ function ise({
|
|
|
40463
40466
|
filter: e,
|
|
40464
40467
|
className: t
|
|
40465
40468
|
}) {
|
|
40466
|
-
const [n, r] = we(!1), [i, o] = we(), [s, a] = we(), l =
|
|
40469
|
+
const [n, r] = we(!1), [i, o] = we(), [s, a] = we(), l = ge((S) => S.filterValues), { authToken: c } = Po(), u = ge(
|
|
40467
40470
|
(S) => S.actions.addOrUpdateFilterValue
|
|
40468
|
-
), f =
|
|
40471
|
+
), f = ge(
|
|
40469
40472
|
(S) => S.actions.removeFilterValue
|
|
40470
40473
|
), { data: g, isLoading: p, isFetching: m, isError: b, refetch: x } = qi({
|
|
40471
40474
|
queryKey: [e.sql],
|
|
@@ -40515,14 +40518,14 @@ function ise({
|
|
|
40515
40518
|
const O = {
|
|
40516
40519
|
filterId: e.id,
|
|
40517
40520
|
connectionType: e.database === "NA" ? "api" : "database",
|
|
40518
|
-
valueType:
|
|
40521
|
+
valueType: Zx(e),
|
|
40519
40522
|
name: e.column,
|
|
40520
40523
|
operation: "between",
|
|
40521
40524
|
values: S
|
|
40522
40525
|
};
|
|
40523
40526
|
u(O), r(!1);
|
|
40524
40527
|
}
|
|
40525
|
-
return p ? /* @__PURE__ */ v.jsx("div", { children: /* @__PURE__ */ v.jsx(L1, { className: "
|
|
40528
|
+
return p ? /* @__PURE__ */ v.jsx("div", { children: /* @__PURE__ */ v.jsx(L1, { className: "h-8 w-[250px] bg-foreground/10" }) }) : b ? /* @__PURE__ */ v.jsx("div", { className: "h-8 w-[250px] bg-muted px-2", children: "Error" }) : g ? /* @__PURE__ */ v.jsx("div", { className: $e("grid gap-2", t), children: /* @__PURE__ */ v.jsxs(Rl, { open: n, onOpenChange: r, children: [
|
|
40526
40529
|
/* @__PURE__ */ v.jsx(Ml, { asChild: !0, children: /* @__PURE__ */ v.jsxs(
|
|
40527
40530
|
et,
|
|
40528
40531
|
{
|
|
@@ -40530,7 +40533,7 @@ function ise({
|
|
|
40530
40533
|
id: "date",
|
|
40531
40534
|
variant: "outline",
|
|
40532
40535
|
className: $e(
|
|
40533
|
-
"w-[250px] justify-start text-left font-normal
|
|
40536
|
+
"h-[34px] w-[250px] justify-start rounded-sm text-left font-normal",
|
|
40534
40537
|
!i && "text-muted-foreground"
|
|
40535
40538
|
),
|
|
40536
40539
|
children: [
|
|
@@ -40556,7 +40559,7 @@ function ise({
|
|
|
40556
40559
|
numberOfMonths: 2
|
|
40557
40560
|
}
|
|
40558
40561
|
),
|
|
40559
|
-
/* @__PURE__ */ v.jsxs("div", { className: "flex justify-end px-4 py-3
|
|
40562
|
+
/* @__PURE__ */ v.jsxs("div", { className: "flex justify-end gap-2 px-4 py-3", children: [
|
|
40560
40563
|
/* @__PURE__ */ v.jsx(
|
|
40561
40564
|
et,
|
|
40562
40565
|
{
|
|
@@ -40593,11 +40596,11 @@ const fv = ce.forwardRef(
|
|
|
40593
40596
|
)
|
|
40594
40597
|
);
|
|
40595
40598
|
fv.displayName = "Textarea";
|
|
40596
|
-
const
|
|
40599
|
+
const i1 = "horizontal", ose = [
|
|
40597
40600
|
"horizontal",
|
|
40598
40601
|
"vertical"
|
|
40599
|
-
], W5 = /* @__PURE__ */
|
|
40600
|
-
const { decorative: n, orientation: r =
|
|
40602
|
+
], W5 = /* @__PURE__ */ pe((e, t) => {
|
|
40603
|
+
const { decorative: n, orientation: r = i1, ...i } = e, o = U5(r) ? r : i1, a = n ? {
|
|
40601
40604
|
role: "none"
|
|
40602
40605
|
} : {
|
|
40603
40606
|
"aria-orientation": o === "vertical" ? o : void 0,
|
|
@@ -40620,7 +40623,7 @@ function sse(e, t) {
|
|
|
40620
40623
|
- horizontal
|
|
40621
40624
|
- vertical
|
|
40622
40625
|
|
|
40623
|
-
Defaulting to \`${
|
|
40626
|
+
Defaulting to \`${i1}\`.`;
|
|
40624
40627
|
}
|
|
40625
40628
|
function U5(e) {
|
|
40626
40629
|
return ose.includes(e);
|
|
@@ -40642,7 +40645,7 @@ const q5 = W5, hv = ce.forwardRef(
|
|
|
40642
40645
|
)
|
|
40643
40646
|
);
|
|
40644
40647
|
hv.displayName = q5.displayName;
|
|
40645
|
-
function
|
|
40648
|
+
function o1(e, [t, n]) {
|
|
40646
40649
|
return Math.min(n, Math.max(t, e));
|
|
40647
40650
|
}
|
|
40648
40651
|
function pv(e) {
|
|
@@ -40722,7 +40725,7 @@ const ase = [
|
|
|
40722
40725
|
}, M === void 0 ? /* @__PURE__ */ j("option", {
|
|
40723
40726
|
value: ""
|
|
40724
40727
|
}) : null, Array.from(B)) : null));
|
|
40725
|
-
}, pse = "SelectTrigger", gse = /* @__PURE__ */
|
|
40728
|
+
}, pse = "SelectTrigger", gse = /* @__PURE__ */ pe((e, t) => {
|
|
40726
40729
|
const { __scopeSelect: n, disabled: r = !1, ...i } = e, o = M_(n), s = Dl(pse, n), a = s.disabled || r, l = ft(t, s.onTriggerChange), c = vv(n), [u, f, g] = Z5((m) => {
|
|
40727
40730
|
const b = c().filter(
|
|
40728
40731
|
(_) => !_.disabled
|
|
@@ -40764,7 +40767,7 @@ const ase = [
|
|
|
40764
40767
|
!(m.ctrlKey || m.altKey || m.metaKey) && m.key.length === 1 && f(m.key), !(b && m.key === " ") && ase.includes(m.key) && (p(), m.preventDefault());
|
|
40765
40768
|
})
|
|
40766
40769
|
})));
|
|
40767
|
-
}), mse = "SelectValue", vse = /* @__PURE__ */
|
|
40770
|
+
}), mse = "SelectValue", vse = /* @__PURE__ */ pe((e, t) => {
|
|
40768
40771
|
const { __scopeSelect: n, className: r, style: i, children: o, placeholder: s = "", ...a } = e, l = Dl(mse, n), { onValueNodeHasChildrenChange: c } = l, u = o !== void 0, f = ft(t, l.onValueNodeChange);
|
|
40769
40772
|
return gr(() => {
|
|
40770
40773
|
c(u);
|
|
@@ -40777,7 +40780,7 @@ const ase = [
|
|
|
40777
40780
|
pointerEvents: "none"
|
|
40778
40781
|
}
|
|
40779
40782
|
}), X5(l.value) ? /* @__PURE__ */ j(Or, null, s) : o);
|
|
40780
|
-
}), bse = /* @__PURE__ */
|
|
40783
|
+
}), bse = /* @__PURE__ */ pe((e, t) => {
|
|
40781
40784
|
const { __scopeSelect: n, children: r, ...i } = e;
|
|
40782
40785
|
return /* @__PURE__ */ j(Ge.span, ae({
|
|
40783
40786
|
"aria-hidden": !0
|
|
@@ -40786,7 +40789,7 @@ const ase = [
|
|
|
40786
40789
|
}), r || "▼");
|
|
40787
40790
|
}), yse = (e) => /* @__PURE__ */ j(Qm, ae({
|
|
40788
40791
|
asChild: !0
|
|
40789
|
-
}, e)), fu = "SelectContent", xse = /* @__PURE__ */
|
|
40792
|
+
}, e)), fu = "SelectContent", xse = /* @__PURE__ */ pe((e, t) => {
|
|
40790
40793
|
const n = Dl(fu, e.__scopeSelect), [r, i] = we();
|
|
40791
40794
|
if (gr(() => {
|
|
40792
40795
|
i(new DocumentFragment());
|
|
@@ -40801,7 +40804,7 @@ const ase = [
|
|
|
40801
40804
|
return /* @__PURE__ */ j(wse, ae({}, e, {
|
|
40802
40805
|
ref: t
|
|
40803
40806
|
}));
|
|
40804
|
-
}), Xo = 10, [G5, Tl] = Su(fu), wse = /* @__PURE__ */
|
|
40807
|
+
}), Xo = 10, [G5, Tl] = Su(fu), wse = /* @__PURE__ */ pe((e, t) => {
|
|
40805
40808
|
const {
|
|
40806
40809
|
__scopeSelect: n,
|
|
40807
40810
|
position: r = "item-aligned",
|
|
@@ -41014,7 +41017,7 @@ const ase = [
|
|
|
41014
41017
|
}
|
|
41015
41018
|
})
|
|
41016
41019
|
}))))));
|
|
41017
|
-
}), _se = /* @__PURE__ */
|
|
41020
|
+
}), _se = /* @__PURE__ */ pe((e, t) => {
|
|
41018
41021
|
const { __scopeSelect: n, onPlaced: r, ...i } = e, o = Dl(fu, n), s = Tl(fu, n), [a, l] = we(null), [c, u] = we(null), f = ft(
|
|
41019
41022
|
t,
|
|
41020
41023
|
(D) => u(D)
|
|
@@ -41022,13 +41025,13 @@ const ase = [
|
|
|
41022
41025
|
if (o.trigger && o.valueNode && a && c && b && x && w) {
|
|
41023
41026
|
const D = o.trigger.getBoundingClientRect(), M = c.getBoundingClientRect(), T = o.valueNode.getBoundingClientRect(), L = w.getBoundingClientRect();
|
|
41024
41027
|
if (o.dir !== "rtl") {
|
|
41025
|
-
const Ce = L.left - M.left, U = T.left - Ce, Le = D.left - U, We = D.width + Le, Ye = Math.max(We, M.width), tt = window.innerWidth - Xo, St =
|
|
41028
|
+
const Ce = L.left - M.left, U = T.left - Ce, Le = D.left - U, We = D.width + Le, Ye = Math.max(We, M.width), tt = window.innerWidth - Xo, St = o1(U, [
|
|
41026
41029
|
Xo,
|
|
41027
41030
|
tt - Ye
|
|
41028
41031
|
]);
|
|
41029
41032
|
a.style.minWidth = We + "px", a.style.left = St + "px";
|
|
41030
41033
|
} else {
|
|
41031
|
-
const Ce = M.right - L.right, U = window.innerWidth - T.right - Ce, Le = window.innerWidth - D.right - U, We = D.width + Le, Ye = Math.max(We, M.width), tt = window.innerWidth - Xo, St =
|
|
41034
|
+
const Ce = M.right - L.right, U = window.innerWidth - T.right - Ce, Le = window.innerWidth - D.right - U, We = D.width + Le, Ye = Math.max(We, M.width), tt = window.innerWidth - Xo, St = o1(U, [
|
|
41032
41035
|
Xo,
|
|
41033
41036
|
tt - Ye
|
|
41034
41037
|
]);
|
|
@@ -41104,7 +41107,7 @@ const ase = [
|
|
|
41104
41107
|
...i.style
|
|
41105
41108
|
}
|
|
41106
41109
|
}))));
|
|
41107
|
-
}), u$ = /* @__PURE__ */
|
|
41110
|
+
}), u$ = /* @__PURE__ */ pe((e, t) => {
|
|
41108
41111
|
const { __scopeSelect: n, align: r = "start", collisionPadding: i = Xo, ...o } = e, s = M_(n);
|
|
41109
41112
|
return /* @__PURE__ */ j(Kf, ae({}, s, o, {
|
|
41110
41113
|
ref: t,
|
|
@@ -41121,7 +41124,7 @@ const ase = [
|
|
|
41121
41124
|
"--radix-select-trigger-height": "var(--radix-popper-anchor-height)"
|
|
41122
41125
|
}
|
|
41123
41126
|
}));
|
|
41124
|
-
}), [Sse, D_] = Su(fu, {}), d$ = "SelectViewport", Cse = /* @__PURE__ */
|
|
41127
|
+
}), [Sse, D_] = Su(fu, {}), d$ = "SelectViewport", Cse = /* @__PURE__ */ pe((e, t) => {
|
|
41125
41128
|
const { __scopeSelect: n, ...r } = e, i = Tl(d$, n), o = D_(d$, n), s = ft(t, i.onViewportChange), a = ue(0);
|
|
41126
41129
|
return /* @__PURE__ */ j(Or, null, /* @__PURE__ */ j("style", {
|
|
41127
41130
|
dangerouslySetInnerHTML: {
|
|
@@ -41158,7 +41161,7 @@ const ase = [
|
|
|
41158
41161
|
a.current = c.scrollTop;
|
|
41159
41162
|
})
|
|
41160
41163
|
}))));
|
|
41161
|
-
}), Ese = "SelectGroup", [Ose, Pse] = Su(Ese), $se = /* @__PURE__ */
|
|
41164
|
+
}), Ese = "SelectGroup", [Ose, Pse] = Su(Ese), $se = /* @__PURE__ */ pe((e, t) => {
|
|
41162
41165
|
const { __scopeSelect: n, ...r } = e, i = Br();
|
|
41163
41166
|
return /* @__PURE__ */ j(Ose, {
|
|
41164
41167
|
scope: n,
|
|
@@ -41169,15 +41172,15 @@ const ase = [
|
|
|
41169
41172
|
}, r, {
|
|
41170
41173
|
ref: t
|
|
41171
41174
|
})));
|
|
41172
|
-
}), kse = "SelectLabel", Rse = /* @__PURE__ */
|
|
41175
|
+
}), kse = "SelectLabel", Rse = /* @__PURE__ */ pe((e, t) => {
|
|
41173
41176
|
const { __scopeSelect: n, ...r } = e, i = Pse(kse, n);
|
|
41174
41177
|
return /* @__PURE__ */ j(Ge.div, ae({
|
|
41175
41178
|
id: i.id
|
|
41176
41179
|
}, r, {
|
|
41177
41180
|
ref: t
|
|
41178
41181
|
}));
|
|
41179
|
-
}),
|
|
41180
|
-
const { __scopeSelect: n, value: r, disabled: i = !1, textValue: o, ...s } = e, a = Dl(
|
|
41182
|
+
}), s1 = "SelectItem", [Mse, Y5] = Su(s1), Dse = /* @__PURE__ */ pe((e, t) => {
|
|
41183
|
+
const { __scopeSelect: n, value: r, disabled: i = !1, textValue: o, ...s } = e, a = Dl(s1, n), l = Tl(s1, n), c = a.value === r, [u, f] = we(o ?? ""), [g, p] = we(!1), m = ft(t, (w) => {
|
|
41181
41184
|
var _;
|
|
41182
41185
|
return (_ = l.itemRefCallback) === null || _ === void 0 ? void 0 : _.call(l, w, r, i);
|
|
41183
41186
|
}), b = Br(), x = () => {
|
|
@@ -41242,7 +41245,7 @@ const ase = [
|
|
|
41242
41245
|
((_ = l.searchRef) === null || _ === void 0 ? void 0 : _.current) !== "" && w.key === " " || (lse.includes(w.key) && x(), w.key === " " && w.preventDefault());
|
|
41243
41246
|
})
|
|
41244
41247
|
}))));
|
|
41245
|
-
}), Up = "SelectItemText", Tse = /* @__PURE__ */
|
|
41248
|
+
}), Up = "SelectItemText", Tse = /* @__PURE__ */ pe((e, t) => {
|
|
41246
41249
|
const { __scopeSelect: n, className: r, style: i, ...o } = e, s = Dl(Up, n), a = Tl(Up, n), l = Y5(Up, n), c = fse(Up, n), [u, f] = we(null), g = ft(
|
|
41247
41250
|
t,
|
|
41248
41251
|
(w) => f(w),
|
|
@@ -41272,14 +41275,14 @@ const ase = [
|
|
|
41272
41275
|
}, o, {
|
|
41273
41276
|
ref: g
|
|
41274
41277
|
})), l.isSelected && s.valueNode && !s.valueNodeHasChildren ? /* @__PURE__ */ Dk(o.children, s.valueNode) : null);
|
|
41275
|
-
}), Ase = "SelectItemIndicator", Nse = /* @__PURE__ */
|
|
41278
|
+
}), Ase = "SelectItemIndicator", Nse = /* @__PURE__ */ pe((e, t) => {
|
|
41276
41279
|
const { __scopeSelect: n, ...r } = e;
|
|
41277
41280
|
return Y5(Ase, n).isSelected ? /* @__PURE__ */ j(Ge.span, ae({
|
|
41278
41281
|
"aria-hidden": !0
|
|
41279
41282
|
}, r, {
|
|
41280
41283
|
ref: t
|
|
41281
41284
|
})) : null;
|
|
41282
|
-
}), f$ = "SelectScrollUpButton", Ise = /* @__PURE__ */
|
|
41285
|
+
}), f$ = "SelectScrollUpButton", Ise = /* @__PURE__ */ pe((e, t) => {
|
|
41283
41286
|
const n = Tl(f$, e.__scopeSelect), r = D_(f$, e.__scopeSelect), [i, o] = we(!1), s = ft(t, r.onScrollButtonChange);
|
|
41284
41287
|
return gr(() => {
|
|
41285
41288
|
if (n.viewport && n.isPositioned) {
|
|
@@ -41300,7 +41303,7 @@ const ase = [
|
|
|
41300
41303
|
a && l && (a.scrollTop = a.scrollTop - l.offsetHeight);
|
|
41301
41304
|
}
|
|
41302
41305
|
})) : null;
|
|
41303
|
-
}), h$ = "SelectScrollDownButton", Lse = /* @__PURE__ */
|
|
41306
|
+
}), h$ = "SelectScrollDownButton", Lse = /* @__PURE__ */ pe((e, t) => {
|
|
41304
41307
|
const n = Tl(h$, e.__scopeSelect), r = D_(h$, e.__scopeSelect), [i, o] = we(!1), s = ft(t, r.onScrollButtonChange);
|
|
41305
41308
|
return gr(() => {
|
|
41306
41309
|
if (n.viewport && n.isPositioned) {
|
|
@@ -41321,7 +41324,7 @@ const ase = [
|
|
|
41321
41324
|
a && l && (a.scrollTop = a.scrollTop + l.offsetHeight);
|
|
41322
41325
|
}
|
|
41323
41326
|
})) : null;
|
|
41324
|
-
}), K5 = /* @__PURE__ */
|
|
41327
|
+
}), K5 = /* @__PURE__ */ pe((e, t) => {
|
|
41325
41328
|
const { __scopeSelect: n, onAutoScroll: r, ...i } = e, o = Tl("SelectScrollButton", n), s = ue(null), a = vv(n), l = Ue(() => {
|
|
41326
41329
|
s.current !== null && (window.clearInterval(s.current), s.current = null);
|
|
41327
41330
|
}, []);
|
|
@@ -41356,7 +41359,7 @@ const ase = [
|
|
|
41356
41359
|
l();
|
|
41357
41360
|
})
|
|
41358
41361
|
}));
|
|
41359
|
-
}), jse = /* @__PURE__ */
|
|
41362
|
+
}), jse = /* @__PURE__ */ pe((e, t) => {
|
|
41360
41363
|
const { __scopeSelect: n, ...r } = e;
|
|
41361
41364
|
return /* @__PURE__ */ j(Ge.div, ae({
|
|
41362
41365
|
"aria-hidden": !0
|
|
@@ -41367,7 +41370,7 @@ const ase = [
|
|
|
41367
41370
|
function X5(e) {
|
|
41368
41371
|
return e === "" || e === void 0;
|
|
41369
41372
|
}
|
|
41370
|
-
const Q5 = /* @__PURE__ */
|
|
41373
|
+
const Q5 = /* @__PURE__ */ pe((e, t) => {
|
|
41371
41374
|
const { value: n, ...r } = e, i = ue(null), o = ft(t, i), s = pv(n);
|
|
41372
41375
|
return ye(() => {
|
|
41373
41376
|
const a = i.current, l = window.HTMLSelectElement.prototype, u = Object.getOwnPropertyDescriptor(l, "value").set;
|
|
@@ -41616,9 +41619,9 @@ function Kse({
|
|
|
41616
41619
|
);
|
|
41617
41620
|
}
|
|
41618
41621
|
function Xse() {
|
|
41619
|
-
const e =
|
|
41622
|
+
const e = ge((s) => s.dashboard.filters), t = ge(
|
|
41620
41623
|
(s) => s.isDashboardEditing
|
|
41621
|
-
), n =
|
|
41624
|
+
), n = ge((s) => s.actions.removeFilter), r = ge((s) => s.actions.updateFilter), i = ge(
|
|
41622
41625
|
(s) => s.actions.removeFilterValue
|
|
41623
41626
|
);
|
|
41624
41627
|
if (!e)
|
|
@@ -41669,16 +41672,16 @@ function Xse() {
|
|
|
41669
41672
|
);
|
|
41670
41673
|
}
|
|
41671
41674
|
function uA() {
|
|
41672
|
-
const e =
|
|
41675
|
+
const e = ge((i) => {
|
|
41673
41676
|
var o;
|
|
41674
41677
|
return (o = i.dashboard) == null ? void 0 : o.sheets;
|
|
41675
41678
|
});
|
|
41676
|
-
|
|
41679
|
+
ge(
|
|
41677
41680
|
(i) => i.isDashboardEditing
|
|
41678
41681
|
);
|
|
41679
|
-
const t =
|
|
41680
|
-
|
|
41681
|
-
const n =
|
|
41682
|
+
const t = ge((i) => i.themeStyle);
|
|
41683
|
+
ge((i) => i.isVisualEditing);
|
|
41684
|
+
const n = ge((i) => i.selectedSheetId), r = ge(
|
|
41682
41685
|
(i) => i.actions.setSelectedSheetId
|
|
41683
41686
|
);
|
|
41684
41687
|
return e ? /* @__PURE__ */ v.jsxs(
|
|
@@ -41686,7 +41689,7 @@ function uA() {
|
|
|
41686
41689
|
{
|
|
41687
41690
|
role: "dashboard-tabs-container",
|
|
41688
41691
|
className: $e(
|
|
41689
|
-
"
|
|
41692
|
+
"grow",
|
|
41690
41693
|
// ' grow bg-muted dark:bg-foreground/5 ',
|
|
41691
41694
|
t == null ? void 0 : t.dashboardTabsContainer
|
|
41692
41695
|
),
|
|
@@ -41702,7 +41705,7 @@ function uA() {
|
|
|
41702
41705
|
) : null;
|
|
41703
41706
|
}
|
|
41704
41707
|
function dA({ children: e }) {
|
|
41705
|
-
return /* @__PURE__ */ v.jsx(QB, { defaultTheme: "
|
|
41708
|
+
return /* @__PURE__ */ v.jsx(QB, { defaultTheme: "system", storageKey: "vite-ui-theme", children: /* @__PURE__ */ v.jsx(TZ, { delayDuration: 0, children: e }) });
|
|
41706
41709
|
}
|
|
41707
41710
|
function Qse(e) {
|
|
41708
41711
|
return /* @__PURE__ */ v.jsx(jR, { dashboardProps: e, children: /* @__PURE__ */ v.jsx(dA, { children: /* @__PURE__ */ v.jsx(VR, { ...e, children: /* @__PURE__ */ v.jsx(uA, {}) }) }) });
|
|
@@ -41832,7 +41835,7 @@ const dae = {
|
|
|
41832
41835
|
ErrorComponent: "function"
|
|
41833
41836
|
}, gbe = uae(Qse, {
|
|
41834
41837
|
props: dae
|
|
41835
|
-
}),
|
|
41838
|
+
}), a1 = [
|
|
41836
41839
|
"Enter",
|
|
41837
41840
|
" "
|
|
41838
41841
|
], fae = [
|
|
@@ -41848,11 +41851,11 @@ const dae = {
|
|
|
41848
41851
|
...fA
|
|
41849
41852
|
], pae = {
|
|
41850
41853
|
ltr: [
|
|
41851
|
-
...
|
|
41854
|
+
...a1,
|
|
41852
41855
|
"ArrowRight"
|
|
41853
41856
|
],
|
|
41854
41857
|
rtl: [
|
|
41855
|
-
...
|
|
41858
|
+
...a1,
|
|
41856
41859
|
"ArrowLeft"
|
|
41857
41860
|
]
|
|
41858
41861
|
}, gae = {
|
|
@@ -41907,7 +41910,7 @@ const dae = {
|
|
|
41907
41910
|
dir: g,
|
|
41908
41911
|
modal: s
|
|
41909
41912
|
}, r)));
|
|
41910
|
-
}, gA = /* @__PURE__ */
|
|
41913
|
+
}, gA = /* @__PURE__ */ pe((e, t) => {
|
|
41911
41914
|
const { __scopeMenu: n, ...r } = e, i = A_(n);
|
|
41912
41915
|
return /* @__PURE__ */ j(Yf, ae({}, i, r, {
|
|
41913
41916
|
ref: t
|
|
@@ -41925,7 +41928,7 @@ const dae = {
|
|
|
41925
41928
|
asChild: !0,
|
|
41926
41929
|
container: i
|
|
41927
41930
|
}, r)));
|
|
41928
|
-
}, Qi = "MenuContent", [Sae, N_] = Al(Qi), Cae = /* @__PURE__ */
|
|
41931
|
+
}, Qi = "MenuContent", [Sae, N_] = Al(Qi), Cae = /* @__PURE__ */ pe((e, t) => {
|
|
41929
41932
|
const n = vA(Qi, e.__scopeMenu), { forceMount: r = n.forceMount, ...i } = e, o = Nl(Qi, e.__scopeMenu), s = lh(Qi, e.__scopeMenu);
|
|
41930
41933
|
return /* @__PURE__ */ j(af.Provider, {
|
|
41931
41934
|
scope: e.__scopeMenu
|
|
@@ -41938,7 +41941,7 @@ const dae = {
|
|
|
41938
41941
|
})) : /* @__PURE__ */ j(Oae, ae({}, i, {
|
|
41939
41942
|
ref: t
|
|
41940
41943
|
})))));
|
|
41941
|
-
}), Eae = /* @__PURE__ */
|
|
41944
|
+
}), Eae = /* @__PURE__ */ pe((e, t) => {
|
|
41942
41945
|
const n = Nl(Qi, e.__scopeMenu), r = ue(null), i = ft(t, r);
|
|
41943
41946
|
return ye(() => {
|
|
41944
41947
|
const o = r.current;
|
|
@@ -41958,7 +41961,7 @@ const dae = {
|
|
|
41958
41961
|
),
|
|
41959
41962
|
onDismiss: () => n.onOpenChange(!1)
|
|
41960
41963
|
}));
|
|
41961
|
-
}), Oae = /* @__PURE__ */
|
|
41964
|
+
}), Oae = /* @__PURE__ */ pe((e, t) => {
|
|
41962
41965
|
const n = Nl(Qi, e.__scopeMenu);
|
|
41963
41966
|
return /* @__PURE__ */ j(I_, ae({}, e, {
|
|
41964
41967
|
ref: t,
|
|
@@ -41967,7 +41970,7 @@ const dae = {
|
|
|
41967
41970
|
disableOutsideScroll: !1,
|
|
41968
41971
|
onDismiss: () => n.onOpenChange(!1)
|
|
41969
41972
|
}));
|
|
41970
|
-
}), I_ = /* @__PURE__ */
|
|
41973
|
+
}), I_ = /* @__PURE__ */ pe((e, t) => {
|
|
41971
41974
|
const { __scopeMenu: n, loop: r = !1, trapFocus: i, onOpenAutoFocus: o, onCloseAutoFocus: s, disableOutsidePointerEvents: a, onEntryFocus: l, onEscapeKeyDown: c, onPointerDownOutside: u, onFocusOutside: f, onInteractOutside: g, onDismiss: p, disableOutsideScroll: m, ...b } = e, x = Nl(Qi, n), w = lh(Qi, n), _ = A_(n), S = pA(n), O = mae(n), [E, P] = we(null), D = ue(null), M = ft(t, D, x.onContentChange), T = ue(0), L = ue(""), F = ue(0), B = ue(null), se = ue("right"), ee = ue(0), z = m ? dv : Or, J = m ? {
|
|
41972
41975
|
as: os,
|
|
41973
41976
|
allowPinchZoom: !0
|
|
@@ -42083,20 +42086,20 @@ const dae = {
|
|
|
42083
42086
|
}
|
|
42084
42087
|
}))
|
|
42085
42088
|
})))))));
|
|
42086
|
-
}), Pae = /* @__PURE__ */
|
|
42089
|
+
}), Pae = /* @__PURE__ */ pe((e, t) => {
|
|
42087
42090
|
const { __scopeMenu: n, ...r } = e;
|
|
42088
42091
|
return /* @__PURE__ */ j(Ge.div, ae({
|
|
42089
42092
|
role: "group"
|
|
42090
42093
|
}, r, {
|
|
42091
42094
|
ref: t
|
|
42092
42095
|
}));
|
|
42093
|
-
}), $ae = /* @__PURE__ */
|
|
42096
|
+
}), $ae = /* @__PURE__ */ pe((e, t) => {
|
|
42094
42097
|
const { __scopeMenu: n, ...r } = e;
|
|
42095
42098
|
return /* @__PURE__ */ j(Ge.div, ae({}, r, {
|
|
42096
42099
|
ref: t
|
|
42097
42100
|
}));
|
|
42098
|
-
}),
|
|
42099
|
-
const { disabled: n = !1, onSelect: r, ...i } = e, o = ue(null), s = lh(
|
|
42101
|
+
}), l1 = "MenuItem", p$ = "menu.itemSelect", L_ = /* @__PURE__ */ pe((e, t) => {
|
|
42102
|
+
const { disabled: n = !1, onSelect: r, ...i } = e, o = ue(null), s = lh(l1, e.__scopeMenu), a = N_(l1, e.__scopeMenu), l = ft(t, o), c = ue(!1), u = () => {
|
|
42100
42103
|
const f = o.current;
|
|
42101
42104
|
if (!n && f) {
|
|
42102
42105
|
const g = new CustomEvent(p$, {
|
|
@@ -42126,11 +42129,11 @@ const dae = {
|
|
|
42126
42129
|
}),
|
|
42127
42130
|
onKeyDown: Me(e.onKeyDown, (f) => {
|
|
42128
42131
|
const g = a.searchRef.current !== "";
|
|
42129
|
-
n || g && f.key === " " ||
|
|
42132
|
+
n || g && f.key === " " || a1.includes(f.key) && (f.currentTarget.click(), f.preventDefault());
|
|
42130
42133
|
})
|
|
42131
42134
|
}));
|
|
42132
|
-
}), bA = /* @__PURE__ */
|
|
42133
|
-
const { __scopeMenu: n, disabled: r = !1, textValue: i, ...o } = e, s = N_(
|
|
42135
|
+
}), bA = /* @__PURE__ */ pe((e, t) => {
|
|
42136
|
+
const { __scopeMenu: n, disabled: r = !1, textValue: i, ...o } = e, s = N_(l1, n), a = pA(n), l = ue(null), c = ft(t, l), [u, f] = we(!1), [g, p] = we("");
|
|
42134
42137
|
return ye(() => {
|
|
42135
42138
|
const m = l.current;
|
|
42136
42139
|
if (m) {
|
|
@@ -42169,7 +42172,7 @@ const dae = {
|
|
|
42169
42172
|
() => f(!1)
|
|
42170
42173
|
)
|
|
42171
42174
|
}))));
|
|
42172
|
-
}), kae = /* @__PURE__ */
|
|
42175
|
+
}), kae = /* @__PURE__ */ pe((e, t) => {
|
|
42173
42176
|
const { checked: n = !1, onCheckedChange: r, ...i } = e;
|
|
42174
42177
|
return /* @__PURE__ */ j(xA, {
|
|
42175
42178
|
scope: e.__scopeMenu,
|
|
@@ -42192,7 +42195,7 @@ const dae = {
|
|
|
42192
42195
|
value: void 0,
|
|
42193
42196
|
onValueChange: () => {
|
|
42194
42197
|
}
|
|
42195
|
-
}), Tae = /* @__PURE__ */
|
|
42198
|
+
}), Tae = /* @__PURE__ */ pe((e, t) => {
|
|
42196
42199
|
const { value: n, onValueChange: r, ...i } = e, o = Vn(r);
|
|
42197
42200
|
return /* @__PURE__ */ j(Mae, {
|
|
42198
42201
|
scope: e.__scopeMenu,
|
|
@@ -42201,7 +42204,7 @@ const dae = {
|
|
|
42201
42204
|
}, /* @__PURE__ */ j(Pae, ae({}, i, {
|
|
42202
42205
|
ref: t
|
|
42203
42206
|
})));
|
|
42204
|
-
}), Aae = "MenuRadioItem", Nae = /* @__PURE__ */
|
|
42207
|
+
}), Aae = "MenuRadioItem", Nae = /* @__PURE__ */ pe((e, t) => {
|
|
42205
42208
|
const { value: n, ...r } = e, i = Dae(Aae, e.__scopeMenu), o = n === i.value;
|
|
42206
42209
|
return /* @__PURE__ */ j(xA, {
|
|
42207
42210
|
scope: e.__scopeMenu,
|
|
@@ -42221,7 +42224,7 @@ const dae = {
|
|
|
42221
42224
|
})));
|
|
42222
42225
|
}), yA = "MenuItemIndicator", [xA, Iae] = Al(yA, {
|
|
42223
42226
|
checked: !1
|
|
42224
|
-
}), Lae = /* @__PURE__ */
|
|
42227
|
+
}), Lae = /* @__PURE__ */ pe((e, t) => {
|
|
42225
42228
|
const { __scopeMenu: n, forceMount: r, ...i } = e, o = Iae(yA, n);
|
|
42226
42229
|
return /* @__PURE__ */ j(Nn, {
|
|
42227
42230
|
present: r || om(o.checked) || o.checked === !0
|
|
@@ -42229,7 +42232,7 @@ const dae = {
|
|
|
42229
42232
|
ref: t,
|
|
42230
42233
|
"data-state": j_(o.checked)
|
|
42231
42234
|
})));
|
|
42232
|
-
}), jae = /* @__PURE__ */
|
|
42235
|
+
}), jae = /* @__PURE__ */ pe((e, t) => {
|
|
42233
42236
|
const { __scopeMenu: n, ...r } = e;
|
|
42234
42237
|
return /* @__PURE__ */ j(Ge.div, ae({
|
|
42235
42238
|
role: "separator",
|
|
@@ -42237,7 +42240,7 @@ const dae = {
|
|
|
42237
42240
|
}, r, {
|
|
42238
42241
|
ref: t
|
|
42239
42242
|
}));
|
|
42240
|
-
}), Fae = "MenuSub", [mbe, wA] = Al(Fae), Yp = "MenuSubTrigger", zae = /* @__PURE__ */
|
|
42243
|
+
}), Fae = "MenuSub", [mbe, wA] = Al(Fae), Yp = "MenuSubTrigger", zae = /* @__PURE__ */ pe((e, t) => {
|
|
42241
42244
|
const n = Nl(Yp, e.__scopeMenu), r = lh(Yp, e.__scopeMenu), i = wA(Yp, e.__scopeMenu), o = N_(Yp, e.__scopeMenu), s = ue(null), { pointerGraceTimerRef: a, onPointerGraceIntentChange: l } = o, c = {
|
|
42242
42245
|
__scopeMenu: e.__scopeMenu
|
|
42243
42246
|
}, u = Ue(() => {
|
|
@@ -42325,7 +42328,7 @@ const dae = {
|
|
|
42325
42328
|
}
|
|
42326
42329
|
})
|
|
42327
42330
|
})));
|
|
42328
|
-
}), Bae = "MenuSubContent", Vae = /* @__PURE__ */
|
|
42331
|
+
}), Bae = "MenuSubContent", Vae = /* @__PURE__ */ pe((e, t) => {
|
|
42329
42332
|
const n = vA(Qi, e.__scopeMenu), { forceMount: r = n.forceMount, ...i } = e, o = Nl(Qi, e.__scopeMenu), s = lh(Qi, e.__scopeMenu), a = wA(Bae, e.__scopeMenu), l = ue(null), c = ft(t, l);
|
|
42330
42333
|
return /* @__PURE__ */ j(af.Provider, {
|
|
42331
42334
|
scope: e.__scopeMenu
|
|
@@ -42447,7 +42450,7 @@ const Yae = xae, Kae = gA, Xae = _ae, Qae = Cae, Zae = $ae, Jae = L_, ele = kae,
|
|
|
42447
42450
|
dir: r,
|
|
42448
42451
|
modal: a
|
|
42449
42452
|
}), n));
|
|
42450
|
-
}, ule = "DropdownMenuTrigger", dle = /* @__PURE__ */
|
|
42453
|
+
}, ule = "DropdownMenuTrigger", dle = /* @__PURE__ */ pe((e, t) => {
|
|
42451
42454
|
const { __scopeDropdownMenu: n, disabled: r = !1, ...i } = e, o = CA(ule, n), s = mi(n);
|
|
42452
42455
|
return /* @__PURE__ */ j(Kae, ae({
|
|
42453
42456
|
asChild: !0
|
|
@@ -42479,7 +42482,7 @@ const Yae = xae, Kae = gA, Xae = _ae, Qae = Cae, Zae = $ae, Jae = L_, ele = kae,
|
|
|
42479
42482
|
}), fle = (e) => {
|
|
42480
42483
|
const { __scopeDropdownMenu: t, ...n } = e, r = mi(t);
|
|
42481
42484
|
return /* @__PURE__ */ j(Xae, ae({}, r, n));
|
|
42482
|
-
}, hle = "DropdownMenuContent", ple = /* @__PURE__ */
|
|
42485
|
+
}, hle = "DropdownMenuContent", ple = /* @__PURE__ */ pe((e, t) => {
|
|
42483
42486
|
const { __scopeDropdownMenu: n, ...r } = e, i = CA(hle, n), o = mi(n), s = ue(!1);
|
|
42484
42487
|
return /* @__PURE__ */ j(Qae, ae({
|
|
42485
42488
|
id: i.contentId,
|
|
@@ -42503,47 +42506,47 @@ const Yae = xae, Kae = gA, Xae = _ae, Qae = Cae, Zae = $ae, Jae = L_, ele = kae,
|
|
|
42503
42506
|
"--radix-dropdown-menu-trigger-height": "var(--radix-popper-anchor-height)"
|
|
42504
42507
|
}
|
|
42505
42508
|
}));
|
|
42506
|
-
}), gle = /* @__PURE__ */
|
|
42509
|
+
}), gle = /* @__PURE__ */ pe((e, t) => {
|
|
42507
42510
|
const { __scopeDropdownMenu: n, ...r } = e, i = mi(n);
|
|
42508
42511
|
return /* @__PURE__ */ j(Zae, ae({}, i, r, {
|
|
42509
42512
|
ref: t
|
|
42510
42513
|
}));
|
|
42511
|
-
}), mle = /* @__PURE__ */
|
|
42514
|
+
}), mle = /* @__PURE__ */ pe((e, t) => {
|
|
42512
42515
|
const { __scopeDropdownMenu: n, ...r } = e, i = mi(n);
|
|
42513
42516
|
return /* @__PURE__ */ j(Jae, ae({}, i, r, {
|
|
42514
42517
|
ref: t
|
|
42515
42518
|
}));
|
|
42516
|
-
}), vle = /* @__PURE__ */
|
|
42519
|
+
}), vle = /* @__PURE__ */ pe((e, t) => {
|
|
42517
42520
|
const { __scopeDropdownMenu: n, ...r } = e, i = mi(n);
|
|
42518
42521
|
return /* @__PURE__ */ j(ele, ae({}, i, r, {
|
|
42519
42522
|
ref: t
|
|
42520
42523
|
}));
|
|
42521
|
-
}), ble = /* @__PURE__ */
|
|
42524
|
+
}), ble = /* @__PURE__ */ pe((e, t) => {
|
|
42522
42525
|
const { __scopeDropdownMenu: n, ...r } = e, i = mi(n);
|
|
42523
42526
|
return /* @__PURE__ */ j(tle, ae({}, i, r, {
|
|
42524
42527
|
ref: t
|
|
42525
42528
|
}));
|
|
42526
|
-
}), yle = /* @__PURE__ */
|
|
42529
|
+
}), yle = /* @__PURE__ */ pe((e, t) => {
|
|
42527
42530
|
const { __scopeDropdownMenu: n, ...r } = e, i = mi(n);
|
|
42528
42531
|
return /* @__PURE__ */ j(nle, ae({}, i, r, {
|
|
42529
42532
|
ref: t
|
|
42530
42533
|
}));
|
|
42531
|
-
}), xle = /* @__PURE__ */
|
|
42534
|
+
}), xle = /* @__PURE__ */ pe((e, t) => {
|
|
42532
42535
|
const { __scopeDropdownMenu: n, ...r } = e, i = mi(n);
|
|
42533
42536
|
return /* @__PURE__ */ j(rle, ae({}, i, r, {
|
|
42534
42537
|
ref: t
|
|
42535
42538
|
}));
|
|
42536
|
-
}), wle = /* @__PURE__ */
|
|
42539
|
+
}), wle = /* @__PURE__ */ pe((e, t) => {
|
|
42537
42540
|
const { __scopeDropdownMenu: n, ...r } = e, i = mi(n);
|
|
42538
42541
|
return /* @__PURE__ */ j(ile, ae({}, i, r, {
|
|
42539
42542
|
ref: t
|
|
42540
42543
|
}));
|
|
42541
|
-
}), _le = /* @__PURE__ */
|
|
42544
|
+
}), _le = /* @__PURE__ */ pe((e, t) => {
|
|
42542
42545
|
const { __scopeDropdownMenu: n, ...r } = e, i = mi(n);
|
|
42543
42546
|
return /* @__PURE__ */ j(ole, ae({}, i, r, {
|
|
42544
42547
|
ref: t
|
|
42545
42548
|
}));
|
|
42546
|
-
}), Sle = /* @__PURE__ */
|
|
42549
|
+
}), Sle = /* @__PURE__ */ pe((e, t) => {
|
|
42547
42550
|
const { __scopeDropdownMenu: n, ...r } = e, i = mi(n);
|
|
42548
42551
|
return /* @__PURE__ */ j(sle, ae({}, i, r, {
|
|
42549
42552
|
ref: t,
|
|
@@ -42628,7 +42631,7 @@ const Ale = ce.forwardRef(({ className: e, children: t, checked: n, ...r }, i) =
|
|
|
42628
42631
|
}
|
|
42629
42632
|
));
|
|
42630
42633
|
Ale.displayName = $A.displayName;
|
|
42631
|
-
const
|
|
42634
|
+
const c1 = ce.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ v.jsxs(
|
|
42632
42635
|
kA,
|
|
42633
42636
|
{
|
|
42634
42637
|
ref: r,
|
|
@@ -42643,7 +42646,7 @@ const l1 = ce.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE_
|
|
|
42643
42646
|
]
|
|
42644
42647
|
}
|
|
42645
42648
|
));
|
|
42646
|
-
|
|
42649
|
+
c1.displayName = kA.displayName;
|
|
42647
42650
|
const NA = ce.forwardRef(({ className: e, inset: t, ...n }, r) => /* @__PURE__ */ v.jsx(
|
|
42648
42651
|
OA,
|
|
42649
42652
|
{
|
|
@@ -42747,7 +42750,7 @@ const jA = "Dialog", [FA, bbe] = Jn(jA), [Lle, eo] = FA(jA), jle = (e) => {
|
|
|
42747
42750
|
),
|
|
42748
42751
|
modal: s
|
|
42749
42752
|
}, n);
|
|
42750
|
-
}, Fle = "DialogTrigger", zle = /* @__PURE__ */
|
|
42753
|
+
}, Fle = "DialogTrigger", zle = /* @__PURE__ */ pe((e, t) => {
|
|
42751
42754
|
const { __scopeDialog: n, ...r } = e, i = eo(Fle, n), o = ft(t, i.triggerRef);
|
|
42752
42755
|
return /* @__PURE__ */ j(Ge.button, ae({
|
|
42753
42756
|
type: "button",
|
|
@@ -42775,15 +42778,15 @@ const jA = "Dialog", [FA, bbe] = Jn(jA), [Lle, eo] = FA(jA), jle = (e) => {
|
|
|
42775
42778
|
container: i
|
|
42776
42779
|
}, s))
|
|
42777
42780
|
));
|
|
42778
|
-
},
|
|
42779
|
-
const n = BA(
|
|
42781
|
+
}, u1 = "DialogOverlay", Hle = /* @__PURE__ */ pe((e, t) => {
|
|
42782
|
+
const n = BA(u1, e.__scopeDialog), { forceMount: r = n.forceMount, ...i } = e, o = eo(u1, e.__scopeDialog);
|
|
42780
42783
|
return o.modal ? /* @__PURE__ */ j(Nn, {
|
|
42781
42784
|
present: r || o.open
|
|
42782
42785
|
}, /* @__PURE__ */ j(Wle, ae({}, i, {
|
|
42783
42786
|
ref: t
|
|
42784
42787
|
}))) : null;
|
|
42785
|
-
}), Wle = /* @__PURE__ */
|
|
42786
|
-
const { __scopeDialog: n, ...r } = e, i = eo(
|
|
42788
|
+
}), Wle = /* @__PURE__ */ pe((e, t) => {
|
|
42789
|
+
const { __scopeDialog: n, ...r } = e, i = eo(u1, n);
|
|
42787
42790
|
return (
|
|
42788
42791
|
// Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
|
|
42789
42792
|
// ie. when `Overlay` and `Content` are siblings
|
|
@@ -42803,7 +42806,7 @@ const jA = "Dialog", [FA, bbe] = Jn(jA), [Lle, eo] = FA(jA), jle = (e) => {
|
|
|
42803
42806
|
}
|
|
42804
42807
|
})))
|
|
42805
42808
|
);
|
|
42806
|
-
}), cf = "DialogContent", Ule = /* @__PURE__ */
|
|
42809
|
+
}), cf = "DialogContent", Ule = /* @__PURE__ */ pe((e, t) => {
|
|
42807
42810
|
const n = BA(cf, e.__scopeDialog), { forceMount: r = n.forceMount, ...i } = e, o = eo(cf, e.__scopeDialog);
|
|
42808
42811
|
return /* @__PURE__ */ j(Nn, {
|
|
42809
42812
|
present: r || o.open
|
|
@@ -42812,7 +42815,7 @@ const jA = "Dialog", [FA, bbe] = Jn(jA), [Lle, eo] = FA(jA), jle = (e) => {
|
|
|
42812
42815
|
})) : /* @__PURE__ */ j(Gle, ae({}, i, {
|
|
42813
42816
|
ref: t
|
|
42814
42817
|
})));
|
|
42815
|
-
}), qle = /* @__PURE__ */
|
|
42818
|
+
}), qle = /* @__PURE__ */ pe((e, t) => {
|
|
42816
42819
|
const n = eo(cf, e.__scopeDialog), r = ue(null), i = ft(t, n.contentRef, r);
|
|
42817
42820
|
return ye(() => {
|
|
42818
42821
|
const o = r.current;
|
|
@@ -42835,7 +42838,7 @@ const jA = "Dialog", [FA, bbe] = Jn(jA), [Lle, eo] = FA(jA), jle = (e) => {
|
|
|
42835
42838
|
(o) => o.preventDefault()
|
|
42836
42839
|
)
|
|
42837
42840
|
}));
|
|
42838
|
-
}), Gle = /* @__PURE__ */
|
|
42841
|
+
}), Gle = /* @__PURE__ */ pe((e, t) => {
|
|
42839
42842
|
const n = eo(cf, e.__scopeDialog), r = ue(!1), i = ue(!1);
|
|
42840
42843
|
return /* @__PURE__ */ j(VA, ae({}, e, {
|
|
42841
42844
|
ref: t,
|
|
@@ -42856,7 +42859,7 @@ const jA = "Dialog", [FA, bbe] = Jn(jA), [Lle, eo] = FA(jA), jle = (e) => {
|
|
|
42856
42859
|
((a = n.triggerRef.current) === null || a === void 0 ? void 0 : a.contains(l)) && o.preventDefault(), o.detail.originalEvent.type === "focusin" && i.current && o.preventDefault();
|
|
42857
42860
|
}
|
|
42858
42861
|
}));
|
|
42859
|
-
}), VA = /* @__PURE__ */
|
|
42862
|
+
}), VA = /* @__PURE__ */ pe((e, t) => {
|
|
42860
42863
|
const { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: o, ...s } = e, a = eo(cf, n), l = ue(null), c = ft(t, l);
|
|
42861
42864
|
return av(), /* @__PURE__ */ j(Or, null, /* @__PURE__ */ j(lv, {
|
|
42862
42865
|
asChild: !0,
|
|
@@ -42874,21 +42877,21 @@ const jA = "Dialog", [FA, bbe] = Jn(jA), [Lle, eo] = FA(jA), jle = (e) => {
|
|
|
42874
42877
|
ref: c,
|
|
42875
42878
|
onDismiss: () => a.onOpenChange(!1)
|
|
42876
42879
|
}))), !1);
|
|
42877
|
-
}), Yle = "DialogTitle", Kle = /* @__PURE__ */
|
|
42880
|
+
}), Yle = "DialogTitle", Kle = /* @__PURE__ */ pe((e, t) => {
|
|
42878
42881
|
const { __scopeDialog: n, ...r } = e, i = eo(Yle, n);
|
|
42879
42882
|
return /* @__PURE__ */ j(Ge.h2, ae({
|
|
42880
42883
|
id: i.titleId
|
|
42881
42884
|
}, r, {
|
|
42882
42885
|
ref: t
|
|
42883
42886
|
}));
|
|
42884
|
-
}), Xle = "DialogDescription", Qle = /* @__PURE__ */
|
|
42887
|
+
}), Xle = "DialogDescription", Qle = /* @__PURE__ */ pe((e, t) => {
|
|
42885
42888
|
const { __scopeDialog: n, ...r } = e, i = eo(Xle, n);
|
|
42886
42889
|
return /* @__PURE__ */ j(Ge.p, ae({
|
|
42887
42890
|
id: i.descriptionId
|
|
42888
42891
|
}, r, {
|
|
42889
42892
|
ref: t
|
|
42890
42893
|
}));
|
|
42891
|
-
}), Zle = "DialogClose", Jle = /* @__PURE__ */
|
|
42894
|
+
}), Zle = "DialogClose", Jle = /* @__PURE__ */ pe((e, t) => {
|
|
42892
42895
|
const { __scopeDialog: n, ...r } = e, i = eo(Zle, n);
|
|
42893
42896
|
return /* @__PURE__ */ j(Ge.button, ae({
|
|
42894
42897
|
type: "button"
|
|
@@ -43002,7 +43005,7 @@ const Yi = ce.forwardRef(
|
|
|
43002
43005
|
);
|
|
43003
43006
|
Yi.displayName = "Input";
|
|
43004
43007
|
function oce() {
|
|
43005
|
-
const [e, t] = we(""), [n, r] = we(!1), [i, o] = we(!1), s =
|
|
43008
|
+
const [e, t] = we(""), [n, r] = we(!1), [i, o] = we(!1), s = ge((l) => l.dashboard);
|
|
43006
43009
|
function a() {
|
|
43007
43010
|
const l = LA(s), c = xl(s.id), u = JSON.parse(localStorage.getItem(c) || "[]");
|
|
43008
43011
|
if (u.some(
|
|
@@ -43063,9 +43066,9 @@ function oce() {
|
|
|
43063
43066
|
] });
|
|
43064
43067
|
}
|
|
43065
43068
|
function sce() {
|
|
43066
|
-
const [e, t] = we(!1), [n, r] = we(""), i =
|
|
43069
|
+
const [e, t] = we(!1), [n, r] = we(""), i = ge((p) => p.dashboard), o = ge((p) => p.bookmarkKey), [s, a] = we([]), l = ge((p) => p.actions.setDashboard), c = ge(
|
|
43067
43070
|
(p) => p.actions.setFilterValues
|
|
43068
|
-
), u =
|
|
43071
|
+
), u = ge(
|
|
43069
43072
|
(p) => p.actions.setBookmarkKey
|
|
43070
43073
|
);
|
|
43071
43074
|
ye(() => {
|
|
@@ -43099,9 +43102,9 @@ function sce() {
|
|
|
43099
43102
|
value: n,
|
|
43100
43103
|
onValueChange: f,
|
|
43101
43104
|
children: [
|
|
43102
|
-
/* @__PURE__ */ v.jsx(
|
|
43105
|
+
/* @__PURE__ */ v.jsx(c1, { value: "Original", children: "Original" }),
|
|
43103
43106
|
s.filter((p) => p.name != "Original").map((p, m) => /* @__PURE__ */ v.jsxs(
|
|
43104
|
-
|
|
43107
|
+
c1,
|
|
43105
43108
|
{
|
|
43106
43109
|
className: "xbg-red-100 flex justify-between",
|
|
43107
43110
|
value: p.name,
|
|
@@ -43128,7 +43131,7 @@ function sce() {
|
|
|
43128
43131
|
] })
|
|
43129
43132
|
] });
|
|
43130
43133
|
}
|
|
43131
|
-
const YA = "Checkbox", [ace, ybe] = Jn(YA), [lce, cce] = ace(YA), uce = /* @__PURE__ */
|
|
43134
|
+
const YA = "Checkbox", [ace, ybe] = Jn(YA), [lce, cce] = ace(YA), uce = /* @__PURE__ */ pe((e, t) => {
|
|
43132
43135
|
const { __scopeCheckbox: n, name: r, checked: i, defaultChecked: o, required: s, disabled: a, value: l = "on", onCheckedChange: c, ...u } = e, [f, g] = we(null), p = ft(
|
|
43133
43136
|
t,
|
|
43134
43137
|
(S) => g(S)
|
|
@@ -43181,7 +43184,7 @@ const YA = "Checkbox", [ace, ybe] = Jn(YA), [lce, cce] = ace(YA), uce = /* @__PU
|
|
|
43181
43184
|
transform: "translateX(-100%)"
|
|
43182
43185
|
}
|
|
43183
43186
|
}));
|
|
43184
|
-
}), dce = "CheckboxIndicator", fce = /* @__PURE__ */
|
|
43187
|
+
}), dce = "CheckboxIndicator", fce = /* @__PURE__ */ pe((e, t) => {
|
|
43185
43188
|
const { __scopeCheckbox: n, forceMount: r, ...i } = e, o = cce(dce, n);
|
|
43186
43189
|
return /* @__PURE__ */ j(Nn, {
|
|
43187
43190
|
present: r || cl(o.state) || o.state === !0
|
|
@@ -43252,7 +43255,7 @@ const XA = uce, pce = fce, ch = ce.forwardRef(({ className: e, ...t }, n) => /*
|
|
|
43252
43255
|
));
|
|
43253
43256
|
ch.displayName = XA.displayName;
|
|
43254
43257
|
function gce() {
|
|
43255
|
-
const [e, t] = we(!1), n =
|
|
43258
|
+
const [e, t] = we(!1), n = ge((o) => o.dashboard), r = ge((o) => o.bookmarkKey);
|
|
43256
43259
|
ye(() => {
|
|
43257
43260
|
if (!r) {
|
|
43258
43261
|
t(!1);
|
|
@@ -43293,19 +43296,19 @@ function gce() {
|
|
|
43293
43296
|
] });
|
|
43294
43297
|
}
|
|
43295
43298
|
function mce() {
|
|
43296
|
-
const e =
|
|
43297
|
-
|
|
43298
|
-
const n =
|
|
43299
|
+
const e = ge((w) => w.bookmarkKey), t = ge((w) => w.dashboard);
|
|
43300
|
+
ge((w) => w.selectedSheetId);
|
|
43301
|
+
const n = ge(
|
|
43299
43302
|
(w) => w.isDashboardEditing
|
|
43300
|
-
), r =
|
|
43301
|
-
|
|
43303
|
+
), r = ge((w) => w.filterValues), i = ge((w) => w.isVisualEditing), o = ge((w) => w.showFilters);
|
|
43304
|
+
ge(
|
|
43302
43305
|
(w) => w.showDashboardJSON
|
|
43303
43306
|
);
|
|
43304
|
-
const s =
|
|
43307
|
+
const s = ge((w) => w.onSaveFunction), a = ge(
|
|
43305
43308
|
(w) => w.actions.setShowFilters
|
|
43306
|
-
), { addFrame: l, setSelectedFrameId: c } =
|
|
43309
|
+
), { addFrame: l, setSelectedFrameId: c } = ge(
|
|
43307
43310
|
(w) => w.actions
|
|
43308
|
-
), { getSelectedSheet: u, setIsDashboardEditing: f, setShowDashboardJSON: g } =
|
|
43311
|
+
), { getSelectedSheet: u, setIsDashboardEditing: f, setShowDashboardJSON: g } = ge((w) => w.actions), p = u(), m = () => {
|
|
43309
43312
|
if (!n || !p)
|
|
43310
43313
|
return;
|
|
43311
43314
|
const w = {
|
|
@@ -43516,18 +43519,18 @@ function vce({ column: e }) {
|
|
|
43516
43519
|
p && (a(p), l(!0)), n(!1);
|
|
43517
43520
|
}
|
|
43518
43521
|
return /* @__PURE__ */ v.jsxs(Rl, { open: t, onOpenChange: n, children: [
|
|
43519
|
-
/* @__PURE__ */ v.jsx(Ml, { asChild: !0, children: /* @__PURE__ */ v.jsx(ev, { className: " w-4
|
|
43522
|
+
/* @__PURE__ */ v.jsx(Ml, { asChild: !0, children: /* @__PURE__ */ v.jsx(ev, { className: "h-4 w-4 cursor-pointer text-foreground/40" }) }),
|
|
43520
43523
|
/* @__PURE__ */ v.jsx(
|
|
43521
43524
|
aa,
|
|
43522
43525
|
{
|
|
43523
43526
|
align: "center",
|
|
43524
|
-
className: "
|
|
43525
|
-
children: /* @__PURE__ */ v.jsxs("ul", { className: "text-xs
|
|
43527
|
+
className: "w-18 rounded-md p-0 shadow-none",
|
|
43528
|
+
children: /* @__PURE__ */ v.jsxs("ul", { className: "text-xs", children: [
|
|
43526
43529
|
/* @__PURE__ */ v.jsx(
|
|
43527
43530
|
"li",
|
|
43528
43531
|
{
|
|
43529
43532
|
onClick: () => c(e, "COUNT"),
|
|
43530
|
-
className: "
|
|
43533
|
+
className: "cursor-pointer p-1 px-3 transition-colors hover:bg-muted",
|
|
43531
43534
|
children: "Count"
|
|
43532
43535
|
}
|
|
43533
43536
|
),
|
|
@@ -43535,7 +43538,7 @@ function vce({ column: e }) {
|
|
|
43535
43538
|
"li",
|
|
43536
43539
|
{
|
|
43537
43540
|
onClick: () => c(e, "AVG"),
|
|
43538
|
-
className: "
|
|
43541
|
+
className: "cursor-pointer p-1 px-3 transition-colors hover:bg-muted",
|
|
43539
43542
|
children: "Avg"
|
|
43540
43543
|
}
|
|
43541
43544
|
),
|
|
@@ -43543,7 +43546,7 @@ function vce({ column: e }) {
|
|
|
43543
43546
|
"li",
|
|
43544
43547
|
{
|
|
43545
43548
|
onClick: () => c(e, "SUM"),
|
|
43546
|
-
className: "
|
|
43549
|
+
className: "cursor-pointer p-1 px-3 transition-colors hover:bg-muted",
|
|
43547
43550
|
children: "Sum"
|
|
43548
43551
|
}
|
|
43549
43552
|
),
|
|
@@ -43551,7 +43554,7 @@ function vce({ column: e }) {
|
|
|
43551
43554
|
"li",
|
|
43552
43555
|
{
|
|
43553
43556
|
onClick: () => c(e, "MAX"),
|
|
43554
|
-
className: "
|
|
43557
|
+
className: "cursor-pointer p-1 px-3 transition-colors hover:bg-muted",
|
|
43555
43558
|
children: "Max"
|
|
43556
43559
|
}
|
|
43557
43560
|
),
|
|
@@ -43559,7 +43562,7 @@ function vce({ column: e }) {
|
|
|
43559
43562
|
"li",
|
|
43560
43563
|
{
|
|
43561
43564
|
onClick: () => c(e, "MIN"),
|
|
43562
|
-
className: "
|
|
43565
|
+
className: "cursor-pointer p-1 px-3 transition-colors hover:bg-muted",
|
|
43563
43566
|
children: "Min"
|
|
43564
43567
|
}
|
|
43565
43568
|
)
|
|
@@ -43574,7 +43577,7 @@ function bce(e, t) {
|
|
|
43574
43577
|
return i ?? n;
|
|
43575
43578
|
}, e);
|
|
43576
43579
|
}
|
|
43577
|
-
const eN = "ScrollArea", [tN, xbe] = Jn(eN), [yce, Ii] = tN(eN), nN = /* @__PURE__ */
|
|
43580
|
+
const eN = "ScrollArea", [tN, xbe] = Jn(eN), [yce, Ii] = tN(eN), nN = /* @__PURE__ */ pe((e, t) => {
|
|
43578
43581
|
const { __scopeScrollArea: n, type: r = "hover", dir: i, scrollHideDelay: o = 600, ...s } = e, [a, l] = we(null), [c, u] = we(null), [f, g] = we(null), [p, m] = we(null), [b, x] = we(null), [w, _] = we(0), [S, O] = we(0), [E, P] = we(!1), [D, M] = we(!1), T = ft(
|
|
43579
43582
|
t,
|
|
43580
43583
|
(F) => l(F)
|
|
@@ -43611,7 +43614,7 @@ const eN = "ScrollArea", [tN, xbe] = Jn(eN), [yce, Ii] = tN(eN), nN = /* @__PURE
|
|
|
43611
43614
|
...e.style
|
|
43612
43615
|
}
|
|
43613
43616
|
})));
|
|
43614
|
-
}), xce = "ScrollAreaViewport", wce = /* @__PURE__ */
|
|
43617
|
+
}), xce = "ScrollAreaViewport", wce = /* @__PURE__ */ pe((e, t) => {
|
|
43615
43618
|
const { __scopeScrollArea: n, children: r, ...i } = e, o = Ii(xce, n), s = ue(null), a = ft(t, s, o.onViewportChange);
|
|
43616
43619
|
return /* @__PURE__ */ j(Or, null, /* @__PURE__ */ j("style", {
|
|
43617
43620
|
dangerouslySetInnerHTML: {
|
|
@@ -43644,7 +43647,7 @@ const eN = "ScrollArea", [tN, xbe] = Jn(eN), [yce, Ii] = tN(eN), nN = /* @__PURE
|
|
|
43644
43647
|
display: "table"
|
|
43645
43648
|
}
|
|
43646
43649
|
}, r)));
|
|
43647
|
-
}), hs = "ScrollAreaScrollbar", rN = /* @__PURE__ */
|
|
43650
|
+
}), hs = "ScrollAreaScrollbar", rN = /* @__PURE__ */ pe((e, t) => {
|
|
43648
43651
|
const { forceMount: n, ...r } = e, i = Ii(hs, e.__scopeScrollArea), { onScrollbarXEnabledChange: o, onScrollbarYEnabledChange: s } = i, a = e.orientation === "horizontal";
|
|
43649
43652
|
return ye(() => (a ? o(!0) : s(!0), () => {
|
|
43650
43653
|
a ? o(!1) : s(!1);
|
|
@@ -43664,7 +43667,7 @@ const eN = "ScrollArea", [tN, xbe] = Jn(eN), [yce, Ii] = tN(eN), nN = /* @__PURE
|
|
|
43664
43667
|
})) : i.type === "always" ? /* @__PURE__ */ j(H_, ae({}, r, {
|
|
43665
43668
|
ref: t
|
|
43666
43669
|
})) : null;
|
|
43667
|
-
}), _ce = /* @__PURE__ */
|
|
43670
|
+
}), _ce = /* @__PURE__ */ pe((e, t) => {
|
|
43668
43671
|
const { forceMount: n, ...r } = e, i = Ii(hs, e.__scopeScrollArea), [o, s] = we(!1);
|
|
43669
43672
|
return ye(() => {
|
|
43670
43673
|
const a = i.scrollArea;
|
|
@@ -43692,7 +43695,7 @@ const eN = "ScrollArea", [tN, xbe] = Jn(eN), [yce, Ii] = tN(eN), nN = /* @__PURE
|
|
|
43692
43695
|
}, r, {
|
|
43693
43696
|
ref: t
|
|
43694
43697
|
})));
|
|
43695
|
-
}), Sce = /* @__PURE__ */
|
|
43698
|
+
}), Sce = /* @__PURE__ */ pe((e, t) => {
|
|
43696
43699
|
const { forceMount: n, ...r } = e, i = Ii(hs, e.__scopeScrollArea), o = e.orientation === "horizontal", s = Ov(
|
|
43697
43700
|
() => l("SCROLL_END"),
|
|
43698
43701
|
100
|
|
@@ -43756,7 +43759,7 @@ const eN = "ScrollArea", [tN, xbe] = Jn(eN), [yce, Ii] = tN(eN), nN = /* @__PURE
|
|
|
43756
43759
|
() => l("POINTER_LEAVE")
|
|
43757
43760
|
)
|
|
43758
43761
|
})));
|
|
43759
|
-
}), iN = /* @__PURE__ */
|
|
43762
|
+
}), iN = /* @__PURE__ */ pe((e, t) => {
|
|
43760
43763
|
const n = Ii(hs, e.__scopeScrollArea), { forceMount: r, ...i } = e, [o, s] = we(!1), a = e.orientation === "horizontal", l = Ov(() => {
|
|
43761
43764
|
if (n.viewport) {
|
|
43762
43765
|
const c = n.viewport.offsetWidth < n.viewport.scrollWidth, u = n.viewport.offsetHeight < n.viewport.scrollHeight;
|
|
@@ -43770,7 +43773,7 @@ const eN = "ScrollArea", [tN, xbe] = Jn(eN), [yce, Ii] = tN(eN), nN = /* @__PURE
|
|
|
43770
43773
|
}, i, {
|
|
43771
43774
|
ref: t
|
|
43772
43775
|
})));
|
|
43773
|
-
}), H_ = /* @__PURE__ */
|
|
43776
|
+
}), H_ = /* @__PURE__ */ pe((e, t) => {
|
|
43774
43777
|
const { orientation: n = "vertical", ...r } = e, i = Ii(hs, e.__scopeScrollArea), o = ue(null), s = ue(0), [a, l] = we({
|
|
43775
43778
|
content: 0,
|
|
43776
43779
|
viewport: 0,
|
|
@@ -43820,7 +43823,7 @@ const eN = "ScrollArea", [tN, xbe] = Jn(eN), [yce, Ii] = tN(eN), nN = /* @__PURE
|
|
|
43820
43823
|
i.viewport && (i.viewport.scrollTop = f(g));
|
|
43821
43824
|
}
|
|
43822
43825
|
})) : null;
|
|
43823
|
-
}), Cce = /* @__PURE__ */
|
|
43826
|
+
}), Cce = /* @__PURE__ */ pe((e, t) => {
|
|
43824
43827
|
const { sizes: n, onSizesChange: r, ...i } = e, o = Ii(hs, e.__scopeScrollArea), [s, a] = we(), l = ue(null), c = ft(t, l, o.onScrollbarXChange);
|
|
43825
43828
|
return ye(() => {
|
|
43826
43829
|
l.current && a(getComputedStyle(l.current));
|
|
@@ -43858,7 +43861,7 @@ const eN = "ScrollArea", [tN, xbe] = Jn(eN), [yce, Ii] = tN(eN), nN = /* @__PURE
|
|
|
43858
43861
|
});
|
|
43859
43862
|
}
|
|
43860
43863
|
}));
|
|
43861
|
-
}), Ece = /* @__PURE__ */
|
|
43864
|
+
}), Ece = /* @__PURE__ */ pe((e, t) => {
|
|
43862
43865
|
const { sizes: n, onSizesChange: r, ...i } = e, o = Ii(hs, e.__scopeScrollArea), [s, a] = we(), l = ue(null), c = ft(t, l, o.onScrollbarYChange);
|
|
43863
43866
|
return ye(() => {
|
|
43864
43867
|
l.current && a(getComputedStyle(l.current));
|
|
@@ -43897,7 +43900,7 @@ const eN = "ScrollArea", [tN, xbe] = Jn(eN), [yce, Ii] = tN(eN), nN = /* @__PURE
|
|
|
43897
43900
|
});
|
|
43898
43901
|
}
|
|
43899
43902
|
}));
|
|
43900
|
-
}), [Oce, oN] = tN(hs), sN = /* @__PURE__ */
|
|
43903
|
+
}), [Oce, oN] = tN(hs), sN = /* @__PURE__ */ pe((e, t) => {
|
|
43901
43904
|
const { __scopeScrollArea: n, sizes: r, hasThumb: i, onThumbChange: o, onThumbPointerUp: s, onThumbPointerDown: a, onThumbPositionChange: l, onDragScroll: c, onWheelScroll: u, onResize: f, ...g } = e, p = Ii(hs, n), [m, b] = we(null), x = ft(
|
|
43902
43905
|
t,
|
|
43903
43906
|
(T) => b(T)
|
|
@@ -43952,15 +43955,15 @@ const eN = "ScrollArea", [tN, xbe] = Jn(eN), [yce, Ii] = tN(eN), nN = /* @__PURE
|
|
|
43952
43955
|
L.hasPointerCapture(T.pointerId) && L.releasePointerCapture(T.pointerId), document.body.style.webkitUserSelect = _.current, p.viewport && (p.viewport.style.scrollBehavior = ""), w.current = null;
|
|
43953
43956
|
})
|
|
43954
43957
|
})));
|
|
43955
|
-
}),
|
|
43956
|
-
const { forceMount: n, ...r } = e, i = oN(
|
|
43958
|
+
}), d1 = "ScrollAreaThumb", Pce = /* @__PURE__ */ pe((e, t) => {
|
|
43959
|
+
const { forceMount: n, ...r } = e, i = oN(d1, e.__scopeScrollArea);
|
|
43957
43960
|
return /* @__PURE__ */ j(Nn, {
|
|
43958
43961
|
present: n || i.hasThumb
|
|
43959
43962
|
}, /* @__PURE__ */ j($ce, ae({
|
|
43960
43963
|
ref: t
|
|
43961
43964
|
}, r)));
|
|
43962
|
-
}), $ce = /* @__PURE__ */
|
|
43963
|
-
const { __scopeScrollArea: n, style: r, ...i } = e, o = Ii(
|
|
43965
|
+
}), $ce = /* @__PURE__ */ pe((e, t) => {
|
|
43966
|
+
const { __scopeScrollArea: n, style: r, ...i } = e, o = Ii(d1, n), s = oN(d1, n), { onThumbPositionChange: a } = s, l = ft(
|
|
43964
43967
|
t,
|
|
43965
43968
|
(f) => s.onThumbChange(f)
|
|
43966
43969
|
), c = ue(), u = Ov(() => {
|
|
@@ -43999,12 +44002,12 @@ const eN = "ScrollArea", [tN, xbe] = Jn(eN), [yce, Ii] = tN(eN), nN = /* @__PURE
|
|
|
43999
44002
|
}),
|
|
44000
44003
|
onPointerUp: Me(e.onPointerUp, s.onThumbPointerUp)
|
|
44001
44004
|
}));
|
|
44002
|
-
}), aN = "ScrollAreaCorner", kce = /* @__PURE__ */
|
|
44005
|
+
}), aN = "ScrollAreaCorner", kce = /* @__PURE__ */ pe((e, t) => {
|
|
44003
44006
|
const n = Ii(aN, e.__scopeScrollArea), r = !!(n.scrollbarX && n.scrollbarY);
|
|
44004
44007
|
return n.type !== "scroll" && r ? /* @__PURE__ */ j(Rce, ae({}, e, {
|
|
44005
44008
|
ref: t
|
|
44006
44009
|
})) : null;
|
|
44007
|
-
}), Rce = /* @__PURE__ */
|
|
44010
|
+
}), Rce = /* @__PURE__ */ pe((e, t) => {
|
|
44008
44011
|
const { __scopeScrollArea: n, ...r } = e, i = Ii(aN, n), [o, s] = we(0), [a, l] = we(0), c = !!(o && a);
|
|
44009
44012
|
return hu(i.scrollbarX, () => {
|
|
44010
44013
|
var u;
|
|
@@ -44058,7 +44061,7 @@ function g$(e, t, n = "ltr") {
|
|
|
44058
44061
|
] : [
|
|
44059
44062
|
s * -1,
|
|
44060
44063
|
0
|
|
44061
|
-
], c =
|
|
44064
|
+
], c = o1(e, l);
|
|
44062
44065
|
return cN([
|
|
44063
44066
|
0,
|
|
44064
44067
|
s
|
|
@@ -44160,7 +44163,7 @@ function fN({ column: e }) {
|
|
|
44160
44163
|
//
|
|
44161
44164
|
/* @__PURE__ */ v.jsx(GZ, { className: "size-3" })
|
|
44162
44165
|
) : th.includes(e.data_type.toLowerCase()) ? /* @__PURE__ */ v.jsx(yT, { className: "size-3" }) : g_.includes(e.data_type.toLowerCase()) ? /* @__PURE__ */ v.jsx(aJ, { className: "size-3" }) : /* @__PURE__ */ v.jsx(iJ, { className: "size-3" }) }),
|
|
44163
|
-
/* @__PURE__ */ v.jsx(Ol, { children: /* @__PURE__ */ v.jsx("p", { className: "text-xs
|
|
44166
|
+
/* @__PURE__ */ v.jsx(Ol, { children: /* @__PURE__ */ v.jsx("p", { className: "font-mono text-xs", children: e.data_type }) })
|
|
44164
44167
|
] });
|
|
44165
44168
|
}
|
|
44166
44169
|
function Nce({
|
|
@@ -44182,17 +44185,17 @@ function Nce({
|
|
|
44182
44185
|
let g = m_(e, t);
|
|
44183
44186
|
((m) => m.charAt(0) === m.charAt(0).toUpperCase())(t) && (g = `"${t}"`), a(!1), l(`SELECT * FROM ${g} LIMIT 10`), o(!0);
|
|
44184
44187
|
}
|
|
44185
|
-
return /* @__PURE__ */ v.jsxs("div", { className: " grow flex
|
|
44186
|
-
/* @__PURE__ */ v.jsx("div", { className: "
|
|
44188
|
+
return /* @__PURE__ */ v.jsxs("div", { className: "flex grow flex-col space-y-4 px-6", children: [
|
|
44189
|
+
/* @__PURE__ */ v.jsx("div", { className: "font-medium", children: /* @__PURE__ */ v.jsxs(
|
|
44187
44190
|
et,
|
|
44188
44191
|
{
|
|
44189
44192
|
disabled: r !== "Success",
|
|
44190
44193
|
onClick: u,
|
|
44191
44194
|
size: "sm",
|
|
44192
44195
|
variant: "secondary",
|
|
44193
|
-
className: "flex
|
|
44196
|
+
className: "flex w-full",
|
|
44194
44197
|
children: [
|
|
44195
|
-
r !== "Success" ? /* @__PURE__ */ v.jsx(Pl, { className: "
|
|
44198
|
+
r !== "Success" ? /* @__PURE__ */ v.jsx(Pl, { className: "mr-2 h-4 w-4 animate-spin text-foreground/50" }) : /* @__PURE__ */ v.jsx(oJ, { className: "mr-2 size-4" }),
|
|
44196
44199
|
"Show top 10 rows"
|
|
44197
44200
|
]
|
|
44198
44201
|
}
|
|
@@ -44200,20 +44203,20 @@ function Nce({
|
|
|
44200
44203
|
/* @__PURE__ */ v.jsxs(
|
|
44201
44204
|
uh,
|
|
44202
44205
|
{
|
|
44203
|
-
className: "
|
|
44206
|
+
className: "flex-1 basis-0 overflow-y-auto border-b border-t border-muted py-3",
|
|
44204
44207
|
children: [
|
|
44205
44208
|
n == null ? void 0 : n.map((f) => /* @__PURE__ */ v.jsxs(
|
|
44206
44209
|
"div",
|
|
44207
44210
|
{
|
|
44208
44211
|
onClick: () => c(f),
|
|
44209
44212
|
className: $e(
|
|
44210
|
-
"
|
|
44213
|
+
"mx-3 flex cursor-pointer items-center justify-between rounded px-2 py-[6px] text-sm transition-colors hover:bg-muted/50",
|
|
44211
44214
|
{
|
|
44212
|
-
"
|
|
44215
|
+
"bg-muted": cne(f, i)
|
|
44213
44216
|
}
|
|
44214
44217
|
),
|
|
44215
44218
|
children: [
|
|
44216
|
-
/* @__PURE__ */ v.jsxs("div", { className: "flex items-center space-x-2
|
|
44219
|
+
/* @__PURE__ */ v.jsxs("div", { className: "flex items-center space-x-2", children: [
|
|
44217
44220
|
/* @__PURE__ */ v.jsx(fN, { column: f }),
|
|
44218
44221
|
/* @__PURE__ */ v.jsx("span", { children: f.column_name })
|
|
44219
44222
|
] }),
|
|
@@ -44221,7 +44224,7 @@ function Nce({
|
|
|
44221
44224
|
"div",
|
|
44222
44225
|
{
|
|
44223
44226
|
onClick: (g) => g.stopPropagation(),
|
|
44224
|
-
className: "
|
|
44227
|
+
className: "flex items-center justify-end",
|
|
44225
44228
|
children: /* @__PURE__ */ v.jsx(vce, { column: f })
|
|
44226
44229
|
}
|
|
44227
44230
|
)
|
|
@@ -44910,7 +44913,7 @@ function Gce({
|
|
|
44910
44913
|
pointerEvents: t !== null ? "none" : void 0
|
|
44911
44914
|
};
|
|
44912
44915
|
}
|
|
44913
|
-
let
|
|
44916
|
+
let f1 = null, Ua = null;
|
|
44914
44917
|
function PN(e) {
|
|
44915
44918
|
switch (e) {
|
|
44916
44919
|
case "horizontal":
|
|
@@ -44928,12 +44931,12 @@ function PN(e) {
|
|
|
44928
44931
|
}
|
|
44929
44932
|
}
|
|
44930
44933
|
function Yce() {
|
|
44931
|
-
Ua !== null && (document.head.removeChild(Ua),
|
|
44934
|
+
Ua !== null && (document.head.removeChild(Ua), f1 = null, Ua = null);
|
|
44932
44935
|
}
|
|
44933
44936
|
function ay(e) {
|
|
44934
|
-
if (
|
|
44937
|
+
if (f1 === e)
|
|
44935
44938
|
return;
|
|
44936
|
-
|
|
44939
|
+
f1 = e;
|
|
44937
44940
|
const t = PN(e);
|
|
44938
44941
|
Ua === null && (Ua = document.createElement("style"), document.head.appendChild(Ua)), Ua.innerHTML = `*{cursor: ${t}!important;}`;
|
|
44939
44942
|
}
|
|
@@ -45517,7 +45520,7 @@ function TN({
|
|
|
45517
45520
|
});
|
|
45518
45521
|
}
|
|
45519
45522
|
TN.displayName = "PanelResizeHandle";
|
|
45520
|
-
const
|
|
45523
|
+
const h1 = ({
|
|
45521
45524
|
className: e,
|
|
45522
45525
|
...t
|
|
45523
45526
|
}) => /* @__PURE__ */ v.jsx(
|
|
@@ -45529,7 +45532,7 @@ const f1 = ({
|
|
|
45529
45532
|
),
|
|
45530
45533
|
...t
|
|
45531
45534
|
}
|
|
45532
|
-
), Sc = bN,
|
|
45535
|
+
), Sc = bN, p1 = ({
|
|
45533
45536
|
withHandle: e,
|
|
45534
45537
|
className: t,
|
|
45535
45538
|
...n
|
|
@@ -46143,7 +46146,7 @@ function sde({
|
|
|
46143
46146
|
onCheckedChange: t,
|
|
46144
46147
|
checked: n
|
|
46145
46148
|
}) {
|
|
46146
|
-
return /* @__PURE__ */ v.jsxs("div", { className: "
|
|
46149
|
+
return /* @__PURE__ */ v.jsxs("div", { className: "xbg-red-100 ml-6 flex items-center gap-2", children: [
|
|
46147
46150
|
/* @__PURE__ */ v.jsx(ch, { checked: n, onCheckedChange: t }),
|
|
46148
46151
|
/* @__PURE__ */ v.jsx("label", { className: "text-xs leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70", children: e })
|
|
46149
46152
|
] });
|
|
@@ -46169,19 +46172,19 @@ function ade() {
|
|
|
46169
46172
|
console.log(l), l.sql ? (console.log(l.records), i(l.sql)) : i("Error");
|
|
46170
46173
|
},
|
|
46171
46174
|
children: [
|
|
46172
|
-
/* @__PURE__ */ v.jsx(Zw, { asChild: !0, children: n && /* @__PURE__ */ v.jsx("p", { className: "
|
|
46173
|
-
/* @__PURE__ */ v.jsxs(tv, { align: "end", className: "w-[600px]
|
|
46174
|
-
/* @__PURE__ */ v.jsx("div", { className: "
|
|
46175
|
+
/* @__PURE__ */ v.jsx(Zw, { asChild: !0, children: n && /* @__PURE__ */ v.jsx("p", { className: "p-0 text-xs hover:cursor-pointer", children: "| Filter Query" }) }),
|
|
46176
|
+
/* @__PURE__ */ v.jsxs(tv, { align: "end", className: "w-[600px]", children: [
|
|
46177
|
+
/* @__PURE__ */ v.jsx("div", { className: "flex justify-between space-x-4", children: /* @__PURE__ */ v.jsx("div", { className: "rounded-sm bg-muted p-2", children: /* @__PURE__ */ v.jsxs("code", { ref: t, className: "font-mono text-sm", children: [
|
|
46175
46178
|
r,
|
|
46176
46179
|
/* @__PURE__ */ v.jsx(
|
|
46177
46180
|
XD,
|
|
46178
46181
|
{
|
|
46179
46182
|
onClick: () => t8(t),
|
|
46180
|
-
className: " inline-block
|
|
46183
|
+
className: "ml-3 inline-block h-4 w-4 opacity-70 hover:cursor-pointer hover:opacity-100"
|
|
46181
46184
|
}
|
|
46182
46185
|
)
|
|
46183
46186
|
] }) }) }),
|
|
46184
|
-
/* @__PURE__ */ v.jsxs("div", { className: "flex gap-2
|
|
46187
|
+
/* @__PURE__ */ v.jsxs("div", { className: "flex items-center gap-2 pt-2", children: [
|
|
46185
46188
|
/* @__PURE__ */ v.jsx(QD, { className: "h-4 w-4 opacity-70" }),
|
|
46186
46189
|
/* @__PURE__ */ v.jsx("span", { className: "text-xs text-muted-foreground", children: "A preview of the query with filters applied." })
|
|
46187
46190
|
] })
|
|
@@ -46228,7 +46231,7 @@ function HN(e, t) {
|
|
|
46228
46231
|
Object.assign(n, e[i].property), Object.assign(r, e[i].normal);
|
|
46229
46232
|
return new fh(n, r, t);
|
|
46230
46233
|
}
|
|
46231
|
-
function
|
|
46234
|
+
function g1(e) {
|
|
46232
46235
|
return e.toLowerCase();
|
|
46233
46236
|
}
|
|
46234
46237
|
class Li {
|
|
@@ -46256,7 +46259,7 @@ const mt = Il(), Tn = Il(), WN = Il(), De = Il(), tn = Il(), $c = Il(), ei = Il(
|
|
|
46256
46259
|
function Il() {
|
|
46257
46260
|
return 2 ** ++pde;
|
|
46258
46261
|
}
|
|
46259
|
-
const
|
|
46262
|
+
const m1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
46260
46263
|
__proto__: null,
|
|
46261
46264
|
boolean: mt,
|
|
46262
46265
|
booleanish: Tn,
|
|
@@ -46265,7 +46268,7 @@ const g1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
46265
46268
|
number: De,
|
|
46266
46269
|
overloadedBoolean: WN,
|
|
46267
46270
|
spaceSeparated: tn
|
|
46268
|
-
}, Symbol.toStringTag, { value: "Module" })), dy = Object.keys(
|
|
46271
|
+
}, Symbol.toStringTag, { value: "Module" })), dy = Object.keys(m1);
|
|
46269
46272
|
class U_ extends Li {
|
|
46270
46273
|
/**
|
|
46271
46274
|
* @constructor
|
|
@@ -46279,7 +46282,7 @@ class U_ extends Li {
|
|
|
46279
46282
|
if (super(t, n), k$(this, "space", i), typeof r == "number")
|
|
46280
46283
|
for (; ++o < dy.length; ) {
|
|
46281
46284
|
const s = dy[o];
|
|
46282
|
-
k$(this, dy[o], (r &
|
|
46285
|
+
k$(this, dy[o], (r & m1[s]) === m1[s]);
|
|
46283
46286
|
}
|
|
46284
46287
|
}
|
|
46285
46288
|
}
|
|
@@ -46299,7 +46302,7 @@ function Cu(e) {
|
|
|
46299
46302
|
i,
|
|
46300
46303
|
e.space
|
|
46301
46304
|
);
|
|
46302
|
-
e.mustUseProperty && e.mustUseProperty.includes(r) && (o.mustUseProperty = !0), t[r] = o, n[
|
|
46305
|
+
e.mustUseProperty && e.mustUseProperty.includes(r) && (o.mustUseProperty = !0), t[r] = o, n[g1(r)] = r, n[g1(o.attribute)] = r;
|
|
46303
46306
|
}
|
|
46304
46307
|
return new fh(t, n, e.space);
|
|
46305
46308
|
}
|
|
@@ -47310,7 +47313,7 @@ const KN = Cu({
|
|
|
47310
47313
|
}
|
|
47311
47314
|
}), bde = /^data[-\w.:]+$/i, R$ = /-[a-z]/g, yde = /[A-Z]/g;
|
|
47312
47315
|
function xde(e, t) {
|
|
47313
|
-
const n =
|
|
47316
|
+
const n = g1(t);
|
|
47314
47317
|
let r = t, i = Li;
|
|
47315
47318
|
if (n in e.normal)
|
|
47316
47319
|
return e.property[e.normal[n]];
|
|
@@ -47480,13 +47483,13 @@ function Bde(e) {
|
|
|
47480
47483
|
return { start: t, end: n };
|
|
47481
47484
|
}
|
|
47482
47485
|
function Td(e) {
|
|
47483
|
-
return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? I$(e.position) : "start" in e || "end" in e ? I$(e) : "line" in e || "column" in e ?
|
|
47486
|
+
return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? I$(e.position) : "start" in e || "end" in e ? I$(e) : "line" in e || "column" in e ? v1(e) : "";
|
|
47484
47487
|
}
|
|
47485
|
-
function
|
|
47488
|
+
function v1(e) {
|
|
47486
47489
|
return L$(e && e.line) + ":" + L$(e && e.column);
|
|
47487
47490
|
}
|
|
47488
47491
|
function I$(e) {
|
|
47489
|
-
return
|
|
47492
|
+
return v1(e && e.start) + "-" + v1(e && e.end);
|
|
47490
47493
|
}
|
|
47491
47494
|
function L$(e) {
|
|
47492
47495
|
return e && typeof e == "number" ? e : 1;
|
|
@@ -47991,14 +47994,14 @@ function kc(e) {
|
|
|
47991
47994
|
return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
|
|
47992
47995
|
}
|
|
47993
47996
|
const mfe = la(new RegExp("\\p{P}", "u")), mo = la(/[A-Za-z]/), ci = la(/[\dA-Za-z]/), vfe = la(/[#-'*+\--9=?A-Z^-~]/);
|
|
47994
|
-
function
|
|
47997
|
+
function b1(e) {
|
|
47995
47998
|
return (
|
|
47996
47999
|
// Special whitespace codes (which have negative values), C0 and Control
|
|
47997
48000
|
// character DEL
|
|
47998
48001
|
e !== null && (e < 32 || e === 127)
|
|
47999
48002
|
);
|
|
48000
48003
|
}
|
|
48001
|
-
const
|
|
48004
|
+
const y1 = la(/\d/), bfe = la(/[\dA-Fa-f]/), sI = la(/[!-/:-@[-`{-~]/);
|
|
48002
48005
|
function rt(e) {
|
|
48003
48006
|
return e !== null && e < -2;
|
|
48004
48007
|
}
|
|
@@ -48242,7 +48245,7 @@ function Z_(e, t, n) {
|
|
|
48242
48245
|
}
|
|
48243
48246
|
return t;
|
|
48244
48247
|
}
|
|
48245
|
-
const
|
|
48248
|
+
const x1 = {
|
|
48246
48249
|
name: "attention",
|
|
48247
48250
|
tokenize: Pfe,
|
|
48248
48251
|
resolveAll: Ofe
|
|
@@ -48342,7 +48345,7 @@ function kfe(e, t, n) {
|
|
|
48342
48345
|
return p === 58 ? (e.consume(p), r = 0, l) : (p === 43 || p === 45 || p === 46 || ci(p)) && r++ < 32 ? (e.consume(p), a) : (r = 0, c(p));
|
|
48343
48346
|
}
|
|
48344
48347
|
function l(p) {
|
|
48345
|
-
return p === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(p), e.exit("autolinkMarker"), e.exit("autolink"), t) : p === null || p === 32 || p === 60 ||
|
|
48348
|
+
return p === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(p), e.exit("autolinkMarker"), e.exit("autolink"), t) : p === null || p === 32 || p === 60 || b1(p) ? n(p) : (e.consume(p), l);
|
|
48346
48349
|
}
|
|
48347
48350
|
function c(p) {
|
|
48348
48351
|
return p === 64 ? (e.consume(p), u) : vfe(p) ? (e.consume(p), c) : n(p);
|
|
@@ -48444,7 +48447,7 @@ function Nfe(e, t, n) {
|
|
|
48444
48447
|
return f === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(f), e.exit("characterReferenceMarkerNumeric"), c) : (e.enter("characterReferenceValue"), o = 31, s = ci, u(f));
|
|
48445
48448
|
}
|
|
48446
48449
|
function c(f) {
|
|
48447
|
-
return f === 88 || f === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(f), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), o = 6, s = bfe, u) : (e.enter("characterReferenceValue"), o = 7, s =
|
|
48450
|
+
return f === 88 || f === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(f), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), o = 6, s = bfe, u) : (e.enter("characterReferenceValue"), o = 7, s = y1, u(f));
|
|
48448
48451
|
}
|
|
48449
48452
|
function u(f) {
|
|
48450
48453
|
if (f === 59 && i) {
|
|
@@ -48726,7 +48729,7 @@ function dI(e, t, n, r, i, o, s, a, l) {
|
|
|
48726
48729
|
let u = 0;
|
|
48727
48730
|
return f;
|
|
48728
48731
|
function f(w) {
|
|
48729
|
-
return w === 60 ? (e.enter(r), e.enter(i), e.enter(o), e.consume(w), e.exit(o), g) : w === null || w === 32 || w === 41 ||
|
|
48732
|
+
return w === 60 ? (e.enter(r), e.enter(i), e.enter(o), e.consume(w), e.exit(o), g) : w === null || w === 32 || w === 41 || b1(w) ? n(w) : (e.enter(r), e.enter(s), e.enter(a), e.enter("chunkString", {
|
|
48730
48733
|
contentType: "string"
|
|
48731
48734
|
}), b(w));
|
|
48732
48735
|
}
|
|
@@ -48742,7 +48745,7 @@ function dI(e, t, n, r, i, o, s, a, l) {
|
|
|
48742
48745
|
return w === 60 || w === 62 || w === 92 ? (e.consume(w), p) : p(w);
|
|
48743
48746
|
}
|
|
48744
48747
|
function b(w) {
|
|
48745
|
-
return !u && (w === null || w === 41 || Wr(w)) ? (e.exit("chunkString"), e.exit(a), e.exit(s), e.exit(r), t(w)) : u < c && w === 40 ? (e.consume(w), u++, b) : w === 41 ? (e.consume(w), u--, b) : w === null || w === 32 || w === 40 ||
|
|
48748
|
+
return !u && (w === null || w === 41 || Wr(w)) ? (e.exit("chunkString"), e.exit(a), e.exit(s), e.exit(r), t(w)) : u < c && w === 40 ? (e.consume(w), u++, b) : w === 41 ? (e.consume(w), u--, b) : w === null || w === 32 || w === 40 || b1(w) ? n(w) : (e.consume(w), w === 92 ? x : b);
|
|
48746
48749
|
}
|
|
48747
48750
|
function x(w) {
|
|
48748
48751
|
return w === 40 || w === 41 || w === 92 ? (e.consume(w), b) : b(w);
|
|
@@ -49521,7 +49524,7 @@ function The(e, t, n) {
|
|
|
49521
49524
|
return a;
|
|
49522
49525
|
function a(p) {
|
|
49523
49526
|
const m = r.containerState.type || (p === 42 || p === 43 || p === 45 ? "listUnordered" : "listOrdered");
|
|
49524
|
-
if (m === "listUnordered" ? !r.containerState.marker || p === r.containerState.marker :
|
|
49527
|
+
if (m === "listUnordered" ? !r.containerState.marker || p === r.containerState.marker : y1(p)) {
|
|
49525
49528
|
if (r.containerState.type || (r.containerState.type = m, e.enter(m, {
|
|
49526
49529
|
_container: !0
|
|
49527
49530
|
})), m === "listUnordered")
|
|
@@ -49532,7 +49535,7 @@ function The(e, t, n) {
|
|
|
49532
49535
|
return n(p);
|
|
49533
49536
|
}
|
|
49534
49537
|
function l(p) {
|
|
49535
|
-
return
|
|
49538
|
+
return y1(p) && ++s < 10 ? (e.consume(p), l) : (!r.interrupt || s < 2) && (r.containerState.marker ? p === r.containerState.marker : p === 41 || p === 46) ? (e.exit("listItemValue"), c(p)) : n(p);
|
|
49536
49539
|
}
|
|
49537
49540
|
function c(p) {
|
|
49538
49541
|
return e.enter("listItemMarker"), e.consume(p), e.exit("listItemMarker"), r.containerState.marker = r.containerState.marker || p, e.check(
|
|
@@ -50039,15 +50042,15 @@ const Khe = {
|
|
|
50039
50042
|
[-3]: py,
|
|
50040
50043
|
33: Ehe,
|
|
50041
50044
|
38: cI,
|
|
50042
|
-
42:
|
|
50045
|
+
42: x1,
|
|
50043
50046
|
60: [$fe, phe],
|
|
50044
50047
|
91: Phe,
|
|
50045
50048
|
92: [the, lI],
|
|
50046
50049
|
93: J_,
|
|
50047
|
-
95:
|
|
50050
|
+
95: x1,
|
|
50048
50051
|
96: Bfe
|
|
50049
50052
|
}, tpe = {
|
|
50050
|
-
null: [
|
|
50053
|
+
null: [x1, Vhe]
|
|
50051
50054
|
}, npe = {
|
|
50052
50055
|
null: [42, 95]
|
|
50053
50056
|
}, rpe = {
|
|
@@ -51475,7 +51478,7 @@ function EI(e, t, n, r) {
|
|
|
51475
51478
|
return s(l, f, u);
|
|
51476
51479
|
}
|
|
51477
51480
|
}
|
|
51478
|
-
const
|
|
51481
|
+
const w1 = {}.hasOwnProperty, rge = {};
|
|
51479
51482
|
function ige(e, t) {
|
|
51480
51483
|
const n = t || rge, r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map(), s = { ...zpe, ...n.handlers }, a = {
|
|
51481
51484
|
all: c,
|
|
@@ -51498,7 +51501,7 @@ function ige(e, t) {
|
|
|
51498
51501
|
}), a;
|
|
51499
51502
|
function l(u, f) {
|
|
51500
51503
|
const g = u.type, p = a.handlers[g];
|
|
51501
|
-
if (
|
|
51504
|
+
if (w1.call(a.handlers, g) && p)
|
|
51502
51505
|
return p(a, u, f);
|
|
51503
51506
|
if (a.options.passThrough && a.options.passThrough.includes(g)) {
|
|
51504
51507
|
if ("children" in u) {
|
|
@@ -51547,7 +51550,7 @@ function sge(e, t) {
|
|
|
51547
51550
|
return n;
|
|
51548
51551
|
}
|
|
51549
51552
|
function age(e, t) {
|
|
51550
|
-
const n = t.data || {}, r = "value" in t && !(
|
|
51553
|
+
const n = t.data || {}, r = "value" in t && !(w1.call(n, "hProperties") || w1.call(n, "hChildren")) ? { type: "text", value: t.value } : {
|
|
51551
51554
|
type: "element",
|
|
51552
51555
|
tagName: "div",
|
|
51553
51556
|
properties: {},
|
|
@@ -51630,7 +51633,7 @@ var bg = Object.prototype.hasOwnProperty, OI = Object.prototype.toString, sk = O
|
|
|
51630
51633
|
return a;
|
|
51631
51634
|
};
|
|
51632
51635
|
const gy = /* @__PURE__ */ Af(uge);
|
|
51633
|
-
function
|
|
51636
|
+
function _1(e) {
|
|
51634
51637
|
if (typeof e != "object" || e === null)
|
|
51635
51638
|
return !1;
|
|
51636
51639
|
const t = Object.getPrototypeOf(e);
|
|
@@ -51809,14 +51812,14 @@ const yge = { cwd: xge };
|
|
|
51809
51812
|
function xge() {
|
|
51810
51813
|
return "/";
|
|
51811
51814
|
}
|
|
51812
|
-
function
|
|
51815
|
+
function S1(e) {
|
|
51813
51816
|
return !!(e !== null && typeof e == "object" && "href" in e && e.href && "protocol" in e && e.protocol && // @ts-expect-error: indexing is fine.
|
|
51814
51817
|
e.auth === void 0);
|
|
51815
51818
|
}
|
|
51816
51819
|
function wge(e) {
|
|
51817
51820
|
if (typeof e == "string")
|
|
51818
51821
|
e = new URL(e);
|
|
51819
|
-
else if (!
|
|
51822
|
+
else if (!S1(e)) {
|
|
51820
51823
|
const t = new TypeError(
|
|
51821
51824
|
'The "path" argument must be of type string or an instance of URL. Received `' + e + "`"
|
|
51822
51825
|
);
|
|
@@ -51885,7 +51888,7 @@ class PI {
|
|
|
51885
51888
|
*/
|
|
51886
51889
|
constructor(t) {
|
|
51887
51890
|
let n;
|
|
51888
|
-
t ?
|
|
51891
|
+
t ? S1(t) ? n = { path: t } : typeof t == "string" || Sge(t) ? n = { value: t } : n = t : n = {}, this.cwd = yge.cwd(), this.data = {}, this.history = [], this.messages = [], this.value, this.map, this.result, this.stored;
|
|
51889
51892
|
let r = -1;
|
|
51890
51893
|
for (; ++r < my.length; ) {
|
|
51891
51894
|
const o = my[r];
|
|
@@ -51993,7 +51996,7 @@ class PI {
|
|
|
51993
51996
|
* Nothing.
|
|
51994
51997
|
*/
|
|
51995
51998
|
set path(t) {
|
|
51996
|
-
|
|
51999
|
+
S1(t) && (t = wge(t)), by(t, "path"), this.path !== t && this.history.push(t);
|
|
51997
52000
|
}
|
|
51998
52001
|
/**
|
|
51999
52002
|
* Get the stem (basename w/o extname) (example: `'index.min'`).
|
|
@@ -52753,7 +52756,7 @@ class iS extends Cge {
|
|
|
52753
52756
|
else if (u.length > 0) {
|
|
52754
52757
|
let [p, ...m] = u;
|
|
52755
52758
|
const b = r[g][1];
|
|
52756
|
-
|
|
52759
|
+
_1(b) && _1(p) && (p = gy(!0, b, p)), r[g] = [c, p, ...m];
|
|
52757
52760
|
}
|
|
52758
52761
|
}
|
|
52759
52762
|
}
|
|
@@ -52774,7 +52777,7 @@ function wy(e, t) {
|
|
|
52774
52777
|
);
|
|
52775
52778
|
}
|
|
52776
52779
|
function hk(e) {
|
|
52777
|
-
if (!
|
|
52780
|
+
if (!_1(e) || typeof e.type != "string")
|
|
52778
52781
|
throw new TypeError("Expected node, got `" + e + "`");
|
|
52779
52782
|
}
|
|
52780
52783
|
function pk(e, t, n) {
|
|
@@ -52935,7 +52938,7 @@ function Ige({
|
|
|
52935
52938
|
triggerAIRun: i,
|
|
52936
52939
|
setTriggerAIRun: o
|
|
52937
52940
|
}) {
|
|
52938
|
-
const s = ue(null), a = ue(null), { authToken: l } = Po(), [c, u] = we(!1), f = me((G) => G.actions.setCardSql), g =
|
|
52941
|
+
const s = ue(null), a = ue(null), { authToken: l } = Po(), [c, u] = we(!1), f = me((G) => G.actions.setCardSql), g = ge((G) => G.dashboard.baseQueries), p = me((G) => G.actions.setRunSql), m = me((G) => G.actions.setCardType), [b, x] = we([]), w = me((G) => G.currentColumns), _ = me((G) => G.card.sql), S = me((G) => G.selectedTableName), O = `
|
|
52939
52942
|
${n}
|
|
52940
52943
|
|
|
52941
52944
|
Database Query Dialect: ${S === "api" || S === "s3" ? "DuckDb" : ""}
|
|
@@ -53255,7 +53258,7 @@ function Hge(e) {
|
|
|
53255
53258
|
function Wge(e) {
|
|
53256
53259
|
return Ll({ tag: "svg", attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M439.8 200.5c-7.7-30.9-22.3-54.2-53.4-54.2h-40.1v47.4c0 36.8-31.2 67.8-66.8 67.8H172.7c-29.2 0-53.4 25-53.4 54.3v101.8c0 29 25.2 46 53.4 54.3 33.8 9.9 66.3 11.7 106.8 0 26.9-7.8 53.4-23.5 53.4-54.3v-40.7H226.2v-13.6h160.2c31.1 0 42.6-21.7 53.4-54.2 11.2-33.5 10.7-65.7 0-108.6zM286.2 404c11.1 0 20.1 9.1 20.1 20.3 0 11.3-9 20.4-20.1 20.4-11 0-20.1-9.2-20.1-20.4.1-11.3 9.1-20.3 20.1-20.3zM167.8 248.1h106.8c29.7 0 53.4-24.5 53.4-54.3V91.9c0-29-24.4-50.7-53.4-55.6-35.8-5.9-74.7-5.6-106.8.1-45.2 8-53.4 24.7-53.4 55.6v40.7h106.9v13.6h-147c-31.1 0-58.3 18.7-66.8 54.2-9.8 40.7-10.2 66.1 0 108.6 7.6 31.6 25.7 54.2 56.8 54.2H101v-48.8c0-35.3 30.5-66.4 66.8-66.4zm-6.7-142.6c-11.1 0-20.1-9.1-20.1-20.3.1-11.3 9-20.4 20.1-20.4 11 0 20.1 9.2 20.1 20.4s-9 20.3-20.1 20.3z" }, child: [] }] })(e);
|
|
53257
53260
|
}
|
|
53258
|
-
const Uge = /* @__PURE__ */
|
|
53261
|
+
const Uge = /* @__PURE__ */ pe((e, t) => {
|
|
53259
53262
|
const { pressed: n, defaultPressed: r = !1, onPressedChange: i, ...o } = e, [s = !1, a] = mr({
|
|
53260
53263
|
prop: n,
|
|
53261
53264
|
onChange: i,
|
|
@@ -53302,15 +53305,15 @@ const Uge = /* @__PURE__ */ ge((e, t) => {
|
|
|
53302
53305
|
MI.displayName = RI.displayName;
|
|
53303
53306
|
function Gge() {
|
|
53304
53307
|
const { theme: e } = zR(), t = ue(), n = ue(), [r, i] = we(!1), [o, s] = we(!1), [a, l] = we(!1), [c, u] = we(""), [f, g] = we(!1), { authToken: p } = Po();
|
|
53305
|
-
|
|
53306
|
-
const m =
|
|
53308
|
+
ge((W) => W.selectedSheetId);
|
|
53309
|
+
const m = ge((W) => W.dashboard.baseQueries), b = me((W) => W.card), x = ge((W) => W.theme), w = me((W) => W.isShowingVisual), _ = me(
|
|
53307
53310
|
(W) => W.selectedConnectionId
|
|
53308
53311
|
), S = me(
|
|
53309
53312
|
(W) => W.selectedDatabaseName
|
|
53310
53313
|
), O = me(
|
|
53311
53314
|
(W) => W.selectedSchemaName
|
|
53312
53315
|
);
|
|
53313
|
-
|
|
53316
|
+
ge(
|
|
53314
53317
|
(W) => W.actions.updateFrameCard
|
|
53315
53318
|
);
|
|
53316
53319
|
const E = me((W) => W.selectedTableName), P = me((W) => W.card.sql), D = me((W) => W.card.python), M = Fk(P, m), T = me((W) => W.selectedConnectionId), L = me((W) => W.frame), F = me((W) => W.filterValues), B = me((W) => W.applyFilters), {
|
|
@@ -53342,7 +53345,7 @@ function Gge() {
|
|
|
53342
53345
|
{
|
|
53343
53346
|
connection_id: T,
|
|
53344
53347
|
sql: M,
|
|
53345
|
-
python: D ===
|
|
53348
|
+
python: D === Ay ? "" : D,
|
|
53346
53349
|
active_filters: B ? F : []
|
|
53347
53350
|
}
|
|
53348
53351
|
),
|
|
@@ -53447,10 +53450,10 @@ function Gge() {
|
|
|
53447
53450
|
o && /* @__PURE__ */ v.jsx(
|
|
53448
53451
|
"div",
|
|
53449
53452
|
{
|
|
53450
|
-
className: "
|
|
53453
|
+
className: "xbg-yellow-100 relative flex w-1/3 min-w-0 grow overflow-hidden border-l p-1 text-xs",
|
|
53451
53454
|
role: "editor-filter-container",
|
|
53452
|
-
children: /* @__PURE__ */ v.jsxs("div", { className: "
|
|
53453
|
-
/* @__PURE__ */ v.jsxs("div", { className: "flex gap-2 pt-3
|
|
53455
|
+
children: /* @__PURE__ */ v.jsxs("div", { className: "w-[99%]", children: [
|
|
53456
|
+
/* @__PURE__ */ v.jsxs("div", { className: "flex items-center gap-2 pt-3", children: [
|
|
53454
53457
|
/* @__PURE__ */ v.jsx(
|
|
53455
53458
|
sde,
|
|
53456
53459
|
{
|
|
@@ -53464,7 +53467,7 @@ function Gge() {
|
|
|
53464
53467
|
su,
|
|
53465
53468
|
{
|
|
53466
53469
|
onClick: () => s(!1),
|
|
53467
|
-
className: "
|
|
53470
|
+
className: "bg-background/50 text-foreground/50 hover:cursor-pointer hover:text-foreground"
|
|
53468
53471
|
}
|
|
53469
53472
|
)
|
|
53470
53473
|
] }),
|
|
@@ -53480,7 +53483,7 @@ function Gge() {
|
|
|
53480
53483
|
}
|
|
53481
53484
|
},
|
|
53482
53485
|
defaultLanguage: "json",
|
|
53483
|
-
className: "min-h-[220px]
|
|
53486
|
+
className: "mt-1 min-h-[220px]",
|
|
53484
53487
|
value: JSON.stringify(F, null, 2),
|
|
53485
53488
|
options: {
|
|
53486
53489
|
readOnly: !0,
|
|
@@ -53507,9 +53510,9 @@ function Gge() {
|
|
|
53507
53510
|
{
|
|
53508
53511
|
onClick: () => s(!0),
|
|
53509
53512
|
className: $e(
|
|
53510
|
-
"absolute right-6
|
|
53513
|
+
"absolute bottom-4 right-6 h-3 w-3 text-foreground/50 hover:cursor-pointer hover:text-foreground",
|
|
53511
53514
|
{
|
|
53512
|
-
"text-red-800
|
|
53515
|
+
"font-bold text-red-800": B
|
|
53513
53516
|
}
|
|
53514
53517
|
)
|
|
53515
53518
|
}
|
|
@@ -53518,9 +53521,9 @@ function Gge() {
|
|
|
53518
53521
|
}
|
|
53519
53522
|
function To() {
|
|
53520
53523
|
return /* @__PURE__ */ v.jsxs(
|
|
53521
|
-
|
|
53524
|
+
h1,
|
|
53522
53525
|
{
|
|
53523
|
-
className: "flex grow pb-1
|
|
53526
|
+
className: "flex grow pb-1",
|
|
53524
53527
|
direction: "vertical",
|
|
53525
53528
|
role: "editor-resizable-group",
|
|
53526
53529
|
children: [
|
|
@@ -53530,13 +53533,13 @@ function Gge() {
|
|
|
53530
53533
|
id: "1",
|
|
53531
53534
|
order: 1,
|
|
53532
53535
|
defaultSize: r ? 20 : 100,
|
|
53533
|
-
className: "flex grow
|
|
53536
|
+
className: "relative flex grow",
|
|
53534
53537
|
children: [
|
|
53535
53538
|
/* @__PURE__ */ v.jsx(
|
|
53536
53539
|
"div",
|
|
53537
53540
|
{
|
|
53538
53541
|
role: "sql-container",
|
|
53539
|
-
className: "flex
|
|
53542
|
+
className: "relative flex w-[99%]",
|
|
53540
53543
|
children: /* @__PURE__ */ v.jsx(
|
|
53541
53544
|
mg,
|
|
53542
53545
|
{
|
|
@@ -53566,25 +53569,25 @@ function Gge() {
|
|
|
53566
53569
|
)
|
|
53567
53570
|
}
|
|
53568
53571
|
),
|
|
53569
|
-
r && /* @__PURE__ */ v.jsx("code", { className: "absolute
|
|
53572
|
+
r && /* @__PURE__ */ v.jsx("code", { className: "absolute right-6 top-3 text-sm text-muted-foreground/70", children: "sql" })
|
|
53570
53573
|
]
|
|
53571
53574
|
}
|
|
53572
53575
|
),
|
|
53573
53576
|
r && /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
|
|
53574
|
-
/* @__PURE__ */ v.jsx(
|
|
53577
|
+
/* @__PURE__ */ v.jsx(p1, { withHandle: !0, className: "border" }),
|
|
53575
53578
|
/* @__PURE__ */ v.jsxs(
|
|
53576
53579
|
Sc,
|
|
53577
53580
|
{
|
|
53578
53581
|
id: "2",
|
|
53579
53582
|
order: 2,
|
|
53580
53583
|
defaultSize: 80,
|
|
53581
|
-
className: "flex grow
|
|
53584
|
+
className: "relative flex grow",
|
|
53582
53585
|
children: [
|
|
53583
53586
|
/* @__PURE__ */ v.jsx(
|
|
53584
53587
|
"div",
|
|
53585
53588
|
{
|
|
53586
53589
|
role: "python-container",
|
|
53587
|
-
className: "flex
|
|
53590
|
+
className: "relative flex w-[99%] pt-0",
|
|
53588
53591
|
children: /* @__PURE__ */ v.jsx(
|
|
53589
53592
|
mg,
|
|
53590
53593
|
{
|
|
@@ -53593,7 +53596,7 @@ function Gge() {
|
|
|
53593
53596
|
onChange: (W) => {
|
|
53594
53597
|
Y(W && W.trim() || "");
|
|
53595
53598
|
},
|
|
53596
|
-
value: D ||
|
|
53599
|
+
value: D || Ay,
|
|
53597
53600
|
options: {
|
|
53598
53601
|
minimap: {
|
|
53599
53602
|
enabled: !1
|
|
@@ -53613,7 +53616,7 @@ function Gge() {
|
|
|
53613
53616
|
)
|
|
53614
53617
|
}
|
|
53615
53618
|
),
|
|
53616
|
-
/* @__PURE__ */ v.jsx("code", { className: "absolute
|
|
53619
|
+
/* @__PURE__ */ v.jsx("code", { className: "absolute right-6 top-3 text-sm text-muted-foreground/70", children: "python" })
|
|
53617
53620
|
]
|
|
53618
53621
|
}
|
|
53619
53622
|
)
|
|
@@ -53628,13 +53631,13 @@ function Gge() {
|
|
|
53628
53631
|
"section",
|
|
53629
53632
|
{
|
|
53630
53633
|
role: "editor-section",
|
|
53631
|
-
className: "
|
|
53634
|
+
className: "flex grow flex-col justify-end",
|
|
53632
53635
|
children: [
|
|
53633
53636
|
/* @__PURE__ */ v.jsxs(
|
|
53634
53637
|
"div",
|
|
53635
53638
|
{
|
|
53636
53639
|
role: "sql-editor",
|
|
53637
|
-
className: " grow
|
|
53640
|
+
className: "relative flex grow justify-between overflow-y-scroll",
|
|
53638
53641
|
children: [
|
|
53639
53642
|
To(),
|
|
53640
53643
|
mn()
|
|
@@ -53645,9 +53648,9 @@ function Gge() {
|
|
|
53645
53648
|
"div",
|
|
53646
53649
|
{
|
|
53647
53650
|
role: "editor-controls",
|
|
53648
|
-
className: " flex flex-wrap
|
|
53651
|
+
className: "item-center flex flex-wrap justify-between gap-2 px-6 py-4",
|
|
53649
53652
|
children: [
|
|
53650
|
-
/* @__PURE__ */ v.jsxs("div", { className: "flex
|
|
53653
|
+
/* @__PURE__ */ v.jsxs("div", { className: "flex grow items-center gap-2", children: [
|
|
53651
53654
|
/* @__PURE__ */ v.jsxs(
|
|
53652
53655
|
et,
|
|
53653
53656
|
{
|
|
@@ -53655,11 +53658,11 @@ function Gge() {
|
|
|
53655
53658
|
onClick: () => {
|
|
53656
53659
|
Ye();
|
|
53657
53660
|
},
|
|
53658
|
-
className: "
|
|
53661
|
+
className: "shrink-0",
|
|
53659
53662
|
size: "sm",
|
|
53660
53663
|
variant: "outline",
|
|
53661
53664
|
children: [
|
|
53662
|
-
te || oe ? /* @__PURE__ */ v.jsx(Pl, { className: "
|
|
53665
|
+
te || oe ? /* @__PURE__ */ v.jsx(Pl, { className: "mr-2 h-4 w-4 animate-spin text-foreground/50" }) : /* @__PURE__ */ v.jsx(tJ, { className: "mr-2 h-4 w-4" }),
|
|
53663
53666
|
"Run"
|
|
53664
53667
|
]
|
|
53665
53668
|
}
|
|
@@ -53681,7 +53684,7 @@ function Gge() {
|
|
|
53681
53684
|
size: "sm",
|
|
53682
53685
|
variant: "outline",
|
|
53683
53686
|
children: [
|
|
53684
|
-
/* @__PURE__ */ v.jsx(HZ, { className: " size-4
|
|
53687
|
+
/* @__PURE__ */ v.jsx(HZ, { className: "mr-2 size-4" }),
|
|
53685
53688
|
"Clear"
|
|
53686
53689
|
]
|
|
53687
53690
|
}
|
|
@@ -53694,7 +53697,7 @@ function Gge() {
|
|
|
53694
53697
|
className: "",
|
|
53695
53698
|
size: "sm",
|
|
53696
53699
|
variant: "outline",
|
|
53697
|
-
children: /* @__PURE__ */ v.jsx(Wge, { className: "
|
|
53700
|
+
children: /* @__PURE__ */ v.jsx(Wge, { className: "size-4 text-foreground/70" })
|
|
53698
53701
|
}
|
|
53699
53702
|
),
|
|
53700
53703
|
/* @__PURE__ */ v.jsx(
|
|
@@ -53709,7 +53712,7 @@ function Gge() {
|
|
|
53709
53712
|
}
|
|
53710
53713
|
)
|
|
53711
53714
|
] }),
|
|
53712
|
-
/* @__PURE__ */ v.jsxs("div", { className: "flex
|
|
53715
|
+
/* @__PURE__ */ v.jsxs("div", { className: "flex items-end gap-2", children: [
|
|
53713
53716
|
/* @__PURE__ */ v.jsxs(
|
|
53714
53717
|
et,
|
|
53715
53718
|
{
|
|
@@ -53717,7 +53720,7 @@ function Gge() {
|
|
|
53717
53720
|
size: "sm",
|
|
53718
53721
|
variant: "outline",
|
|
53719
53722
|
children: [
|
|
53720
|
-
/* @__PURE__ */ v.jsx(Qf, { className: "
|
|
53723
|
+
/* @__PURE__ */ v.jsx(Qf, { className: "mr-2 size-4 font-bold text-green-600" }),
|
|
53721
53724
|
"Accept"
|
|
53722
53725
|
]
|
|
53723
53726
|
}
|
|
@@ -53726,11 +53729,11 @@ function Gge() {
|
|
|
53726
53729
|
et,
|
|
53727
53730
|
{
|
|
53728
53731
|
onClick: yt,
|
|
53729
|
-
className: "
|
|
53732
|
+
className: "w-full",
|
|
53730
53733
|
size: "sm",
|
|
53731
53734
|
variant: "outline",
|
|
53732
53735
|
children: [
|
|
53733
|
-
/* @__PURE__ */ v.jsx(su, { className: " size-4
|
|
53736
|
+
/* @__PURE__ */ v.jsx(su, { className: "mr-2 size-4" }),
|
|
53734
53737
|
"Close"
|
|
53735
53738
|
]
|
|
53736
53739
|
}
|
|
@@ -53744,7 +53747,7 @@ function Gge() {
|
|
|
53744
53747
|
)
|
|
53745
53748
|
);
|
|
53746
53749
|
}
|
|
53747
|
-
const DI = "Switch", [Yge, _be] = Jn(DI), [Kge, Xge] = Yge(DI), Qge = /* @__PURE__ */
|
|
53750
|
+
const DI = "Switch", [Yge, _be] = Jn(DI), [Kge, Xge] = Yge(DI), Qge = /* @__PURE__ */ pe((e, t) => {
|
|
53748
53751
|
const { __scopeSwitch: n, name: r, checked: i, defaultChecked: o, required: s, disabled: a, value: l = "on", onCheckedChange: c, ...u } = e, [f, g] = we(null), p = ft(
|
|
53749
53752
|
t,
|
|
53750
53753
|
(_) => g(_)
|
|
@@ -53785,7 +53788,7 @@ const DI = "Switch", [Yge, _be] = Jn(DI), [Kge, Xge] = Yge(DI), Qge = /* @__PURE
|
|
|
53785
53788
|
transform: "translateX(-100%)"
|
|
53786
53789
|
}
|
|
53787
53790
|
}));
|
|
53788
|
-
}), Zge = "SwitchThumb", Jge = /* @__PURE__ */
|
|
53791
|
+
}), Zge = "SwitchThumb", Jge = /* @__PURE__ */ pe((e, t) => {
|
|
53789
53792
|
const { __scopeSwitch: n, ...r } = e, i = Xge(Zge, n);
|
|
53790
53793
|
return /* @__PURE__ */ j(Ge.span, ae({
|
|
53791
53794
|
"data-state": TI(i.checked),
|
|
@@ -53920,7 +53923,7 @@ function II({
|
|
|
53920
53923
|
...t
|
|
53921
53924
|
}) {
|
|
53922
53925
|
Oe.useState(0);
|
|
53923
|
-
const n =
|
|
53926
|
+
const n = ge((s) => s.themeStyle), r = me((s) => s.card), i = me((s) => s.actions.setCard);
|
|
53924
53927
|
if (ye(() => {
|
|
53925
53928
|
}, [
|
|
53926
53929
|
r.data,
|
|
@@ -54078,11 +54081,11 @@ function rme() {
|
|
|
54078
54081
|
/* @__PURE__ */ v.jsx(II, { className: "w-1/2 rounded shadow-none" }),
|
|
54079
54082
|
/* @__PURE__ */ v.jsxs(eM, { defaultValue: "custom-config", className: "flex w-1/2 flex-col", children: [
|
|
54080
54083
|
/* @__PURE__ */ v.jsxs(tM, { className: "justify-start rounded-sm rounded-b-none border border-b-0", children: [
|
|
54081
|
-
/* @__PURE__ */ v.jsxs(
|
|
54084
|
+
/* @__PURE__ */ v.jsxs(cx, { value: "custom-config", children: [
|
|
54082
54085
|
c && /* @__PURE__ */ v.jsx(KD, { className: "mr-1 h-5 w-5 text-green-600" }),
|
|
54083
54086
|
c ? "Custom Config" : "Default Config"
|
|
54084
54087
|
] }),
|
|
54085
|
-
/* @__PURE__ */ v.jsx(
|
|
54088
|
+
/* @__PURE__ */ v.jsx(cx, { className: "", value: "output", children: "Output" })
|
|
54086
54089
|
] }),
|
|
54087
54090
|
/* @__PURE__ */ v.jsx(
|
|
54088
54091
|
Tg,
|
|
@@ -54378,7 +54381,7 @@ function lme() {
|
|
|
54378
54381
|
)
|
|
54379
54382
|
] });
|
|
54380
54383
|
}
|
|
54381
|
-
const HI = "Collapsible", [cme, WI] = Jn(HI), [ume, oS] = cme(HI), dme = /* @__PURE__ */
|
|
54384
|
+
const HI = "Collapsible", [cme, WI] = Jn(HI), [ume, oS] = cme(HI), dme = /* @__PURE__ */ pe((e, t) => {
|
|
54382
54385
|
const { __scopeCollapsible: n, open: r, defaultOpen: i, disabled: o, onOpenChange: s, ...a } = e, [l = !1, c] = mr({
|
|
54383
54386
|
prop: r,
|
|
54384
54387
|
defaultProp: i,
|
|
@@ -54403,7 +54406,7 @@ const HI = "Collapsible", [cme, WI] = Jn(HI), [ume, oS] = cme(HI), dme = /* @__P
|
|
|
54403
54406
|
}, a, {
|
|
54404
54407
|
ref: t
|
|
54405
54408
|
})));
|
|
54406
|
-
}), fme = "CollapsibleTrigger", hme = /* @__PURE__ */
|
|
54409
|
+
}), fme = "CollapsibleTrigger", hme = /* @__PURE__ */ pe((e, t) => {
|
|
54407
54410
|
const { __scopeCollapsible: n, ...r } = e, i = oS(fme, n);
|
|
54408
54411
|
return /* @__PURE__ */ j(Ge.button, ae({
|
|
54409
54412
|
type: "button",
|
|
@@ -54416,7 +54419,7 @@ const HI = "Collapsible", [cme, WI] = Jn(HI), [ume, oS] = cme(HI), dme = /* @__P
|
|
|
54416
54419
|
ref: t,
|
|
54417
54420
|
onClick: Me(e.onClick, i.onOpenToggle)
|
|
54418
54421
|
}));
|
|
54419
|
-
}), UI = "CollapsibleContent", pme = /* @__PURE__ */
|
|
54422
|
+
}), UI = "CollapsibleContent", pme = /* @__PURE__ */ pe((e, t) => {
|
|
54420
54423
|
const { forceMount: n, ...r } = e, i = oS(UI, e.__scopeCollapsible);
|
|
54421
54424
|
return /* @__PURE__ */ j(
|
|
54422
54425
|
Nn,
|
|
@@ -54428,7 +54431,7 @@ const HI = "Collapsible", [cme, WI] = Jn(HI), [ume, oS] = cme(HI), dme = /* @__P
|
|
|
54428
54431
|
present: o
|
|
54429
54432
|
}))
|
|
54430
54433
|
);
|
|
54431
|
-
}), gme = /* @__PURE__ */
|
|
54434
|
+
}), gme = /* @__PURE__ */ pe((e, t) => {
|
|
54432
54435
|
const { __scopeCollapsible: n, present: r, children: i, ...o } = e, s = oS(UI, n), [a, l] = we(r), c = ue(null), u = ft(t, c), f = ue(0), g = f.current, p = ue(0), m = p.current, b = s.open || a, x = ue(b), w = ue();
|
|
54433
54436
|
return ye(() => {
|
|
54434
54437
|
const _ = requestAnimationFrame(
|
|
@@ -54614,8 +54617,8 @@ const [GI, _me] = Av(ca), [YI, Sme] = Av(ca, {
|
|
|
54614
54617
|
ref: l,
|
|
54615
54618
|
onKeyDown: r ? void 0 : g
|
|
54616
54619
|
}))));
|
|
54617
|
-
}),
|
|
54618
|
-
const { __scopeAccordion: n, value: r, ...i } = e, o = Nv(
|
|
54620
|
+
}), C1 = "AccordionItem", [Pme, cS] = Av(C1), $me = /* @__PURE__ */ Oe.forwardRef((e, t) => {
|
|
54621
|
+
const { __scopeAccordion: n, value: r, ...i } = e, o = Nv(C1, n), s = _me(C1, n), a = lS(n), l = Br(), c = r && s.value.includes(r) || !1, u = o.disabled || e.disabled;
|
|
54619
54622
|
return /* @__PURE__ */ Oe.createElement(Pme, {
|
|
54620
54623
|
scope: n,
|
|
54621
54624
|
open: c,
|
|
@@ -54821,7 +54824,7 @@ function Ou() {
|
|
|
54821
54824
|
);
|
|
54822
54825
|
}) });
|
|
54823
54826
|
}
|
|
54824
|
-
const JI = "Radio", [Lme, e3] = Jn(JI), [jme, Fme] = Lme(JI), zme = /* @__PURE__ */
|
|
54827
|
+
const JI = "Radio", [Lme, e3] = Jn(JI), [jme, Fme] = Lme(JI), zme = /* @__PURE__ */ pe((e, t) => {
|
|
54825
54828
|
const { __scopeRadio: n, name: r, checked: i = !1, required: o, disabled: s, value: a = "on", onCheck: l, ...c } = e, [u, f] = we(null), g = ft(
|
|
54826
54829
|
t,
|
|
54827
54830
|
(b) => f(b)
|
|
@@ -54855,7 +54858,7 @@ const JI = "Radio", [Lme, e3] = Jn(JI), [jme, Fme] = Lme(JI), zme = /* @__PURE__
|
|
|
54855
54858
|
transform: "translateX(-100%)"
|
|
54856
54859
|
}
|
|
54857
54860
|
}));
|
|
54858
|
-
}), Bme = "RadioIndicator", Vme = /* @__PURE__ */
|
|
54861
|
+
}), Bme = "RadioIndicator", Vme = /* @__PURE__ */ pe((e, t) => {
|
|
54859
54862
|
const { __scopeRadio: n, forceMount: r, ...i } = e, o = Fme(Bme, n);
|
|
54860
54863
|
return /* @__PURE__ */ j(Nn, {
|
|
54861
54864
|
present: r || o.checked
|
|
@@ -54907,7 +54910,7 @@ const Wme = [
|
|
|
54907
54910
|
], n3 = "RadioGroup", [Ume, Cbe] = Jn(n3, [
|
|
54908
54911
|
vu,
|
|
54909
54912
|
e3
|
|
54910
|
-
]), r3 = vu(), i3 = e3(), [qme, Gme] = Ume(n3), Yme = /* @__PURE__ */
|
|
54913
|
+
]), r3 = vu(), i3 = e3(), [qme, Gme] = Ume(n3), Yme = /* @__PURE__ */ pe((e, t) => {
|
|
54911
54914
|
const { __scopeRadioGroup: n, name: r, defaultValue: i, value: o, required: s = !1, disabled: a = !1, orientation: l, dir: c, loop: u = !0, onValueChange: f, ...g } = e, p = r3(n), m = _l(c), [b, x] = mr({
|
|
54912
54915
|
prop: o,
|
|
54913
54916
|
defaultProp: i,
|
|
@@ -54935,7 +54938,7 @@ const Wme = [
|
|
|
54935
54938
|
}, g, {
|
|
54936
54939
|
ref: t
|
|
54937
54940
|
}))));
|
|
54938
|
-
}), Kme = "RadioGroupItem", Xme = /* @__PURE__ */
|
|
54941
|
+
}), Kme = "RadioGroupItem", Xme = /* @__PURE__ */ pe((e, t) => {
|
|
54939
54942
|
const { __scopeRadioGroup: n, disabled: r, ...i } = e, o = Gme(Kme, n), s = o.disabled || r, a = r3(n), l = i3(n), c = ue(null), u = ft(t, c), f = o.value === i.value, g = ue(!1);
|
|
54940
54943
|
return ye(() => {
|
|
54941
54944
|
const p = (b) => {
|
|
@@ -54965,7 +54968,7 @@ const Wme = [
|
|
|
54965
54968
|
g.current && ((p = c.current) === null || p === void 0 || p.click());
|
|
54966
54969
|
})
|
|
54967
54970
|
})));
|
|
54968
|
-
}), Qme = /* @__PURE__ */
|
|
54971
|
+
}), Qme = /* @__PURE__ */ pe((e, t) => {
|
|
54969
54972
|
const { __scopeRadioGroup: n, ...r } = e, i = i3(n);
|
|
54970
54973
|
return /* @__PURE__ */ j(Vme, ae({}, i, r, {
|
|
54971
54974
|
ref: t
|
|
@@ -55715,7 +55718,7 @@ function lve() {
|
|
|
55715
55718
|
return me(
|
|
55716
55719
|
(c) => c.actions.setFilterOnClickField
|
|
55717
55720
|
), /* @__PURE__ */ v.jsxs("div", { children: [
|
|
55718
|
-
/* @__PURE__ */ v.jsxs("div", { className: "flex items-center gap-2
|
|
55721
|
+
/* @__PURE__ */ v.jsxs("div", { className: "mb-3 flex items-center gap-2", children: [
|
|
55719
55722
|
/* @__PURE__ */ v.jsx(
|
|
55720
55723
|
ch,
|
|
55721
55724
|
{
|
|
@@ -55733,7 +55736,7 @@ function lve() {
|
|
|
55733
55736
|
),
|
|
55734
55737
|
/* @__PURE__ */ v.jsx(gn, { children: "Format Number" })
|
|
55735
55738
|
] }),
|
|
55736
|
-
((a = e == null ? void 0 : e.formatNumber) == null ? void 0 : a.enabled) === !0 && /* @__PURE__ */ v.jsxs("div", { className: "flex flex-col gap-2
|
|
55739
|
+
((a = e == null ? void 0 : e.formatNumber) == null ? void 0 : a.enabled) === !0 && /* @__PURE__ */ v.jsxs("div", { className: "flex flex-col gap-2", children: [
|
|
55737
55740
|
/* @__PURE__ */ v.jsxs("div", { children: [
|
|
55738
55741
|
/* @__PURE__ */ v.jsx(gn, { className: "text-xs", children: "Currency" }),
|
|
55739
55742
|
/* @__PURE__ */ v.jsxs("div", { className: "flex gap-1", children: [
|
|
@@ -55741,7 +55744,7 @@ function lve() {
|
|
|
55741
55744
|
Yi,
|
|
55742
55745
|
{
|
|
55743
55746
|
value: o || "",
|
|
55744
|
-
className: "
|
|
55747
|
+
className: "h-7 w-20 font-mono text-xs focus-visible:ring-0 focus-visible:ring-ring focus-visible:ring-offset-0",
|
|
55745
55748
|
placeholder: "USD",
|
|
55746
55749
|
onChange: (c) => {
|
|
55747
55750
|
var u, f, g;
|
|
@@ -55758,7 +55761,7 @@ function lve() {
|
|
|
55758
55761
|
Yi,
|
|
55759
55762
|
{
|
|
55760
55763
|
value: i || "",
|
|
55761
|
-
className: "
|
|
55764
|
+
className: "h-7 w-20 font-mono text-xs focus-visible:ring-0 focus-visible:ring-ring focus-visible:ring-offset-0",
|
|
55762
55765
|
placeholder: "en-US",
|
|
55763
55766
|
onChange: (c) => {
|
|
55764
55767
|
var u, f, g;
|
|
@@ -55774,7 +55777,7 @@ function lve() {
|
|
|
55774
55777
|
] })
|
|
55775
55778
|
] }),
|
|
55776
55779
|
/* @__PURE__ */ v.jsxs("div", { children: [
|
|
55777
|
-
/* @__PURE__ */ v.jsxs("div", { className: "
|
|
55780
|
+
/* @__PURE__ */ v.jsxs("div", { className: "flex gap-1", children: [
|
|
55778
55781
|
/* @__PURE__ */ v.jsx(gn, { className: "text-xs", children: "Format" }),
|
|
55779
55782
|
/* @__PURE__ */ v.jsxs(wu, { children: [
|
|
55780
55783
|
/* @__PURE__ */ v.jsx(Xf, { children: /* @__PURE__ */ v.jsx(
|
|
@@ -55786,7 +55789,7 @@ function lve() {
|
|
|
55786
55789
|
) }),
|
|
55787
55790
|
/* @__PURE__ */ v.jsx(Ol, { children: /* @__PURE__ */ v.jsxs("div", { className: "max-w-[200px]", children: [
|
|
55788
55791
|
"Format number",
|
|
55789
|
-
/* @__PURE__ */ v.jsx("div", { className: "
|
|
55792
|
+
/* @__PURE__ */ v.jsx("div", { className: "mt-1 font-mono text-xs", children: "#.## for 123.43" })
|
|
55790
55793
|
] }) })
|
|
55791
55794
|
] })
|
|
55792
55795
|
] }),
|
|
@@ -55794,7 +55797,7 @@ function lve() {
|
|
|
55794
55797
|
Yi,
|
|
55795
55798
|
{
|
|
55796
55799
|
value: r || "",
|
|
55797
|
-
className: "
|
|
55800
|
+
className: "h-7 font-mono text-xs focus-visible:ring-0 focus-visible:ring-ring focus-visible:ring-offset-0",
|
|
55798
55801
|
placeholder: "###,###.##",
|
|
55799
55802
|
onChange: (c) => {
|
|
55800
55803
|
var u, f, g;
|
|
@@ -55814,7 +55817,7 @@ function lve() {
|
|
|
55814
55817
|
Yi,
|
|
55815
55818
|
{
|
|
55816
55819
|
value: ((l = e == null ? void 0 : e.formatNumber) == null ? void 0 : l.suffix) || "",
|
|
55817
|
-
className: "
|
|
55820
|
+
className: "h-7 font-mono text-xs focus-visible:ring-0 focus-visible:ring-ring focus-visible:ring-offset-0",
|
|
55818
55821
|
placeholder: "K, M, B",
|
|
55819
55822
|
onChange: (c) => {
|
|
55820
55823
|
var u, f, g;
|
|
@@ -55832,12 +55835,12 @@ function lve() {
|
|
|
55832
55835
|
] });
|
|
55833
55836
|
}
|
|
55834
55837
|
function cve() {
|
|
55835
|
-
return /* @__PURE__ */ v.jsxs("div", { className: "px-6 py-2
|
|
55838
|
+
return /* @__PURE__ */ v.jsxs("div", { className: "space-y-6 px-6 py-2", children: [
|
|
55836
55839
|
/* @__PURE__ */ v.jsx(jl, { type: "single", collapsible: !0, children: /* @__PURE__ */ v.jsxs($n, { value: "item-1", children: [
|
|
55837
55840
|
/* @__PURE__ */ v.jsx(kn, { className: "", children: "KPI Query" }),
|
|
55838
|
-
/* @__PURE__ */ v.jsxs(Rn, { className: "font-mono
|
|
55839
|
-
/* @__PURE__ */ v.jsx("div", { className: "bg-muted px-2 py-1
|
|
55840
|
-
/* @__PURE__ */ v.jsxs("ul", { className: "my-6 ml-6 list-disc [&>li]:mt-2
|
|
55841
|
+
/* @__PURE__ */ v.jsxs(Rn, { className: "font-mono", children: [
|
|
55842
|
+
/* @__PURE__ */ v.jsx("div", { className: "rounded bg-muted px-2 py-1 font-mono text-xs", children: "SELECT current, previous FROM table" }),
|
|
55843
|
+
/* @__PURE__ */ v.jsxs("ul", { className: "my-6 ml-6 list-disc text-xs [&>li]:mt-2", children: [
|
|
55841
55844
|
/* @__PURE__ */ v.jsx("li", { children: "current - number" }),
|
|
55842
55845
|
/* @__PURE__ */ v.jsx("li", { children: "previous - number" })
|
|
55843
55846
|
] }),
|
|
@@ -55978,7 +55981,7 @@ function hve() {
|
|
|
55978
55981
|
function pve() {
|
|
55979
55982
|
const e = me((t) => t.isShowingVisual);
|
|
55980
55983
|
return /* @__PURE__ */ v.jsxs(
|
|
55981
|
-
|
|
55984
|
+
h1,
|
|
55982
55985
|
{
|
|
55983
55986
|
direction: "vertical",
|
|
55984
55987
|
className: "min-w-full max-w-lg min-h-[250px]",
|
|
@@ -55993,7 +55996,7 @@ function pve() {
|
|
|
55993
55996
|
children: /* @__PURE__ */ v.jsx(Gge, {})
|
|
55994
55997
|
}
|
|
55995
55998
|
),
|
|
55996
|
-
/* @__PURE__ */ v.jsx(
|
|
55999
|
+
/* @__PURE__ */ v.jsx(p1, { withHandle: !0, className: "border " }),
|
|
55997
56000
|
/* @__PURE__ */ v.jsx(
|
|
55998
56001
|
Sc,
|
|
55999
56002
|
{
|
|
@@ -56001,7 +56004,7 @@ function pve() {
|
|
|
56001
56004
|
role: "visual-section",
|
|
56002
56005
|
minSize: 0,
|
|
56003
56006
|
defaultSize: 60,
|
|
56004
|
-
children: e ? /* @__PURE__ */ v.jsxs(
|
|
56007
|
+
children: e ? /* @__PURE__ */ v.jsxs(h1, { direction: "horizontal", children: [
|
|
56005
56008
|
/* @__PURE__ */ v.jsx(v.Fragment, { children: /* @__PURE__ */ v.jsx(
|
|
56006
56009
|
Sc,
|
|
56007
56010
|
{
|
|
@@ -56012,7 +56015,7 @@ function pve() {
|
|
|
56012
56015
|
children: /* @__PURE__ */ v.jsx(hve, {})
|
|
56013
56016
|
}
|
|
56014
56017
|
) }),
|
|
56015
|
-
/* @__PURE__ */ v.jsx(
|
|
56018
|
+
/* @__PURE__ */ v.jsx(p1, { className: "border " }),
|
|
56016
56019
|
/* @__PURE__ */ v.jsx(Sc, { minSize: 40, defaultSize: 75, maxSize: 100, children: /* @__PURE__ */ v.jsx(yk, {}) })
|
|
56017
56020
|
] }) : /* @__PURE__ */ v.jsx(yk, {})
|
|
56018
56021
|
}
|
|
@@ -56022,7 +56025,7 @@ function pve() {
|
|
|
56022
56025
|
);
|
|
56023
56026
|
}
|
|
56024
56027
|
function gve({ authToken: e, onSave: t, onClose: n }) {
|
|
56025
|
-
const r = me((s) => s.actions.setOnSave), i = me((s) => s.actions.setOnClose), o =
|
|
56028
|
+
const r = me((s) => s.actions.setOnSave), i = me((s) => s.actions.setOnClose), o = ge((s) => s.actions.setAuthToken);
|
|
56026
56029
|
return ye(() => {
|
|
56027
56030
|
t && r(t), n && i(n);
|
|
56028
56031
|
}, [t, r, n, i]), ye(() => {
|
|
@@ -56033,8 +56036,8 @@ function gve({ authToken: e, onSave: t, onClose: n }) {
|
|
|
56033
56036
|
] });
|
|
56034
56037
|
}
|
|
56035
56038
|
function mve() {
|
|
56036
|
-
|
|
56037
|
-
const e =
|
|
56039
|
+
ge((s) => s.selectedCardId);
|
|
56040
|
+
const e = ge((s) => s.selectedSheetId), { setIsVisualEditing: t } = ge((s) => s.actions), n = ge((s) => s.isVisualEditing), r = ge((s) => s.actions.updateFrame);
|
|
56038
56041
|
function i(s) {
|
|
56039
56042
|
e && (r(e, s), t(!1));
|
|
56040
56043
|
}
|
|
@@ -56057,7 +56060,7 @@ function vve({
|
|
|
56057
56060
|
columns: e,
|
|
56058
56061
|
tableName: t
|
|
56059
56062
|
}) {
|
|
56060
|
-
const n = me((f) => f.selectedConnectionId), r = me((f) => f.selectedDatabaseName), i = me((f) => f.selectedSchemaName), o = me((f) => f.selectedTableName), s =
|
|
56063
|
+
const n = me((f) => f.selectedConnectionId), r = me((f) => f.selectedDatabaseName), i = me((f) => f.selectedSchemaName), o = me((f) => f.selectedTableName), s = ge((f) => f.dashboard.filters) || [], a = ge((f) => f.actions.addFilter), l = ge((f) => f.actions.removeFilter), c = ge(
|
|
56061
56064
|
(f) => f.actions.removeFilterValue
|
|
56062
56065
|
);
|
|
56063
56066
|
function u(f) {
|
|
@@ -56141,24 +56144,24 @@ function vve({
|
|
|
56141
56144
|
}) });
|
|
56142
56145
|
}
|
|
56143
56146
|
function bve() {
|
|
56144
|
-
|
|
56145
|
-
const e =
|
|
56147
|
+
ge((t) => t.showFilters);
|
|
56148
|
+
const e = ge(
|
|
56146
56149
|
(t) => t.actions.setShowFilters
|
|
56147
56150
|
);
|
|
56148
|
-
return /* @__PURE__ */ v.jsxs("section", { className: " grow flex
|
|
56149
|
-
/* @__PURE__ */ v.jsxs("div", { className: "flex justify-between
|
|
56151
|
+
return /* @__PURE__ */ v.jsxs("section", { className: "relative flex grow flex-col border-l px-4", children: [
|
|
56152
|
+
/* @__PURE__ */ v.jsxs("div", { className: "mt-4 flex items-center justify-between gap-2 px-3", children: [
|
|
56150
56153
|
/* @__PURE__ */ v.jsx(gn, { className: "text-lg", children: "Filters" }),
|
|
56151
56154
|
/* @__PURE__ */ v.jsx(
|
|
56152
56155
|
et,
|
|
56153
56156
|
{
|
|
56154
56157
|
onClick: () => e(!1),
|
|
56155
|
-
className: "
|
|
56158
|
+
className: "h-7 w-7 p-0",
|
|
56156
56159
|
variant: "ghost",
|
|
56157
56160
|
children: /* @__PURE__ */ v.jsx(su, {})
|
|
56158
56161
|
}
|
|
56159
56162
|
)
|
|
56160
56163
|
] }),
|
|
56161
|
-
/* @__PURE__ */ v.jsx("div", { className: "grow
|
|
56164
|
+
/* @__PURE__ */ v.jsx("div", { className: "flex grow", children: /* @__PURE__ */ v.jsx(
|
|
56162
56165
|
hN,
|
|
56163
56166
|
{
|
|
56164
56167
|
ColumnsComponent: (t, n, r) => /* @__PURE__ */ v.jsx(
|
|
@@ -56174,9 +56177,9 @@ function bve() {
|
|
|
56174
56177
|
] });
|
|
56175
56178
|
}
|
|
56176
56179
|
function yve() {
|
|
56177
|
-
|
|
56178
|
-
const e =
|
|
56179
|
-
return
|
|
56180
|
+
ge((n) => n.dashboard);
|
|
56181
|
+
const e = ge((n) => n.showFilters), t = ge((n) => n.isVisualEditing);
|
|
56182
|
+
return ge((n) => n.bookmarkKey), /* @__PURE__ */ v.jsxs(
|
|
56180
56183
|
"div",
|
|
56181
56184
|
{
|
|
56182
56185
|
role: "dashboard-plus-main",
|
|
@@ -56192,10 +56195,10 @@ function yve() {
|
|
|
56192
56195
|
);
|
|
56193
56196
|
}
|
|
56194
56197
|
function xve() {
|
|
56195
|
-
const e =
|
|
56198
|
+
const e = ge((r) => r.dashboard), t = ge((r) => r.actions.setDashboard), n = ge(
|
|
56196
56199
|
(r) => r.showDashboardJSON
|
|
56197
56200
|
);
|
|
56198
|
-
return
|
|
56201
|
+
return ge(
|
|
56199
56202
|
(r) => r.actions.setShowDashboardJSON
|
|
56200
56203
|
), /* @__PURE__ */ v.jsx(
|
|
56201
56204
|
"div",
|
|
@@ -56262,7 +56265,7 @@ function Obe({
|
|
|
56262
56265
|
cfg: c,
|
|
56263
56266
|
visualKey: u,
|
|
56264
56267
|
handleDatapointClick: f
|
|
56265
|
-
} = Yw(e), g =
|
|
56268
|
+
} = Yw(e), g = ge((M) => M.themeStyle), p = ge((M) => M.selectedSheetId), m = ge((M) => M.selectedCardId), b = ge(
|
|
56266
56269
|
(M) => M.isDashboardEditing
|
|
56267
56270
|
), { setCardTitle: x, setCardDescription: w, setSelectedCardId: _ } = wl();
|
|
56268
56271
|
function S(M) {
|
|
@@ -56379,24 +56382,6 @@ function Obe({
|
|
|
56379
56382
|
}
|
|
56380
56383
|
);
|
|
56381
56384
|
}
|
|
56382
|
-
const C1 = `import pandas as pd
|
|
56383
|
-
df = pd.DataFrame(data) # 'data' contains the query result
|
|
56384
|
-
result = df.to_dict('records') # must return 'result' as [dict] type
|
|
56385
|
-
`;
|
|
56386
|
-
function Pbe() {
|
|
56387
|
-
const e = pe((t) => t.actions);
|
|
56388
|
-
return {
|
|
56389
|
-
// setDashboardTitle: actions.setDashboardTitle,
|
|
56390
|
-
// setChartDefaultFont: actions.setChartDefaultFont,
|
|
56391
|
-
getStyle: e.getStyle,
|
|
56392
|
-
getDashboard: e.getDashboard,
|
|
56393
|
-
//This doesn't subscribe to the store (I think!)
|
|
56394
|
-
setOnSaveFunction: e.setOnSaveFunction,
|
|
56395
|
-
setOnAddCard: e.setOnAddCard,
|
|
56396
|
-
setOnUpateCard: e.setOnUpdateCard,
|
|
56397
|
-
setOnRemoveCard: e.setOnRemoveCard
|
|
56398
|
-
};
|
|
56399
|
-
}
|
|
56400
56385
|
export {
|
|
56401
56386
|
Eg as $,
|
|
56402
56387
|
Mve as A,
|
|
@@ -56427,33 +56412,30 @@ export {
|
|
|
56427
56412
|
Qse as Z,
|
|
56428
56413
|
gbe as _,
|
|
56429
56414
|
Ur as a,
|
|
56430
|
-
|
|
56431
|
-
|
|
56432
|
-
|
|
56433
|
-
|
|
56434
|
-
|
|
56435
|
-
|
|
56436
|
-
|
|
56437
|
-
|
|
56438
|
-
|
|
56439
|
-
|
|
56440
|
-
|
|
56441
|
-
|
|
56442
|
-
|
|
56443
|
-
|
|
56444
|
-
|
|
56445
|
-
|
|
56446
|
-
|
|
56447
|
-
|
|
56448
|
-
|
|
56449
|
-
|
|
56450
|
-
|
|
56451
|
-
|
|
56452
|
-
|
|
56453
|
-
|
|
56454
|
-
LA as ao,
|
|
56455
|
-
Nle as ap,
|
|
56456
|
-
xl as aq,
|
|
56415
|
+
Ebe as a0,
|
|
56416
|
+
Obe as a1,
|
|
56417
|
+
ov as a2,
|
|
56418
|
+
bl as a3,
|
|
56419
|
+
th as a4,
|
|
56420
|
+
g_ as a5,
|
|
56421
|
+
po as a6,
|
|
56422
|
+
o5 as a7,
|
|
56423
|
+
s5 as a8,
|
|
56424
|
+
Zx as a9,
|
|
56425
|
+
fbe as aa,
|
|
56426
|
+
cne as ab,
|
|
56427
|
+
m_ as ac,
|
|
56428
|
+
qB as ad,
|
|
56429
|
+
Mg as ae,
|
|
56430
|
+
ge as af,
|
|
56431
|
+
wl as ag,
|
|
56432
|
+
me as ah,
|
|
56433
|
+
Cve as ai,
|
|
56434
|
+
Kp as aj,
|
|
56435
|
+
hz as ak,
|
|
56436
|
+
LA as al,
|
|
56437
|
+
Nle as am,
|
|
56438
|
+
xl as an,
|
|
56457
56439
|
$z as b,
|
|
56458
56440
|
Er as c,
|
|
56459
56441
|
Uz as d,
|
|
@@ -56461,9 +56443,9 @@ export {
|
|
|
56461
56443
|
rl as f,
|
|
56462
56444
|
Zve as g,
|
|
56463
56445
|
Gz as h,
|
|
56464
|
-
|
|
56446
|
+
Zy as i,
|
|
56465
56447
|
Ove as j,
|
|
56466
|
-
|
|
56448
|
+
Qy as k,
|
|
56467
56449
|
Uve as l,
|
|
56468
56450
|
Xve as m,
|
|
56469
56451
|
qve as n,
|