react-semaphor 0.0.279 → 0.0.280
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{dashboard-plus-5OdRvE8M.js → dashboard-plus-j-ydWtpN.js} +2 -2
- package/dist/chunks/{dashboard-plus-gEOVHCeC.js → dashboard-plus-oa-fkW6s.js} +2 -2
- package/dist/chunks/{index-cwCVAphZ.js → index-MCmSTwXG.js} +1 -1
- package/dist/chunks/{index-6kxWR20D.js → index-t9jYs8tu.js} +194 -193
- package/dist/chunks/{lucide-react-Z2s0wfim.js → lucide-react-LqVIR40p.js} +3 -3
- package/dist/chunks/{lucide-react-t1mmrDBn.js → lucide-react-dfjUXaIw.js} +1 -1
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +4 -4
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +2 -2
- package/package.json +1 -1
|
@@ -383,7 +383,7 @@ function pz() {
|
|
|
383
383
|
function ge(T) {
|
|
384
384
|
return "" + T;
|
|
385
385
|
}
|
|
386
|
-
function
|
|
386
|
+
function De(T) {
|
|
387
387
|
if (Qt(T))
|
|
388
388
|
return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", jt(T)), ge(T);
|
|
389
389
|
}
|
|
@@ -470,7 +470,7 @@ function pz() {
|
|
|
470
470
|
function lt(T, oe, pe, ke, Ke) {
|
|
471
471
|
{
|
|
472
472
|
var Je, Ue = {}, He = null, Le = null;
|
|
473
|
-
pe !== void 0 && (
|
|
473
|
+
pe !== void 0 && (De(pe), He = "" + pe), Rn(oe) && (De(oe.key), He = "" + oe.key), rn(oe) && (Le = oe.ref, bn(oe, Ke));
|
|
474
474
|
for (Je in oe)
|
|
475
475
|
Ie.call(oe, Je) && !Ze.hasOwnProperty(Je) && (Ue[Je] = oe[Je]);
|
|
476
476
|
if (T && T.defaultProps) {
|
|
@@ -4778,7 +4778,7 @@ function ix(e) {
|
|
|
4778
4778
|
return (t == null ? void 0 : t.align) === "end" && (t == null ? void 0 : t.anchor) === "end" && (n = Ug()), (t == null ? void 0 : t.align) === "start" && (t == null ? void 0 : t.anchor) === "start" && (n = Ug()), Jd(n);
|
|
4779
4779
|
}
|
|
4780
4780
|
function Ug() {
|
|
4781
|
-
return
|
|
4781
|
+
return Te.getState().theme === "dark" ? "#000000" : "#FFFFFF";
|
|
4782
4782
|
}
|
|
4783
4783
|
function Jd(e) {
|
|
4784
4784
|
let t = 0, n = 0, r = 0, o = 0;
|
|
@@ -4960,7 +4960,7 @@ qg.exports;
|
|
|
4960
4960
|
["partial", S],
|
|
4961
4961
|
["partialRight", P],
|
|
4962
4962
|
["rearg", D]
|
|
4963
|
-
], fe = "[object Arguments]", he = "[object Array]", me = "[object AsyncFunction]", Z = "[object Boolean]", te = "[object Date]", ie = "[object DOMException]", ye = "[object Error]", X = "[object Function]", _e = "[object GeneratorFunction]", Pe = "[object Map]", Me = "[object Number]", Ie = "[object Null]", Qe = "[object Object]", Ge = "[object Promise]", ze = "[object Proxy]", tt = "[object RegExp]", pt = "[object Set]", Ht = "[object String]", jt = "[object Symbol]", Qt = "[object Undefined]", ge = "[object WeakMap]",
|
|
4963
|
+
], fe = "[object Arguments]", he = "[object Array]", me = "[object AsyncFunction]", Z = "[object Boolean]", te = "[object Date]", ie = "[object DOMException]", ye = "[object Error]", X = "[object Function]", _e = "[object GeneratorFunction]", Pe = "[object Map]", Me = "[object Number]", Ie = "[object Null]", Qe = "[object Object]", Ge = "[object Promise]", ze = "[object Proxy]", tt = "[object RegExp]", pt = "[object Set]", Ht = "[object String]", jt = "[object Symbol]", Qt = "[object Undefined]", ge = "[object WeakMap]", De = "[object WeakSet]", Ve = "[object ArrayBuffer]", Ze = "[object DataView]", it = "[object Float32Array]", Jt = "[object Float64Array]", cn = "[object Int8Array]", rn = "[object Int16Array]", Rn = "[object Int32Array]", bn = "[object Uint8Array]", Ut = "[object Uint8ClampedArray]", dn = "[object Uint16Array]", Tn = "[object Uint32Array]", lt = /\b__p \+= '';/g, yt = /\b(__p \+=) '' \+/g, zt = /(__e\(.*?\)|\b__t\)) \+\n'';/g, on = /&(?:amp|lt|gt|quot|#39);/g, Et = /[&<>"']/g, jn = RegExp(on.source), Xo = RegExp(Et.source), Ds = /<%-([\s\S]+?)%>/g, Qo = /<%([\s\S]+?)%>/g, Ui = /<%=([\s\S]+?)%>/g, gi = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Gi = /^\w*$/, As = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, mi = /[\\^$.*+?()[\]{}|]/g, qi = RegExp(mi.source), er = /^\s+/, vi = /\s/, ks = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, Ms = /\{\n\/\* \[wrapped with (.+)\] \*/, T = /,? & /, oe = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, pe = /[()=,{}\[\]\/\s]/, ke = /\\(\\)?/g, Ke = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, Je = /\w*$/, Ue = /^[-+]0x[0-9a-f]+$/i, He = /^0b[01]+$/i, Le = /^\[object .+?Constructor\]$/, K = /^0o[0-7]+$/i, xe = /^(?:0|[1-9]\d*)$/, Fe = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, ft = /($^)/, On = /['\n\r\u2028\u2029\\]/g, bt = "\\ud800-\\udfff", gr = "\\u0300-\\u036f", $o = "\\ufe20-\\ufe2f", Ma = "\\u20d0-\\u20ff", tr = gr + $o + Ma, Lu = "\\u2700-\\u27bf", Fu = "a-z\\xdf-\\xf6\\xf8-\\xff", rF = "\\xac\\xb1\\xd7\\xf7", oF = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", iF = "\\u2000-\\u206f", sF = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", eC = "A-Z\\xc0-\\xd6\\xd8-\\xde", tC = "\\ufe0e\\ufe0f", nC = rF + oF + iF + sF, Vv = "['’]", aF = "[" + bt + "]", rC = "[" + nC + "]", Ph = "[" + tr + "]", oC = "\\d+", lF = "[" + Lu + "]", iC = "[" + Fu + "]", sC = "[^" + bt + nC + oC + Lu + Fu + eC + "]", Hv = "\\ud83c[\\udffb-\\udfff]", cF = "(?:" + Ph + "|" + Hv + ")", aC = "[^" + bt + "]", Wv = "(?:\\ud83c[\\udde6-\\uddff]){2}", Uv = "[\\ud800-\\udbff][\\udc00-\\udfff]", Jl = "[" + eC + "]", lC = "\\u200d", cC = "(?:" + iC + "|" + sC + ")", uF = "(?:" + Jl + "|" + sC + ")", uC = "(?:" + Vv + "(?:d|ll|m|re|s|t|ve))?", dC = "(?:" + Vv + "(?:D|LL|M|RE|S|T|VE))?", fC = cF + "?", hC = "[" + tC + "]?", dF = "(?:" + lC + "(?:" + [aC, Wv, Uv].join("|") + ")" + hC + fC + ")*", fF = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", hF = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", pC = hC + fC + dF, pF = "(?:" + [lF, Wv, Uv].join("|") + ")" + pC, gF = "(?:" + [aC + Ph + "?", Ph, Wv, Uv, aF].join("|") + ")", mF = RegExp(Vv, "g"), vF = RegExp(Ph, "g"), Gv = RegExp(Hv + "(?=" + Hv + ")|" + gF + pC, "g"), bF = RegExp([
|
|
4964
4964
|
Jl + "?" + iC + "+" + uC + "(?=" + [rC, Jl, "$"].join("|") + ")",
|
|
4965
4965
|
uF + "+" + dC + "(?=" + [rC, Jl + cC, "$"].join("|") + ")",
|
|
4966
4966
|
Jl + "?" + cC + "+" + uC,
|
|
@@ -7944,7 +7944,7 @@ qg.exports;
|
|
|
7944
7944
|
return kn(d) && vr(d) == ge;
|
|
7945
7945
|
}
|
|
7946
7946
|
function d8(d) {
|
|
7947
|
-
return kn(d) && Er(d) ==
|
|
7947
|
+
return kn(d) && Er(d) == De;
|
|
7948
7948
|
}
|
|
7949
7949
|
var f8 = np(mb), h8 = np(function(d, g) {
|
|
7950
7950
|
return d <= g;
|
|
@@ -8645,7 +8645,7 @@ function VR(e, t) {
|
|
|
8645
8645
|
t != null && t[n] && (t[n] = t[n].filter((r) => r.i !== e));
|
|
8646
8646
|
});
|
|
8647
8647
|
}
|
|
8648
|
-
const
|
|
8648
|
+
const Te = JT()(
|
|
8649
8649
|
iD((e, t) => ({
|
|
8650
8650
|
isSessionExpired: !1,
|
|
8651
8651
|
currentBreakpoint: "lg",
|
|
@@ -9263,7 +9263,7 @@ const De = JT()(
|
|
|
9263
9263
|
}
|
|
9264
9264
|
}
|
|
9265
9265
|
}))
|
|
9266
|
-
), Ar = () =>
|
|
9266
|
+
), Ar = () => Te((e) => e.actions), IB = {
|
|
9267
9267
|
theme: "system",
|
|
9268
9268
|
setTheme: () => null
|
|
9269
9269
|
}, dD = $n(IB);
|
|
@@ -10918,7 +10918,7 @@ function ji() {
|
|
|
10918
10918
|
return e;
|
|
10919
10919
|
}
|
|
10920
10920
|
function yV() {
|
|
10921
|
-
const { authToken: e, version: t } = ji(), n =
|
|
10921
|
+
const { authToken: e, version: t } = ji(), n = Te((a) => a.selectedLensId), { data: r, isLoading: o, isFetching: i, isError: s } = pw({
|
|
10922
10922
|
queryKey: ["dashboard", n, e == null ? void 0 : e.accessToken],
|
|
10923
10923
|
queryFn: () => tB(e == null ? void 0 : e.accessToken, {
|
|
10924
10924
|
lensId: n,
|
|
@@ -10945,7 +10945,7 @@ function xV({
|
|
|
10945
10945
|
onEvent: r,
|
|
10946
10946
|
defaultFilterValues: o
|
|
10947
10947
|
}) {
|
|
10948
|
-
const { authToken: i } = ji(), s =
|
|
10948
|
+
const { authToken: i } = ji(), s = Te((N) => N.selectedLensId), { data: a, isLoading: l, isFetching: c, isError: u } = yV(), { theme: f, setTheme: h } = LB(), p = Te((N) => N.dashboard.globalStyle), {
|
|
10949
10949
|
setDashboard: m,
|
|
10950
10950
|
setDashboardWithFilterValues: v,
|
|
10951
10951
|
setSelectedSheetId: x,
|
|
@@ -10954,17 +10954,17 @@ function xV({
|
|
|
10954
10954
|
setLenses: _,
|
|
10955
10955
|
setSelectedLensId: C,
|
|
10956
10956
|
setInitStore: S
|
|
10957
|
-
} =
|
|
10958
|
-
|
|
10957
|
+
} = Te((N) => N.actions);
|
|
10958
|
+
Te(
|
|
10959
10959
|
(N) => N.actions.setCustomCards
|
|
10960
10960
|
);
|
|
10961
|
-
const P =
|
|
10961
|
+
const P = Te(
|
|
10962
10962
|
(N) => N.actions.setFilterValues
|
|
10963
|
-
), O =
|
|
10963
|
+
), O = Te(
|
|
10964
10964
|
(N) => N.actions.setThemeStyle
|
|
10965
|
-
), D =
|
|
10965
|
+
), D = Te(
|
|
10966
10966
|
(N) => N.actions.setDashboardTheme
|
|
10967
|
-
), M =
|
|
10967
|
+
), M = Te((N) => N.actions.setOnEvent);
|
|
10968
10968
|
we(() => {
|
|
10969
10969
|
i && S();
|
|
10970
10970
|
}, [i, S]), we(() => {
|
|
@@ -11096,8 +11096,8 @@ function wV({
|
|
|
11096
11096
|
defaultFilterValues: p,
|
|
11097
11097
|
...m
|
|
11098
11098
|
}) {
|
|
11099
|
-
|
|
11100
|
-
const v =
|
|
11099
|
+
Te((C) => C.selectedSheetId);
|
|
11100
|
+
const v = Te((C) => C.themeStyle), x = Te((C) => C.isSessionExpired), { isLoading: b, isError: w, isFetching: _ } = xV({
|
|
11101
11101
|
// id,
|
|
11102
11102
|
// version,
|
|
11103
11103
|
authToken: l,
|
|
@@ -16461,7 +16461,7 @@ function ys({
|
|
|
16461
16461
|
onSave: r,
|
|
16462
16462
|
type: o = "input"
|
|
16463
16463
|
}) {
|
|
16464
|
-
const [i, s] = Ce(!1), [a, l] = Ce(n), c =
|
|
16464
|
+
const [i, s] = Ce(!1), [a, l] = Ce(n), c = Te(
|
|
16465
16465
|
(h) => h.isDashboardEditing
|
|
16466
16466
|
), u = (h) => {
|
|
16467
16467
|
h.stopPropagation(), c && s(!0);
|
|
@@ -26206,7 +26206,7 @@ function yQ(e) {
|
|
|
26206
26206
|
Ho.register(mQ);
|
|
26207
26207
|
function kk({ cfg: e, onDatapointClick: t }) {
|
|
26208
26208
|
var f;
|
|
26209
|
-
const [n, r] = Ce(""), o =
|
|
26209
|
+
const [n, r] = Ce(""), o = Te((h) => h.selectedLensId), i = ue(null), [s, a] = Ce(), l = Te((h) => h.themeStyle);
|
|
26210
26210
|
function c(h, p) {
|
|
26211
26211
|
var v, x;
|
|
26212
26212
|
if ((((v = h.data.datasets) == null ? void 0 : v.filter((b) => !!b.fill)) || []).length > 0) {
|
|
@@ -26867,7 +26867,7 @@ const Gr = JT()(
|
|
|
26867
26867
|
), u_ = () => Gr((e) => e.actions);
|
|
26868
26868
|
function KQ(e, t, n) {
|
|
26869
26869
|
var l, c, u, f;
|
|
26870
|
-
const r = n == null ? void 0 : n.datasetOptions, o =
|
|
26870
|
+
const r = n == null ? void 0 : n.datasetOptions, o = Te.getState().themeStyle, i = (c = (l = o == null ? void 0 : o.chart) == null ? void 0 : l.dataset) == null ? void 0 : c.backgroundColor, s = (f = (u = o == null ? void 0 : o.chart) == null ? void 0 : u.dataset) == null ? void 0 : f.borderColor;
|
|
26871
26871
|
return e.map((h, p) => {
|
|
26872
26872
|
var _;
|
|
26873
26873
|
const m = r == null ? void 0 : r.find((C) => C.idx === p), v = i == null ? void 0 : i[p % i.length], x = s == null ? void 0 : s[p % s.length], b = s == null ? void 0 : s[p % s.length];
|
|
@@ -26898,7 +26898,7 @@ function QQ(e) {
|
|
|
26898
26898
|
var a, l, c, u;
|
|
26899
26899
|
const { metricKeys: t, dimensionKeys: n } = wr(e);
|
|
26900
26900
|
let r = [];
|
|
26901
|
-
const o =
|
|
26901
|
+
const o = Te.getState().themeStyle, i = (l = (a = o == null ? void 0 : o.chart) == null ? void 0 : a.dataset) == null ? void 0 : l.backgroundColor, s = (u = (c = o == null ? void 0 : o.chart) == null ? void 0 : c.dataset) == null ? void 0 : u.borderColor;
|
|
26902
26902
|
if ((n == null ? void 0 : n.length) === 1) {
|
|
26903
26903
|
const f = e.map((h) => ({
|
|
26904
26904
|
x: h[t[0]],
|
|
@@ -26930,7 +26930,7 @@ function QQ(e) {
|
|
|
26930
26930
|
}
|
|
26931
26931
|
function JQ(e) {
|
|
26932
26932
|
var c, u, f, h;
|
|
26933
|
-
const { dimensionKeys: t, metricKeys: n } = wr(e), r =
|
|
26933
|
+
const { dimensionKeys: t, metricKeys: n } = wr(e), r = Te.getState().themeStyle, o = (u = (c = r == null ? void 0 : r.chart) == null ? void 0 : c.dataset) == null ? void 0 : u.backgroundColor, i = (h = (f = r == null ? void 0 : r.chart) == null ? void 0 : f.dataset) == null ? void 0 : h.borderColor, s = t == null ? void 0 : t[1];
|
|
26934
26934
|
return [...new Set(e.map((p) => p == null ? void 0 : p[s]))].map((p, m) => ({
|
|
26935
26935
|
label: p,
|
|
26936
26936
|
data: e.filter((v) => (v == null ? void 0 : v[s]) === p).map((v) => [v == null ? void 0 : v[n[0]], v == null ? void 0 : v[n[1]], v == null ? void 0 : v[n[2]]]),
|
|
@@ -26941,7 +26941,7 @@ function JQ(e) {
|
|
|
26941
26941
|
}
|
|
26942
26942
|
function ZQ(e, t) {
|
|
26943
26943
|
var s, a, l, c;
|
|
26944
|
-
const n =
|
|
26944
|
+
const n = Te.getState().themeStyle, r = (a = (s = n == null ? void 0 : n.chart) == null ? void 0 : s.dataset) == null ? void 0 : a.backgroundColor, o = (c = (l = n == null ? void 0 : n.chart) == null ? void 0 : l.dataset) == null ? void 0 : c.borderColor;
|
|
26945
26945
|
return e.map((u) => ({
|
|
26946
26946
|
label: u.charAt(0).toUpperCase() + u.slice(1),
|
|
26947
26947
|
data: t.map((f) => f[u]),
|
|
@@ -27023,7 +27023,7 @@ function Qx({
|
|
|
27023
27023
|
}
|
|
27024
27024
|
function ii(e, t) {
|
|
27025
27025
|
var s;
|
|
27026
|
-
const n =
|
|
27026
|
+
const n = Te.getState().themeStyle, r = (s = n == null ? void 0 : n.chart) == null ? void 0 : s.options, o = Fc.cloneDeep(r);
|
|
27027
27027
|
return Fc.merge(
|
|
27028
27028
|
o,
|
|
27029
27029
|
e,
|
|
@@ -27370,13 +27370,13 @@ const nv = Fn("X", [
|
|
|
27370
27370
|
};
|
|
27371
27371
|
function bJ({ frame: e }) {
|
|
27372
27372
|
var _;
|
|
27373
|
-
const t =
|
|
27373
|
+
const t = Te(
|
|
27374
27374
|
(C) => C.isDashboardEditing
|
|
27375
|
-
), n =
|
|
27376
|
-
|
|
27375
|
+
), n = Te((C) => C.filterValues), r = Te((C) => C.isVisualEditing), o = Te((C) => C.selectedSheetId);
|
|
27376
|
+
Te(
|
|
27377
27377
|
(C) => C.currentBreakpoint
|
|
27378
27378
|
);
|
|
27379
|
-
const { removeFrame: i } =
|
|
27379
|
+
const { removeFrame: i } = Te((C) => C.actions), s = Te(
|
|
27380
27380
|
(C) => C.actions.setIsVisualEditing
|
|
27381
27381
|
), a = Gr(
|
|
27382
27382
|
(C) => C.actions.setFilterValues
|
|
@@ -29410,13 +29410,13 @@ function S_(e, t) {
|
|
|
29410
29410
|
}
|
|
29411
29411
|
function WZ({ card: e }) {
|
|
29412
29412
|
var x, b, w, _, C, S, P, O, D, M, L, N, z, J, q, j, ee, G, Q, W, $, V, U, k;
|
|
29413
|
-
const t =
|
|
29413
|
+
const t = Te((re) => re.actions.setCardTitle), n = Te(
|
|
29414
29414
|
(re) => re.actions.setCardDescription
|
|
29415
|
-
), r =
|
|
29415
|
+
), r = Te((re) => re.isVisualEditing), o = Gr((re) => re.card), i = Gr((re) => re.actions.setCard);
|
|
29416
29416
|
Gr(
|
|
29417
29417
|
(re) => re.actions.setNumberFormat
|
|
29418
29418
|
);
|
|
29419
|
-
const s =
|
|
29419
|
+
const s = Te((re) => re.selectedSheetId), a = e.data, l = (b = (x = e.preferences) == null ? void 0 : x.formatNumber) == null ? void 0 : b.colorRanges, { metricKeys: c } = wr(a || []), u = (w = a == null ? void 0 : a[0]) == null ? void 0 : w[c == null ? void 0 : c[0]], f = (_ = a == null ? void 0 : a[0]) == null ? void 0 : _[c == null ? void 0 : c[1]], h = !!e.data && e.data.length > 0;
|
|
29420
29420
|
function p(re) {
|
|
29421
29421
|
r ? i({
|
|
29422
29422
|
...o,
|
|
@@ -29495,7 +29495,7 @@ function sM({
|
|
|
29495
29495
|
className: t
|
|
29496
29496
|
}) {
|
|
29497
29497
|
var i, s;
|
|
29498
|
-
const n =
|
|
29498
|
+
const n = Te((a) => a.themeStyle), r = e > 0 ? /* @__PURE__ */ E.jsx("span", { children: "+" }) : /* @__PURE__ */ E.jsx("span", { children: "-" }), o = `${Math.abs(e * 100).toFixed(0)}%`;
|
|
29499
29499
|
return /* @__PURE__ */ E.jsxs(
|
|
29500
29500
|
"div",
|
|
29501
29501
|
{
|
|
@@ -29594,7 +29594,7 @@ function Wp(e, t, n, r) {
|
|
|
29594
29594
|
}
|
|
29595
29595
|
const QZ = /* @__PURE__ */ Ll(qZ);
|
|
29596
29596
|
function JZ(e) {
|
|
29597
|
-
const t =
|
|
29597
|
+
const t = Te((c) => c.selectedLensId), n = Te((c) => c.dashboard.baseQueries), { authToken: r } = ji(), o = Te((c) => c.authToken), i = Te((c) => c.filterValues), s = QZ((e == null ? void 0 : e.refreshInterval) || "0"), a = Zz(e.sql, n);
|
|
29598
29598
|
return pw({
|
|
29599
29599
|
queryKey: [
|
|
29600
29600
|
e.id,
|
|
@@ -30328,7 +30328,7 @@ function aee({
|
|
|
30328
30328
|
cfg: o,
|
|
30329
30329
|
apply: i
|
|
30330
30330
|
}) {
|
|
30331
|
-
const s =
|
|
30331
|
+
const s = Te.getState().theme;
|
|
30332
30332
|
if (!o)
|
|
30333
30333
|
return;
|
|
30334
30334
|
const a = s === "dark" ? "rgb(238,238,238,0.2)" : "rgb(238,238,238,0.8)";
|
|
@@ -30489,14 +30489,14 @@ function Q1e(e) {
|
|
|
30489
30489
|
function lv(e) {
|
|
30490
30490
|
var ee, G, Q;
|
|
30491
30491
|
const { onChartElementClicked: t } = ji(), [n, r] = Ce(0), o = ((ee = e == null ? void 0 : e.preferences) == null ? void 0 : ee.filterOnClickColumnIndex) === void 0 ? 0 : (G = e.preferences) == null ? void 0 : G.filterOnClickColumnIndex;
|
|
30492
|
-
|
|
30493
|
-
const i =
|
|
30494
|
-
|
|
30495
|
-
const l =
|
|
30496
|
-
|
|
30492
|
+
Te((W) => W.isVisualEditing);
|
|
30493
|
+
const i = Te((W) => W.filteringCards), s = Te((W) => W.selectedSheetId), a = Te((W) => W.selectedLensId);
|
|
30494
|
+
Te((W) => W.selectedCardId);
|
|
30495
|
+
const l = Te((W) => W.dashboard);
|
|
30496
|
+
Te(
|
|
30497
30497
|
(W) => W.isDashboardEditing
|
|
30498
30498
|
);
|
|
30499
|
-
const c =
|
|
30499
|
+
const c = Te((W) => W.themeStyle), u = Te((W) => W.filterValues), f = ue(u), h = (Q = e == null ? void 0 : e.preferences) == null ? void 0 : Q.onClickFilter, {
|
|
30500
30500
|
addFilteringCard: p,
|
|
30501
30501
|
setFrameCardData: m,
|
|
30502
30502
|
// getSelectedFrame,
|
|
@@ -30611,11 +30611,11 @@ function lv(e) {
|
|
|
30611
30611
|
};
|
|
30612
30612
|
}
|
|
30613
30613
|
function fee(e, t) {
|
|
30614
|
-
|
|
30615
|
-
const n =
|
|
30614
|
+
Te((s) => s.selectedSheetId);
|
|
30615
|
+
const n = Te((s) => s.selectedFrameId), r = Te(
|
|
30616
30616
|
(s) => s.isDashboardEditing
|
|
30617
|
-
), o =
|
|
30618
|
-
|
|
30617
|
+
), o = Te((s) => s.isVisualEditing);
|
|
30618
|
+
Te(
|
|
30619
30619
|
(s) => s.actions
|
|
30620
30620
|
), we(() => {
|
|
30621
30621
|
n === e.id && r && !o && i();
|
|
@@ -35447,7 +35447,7 @@ function Ere(e) {
|
|
|
35447
35447
|
}
|
|
35448
35448
|
function Rre({ data: e, card: t }) {
|
|
35449
35449
|
var C, S, P, O;
|
|
35450
|
-
const [n, r] = ce.useState([]), { keys: o } = wr(e), i =
|
|
35450
|
+
const [n, r] = ce.useState([]), { keys: o } = wr(e), i = Te((D) => D.filteringCards), s = Te((D) => D.themeStyle), a = Te((D) => D.isVisualEditing), l = i == null ? void 0 : i.find(
|
|
35451
35451
|
(D) => D.id === t.id
|
|
35452
35452
|
), c = (C = t == null ? void 0 : t.preferences) == null ? void 0 : C.onClickFilter, {
|
|
35453
35453
|
addOrUpdateFilterValues: u,
|
|
@@ -35874,7 +35874,7 @@ function gI() {
|
|
|
35874
35874
|
}
|
|
35875
35875
|
})), he = null, me = null, Z = !0, te = !0, ie = !1, ye = !0, X = !1, _e = !0, Pe = !1, Me = !1, Ie = !1, Qe = !1, Ge = !1, ze = !1, tt = !0, pt = !1;
|
|
35876
35876
|
const Ht = "user-content-";
|
|
35877
|
-
let jt = !0, Qt = !1, ge = {},
|
|
35877
|
+
let jt = !0, Qt = !1, ge = {}, De = null;
|
|
35878
35878
|
const Ve = Lt({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
35879
35879
|
let Ze = null;
|
|
35880
35880
|
const it = Lt({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
@@ -35905,7 +35905,7 @@ function gI() {
|
|
|
35905
35905
|
// eslint-disable-line indent
|
|
35906
35906
|
Et
|
|
35907
35907
|
// eslint-disable-line indent
|
|
35908
|
-
) : it,
|
|
35908
|
+
) : it, De = oi(K, "FORBID_CONTENTS") ? Lt({}, K.FORBID_CONTENTS, Et) : Ve, he = oi(K, "FORBID_TAGS") ? Lt({}, K.FORBID_TAGS, Et) : {}, me = oi(K, "FORBID_ATTR") ? Lt({}, K.FORBID_ATTR, Et) : {}, ge = oi(K, "USE_PROFILES") ? K.USE_PROFILES : !1, Z = K.ALLOW_ARIA_ATTR !== !1, te = K.ALLOW_DATA_ATTR !== !1, ie = K.ALLOW_UNKNOWN_PROTOCOLS || !1, ye = K.ALLOW_SELF_CLOSE_IN_ATTR !== !1, X = K.SAFE_FOR_TEMPLATES || !1, _e = K.SAFE_FOR_XML !== !1, Pe = K.WHOLE_DOCUMENT || !1, Qe = K.RETURN_DOM || !1, Ge = K.RETURN_DOM_FRAGMENT || !1, ze = K.RETURN_TRUSTED_TYPE || !1, Ie = K.FORCE_BODY || !1, tt = K.SANITIZE_DOM !== !1, pt = K.SANITIZE_NAMED_PROPS || !1, jt = K.KEEP_CONTENT !== !1, Qt = K.IN_PLACE || !1, $ = K.ALLOWED_URI_REGEXP || hI, Ut = K.NAMESPACE || bn, fe = K.CUSTOM_ELEMENT_HANDLING || {}, K.CUSTOM_ELEMENT_HANDLING && Ds(K.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (fe.tagNameCheck = K.CUSTOM_ELEMENT_HANDLING.tagNameCheck), K.CUSTOM_ELEMENT_HANDLING && Ds(K.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (fe.attributeNameCheck = K.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), K.CUSTOM_ELEMENT_HANDLING && typeof K.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (fe.allowCustomizedBuiltInElements = K.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), X && (te = !1), Ge && (Qe = !0), ge && (V = Lt({}, $$), k = [], ge.html === !0 && (Lt(V, P$), Lt(k, T$)), ge.svg === !0 && (Lt(V, K0), Lt(k, J0), Lt(k, eg)), ge.svgFilters === !0 && (Lt(V, X0), Lt(k, J0), Lt(k, eg)), ge.mathMl === !0 && (Lt(V, Q0), Lt(k, D$), Lt(k, eg))), K.ADD_TAGS && (V === U && (V = tl(V)), Lt(V, K.ADD_TAGS, Et)), K.ADD_ATTR && (k === re && (k = tl(k)), Lt(k, K.ADD_ATTR, Et)), K.ADD_URI_SAFE_ATTR && Lt(Jt, K.ADD_URI_SAFE_ATTR, Et), K.FORBID_CONTENTS && (De === Ve && (De = tl(De)), Lt(De, K.FORBID_CONTENTS, Et)), jt && (V["#text"] = !0), Pe && Lt(V, ["html", "head", "body"]), V.table && (Lt(V, ["tbody"]), delete he.tbody), K.TRUSTED_TYPES_POLICY) {
|
|
35909
35909
|
if (typeof K.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
35910
35910
|
throw md('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
35911
35911
|
if (typeof K.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -36008,7 +36008,7 @@ function gI() {
|
|
|
36008
36008
|
if (!V[Fe] || he[Fe]) {
|
|
36009
36009
|
if (!he[Fe] && Je(Fe) && (fe.tagNameCheck instanceof RegExp && Pr(fe.tagNameCheck, Fe) || fe.tagNameCheck instanceof Function && fe.tagNameCheck(Fe)))
|
|
36010
36010
|
return !1;
|
|
36011
|
-
if (jt && !
|
|
36011
|
+
if (jt && !De[Fe]) {
|
|
36012
36012
|
const ft = _(K) || K.parentNode, On = w(K) || K.childNodes;
|
|
36013
36013
|
if (On && ft) {
|
|
36014
36014
|
const bt = On.length;
|
|
@@ -36766,7 +36766,7 @@ const q_ = I.forwardRef(({ className: e, orientation: t = "vertical", ...n }, r)
|
|
|
36766
36766
|
q_.displayName = bI.displayName;
|
|
36767
36767
|
function uoe({ card: e, isLoading: t }) {
|
|
36768
36768
|
var f, h;
|
|
36769
|
-
const n = (e == null ? void 0 : e.data) || [], { keys: r } = wr(n), o =
|
|
36769
|
+
const n = (e == null ? void 0 : e.data) || [], { keys: r } = wr(n), o = Te((p) => p.selectedSheetId), i = Te((p) => p.isVisualEditing), s = (h = (f = e == null ? void 0 : e.preferences) == null ? void 0 : f.textVisualOptions) == null ? void 0 : h.isDynamicText, { setCardDescription: a } = Ar(), { setCard: l } = u_();
|
|
36770
36770
|
function c() {
|
|
36771
36771
|
var x;
|
|
36772
36772
|
if (t)
|
|
@@ -36861,7 +36861,7 @@ const $I = OI, wv = I.forwardRef(
|
|
|
36861
36861
|
wv.displayName = $I.displayName;
|
|
36862
36862
|
function hoe() {
|
|
36863
36863
|
var h, p;
|
|
36864
|
-
const e =
|
|
36864
|
+
const e = Te((m) => m.themeStyle), t = Te((m) => m.filterValues), n = Te((m) => m.dashboard.filters), r = Te((m) => m.filteringCards), {
|
|
36865
36865
|
removeFilterValue: o,
|
|
36866
36866
|
removeFilteringCard: i,
|
|
36867
36867
|
setFilterValues: s,
|
|
@@ -36955,8 +36955,8 @@ function hoe() {
|
|
|
36955
36955
|
}
|
|
36956
36956
|
function poe({ card: e, renderFilterInfo: t }) {
|
|
36957
36957
|
var h, p, m, v, x, b, w, _, C, S, P, O, D, M, L, N, z, J, q, j, ee, G, Q, W;
|
|
36958
|
-
|
|
36959
|
-
const { data: n, isLoading: r } = lv(e), o = (n == null ? void 0 : n.records) || e.data, i =
|
|
36958
|
+
Te(($) => $.themeStyle);
|
|
36959
|
+
const { data: n, isLoading: r } = lv(e), o = (n == null ? void 0 : n.records) || e.data, i = Te(
|
|
36960
36960
|
($) => $.isDashboardEditing
|
|
36961
36961
|
), s = (p = (h = e.preferences) == null ? void 0 : h.formatNumber) == null ? void 0 : p.colorRanges, { metricKeys: a } = wr(o || []), l = (m = o == null ? void 0 : o[0]) == null ? void 0 : m[a == null ? void 0 : a[0]], c = (v = o == null ? void 0 : o[0]) == null ? void 0 : v[a == null ? void 0 : a[1]], u = !!e.data && e.data.length > 0, f = c && c - l !== 0 ? (l - c) / c : null;
|
|
36962
36962
|
return (
|
|
@@ -37099,7 +37099,7 @@ function xoe({
|
|
|
37099
37099
|
frame: t
|
|
37100
37100
|
}) {
|
|
37101
37101
|
var p, m, v, x, b, w, _, C, S;
|
|
37102
|
-
const n =
|
|
37102
|
+
const n = Te((P) => P.themeStyle), r = {
|
|
37103
37103
|
colors: ((m = (p = n == null ? void 0 : n.chart) == null ? void 0 : p.dataset) == null ? void 0 : m.backgroundColor) || []
|
|
37104
37104
|
}, [o, i] = Ce(!1), { getCard: s } = boe(((v = e.customCardPreferences) == null ? void 0 : v.url) || ""), a = ((x = e.customCardPreferences) == null ? void 0 : x.visualType) || "single", l = (b = e.customCardPreferences) == null ? void 0 : b.componentName;
|
|
37105
37105
|
if (!l)
|
|
@@ -37285,12 +37285,12 @@ function Soe({
|
|
|
37285
37285
|
...r
|
|
37286
37286
|
}) {
|
|
37287
37287
|
var k, re, fe, he, me;
|
|
37288
|
-
const { customCards: o } = ji(), i = ce.useRef(null), s =
|
|
37288
|
+
const { customCards: o } = ji(), i = ce.useRef(null), s = Te((Z) => Z.themeStyle), a = Te((Z) => Z.selectedSheetId), l = Te((Z) => Z.selectedFrameId), c = Te(
|
|
37289
37289
|
(Z) => Z.isDashboardEditing
|
|
37290
|
-
), u =
|
|
37291
|
-
|
|
37290
|
+
), u = Te((Z) => Z.selectedLensId), f = Te((Z) => Z.dashboard.filters);
|
|
37291
|
+
Te((Z) => Z.filteringCards);
|
|
37292
37292
|
const h = f == null ? void 0 : f.find((Z) => Z.id === e.filterId);
|
|
37293
|
-
|
|
37293
|
+
Te((Z) => Z.filterValues);
|
|
37294
37294
|
const { updateFrame: p } = Ar(), m = e.cards.find((Z) => Z.id === e.activeCardId), v = ((k = m.customCardPreferences) == null ? void 0 : k.showCardHeader) ?? !0;
|
|
37295
37295
|
fee(e, i);
|
|
37296
37296
|
const {
|
|
@@ -39222,7 +39222,7 @@ function kie() {
|
|
|
39222
39222
|
function ge(T) {
|
|
39223
39223
|
return "" + T;
|
|
39224
39224
|
}
|
|
39225
|
-
function
|
|
39225
|
+
function De(T) {
|
|
39226
39226
|
if (Qt(T))
|
|
39227
39227
|
return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", jt(T)), ge(T);
|
|
39228
39228
|
}
|
|
@@ -39309,7 +39309,7 @@ function kie() {
|
|
|
39309
39309
|
function lt(T, oe, pe, ke, Ke) {
|
|
39310
39310
|
{
|
|
39311
39311
|
var Je, Ue = {}, He = null, Le = null;
|
|
39312
|
-
pe !== void 0 && (
|
|
39312
|
+
pe !== void 0 && (De(pe), He = "" + pe), Rn(oe) && (De(oe.key), He = "" + oe.key), rn(oe) && (Le = oe.ref, bn(oe, Ke));
|
|
39313
39313
|
for (Je in oe)
|
|
39314
39314
|
Ie.call(oe, Je) && !Ze.hasOwnProperty(Je) && (Ue[Je] = oe[Je]);
|
|
39315
39315
|
if (T && T.defaultProps) {
|
|
@@ -40493,7 +40493,7 @@ function QI({
|
|
|
40493
40493
|
}
|
|
40494
40494
|
QI.displayName = "Calendar";
|
|
40495
40495
|
function JI(e) {
|
|
40496
|
-
const { authToken: t } = ji(), n =
|
|
40496
|
+
const { authToken: t } = ji(), n = Te((m) => m.filterValues), [r, o] = Ce(!0);
|
|
40497
40497
|
function i(m) {
|
|
40498
40498
|
return r ? { allowQuery: !0, filterValues: m.filter(
|
|
40499
40499
|
(b) => b.filterId !== e.id
|
|
@@ -40538,11 +40538,11 @@ function fae({
|
|
|
40538
40538
|
className: t
|
|
40539
40539
|
}) {
|
|
40540
40540
|
var _, C, S, P, O, D, M, L;
|
|
40541
|
-
const n =
|
|
40541
|
+
const n = Te((N) => N.themeStyle), [r, o] = Ce(!1), [i, s] = Ce(), [a, l] = Ce(), c = Te((N) => N.filterValues);
|
|
40542
40542
|
ji();
|
|
40543
|
-
const u =
|
|
40543
|
+
const u = Te(
|
|
40544
40544
|
(N) => N.actions.addOrUpdateFilterValue
|
|
40545
|
-
), f =
|
|
40545
|
+
), f = Te(
|
|
40546
40546
|
(N) => N.actions.removeFilterValue
|
|
40547
40547
|
), { data: h, isLoading: p, isFetching: m, isError: v, refetch: x } = JI(e);
|
|
40548
40548
|
we(() => {
|
|
@@ -42260,9 +42260,9 @@ function owe(e, t, n) {
|
|
|
42260
42260
|
function Wle({ filter: e }) {
|
|
42261
42261
|
const [t, n] = Ce([]), [r, o] = Ce(""), [i, s] = Ce(""), a = ue(null);
|
|
42262
42262
|
ji();
|
|
42263
|
-
const l =
|
|
42263
|
+
const l = Te((O) => O.filterValues), c = Te((O) => O.selectedSheetId), u = Te(
|
|
42264
42264
|
(O) => O.actions.addOrUpdateFilterValue
|
|
42265
|
-
), f =
|
|
42265
|
+
), f = Te(
|
|
42266
42266
|
(O) => O.actions.removeFilterValue
|
|
42267
42267
|
), { data: h, isLoading: p, isFetching: m, isError: v, refetch: x } = JI(e), b = mn(
|
|
42268
42268
|
() => {
|
|
@@ -42765,7 +42765,7 @@ function lce({
|
|
|
42765
42765
|
);
|
|
42766
42766
|
}
|
|
42767
42767
|
function cce({ filter: e }) {
|
|
42768
|
-
const t =
|
|
42768
|
+
const t = Te(
|
|
42769
42769
|
(i) => i.isDashboardEditing
|
|
42770
42770
|
), { removeFilterValue: n, removeFilter: r, updateFilter: o } = Ar();
|
|
42771
42771
|
return /* @__PURE__ */ E.jsx(
|
|
@@ -42893,7 +42893,7 @@ var kce = (e) => {
|
|
|
42893
42893
|
let { invert: f, toast: h, unstyled: p, interacting: m, setHeights: v, visibleToasts: x, heights: b, index: w, toasts: _, expanded: C, removeToast: S, defaultRichColors: P, closeButton: O, style: D, cancelButtonStyle: M, actionButtonStyle: L, className: N = "", descriptionClassName: z = "", duration: J, position: q, gap: j, loadingIcon: ee, expandByDefault: G, classNames: Q, icons: W, closeButtonAriaLabel: $ = "Close toast", pauseWhenPageIsHidden: V, cn: U } = e, [k, re] = ce.useState(!1), [fe, he] = ce.useState(!1), [me, Z] = ce.useState(!1), [te, ie] = ce.useState(!1), [ye, X] = ce.useState(0), [_e, Pe] = ce.useState(0), Me = ce.useRef(null), Ie = ce.useRef(null), Qe = w === 0, Ge = w + 1 <= x, ze = h.type, tt = h.dismissible !== !1, pt = h.className || "", Ht = h.descriptionClassName || "", jt = ce.useMemo(() => b.findIndex((lt) => lt.toastId === h.id) || 0, [b, h.id]), Qt = ce.useMemo(() => {
|
|
42894
42894
|
var lt;
|
|
42895
42895
|
return (lt = h.closeButton) != null ? lt : O;
|
|
42896
|
-
}, [h.closeButton, O]), ge = ce.useMemo(() => h.duration || J || Oce, [h.duration, J]),
|
|
42896
|
+
}, [h.closeButton, O]), ge = ce.useMemo(() => h.duration || J || Oce, [h.duration, J]), De = ce.useRef(0), Ve = ce.useRef(0), Ze = ce.useRef(0), it = ce.useRef(null), [Jt, cn] = q.split("-"), rn = ce.useMemo(() => b.reduce((lt, yt, zt) => zt >= jt ? lt : lt + yt.height, 0), [b, jt]), Rn = vce(), bn = h.invert || f, Ut = ze === "loading";
|
|
42897
42897
|
Ve.current = ce.useMemo(() => jt * j + rn, [jt, rn]), ce.useEffect(() => {
|
|
42898
42898
|
re(!0);
|
|
42899
42899
|
}, []), ce.useLayoutEffect(() => {
|
|
@@ -42914,12 +42914,12 @@ var kce = (e) => {
|
|
|
42914
42914
|
return;
|
|
42915
42915
|
let lt, yt = ge;
|
|
42916
42916
|
return C || m || V && Rn ? (() => {
|
|
42917
|
-
if (Ze.current <
|
|
42918
|
-
let zt = (/* @__PURE__ */ new Date()).getTime() -
|
|
42917
|
+
if (Ze.current < De.current) {
|
|
42918
|
+
let zt = (/* @__PURE__ */ new Date()).getTime() - De.current;
|
|
42919
42919
|
yt = yt - zt;
|
|
42920
42920
|
}
|
|
42921
42921
|
Ze.current = (/* @__PURE__ */ new Date()).getTime();
|
|
42922
|
-
})() : yt !== 1 / 0 && (
|
|
42922
|
+
})() : yt !== 1 / 0 && (De.current = (/* @__PURE__ */ new Date()).getTime(), lt = setTimeout(() => {
|
|
42923
42923
|
var zt;
|
|
42924
42924
|
(zt = h.onAutoClose) == null || zt.call(h, h), dn();
|
|
42925
42925
|
}, yt)), () => clearTimeout(lt);
|
|
@@ -43029,75 +43029,76 @@ var swe = (e) => {
|
|
|
43029
43029
|
})) : null;
|
|
43030
43030
|
};
|
|
43031
43031
|
function Mce() {
|
|
43032
|
-
const { getSelectedFrame: e, addFrame: t, setSelectedFrameId: n } = Ar(), r =
|
|
43033
|
-
(
|
|
43034
|
-
);
|
|
43032
|
+
const { getSelectedFrame: e, addFrame: t, setSelectedFrameId: n } = Ar(), r = Te((l) => l.dashboard.sheets), i = Te((l) => l.selectedSheetId) ?? (r == null ? void 0 : r[0].id), s = Te(
|
|
43033
|
+
(l) => l.isDashboardEditing
|
|
43034
|
+
), a = Te((l) => l.isVisualEditing);
|
|
43035
43035
|
we(() => {
|
|
43036
|
-
if (!s)
|
|
43036
|
+
if (!s || a)
|
|
43037
43037
|
return;
|
|
43038
|
-
async function
|
|
43039
|
-
const
|
|
43040
|
-
|
|
43038
|
+
async function l(f) {
|
|
43039
|
+
const h = f.ctrlKey || f.metaKey;
|
|
43040
|
+
h && f.key === "c" ? (await c(), Sce.success("Card copied to clipboard"), f.preventDefault()) : h && f.key === "v" && (await u(), f.preventDefault());
|
|
43041
43041
|
}
|
|
43042
|
-
async function
|
|
43042
|
+
async function c() {
|
|
43043
43043
|
try {
|
|
43044
|
-
const
|
|
43045
|
-
|
|
43046
|
-
} catch (
|
|
43047
|
-
console.error("Failed to copy text:",
|
|
43044
|
+
const f = e();
|
|
43045
|
+
f && await navigator.clipboard.writeText(JSON.stringify(f));
|
|
43046
|
+
} catch (f) {
|
|
43047
|
+
console.error("Failed to copy text:", f);
|
|
43048
43048
|
}
|
|
43049
43049
|
}
|
|
43050
|
-
async function
|
|
43050
|
+
async function u() {
|
|
43051
43051
|
if (!i)
|
|
43052
43052
|
return null;
|
|
43053
43053
|
try {
|
|
43054
|
-
const
|
|
43054
|
+
const f = await navigator.clipboard.readText();
|
|
43055
43055
|
try {
|
|
43056
|
-
const
|
|
43057
|
-
if (
|
|
43058
|
-
|
|
43059
|
-
const
|
|
43060
|
-
|
|
43061
|
-
const
|
|
43062
|
-
|
|
43063
|
-
}), t(i,
|
|
43056
|
+
const h = JSON.parse(f);
|
|
43057
|
+
if (h && h.id) {
|
|
43058
|
+
h.id = $l();
|
|
43059
|
+
const p = h.activeCardId;
|
|
43060
|
+
h.cards.forEach((m) => {
|
|
43061
|
+
const v = m.id;
|
|
43062
|
+
m.id = $l(), v === p && (h.activeCardId = m.id, m.title = `${m.title} (Copy)`);
|
|
43063
|
+
}), t(i, h), n(h.id);
|
|
43064
43064
|
}
|
|
43065
|
-
} catch (
|
|
43066
|
-
console.error("Failed to parse clipboard contents: ",
|
|
43065
|
+
} catch (h) {
|
|
43066
|
+
console.error("Failed to parse clipboard contents: ", h);
|
|
43067
43067
|
}
|
|
43068
|
-
return
|
|
43069
|
-
} catch (
|
|
43070
|
-
return console.error("Failed to paste text:",
|
|
43068
|
+
return f;
|
|
43069
|
+
} catch (f) {
|
|
43070
|
+
return console.error("Failed to paste text:", f), null;
|
|
43071
43071
|
}
|
|
43072
43072
|
}
|
|
43073
|
-
return document.addEventListener("keydown",
|
|
43073
|
+
return document.addEventListener("keydown", l), () => document.removeEventListener("keydown", l);
|
|
43074
43074
|
}, [
|
|
43075
43075
|
t,
|
|
43076
43076
|
e,
|
|
43077
43077
|
n,
|
|
43078
43078
|
i,
|
|
43079
|
-
s
|
|
43079
|
+
s,
|
|
43080
|
+
a
|
|
43080
43081
|
]);
|
|
43081
43082
|
}
|
|
43082
43083
|
const Ice = yO.WidthProvider(yO.Responsive), _N = (e) => Zf.includes(e.dataType) ? /* @__PURE__ */ E.jsx(fae, { filter: e }) : /* @__PURE__ */ E.jsx(Wle, { filter: e });
|
|
43083
43084
|
function Nce() {
|
|
43084
43085
|
var S, P;
|
|
43085
|
-
const e =
|
|
43086
|
+
const e = Te(
|
|
43086
43087
|
(O) => O.isDashboardEditing
|
|
43087
43088
|
);
|
|
43088
|
-
|
|
43089
|
+
Te(
|
|
43089
43090
|
(O) => O.currentBreakpoint
|
|
43090
43091
|
);
|
|
43091
|
-
const t =
|
|
43092
|
+
const t = Te((O) => O.themeStyle);
|
|
43092
43093
|
Ce([]);
|
|
43093
|
-
const n =
|
|
43094
|
-
|
|
43095
|
-
const r = (S =
|
|
43094
|
+
const n = Te((O) => O.selectedSheetId);
|
|
43095
|
+
Te((O) => O.selectedLensId);
|
|
43096
|
+
const r = (S = Te(
|
|
43096
43097
|
(O) => {
|
|
43097
43098
|
var D, M;
|
|
43098
43099
|
return (M = (D = O.dashboard) == null ? void 0 : D.sheets) == null ? void 0 : M.filter((L) => L.id === n);
|
|
43099
43100
|
}
|
|
43100
|
-
)) == null ? void 0 : S[0].layouts, o =
|
|
43101
|
+
)) == null ? void 0 : S[0].layouts, o = Te((O) => O.dashboard.filters), i = Te(
|
|
43101
43102
|
(O) => {
|
|
43102
43103
|
var D, M, L;
|
|
43103
43104
|
return (L = (M = (D = O.dashboard) == null ? void 0 : D.sheets) == null ? void 0 : M.find((N) => N.id === n)) == null ? void 0 : L.frames;
|
|
@@ -43112,7 +43113,7 @@ function Nce() {
|
|
|
43112
43113
|
removeFilter: h,
|
|
43113
43114
|
updateFilter: p,
|
|
43114
43115
|
removeFilterValue: m
|
|
43115
|
-
} =
|
|
43116
|
+
} = Te((O) => O.actions), v = s();
|
|
43116
43117
|
Mce();
|
|
43117
43118
|
const x = qe(
|
|
43118
43119
|
(O) => {
|
|
@@ -43203,7 +43204,7 @@ function Nce() {
|
|
|
43203
43204
|
) })
|
|
43204
43205
|
);
|
|
43205
43206
|
}
|
|
43206
|
-
const SN = ve(({ className: e, handleAxis: t, ...n }, r) => (
|
|
43207
|
+
const SN = ve(({ className: e, handleAxis: t, ...n }, r) => (Te((o) => o.themeStyle), /* @__PURE__ */ E.jsx(
|
|
43207
43208
|
"div",
|
|
43208
43209
|
{
|
|
43209
43210
|
ref: r,
|
|
@@ -44524,8 +44525,8 @@ const s2 = ce.use || ((e) => {
|
|
|
44524
44525
|
tt.data = o(ge, Pe) ? ge : Pe, Ge && ze() && D().onSuccess(Pe, b, n);
|
|
44525
44526
|
} catch (Qt) {
|
|
44526
44527
|
Ht();
|
|
44527
|
-
const ge = D(), { shouldRetryOnError:
|
|
44528
|
-
ge.isPaused() || (tt.error = Qt, Ge && ze() && (ge.onError(Qt, b, ge), (
|
|
44528
|
+
const ge = D(), { shouldRetryOnError: De } = ge;
|
|
44529
|
+
ge.isPaused() || (tt.error = Qt, Ge && ze() && (ge.onError(Qt, b, ge), (De === !0 || $i(De) && De(Qt)) && (!D().revalidateOnFocus || !D().revalidateOnReconnect || M()) && ge.onErrorRetry(Qt, b, ge, (Ve) => {
|
|
44529
44530
|
const Ze = p[b];
|
|
44530
44531
|
Ze && Ze[0] && Ze[0](Sd.ERROR_REVALIDATE_EVENT, Ve);
|
|
44531
44532
|
}, {
|
|
@@ -44922,7 +44923,7 @@ function Due({
|
|
|
44922
44923
|
if (pt)
|
|
44923
44924
|
if (pt instanceof FileList)
|
|
44924
44925
|
for (const ge of Array.from(pt)) {
|
|
44925
|
-
const { name:
|
|
44926
|
+
const { name: De, type: Ve } = ge, Ze = await new Promise((it, Jt) => {
|
|
44926
44927
|
const cn = new FileReader();
|
|
44927
44928
|
cn.onload = (rn) => {
|
|
44928
44929
|
var Rn;
|
|
@@ -44930,16 +44931,16 @@ function Due({
|
|
|
44930
44931
|
}, cn.onerror = (rn) => Jt(rn), cn.readAsDataURL(ge);
|
|
44931
44932
|
});
|
|
44932
44933
|
tt.push({
|
|
44933
|
-
name:
|
|
44934
|
+
name: De,
|
|
44934
44935
|
contentType: Ve,
|
|
44935
44936
|
url: Ze
|
|
44936
44937
|
});
|
|
44937
44938
|
}
|
|
44938
44939
|
else if (Array.isArray(pt))
|
|
44939
44940
|
for (const ge of pt) {
|
|
44940
|
-
const { name:
|
|
44941
|
+
const { name: De, url: Ve, contentType: Ze } = ge;
|
|
44941
44942
|
tt.push({
|
|
44942
|
-
name:
|
|
44943
|
+
name: De,
|
|
44943
44944
|
contentType: Ze,
|
|
44944
44945
|
url: Ve
|
|
44945
44946
|
});
|
|
@@ -49196,12 +49197,12 @@ function Ghe(e) {
|
|
|
49196
49197
|
const n = {};
|
|
49197
49198
|
return r;
|
|
49198
49199
|
function r(ge) {
|
|
49199
|
-
let
|
|
49200
|
+
let De = {
|
|
49200
49201
|
type: "root",
|
|
49201
49202
|
children: []
|
|
49202
49203
|
};
|
|
49203
49204
|
const Ve = {
|
|
49204
|
-
stack: [
|
|
49205
|
+
stack: [De],
|
|
49205
49206
|
tokenStack: [],
|
|
49206
49207
|
config: t,
|
|
49207
49208
|
enter: a,
|
|
@@ -49235,7 +49236,7 @@ function Ghe(e) {
|
|
|
49235
49236
|
const Jt = Ve.tokenStack[Ve.tokenStack.length - 1];
|
|
49236
49237
|
(Jt[1] || T2).call(Ve, void 0, Jt[0]);
|
|
49237
49238
|
}
|
|
49238
|
-
for (
|
|
49239
|
+
for (De.position = {
|
|
49239
49240
|
start: Xs(
|
|
49240
49241
|
ge.length > 0 ? ge[0][1].start : {
|
|
49241
49242
|
line: 1,
|
|
@@ -49251,11 +49252,11 @@ function Ghe(e) {
|
|
|
49251
49252
|
}
|
|
49252
49253
|
)
|
|
49253
49254
|
}, it = -1; ++it < t.transforms.length; )
|
|
49254
|
-
|
|
49255
|
-
return
|
|
49255
|
+
De = t.transforms[it](De) || De;
|
|
49256
|
+
return De;
|
|
49256
49257
|
}
|
|
49257
|
-
function o(ge,
|
|
49258
|
-
let Ze =
|
|
49258
|
+
function o(ge, De, Ve) {
|
|
49259
|
+
let Ze = De - 1, it = -1, Jt = !1, cn, rn, Rn, bn;
|
|
49259
49260
|
for (; ++Ze <= Ve; ) {
|
|
49260
49261
|
const Ut = ge[Ze];
|
|
49261
49262
|
switch (Ut[1].type) {
|
|
@@ -49307,12 +49308,12 @@ function Ghe(e) {
|
|
|
49307
49308
|
}
|
|
49308
49309
|
}
|
|
49309
49310
|
}
|
|
49310
|
-
return ge[
|
|
49311
|
+
return ge[De][1]._spread = Jt, Ve;
|
|
49311
49312
|
}
|
|
49312
|
-
function i(ge,
|
|
49313
|
+
function i(ge, De) {
|
|
49313
49314
|
return Ve;
|
|
49314
49315
|
function Ve(Ze) {
|
|
49315
|
-
a.call(this, ge(Ze), Ze),
|
|
49316
|
+
a.call(this, ge(Ze), Ze), De && De.call(this, Ze);
|
|
49316
49317
|
}
|
|
49317
49318
|
}
|
|
49318
49319
|
function s() {
|
|
@@ -49321,23 +49322,23 @@ function Ghe(e) {
|
|
|
49321
49322
|
children: []
|
|
49322
49323
|
});
|
|
49323
49324
|
}
|
|
49324
|
-
function a(ge,
|
|
49325
|
-
this.stack[this.stack.length - 1].children.push(ge), this.stack.push(ge), this.tokenStack.push([
|
|
49326
|
-
start: Xs(
|
|
49325
|
+
function a(ge, De, Ve) {
|
|
49326
|
+
this.stack[this.stack.length - 1].children.push(ge), this.stack.push(ge), this.tokenStack.push([De, Ve]), ge.position = {
|
|
49327
|
+
start: Xs(De.start),
|
|
49327
49328
|
// @ts-expect-error: `end` will be patched later.
|
|
49328
49329
|
end: void 0
|
|
49329
49330
|
};
|
|
49330
49331
|
}
|
|
49331
49332
|
function l(ge) {
|
|
49332
|
-
return
|
|
49333
|
-
function
|
|
49333
|
+
return De;
|
|
49334
|
+
function De(Ve) {
|
|
49334
49335
|
ge && ge.call(this, Ve), c.call(this, Ve);
|
|
49335
49336
|
}
|
|
49336
49337
|
}
|
|
49337
|
-
function c(ge,
|
|
49338
|
+
function c(ge, De) {
|
|
49338
49339
|
const Ve = this.stack.pop(), Ze = this.tokenStack.pop();
|
|
49339
49340
|
if (Ze)
|
|
49340
|
-
Ze[0].type !== ge.type && (
|
|
49341
|
+
Ze[0].type !== ge.type && (De ? De.call(this, ge, Ze[0]) : (Ze[1] || T2).call(this, ge, Ze[0]));
|
|
49341
49342
|
else
|
|
49342
49343
|
throw new Error(
|
|
49343
49344
|
"Cannot close `" + ge.type + "` (" + Gd({
|
|
@@ -49355,56 +49356,56 @@ function Ghe(e) {
|
|
|
49355
49356
|
}
|
|
49356
49357
|
function h(ge) {
|
|
49357
49358
|
if (this.data.expectingFirstListItemValue) {
|
|
49358
|
-
const
|
|
49359
|
-
|
|
49359
|
+
const De = this.stack[this.stack.length - 2];
|
|
49360
|
+
De.start = Number.parseInt(this.sliceSerialize(ge), 10), this.data.expectingFirstListItemValue = void 0;
|
|
49360
49361
|
}
|
|
49361
49362
|
}
|
|
49362
49363
|
function p() {
|
|
49363
|
-
const ge = this.resume(),
|
|
49364
|
-
|
|
49364
|
+
const ge = this.resume(), De = this.stack[this.stack.length - 1];
|
|
49365
|
+
De.lang = ge;
|
|
49365
49366
|
}
|
|
49366
49367
|
function m() {
|
|
49367
|
-
const ge = this.resume(),
|
|
49368
|
-
|
|
49368
|
+
const ge = this.resume(), De = this.stack[this.stack.length - 1];
|
|
49369
|
+
De.meta = ge;
|
|
49369
49370
|
}
|
|
49370
49371
|
function v() {
|
|
49371
49372
|
this.data.flowCodeInside || (this.buffer(), this.data.flowCodeInside = !0);
|
|
49372
49373
|
}
|
|
49373
49374
|
function x() {
|
|
49374
|
-
const ge = this.resume(),
|
|
49375
|
-
|
|
49375
|
+
const ge = this.resume(), De = this.stack[this.stack.length - 1];
|
|
49376
|
+
De.value = ge.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), this.data.flowCodeInside = void 0;
|
|
49376
49377
|
}
|
|
49377
49378
|
function b() {
|
|
49378
|
-
const ge = this.resume(),
|
|
49379
|
-
|
|
49379
|
+
const ge = this.resume(), De = this.stack[this.stack.length - 1];
|
|
49380
|
+
De.value = ge.replace(/(\r?\n|\r)$/g, "");
|
|
49380
49381
|
}
|
|
49381
49382
|
function w(ge) {
|
|
49382
|
-
const
|
|
49383
|
-
Ve.label =
|
|
49383
|
+
const De = this.resume(), Ve = this.stack[this.stack.length - 1];
|
|
49384
|
+
Ve.label = De, Ve.identifier = Gc(
|
|
49384
49385
|
this.sliceSerialize(ge)
|
|
49385
49386
|
).toLowerCase();
|
|
49386
49387
|
}
|
|
49387
49388
|
function _() {
|
|
49388
|
-
const ge = this.resume(),
|
|
49389
|
-
|
|
49389
|
+
const ge = this.resume(), De = this.stack[this.stack.length - 1];
|
|
49390
|
+
De.title = ge;
|
|
49390
49391
|
}
|
|
49391
49392
|
function C() {
|
|
49392
|
-
const ge = this.resume(),
|
|
49393
|
-
|
|
49393
|
+
const ge = this.resume(), De = this.stack[this.stack.length - 1];
|
|
49394
|
+
De.url = ge;
|
|
49394
49395
|
}
|
|
49395
49396
|
function S(ge) {
|
|
49396
|
-
const
|
|
49397
|
-
if (!
|
|
49397
|
+
const De = this.stack[this.stack.length - 1];
|
|
49398
|
+
if (!De.depth) {
|
|
49398
49399
|
const Ve = this.sliceSerialize(ge).length;
|
|
49399
|
-
|
|
49400
|
+
De.depth = Ve;
|
|
49400
49401
|
}
|
|
49401
49402
|
}
|
|
49402
49403
|
function P() {
|
|
49403
49404
|
this.data.setextHeadingSlurpLineEnding = !0;
|
|
49404
49405
|
}
|
|
49405
49406
|
function O(ge) {
|
|
49406
|
-
const
|
|
49407
|
-
|
|
49407
|
+
const De = this.stack[this.stack.length - 1];
|
|
49408
|
+
De.depth = this.sliceSerialize(ge).codePointAt(0) === 61 ? 1 : 2;
|
|
49408
49409
|
}
|
|
49409
49410
|
function D() {
|
|
49410
49411
|
this.data.setextHeadingSlurpLineEnding = void 0;
|
|
@@ -49419,38 +49420,38 @@ function Ghe(e) {
|
|
|
49419
49420
|
}, Ve.push(Ze)), this.stack.push(Ze);
|
|
49420
49421
|
}
|
|
49421
49422
|
function L(ge) {
|
|
49422
|
-
const
|
|
49423
|
-
|
|
49423
|
+
const De = this.stack.pop();
|
|
49424
|
+
De.value += this.sliceSerialize(ge), De.position.end = Xs(ge.end);
|
|
49424
49425
|
}
|
|
49425
49426
|
function N(ge) {
|
|
49426
|
-
const
|
|
49427
|
+
const De = this.stack[this.stack.length - 1];
|
|
49427
49428
|
if (this.data.atHardBreak) {
|
|
49428
|
-
const Ve =
|
|
49429
|
+
const Ve = De.children[De.children.length - 1];
|
|
49429
49430
|
Ve.position.end = Xs(ge.end), this.data.atHardBreak = void 0;
|
|
49430
49431
|
return;
|
|
49431
49432
|
}
|
|
49432
|
-
!this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(
|
|
49433
|
+
!this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(De.type) && (M.call(this, ge), L.call(this, ge));
|
|
49433
49434
|
}
|
|
49434
49435
|
function z() {
|
|
49435
49436
|
this.data.atHardBreak = !0;
|
|
49436
49437
|
}
|
|
49437
49438
|
function J() {
|
|
49438
|
-
const ge = this.resume(),
|
|
49439
|
-
|
|
49439
|
+
const ge = this.resume(), De = this.stack[this.stack.length - 1];
|
|
49440
|
+
De.value = ge;
|
|
49440
49441
|
}
|
|
49441
49442
|
function q() {
|
|
49442
|
-
const ge = this.resume(),
|
|
49443
|
-
|
|
49443
|
+
const ge = this.resume(), De = this.stack[this.stack.length - 1];
|
|
49444
|
+
De.value = ge;
|
|
49444
49445
|
}
|
|
49445
49446
|
function j() {
|
|
49446
|
-
const ge = this.resume(),
|
|
49447
|
-
|
|
49447
|
+
const ge = this.resume(), De = this.stack[this.stack.length - 1];
|
|
49448
|
+
De.value = ge;
|
|
49448
49449
|
}
|
|
49449
49450
|
function ee() {
|
|
49450
49451
|
const ge = this.stack[this.stack.length - 1];
|
|
49451
49452
|
if (this.data.inReference) {
|
|
49452
|
-
const
|
|
49453
|
-
ge.type += "Reference", ge.referenceType =
|
|
49453
|
+
const De = this.data.referenceType || "shortcut";
|
|
49454
|
+
ge.type += "Reference", ge.referenceType = De, delete ge.url, delete ge.title;
|
|
49454
49455
|
} else
|
|
49455
49456
|
delete ge.identifier, delete ge.label;
|
|
49456
49457
|
this.data.referenceType = void 0;
|
|
@@ -49458,31 +49459,31 @@ function Ghe(e) {
|
|
|
49458
49459
|
function G() {
|
|
49459
49460
|
const ge = this.stack[this.stack.length - 1];
|
|
49460
49461
|
if (this.data.inReference) {
|
|
49461
|
-
const
|
|
49462
|
-
ge.type += "Reference", ge.referenceType =
|
|
49462
|
+
const De = this.data.referenceType || "shortcut";
|
|
49463
|
+
ge.type += "Reference", ge.referenceType = De, delete ge.url, delete ge.title;
|
|
49463
49464
|
} else
|
|
49464
49465
|
delete ge.identifier, delete ge.label;
|
|
49465
49466
|
this.data.referenceType = void 0;
|
|
49466
49467
|
}
|
|
49467
49468
|
function Q(ge) {
|
|
49468
|
-
const
|
|
49469
|
-
Ve.label = Hhe(
|
|
49469
|
+
const De = this.sliceSerialize(ge), Ve = this.stack[this.stack.length - 2];
|
|
49470
|
+
Ve.label = Hhe(De), Ve.identifier = Gc(De).toLowerCase();
|
|
49470
49471
|
}
|
|
49471
49472
|
function W() {
|
|
49472
|
-
const ge = this.stack[this.stack.length - 1],
|
|
49473
|
+
const ge = this.stack[this.stack.length - 1], De = this.resume(), Ve = this.stack[this.stack.length - 1];
|
|
49473
49474
|
if (this.data.inReference = !0, Ve.type === "link") {
|
|
49474
49475
|
const Ze = ge.children;
|
|
49475
49476
|
Ve.children = Ze;
|
|
49476
49477
|
} else
|
|
49477
|
-
Ve.alt =
|
|
49478
|
+
Ve.alt = De;
|
|
49478
49479
|
}
|
|
49479
49480
|
function $() {
|
|
49480
|
-
const ge = this.resume(),
|
|
49481
|
-
|
|
49481
|
+
const ge = this.resume(), De = this.stack[this.stack.length - 1];
|
|
49482
|
+
De.url = ge;
|
|
49482
49483
|
}
|
|
49483
49484
|
function V() {
|
|
49484
|
-
const ge = this.resume(),
|
|
49485
|
-
|
|
49485
|
+
const ge = this.resume(), De = this.stack[this.stack.length - 1];
|
|
49486
|
+
De.title = ge;
|
|
49486
49487
|
}
|
|
49487
49488
|
function U() {
|
|
49488
49489
|
this.data.inReference = void 0;
|
|
@@ -49491,8 +49492,8 @@ function Ghe(e) {
|
|
|
49491
49492
|
this.data.referenceType = "collapsed";
|
|
49492
49493
|
}
|
|
49493
49494
|
function re(ge) {
|
|
49494
|
-
const
|
|
49495
|
-
Ve.label =
|
|
49495
|
+
const De = this.resume(), Ve = this.stack[this.stack.length - 1];
|
|
49496
|
+
Ve.label = De, Ve.identifier = Gc(
|
|
49496
49497
|
this.sliceSerialize(ge)
|
|
49497
49498
|
).toLowerCase(), this.data.referenceType = "full";
|
|
49498
49499
|
}
|
|
@@ -49500,24 +49501,24 @@ function Ghe(e) {
|
|
|
49500
49501
|
this.data.characterReferenceType = ge.type;
|
|
49501
49502
|
}
|
|
49502
49503
|
function he(ge) {
|
|
49503
|
-
const
|
|
49504
|
+
const De = this.sliceSerialize(ge), Ve = this.data.characterReferenceType;
|
|
49504
49505
|
let Ze;
|
|
49505
49506
|
Ve ? (Ze = e5(
|
|
49506
|
-
|
|
49507
|
+
De,
|
|
49507
49508
|
Ve === "characterReferenceMarkerNumeric" ? 10 : 16
|
|
49508
|
-
), this.data.characterReferenceType = void 0) : Ze = SS(
|
|
49509
|
+
), this.data.characterReferenceType = void 0) : Ze = SS(De);
|
|
49509
49510
|
const it = this.stack.pop();
|
|
49510
49511
|
it.value += Ze, it.position.end = Xs(ge.end);
|
|
49511
49512
|
}
|
|
49512
49513
|
function me(ge) {
|
|
49513
49514
|
L.call(this, ge);
|
|
49514
|
-
const
|
|
49515
|
-
|
|
49515
|
+
const De = this.stack[this.stack.length - 1];
|
|
49516
|
+
De.url = this.sliceSerialize(ge);
|
|
49516
49517
|
}
|
|
49517
49518
|
function Z(ge) {
|
|
49518
49519
|
L.call(this, ge);
|
|
49519
|
-
const
|
|
49520
|
-
|
|
49520
|
+
const De = this.stack[this.stack.length - 1];
|
|
49521
|
+
De.url = "mailto:" + this.sliceSerialize(ge);
|
|
49521
49522
|
}
|
|
49522
49523
|
function te() {
|
|
49523
49524
|
return {
|
|
@@ -51826,11 +51827,11 @@ function pge(e) {
|
|
|
51826
51827
|
);
|
|
51827
51828
|
}
|
|
51828
51829
|
function gge() {
|
|
51829
|
-
const e = ue(null), [t, n] = Ce(""), [r, o] = Ce(!1), i =
|
|
51830
|
+
const e = ue(null), [t, n] = Ce(""), [r, o] = Ce(!1), i = Te(
|
|
51830
51831
|
(M) => M.dashboard.aiScopeTables
|
|
51831
51832
|
);
|
|
51832
51833
|
u_();
|
|
51833
|
-
const s =
|
|
51834
|
+
const s = Te((M) => M.selectedSheetId), { addFrame: a, setSelectedFrameId: l, setIsDashboardEditing: c } = Ar(), { authToken: u } = ji(), f = xD(), {
|
|
51834
51835
|
messages: h,
|
|
51835
51836
|
input: p,
|
|
51836
51837
|
handleInputChange: m,
|
|
@@ -54516,7 +54517,7 @@ const UL = I.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ E.jsx(
|
|
|
54516
54517
|
));
|
|
54517
54518
|
UL.displayName = IL.displayName;
|
|
54518
54519
|
function tve({ open: e, setOpen: t }) {
|
|
54519
|
-
const n =
|
|
54520
|
+
const n = Te((i) => i.selectedSheetId), { deleteSheet: r } = Ar();
|
|
54520
54521
|
function o() {
|
|
54521
54522
|
n && (r(n), t(!1));
|
|
54522
54523
|
}
|
|
@@ -54533,14 +54534,14 @@ function tve({ open: e, setOpen: t }) {
|
|
|
54533
54534
|
}
|
|
54534
54535
|
function nve() {
|
|
54535
54536
|
var v, x;
|
|
54536
|
-
const [e, t] = Ce(!1), n =
|
|
54537
|
+
const [e, t] = Ce(!1), n = Te((b) => {
|
|
54537
54538
|
var w;
|
|
54538
54539
|
return (w = b.dashboard) == null ? void 0 : w.sheets;
|
|
54539
|
-
}), { showAssistant: r } = ji(), o = ue(null), [i, s] = Ce(!1), a =
|
|
54540
|
+
}), { showAssistant: r } = ji(), o = ue(null), [i, s] = Ce(!1), a = Te(
|
|
54540
54541
|
(b) => b.isDashboardEditing
|
|
54541
|
-
), l =
|
|
54542
|
-
|
|
54543
|
-
const c =
|
|
54542
|
+
), l = Te((b) => b.themeStyle);
|
|
54543
|
+
Te((b) => b.isVisualEditing);
|
|
54544
|
+
const c = Te((b) => b.selectedSheetId), { setSelectedSheetId: u, setSheetTitle: f, addSheet: h } = Ar();
|
|
54544
54545
|
if (!n)
|
|
54545
54546
|
return null;
|
|
54546
54547
|
function p(b) {
|
|
@@ -58231,7 +58232,7 @@ export {
|
|
|
58231
58232
|
fN as ax,
|
|
58232
58233
|
NQ as ay,
|
|
58233
58234
|
hge as az,
|
|
58234
|
-
|
|
58235
|
+
Te as b,
|
|
58235
58236
|
fJ as b$,
|
|
58236
58237
|
jk as b0,
|
|
58237
58238
|
FD as b1,
|