react-semaphor 0.0.641 → 0.0.643

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.
@@ -1,5 +1,5 @@
1
1
  import { jsxs as a, jsx as e, Fragment as K } from "react/jsx-runtime";
2
- import { L as ie, M as vn, u as re, N as na, O as ra, P as _, Q as la, T as st, V as yn, I as Dt, W as We, X as ut, Y as al, Z as ze, _ as mt, $ as ht, a0 as pt, a1 as kt, a2 as B, a3 as Ae, a4 as ea, a5 as ve, a6 as Nn, a7 as pa, a8 as ji, a9 as Ar, aa as bn, ab as U, ac as Cn, ad as Bi, ae as sl, af as Gi, ag as nl, ah as fa, ai as Ne, j as Er, aj as $i, ak as Yi, al as He, am as wn, an as Ui, ao as Os, ap as Bt, aq as Qt, ar as me, as as Pe, at as ft, au as rl, av as Ie, aw as ll, ax as Fa, ay as ka, az as zt, aA as Re, aB as ke, aC as dt, aD as Pa, aE as va, aF as La, aG as qi, aH as ya, aI as nt, aJ as Ue, aK as qe, aL as ss, aM as Qe, aN as tt, aO as Sn, aP as Ds, aQ as ia, aR as ns, aS as rs, aT as Wi, aU as Na, aV as kn, aW as Dn, aX as Tn, aY as Mn, R as Lt, aZ as il, a_ as Ki, a$ as An, b0 as ls, b1 as En, b2 as In, b3 as za, b4 as _a, b5 as Va, b6 as On, b7 as Rs, b8 as Rn, b9 as ol, ba as cl, bb as Fn, bc as pe, bd as fe, be as ge, bf as xe, bg as ae, bh as dl, bi as ul, bj as Ji, bk as Hi, bl as Tt, bm as Qi, bn as Zi, bo as vt, bp as yt, bq as Me, br as it, bs as Gt, bt as ml, K as le, bu as Xi, bv as St, J as E, bw as eo, bx as hl, by as Pn, bz as Ln, bA as zn, bB as _n, bC as Vn, bD as jn, bE as Bn, bF as Gn, bG as to, bH as ja, bI as qt, bJ as $n, bK as ao, bL as Yn, bM as Fs, bN as is, bO as os, bP as pl, bQ as so, bR as Da, bS as Ts, bT as fl, bU as gl, bV as no, bW as Cs, bX as ro, bY as lo, bZ as io, b_ as oo, i as co, b$ as xl, c0 as Ka, c1 as Mt, c2 as At, c3 as Et, c4 as $t, c5 as cs, c6 as ds, c7 as us, c8 as ms, c9 as da, ca as Ba, cb as ba, cc as Ta, cd as Ma, ce as _t, cf as hs, A as It, cg as vl, r as yl, q as Nl, l as Ct, ch as Be, ci as uo, cj as ta, ck as Zt, cl as bl, cm as mo, k as Cl, cn as Ja, co as Wt, cp as ho, n as Xt, m as Rt, o as Ft, cq as an, cr as Ps, cs as Ls, ct as aa, x as Ir, cu as Ge, cv as zs, cw as ws, cx as Ha, cy as sn, cz as wl, cA as Sl, cB as Un, cC as po, cD as fo, cE as kl, cF as go, cG as _s, cH as xo, cI as Aa, cJ as vo, cK as yo, cL as nn, cM as Kt, cN as Je, cO as Jt, cP as No, cQ as bo, cR as Dl, cS as qa, cT as Co, cU as qn, cV as wo, cW as Wn, cX as Kn, cY as So, cZ as Tl, c_ as Ml, c$ as ko, d0 as Do, d1 as Qa, d2 as To, d3 as Jn, d4 as Mo, d5 as Ao, d6 as Or, d7 as Eo, E as ps, b as Hn, d8 as Qn, d9 as Io, da as Oo, db as Zn, dc as Ro, dd as Fo, de as Po, df as Al, dg as Xn, dh as El, di as Il, dj as Ol, dk as Rl, dl as Fl, dm as er, dn as tr, dp as Pl, dq as Ll, dr as zl, ds as ar, dt as Vs, du as js, dv as Lo, dw as zo, dx as _o, dy as Vo, dz as jo, dA as Bo, dB as Go, dC as ot, dD as ct, dE as be, dF as Ce, dG as we, dH as Ht, dI as $o, dJ as Yo, dK as Uo, dL as qo, dM as Wo, y as Ko, dN as Rr, dO as _l, dP as Jo, dQ as Ho, dR as lt, dS as xs, dT as Fr, dU as Qo, dV as Pr, dW as Lr, dX as Zo, dY as Xo, dZ as ec, d_ as tc, d$ as sr, e0 as nr, e1 as rr, e2 as Ga, e3 as lr, e4 as sa, e5 as ac, e6 as Bs, e7 as Vl, e8 as sc, e9 as nc, ea as zr, eb as rc, ec as lc, ed as ic, ee as oc, ef as cc, w as _r, eg as Vr, eh as dc, ei as uc, ej as rn, ek as mc, el as hc, em as pc, en as fc, eo as gc, ep as xc, eq as vc, er as yc, es as Nc, et as bc, eu as Cc, ev as wc, ew as Sc, ex as kc, ey as Dc, ez as Tc, eA as Mc, eB as ir, eC as Ac, eD as Ec, eE as ln, eF as Ic, eG as Ss, eH as ks, eI as $a, eJ as Oc, eK as jr, eL as Rc, eM as on, eN as jl, eO as or, eP as Bl, eQ as qs, eR as cr, eS as Fc, eT as Pc, eU as Lc, eV as Za, eW as zc, eX as _c, eY as cn, eZ as Vc, e_ as jc, e$ as Bc, f0 as dn, f1 as un, f2 as Ms, f3 as Gc, f4 as Ea, f5 as Xa, f6 as $c, f7 as dr, f8 as Yc, f9 as Uc, fa as qc, F as Gl, fb as Wc, p as Kc, fc as Jc, B as Hc, fd as Qc, fe as Zc, S as Xc, ff as ed, U as td, fg as ad, C as sd } from "./index-C3UqoMX_.js";
2
+ import { L as ie, M as vn, u as re, N as na, O as ra, P as _, Q as la, T as st, V as yn, I as Dt, W as We, X as ut, Y as al, Z as ze, _ as mt, $ as ht, a0 as pt, a1 as kt, a2 as B, a3 as Ae, a4 as ea, a5 as ve, a6 as Nn, a7 as pa, a8 as ji, a9 as Ar, aa as bn, ab as U, ac as Cn, ad as Bi, ae as sl, af as Gi, ag as nl, ah as fa, ai as Ne, j as Er, aj as $i, ak as Yi, al as He, am as wn, an as Ui, ao as Os, ap as Bt, aq as Qt, ar as me, as as Pe, at as ft, au as rl, av as Ie, aw as ll, ax as Fa, ay as ka, az as zt, aA as Re, aB as ke, aC as dt, aD as Pa, aE as va, aF as La, aG as qi, aH as ya, aI as nt, aJ as Ue, aK as qe, aL as ss, aM as Qe, aN as tt, aO as Sn, aP as Ds, aQ as ia, aR as ns, aS as rs, aT as Wi, aU as Na, aV as kn, aW as Dn, aX as Tn, aY as Mn, R as Lt, aZ as il, a_ as Ki, a$ as An, b0 as ls, b1 as En, b2 as In, b3 as za, b4 as _a, b5 as Va, b6 as On, b7 as Rs, b8 as Rn, b9 as ol, ba as cl, bb as Fn, bc as pe, bd as fe, be as ge, bf as xe, bg as ae, bh as dl, bi as ul, bj as Ji, bk as Hi, bl as Tt, bm as Qi, bn as Zi, bo as vt, bp as yt, bq as Me, br as it, bs as Gt, bt as ml, K as le, bu as Xi, bv as St, J as E, bw as eo, bx as hl, by as Pn, bz as Ln, bA as zn, bB as _n, bC as Vn, bD as jn, bE as Bn, bF as Gn, bG as to, bH as ja, bI as qt, bJ as $n, bK as ao, bL as Yn, bM as Fs, bN as is, bO as os, bP as pl, bQ as so, bR as Da, bS as Ts, bT as fl, bU as gl, bV as no, bW as Cs, bX as ro, bY as lo, bZ as io, b_ as oo, i as co, b$ as xl, c0 as Ka, c1 as Mt, c2 as At, c3 as Et, c4 as $t, c5 as cs, c6 as ds, c7 as us, c8 as ms, c9 as da, ca as Ba, cb as ba, cc as Ta, cd as Ma, ce as _t, cf as hs, A as It, cg as vl, r as yl, q as Nl, l as Ct, ch as Be, ci as uo, cj as ta, ck as Zt, cl as bl, cm as mo, k as Cl, cn as Ja, co as Wt, cp as ho, n as Xt, m as Rt, o as Ft, cq as an, cr as Ps, cs as Ls, ct as aa, x as Ir, cu as Ge, cv as zs, cw as ws, cx as Ha, cy as sn, cz as wl, cA as Sl, cB as Un, cC as po, cD as fo, cE as kl, cF as go, cG as _s, cH as xo, cI as Aa, cJ as vo, cK as yo, cL as nn, cM as Kt, cN as Je, cO as Jt, cP as No, cQ as bo, cR as Dl, cS as Co, cT as qn, cU as wo, cV as Wn, cW as Kn, cX as So, cY as Tl, cZ as Ml, c_ as ko, c$ as Do, d0 as Qa, d1 as To, d2 as Jn, d3 as Mo, d4 as Ao, d5 as Or, d6 as Eo, E as ps, b as Hn, d7 as Qn, d8 as Io, d9 as Oo, da as Zn, db as Ro, dc as Fo, dd as Po, de as Al, df as Xn, dg as El, dh as Il, di as Ol, dj as Rl, dk as Fl, dl as er, dm as tr, dn as Pl, dp as Ll, dq as zl, dr as ar, ds as Vs, dt as js, du as Lo, dv as zo, dw as qa, dx as _o, dy as Vo, dz as jo, dA as Bo, dB as Go, dC as ot, dD as ct, dE as be, dF as Ce, dG as we, dH as Ht, dI as $o, dJ as Yo, dK as Uo, dL as qo, dM as Wo, y as Ko, dN as Rr, dO as _l, dP as Jo, dQ as Ho, dR as lt, dS as xs, dT as Fr, dU as Qo, dV as Pr, dW as Lr, dX as Zo, dY as Xo, dZ as ec, d_ as tc, d$ as sr, e0 as nr, e1 as rr, e2 as Ga, e3 as lr, e4 as sa, e5 as ac, e6 as Bs, e7 as Vl, e8 as sc, e9 as nc, ea as zr, eb as rc, ec as lc, ed as ic, ee as oc, ef as cc, w as _r, eg as Vr, eh as dc, ei as uc, ej as rn, ek as mc, el as hc, em as pc, en as fc, eo as gc, ep as xc, eq as vc, er as yc, es as Nc, et as bc, eu as Cc, ev as wc, ew as Sc, ex as kc, ey as Dc, ez as Tc, eA as Mc, eB as ir, eC as Ac, eD as Ec, eE as ln, eF as Ic, eG as Ss, eH as ks, eI as $a, eJ as Oc, eK as jr, eL as Rc, eM as on, eN as jl, eO as or, eP as Bl, eQ as qs, eR as cr, eS as Fc, eT as Pc, eU as Lc, eV as Za, eW as zc, eX as _c, eY as cn, eZ as Vc, e_ as jc, e$ as Bc, f0 as dn, f1 as un, f2 as Ms, f3 as Gc, f4 as Ea, f5 as Xa, f6 as $c, f7 as dr, f8 as Yc, f9 as Uc, fa as qc, F as Gl, fb as Wc, p as Kc, fc as Jc, B as Hc, fd as Qc, fe as Zc, S as Xc, ff as ed, U as td, fg as ad, C as sd } from "./index-BAIyJYbl.js";
3
3
  import * as ca from "react";
