react-semaphor 0.0.635 → 0.0.637
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-CyO19WYF.js → dashboard-plus-eCl-IRpo.js} +95 -86
- package/dist/chunks/{dashboard-plus-DOywPQer.js → dashboard-plus-grRFQkKm.js} +2 -2
- package/dist/chunks/{index-Bh16H61W.js → index-BtijgPDD.js} +185 -185
- package/dist/chunks/{index-BIeRd2Q5.js → index-vArioox0.js} +17425 -16831
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +3 -3
- package/dist/style.css +1 -1
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as a, jsx as e, Fragment as Q } from "react/jsx-runtime";
|
|
2
|
-
import { L as le, M as tl, u as re, N as pa, O as fa, P as _, Q as ga, T as nt, V as yn, I as Mt, W as We, X as ut, Y as al, Z as Pe, _ as mt, $ as ht, a0 as pt, a1 as Tt, a2 as B, a3 as Ae, a4 as ea, a5 as ve, a6 as sl, a7 as Sa, a8 as Gi, a9 as Tr, aa as Nn, ab as U, ac as bn, ad as $i, ae as nl, af as rl, ag as ua, ah as Ne, j as Mr, ai as Yi, aj as Nt, ak as bt, al as Ar, am as At, an as gt, ao as xt, ap as ke, aq as ue, ar as tt, as as Is, at as ka, au as ll, av as Ui, aw as qi, ax as Wi, ay as He, az as Cn, aA as Ki, aB as Os, aC as Gt, aD as Qt, aE as Le, aF as ft, aG as il, aH as Ie, aI as ol, aJ as Pa, aK as Da, aL as _t, aM as Re, aN as
|
|
2
|
+
import { L as le, M as tl, u as re, N as pa, O as fa, P as _, Q as ga, T as nt, V as yn, I as Mt, W as We, X as ut, Y as al, Z as Pe, _ as mt, $ as ht, a0 as pt, a1 as Tt, a2 as B, a3 as Ae, a4 as ea, a5 as ve, a6 as sl, a7 as Sa, a8 as Gi, a9 as Tr, aa as Nn, ab as U, ac as bn, ad as $i, ae as nl, af as rl, ag as ua, ah as Ne, j as Mr, ai as Yi, aj as Nt, ak as bt, al as Ar, am as At, an as gt, ao as xt, ap as ke, aq as ue, ar as tt, as as Is, at as ka, au as ll, av as Ui, aw as qi, ax as Wi, ay as He, az as Cn, aA as Ki, aB as Os, aC as Gt, aD as Qt, aE as Le, aF as ft, aG as il, aH as Ie, aI as ol, aJ as Pa, aK as Da, aL as _t, aM as Re, aN as De, aO as dt, aP as La, aQ as xa, aR as za, aS as Ji, aT as va, aU as rt, aV as Ue, aW as qe, aX as ss, aY as Qe, aZ as at, a_ as na, a$ as ns, b0 as rs, b1 as Hi, b2 as ya, b3 as wn, b4 as Sn, b5 as kn, b6 as Dn, R as zt, b7 as cl, b8 as Qi, b9 as Tn, ba as ls, bb as Mn, bc as An, bd as _a, be as Va, bf as ja, bg as En, bh as Rs, bi as In, bj as dl, bk as ul, bl as On, bm as pe, bn as fe, bo as ge, bp as xe, bq as ae, br as ml, bs as hl, bt as Zi, bu as Xi, bv as Et, bw as eo, bx as to, by as $t, bz as pl, K as ie, bA as ao, bB as Dt, J as I, bC as so, bD as fl, bE as Rn, bF as Fn, bG as Pn, bH as Ln, bI as zn, bJ as _n, bK as Vn, bL as jn, bM as no, bN as Ba, bO as qt, bP as Bn, bQ as ro, bR as Gn, bS as Fs, bT as is, bU as os, bV as gl, bW as lo, bX as Ta, bY as xl, bZ as vl, b_ as io, b$ as Cs, c0 as oo, c1 as co, c2 as uo, c3 as mo, i as ho, c4 as yl, c5 as Ka, c6 as It, c7 as cs, c8 as ds, c9 as us, ca as ms, cb as ia, cc as Ga, cd as Na, ce as Ma, cf as Aa, cg as Vt, ch as hs, A as Ot, ci as Nl, r as bl, q as Cl, l as St, cj as Be, ck as po, cl as ta, cm as Zt, cn as wl, co as fo, k as Sl, cp as Ja, cq as Wt, cr as go, n as Xt, m as Ft, o as Pt, cs as sn, ct as Ps, cu as Ls, cv as aa, x as Er, cw as Ge, cx as zs, cy as ws, cz as Ha, cA as nn, cB as kl, cC as Dl, cD as $n, cE as xo, cF as vo, cG as Tl, cH as yo, cI as _s, cJ as No, cK as Ea, cL as bo, cM as Co, cN as rn, cO as Kt, cP as Je, cQ as Jt, cR as wo, cS as So, cT as Ml, cU as ko, cV as Yn, cW as Do, cX as Un, cY as qn, cZ as To, c_ as Al, c$ as El, d0 as Mo, d1 as Ao, d2 as Qa, d3 as Eo, d4 as Wn, d5 as Io, d6 as Oo, d7 as Ir, d8 as Ro, E as ps, b as Kn, d9 as Jn, da as Fo, db as Po, dc as Hn, dd as Lo, de as zo, df as _o, dg as Il, dh as Qn, di as Ol, dj as Rl, dk as Fl, dl as Pl, dm as Ll, dn as Zn, dp as Xn, dq as zl, dr as _l, ds as Vl, dt as er, du as Vs, dv as js, dw as Vo, dx as jo, dy as Bo, dz as Go, dA as $o, dB as Yo, dC as Uo, dD as ot, dE as ct, dF as be, dG as Ce, dH as we, dI as Ht, dJ as qo, dK as Wo, dL as Ko, dM as Jo, dN as Ho, y as Qo, dO as Or, dP as jl, dQ as Zo, dR as Xo, dS as it, dT as xs, dU as Rr, dV as ec, dW as Fr, dX as Pr, dY as tc, dZ as ac, d_ as sc, d$ as nc, e0 as tr, e1 as ar, e2 as sr, e3 as $a, e4 as nr, e5 as sa, e6 as rc, e7 as Bs, e8 as Bl, e9 as lc, ea as ic, eb as Lr, ec as oc, ed as cc, ee as dc, ef as uc, eg as mc, w as zr, eh as _r, ei as hc, ej as pc, ek as ln, el as fc, em as gc, en as xc, eo as vc, ep as yc, eq as Nc, er as bc, es as Cc, et as wc, eu as Sc, ev as kc, ew as Dc, ex as Tc, ey as Mc, ez as Ac, eA as Ec, eB as Ic, eC as rr, eD as qs, eE as Oc, eF as Rc, eG as on, eH as Fc, eI as Ss, eJ as ks, eK as Ya, eL as Pc, eM as Vr, eN as cn, eO as Gl, eP as lr, eQ as $l, eR as Ws, eS as ir, eT as Lc, eU as zc, eV as _c, eW as Za, eX as Vc, eY as dn, eZ as jc, e_ as Bc, e$ as Gc, f0 as un, f1 as mn, f2 as Ds, f3 as $c, f4 as Ia, f5 as Xa, f6 as Yc, f7 as or, f8 as Uc, f9 as qc, fa as Wc, F as Yl, fb as Kc, p as Jc, fc as Hc, B as Qc, fd as Zc, fe as Xc, S as ed, ff as td, U as ad, fg as sd, C as nd } from "./index-vArioox0.js";
|
|
3
3
|
import * as la from "react";
|
|
4
|
-
import Ye, { useState as V, useEffect as Oe, useRef as jt, useMemo as ze, useCallback as
|
|
4
|
+
import Ye, { useState as V, useEffect as Oe, useRef as jt, useMemo as ze, useCallback as Me, Suspense as Ul, useContext as cr } from "react";
|
|
5
5
|
import "react-dom";
|
|
6
6
|
/**
|
|
7
7
|
* @license lucide-react v0.453.0 - ISC
|
|
@@ -1813,7 +1813,7 @@ function Zl({
|
|
|
1813
1813
|
{
|
|
1814
1814
|
onClick: () => s(l.id),
|
|
1815
1815
|
className: "ml-1 rounded-full p-0.5 hover:bg-muted-foreground/20",
|
|
1816
|
-
children: /* @__PURE__ */ e(
|
|
1816
|
+
children: /* @__PURE__ */ e(De, { className: "h-3 w-3" })
|
|
1817
1817
|
}
|
|
1818
1818
|
)
|
|
1819
1819
|
] }, l.id);
|
|
@@ -1851,7 +1851,7 @@ function Xl({
|
|
|
1851
1851
|
{
|
|
1852
1852
|
onClick: () => s(r.id),
|
|
1853
1853
|
className: "ml-1 rounded-full p-0.5 hover:bg-destructive-foreground/20",
|
|
1854
|
-
children: /* @__PURE__ */ e(
|
|
1854
|
+
children: /* @__PURE__ */ e(De, { className: "h-3 w-3" })
|
|
1855
1855
|
}
|
|
1856
1856
|
)
|
|
1857
1857
|
] }, r.id)) }),
|
|
@@ -1903,7 +1903,7 @@ function ei({
|
|
|
1903
1903
|
size: "sm",
|
|
1904
1904
|
className: "h-6 w-6 p-0 text-muted-foreground hover:text-destructive",
|
|
1905
1905
|
onClick: () => s(o.id),
|
|
1906
|
-
children: /* @__PURE__ */ e(
|
|
1906
|
+
children: /* @__PURE__ */ e(De, { className: "h-3 w-3" })
|
|
1907
1907
|
}
|
|
1908
1908
|
)
|
|
1909
1909
|
]
|
|
@@ -2007,7 +2007,7 @@ function mu({
|
|
|
2007
2007
|
variant: "outline",
|
|
2008
2008
|
className: "border-red-200 bg-red-50 text-xs text-red-700",
|
|
2009
2009
|
children: [
|
|
2010
|
-
/* @__PURE__ */ e(
|
|
2010
|
+
/* @__PURE__ */ e(De, { className: "mr-1 h-3 w-3" }),
|
|
2011
2011
|
"Remove Access"
|
|
2012
2012
|
]
|
|
2013
2013
|
}
|
|
@@ -3127,7 +3127,7 @@ function ri({
|
|
|
3127
3127
|
variant: "ghost",
|
|
3128
3128
|
size: "sm",
|
|
3129
3129
|
onClick: () => d == null ? void 0 : d(p.id),
|
|
3130
|
-
children: /* @__PURE__ */ e(
|
|
3130
|
+
children: /* @__PURE__ */ e(De, { className: "h-4 w-4" })
|
|
3131
3131
|
}
|
|
3132
3132
|
),
|
|
3133
3133
|
C && /* @__PURE__ */ e(
|
|
@@ -3207,7 +3207,7 @@ function li({
|
|
|
3207
3207
|
size: "icon",
|
|
3208
3208
|
className: "h-6 w-6",
|
|
3209
3209
|
onClick: () => s(c.id),
|
|
3210
|
-
children: /* @__PURE__ */ e(
|
|
3210
|
+
children: /* @__PURE__ */ e(De, { className: "h-3 w-3" })
|
|
3211
3211
|
}
|
|
3212
3212
|
)
|
|
3213
3213
|
] })
|
|
@@ -3305,7 +3305,7 @@ function $r({
|
|
|
3305
3305
|
const Y = k.filter(
|
|
3306
3306
|
(J) => m.some((se) => se.id === J.id)
|
|
3307
3307
|
), de = (J) => {
|
|
3308
|
-
const se = x.some((he) => he.id === J), oe = v.includes(J), H =
|
|
3308
|
+
const se = x.some((he) => he.id === J), oe = v.includes(J), H = Te == null ? void 0 : Te.some(
|
|
3309
3309
|
(he) => he.groupId === J
|
|
3310
3310
|
);
|
|
3311
3311
|
se ? E.removeSelectedGroup(J) : oe ? E.removeGroupFromRemove(J) : H || E.addSelectedGroup({ id: J, role: "VIEWER" });
|
|
@@ -3317,7 +3317,7 @@ function $r({
|
|
|
3317
3317
|
E.addGroupToUpdate({ id: J, currentRole: se, newRole: oe });
|
|
3318
3318
|
}, Se = N.filter(
|
|
3319
3319
|
(J) => x.some((se) => se.id === J.id)
|
|
3320
|
-
), Ee = Ye.useMemo(() => b !== "groups" ? [] : N.filter((J) => J.type !== "TENANT_GROUP" ? !1 : J.name.toLowerCase().includes(o.toLowerCase()) || J.description && J.description.toLowerCase().includes(o.toLowerCase())), [N, b, o]),
|
|
3320
|
+
), Ee = Ye.useMemo(() => b !== "groups" ? [] : N.filter((J) => J.type !== "TENANT_GROUP" ? !1 : J.name.toLowerCase().includes(o.toLowerCase()) || J.description && J.description.toLowerCase().includes(o.toLowerCase())), [N, b, o]), Te = Ye.useMemo(() => {
|
|
3321
3321
|
var se, oe;
|
|
3322
3322
|
const J = ((se = D == null ? void 0 : D.shares) == null ? void 0 : se.specificGroups) || ((oe = D == null ? void 0 : D.shares) == null ? void 0 : oe.groups) || [];
|
|
3323
3323
|
return !J || J.length === 0 ? [] : J.filter(
|
|
@@ -3501,7 +3501,7 @@ function $r({
|
|
|
3501
3501
|
ri,
|
|
3502
3502
|
{
|
|
3503
3503
|
groups: Ee,
|
|
3504
|
-
existingGroupShares:
|
|
3504
|
+
existingGroupShares: Te,
|
|
3505
3505
|
isLoading: T,
|
|
3506
3506
|
resource: t,
|
|
3507
3507
|
getRoleOptions: vt,
|
|
@@ -4534,11 +4534,11 @@ function Du(t, n, s) {
|
|
|
4534
4534
|
resourceId: t || "",
|
|
4535
4535
|
resourceType: zt.DASHBOARD,
|
|
4536
4536
|
userType: "tenant"
|
|
4537
|
-
}), u =
|
|
4537
|
+
}), u = Me(() => {
|
|
4538
4538
|
r.resetUserSelections();
|
|
4539
|
-
}, [r]), m =
|
|
4539
|
+
}, [r]), m = Me(() => {
|
|
4540
4540
|
r.resetGroupSelections();
|
|
4541
|
-
}, [r]), h =
|
|
4541
|
+
}, [r]), h = Me(
|
|
4542
4542
|
(x) => {
|
|
4543
4543
|
if (!t) return;
|
|
4544
4544
|
const v = {
|
|
@@ -4561,7 +4561,7 @@ function Du(t, n, s) {
|
|
|
4561
4561
|
m,
|
|
4562
4562
|
o
|
|
4563
4563
|
]
|
|
4564
|
-
), f =
|
|
4564
|
+
), f = Me(() => {
|
|
4565
4565
|
if (!t) return;
|
|
4566
4566
|
const x = {
|
|
4567
4567
|
resourceType: zt.DASHBOARD,
|
|
@@ -4934,7 +4934,7 @@ function Eu() {
|
|
|
4934
4934
|
), o = I((x) => x.selectedTableName), d = I(
|
|
4935
4935
|
(x) => x.selectedConnectionId
|
|
4936
4936
|
), u = I((x) => x.isShowingVisual), m = s.sql;
|
|
4937
|
-
return { getUpdatedFrame:
|
|
4937
|
+
return { getUpdatedFrame: Me(() => {
|
|
4938
4938
|
var g;
|
|
4939
4939
|
let x = m;
|
|
4940
4940
|
m && !m.includes("{{") && (x = Tu(m), t(x));
|
|
@@ -4988,7 +4988,7 @@ function hr() {
|
|
|
4988
4988
|
setIsDashboardPanelOpen: m
|
|
4989
4989
|
} = Mt(), h = re((p) => p.selectedSheetId), f = ao((s == null ? void 0 : s.id) || "", {
|
|
4990
4990
|
enabled: !!(s != null && s.id) && !!(t != null && t.accessToken)
|
|
4991
|
-
}), x =
|
|
4991
|
+
}), x = Me(
|
|
4992
4992
|
async (p) => {
|
|
4993
4993
|
try {
|
|
4994
4994
|
r(p);
|
|
@@ -5017,7 +5017,7 @@ function hr() {
|
|
|
5017
5017
|
c,
|
|
5018
5018
|
o
|
|
5019
5019
|
]
|
|
5020
|
-
), v =
|
|
5020
|
+
), v = Me(
|
|
5021
5021
|
async (p) => {
|
|
5022
5022
|
try {
|
|
5023
5023
|
if (r(p), !h)
|
|
@@ -5807,7 +5807,7 @@ function Pu({
|
|
|
5807
5807
|
className: "h-8 w-8 p-0 text-muted-foreground hover:text-foreground",
|
|
5808
5808
|
onClick: n,
|
|
5809
5809
|
tooltip: "Close panel",
|
|
5810
|
-
children: /* @__PURE__ */ e(
|
|
5810
|
+
children: /* @__PURE__ */ e(De, { className: "h-4 w-4" })
|
|
5811
5811
|
}
|
|
5812
5812
|
)
|
|
5813
5813
|
] }),
|
|
@@ -6549,7 +6549,7 @@ function Hu() {
|
|
|
6549
6549
|
}
|
|
6550
6550
|
);
|
|
6551
6551
|
}
|
|
6552
|
-
async function
|
|
6552
|
+
async function Te() {
|
|
6553
6553
|
if (v(!0), !o || !d) return;
|
|
6554
6554
|
const H = pn(
|
|
6555
6555
|
u
|
|
@@ -6632,7 +6632,7 @@ function Hu() {
|
|
|
6632
6632
|
className: "h-7 p-2",
|
|
6633
6633
|
variant: "secondary",
|
|
6634
6634
|
disabled: x,
|
|
6635
|
-
onClick:
|
|
6635
|
+
onClick: Te,
|
|
6636
6636
|
size: "sm",
|
|
6637
6637
|
children: [
|
|
6638
6638
|
/* @__PURE__ */ e(hn, { className: "mr-2 h-4 w-4" }),
|
|
@@ -7764,7 +7764,7 @@ function ci({
|
|
|
7764
7764
|
function Ee() {
|
|
7765
7765
|
window.location.href = "mailto:support@semaphor.cloud?subject=Help&body=I need help with...";
|
|
7766
7766
|
}
|
|
7767
|
-
function
|
|
7767
|
+
function Te(oe) {
|
|
7768
7768
|
oe === !0 ? q && (v(q.userSql), setTimeout(() => {
|
|
7769
7769
|
K();
|
|
7770
7770
|
}, 100)) : v(""), x(oe);
|
|
@@ -7912,7 +7912,7 @@ function ci({
|
|
|
7912
7912
|
{
|
|
7913
7913
|
className: "data-[state=checked]:bg-muted-foreground/80",
|
|
7914
7914
|
checked: h,
|
|
7915
|
-
onCheckedChange:
|
|
7915
|
+
onCheckedChange: Te,
|
|
7916
7916
|
id: "dev-mode"
|
|
7917
7917
|
}
|
|
7918
7918
|
),
|
|
@@ -8081,7 +8081,7 @@ function rm(t) {
|
|
|
8081
8081
|
return xo({ 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: [] }] })(t);
|
|
8082
8082
|
}
|
|
8083
8083
|
function hi(t) {
|
|
8084
|
-
const { theme: n } = tl(), s = re((p) => p.theme), r = I((p) => p.frame), i = I((p) => p.card), l = I((p) => p.activeTabCardId), c = vo(), { refetch: o } = Ge(i), { updateCardTab: d, setRunSql: u } = ie(), m = jt(), h = jt({}), f = r.cards.find((p) => p.id === l), x =
|
|
8084
|
+
const { theme: n } = tl(), s = re((p) => p.theme), r = I((p) => p.frame), i = I((p) => p.card), l = I((p) => p.activeTabCardId), c = vo(), { refetch: o } = Ge(i), { updateCardTab: d, setRunSql: u } = ie(), m = jt(), h = jt({}), f = r.cards.find((p) => p.id === l), x = Me(() => {
|
|
8085
8085
|
let p = "";
|
|
8086
8086
|
return t === "python" && (p = (f == null ? void 0 : f.python) || Tl), t === "sql" && (p = (f == null ? void 0 : f.sql) || ""), p;
|
|
8087
8087
|
}, [t, f]);
|
|
@@ -8322,7 +8322,7 @@ function gr() {
|
|
|
8322
8322
|
size: "sm",
|
|
8323
8323
|
variant: "outline",
|
|
8324
8324
|
children: [
|
|
8325
|
-
/* @__PURE__ */ e(
|
|
8325
|
+
/* @__PURE__ */ e(De, { className: "mr-2 size-4" }),
|
|
8326
8326
|
"Close"
|
|
8327
8327
|
]
|
|
8328
8328
|
}
|
|
@@ -8475,7 +8475,7 @@ ${d}` : ""}
|
|
|
8475
8475
|
variant: "ghost",
|
|
8476
8476
|
onClick: () => i(!r),
|
|
8477
8477
|
className: "absolute bottom-0 right-6 size-7 p-1",
|
|
8478
|
-
children: r ? /* @__PURE__ */ e(
|
|
8478
|
+
children: r ? /* @__PURE__ */ e(De, { className: "size-3.5 text-muted-foreground" }) : /* @__PURE__ */ e(Ka, { className: "size-3.5 text-muted-foreground" })
|
|
8479
8479
|
}
|
|
8480
8480
|
)
|
|
8481
8481
|
] });
|
|
@@ -8692,7 +8692,7 @@ function hm({ card: t }) {
|
|
|
8692
8692
|
colors: ((M = (C = o == null ? void 0 : o.chart) == null ? void 0 : C.dataset) == null ? void 0 : M.backgroundColor) || []
|
|
8693
8693
|
};
|
|
8694
8694
|
(E = t.customCardPreferences) != null && E.inputData;
|
|
8695
|
-
const { getCard: u } = Yn(((S = t.customCardPreferences) == null ? void 0 : S.url) || ""), m = ((w = t.customCardPreferences) == null ? void 0 : w.visualType) || "single", h = I((k) => k.frame), { setCustomCardPreferences: f } = ie(), { data: x } = Ge(t), v =
|
|
8695
|
+
const { getCard: u } = Yn(((S = t.customCardPreferences) == null ? void 0 : S.url) || ""), m = ((w = t.customCardPreferences) == null ? void 0 : w.visualType) || "single", h = I((k) => k.frame), { setCustomCardPreferences: f } = ie(), { data: x } = Ge(t), v = Me((k, D) => {
|
|
8696
8696
|
i((R) => ({
|
|
8697
8697
|
...R,
|
|
8698
8698
|
[k]: D
|
|
@@ -9217,7 +9217,7 @@ function vm({
|
|
|
9217
9217
|
setCardPreferences: s,
|
|
9218
9218
|
setCardType: r,
|
|
9219
9219
|
setCustomCardPreferences: i
|
|
9220
|
-
} = ie(), { data: l, isLoading: c, isError: o } = gi(), d =
|
|
9220
|
+
} = ie(), { data: l, isLoading: c, isError: o } = gi(), d = Me(
|
|
9221
9221
|
(u, m) => {
|
|
9222
9222
|
n(null), s({}), r(u), m && i({
|
|
9223
9223
|
type: "component",
|
|
@@ -9785,7 +9785,7 @@ function wm() {
|
|
|
9785
9785
|
v.id
|
|
9786
9786
|
),
|
|
9787
9787
|
t.activeCardId === v.id && t.cards.length > 1 && /* @__PURE__ */ e(
|
|
9788
|
-
|
|
9788
|
+
De,
|
|
9789
9789
|
{
|
|
9790
9790
|
className: "ml-2 size-3.5 text-muted-foreground hover:text-foreground",
|
|
9791
9791
|
onClick: () => u(v.id)
|
|
@@ -10434,7 +10434,7 @@ function Tm({ idx: t }) {
|
|
|
10434
10434
|
{
|
|
10435
10435
|
onClick: () => c("none", t),
|
|
10436
10436
|
className: "h-7 p-1 text-xs font-normal",
|
|
10437
|
-
children: /* @__PURE__ */ e(
|
|
10437
|
+
children: /* @__PURE__ */ e(De, { className: "size-3.5" })
|
|
10438
10438
|
}
|
|
10439
10439
|
),
|
|
10440
10440
|
/* @__PURE__ */ e(
|
|
@@ -11147,7 +11147,7 @@ function Lm({
|
|
|
11147
11147
|
onClick: () => i(o),
|
|
11148
11148
|
variant: "secondary",
|
|
11149
11149
|
className: "h-5 p-1 text-muted-foreground",
|
|
11150
|
-
children: /* @__PURE__ */ e(
|
|
11150
|
+
children: /* @__PURE__ */ e(De, { className: "size-3" })
|
|
11151
11151
|
}
|
|
11152
11152
|
)
|
|
11153
11153
|
] }, o))
|
|
@@ -12383,7 +12383,7 @@ function Lt({
|
|
|
12383
12383
|
className: "h-6 w-6 p-0",
|
|
12384
12384
|
"aria-label": "Cancel edit",
|
|
12385
12385
|
onClick: m,
|
|
12386
|
-
children: /* @__PURE__ */ e(
|
|
12386
|
+
children: /* @__PURE__ */ e(De, { className: "h-4 w-4 text-muted-foreground" })
|
|
12387
12387
|
}
|
|
12388
12388
|
)
|
|
12389
12389
|
] })
|
|
@@ -13710,7 +13710,7 @@ function ch({
|
|
|
13710
13710
|
hidden: i
|
|
13711
13711
|
}
|
|
13712
13712
|
),
|
|
13713
|
-
children: /* @__PURE__ */ e("button", { onClick: () => s(t.id), children: /* @__PURE__ */ e(
|
|
13713
|
+
children: /* @__PURE__ */ e("button", { onClick: () => s(t.id), children: /* @__PURE__ */ e(De, { className: "size-3 cursor-pointer text-muted-foreground" }) })
|
|
13714
13714
|
}
|
|
13715
13715
|
)
|
|
13716
13716
|
] }) });
|
|
@@ -13882,7 +13882,7 @@ function uh() {
|
|
|
13882
13882
|
{
|
|
13883
13883
|
onClick: () => y(g.columnId),
|
|
13884
13884
|
className: "rounded-sm p-0",
|
|
13885
|
-
children: /* @__PURE__ */ e(
|
|
13885
|
+
children: /* @__PURE__ */ e(De, { className: "size-3 text-muted-foreground opacity-0 transition-opacity duration-200 hover:text-foreground group-hover:opacity-100" })
|
|
13886
13886
|
}
|
|
13887
13887
|
) })
|
|
13888
13888
|
] })
|
|
@@ -14016,7 +14016,7 @@ function yr({
|
|
|
14016
14016
|
{
|
|
14017
14017
|
"data-setting-actions": "",
|
|
14018
14018
|
className: "invisible flex h-full items-center gap-2 group-hover:visible",
|
|
14019
|
-
children: /* @__PURE__ */ e("button", { onClick: () => m(n), children: /* @__PURE__ */ e(
|
|
14019
|
+
children: /* @__PURE__ */ e("button", { onClick: () => m(n), children: /* @__PURE__ */ e(De, { className: "size-3.5 cursor-pointer items-center justify-center rounded-r-sm text-muted-foreground" }) })
|
|
14020
14020
|
}
|
|
14021
14021
|
)
|
|
14022
14022
|
] }),
|
|
@@ -14599,9 +14599,9 @@ function Ch(t) {
|
|
|
14599
14599
|
}), P(!1));
|
|
14600
14600
|
}, [y, p, X, P]);
|
|
14601
14601
|
async function Z({ toolCall: q }) {
|
|
14602
|
-
var K, Se, Ee,
|
|
14602
|
+
var K, Se, Ee, Te, Ze, Xe, $e, et, J, se, oe, H, he, Fe, _e, ra;
|
|
14603
14603
|
if (["createChartFromSql", "createForecast"].includes(q.toolName)) {
|
|
14604
|
-
const Ca = ((K = q.input) == null ? void 0 : K.sql) ?? ((Se = q.args) == null ? void 0 : Se.sql), Yt = ((Ee = q.input) == null ? void 0 : Ee.python) ?? ((
|
|
14604
|
+
const Ca = ((K = q.input) == null ? void 0 : K.sql) ?? ((Se = q.args) == null ? void 0 : Se.sql), Yt = ((Ee = q.input) == null ? void 0 : Ee.python) ?? ((Te = q.args) == null ? void 0 : Te.python), Ke = ((Ze = q.input) == null ? void 0 : Ze.chartType) ?? ((Xe = q.args) == null ? void 0 : Xe.chartType);
|
|
14605
14605
|
f(Ke), m(Ca), u(Yt), h(!0), ne({
|
|
14606
14606
|
tool: q.toolName,
|
|
14607
14607
|
toolCallId: q.toolCallId,
|
|
@@ -14838,13 +14838,13 @@ function Jr() {
|
|
|
14838
14838
|
var se;
|
|
14839
14839
|
(se = v == null ? void 0 : v.selectedEntities) == null || se[0], d(!0);
|
|
14840
14840
|
}
|
|
14841
|
-
function
|
|
14841
|
+
function Te() {
|
|
14842
14842
|
u.selectedEntities.length === 0 && m({
|
|
14843
14843
|
selectedEntities: (v == null ? void 0 : v.selectedEntities) || []
|
|
14844
14844
|
});
|
|
14845
14845
|
}
|
|
14846
14846
|
function Ze(se) {
|
|
14847
|
-
|
|
14847
|
+
Te();
|
|
14848
14848
|
const oe = {
|
|
14849
14849
|
role: "user",
|
|
14850
14850
|
parts: [
|
|
@@ -14854,7 +14854,7 @@ function Jr() {
|
|
|
14854
14854
|
P(oe);
|
|
14855
14855
|
}
|
|
14856
14856
|
function Xe(se) {
|
|
14857
|
-
|
|
14857
|
+
Te(), P({
|
|
14858
14858
|
role: "user",
|
|
14859
14859
|
parts: [{ type: "text", text: se }]
|
|
14860
14860
|
});
|
|
@@ -15045,7 +15045,7 @@ function Jr() {
|
|
|
15045
15045
|
input: F,
|
|
15046
15046
|
handleInputChange: j,
|
|
15047
15047
|
handleSubmit: (se) => {
|
|
15048
|
-
|
|
15048
|
+
Te(), X(se), de({ force: !0 });
|
|
15049
15049
|
},
|
|
15050
15050
|
isLoading: A,
|
|
15051
15051
|
status: k,
|
|
@@ -15092,7 +15092,7 @@ const Nr = (t) => {
|
|
|
15092
15092
|
removeMetricColumn: o,
|
|
15093
15093
|
removePivotByColumn: d,
|
|
15094
15094
|
removeSortByColumn: u
|
|
15095
|
-
} = ie(), m = I((z) => z.card.type), h = t == null ? void 0 : t.id, f =
|
|
15095
|
+
} = ie(), m = I((z) => z.card.type), h = t == null ? void 0 : t.id, f = Me(
|
|
15096
15096
|
(z) => {
|
|
15097
15097
|
if (!(t != null && t.config)) return [];
|
|
15098
15098
|
switch (z) {
|
|
@@ -15148,7 +15148,7 @@ const Nr = (t) => {
|
|
|
15148
15148
|
}
|
|
15149
15149
|
},
|
|
15150
15150
|
[t]
|
|
15151
|
-
), x =
|
|
15151
|
+
), x = Me(
|
|
15152
15152
|
(z, k) => {
|
|
15153
15153
|
if (h)
|
|
15154
15154
|
switch (z) {
|
|
@@ -15185,7 +15185,7 @@ const Nr = (t) => {
|
|
|
15185
15185
|
// createStackByColumn,
|
|
15186
15186
|
// createSortByColumn,
|
|
15187
15187
|
]
|
|
15188
|
-
), v =
|
|
15188
|
+
), v = Me(
|
|
15189
15189
|
(z, k, D) => {
|
|
15190
15190
|
if (!h) return;
|
|
15191
15191
|
const L = f(z)[k];
|
|
@@ -15213,7 +15213,7 @@ const Nr = (t) => {
|
|
|
15213
15213
|
i,
|
|
15214
15214
|
l
|
|
15215
15215
|
]
|
|
15216
|
-
), p =
|
|
15216
|
+
), p = Me(
|
|
15217
15217
|
(z, k) => {
|
|
15218
15218
|
if (!h) return;
|
|
15219
15219
|
const R = f("metrics")[z];
|
|
@@ -15226,7 +15226,7 @@ const Nr = (t) => {
|
|
|
15226
15226
|
});
|
|
15227
15227
|
},
|
|
15228
15228
|
[h, f, r]
|
|
15229
|
-
), y =
|
|
15229
|
+
), y = Me(
|
|
15230
15230
|
(z, k, D) => {
|
|
15231
15231
|
if (!h) return;
|
|
15232
15232
|
const L = f("groupBy")[z];
|
|
@@ -15237,7 +15237,7 @@ const Nr = (t) => {
|
|
|
15237
15237
|
k === "custom" && D ? F.customFormat = D : F.customFormat = void 0, s(h, L.id, F);
|
|
15238
15238
|
},
|
|
15239
15239
|
[h, f, s]
|
|
15240
|
-
), g =
|
|
15240
|
+
), g = Me(
|
|
15241
15241
|
(z, k) => {
|
|
15242
15242
|
if (!h) return;
|
|
15243
15243
|
const R = f("groupBy")[z];
|
|
@@ -15246,7 +15246,7 @@ const Nr = (t) => {
|
|
|
15246
15246
|
});
|
|
15247
15247
|
},
|
|
15248
15248
|
[h, f, s]
|
|
15249
|
-
), C =
|
|
15249
|
+
), C = Me(
|
|
15250
15250
|
(z, k) => {
|
|
15251
15251
|
if (!h) return;
|
|
15252
15252
|
const R = f("metrics")[z];
|
|
@@ -15255,7 +15255,7 @@ const Nr = (t) => {
|
|
|
15255
15255
|
});
|
|
15256
15256
|
},
|
|
15257
15257
|
[h, f, r]
|
|
15258
|
-
), M =
|
|
15258
|
+
), M = Me(
|
|
15259
15259
|
(z, k) => {
|
|
15260
15260
|
if (console.log("handleValueAliasesChange", z, k), !h) return;
|
|
15261
15261
|
console.log("handleValueAliasesChange", z, k);
|
|
@@ -15265,32 +15265,32 @@ const Nr = (t) => {
|
|
|
15265
15265
|
}));
|
|
15266
15266
|
},
|
|
15267
15267
|
[h, f, r]
|
|
15268
|
-
), E =
|
|
15268
|
+
), E = Me(
|
|
15269
15269
|
(z) => {
|
|
15270
15270
|
h && n(h, { comparisonType: z });
|
|
15271
15271
|
},
|
|
15272
15272
|
[h, n]
|
|
15273
|
-
), S =
|
|
15273
|
+
), S = Me(
|
|
15274
15274
|
(z) => {
|
|
15275
15275
|
h && n(h, { showTrendline: z });
|
|
15276
15276
|
},
|
|
15277
15277
|
[h, n]
|
|
15278
|
-
), w =
|
|
15278
|
+
), w = Me(
|
|
15279
15279
|
(z) => {
|
|
15280
15280
|
h && n(h, { trendlineWindow: z });
|
|
15281
15281
|
},
|
|
15282
15282
|
[h, n]
|
|
15283
|
-
), N =
|
|
15283
|
+
), N = Me(
|
|
15284
15284
|
(z) => {
|
|
15285
15285
|
h && n(h, { trendlineGranularity: z });
|
|
15286
15286
|
},
|
|
15287
15287
|
[h, n]
|
|
15288
|
-
), T =
|
|
15288
|
+
), T = Me(
|
|
15289
15289
|
(z) => {
|
|
15290
15290
|
h && n(h, { targetValue: z });
|
|
15291
15291
|
},
|
|
15292
15292
|
[h, n]
|
|
15293
|
-
), b =
|
|
15293
|
+
), b = Me(
|
|
15294
15294
|
(z) => {
|
|
15295
15295
|
var j;
|
|
15296
15296
|
if (!h) return;
|
|
@@ -15322,7 +15322,7 @@ const Nr = (t) => {
|
|
|
15322
15322
|
f,
|
|
15323
15323
|
x
|
|
15324
15324
|
]
|
|
15325
|
-
), P =
|
|
15325
|
+
), P = Me(
|
|
15326
15326
|
(z, k) => {
|
|
15327
15327
|
if (!h) return;
|
|
15328
15328
|
const R = f(z)[k];
|
|
@@ -15536,16 +15536,25 @@ function Dh() {
|
|
|
15536
15536
|
] }) }) : /* @__PURE__ */ a("div", { className: "mt-2 flex h-[calc(100vh-200px)] w-full grow flex-col gap-2 px-6 pb-6", children: [
|
|
15537
15537
|
/* @__PURE__ */ a("div", { className: "mt-1 flex-shrink-0 space-y-2", children: [
|
|
15538
15538
|
l.length > 0 && /* @__PURE__ */ a("div", { className: "relative mb-4", children: [
|
|
15539
|
-
/* @__PURE__ */ e(_t, { className: "absolute left-3 top-1/2
|
|
15539
|
+
/* @__PURE__ */ e(_t, { className: "absolute left-3 top-1/2 size-3.5 -translate-y-1/2 transform text-muted-foreground" }),
|
|
15540
15540
|
/* @__PURE__ */ e(
|
|
15541
15541
|
Re,
|
|
15542
15542
|
{
|
|
15543
|
-
className: "pl-10",
|
|
15543
|
+
className: "pl-10 pr-10",
|
|
15544
15544
|
type: "text",
|
|
15545
15545
|
placeholder: "Search fields...",
|
|
15546
15546
|
value: t,
|
|
15547
15547
|
onChange: (M) => n(M.target.value)
|
|
15548
15548
|
}
|
|
15549
|
+
),
|
|
15550
|
+
t && /* @__PURE__ */ e(
|
|
15551
|
+
"button",
|
|
15552
|
+
{
|
|
15553
|
+
className: "absolute right-3 top-1/2 -translate-y-1/2 transform text-muted-foreground hover:text-foreground",
|
|
15554
|
+
onClick: () => n(""),
|
|
15555
|
+
type: "button",
|
|
15556
|
+
children: /* @__PURE__ */ e(De, { className: "size-3.5" })
|
|
15557
|
+
}
|
|
15549
15558
|
)
|
|
15550
15559
|
] }),
|
|
15551
15560
|
C && /* @__PURE__ */ e(
|
|
@@ -16065,7 +16074,7 @@ function Ah({
|
|
|
16065
16074
|
variant: "ghost",
|
|
16066
16075
|
size: "sm",
|
|
16067
16076
|
onClick: () => h(A.id),
|
|
16068
|
-
children: /* @__PURE__ */ e(
|
|
16077
|
+
children: /* @__PURE__ */ e(De, { className: "h-4 w-4" })
|
|
16069
16078
|
}
|
|
16070
16079
|
)
|
|
16071
16080
|
] })
|
|
@@ -16452,7 +16461,7 @@ function Ah({
|
|
|
16452
16461
|
L,
|
|
16453
16462
|
O
|
|
16454
16463
|
),
|
|
16455
|
-
children: /* @__PURE__ */ e(
|
|
16464
|
+
children: /* @__PURE__ */ e(De, { className: "size-3.5" })
|
|
16456
16465
|
}
|
|
16457
16466
|
)
|
|
16458
16467
|
]
|
|
@@ -17086,7 +17095,7 @@ function Ph({
|
|
|
17086
17095
|
});
|
|
17087
17096
|
},
|
|
17088
17097
|
className: "absolute right-1 top-1/2 -translate-y-1/2 rounded-full p-0.5 hover:bg-red-100",
|
|
17089
|
-
children: /* @__PURE__ */ e(
|
|
17098
|
+
children: /* @__PURE__ */ e(De, { className: "h-2.5 w-2.5 group-hover:text-red-500" })
|
|
17090
17099
|
}
|
|
17091
17100
|
)
|
|
17092
17101
|
]
|
|
@@ -17489,7 +17498,7 @@ function Gh({
|
|
|
17489
17498
|
onClick: () => {
|
|
17490
17499
|
r(t), l(!1);
|
|
17491
17500
|
},
|
|
17492
|
-
children: /* @__PURE__ */ e(
|
|
17501
|
+
children: /* @__PURE__ */ e(De, { className: "h-4 w-4 text-gray-400" })
|
|
17493
17502
|
}
|
|
17494
17503
|
)
|
|
17495
17504
|
] })
|
|
@@ -17560,7 +17569,7 @@ function $h({
|
|
|
17560
17569
|
className: "h-6 w-6 p-0",
|
|
17561
17570
|
"aria-label": "Cancel value alias edit",
|
|
17562
17571
|
onClick: () => r(null),
|
|
17563
|
-
children: /* @__PURE__ */ e(
|
|
17572
|
+
children: /* @__PURE__ */ e(De, { className: "h-4 w-4 text-muted-foreground" })
|
|
17564
17573
|
}
|
|
17565
17574
|
)
|
|
17566
17575
|
] }) : /* @__PURE__ */ a(Q, { children: [
|
|
@@ -17598,7 +17607,7 @@ function $h({
|
|
|
17598
17607
|
className: "h-8 w-8 p-0",
|
|
17599
17608
|
onClick: () => u(h),
|
|
17600
17609
|
"aria-label": "Remove value alias",
|
|
17601
|
-
children: /* @__PURE__ */ e(
|
|
17610
|
+
children: /* @__PURE__ */ e(De, { className: "h-3 w-3" })
|
|
17602
17611
|
}
|
|
17603
17612
|
)
|
|
17604
17613
|
] }) }, h + x)),
|
|
@@ -18003,7 +18012,7 @@ function Wh({
|
|
|
18003
18012
|
ce(te), n === "metrics" && M(s, te);
|
|
18004
18013
|
}, Ee = (te) => {
|
|
18005
18014
|
v(n, s, te);
|
|
18006
|
-
},
|
|
18015
|
+
}, Te = (te) => {
|
|
18007
18016
|
var Ve;
|
|
18008
18017
|
if (Y(te), n === "metrics") {
|
|
18009
18018
|
const je = {
|
|
@@ -18319,7 +18328,7 @@ function Wh({
|
|
|
18319
18328
|
...$,
|
|
18320
18329
|
conditions: je
|
|
18321
18330
|
};
|
|
18322
|
-
|
|
18331
|
+
Te(Ut);
|
|
18323
18332
|
} else if (Y(void 0), n === "metrics") {
|
|
18324
18333
|
const Ut = {
|
|
18325
18334
|
...t,
|
|
@@ -18335,7 +18344,7 @@ function Wh({
|
|
|
18335
18344
|
});
|
|
18336
18345
|
}
|
|
18337
18346
|
},
|
|
18338
|
-
children: /* @__PURE__ */ e(
|
|
18347
|
+
children: /* @__PURE__ */ e(De, { className: "h-3 w-3" })
|
|
18339
18348
|
}
|
|
18340
18349
|
)
|
|
18341
18350
|
]
|
|
@@ -18456,7 +18465,7 @@ function Wh({
|
|
|
18456
18465
|
onClick: (te) => {
|
|
18457
18466
|
te.stopPropagation(), Ze();
|
|
18458
18467
|
},
|
|
18459
|
-
children: /* @__PURE__ */ e(
|
|
18468
|
+
children: /* @__PURE__ */ e(De, { className: "h-3 w-3" })
|
|
18460
18469
|
}
|
|
18461
18470
|
)
|
|
18462
18471
|
] }),
|
|
@@ -18485,7 +18494,7 @@ function Wh({
|
|
|
18485
18494
|
onSave: (te) => {
|
|
18486
18495
|
var Ve;
|
|
18487
18496
|
if (te)
|
|
18488
|
-
|
|
18497
|
+
Te(te);
|
|
18489
18498
|
else if (Y(void 0), n === "metrics") {
|
|
18490
18499
|
const je = {
|
|
18491
18500
|
...t,
|
|
@@ -19754,7 +19763,7 @@ function rp({
|
|
|
19754
19763
|
onClick: (f) => {
|
|
19755
19764
|
f.stopPropagation(), d(m);
|
|
19756
19765
|
},
|
|
19757
|
-
children: /* @__PURE__ */ e(
|
|
19766
|
+
children: /* @__PURE__ */ e(De, { className: "h-3 w-3 text-muted-foreground hover:text-foreground" })
|
|
19758
19767
|
}
|
|
19759
19768
|
)
|
|
19760
19769
|
] }, m);
|
|
@@ -20133,7 +20142,7 @@ function Ri({
|
|
|
20133
20142
|
size: "sm",
|
|
20134
20143
|
className: "h-7 w-7 flex-shrink-0 p-0",
|
|
20135
20144
|
onClick: () => l(s, t.id),
|
|
20136
|
-
children: /* @__PURE__ */ e(
|
|
20145
|
+
children: /* @__PURE__ */ e(De, { className: "h-3 w-3" })
|
|
20137
20146
|
}
|
|
20138
20147
|
)
|
|
20139
20148
|
]
|
|
@@ -20596,12 +20605,12 @@ function vp({
|
|
|
20596
20605
|
...s("pivotBy"),
|
|
20597
20606
|
...s("metrics"),
|
|
20598
20607
|
...s("sortBy")
|
|
20599
|
-
], u =
|
|
20608
|
+
], u = Me(
|
|
20600
20609
|
(v) => v.startsWith("card-") ? null : v.startsWith("source-") || n.find((p) => p.id === v) ? "source" : s("groupBy").find((p) => p.id === v) ? "groupBy" : s("metrics").find((p) => p.id === v) ? "metrics" : s("pivotBy").find((p) => p.id === v) ? "pivotBy" : s("sortBy").find((p) => p.id === v) ? "sortBy" : null,
|
|
20601
20610
|
[n, s]
|
|
20602
|
-
), m =
|
|
20611
|
+
), m = Me((v) => {
|
|
20603
20612
|
l(v.active.id);
|
|
20604
|
-
}, []), h =
|
|
20613
|
+
}, []), h = Me(
|
|
20605
20614
|
(v) => {
|
|
20606
20615
|
const { active: p, over: y } = v;
|
|
20607
20616
|
if (!y || !t) {
|
|
@@ -20985,7 +20994,7 @@ function Sp({
|
|
|
20985
20994
|
tooltip: "Hide",
|
|
20986
20995
|
onClick: n,
|
|
20987
20996
|
className: "h-7 p-2 text-muted-foreground hover:text-foreground",
|
|
20988
|
-
children: /* @__PURE__ */ e(
|
|
20997
|
+
children: /* @__PURE__ */ e(De, { className: "size-3.5" })
|
|
20989
20998
|
}
|
|
20990
20999
|
)
|
|
20991
21000
|
] }),
|
|
@@ -21247,16 +21256,16 @@ function Mp({
|
|
|
21247
21256
|
($e) => $e.label === q
|
|
21248
21257
|
), Ee = (Xe = de.groupByColumns) == null ? void 0 : Xe.find(
|
|
21249
21258
|
($e) => $e.label === q
|
|
21250
|
-
),
|
|
21251
|
-
return
|
|
21252
|
-
id: Wc("sortBy",
|
|
21253
|
-
name:
|
|
21254
|
-
dataType:
|
|
21255
|
-
label:
|
|
21256
|
-
qualifiedEntityName:
|
|
21257
|
-
entityId:
|
|
21258
|
-
entityName:
|
|
21259
|
-
entityType:
|
|
21259
|
+
), Te = Se || Ee;
|
|
21260
|
+
return Te ? {
|
|
21261
|
+
id: Wc("sortBy", Te),
|
|
21262
|
+
name: Te.name,
|
|
21263
|
+
dataType: Te.dataType,
|
|
21264
|
+
label: Te.label,
|
|
21265
|
+
qualifiedEntityName: Te.qualifiedEntityName,
|
|
21266
|
+
entityId: Te.entityId,
|
|
21267
|
+
entityName: Te.entityName,
|
|
21268
|
+
entityType: Te.entityType,
|
|
21260
21269
|
role: "sortby",
|
|
21261
21270
|
direction: K ? "desc" : "asc"
|
|
21262
21271
|
} : null;
|
|
@@ -21967,7 +21976,7 @@ function Bp() {
|
|
|
21967
21976
|
className: "absolute right-2 top-2 z-10 h-8",
|
|
21968
21977
|
onClick: () => r(!1),
|
|
21969
21978
|
children: [
|
|
21970
|
-
/* @__PURE__ */ e(
|
|
21979
|
+
/* @__PURE__ */ e(De, { className: "mr-2 h-4 w-4" }),
|
|
21971
21980
|
"Close"
|
|
21972
21981
|
]
|
|
21973
21982
|
}
|