react-semaphor 0.0.624 → 0.0.625
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-CqELrN_F.js → dashboard-plus-6SE6le74.js} +47 -47
- package/dist/chunks/{dashboard-plus-DElxfW3I.js → dashboard-plus-BDC1AN44.js} +2 -2
- package/dist/chunks/{index-C511Un3L.js → index-C-47Q92V.js} +16867 -17004
- package/dist/chunks/{index-tXl52zph.js → index-C7M8FtkG.js} +205 -206
- 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,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as a, jsx as e, Fragment as te } from "react/jsx-runtime";
|
|
2
|
-
import { L as re, M as zr, u as se, N as ua, O as ma, P as _, Q as ha, R as Je, T as hs, I as wt, V as tt, W as yt, X as Pr, Y as Fe, Z as vt, _ as Nt, $ as bt, a0 as Ft, a1 as B, a2 as Ee, a3 as Qt, a4 as ve, a5 as Lr, a6 as xa, a7 as Ti, a8 as ir, a9 as ps, aa as G, ab as fs, ac as Mi, ad as _r, ae as Vr, af as ca, ag as
|
|
2
|
+
import { L as re, M as zr, u as se, N as ua, O as ma, P as _, Q as ha, R as Je, T as hs, I as wt, V as tt, W as yt, X as Pr, Y as Fe, Z as vt, _ as Nt, $ as bt, a0 as Ft, a1 as B, a2 as Ee, a3 as Qt, a4 as ve, a5 as Lr, a6 as xa, a7 as Ti, a8 as ir, a9 as ps, aa as G, ab as fs, ac as Mi, ad as _r, ae as Vr, af as ca, ag as Me, j as or, ah as Ai, ai as ct, aj as dt, ak as cr, al as St, am as kt, an as Dt, ao as Te, ap as de, aq as gt, ar as wn, as as ya, at as Br, au as Ii, av as Ei, aw as Oi, ax as at, ay as gs, az as Ri, aA as Sn, aB as _t, aC as Kt, aD as Ct, aE as rt, aF as jr, aG as Ve, aH as Ur, aI as kn, aJ as Da, aK as Re, aL as De, aM as nt, aN as Ta, aO as Tt, aP as Ma, aQ as Fi, aR as aa, aS as He, aT as Be, aU as je, aV as Ka, aW as Ge, aX as st, aY as Mt, aZ as Ja, a_ as Ha, a$ as zi, b0 as pa, b1 as xs, b2 as ys, b3 as vs, b4 as Ns, b5 as Dn, b6 as Pi, b7 as Ze, b8 as Li, b9 as Aa, ba as Qa, bb as Yr, bc as bs, bd as Tn, be as Cs, bf as _i, bg as $r, bh as he, bi as pe, bj as fe, bk as ge, bl as X, bm as ws, bn as Vi, bo as Bi, bp as Vt, bq as Za, br as qr, K as ie, bs as ji, bt as xt, J as A, bu as Ui, bv as Gr, bw as Wr, bx as Kr, by as Jr, bz as Hr, bA as Qr, bB as Zr, bC as Xr, bD as el, bE as Yi, bF as Ia, bG as Ut, bH as Ss, bI as $i, bJ as ks, bK as Mn, bL as qi, bM as Gi, bN as Wi, i as Ki, bO as tl, bP as _a, bQ as At, bR as Xa, bS as en, bT as tn, bU as an, bV as sa, bW as Ea, bX as fa, bY as va, bZ as Na, b_ as zt, b$ as nn, A as It, c0 as al, r as nl, q as sl, l as pt, c1 as Le, c2 as Ji, c3 as Zt, c4 as Jt, c5 as rl, c6 as Hi, k as ll, c7 as Va, c8 as Yt, c9 as Qi, n as Ht, m as Et, o as Ot, ca as Zn, cb as Ds, cc as An, cd as In, ce as Xt, x as dr, cf as _e, cg as En, ch as gn, ci as Ba, cj as Xn, ck as il, cl as ol, cm as Ts, cn as Zi, co as Xi, cp as cl, cq as eo, cr as On, cs as to, ct as ba, cu as ao, cv as no, cw as es, cx as $t, cy as $e, cz as qt, cA as so, cB as ro, cC as dl, cD as lo, cE as Ms, cF as io, cG as As, cH as Is, cI as oo, cJ as ul, cK as ml, cL as co, cM as uo, cN as ja, cO as mo, cP as Es, cQ as ho, cR as po, cS as ur, cT as fo, E as sn, b as Os, cU as Rs, cV as go, cW as xo, cX as yo, cY as vo, cZ as No, c_ as hl, c$ as Fs, d0 as pl, d1 as fl, d2 as gl, d3 as xl, d4 as yl, d5 as zs, d6 as Ps, d7 as vl, d8 as Nl, d9 as bl, da as Ls, db as Rn, dc as Fn, dd as bo, de as Co, df as wo, dg as So, dh as ko, di as Do, dj as To, dk as Xe, dl as et, dm as be, dn as Ce, dp as we, dq as Gt, dr as Mo, ds as Ao, dt as Io, du as Eo, dv as Oo, y as Ro, dw as mr, dx as Cl, dy as Fo, dz as zo, dA as Qe, dB as un, dC as hr, dD as Po, dE as pr, dF as fr, dG as Lo, dH as _o, dI as Vo, dJ as Bo, dK as _s, dL as Vs, dM as Bs, dN as Oa, dO as js, dP as ea, dQ as jo, dR as zn, dS as wl, dT as Bn, dU as Uo, dV as Yo, dW as gr, dX as $o, dY as qo, dZ as Go, d_ as Wo, d$ as Ko, w as xr, e0 as yr, e1 as Jo, e2 as Ho, e3 as ts, e4 as Qo, e5 as Zo, e6 as Xo, e7 as ec, e8 as tc, e9 as ac, ea as nc, eb as sc, ec as rc, ed as lc, ee as ic, ef as oc, eg as cc, eh as dc, ei as uc, ej as mc, ek as hc, el as Us, em as jn, en as pc, eo as fc, ep as as, eq as gc, er as xn, es as yn, et as Ra, eu as xc, ev as vr, ew as ns, ex as Sl, ey as Ys, ez as kl, eA as Un, eB as $s, eC as yc, eD as qs, eE as vc, eF as Nc, eG as Ua, eH as bc, eI as ss, eJ as Cc, eK as wc, eL as Sc, eM as rs, eN as ls, eO as vn, eP as kc, eQ as Ca, eR as Ya, eS as Dc, eT as Tc, eU as Mc, eV as Ac, eW as Ic, eX as Ec, eY as Oc, F as Dl, eZ as Rc, p as Fc, e_ as zc, B as Pc, e$ as Lc, f0 as _c, S as Vc, f1 as Bc, U as jc, f2 as Uc, C as Yc } from "./index-C-47Q92V.js";
|
|
3
3
|
import * as na from "react";
|
|
4
4
|
import it, { useState as V, useEffect as Ae, useRef as Pt, useMemo as qe, useCallback as Se, Suspense as Tl, useContext as $c } from "react";
|
|
5
5
|
import "react-dom";
|
|
@@ -1218,15 +1218,15 @@ function qd({
|
|
|
1218
1218
|
}) {
|
|
1219
1219
|
const [n, s] = V(!1), [r, l] = V(""), [i, c] = V(!1), o = se((m) => m.isDownloadingPdf);
|
|
1220
1220
|
async function d() {
|
|
1221
|
-
const m =
|
|
1221
|
+
const m = Me.loading(
|
|
1222
1222
|
"Generating PDF... may take up to 60 seconds"
|
|
1223
1223
|
);
|
|
1224
1224
|
try {
|
|
1225
|
-
await or(),
|
|
1225
|
+
await or(), Me.dismiss(m), Me.success("PDF downloaded successfully!", {
|
|
1226
1226
|
duration: 2e3
|
|
1227
1227
|
});
|
|
1228
1228
|
} catch (h) {
|
|
1229
|
-
|
|
1229
|
+
Me.dismiss(m), Me.error("Failed to download PDF", {
|
|
1230
1230
|
description: "Please try again or contact support.",
|
|
1231
1231
|
richColors: !0
|
|
1232
1232
|
}), console.error("PDF download error:", h);
|
|
@@ -1235,16 +1235,16 @@ function qd({
|
|
|
1235
1235
|
async function u() {
|
|
1236
1236
|
if (!r) return;
|
|
1237
1237
|
s(!1), l(""), c(!1);
|
|
1238
|
-
const m =
|
|
1238
|
+
const m = Me.loading(
|
|
1239
1239
|
"Generating protected PDF... may take up to 60 seconds"
|
|
1240
1240
|
);
|
|
1241
1241
|
try {
|
|
1242
|
-
await or(r),
|
|
1242
|
+
await or(r), Me.dismiss(m), Me.success("Protected PDF downloaded successfully!", {
|
|
1243
1243
|
duration: 2e3,
|
|
1244
1244
|
position: "top-right"
|
|
1245
1245
|
});
|
|
1246
1246
|
} catch (h) {
|
|
1247
|
-
|
|
1247
|
+
Me.dismiss(m), Me.error("Failed to download protected PDF. Please try again."), console.error("Protected PDF download error:", h);
|
|
1248
1248
|
}
|
|
1249
1249
|
}
|
|
1250
1250
|
return /* @__PURE__ */ a(te, { children: [
|
|
@@ -1360,7 +1360,7 @@ function Gd({
|
|
|
1360
1360
|
i === "current" && u && (S.currentSheetId = u.id, S.currentSheetName = u.title), await x({
|
|
1361
1361
|
...C,
|
|
1362
1362
|
reportParams: S
|
|
1363
|
-
}), l("active")
|
|
1363
|
+
}), l("active");
|
|
1364
1364
|
} catch (S) {
|
|
1365
1365
|
console.error("Failed to create schedule:", S);
|
|
1366
1366
|
}
|
|
@@ -1393,11 +1393,11 @@ function Gd({
|
|
|
1393
1393
|
/* @__PURE__ */ e("p", { className: "text-sm text-muted-foreground", children: "Manage your dashboard and report schedules" })
|
|
1394
1394
|
] }),
|
|
1395
1395
|
/* @__PURE__ */ a(Dt, { className: "grid w-full grid-cols-2", children: [
|
|
1396
|
-
/* @__PURE__ */ a(
|
|
1396
|
+
/* @__PURE__ */ a(Te, { value: "create", className: "flex items-center gap-2", children: [
|
|
1397
1397
|
/* @__PURE__ */ e(Fe, { className: "h-4 w-4" }),
|
|
1398
1398
|
"Create Schedule"
|
|
1399
1399
|
] }),
|
|
1400
|
-
/* @__PURE__ */ a(
|
|
1400
|
+
/* @__PURE__ */ a(Te, { value: "active", className: "flex items-center gap-2", children: [
|
|
1401
1401
|
/* @__PURE__ */ e(Al, { className: "h-4 w-4" }),
|
|
1402
1402
|
"Active Schedules",
|
|
1403
1403
|
h && h.length > 0 && /* @__PURE__ */ e(de, { variant: "secondary", className: "ml-1 h-5 px-1", children: h.length })
|
|
@@ -3653,8 +3653,8 @@ function $l({
|
|
|
3653
3653
|
className: "mb-4 min-h-0 flex-1",
|
|
3654
3654
|
children: [
|
|
3655
3655
|
/* @__PURE__ */ a(Dt, { className: "mb-2 grid w-full grid-cols-2", children: [
|
|
3656
|
-
/* @__PURE__ */ e(
|
|
3657
|
-
/* @__PURE__ */ e(
|
|
3656
|
+
/* @__PURE__ */ e(Te, { value: "org", children: "Org Users" }),
|
|
3657
|
+
/* @__PURE__ */ e(Te, { value: "tenant", children: "Tenant Users" })
|
|
3658
3658
|
] }),
|
|
3659
3659
|
/* @__PURE__ */ e(gt, { value: "org", className: "min-h-0 flex-1 overflow-hidden", children: /* @__PURE__ */ e("div", { className: "h-full overflow-y-auto", children: /* @__PURE__ */ e(
|
|
3660
3660
|
lu,
|
|
@@ -4329,7 +4329,7 @@ async function kr(t, n, s) {
|
|
|
4329
4329
|
if (l)
|
|
4330
4330
|
return console.log("Using cached visual data for:", n), { data: l, fromCache: !0 };
|
|
4331
4331
|
console.log("Fetching visual data from network for:", n);
|
|
4332
|
-
const i =
|
|
4332
|
+
const i = Me.loading("Loading visual...", {
|
|
4333
4333
|
position: "top-center"
|
|
4334
4334
|
});
|
|
4335
4335
|
try {
|
|
@@ -4344,9 +4344,9 @@ async function kr(t, n, s) {
|
|
|
4344
4344
|
if (!c.ok)
|
|
4345
4345
|
throw new Error("Failed to load visual");
|
|
4346
4346
|
const o = await c.json();
|
|
4347
|
-
return s.setQueryData(r, o),
|
|
4347
|
+
return s.setQueryData(r, o), Me.dismiss(i), { data: o, fromCache: !1 };
|
|
4348
4348
|
} catch (c) {
|
|
4349
|
-
throw
|
|
4349
|
+
throw Me.dismiss(i), c;
|
|
4350
4350
|
}
|
|
4351
4351
|
}
|
|
4352
4352
|
function mu(t, n, s, r, l) {
|
|
@@ -5295,8 +5295,8 @@ function yu({
|
|
|
5295
5295
|
className: "flex h-9 grow flex-col",
|
|
5296
5296
|
children: [
|
|
5297
5297
|
d.canAccessVisuals ? /* @__PURE__ */ e("div", { className: "px-4 pt-4", children: /* @__PURE__ */ a(Dt, { className: "grid w-full grid-cols-2", children: [
|
|
5298
|
-
/* @__PURE__ */ e(
|
|
5299
|
-
/* @__PURE__ */ e(
|
|
5298
|
+
/* @__PURE__ */ e(Te, { value: "dashboards", className: "text-sm", children: "Dashboards" }),
|
|
5299
|
+
/* @__PURE__ */ e(Te, { value: "visuals", className: "text-sm", children: "Visuals" })
|
|
5300
5300
|
] }) }) : (
|
|
5301
5301
|
// For VIEWER users, show a simple header instead of tabs
|
|
5302
5302
|
/* @__PURE__ */ e("div", { className: "px-4 pt-4 pb-0", children: /* @__PURE__ */ e("h2", { className: "text-lg font-semibold text-foreground", children: "Dashboards" }) })
|
|
@@ -5416,10 +5416,10 @@ function vu() {
|
|
|
5416
5416
|
},
|
|
5417
5417
|
{
|
|
5418
5418
|
onSuccess: () => {
|
|
5419
|
-
Q(!1),
|
|
5419
|
+
Q(!1), Me.success("Dashboard saved!");
|
|
5420
5420
|
},
|
|
5421
5421
|
onError: () => {
|
|
5422
|
-
Q(!1),
|
|
5422
|
+
Q(!1), Me.error("Failed to save dashboard");
|
|
5423
5423
|
}
|
|
5424
5424
|
}
|
|
5425
5425
|
);
|
|
@@ -5433,7 +5433,7 @@ function vu() {
|
|
|
5433
5433
|
template: Z,
|
|
5434
5434
|
filterValues: p
|
|
5435
5435
|
};
|
|
5436
|
-
await cs(Ne, t == null ? void 0 : t.accessToken),
|
|
5436
|
+
await cs(Ne, t == null ? void 0 : t.accessToken), Me.success("Lens saved"), D == null || D(K), y(!1);
|
|
5437
5437
|
}
|
|
5438
5438
|
if (b) return null;
|
|
5439
5439
|
const q = (d == null ? void 0 : d.name) || u.title, ke = z && z.length > 0 && (n.orgUserId || n.tenantId && n.endUserId && n.endUserEmail), Y = M && !(n != null && n.dashboard_id) && !s;
|
|
@@ -6505,15 +6505,15 @@ function Tu({
|
|
|
6505
6505
|
value: c,
|
|
6506
6506
|
onValueChange: (z) => o(z),
|
|
6507
6507
|
children: /* @__PURE__ */ a(Dt, { className: "grid h-9 w-full grid-cols-3", children: [
|
|
6508
|
-
/* @__PURE__ */ a(
|
|
6508
|
+
/* @__PURE__ */ a(Te, { value: "all", className: "text-xs", children: [
|
|
6509
6509
|
"All",
|
|
6510
6510
|
/* @__PURE__ */ e("span", { className: "ml-2 text-xs font-semibold", children: k.length })
|
|
6511
6511
|
] }),
|
|
6512
|
-
/* @__PURE__ */ a(
|
|
6512
|
+
/* @__PURE__ */ a(Te, { value: "text", className: "text-xs", children: [
|
|
6513
6513
|
/* @__PURE__ */ e(An, { className: "size-4 shrink-0" }),
|
|
6514
6514
|
/* @__PURE__ */ e("span", { className: "ml-2 text-xs font-semibold", children: I })
|
|
6515
6515
|
] }),
|
|
6516
|
-
/* @__PURE__ */ a(
|
|
6516
|
+
/* @__PURE__ */ a(Te, { value: "number", className: "text-xs", children: [
|
|
6517
6517
|
/* @__PURE__ */ e(Ia, { className: "size-4 shrink-0" }),
|
|
6518
6518
|
/* @__PURE__ */ e("span", { className: "ml-2 text-xs font-semibold", children: E })
|
|
6519
6519
|
] })
|
|
@@ -7114,7 +7114,7 @@ function Ou() {
|
|
|
7114
7114
|
return /* @__PURE__ */ a(_, { onClick: () => {
|
|
7115
7115
|
const u = i();
|
|
7116
7116
|
if (!(c != null && c.id)) {
|
|
7117
|
-
|
|
7117
|
+
Me.error("No visual selected");
|
|
7118
7118
|
return;
|
|
7119
7119
|
}
|
|
7120
7120
|
s(!0), o.mutate(
|
|
@@ -7126,13 +7126,13 @@ function Ou() {
|
|
|
7126
7126
|
},
|
|
7127
7127
|
{
|
|
7128
7128
|
onSuccess: () => {
|
|
7129
|
-
s(!1), l(!1), r(!0),
|
|
7129
|
+
s(!1), l(!1), r(!0), Me.success("Visual updated successfully"), t.invalidateQueries({
|
|
7130
7130
|
queryKey: ["resource-by-id", "visual", c.id],
|
|
7131
7131
|
exact: !0
|
|
7132
7132
|
});
|
|
7133
7133
|
},
|
|
7134
7134
|
onError: () => {
|
|
7135
|
-
s(!1),
|
|
7135
|
+
s(!1), Me.error("Failed to update visual");
|
|
7136
7136
|
}
|
|
7137
7137
|
}
|
|
7138
7138
|
);
|
|
@@ -7253,7 +7253,7 @@ function Ru() {
|
|
|
7253
7253
|
errorMessage: F
|
|
7254
7254
|
} = _e(i);
|
|
7255
7255
|
Ae(() => {
|
|
7256
|
-
if (N && (N.rowLimitExceeded &&
|
|
7256
|
+
if (N && (N.rowLimitExceeded && Me.error("Row limit (10,000) exceeded. Refine your query.", {
|
|
7257
7257
|
position: "top-center",
|
|
7258
7258
|
richColors: !0
|
|
7259
7259
|
}), y((N == null ? void 0 : N.output) || ""), N.records.length > 0)) {
|
|
@@ -7849,9 +7849,9 @@ const Kn = ({
|
|
|
7849
7849
|
onCodeChange: l
|
|
7850
7850
|
}) => /* @__PURE__ */ a(kt, { defaultValue: "final-config", className: "flex w-1/2 flex-col", children: [
|
|
7851
7851
|
/* @__PURE__ */ a(Dt, { className: "justify-start rounded-sm rounded-b-none border border-b-0", children: [
|
|
7852
|
-
/* @__PURE__ */ e(
|
|
7853
|
-
/* @__PURE__ */ e(
|
|
7854
|
-
/* @__PURE__ */ e(
|
|
7852
|
+
/* @__PURE__ */ e(Te, { value: "final-config", children: "Config" }),
|
|
7853
|
+
/* @__PURE__ */ e(Te, { value: "custom-config", children: "Changes" }),
|
|
7854
|
+
/* @__PURE__ */ e(Te, { value: "custom-code", children: "Custom Code" })
|
|
7855
7855
|
] }),
|
|
7856
7856
|
/* @__PURE__ */ e(
|
|
7857
7857
|
gt,
|
|
@@ -8605,7 +8605,7 @@ function Gu() {
|
|
|
8605
8605
|
}
|
|
8606
8606
|
return /* @__PURE__ */ e(Dt, { className: "group mx-4 justify-between overflow-x-auto", children: /* @__PURE__ */ a("div", { className: "flex items-center", children: [
|
|
8607
8607
|
t.cards.map((y, f) => /* @__PURE__ */ a(
|
|
8608
|
-
|
|
8608
|
+
Te,
|
|
8609
8609
|
{
|
|
8610
8610
|
draggable: !0,
|
|
8611
8611
|
onDragStart: (v) => c(v, f),
|
|
@@ -9070,8 +9070,8 @@ function Ju() {
|
|
|
9070
9070
|
value: i,
|
|
9071
9071
|
onValueChange: y,
|
|
9072
9072
|
children: /* @__PURE__ */ a(Dt, { className: "h-9 w-full", children: [
|
|
9073
|
-
/* @__PURE__ */ e(
|
|
9074
|
-
/* @__PURE__ */ e(
|
|
9073
|
+
/* @__PURE__ */ e(Te, { className: "h-7 w-full", value: "single", children: "Single Visual" }),
|
|
9074
|
+
/* @__PURE__ */ e(Te, { className: "h-7 w-full", value: "multiple", children: "Multi-Visual" })
|
|
9075
9075
|
] })
|
|
9076
9076
|
}
|
|
9077
9077
|
)
|
|
@@ -14399,19 +14399,19 @@ function Jm() {
|
|
|
14399
14399
|
onValueChange: (M) => r(M),
|
|
14400
14400
|
className: "mb-4",
|
|
14401
14401
|
children: /* @__PURE__ */ a(Dt, { className: "grid h-9 w-full grid-cols-4", children: [
|
|
14402
|
-
/* @__PURE__ */ a(
|
|
14402
|
+
/* @__PURE__ */ a(Te, { value: "all", className: "text-xs", children: [
|
|
14403
14403
|
"All",
|
|
14404
14404
|
/* @__PURE__ */ e("span", { className: "ml-2 text-xs font-semibold", children: u.length })
|
|
14405
14405
|
] }),
|
|
14406
|
-
/* @__PURE__ */ a(
|
|
14406
|
+
/* @__PURE__ */ a(Te, { value: "dimensions", className: "text-xs", children: [
|
|
14407
14407
|
/* @__PURE__ */ e(An, { className: "size-4 shrink-0" }),
|
|
14408
14408
|
/* @__PURE__ */ e("span", { className: "ml-2 text-xs font-semibold", children: f })
|
|
14409
14409
|
] }),
|
|
14410
|
-
/* @__PURE__ */ a(
|
|
14410
|
+
/* @__PURE__ */ a(Te, { value: "metrics", className: "text-xs", children: [
|
|
14411
14411
|
/* @__PURE__ */ e(Ia, { className: "size-4 shrink-0" }),
|
|
14412
14412
|
/* @__PURE__ */ e("span", { className: "ml-2 text-xs font-semibold", children: v })
|
|
14413
14413
|
] }),
|
|
14414
|
-
/* @__PURE__ */ a(
|
|
14414
|
+
/* @__PURE__ */ a(Te, { value: "calculated", className: "text-xs", children: [
|
|
14415
14415
|
/* @__PURE__ */ e(rn, { className: "size-4 shrink-0" }),
|
|
14416
14416
|
/* @__PURE__ */ e("span", { className: "ml-2 text-xs font-semibold", children: p })
|
|
14417
14417
|
] })
|
|
@@ -19712,7 +19712,7 @@ function $h({ activeView: t, onViewChange: n }) {
|
|
|
19712
19712
|
onValueChange: (l) => n(l),
|
|
19713
19713
|
children: /* @__PURE__ */ a(Dt, { className: "h-9 w-fit gap-1 bg-background p-0", children: [
|
|
19714
19714
|
/* @__PURE__ */ e(
|
|
19715
|
-
|
|
19715
|
+
Te,
|
|
19716
19716
|
{
|
|
19717
19717
|
value: "chart",
|
|
19718
19718
|
className: "rounded-md transition data-[state=active]:bg-muted",
|
|
@@ -19720,7 +19720,7 @@ function $h({ activeView: t, onViewChange: n }) {
|
|
|
19720
19720
|
}
|
|
19721
19721
|
),
|
|
19722
19722
|
/* @__PURE__ */ e(
|
|
19723
|
-
|
|
19723
|
+
Te,
|
|
19724
19724
|
{
|
|
19725
19725
|
value: "table",
|
|
19726
19726
|
className: "rounded-md transition data-[state=active]:bg-muted",
|
|
@@ -19728,7 +19728,7 @@ function $h({ activeView: t, onViewChange: n }) {
|
|
|
19728
19728
|
}
|
|
19729
19729
|
),
|
|
19730
19730
|
s.type !== "kpi" && /* @__PURE__ */ e(
|
|
19731
|
-
|
|
19731
|
+
Te,
|
|
19732
19732
|
{
|
|
19733
19733
|
value: "sql",
|
|
19734
19734
|
className: G(
|
|
@@ -19865,12 +19865,12 @@ function Kh() {
|
|
|
19865
19865
|
return d;
|
|
19866
19866
|
},
|
|
19867
19867
|
onSuccess: (l) => {
|
|
19868
|
-
|
|
19868
|
+
Me.success(`Feedback sent successfully! Issue: ${l.issueNumber}`, {
|
|
19869
19869
|
duration: 5e3
|
|
19870
19870
|
});
|
|
19871
19871
|
},
|
|
19872
19872
|
onError: (l) => {
|
|
19873
|
-
console.error("Feedback submission error:", l),
|
|
19873
|
+
console.error("Feedback submission error:", l), Me.error("Failed to send feedback. Please try again later.", {
|
|
19874
19874
|
duration: 5e3
|
|
19875
19875
|
});
|
|
19876
19876
|
}
|
|
@@ -20191,11 +20191,11 @@ function Qh({
|
|
|
20191
20191
|
if (q.success) {
|
|
20192
20192
|
M(U);
|
|
20193
20193
|
const oe = { ...x, id: U };
|
|
20194
|
-
p(oe), b(oe), S(null),
|
|
20194
|
+
p(oe), b(oe), S(null), Me.success("Card ID updated successfully");
|
|
20195
20195
|
} else
|
|
20196
20196
|
S(
|
|
20197
20197
|
q.error || "Failed to update Card ID"
|
|
20198
|
-
),
|
|
20198
|
+
), Me.error(
|
|
20199
20199
|
q.error || "Failed to update Card ID"
|
|
20200
20200
|
);
|
|
20201
20201
|
},
|
|
@@ -20655,15 +20655,15 @@ function lp() {
|
|
|
20655
20655
|
value: s,
|
|
20656
20656
|
onValueChange: (p) => r(p),
|
|
20657
20657
|
children: /* @__PURE__ */ a(Dt, { className: "grid h-9 w-full grid-cols-3", children: [
|
|
20658
|
-
/* @__PURE__ */ a(
|
|
20658
|
+
/* @__PURE__ */ a(Te, { value: "all", className: "text-xs", children: [
|
|
20659
20659
|
"All",
|
|
20660
20660
|
/* @__PURE__ */ e("span", { className: "ml-2 text-xs font-semibold", children: m.length })
|
|
20661
20661
|
] }),
|
|
20662
|
-
/* @__PURE__ */ a(
|
|
20662
|
+
/* @__PURE__ */ a(Te, { value: "dimensions", className: "text-xs", children: [
|
|
20663
20663
|
/* @__PURE__ */ e(An, { className: "size-4 shrink-0" }),
|
|
20664
20664
|
/* @__PURE__ */ e("span", { className: "ml-2 text-xs font-semibold", children: x })
|
|
20665
20665
|
] }),
|
|
20666
|
-
/* @__PURE__ */ a(
|
|
20666
|
+
/* @__PURE__ */ a(Te, { value: "metrics", className: "text-xs", children: [
|
|
20667
20667
|
/* @__PURE__ */ e(Ia, { className: "size-4 shrink-0" }),
|
|
20668
20668
|
/* @__PURE__ */ e("span", { className: "ml-2 text-xs font-semibold", children: y })
|
|
20669
20669
|
] })
|