4
4
  import Ye, { useState as j, useEffect as Oe, useRef as Vt, useMemo as Le, useCallback as Te, Suspense as $l, useContext as ur } from "react";
5
5
  import "react-dom";
@@ -8513,70 +8513,7 @@ function cm({ className: t }) {
8513
8513
  }
8514
8514
  ) });
8515
8515
  }
8516
- function dm({ className: t }) {
8517
- var m, h, f, x;
8518
- const n = E((v) => v.card), { setCardPreferences: s, updateCardInFrame: r, setCard: i } = le(), [l, c] = j(!1), o = ((h = (m = n.preferences) == null ? void 0 : m.displayOptions) == null ? void 0 : h.showFilterInfo) ?? !0, d = ((x = (f = n.preferences) == null ? void 0 : f.displayOptions) == null ? void 0 : x.showCardToolbar) ?? !0, u = (v, p) => {
8519
- var C;
8520
- const y = {
8521
- ...n.preferences,
8522
- displayOptions: {
8523
- ...(C = n.preferences) == null ? void 0 : C.displayOptions,
8524
- [v]: p
8525
- }
8526
- };
8527
- s(y);
8528
- const g = { ...n, preferences: y };
8529
- i(g), r(g);
8530
- };
8531
- return /* @__PURE__ */ e("div", { className: U("flex items-center", t), children: /* @__PURE__ */ a(na, { modal: !1, open: l, onOpenChange: c, children: [
8532
- /* @__PURE__ */ e(ra, { asChild: !0, children: /* @__PURE__ */ e(
8533
- _,
8534
- {
8535
- variant: "outline",
8536
- size: "sm",
8537
- className: "h-8 w-8 p-0",
8538
- title: "Dashboard Card Display Options",
8539
- children: /* @__PURE__ */ e(Wl, { className: "h-4 w-4" })
8540
- }
8541
- ) }),
8542
- /* @__PURE__ */ a(la, { align: "end", className: "w-64", children: [
8543
- /* @__PURE__ */ e(Nn, { children: "Display Options" }),
8544
- /* @__PURE__ */ e(pa, {}),
8545
- /* @__PURE__ */ e("div", { className: "px-2 py-1.5", children: /* @__PURE__ */ e("p", { className: "text-xs text-muted-foreground mb-2", children: "Changes apply to dashboard view only" }) }),
8546
- /* @__PURE__ */ a(
8547
- qa,
8548
- {
8549
- checked: o,
8550
- onCheckedChange: (v) => {
8551
- u("showFilterInfo", v);
8552
- },
8553
- onSelect: (v) => v.preventDefault(),
8554
- className: "pr-2",
8555
- children: [
8556
- /* @__PURE__ */ e("span", { className: "flex-1", children: "Filter Info" }),
8557
- /* @__PURE__ */ e("span", { className: "text-xs text-muted-foreground ml-4", children: "Badge" })
8558
- ]
8559
- }
8560
- ),
8561
- /* @__PURE__ */ a(
8562
- qa,
8563
- {
8564
- checked: d,
8565
- onCheckedChange: (v) => {
8566
- u("showCardToolbar", v);
8567
- },
8568
- onSelect: (v) => v.preventDefault(),
8569
- className: "pr-2",
8570
- children: [
8571
- /* @__PURE__ */ e("span", { className: "flex-1", children: "Card Toolbar" }),
8572
- /* @__PURE__ */ e("span", { className: "text-xs text-muted-foreground ml-4", children: "Hover actions" })
8573
- ]
8574
- }
8575
- )
8576
- ] })
8577
- ] }) });
8578
- }
8579
- function um({ card: t }) {
8516
+ function dm({ card: t }) {
8580
8517
  var M, I, k, w, N, T, b, P, A, z, D;
8581
8518
  const [n, s] = j(!1), [r, i] = j(
8582
8519
  []
@@ -8715,7 +8652,7 @@ function mi({
8715
8652
  g
8716
8653
  ]);
8717
8654
  function w(b) {
8718
- return /* @__PURE__ */ e(ps, { FallbackComponent: Hn, children: /* @__PURE__ */ e(um, { card: b }) });
8655
+ return /* @__PURE__ */ e(ps, { FallbackComponent: Hn, children: /* @__PURE__ */ e(dm, { card: b }) });
8719
8656
  }
8720
8657
  function N() {
8721
8658
  if (m != null && m.records && (m == null ? void 0 : m.records.length) === 0 && !h && !f)
@@ -8816,10 +8753,7 @@ function mi({
8816
8753
  inputClassName: "text-base font-semibold"
8817
8754
  }
8818
8755
  ) }),
8819
- /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
8820
- /* @__PURE__ */ e(cm, {}),
8821
- /* @__PURE__ */ e(dm, {})
8822
- ] })
8756
+ /* @__PURE__ */ e(cm, {})
8823
8757
  ] }),
8824
8758
  /* @__PURE__ */ e("div", { className: "w-1/2", children: /* @__PURE__ */ e(
8825
8759
  Qt,
@@ -8879,7 +8813,7 @@ const Zs = ({
8879
8813
  value: n,
8880
8814
  onChange: s
8881
8815
  }
8882
- ), mm = () => /* @__PURE__ */ a(ht, { children: [
8816
+ ), um = () => /* @__PURE__ */ a(ht, { children: [
8883
8817
  /* @__PURE__ */ e("div", { className: "flex items-center gap-2", children: /* @__PURE__ */ e(pt, { children: "Customize Card" }) }),
8884
8818
  /* @__PURE__ */ a(kt, { children: [
8885
8819
  "See the configuration options and documentation",
@@ -8893,7 +8827,7 @@ const Zs = ({
8893
8827
  }
8894
8828
  )
8895
8829
  ] })
8896
- ] }), hm = ({
8830
+ ] }), mm = ({
8897
8831
  // defaultConfig,
8898
8832
  customCode: t,
8899
8833
  cardCustomCfgString: n,
@@ -8953,7 +8887,7 @@ const Zs = ({
8953
8887
  )
8954
8888
  }
8955
8889
  )
8956
- ] }), pm = ({
8890
+ ] }), hm = ({
8957
8891
  error: t,
8958
8892
  hasCardCustomConfig: n,
8959
8893
  onReset: s,
@@ -8965,7 +8899,7 @@ const Zs = ({
8965
8899
  /* @__PURE__ */ e(_, { onClick: r, variant: "outline", children: "Apply" }),
8966
8900
  /* @__PURE__ */ e(_, { onClick: i, variant: "outline", children: "Close" })
8967
8901
  ] });
8968
- function fm() {
8902
+ function pm() {
8969
8903
  const [t, n] = j(!1), [s, r] = j(""), [i, l] = j(""), [c, o] = j(""), [d, u] = j(""), m = E((k) => k.card), h = E((k) => k.card.customCfg), f = h ? JSON.stringify(h, null, 2) : "", { data: x } = Ge(m), { data: v } = Kn(m), { setCardCustomCfg: p, setCustomVisualCode: y } = le(), g = (k) => {
8970
8904
  var w, N;
8971
8905
  return JSON.stringify(
@@ -9025,11 +8959,11 @@ function fm() {
9025
8959
  }
9026
8960
  ) }),
9027
8961
  /* @__PURE__ */ a(mt, { className: "flex h-[600px] grow flex-col overflow-auto sm:min-w-[900px] lg:min-w-[1200px]", children: [
9028
- /* @__PURE__ */ e(mm, {}),
8962
+ /* @__PURE__ */ e(um, {}),
9029
8963
  /* @__PURE__ */ a("div", { className: "flex grow gap-2", children: [
9030
8964
  /* @__PURE__ */ e(ps, { FallbackComponent: Hn, children: /* @__PURE__ */ e(mi, { className: "w-1/2 rounded shadow-none" }) }),
9031
8965
  /* @__PURE__ */ e(
9032
- hm,
8966
+ mm,
9033
8967
  {
9034
8968
  customCode: c,
9035
8969
  cardCustomCfgString: f,
@@ -9040,7 +8974,7 @@ function fm() {
9040
8974
  )
9041
8975
  ] }),
9042
8976
  /* @__PURE__ */ e(
9043
- pm,
8977
+ hm,
9044
8978
  {
9045
8979
  error: d,
9046
8980
  hasCardCustomConfig: !!h,
@@ -9105,7 +9039,7 @@ function pi() {
9105
9039
  isError: c
9106
9040
  };
9107
9041
  }
9108
- function gm({
9042
+ function fm({
9109
9043
  onChartTypeChange: t
9110
9044
  }) {
9111
9045
  const {
@@ -9140,7 +9074,7 @@ function gm({
9140
9074
  ] }) : !l || l.length === 0 ? null : /* @__PURE__ */ a(K, { children: [
9141
9075
  /* @__PURE__ */ e(dt, { className: "my-2" }),
9142
9076
  /* @__PURE__ */ e("div", { className: "grid grid-cols-4 place-items-center", children: l.map((u, m) => /* @__PURE__ */ e(
9143
- xm,
9077
+ gm,
9144
9078
  {
9145
9079
  text: u.name,
9146
9080
  onClick: () => d("custom", u),
@@ -9150,7 +9084,7 @@ function gm({
9150
9084
  )) })
9151
9085
  ] });
9152
9086
  }
9153
- const xm = ({
9087
+ const gm = ({
9154
9088
  text: t,
9155
9089
  icon: n,
9156
9090
  onClick: s
@@ -9356,7 +9290,7 @@ function fi({
9356
9290
  )
9357
9291
  ] });
9358
9292
  }
9359
- function vm({
9293
+ function xm({
9360
9294
  chartType: t,
9361
9295
  className: n,
9362
9296
  customIcon: s,
@@ -9415,7 +9349,7 @@ function gi({
9415
9349
  size: "sm",
9416
9350
  variant: t || "ghost",
9417
9351
  children: /* @__PURE__ */ e(
9418
- vm,
9352
+ xm,
9419
9353
  {
9420
9354
  className: "size-4",
9421
9355
  chartType: i,
@@ -9437,13 +9371,13 @@ function gi({
9437
9371
  onChartTypeChange: () => s(!1)
9438
9372
  }
9439
9373
  ),
9440
- /* @__PURE__ */ e(gm, { onChartTypeChange: () => s(!1) })
9374
+ /* @__PURE__ */ e(fm, { onChartTypeChange: () => s(!1) })
9441
9375
  ]
9442
9376
  }
9443
9377
  )
9444
9378
  ] });
9445
9379
  }
9446
- function ym({
9380
+ function vm({
9447
9381
  error: t,
9448
9382
  className: n = "",
9449
9383
  textClassName: s = "",
@@ -9502,7 +9436,7 @@ function ym({
9502
9436
  }
9503
9437
  );
9504
9438
  }
9505
- function Nm() {
9439
+ function ym() {
9506
9440
  const t = E(
9507
9441
  (l) => {
9508
9442
  var c, o;
@@ -9535,6 +9469,69 @@ function Nm() {
9535
9469
  }
9536
9470
  return /* @__PURE__ */ e(K, { children: n === "funnel" ? i() : r() });
9537
9471
  }
9472
+ function Nm({
9473
+ className: t
9474
+ }) {
9475
+ var m, h, f, x;
9476
+ const n = E((v) => v.card), { setCardPreferences: s, updateCardInFrame: r, setCard: i } = le(), [l, c] = j(!1), o = ((h = (m = n.preferences) == null ? void 0 : m.displayOptions) == null ? void 0 : h.showFilterInfo) ?? !0, d = ((x = (f = n.preferences) == null ? void 0 : f.displayOptions) == null ? void 0 : x.showCardToolbar) ?? !0, u = (v, p) => {
9477
+ var C;
9478
+ const y = {
9479
+ ...n.preferences,
9480
+ displayOptions: {
9481
+ ...(C = n.preferences) == null ? void 0 : C.displayOptions,
9482
+ [v]: p
9483
+ }
9484
+ };
9485
+ s(y);
9486
+ const g = { ...n, preferences: y };
9487
+ i(g), r(g);
9488
+ };
9489
+ return /* @__PURE__ */ e("div", { className: U("flex items-center", t), children: /* @__PURE__ */ a(na, { modal: !1, open: l, onOpenChange: c, children: [
9490
+ /* @__PURE__ */ e(ra, { asChild: !0, children: /* @__PURE__ */ e(
9491
+ ve,
9492
+ {
9493
+ className: "h-8 w-8 p-0",
9494
+ tooltip: "Display Options",
9495
+ children: /* @__PURE__ */ e(Wl, { className: "h-4 w-4" })
9496
+ }
9497
+ ) }),
9498
+ /* @__PURE__ */ a(la, { align: "end", className: "w-64", children: [
9499
+ /* @__PURE__ */ e(Nn, { children: "Display Options" }),
9500
+ /* @__PURE__ */ e(pa, {}),
9501
+ /* @__PURE__ */ e("div", { className: "px-2 py-1.5", children: /* @__PURE__ */ e("p", { className: "mb-2 text-xs text-muted-foreground", children: "Changes apply to dashboard view only" }) }),
9502
+ /* @__PURE__ */ a(
9503
+ qa,
9504
+ {
9505
+ checked: o,
9506
+ onCheckedChange: (v) => {
9507
+ u("showFilterInfo", v);
9508
+ },
9509
+ onSelect: (v) => v.preventDefault(),
9510
+ className: "pr-2",
9511
+ children: [
9512
+ /* @__PURE__ */ e("span", { className: "flex-1", children: "Filter Info" }),
9513
+ /* @__PURE__ */ e("span", { className: "ml-4 text-xs text-muted-foreground", children: "Badge" })
9514
+ ]
9515
+ }
9516
+ ),
9517
+ /* @__PURE__ */ a(
9518
+ qa,
9519
+ {
9520
+ checked: d,
9521
+ onCheckedChange: (v) => {
9522
+ u("showCardToolbar", v);
9523
+ },
9524
+ onSelect: (v) => v.preventDefault(),
9525
+ className: "pr-2",
9526
+ children: [
9527
+ /* @__PURE__ */ e("span", { className: "flex-1", children: "Card Toolbar" }),
9528
+ /* @__PURE__ */ e("span", { className: "ml-4 text-xs text-muted-foreground", children: "Hover actions" })
9529
+ ]
9530
+ }
9531
+ )
9532
+ ] })
9533
+ ] }) });
9534
+ }
9538
9535
  function xi() {
9539
9536
  const t = E((c) => c.card), n = E((c) => c.isShowingVisual), s = E(
9540
9537
  (c) => {
@@ -9555,7 +9552,7 @@ function xi() {
9555
9552
  "stackedLine",
9556
9553
  "horizontalBar",
9557
9554
  "funnel"
9558
- ].includes(t.type) && /* @__PURE__ */ e(K, { children: /* @__PURE__ */ e(Nm, {}) }),
9555
+ ].includes(t.type) && /* @__PURE__ */ e(K, { children: /* @__PURE__ */ e(ym, {}) }),
9559
9556
  !["kpi", "text", "custom", "table"].includes(t.type) && /* @__PURE__ */ e(K, {}),
9560
9557
  ![
9561
9558
  "pie",
@@ -9573,7 +9570,8 @@ function xi() {
9573
9570
  r === "x" && /* @__PURE__ */ e(fd, { className: "size-4" }),
9574
9571
  r === "y" && /* @__PURE__ */ e(jd, { className: "size-4" }),
9575
9572
  r === "none" && /* @__PURE__ */ e(Yd, { className: "size-4" })
9576
- ] })
9573
+ ] }),
9574
+ /* @__PURE__ */ e(Nm, {})
9577
9575
  ] }) : null;
9578
9576
  }
9579
9577
  function bm() {
@@ -9811,7 +9809,7 @@ function vs({
9811
9809
  r && /* @__PURE__ */ a("div", { className: "flex grow items-center", children: [
9812
9810
  /* @__PURE__ */ e(gi, {}),
9813
9811
  i && /* @__PURE__ */ e(ve, { tooltip: "Visual Docs", onClick: M, children: /* @__PURE__ */ e(dd, { className: "size-4" }) }),
9814
- !["table", "custom"].includes(n.type) && i && /* @__PURE__ */ e(fm, {})
9812
+ !["table", "custom"].includes(n.type) && i && /* @__PURE__ */ e(pm, {})
9815
9813
  ] }),
9816
9814
  !r && /* @__PURE__ */ a("div", { className: "flex grow items-center gap-1", children: [
9817
9815
  /* @__PURE__ */ e(
@@ -9905,7 +9903,7 @@ function vs({
9905
9903
  children: [
9906
9904
  (f == null ? void 0 : f.records) && (f == null ? void 0 : f.records.length) > 0 && // <ResultsTable data={data?.records || []} />
9907
9905
  /* @__PURE__ */ e(Jn, { card: n, data: (f == null ? void 0 : f.records) || [] }),
9908
- p && /* @__PURE__ */ e(ym, { error: p })
9906
+ p && /* @__PURE__ */ e(vm, { error: p })
9909
9907
  ]
9910
9908
  }
9911
9909
  )