react-semaphor 0.1.229 → 0.1.230

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.
Files changed (32) hide show
  1. package/dist/chunks/dashboard-controls-CIGGC81u.js +47 -0
  2. package/dist/chunks/dashboard-controls-uZZf2_Ms.js +1837 -0
  3. package/dist/chunks/{dashboard-json-Bb4sPs1-.js → dashboard-json-BPOoq2o2.js} +1 -1
  4. package/dist/chunks/{dashboard-json-C6i1R8Wf.js → dashboard-json-BSpSg-pF.js} +1 -1
  5. package/dist/chunks/{dashboard-summary-settings-dialog-B-EIaEfz.js → dashboard-summary-settings-dialog-BBOnX1vh.js} +1 -1
  6. package/dist/chunks/{dashboard-summary-settings-dialog-B5oZC5Et.js → dashboard-summary-settings-dialog-Dd-wAZsI.js} +23 -23
  7. package/dist/chunks/{edit-dashboard-visual-BhqnGTNb.js → edit-dashboard-visual-CmKLavr8.js} +459 -459
  8. package/dist/chunks/{edit-dashboard-visual-BrR2eN_x.js → edit-dashboard-visual-D0myN7lC.js} +1 -1
  9. package/dist/chunks/{editor-action-buttons-DZHYde-x.js → editor-action-buttons-DicV0M4e.js} +1 -1
  10. package/dist/chunks/{editor-action-buttons-BuGSShg4.js → editor-action-buttons-ujerALSP.js} +42 -42
  11. package/dist/chunks/{index--t-xJkFo.js → index-BKtY-D8Y.js} +161 -161
  12. package/dist/chunks/{index-C_FfPMsT.js → index-SLQXKi01.js} +5658 -5645
  13. package/dist/chunks/{notification-bell-BUK6qo6E.js → notification-bell-BlKABlIE.js} +1 -1
  14. package/dist/chunks/{notification-bell-BJx5GZ0K.js → notification-bell-D83sUTTI.js} +60 -60
  15. package/dist/chunks/resource-management-panel-CJXZMjqO.js +920 -0
  16. package/dist/chunks/resource-management-panel-TqjX5FH0.js +6 -0
  17. package/dist/chunks/{use-visual-utils-CckIJVB_.js → use-visual-utils-CjUf9Xns.js} +1 -1
  18. package/dist/chunks/{use-visual-utils-C-1MadD0.js → use-visual-utils-DNfxkGiH.js} +33 -33
  19. package/dist/dashboard/index.cjs +1 -1
  20. package/dist/dashboard/index.js +1 -1
  21. package/dist/index.cjs +1 -1
  22. package/dist/index.js +44 -44
  23. package/dist/style.css +1 -1
  24. package/dist/surfboard/index.cjs +1 -1
  25. package/dist/surfboard/index.js +2 -2
  26. package/package.json +1 -1
  27. package/dist/chunks/dashboard-controls-C4Yq0TiH.js +0 -1764
  28. package/dist/chunks/dashboard-controls-DUVPeEnP.js +0 -47
  29. package/dist/chunks/resource-management-panel-C--Zp8ix.js +0 -6
  30. package/dist/chunks/resource-management-panel-CliUOxsc.js +0 -913
  31. package/dist/chunks/use-role-aware-display-preferences-Dza-JBu0.js +0 -29
  32. package/dist/chunks/use-role-aware-display-preferences-YdbXXiO7.js +0 -1
@@ -1,8 +1,8 @@
1
1
  import { jsxs as a, jsx as e, Fragment as Ce } from "react/jsx-runtime";
2
- import { bS as Ve, du as Yl, I as ct, Y as be, a1 as O, dv as Xa, dw as Ql, L as P, J as te, K as ae, M as ne, N as se, O as K, c0 as ze, B as J, c7 as Ct, dx as kn, dy as Kr, dz as Ur, dA as Gr, dB as Jr, dC as In, ab as Mt, X as We, dD as Ss, ch as Ts, m as ga, n as xa, o as ba, p as va, q as Ja, c4 as ht, c1 as lt, bZ as it, b_ as tt, b$ as at, dE as ir, dF as ks, u as Le, G as ms, dG as ya, cm as Oa, c as Z, dc as mt, dH as Hr, c6 as Yr, dI as Wl, dJ as Xl, dK as Zl, dL as Ka, dM as ei, dN as Qr, dO as ti, cS as Wr, dP as ai, dQ as Xr, dR as ni, dS as Is, dT as si, dU as Ht, dV as Ua, c8 as Ma, c9 as Ra, dW as hs, cb as Fa, cc as rt, dX as Ha, dY as ri, dZ as ps, d_ as gn, l as La, ai as Zr, d$ as Ga, e0 as Ds, e1 as li, e2 as ii, e3 as el, e4 as tl, e5 as al, c$ as As, Q as je, P as wt, s as St, t as Tt, e6 as oi, H as ea, e7 as ci, e8 as di, U as ui, e9 as mi, bT as Va, bU as ra, bV as la, bW as Za, bX as Vt, bY as pa, ea as fs, eb as ta, ec as dt, ed as aa, ee as hi, ef as yn, eg as Nn, eh as Cn, ei as Es, dp as Na, ej as en, ek as pi, R as tn, el as Dn, em as Pa, cn as Os, en as nl, r as Yt, cN as fi, eo as Pt, ep as Kt, eq as gi, er as Ut, e as Ms, cK as Rs, Z as sl, es as Fs, et as xi, eu as rl, ev as ll, ew as Lt, dk as Yn, ex as bi, ey as vi, ez as yi, eA as il, az as ol, eB as cl, eC as Ni, eD as Ci, eE as wi, eF as An, eG as Si, eH as Ti, eI as or, eJ as ki, a2 as En, a9 as Ls, eK as Ii, eL as Vs, cU as Di, eM as cr, ac as st, eN as Ai, d6 as Ps, d7 as Bs, d8 as Zt, d9 as xn, eO as Ei, dl as Oi, eP as dl, eQ as Mi, eR as Ri, cD as On, cB as ut, eS as Fi, eT as Li, eU as dr, eV as Vi, cV as Mn, cg as Ot, eW as qt, eX as na, eY as sa, eZ as Qt, e_ as Ca, e$ as Pi, b6 as Bi, f0 as $i, f1 as qi, f2 as zi, f3 as ji, cJ as fa, f4 as _i, f5 as ul, f6 as Ki, f7 as Ui, f8 as Gi, f9 as ml, fa as Ji, fb as Hi, fc as Yi, fd as Qi, fe as Wi, ff as Xi, fg as gs, fh as Zi, fi as eo, fj as to, fk as xs, fl as ao, fm as no, fn as so, fo as ro, cE as lo, fp as Gt, fq as hl, ca as $s, cO as io, cd as oo, fr as pl, fs as Ya, ft as wn, fu as co, fv as wa, fw as Be, fx as $e, fy as qe, fz as uo, fA as mo, fB as ho, fC as po, fD as zt, fE as mn, fF as ur, fG as fo, dq as fl, S as _e, fH as go, fI as xo, fJ as bo, v as Sa, w as Ta, x as ka, y as Ia, z as Da, A as Aa, fK as vo, fL as yo, fM as mr, fN as No, E as Ba, fO as Co, fP as Qn, fQ as hr, fR as vt, fS as wo, fT as So, fU as To, fV as ko, fW as an, fX as Io, fY as Wn, fZ as gl, f_ as Do, f$ as Ao, g0 as Eo, g1 as Sn, g2 as Oo, g3 as Mo, g4 as qs, g5 as zs, g6 as xl, g7 as Ro, cA as bl, g8 as vl, g9 as Rn, dt as Fo, ga as Ue, bk as Lo, gb as Vo, gc as Po, bg as pr, gd as fr, ge as Bo, gf as $o, gg as qo, gh as zo, gi as jo, gj as _o, gk as Ko, gl as Uo, gm as Go, gn as Jo, go as Ho, gp as Yo, gq as Qo, gr as Wo, gs as yl, gt as Xo, gu as Zo, gv as ec, gw as tc, gx as ac, gy as nc, gz as sc, gA as rc, gB as lc, gC as ic, gD as oc, gE as cc, gF as dc, gG as Nl, gH as uc, gI as Fn, gJ as Cl, gK as wl, b2 as hn, gL as Ln, gM as Xn, gN as mc, gO as Sl, gP as gr, cF as hc, gQ as pc, gR as fc, gS as gc, gT as bn, gU as xc, gV as js, gW as vn, gX as bc, gY as vc, gZ as Tn, g_ as yc, C as Nc, g$ as Cc, h0 as wc, h1 as Sc, h2 as Qa, h3 as jt, h4 as bs, h5 as vs, h6 as Wa, h7 as Tl, h8 as Ea, b0 as Tc, h9 as kc, ha as Zn, hb as Ic, hc as es, hd as Dc, he as xr, hf as Ac, hg as Ec, hh as Oc, hi as Mc, hj as Rc, hk as Fc, hl as Lc, hm as Vn, cj as Pn, hn as br, ho as kl, df as ts, hp as Vc, hq as Pc, hr as Bc, a3 as $c } from "./index-C_FfPMsT.js";
2
+ import { bK as Pe, du as Yl, x as ct, M as be, U as O, dv as Xa, dw as Ql, L as V, y as te, z as ae, A as ne, E as se, F as K, bU as ze, B as J, b$ as Ct, dx as kn, dy as Kr, dz as Ur, dA as Gr, dB as Jr, dC as In, a3 as Mt, X as We, dD as Ss, c9 as Ts, e as ga, f as xa, g as ba, h as va, i as Ja, bY as ht, bV as lt, bR as it, bS as tt, bT as at, dE as ir, dF as ks, u as Le, v as ms, dG as ya, ce as Oa, c as Z, dc as mt, dH as Hr, b_ as Yr, dI as Wl, dJ as Xl, dK as Zl, dL as Ka, dM as ei, dN as Qr, dO as ti, cL as Wr, dP as ai, dQ as Xr, dR as ni, dS as Is, dT as si, dU as Ht, dV as Ua, c0 as Ma, c1 as Ra, dW as hs, c3 as Fa, c4 as rt, dX as Ha, dY as ri, dZ as ps, d_ as gn, b as La, aa as Zr, d$ as Ga, e0 as Ds, e1 as li, e2 as ii, e3 as el, e4 as tl, e5 as al, c$ as As, I as je, P as wt, k as St, l as Tt, e6 as oi, w as ea, e7 as ci, e8 as di, H as ui, e9 as mi, bL as Pa, bM as ra, bN as la, bO as Za, bP as Pt, bQ as pa, ea as fs, eb as ta, ec as dt, ed as aa, ee as hi, ef as yn, eg as Nn, eh as Cn, ei as Es, dp as Na, ej as en, ek as pi, R as tn, el as Dn, em as Va, cf as Os, en as nl, j as Yt, cG as fi, eo as Vt, ep as Kt, eq as gi, er as Ut, cq as Ms, cD as Rs, N as sl, es as Fs, et as xi, eu as rl, ev as ll, ew as Lt, dk as Yn, ex as bi, ey as vi, ez as yi, eA as il, ar as ol, eB as cl, eC as Ni, eD as Ci, eE as wi, eF as An, eG as Si, eH as Ti, eI as or, eJ as ki, V as En, a1 as Ls, eK as Ii, eL as Ps, cN as Di, eM as cr, a4 as st, eN as Ai, d6 as Vs, d7 as Bs, d8 as Zt, d9 as xn, eO as Ei, dl as Oi, eP as dl, eQ as Mi, eR as Ri, cw as On, cu as ut, eS as Fi, eT as Li, eU as dr, eV as Pi, cO as Mn, c8 as Ot, eW as qt, eX as na, eY as sa, eZ as Qt, e_ as Ca, e$ as Vi, a_ as Bi, f0 as $i, f1 as qi, f2 as zi, f3 as ji, cC as fa, f4 as _i, f5 as ul, f6 as Ki, f7 as Ui, f8 as Gi, f9 as ml, fa as Ji, fb as Hi, fc as Yi, fd as Qi, fe as Wi, ff as Xi, fg as gs, fh as Zi, fi as eo, fj as to, fk as xs, fl as ao, fm as no, fn as so, fo as ro, fp as lo, fq as Gt, fr as hl, c2 as $s, cH as io, c5 as oo, fs as pl, ft as Ya, fu as wn, fv as co, fw as wa, fx as Be, fy as $e, fz as qe, fA as uo, fB as mo, fC as ho, fD as po, fE as zt, fF as mn, fG as ur, fH as fo, dq as fl, S as _e, fI as go, fJ as xo, fK as bo, m as Sa, n as Ta, o as ka, p as Ia, q as Da, r as Aa, fL as vo, fM as yo, fN as mr, fO as No, s as Ba, fP as Co, fQ as Qn, fR as hr, fS as vt, fT as wo, fU as So, fV as To, fW as ko, fX as an, fY as Io, fZ as Wn, f_ as gl, f$ as Do, g0 as Ao, g1 as Eo, g2 as Sn, g3 as Oo, g4 as Mo, g5 as qs, g6 as zs, g7 as xl, g8 as Ro, ct as bl, g9 as vl, ga as Rn, dt as Fo, gb as Ue, bc as Lo, gc as Po, gd as Vo, b8 as pr, ge as fr, gf as Bo, gg as $o, gh as qo, gi as zo, gj as jo, gk as _o, gl as Ko, gm as Uo, gn as Go, go as Jo, gp as Ho, gq as Yo, gr as Qo, gs as Wo, gt as yl, gu as Xo, gv as Zo, gw as ec, gx as tc, gy as ac, gz as nc, gA as sc, gB as rc, gC as lc, gD as ic, gE as oc, gF as cc, gG as dc, gH as Nl, gI as uc, gJ as Fn, gK as Cl, gL as wl, aW as hn, gM as Ln, gN as Xn, gO as mc, gP as Sl, gQ as gr, cy as hc, gR as pc, gS as fc, gT as gc, gU as bn, gV as xc, gW as js, gX as vn, gY as bc, gZ as vc, g_ as Tn, g$ as yc, C as Nc, h0 as Cc, h1 as wc, h2 as Sc, h3 as Qa, h4 as jt, h5 as bs, h6 as vs, h7 as Wa, h8 as Tl, h9 as Ea, aU as Tc, ha as kc, hb as Zn, hc as Ic, hd as es, he as Dc, hf as xr, hg as Ac, hh as Ec, hi as Oc, hj as Mc, hk as Rc, hl as Fc, hm as Lc, hn as Pn, cb as Vn, ho as br, hp as kl, df as ts, hq as Pc, hr as Vc, hs as Bc, W as $c } from "./index-SLQXKi01.js";
3
3
  import * as ys from "react";
4
4
  import Ns, { useState as G, useRef as Fe, useEffect as Se, useCallback as we, useMemo as de, useContext as _s, Suspense as qc } from "react";
5
- import { C as vr, e as Ks, u as pt, V as zc } from "./editor-action-buttons-BuGSShg4.js";
5
+ import { C as vr, e as Ks, u as pt, V as zc } from "./editor-action-buttons-ujerALSP.js";
6
6
  import { createPortal as jc } from "react-dom";
7
7
  /**
8
8
  * @license lucide-react v0.453.0 - ISC
@@ -10,7 +10,7 @@ import { createPortal as jc } from "react-dom";
10
10
  * This source code is licensed under the ISC license.
11
11
  * See the LICENSE file in the root directory of this source tree.
12
12
  */
13
- const _c = Ve("ArrowDownAZ", [
13
+ const _c = Pe("ArrowDownAZ", [
14
14
  ["path", { d: "m3 16 4 4 4-4", key: "1co6wj" }],
15
15
  ["path", { d: "M7 20V4", key: "1yoxec" }],
16
16
  ["path", { d: "M20 8h-5", key: "1vsyxs" }],
@@ -23,7 +23,7 @@ const _c = Ve("ArrowDownAZ", [
23
23
  * This source code is licensed under the ISC license.
24
24
  * See the LICENSE file in the root directory of this source tree.
25
25
  */
26
- const Kc = Ve("ArrowUpAZ", [
26
+ const Kc = Pe("ArrowUpAZ", [
27
27
  ["path", { d: "m3 8 4-4 4 4", key: "11wl7u" }],
28
28
  ["path", { d: "M7 4v16", key: "1glfcx" }],
29
29
  ["path", { d: "M20 8h-5", key: "1vsyxs" }],
@@ -36,7 +36,7 @@ const Kc = Ve("ArrowUpAZ", [
36
36
  * This source code is licensed under the ISC license.
37
37
  * See the LICENSE file in the root directory of this source tree.
38
38
  */
39
- const Il = Ve("Blocks", [
39
+ const Il = Pe("Blocks", [
40
40
  ["rect", { width: "7", height: "7", x: "14", y: "3", rx: "1", key: "6d4xhi" }],
41
41
  [
42
42
  "path",
@@ -52,7 +52,7 @@ const Il = Ve("Blocks", [
52
52
  * This source code is licensed under the ISC license.
53
53
  * See the LICENSE file in the root directory of this source tree.
54
54
  */
55
- const Us = Ve("Columns3", [
55
+ const Us = Pe("Columns3", [
56
56
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
57
57
  ["path", { d: "M9 3v18", key: "fh3hqa" }],
58
58
  ["path", { d: "M15 3v18", key: "14nvp0" }]
@@ -63,7 +63,7 @@ const Us = Ve("Columns3", [
63
63
  * This source code is licensed under the ISC license.
64
64
  * See the LICENSE file in the root directory of this source tree.
65
65
  */
66
- const Uc = Ve("Component", [
66
+ const Uc = Pe("Component", [
67
67
  [
68
68
  "path",
69
69
  {
@@ -99,7 +99,7 @@ const Uc = Ve("Component", [
99
99
  * This source code is licensed under the ISC license.
100
100
  * See the LICENSE file in the root directory of this source tree.
101
101
  */
102
- const Dl = Ve("FileCode2", [
102
+ const Dl = Pe("FileCode2", [
103
103
  ["path", { d: "M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4", key: "1pf5j1" }],
104
104
  ["path", { d: "M14 2v4a2 2 0 0 0 2 2h4", key: "tnqrlb" }],
105
105
  ["path", { d: "m5 12-3 3 3 3", key: "oke12k" }],
@@ -111,7 +111,7 @@ const Dl = Ve("FileCode2", [
111
111
  * This source code is licensed under the ISC license.
112
112
  * See the LICENSE file in the root directory of this source tree.
113
113
  */
114
- const Gc = Ve("FileJson2", [
114
+ const Gc = Pe("FileJson2", [
115
115
  ["path", { d: "M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4", key: "1pf5j1" }],
116
116
  ["path", { d: "M14 2v4a2 2 0 0 0 2 2h4", key: "tnqrlb" }],
117
117
  [
@@ -129,7 +129,7 @@ const Gc = Ve("FileJson2", [
129
129
  * This source code is licensed under the ISC license.
130
130
  * See the LICENSE file in the root directory of this source tree.
131
131
  */
132
- const Jc = Ve("Fullscreen", [
132
+ const Jc = Pe("Fullscreen", [
133
133
  ["path", { d: "M3 7V5a2 2 0 0 1 2-2h2", key: "aa7l1z" }],
134
134
  ["path", { d: "M17 3h2a2 2 0 0 1 2 2v2", key: "4qcy5o" }],
135
135
  ["path", { d: "M21 17v2a2 2 0 0 1-2 2h-2", key: "6vwrx8" }],
@@ -142,7 +142,7 @@ const Jc = Ve("Fullscreen", [
142
142
  * This source code is licensed under the ISC license.
143
143
  * See the LICENSE file in the root directory of this source tree.
144
144
  */
145
- const Al = Ve("GitCompareArrows", [
145
+ const Al = Pe("GitCompareArrows", [
146
146
  ["circle", { cx: "5", cy: "6", r: "3", key: "1qnov2" }],
147
147
  ["path", { d: "M12 6h5a2 2 0 0 1 2 2v7", key: "1yj91y" }],
148
148
  ["path", { d: "m15 9-3-3 3-3", key: "1lwv8l" }],
@@ -156,7 +156,7 @@ const Al = Ve("GitCompareArrows", [
156
156
  * This source code is licensed under the ISC license.
157
157
  * See the LICENSE file in the root directory of this source tree.
158
158
  */
159
- const Hc = Ve("Hammer", [
159
+ const Hc = Pe("Hammer", [
160
160
  ["path", { d: "m15 12-8.373 8.373a1 1 0 1 1-3-3L12 9", key: "eefl8a" }],
161
161
  ["path", { d: "m18 15 4-4", key: "16gjal" }],
162
162
  [
@@ -173,7 +173,7 @@ const Hc = Ve("Hammer", [
173
173
  * This source code is licensed under the ISC license.
174
174
  * See the LICENSE file in the root directory of this source tree.
175
175
  */
176
- const Yc = Ve("LayoutList", [
176
+ const Yc = Pe("LayoutList", [
177
177
  ["rect", { width: "7", height: "7", x: "3", y: "3", rx: "1", key: "1g98yp" }],
178
178
  ["rect", { width: "7", height: "7", x: "3", y: "14", rx: "1", key: "1bb6yr" }],
179
179
  ["path", { d: "M14 4h7", key: "3xa0d5" }],
@@ -187,7 +187,7 @@ const Yc = Ve("LayoutList", [
187
187
  * This source code is licensed under the ISC license.
188
188
  * See the LICENSE file in the root directory of this source tree.
189
189
  */
190
- const Qc = Ve("ListEnd", [
190
+ const Qc = Pe("ListEnd", [
191
191
  ["path", { d: "M16 12H3", key: "1a2rj7" }],
192
192
  ["path", { d: "M16 6H3", key: "1wxfjs" }],
193
193
  ["path", { d: "M10 18H3", key: "13769t" }],
@@ -200,7 +200,7 @@ const Qc = Ve("ListEnd", [
200
200
  * This source code is licensed under the ISC license.
201
201
  * See the LICENSE file in the root directory of this source tree.
202
202
  */
203
- const yr = Ve("ListFilter", [
203
+ const yr = Pe("ListFilter", [
204
204
  ["path", { d: "M3 6h18", key: "d0wm0j" }],
205
205
  ["path", { d: "M7 12h10", key: "b7w52i" }],
206
206
  ["path", { d: "M10 18h4", key: "1ulq68" }]
@@ -211,7 +211,7 @@ const yr = Ve("ListFilter", [
211
211
  * This source code is licensed under the ISC license.
212
212
  * See the LICENSE file in the root directory of this source tree.
213
213
  */
214
- const Wc = Ve("ListStart", [
214
+ const Wc = Pe("ListStart", [
215
215
  ["path", { d: "M16 12H3", key: "1a2rj7" }],
216
216
  ["path", { d: "M16 18H3", key: "12xzn7" }],
217
217
  ["path", { d: "M10 6H3", key: "lf8lx7" }],
@@ -224,7 +224,7 @@ const Wc = Ve("ListStart", [
224
224
  * This source code is licensed under the ISC license.
225
225
  * See the LICENSE file in the root directory of this source tree.
226
226
  */
227
- const Xc = Ve("ListX", [
227
+ const Xc = Pe("ListX", [
228
228
  ["path", { d: "M11 12H3", key: "51ecnj" }],
229
229
  ["path", { d: "M16 6H3", key: "1wxfjs" }],
230
230
  ["path", { d: "M16 18H3", key: "12xzn7" }],
@@ -237,7 +237,7 @@ const Xc = Ve("ListX", [
237
237
  * This source code is licensed under the ISC license.
238
238
  * See the LICENSE file in the root directory of this source tree.
239
239
  */
240
- const as = Ve("MoveHorizontal", [
240
+ const as = Pe("MoveHorizontal", [
241
241
  ["path", { d: "m18 8 4 4-4 4", key: "1ak13k" }],
242
242
  ["path", { d: "M2 12h20", key: "9i4pu4" }],
243
243
  ["path", { d: "m6 8-4 4 4 4", key: "15zrgr" }]
@@ -248,7 +248,7 @@ const as = Ve("MoveHorizontal", [
248
248
  * This source code is licensed under the ISC license.
249
249
  * See the LICENSE file in the root directory of this source tree.
250
250
  */
251
- const ns = Ve("MoveVertical", [
251
+ const ns = Pe("MoveVertical", [
252
252
  ["path", { d: "M12 2v20", key: "t6zp3m" }],
253
253
  ["path", { d: "m8 18 4 4 4-4", key: "bh5tu3" }],
254
254
  ["path", { d: "m8 6 4-4 4 4", key: "ybng9g" }]
@@ -259,7 +259,7 @@ const ns = Ve("MoveVertical", [
259
259
  * This source code is licensed under the ISC license.
260
260
  * See the LICENSE file in the root directory of this source tree.
261
261
  */
262
- const Zc = Ve("Palette", [
262
+ const Zc = Pe("Palette", [
263
263
  ["circle", { cx: "13.5", cy: "6.5", r: ".5", fill: "currentColor", key: "1okk4w" }],
264
264
  ["circle", { cx: "17.5", cy: "10.5", r: ".5", fill: "currentColor", key: "f64h9f" }],
265
265
  ["circle", { cx: "8.5", cy: "7.5", r: ".5", fill: "currentColor", key: "fotxhn" }],
@@ -278,7 +278,7 @@ const Zc = Ve("Palette", [
278
278
  * This source code is licensed under the ISC license.
279
279
  * See the LICENSE file in the root directory of this source tree.
280
280
  */
281
- const ed = Ve("PanelRightClose", [
281
+ const ed = Pe("PanelRightClose", [
282
282
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
283
283
  ["path", { d: "M15 3v18", key: "14nvp0" }],
284
284
  ["path", { d: "m8 9 3 3-3 3", key: "12hl5m" }]
@@ -289,7 +289,7 @@ const ed = Ve("PanelRightClose", [
289
289
  * This source code is licensed under the ISC license.
290
290
  * See the LICENSE file in the root directory of this source tree.
291
291
  */
292
- const td = Ve("PanelRight", [
292
+ const td = Pe("PanelRight", [
293
293
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
294
294
  ["path", { d: "M15 3v18", key: "14nvp0" }]
295
295
  ]);
@@ -299,7 +299,7 @@ const td = Ve("PanelRight", [
299
299
  * This source code is licensed under the ISC license.
300
300
  * See the LICENSE file in the root directory of this source tree.
301
301
  */
302
- const Nr = Ve("RotateCcw", [
302
+ const Nr = Pe("RotateCcw", [
303
303
  ["path", { d: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8", key: "1357e3" }],
304
304
  ["path", { d: "M3 3v5h5", key: "1xhq8a" }]
305
305
  ]);
@@ -309,7 +309,7 @@ const Nr = Ve("RotateCcw", [
309
309
  * This source code is licensed under the ISC license.
310
310
  * See the LICENSE file in the root directory of this source tree.
311
311
  */
312
- const Bn = Ve("Rows3", [
312
+ const Bn = Pe("Rows3", [
313
313
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
314
314
  ["path", { d: "M21 9H3", key: "1338ky" }],
315
315
  ["path", { d: "M21 15H3", key: "9uk58r" }]
@@ -320,7 +320,7 @@ const Bn = Ve("Rows3", [
320
320
  * This source code is licensed under the ISC license.
321
321
  * See the LICENSE file in the root directory of this source tree.
322
322
  */
323
- const ad = Ve("Shapes", [
323
+ const ad = Pe("Shapes", [
324
324
  [
325
325
  "path",
326
326
  {
@@ -337,7 +337,7 @@ const ad = Ve("Shapes", [
337
337
  * This source code is licensed under the ISC license.
338
338
  * See the LICENSE file in the root directory of this source tree.
339
339
  */
340
- const nd = Ve("Sigma", [
340
+ const nd = Pe("Sigma", [
341
341
  [
342
342
  "path",
343
343
  {
@@ -352,7 +352,7 @@ const nd = Ve("Sigma", [
352
352
  * This source code is licensed under the ISC license.
353
353
  * See the LICENSE file in the root directory of this source tree.
354
354
  */
355
- const Cs = Ve("SlidersHorizontal", [
355
+ const Cs = Pe("SlidersHorizontal", [
356
356
  ["line", { x1: "21", x2: "14", y1: "4", y2: "4", key: "obuewd" }],
357
357
  ["line", { x1: "10", x2: "3", y1: "4", y2: "4", key: "1q6298" }],
358
358
  ["line", { x1: "21", x2: "12", y1: "12", y2: "12", key: "1iu8h1" }],
@@ -369,7 +369,7 @@ const Cs = Ve("SlidersHorizontal", [
369
369
  * This source code is licensed under the ISC license.
370
370
  * See the LICENSE file in the root directory of this source tree.
371
371
  */
372
- const sd = Ve("Spline", [
372
+ const sd = Pe("Spline", [
373
373
  ["circle", { cx: "19", cy: "5", r: "2", key: "mhkx31" }],
374
374
  ["circle", { cx: "5", cy: "19", r: "2", key: "v8kfzx" }],
375
375
  ["path", { d: "M5 17A12 12 0 0 1 17 5", key: "1okkup" }]
@@ -380,7 +380,7 @@ const sd = Ve("Spline", [
380
380
  * This source code is licensed under the ISC license.
381
381
  * See the LICENSE file in the root directory of this source tree.
382
382
  */
383
- const rd = Ve("SquareFunction", [
383
+ const rd = Pe("SquareFunction", [
384
384
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", ry: "2", key: "1m3agn" }],
385
385
  ["path", { d: "M9 17c2 0 2.8-1 2.8-2.8V10c0-2 1-3.3 3.2-3", key: "m1af9g" }],
386
386
  ["path", { d: "M9 11.2h5.7", key: "3zgcl2" }]
@@ -391,7 +391,7 @@ const rd = Ve("SquareFunction", [
391
391
  * This source code is licensed under the ISC license.
392
392
  * See the LICENSE file in the root directory of this source tree.
393
393
  */
394
- const ld = Ve("SquareSplitVertical", [
394
+ const ld = Pe("SquareSplitVertical", [
395
395
  ["path", { d: "M5 8V5c0-1 1-2 2-2h10c1 0 2 1 2 2v3", key: "1pi83i" }],
396
396
  ["path", { d: "M19 16v3c0 1-1 2-2 2H7c-1 0-2-1-2-2v-3", key: "ido5k7" }],
397
397
  ["line", { x1: "4", x2: "20", y1: "12", y2: "12", key: "1e0a9i" }]
@@ -402,7 +402,7 @@ const ld = Ve("SquareSplitVertical", [
402
402
  * This source code is licensed under the ISC license.
403
403
  * See the LICENSE file in the root directory of this source tree.
404
404
  */
405
- const id = Ve("Tags", [
405
+ const id = Pe("Tags", [
406
406
  ["path", { d: "m15 5 6.3 6.3a2.4 2.4 0 0 1 0 3.4L17 19", key: "1cbfv1" }],
407
407
  [
408
408
  "path",
@@ -419,7 +419,7 @@ const id = Ve("Tags", [
419
419
  * This source code is licensed under the ISC license.
420
420
  * See the LICENSE file in the root directory of this source tree.
421
421
  */
422
- const od = Ve("Wand", [
422
+ const od = Pe("Wand", [
423
423
  ["path", { d: "M15 4V2", key: "z1p9b7" }],
424
424
  ["path", { d: "M15 16v-2", key: "px0unx" }],
425
425
  ["path", { d: "M8 9h2", key: "1g203m" }],
@@ -525,7 +525,7 @@ function cd({
525
525
  var z;
526
526
  return Y.name === ((z = g.target) == null ? void 0 : z.name);
527
527
  }
528
- ), V = {
528
+ ), P = {
529
529
  id: `key-${Date.now()}`,
530
530
  source: {
531
531
  id: `source-${Date.now()}`,
@@ -551,7 +551,7 @@ function cd({
551
551
  }, _ = [...g.joinKeyGroups];
552
552
  _[0] = {
553
553
  ..._[0],
554
- keys: [V]
554
+ keys: [P]
555
555
  }, g.joinKeyGroups = _, x[x.findIndex((Y) => Y.id === b)] = g;
556
556
  }
557
557
  r({
@@ -721,8 +721,8 @@ FROM ${D.name}`;
721
721
  const x = g.joinKeyGroups.filter((R) => R.keys && R.keys.length > 0).map((R) => {
722
722
  const $ = R.keys.filter(
723
723
  (C) => {
724
- var F, w, L, V;
725
- return ((F = C.source) == null ? void 0 : F.name) && ((w = C.target) == null ? void 0 : w.name) && ((L = C.source) == null ? void 0 : L.entityName) && ((V = C.target) == null ? void 0 : V.entityName);
724
+ var F, w, L, P;
725
+ return ((F = C.source) == null ? void 0 : F.name) && ((w = C.target) == null ? void 0 : w.name) && ((L = C.source) == null ? void 0 : L.entityName) && ((P = C.target) == null ? void 0 : P.entityName);
726
726
  }
727
727
  ).map(
728
728
  (C) => `${C.source.entityName}.${C.source.name} ${C.operator} ${C.target.entityName}.${C.target.name}`
@@ -787,7 +787,7 @@ function dd({
787
787
  };
788
788
  return /* @__PURE__ */ a("div", { className: "space-y-6", children: [
789
789
  /* @__PURE__ */ a("div", { className: "space-y-2", children: [
790
- /* @__PURE__ */ e(P, { children: "Base Entity (FROM clause)" }),
790
+ /* @__PURE__ */ e(V, { children: "Base Entity (FROM clause)" }),
791
791
  /* @__PURE__ */ a(
792
792
  te,
793
793
  {
@@ -834,7 +834,7 @@ function dd({
834
834
  ] }),
835
835
  /* @__PURE__ */ a("div", { className: "space-y-4", children: [
836
836
  /* @__PURE__ */ a("div", { className: "flex items-center justify-between", children: [
837
- /* @__PURE__ */ a(P, { children: [
837
+ /* @__PURE__ */ a(V, { children: [
838
838
  "Joins Configuration (",
839
839
  l.joins.length,
840
840
  ")"
@@ -910,7 +910,7 @@ function dd({
910
910
  C && /* @__PURE__ */ a(Ss, { className: "space-y-4 pb-6", children: [
911
911
  /* @__PURE__ */ a("div", { className: "grid grid-cols-1 gap-4 md:grid-cols-3", children: [
912
912
  /* @__PURE__ */ a("div", { className: "space-y-2", children: [
913
- /* @__PURE__ */ e(P, { children: "Source" }),
913
+ /* @__PURE__ */ e(V, { children: "Source" }),
914
914
  /* @__PURE__ */ a(
915
915
  te,
916
916
  {
@@ -958,7 +958,7 @@ function dd({
958
958
  )
959
959
  ] }),
960
960
  /* @__PURE__ */ a("div", { className: "space-y-2", children: [
961
- /* @__PURE__ */ e(P, { children: "Join Type" }),
961
+ /* @__PURE__ */ e(V, { children: "Join Type" }),
962
962
  /* @__PURE__ */ a(
963
963
  te,
964
964
  {
@@ -1007,7 +1007,7 @@ function dd({
1007
1007
  )
1008
1008
  ] }),
1009
1009
  /* @__PURE__ */ a("div", { className: "space-y-2", children: [
1010
- /* @__PURE__ */ e(P, { children: "Target" }),
1010
+ /* @__PURE__ */ e(V, { children: "Target" }),
1011
1011
  /* @__PURE__ */ a(
1012
1012
  te,
1013
1013
  {
@@ -1066,7 +1066,7 @@ function dd({
1066
1066
  ] }),
1067
1067
  A.source.name && A.target.name && R && $ && /* @__PURE__ */ a("div", { className: "space-y-4", children: [
1068
1068
  /* @__PURE__ */ a("div", { className: "flex items-center justify-between", children: [
1069
- /* @__PURE__ */ e(P, { children: "Join Conditions" }),
1069
+ /* @__PURE__ */ e(V, { children: "Join Conditions" }),
1070
1070
  /* @__PURE__ */ a(
1071
1071
  J,
1072
1072
  {
@@ -1088,12 +1088,12 @@ function dd({
1088
1088
  children: [
1089
1089
  /* @__PURE__ */ a("div", { className: "flex items-center justify-between", children: [
1090
1090
  /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
1091
- /* @__PURE__ */ a(P, { children: [
1091
+ /* @__PURE__ */ a(V, { children: [
1092
1092
  "Group ",
1093
1093
  w + 1
1094
1094
  ] }),
1095
1095
  w > 0 && /* @__PURE__ */ a("div", { className: "flex items-center gap-2 rounded-md bg-gray-100 px-2 py-1", children: [
1096
- /* @__PURE__ */ e(P, { className: "text-xs font-normal", children: "Join with:" }),
1096
+ /* @__PURE__ */ e(V, { className: "text-xs font-normal", children: "Join with:" }),
1097
1097
  /* @__PURE__ */ e("span", { className: "text-sm font-medium", children: "OR" })
1098
1098
  ] })
1099
1099
  ] }),
@@ -1139,12 +1139,12 @@ function dd({
1139
1139
  ] })
1140
1140
  ] }),
1141
1141
  /* @__PURE__ */ a("div", { className: "space-y-2", children: [
1142
- F.keys.length === 0 ? /* @__PURE__ */ e("div", { className: "rounded-md border border-dashed p-3 text-center text-sm text-gray-500", children: "No conditions in this group. Add conditions to specify join criteria." }) : /* @__PURE__ */ e("div", { className: "space-y-2", children: F.keys.map((L, V) => /* @__PURE__ */ a(
1142
+ F.keys.length === 0 ? /* @__PURE__ */ e("div", { className: "rounded-md border border-dashed p-3 text-center text-sm text-gray-500", children: "No conditions in this group. Add conditions to specify join criteria." }) : /* @__PURE__ */ e("div", { className: "space-y-2", children: F.keys.map((L, P) => /* @__PURE__ */ a(
1143
1143
  "div",
1144
1144
  {
1145
1145
  className: "flex flex-col items-start gap-2 rounded-md border p-2 sm:flex-row sm:items-center",
1146
1146
  children: [
1147
- V > 0 && /* @__PURE__ */ e("div", { className: "self-center rounded-md bg-gray-100 px-2 py-1 text-xs font-medium", children: F.operator }),
1147
+ P > 0 && /* @__PURE__ */ e("div", { className: "self-center rounded-md bg-gray-100 px-2 py-1 text-xs font-medium", children: F.operator }),
1148
1148
  /* @__PURE__ */ e("div", { className: "mb-2 w-full sm:mb-0 sm:flex-1", children: /* @__PURE__ */ a(
1149
1149
  te,
1150
1150
  {
@@ -1152,7 +1152,7 @@ function dd({
1152
1152
  onValueChange: (_) => D(
1153
1153
  A.id,
1154
1154
  w,
1155
- V,
1155
+ P,
1156
1156
  "sourceColumnName",
1157
1157
  _
1158
1158
  ),
@@ -1189,7 +1189,7 @@ function dd({
1189
1189
  onValueChange: (_) => D(
1190
1190
  A.id,
1191
1191
  w,
1192
- V,
1192
+ P,
1193
1193
  "operator",
1194
1194
  _
1195
1195
  ),
@@ -1247,7 +1247,7 @@ function dd({
1247
1247
  onValueChange: (_) => D(
1248
1248
  A.id,
1249
1249
  w,
1250
- V,
1250
+ P,
1251
1251
  "targetColumnName",
1252
1252
  _
1253
1253
  ),
@@ -1287,14 +1287,14 @@ function dd({
1287
1287
  onClick: () => I(
1288
1288
  A.id,
1289
1289
  w,
1290
- V
1290
+ P
1291
1291
  ),
1292
1292
  children: /* @__PURE__ */ e(We, { className: "size-3.5" })
1293
1293
  }
1294
1294
  )
1295
1295
  ]
1296
1296
  },
1297
- L.id || V
1297
+ L.id || P
1298
1298
  )) }),
1299
1299
  /* @__PURE__ */ a(
1300
1300
  J,
@@ -2508,7 +2508,7 @@ function Id({
2508
2508
  ss
2509
2509
  ), [E, x] = G(!1), [A, R] = G(
2510
2510
  () => fn("inline-query-session")
2511
- ), $ = Fe(null), C = Fe(null), F = Fe(null), w = Fe(0), L = Fe(0), V = Fe(
2511
+ ), $ = Fe(null), C = Fe(null), F = Fe(null), w = Fe(0), L = Fe(0), P = Fe(
2512
2512
  fn("inline-run-token")
2513
2513
  ), _ = Fe(A), Y = Fe(/* @__PURE__ */ new Set()), z = Fe(/* @__PURE__ */ new Map()), Q = Fe(0), le = Fe(""), X = Fe(!1), me = Fe(!1), j = Fe(ss), W = Fe(!1), xe = Fe(null), oe = Fe(() => {
2514
2514
  }), pe = (za = l.apiServiceUrl) == null ? void 0 : za.replace(/\/$/, ""), Ie = pe ? `${pe}/v1/sql/validate` : "/v1/sql/validate", ie = we(
@@ -2544,7 +2544,7 @@ function Id({
2544
2544
  [De]
2545
2545
  ), Ne = we(() => {
2546
2546
  const H = L.current + 1, re = fn("inline-run-token"), ee = fn("inline-query-session");
2547
- return L.current = H, V.current = re, _.current = ee, R(ee), Y.current = /* @__PURE__ */ new Set(), z.current = /* @__PURE__ */ new Map(), Q.current = 0, le.current = "", W.current = !1, ie(() => ({
2547
+ return L.current = H, P.current = re, _.current = ee, R(ee), Y.current = /* @__PURE__ */ new Set(), z.current = /* @__PURE__ */ new Map(), Q.current = 0, le.current = "", W.current = !1, ie(() => ({
2548
2548
  runId: H,
2549
2549
  phase: "drafting",
2550
2550
  attempt: 0,
@@ -2571,7 +2571,7 @@ function Id({
2571
2571
  }), me.current = !0;
2572
2572
  }, [y, m, u]), Je = we(() => {
2573
2573
  X.current = !0;
2574
- }, []), Pe = we(
2574
+ }, []), Ve = we(
2575
2575
  (H, re, ee) => {
2576
2576
  wd(H, {
2577
2577
  runId: re,
@@ -2629,7 +2629,7 @@ function Id({
2629
2629
  if (re === "getUserSql") {
2630
2630
  ce(ee, kr(re), {
2631
2631
  hasTools: !0
2632
- }), Pe("inline_tool_step", ee, { hasTools: !0 }), ($t = C.current) == null || $t.call(C, {
2632
+ }), Ve("inline_tool_step", ee, { hasTools: !0 }), ($t = C.current) == null || $t.call(C, {
2633
2633
  tool: re,
2634
2634
  toolCallId: H.toolCallId,
2635
2635
  output: {
@@ -2656,7 +2656,7 @@ function Id({
2656
2656
  ce(ee, Me, {
2657
2657
  phase: I.phase === "self-healing" ? "self-healing" : "drafting",
2658
2658
  hasTools: !0
2659
- }), Pe("inline_tool_step", ee, { hasTools: !0 });
2659
+ }), Ve("inline_tool_step", ee, { hasTools: !0 });
2660
2660
  const Ye = ((ua = H.input) == null ? void 0 : ua.sql) ?? ((nt = H.args) == null ? void 0 : nt.sql);
2661
2661
  typeof Ye == "string" && Ye.trim().length > 0 && (W.current = !1, k(Ye.trim())), (ma = C.current) == null || ma.call(C, {
2662
2662
  tool: re,
@@ -2670,7 +2670,7 @@ function Id({
2670
2670
  [
2671
2671
  s,
2672
2672
  t,
2673
- Pe,
2673
+ Ve,
2674
2674
  I.phase,
2675
2675
  q,
2676
2676
  He,
@@ -2681,7 +2681,7 @@ function Id({
2681
2681
  if (He !== _.current)
2682
2682
  return;
2683
2683
  const ee = Ir(re);
2684
- if (!ee || ee !== V.current)
2684
+ if (!ee || ee !== P.current)
2685
2685
  return;
2686
2686
  const ke = L.current;
2687
2687
  if (!q(ke))
@@ -2766,13 +2766,13 @@ function Id({
2766
2766
  phase: "idle",
2767
2767
  activeStep: "",
2768
2768
  finalOutcome: "cancelled"
2769
- })), Pe("inline_self_heal_stopped", re, {
2769
+ })), Ve("inline_self_heal_stopped", re, {
2770
2770
  finalOutcome: "cancelled"
2771
2771
  }), (ue || H === "stopped") && It();
2772
2772
  },
2773
2773
  [
2774
2774
  et,
2775
- Pe,
2775
+ Ve,
2776
2776
  ue,
2777
2777
  Ae,
2778
2778
  It,
@@ -2809,7 +2809,7 @@ function Id({
2809
2809
  lastValidation: {
2810
2810
  valid: !0
2811
2811
  }
2812
- })), Pe("inline_draft_validated", re, {
2812
+ })), Ve("inline_draft_validated", re, {
2813
2813
  finalOutcome: "validated"
2814
2814
  }), { status: "valid" };
2815
2815
  const Me = Sd(ye == null ? void 0 : ye.errorCode) || "UNKNOWN", Ye = typeof (ye == null ? void 0 : ye.error) == "string" && ye.error || typeof ((ke = ye == null ? void 0 : ye.details) == null ? void 0 : ke.error) == "string" && ye.details.error || "SQL validation failed. Please revise the query draft.";
@@ -2824,7 +2824,7 @@ function Id({
2824
2824
  error: Ye,
2825
2825
  errorCode: Me
2826
2826
  }
2827
- })), Pe("inline_validation_failed", re, {
2827
+ })), Ve("inline_validation_failed", re, {
2828
2828
  errorCode: Me,
2829
2829
  finalOutcome: "validation_failed"
2830
2830
  }), {
@@ -2858,7 +2858,7 @@ function Id({
2858
2858
  },
2859
2859
  [
2860
2860
  c == null ? void 0 : c.accessToken,
2861
- Pe,
2861
+ Ve,
2862
2862
  q,
2863
2863
  p,
2864
2864
  Ie,
@@ -2884,12 +2884,12 @@ function Id({
2884
2884
  error: ye,
2885
2885
  errorCode: ke
2886
2886
  }
2887
- })), re !== "terminal" && Pe("inline_self_heal_stopped", H, {
2887
+ })), re !== "terminal" && Ve("inline_self_heal_stopped", H, {
2888
2888
  errorCode: ke,
2889
2889
  finalOutcome: Me
2890
2890
  }), W.current = !1;
2891
2891
  },
2892
- [Pe, De, ce]
2892
+ [Ve, De, ce]
2893
2893
  ), nn = we(
2894
2894
  (H) => {
2895
2895
  const re = "Auto-fix stopped (no SQL returned). Open Full Assistant to continue.", ee = "self_heal_no_draft";
@@ -2909,12 +2909,12 @@ function Id({
2909
2909
  error: re,
2910
2910
  errorCode: "UNKNOWN"
2911
2911
  }
2912
- })), Pe("inline_self_heal_stopped", H, {
2912
+ })), Ve("inline_self_heal_stopped", H, {
2913
2913
  errorCode: "UNKNOWN",
2914
2914
  finalOutcome: ee
2915
2915
  }), W.current = !1;
2916
2916
  },
2917
- [Pe, De, ce]
2917
+ [Ve, De, ce]
2918
2918
  );
2919
2919
  oe.current = nn, Se(() => {
2920
2920
  const H = M.trim(), re = L.current;
@@ -2952,7 +2952,7 @@ function Id({
2952
2952
  Q.current = $t, ce(re, ps, {
2953
2953
  phase: "self-healing",
2954
2954
  attempt: $t
2955
- }), Pe("inline_self_heal_attempt", re, {
2955
+ }), Ve("inline_self_heal_attempt", re, {
2956
2956
  attemptCount: $t,
2957
2957
  errorCode: Me.errorCode
2958
2958
  }), W.current = !0, et(), Ae([]), k("");
@@ -2969,14 +2969,14 @@ function Id({
2969
2969
  selectedTableName: o || "",
2970
2970
  contextEntityLabels: Wt
2971
2971
  });
2972
- Ge(ua, V.current);
2972
+ Ge(ua, P.current);
2973
2973
  })(), () => {
2974
2974
  ke = !0;
2975
2975
  };
2976
2976
  }, [
2977
2977
  et,
2978
2978
  N,
2979
- Pe,
2979
+ Ve,
2980
2980
  ue,
2981
2981
  q,
2982
2982
  T,
@@ -2997,7 +2997,7 @@ function Id({
2997
2997
  if (!H)
2998
2998
  return;
2999
2999
  const { runId: re, runToken: ee, chatSessionId: ke } = Ne();
3000
- Pe("inline_draft_started", re, {
3000
+ Ve("inline_draft_started", re, {
3001
3001
  attemptCount: 0,
3002
3002
  hasTools: !1,
3003
3003
  finalOutcome: "drafting"
@@ -3018,7 +3018,7 @@ function Id({
3018
3018
  Ne,
3019
3019
  et,
3020
3020
  t,
3021
- Pe,
3021
+ Ve,
3022
3022
  ue,
3023
3023
  v,
3024
3024
  ve,
@@ -3289,7 +3289,7 @@ function Dd() {
3289
3289
  ), h = Le(
3290
3290
  (ie) => ie.inlineFilterValuesMap[(o == null ? void 0 : o.id) ?? ""]
3291
3291
  ), f = de(
3292
- () => Va(r, o),
3292
+ () => Pa(r, o),
3293
3293
  [r, o]
3294
3294
  ), { manifest: p } = ra(
3295
3295
  ((pe = f == null ? void 0 : f.customCardPreferences) == null ? void 0 : pe.url) || ""
@@ -3315,7 +3315,7 @@ function Dd() {
3315
3315
  const ie = y.findIndex(
3316
3316
  (De) => (De == null ? void 0 : De.id) === (o == null ? void 0 : o.id)
3317
3317
  );
3318
- return ie < 0 ? -1 : Vt(o, ie);
3318
+ return ie < 0 ? -1 : Pt(o, ie);
3319
3319
  }, [y, o]), v = de(() => !f || N !== "multiple" || u < 0 ? o.type : pa(
3320
3320
  o,
3321
3321
  u,
@@ -3340,7 +3340,7 @@ function Dd() {
3340
3340
  ), {
3341
3341
  data: w,
3342
3342
  isLoading: L,
3343
- isFetching: V,
3343
+ isFetching: P,
3344
3344
  isSuccess: _,
3345
3345
  isError: Y,
3346
3346
  error: z,
@@ -3358,10 +3358,10 @@ function Dd() {
3358
3358
  M(ie);
3359
3359
  }
3360
3360
  }, [w, M, D]), Se(() => {
3361
- (L || V) && F(!0), (Y || _) && F(!1), Y && (M([]), D(""));
3361
+ (L || P) && F(!0), (Y || _) && F(!1), Y && (M([]), D(""));
3362
3362
  }, [
3363
3363
  L,
3364
- V,
3364
+ P,
3365
3365
  w,
3366
3366
  D,
3367
3367
  Y,
@@ -3456,14 +3456,14 @@ function Dd() {
3456
3456
  J,
3457
3457
  {
3458
3458
  title: "Shift + Enter",
3459
- disabled: L || V,
3459
+ disabled: L || P,
3460
3460
  onClick: () => {
3461
3461
  X();
3462
3462
  },
3463
3463
  className: "h-8 shrink-0",
3464
3464
  size: "sm",
3465
3465
  children: [
3466
- L || V ? /* @__PURE__ */ e(ea, { className: "mr-2 h-4 w-4 animate-spin" }) : /* @__PURE__ */ e(hi, { className: "mr-2 h-4 w-4" }),
3466
+ L || P ? /* @__PURE__ */ e(ea, { className: "mr-2 h-4 w-4 animate-spin" }) : /* @__PURE__ */ e(hi, { className: "mr-2 h-4 w-4" }),
3467
3467
  "Run"
3468
3468
  ]
3469
3469
  }
@@ -3553,7 +3553,7 @@ function Dd() {
3553
3553
  }
3554
3554
  const Ad = [
3555
3555
  { value: "table", label: "Table", icon: Dn },
3556
- { value: "aggregateTable", label: "Aggregate", icon: Pa },
3556
+ { value: "aggregateTable", label: "Aggregate", icon: Va },
3557
3557
  { value: "pivotTable", label: "Pivot", icon: Os },
3558
3558
  { value: "detailTable", label: "Detail", icon: nl }
3559
3559
  ];
@@ -3671,7 +3671,7 @@ function Ed({ className: t }) {
3671
3671
  }
3672
3672
  ),
3673
3673
  /* @__PURE__ */ a(
3674
- P,
3674
+ V,
3675
3675
  {
3676
3676
  htmlFor: `table-type-${p.value}`,
3677
3677
  className: Z(
@@ -3733,7 +3733,7 @@ function Gs({
3733
3733
  ] }),
3734
3734
  /* @__PURE__ */ a("div", { className: "flex flex-wrap items-center gap-2", children: [
3735
3735
  s && /* @__PURE__ */ e(
3736
- Pt,
3736
+ Vt,
3737
3737
  {
3738
3738
  open: l,
3739
3739
  onOpenChange: h,
@@ -3786,7 +3786,7 @@ function Gs({
3786
3786
  }
3787
3787
  )
3788
3788
  ] }),
3789
- s && /* @__PURE__ */ e(Pt, { open: l, onOpenChange: h, children: /* @__PURE__ */ e(Ut, { className: "space-y-2", children: /* @__PURE__ */ a("div", { className: "mt-3 space-y-2", children: [
3789
+ s && /* @__PURE__ */ e(Vt, { open: l, onOpenChange: h, children: /* @__PURE__ */ e(Ut, { className: "space-y-2", children: /* @__PURE__ */ a("div", { className: "mt-3 space-y-2", children: [
3790
3790
  /* @__PURE__ */ a("div", { className: "flex items-center justify-between", children: [
3791
3791
  /* @__PURE__ */ e("p", { className: "text-xs font-medium text-muted-foreground", children: "Query" }),
3792
3792
  /* @__PURE__ */ e(Ua, { text: s, className: "h-6 w-6" })
@@ -3798,7 +3798,7 @@ function Gs({
3798
3798
  }
3799
3799
  );
3800
3800
  }
3801
- function Vl(t, s) {
3801
+ function Pl(t, s) {
3802
3802
  const n = O((h) => h.card), r = O((h) => h.isDevMode), { switchEditorMode: o, setRunSql: d, runAssistant: i } = be();
3803
3803
  return {
3804
3804
  isDevMode: r,
@@ -3825,7 +3825,7 @@ function Vl(t, s) {
3825
3825
  } : void 0
3826
3826
  };
3827
3827
  }
3828
- function Pl({
3828
+ function Vl({
3829
3829
  // card,
3830
3830
  // showCard,
3831
3831
  className: t,
@@ -3835,7 +3835,7 @@ function Pl({
3835
3835
  const n = O((q) => q.card);
3836
3836
  O((q) => q.isDevMode);
3837
3837
  const r = ((oe = n.customCardPreferences) == null ? void 0 : oe.showCardHeader) ?? !0, o = ((Ie = (pe = n.preferences) == null ? void 0 : pe.displayOptions) == null ? void 0 : Ie.showInlineFilterBar) ?? !0, d = O((q) => q.frame), i = Le((q) => q.dashboard.filters), c = Le((q) => q.selectedSheetId), [l, h] = G(!1), { currentUser: f } = Ms(), { tokenProps: p } = _s(Rs), m = O((q) => q.actions.setRunSql), { updateFilter: N } = sl(), y = i == null ? void 0 : i.find((q) => q.id === d.filterId), u = de(
3838
- () => Va(d, n),
3838
+ () => Pa(d, n),
3839
3839
  [d, n]
3840
3840
  ), { manifest: v } = ra(
3841
3841
  ((ie = u == null ? void 0 : u.customCardPreferences) == null ? void 0 : ie.url) || ""
@@ -3861,7 +3861,7 @@ function Pl({
3861
3861
  const q = B.findIndex(
3862
3862
  (ce) => (ce == null ? void 0 : ce.id) === (n == null ? void 0 : n.id)
3863
3863
  );
3864
- return q < 0 ? -1 : Vt(n, q);
3864
+ return q < 0 ? -1 : Pt(n, q);
3865
3865
  }, [B, n]), k = de(() => !u || T !== "multiple" || M < 0 ? n.type : pa(
3866
3866
  n,
3867
3867
  M,
@@ -3869,7 +3869,7 @@ function Pl({
3869
3869
  ) ?? n.type, [u, T, M, n, S == null ? void 0 : S.slots]), b = k ?? n.type, D = de(
3870
3870
  () => b === n.type ? n : { ...n, type: b },
3871
3871
  [n, b]
3872
- ), I = de(() => k !== n.type ? { ...n, type: k } : n, [n, k]), { data: g, isLoading: E, isFetching: x, errorMessage: A, errorSql: R, pagination: $ } = ht(I), { handleOpenInEditor: C, handleDebugWithAssistant: F } = Vl(A, R || n.sql || n.python), w = de(() => (g == null ? void 0 : g.records) || [], [g == null ? void 0 : g.records]), { setCard: L, updateCardInFrame: V } = be(), { data: _ } = Fs(D), Y = de(() => {
3872
+ ), I = de(() => k !== n.type ? { ...n, type: k } : n, [n, k]), { data: g, isLoading: E, isFetching: x, errorMessage: A, errorSql: R, pagination: $ } = ht(I), { handleOpenInEditor: C, handleDebugWithAssistant: F } = Pl(A, R || n.sql || n.python), w = de(() => (g == null ? void 0 : g.records) || [], [g == null ? void 0 : g.records]), { setCard: L, updateCardInFrame: P } = be(), { data: _ } = Fs(D), Y = de(() => {
3873
3873
  var q;
3874
3874
  return b !== "pivotTable" || !((q = g == null ? void 0 : g.records) != null && q.length) ? null : {
3875
3875
  records: g.records,
@@ -3921,14 +3921,14 @@ function Pl({
3921
3921
  pageSize: ce
3922
3922
  }
3923
3923
  };
3924
- L(Ne), V(Ne), n.sql && ((Je = (ve = n.preferences) == null ? void 0 : ve.tablePrefs) != null && Je.enableDevModePagination) && m(!0);
3924
+ L(Ne), P(Ne), n.sql && ((Je = (ve = n.preferences) == null ? void 0 : ve.tablePrefs) != null && Je.enableDevModePagination) && m(!0);
3925
3925
  }, me = (q) => {
3926
- var ve, Je, Pe, Ge, He;
3927
- const ce = Vs(
3926
+ var ve, Je, Ve, Ge, He;
3927
+ const ce = Ps(
3928
3928
  q,
3929
3929
  (ve = n.config) == null ? void 0 : ve.metricColumns,
3930
3930
  (Je = n.config) == null ? void 0 : Je.groupByColumns,
3931
- (Pe = n.config) == null ? void 0 : Pe.detailColumns
3931
+ (Ve = n.config) == null ? void 0 : Ve.detailColumns
3932
3932
  ), Ne = {
3933
3933
  ...n,
3934
3934
  config: {
@@ -3936,7 +3936,7 @@ function Pl({
3936
3936
  sortByColumns: ce
3937
3937
  }
3938
3938
  };
3939
- L(Ne), V(Ne), n.sql && ((He = (Ge = n.preferences) == null ? void 0 : Ge.tablePrefs) != null && He.enableDevModePagination) && m(!0);
3939
+ L(Ne), P(Ne), n.sql && ((He = (Ge = n.preferences) == null ? void 0 : Ge.tablePrefs) != null && He.enableDevModePagination) && m(!0);
3940
3940
  }, j = de(() => !D.id || !(g != null && g.records) ? null : ll({
3941
3941
  card: D,
3942
3942
  data: g == null ? void 0 : g.records,
@@ -4015,14 +4015,14 @@ function Pl({
4015
4015
  ce,
4016
4016
  n.config
4017
4017
  ), ve = { ...n, config: Ne };
4018
- L(ve), V(ve);
4018
+ L(ve), P(ve);
4019
4019
  },
4020
4020
  onAggregationLabelChange: (ce) => {
4021
4021
  const Ne = Ti(
4022
4022
  ce,
4023
4023
  n.config
4024
4024
  ), ve = { ...n, config: Ne };
4025
- L(ve), V(ve);
4025
+ L(ve), P(ve);
4026
4026
  }
4027
4027
  }
4028
4028
  ) });
@@ -4041,7 +4041,7 @@ function Pl({
4041
4041
  ce,
4042
4042
  n.config
4043
4043
  ), ve = { ...n, config: Ne };
4044
- L(ve), V(ve);
4044
+ L(ve), P(ve);
4045
4045
  },
4046
4046
  isLoading: E || x
4047
4047
  }
@@ -4093,7 +4093,7 @@ function Pl({
4093
4093
  ) })
4094
4094
  ] }),
4095
4095
  y && /* @__PURE__ */ a("div", { className: "flex items-center gap-3", children: [
4096
- /* @__PURE__ */ e(P, { className: "my-1", children: /* @__PURE__ */ e(
4096
+ /* @__PURE__ */ e(V, { className: "my-1", children: /* @__PURE__ */ e(
4097
4097
  Yn,
4098
4098
  {
4099
4099
  value: y.title || y.column,
@@ -4183,7 +4183,7 @@ const rs = ({
4183
4183
  mergedConfig: n,
4184
4184
  onConfigChange: r,
4185
4185
  onCodeChange: o
4186
- }) => /* @__PURE__ */ a(Ps, { defaultValue: "final-config", className: "flex w-1/2 flex-col", children: [
4186
+ }) => /* @__PURE__ */ a(Vs, { defaultValue: "final-config", className: "flex w-1/2 flex-col", children: [
4187
4187
  /* @__PURE__ */ a(Bs, { className: "justify-start rounded-sm rounded-b-none border border-b-0", children: [
4188
4188
  /* @__PURE__ */ e(Zt, { value: "final-config", children: "Config" }),
4189
4189
  /* @__PURE__ */ e(Zt, { value: "custom-config", children: "Changes" }),
@@ -4243,7 +4243,7 @@ const rs = ({
4243
4243
  onApply: r,
4244
4244
  onClose: o
4245
4245
  }) => /* @__PURE__ */ a(ms, { className: "flex items-center", children: [
4246
- /* @__PURE__ */ e(P, { className: "mr-2 text-red-500", children: t }),
4246
+ /* @__PURE__ */ e(V, { className: "mr-2 text-red-500", children: t }),
4247
4247
  /* @__PURE__ */ e(J, { disabled: !s, onClick: n, variant: "outline", children: "Reset" }),
4248
4248
  /* @__PURE__ */ e(J, { onClick: r, variant: "outline", children: "Apply" }),
4249
4249
  /* @__PURE__ */ e(J, { onClick: o, variant: "outline", children: "Close" })
@@ -4332,7 +4332,7 @@ function Fd({
4332
4332
  /* @__PURE__ */ a(xa, { className: "flex h-[600px] grow flex-col overflow-auto sm:min-w-[900px] lg:min-w-[1200px]", children: [
4333
4333
  /* @__PURE__ */ e(Od, {}),
4334
4334
  /* @__PURE__ */ a("div", { className: "flex grow gap-2", children: [
4335
- /* @__PURE__ */ e(En, { FallbackComponent: Ls, children: /* @__PURE__ */ e(Pl, { className: "w-1/2 rounded shadow-none" }) }),
4335
+ /* @__PURE__ */ e(En, { FallbackComponent: Ls, children: /* @__PURE__ */ e(Vl, { className: "w-1/2 rounded shadow-none" }) }),
4336
4336
  /* @__PURE__ */ e(
4337
4337
  Md,
4338
4338
  {
@@ -4466,7 +4466,7 @@ const Er = [
4466
4466
  { id: "map", name: "Map" }
4467
4467
  // { id: 'tableBuilder', name: 'Table Builder' },
4468
4468
  ];
4469
- function Vd({ onChartSelect: t, onClose: s }) {
4469
+ function Pd({ onChartSelect: t, onClose: s }) {
4470
4470
  const [n, r] = G(""), { starredCharts: o, isStarred: d, toggleStar: i } = Mi(), { data: c = [], isLoading: l } = Ri(), { setCardType: h, setCardPreferences: f, setIsDevMode: p } = O(
4471
4471
  (g) => g.actions
4472
4472
  ), m = O((g) => g.card), {
@@ -4582,7 +4582,7 @@ function Vd({ onChartSelect: t, onClose: s }) {
4582
4582
  ] })
4583
4583
  ] });
4584
4584
  }
4585
- function Pd({
4585
+ function Vd({
4586
4586
  selectedChart: t,
4587
4587
  onChartChange: s
4588
4588
  }) {
@@ -4593,7 +4593,7 @@ function Pd({
4593
4593
  initializeModeDrafts: c,
4594
4594
  setIsDevMode: l
4595
4595
  } = be(), h = de(
4596
- () => Va(r, n),
4596
+ () => Pa(r, n),
4597
4597
  [r, n]
4598
4598
  ), { manifest: f } = ra(
4599
4599
  ((b = h == null ? void 0 : h.customCardPreferences) == null ? void 0 : b.url) || ""
@@ -4618,7 +4618,7 @@ function Pd({
4618
4618
  return /* @__PURE__ */ e(x, { className: "h-4 w-4" });
4619
4619
  }
4620
4620
  if (y === "custom" && u) {
4621
- const x = Vi(u);
4621
+ const x = Pi(u);
4622
4622
  return x || /* @__PURE__ */ e(
4623
4623
  dl,
4624
4624
  {
@@ -4674,7 +4674,7 @@ function Js({
4674
4674
  badgeLabel: h,
4675
4675
  handleChartSelect: f,
4676
4676
  handleClearCustomVisual: p
4677
- } = Pd({ selectedChart: t, onChartChange: s });
4677
+ } = Vd({ selectedChart: t, onChartChange: s });
4678
4678
  return /* @__PURE__ */ a("div", { className: Z("relative w-full", r), children: [
4679
4679
  /* @__PURE__ */ a(wt, { open: o, onOpenChange: d, children: [
4680
4680
  /* @__PURE__ */ e(St, { asChild: !0, children: /* @__PURE__ */ a(
@@ -4701,7 +4701,7 @@ function Js({
4701
4701
  align: "start",
4702
4702
  onOpenAutoFocus: (m) => m.preventDefault(),
4703
4703
  children: /* @__PURE__ */ e(
4704
- Vd,
4704
+ Pd,
4705
4705
  {
4706
4706
  onChartSelect: (m) => f(m),
4707
4707
  onClose: () => d(!1)
@@ -4716,7 +4716,7 @@ function Js({
4716
4716
  className: "absolute right-10 top-1/2 z-10 flex max-w-[140px] -translate-y-1/2 items-center gap-1 rounded-full border bg-background py-0.5 pl-2 pr-1 text-[10px] text-muted-foreground shadow-sm",
4717
4717
  title: h,
4718
4718
  children: [
4719
- /* @__PURE__ */ e(Pa, { className: "h-2.5 w-2.5 shrink-0" }),
4719
+ /* @__PURE__ */ e(Va, { className: "h-2.5 w-2.5 shrink-0" }),
4720
4720
  /* @__PURE__ */ e("span", { className: "truncate", children: h }),
4721
4721
  /* @__PURE__ */ e(
4722
4722
  "button",
@@ -5021,7 +5021,7 @@ function Ys({
5021
5021
  items: [],
5022
5022
  strategy: Ca,
5023
5023
  children: /* @__PURE__ */ e(
5024
- Pi,
5024
+ Vi,
5025
5025
  {
5026
5026
  context: "inline-filter",
5027
5027
  onFieldSelect: f,
@@ -5143,7 +5143,7 @@ function qd({
5143
5143
  configCard: n
5144
5144
  }) {
5145
5145
  var $, C, F, w, L;
5146
- const r = O((V) => V.frame), o = O((V) => V.card), {
5146
+ const r = O((P) => P.frame), o = O((P) => P.card), {
5147
5147
  setFrame: d,
5148
5148
  setActiveTabCardId: i,
5149
5149
  setCard: c,
@@ -5153,9 +5153,9 @@ function qd({
5153
5153
  } = be(), { manifest: p } = ra(
5154
5154
  (($ = n == null ? void 0 : n.customCardPreferences) == null ? void 0 : $.url) || ""
5155
5155
  ), m = (C = p == null ? void 0 : p.visuals) == null ? void 0 : C.find(
5156
- (V) => {
5156
+ (P) => {
5157
5157
  var _;
5158
- return V.name === ((_ = n == null ? void 0 : n.customCardPreferences) == null ? void 0 : _.componentName);
5158
+ return P.name === ((_ = n == null ? void 0 : n.customCardPreferences) == null ? void 0 : _.componentName);
5159
5159
  }
5160
5160
  ), y = la(n, m) === "multiple", u = (m == null ? void 0 : m.minInputs) ?? ((F = n == null ? void 0 : n.customCardPreferences) == null ? void 0 : F.minInputs) ?? 1, v = (m == null ? void 0 : m.maxInputs) ?? ((w = n == null ? void 0 : n.customCardPreferences) == null ? void 0 : w.maxInputs), S = de(
5161
5161
  () => Za({
@@ -5164,35 +5164,35 @@ function qd({
5164
5164
  isMultiInputVisual: y
5165
5165
  }),
5166
5166
  [r, n, y]
5167
- ), T = y ? S.filter(Boolean).length : r.cards.length, B = v ? T < v : !0, M = T > Math.max(u || 1, 1), k = !!((L = n == null ? void 0 : n.customCardPreferences) != null && L.dataInputCardIds), b = (V, _) => {
5168
- V.dataTransfer.setData("tabIndex", _.toString());
5169
- }, D = (V) => {
5170
- V.preventDefault();
5171
- }, I = (V, _) => {
5172
- const Y = V.dataTransfer.getData("tabIndex");
5167
+ ), T = y ? S.filter(Boolean).length : r.cards.length, B = v ? T < v : !0, M = T > Math.max(u || 1, 1), k = !!((L = n == null ? void 0 : n.customCardPreferences) != null && L.dataInputCardIds), b = (P, _) => {
5168
+ P.dataTransfer.setData("tabIndex", _.toString());
5169
+ }, D = (P) => {
5170
+ P.preventDefault();
5171
+ }, I = (P, _) => {
5172
+ const Y = P.dataTransfer.getData("tabIndex");
5173
5173
  if (Y === _.toString()) return;
5174
5174
  const z = Array.from(r.cards), [Q] = z.splice(parseInt(Y), 1);
5175
5175
  z.splice(_, 0, Q), d({ ...r, cards: z });
5176
5176
  };
5177
- function g(V) {
5178
- const _ = (n == null ? void 0 : n.id) === V;
5177
+ function g(P) {
5178
+ const _ = (n == null ? void 0 : n.id) === P;
5179
5179
  if (!(k && _ ? r.cards.length > 1 : M)) return;
5180
- let z = r.cards.filter((me) => me.id !== V);
5180
+ let z = r.cards.filter((me) => me.id !== P);
5181
5181
  y && !k && (z = so(z));
5182
5182
  const Q = z[0], le = {
5183
5183
  ...r,
5184
5184
  cards: z,
5185
5185
  // update the active card to the first card in the frame
5186
5186
  activeCardId: Q.id
5187
- }, X = V === o.id;
5187
+ }, X = P === o.id;
5188
5188
  X && h(), d(le), i(Q.id), c(Q), X && f(Q);
5189
5189
  }
5190
- function E(V, _) {
5190
+ function E(P, _) {
5191
5191
  if (!B) return;
5192
5192
  const Y = {
5193
5193
  ...r,
5194
5194
  cards: [...r.cards, _],
5195
- activeCardId: V.id
5195
+ activeCardId: P.id
5196
5196
  };
5197
5197
  d(Y), i(_.id);
5198
5198
  }
@@ -5201,7 +5201,7 @@ function qd({
5201
5201
  A(o);
5202
5202
  return;
5203
5203
  }
5204
- const V = {
5204
+ const P = {
5205
5205
  ...o,
5206
5206
  id: fa(),
5207
5207
  title: `${o.title} Copy`,
@@ -5211,22 +5211,22 @@ function qd({
5211
5211
  slotIndex: y ? Math.max(
5212
5212
  -1,
5213
5213
  ...S.map(
5214
- (_, Y) => Vt(_, Y)
5214
+ (_, Y) => Pt(_, Y)
5215
5215
  )
5216
5216
  ) + 1 : o.customCardPreferences.slotIndex
5217
5217
  } : void 0
5218
5218
  // mode: card.mode || 'explorer', // Preserve mode when copying
5219
5219
  };
5220
- E(o, V);
5220
+ E(o, P);
5221
5221
  }
5222
- function A(V) {
5222
+ function A(P) {
5223
5223
  var X;
5224
5224
  if (!B) return;
5225
5225
  let _ = y ? "table" : "bar", Y = "Title", z = "";
5226
5226
  const Q = y ? Math.max(
5227
5227
  -1,
5228
5228
  ...S.map(
5229
- (me, j) => Vt(me, j)
5229
+ (me, j) => Pt(me, j)
5230
5230
  )
5231
5231
  ) + 1 : T;
5232
5232
  if (y && ((X = m == null ? void 0 : m.slots) != null && X.length)) {
@@ -5237,12 +5237,12 @@ function qd({
5237
5237
  me && (_ = ro(me), Y = me.label || `Tab ${Q + 1}`, z = me.description || "");
5238
5238
  }
5239
5239
  const le = {
5240
- dataSource: V.dataSource,
5241
- connectionId: V.connectionId,
5242
- lastSelectedDatabase: V.lastSelectedDatabase,
5243
- lastSelectedSchema: V.lastSelectedSchema,
5244
- lastSelectedTable: V.lastSelectedTable,
5245
- lastSelectedDatamodelId: V.lastSelectedDatamodelId,
5240
+ dataSource: P.dataSource,
5241
+ connectionId: P.connectionId,
5242
+ lastSelectedDatabase: P.lastSelectedDatabase,
5243
+ lastSelectedSchema: P.lastSelectedSchema,
5244
+ lastSelectedTable: P.lastSelectedTable,
5245
+ lastSelectedDatamodelId: P.lastSelectedDatamodelId,
5246
5246
  id: fa(),
5247
5247
  title: Y,
5248
5248
  tabTitle: Y,
@@ -5266,10 +5266,10 @@ function qd({
5266
5266
  }
5267
5267
  }
5268
5268
  };
5269
- E(V, le);
5269
+ E(P, le);
5270
5270
  }
5271
- function R(V, _) {
5272
- return V.cards.length === 1 && (_.displayTab === !0 || _.displayTab === void 0) || V.activeCardId !== _.id && (_.displayTab === !0 || _.displayTab === void 0) ? null : /* @__PURE__ */ e(
5271
+ function R(P, _) {
5272
+ return P.cards.length === 1 && (_.displayTab === !0 || _.displayTab === void 0) || P.activeCardId !== _.id && (_.displayTab === !0 || _.displayTab === void 0) ? null : /* @__PURE__ */ e(
5273
5273
  "div",
5274
5274
  {
5275
5275
  onClick: () => {
@@ -5284,9 +5284,9 @@ function qd({
5284
5284
  );
5285
5285
  }
5286
5286
  return /* @__PURE__ */ e(Bs, { className: "group ml-2 mr-6 justify-between overflow-x-auto", children: /* @__PURE__ */ a("div", { className: "flex items-center", children: [
5287
- r.cards.map((V, _) => {
5287
+ r.cards.map((P, _) => {
5288
5288
  var X, me;
5289
- const Y = y ? Vt(V, _) : -1, z = y && ((X = m == null ? void 0 : m.slots) != null && X.length) && Y >= 0 ? gs(m.slots, Y) : null, Q = z ? (Array.isArray(z.expectedType) ? z.expectedType[0] : z.expectedType) || "table" : V.type, le = y && ((me = m == null ? void 0 : m.slots) == null ? void 0 : me.length) && m.slots.every(
5289
+ const Y = y ? Pt(P, _) : -1, z = y && ((X = m == null ? void 0 : m.slots) != null && X.length) && Y >= 0 ? gs(m.slots, Y) : null, Q = z ? (Array.isArray(z.expectedType) ? z.expectedType[0] : z.expectedType) || "table" : P.type, le = y && ((me = m == null ? void 0 : m.slots) == null ? void 0 : me.length) && m.slots.every(
5290
5290
  (j) => typeof j.position == "number" || typeof j.position == "string" && !j.position.includes("+")
5291
5291
  );
5292
5292
  return /* @__PURE__ */ a(
@@ -5297,7 +5297,7 @@ function qd({
5297
5297
  onDragOver: y ? void 0 : D,
5298
5298
  onDrop: y ? void 0 : (j) => I(j, _),
5299
5299
  className: "",
5300
- value: V.id,
5300
+ value: P.id,
5301
5301
  children: [
5302
5302
  y && z ? (
5303
5303
  // Multi-input visual: Icon + Slot Label (non-editable, no eye icon)
@@ -5325,22 +5325,22 @@ function qd({
5325
5325
  ) : (
5326
5326
  // Regular tabs: Eye icon + Editable title
5327
5327
  /* @__PURE__ */ a(Ce, { children: [
5328
- R(r, V),
5328
+ R(r, P),
5329
5329
  /* @__PURE__ */ e(
5330
5330
  eo,
5331
5331
  {
5332
- enabled: r.activeCardId === V.id,
5333
- text: V.tabTitle || V.title,
5332
+ enabled: r.activeCardId === P.id,
5333
+ text: P.tabTitle || P.title,
5334
5334
  onSave: (j) => {
5335
5335
  c({ ...o, tabTitle: j }), l({ ...o, tabTitle: j });
5336
5336
  },
5337
- children: V.tabTitle || V.title
5337
+ children: P.tabTitle || P.title
5338
5338
  },
5339
- V.id
5339
+ P.id
5340
5340
  )
5341
5341
  ] })
5342
5342
  ),
5343
- r.activeCardId === V.id && !le && /* @__PURE__ */ e(
5343
+ r.activeCardId === P.id && !le && /* @__PURE__ */ e(
5344
5344
  to,
5345
5345
  {
5346
5346
  className: "ml-2 size-3.5 text-muted-foreground hover:text-foreground",
@@ -5349,16 +5349,16 @@ function qd({
5349
5349
  }
5350
5350
  }
5351
5351
  ),
5352
- r.activeCardId === V.id && (k && (n == null ? void 0 : n.id) === V.id ? r.cards.length > 1 : M) && /* @__PURE__ */ e(
5352
+ r.activeCardId === P.id && (k && (n == null ? void 0 : n.id) === P.id ? r.cards.length > 1 : M) && /* @__PURE__ */ e(
5353
5353
  We,
5354
5354
  {
5355
5355
  className: "ml-2 size-3.5 text-muted-foreground hover:text-foreground",
5356
- onClick: () => g(V.id)
5356
+ onClick: () => g(P.id)
5357
5357
  }
5358
5358
  )
5359
5359
  ]
5360
5360
  },
5361
- V.id
5361
+ P.id
5362
5362
  );
5363
5363
  }),
5364
5364
  /* @__PURE__ */ e(
@@ -5388,9 +5388,9 @@ function qd({
5388
5388
  ] }) });
5389
5389
  }
5390
5390
  function ws() {
5391
- var Je, Pe, Ge, He, kt;
5391
+ var Je, Ve, Ge, He, kt;
5392
5392
  const t = O((fe) => fe.frame), s = O((fe) => fe.card), [n, r] = G(!1), o = de(
5393
- () => Va(t, s),
5393
+ () => Pa(t, s),
5394
5394
  [t, s]
5395
5395
  ), d = O((fe) => fe.isSqlRunning);
5396
5396
  O((fe) => fe.isDevMode);
@@ -5406,7 +5406,7 @@ function ws() {
5406
5406
  () => /* @__PURE__ */ new Set()
5407
5407
  ), { theme: S } = Wr(), T = Le((fe) => fe.themeStyle), { authToken: B } = La(), M = Gi(B == null ? void 0 : B.accessToken), k = {
5408
5408
  mode: S || "system",
5409
- colors: ((Pe = (Je = T == null ? void 0 : T.chart) == null ? void 0 : Je.dataset) == null ? void 0 : Pe.backgroundColor) || []
5409
+ colors: ((Ve = (Je = T == null ? void 0 : T.chart) == null ? void 0 : Je.dataset) == null ? void 0 : Ve.backgroundColor) || []
5410
5410
  }, {
5411
5411
  getCard: b,
5412
5412
  manifest: D,
@@ -5426,7 +5426,7 @@ function ws() {
5426
5426
  const fe = $.findIndex(
5427
5427
  (Re) => (Re == null ? void 0 : Re.id) === s.id
5428
5428
  );
5429
- return fe < 0 ? -1 : Vt(s, fe);
5429
+ return fe < 0 ? -1 : Pt(s, fe);
5430
5430
  }, [$, s]), w = de(() => !o || A !== "multiple" || F < 0 ? s.type : pa(
5431
5431
  s,
5432
5432
  F,
@@ -5439,7 +5439,7 @@ function ws() {
5439
5439
  python: "",
5440
5440
  config: void 0,
5441
5441
  queryConfig: void 0
5442
- } : w !== s.type ? { ...s, type: w } : s, [s, w, R]), { data: V, isLoading: _, isFetching: Y, isError: z } = ht(L), Q = we(
5442
+ } : w !== s.type ? { ...s, type: w } : s, [s, w, R]), { data: P, isLoading: _, isFetching: Y, isError: z } = ht(L), Q = we(
5443
5443
  (fe, Re) => {
5444
5444
  const Ae = Ji(Re);
5445
5445
  y((Ke) => ({
@@ -5517,7 +5517,7 @@ function ws() {
5517
5517
  return /* @__PURE__ */ a("div", { className: "relative flex h-full flex-col pl-2 pr-4", children: [
5518
5518
  $.map((Ae, Ke) => {
5519
5519
  if (!Ae) return null;
5520
- const ft = Vt(Ae, Ke), Ze = pa(
5520
+ const ft = Pt(Ae, Ke), Ze = pa(
5521
5521
  Ae,
5522
5522
  ft,
5523
5523
  x == null ? void 0 : x.slots
@@ -5578,10 +5578,10 @@ function ws() {
5578
5578
  Wi,
5579
5579
  {
5580
5580
  card: s,
5581
- data: V == null ? void 0 : V.records,
5581
+ data: P == null ? void 0 : P.records,
5582
5582
  isPending: _ || Y,
5583
5583
  isError: z,
5584
- comparisonMetadata: (fe = V == null ? void 0 : V.metadata) == null ? void 0 : fe.comparisonMetadata
5584
+ comparisonMetadata: (fe = P == null ? void 0 : P.metadata) == null ? void 0 : fe.comparisonMetadata
5585
5585
  }
5586
5586
  ) }),
5587
5587
  il(s) && /* @__PURE__ */ e(ol, { card: s, mode: "editor" })
@@ -5590,12 +5590,12 @@ function ws() {
5590
5590
  {
5591
5591
  isLoading: d,
5592
5592
  card: s,
5593
- data: V == null ? void 0 : V.records
5593
+ data: P == null ? void 0 : P.records
5594
5594
  }
5595
- ) }) }) }) : /* @__PURE__ */ e(En, { FallbackComponent: Ls, children: /* @__PURE__ */ e(Pl, { className: "grow border-none shadow-none" }) });
5595
+ ) }) }) }) : /* @__PURE__ */ e(En, { FallbackComponent: Ls, children: /* @__PURE__ */ e(Vl, { className: "grow border-none shadow-none" }) });
5596
5596
  }
5597
5597
  return /* @__PURE__ */ a(
5598
- Ps,
5598
+ Vs,
5599
5599
  {
5600
5600
  onValueChange: q,
5601
5601
  value: t.activeCardId,
@@ -5646,7 +5646,7 @@ function Or({
5646
5646
  errorSql: g,
5647
5647
  refetch: E,
5648
5648
  pagination: x
5649
- } = ht(M), { handleDebugWithAssistant: A } = Vl(
5649
+ } = ht(M), { handleDebugWithAssistant: A } = Pl(
5650
5650
  I,
5651
5651
  g
5652
5652
  ), R = de(() => (k == null ? void 0 : k.records) || [], [k == null ? void 0 : k.records]), [$, C] = G(!1);
@@ -5674,7 +5674,7 @@ function Or({
5674
5674
  }
5675
5675
  function w(z) {
5676
5676
  var me, j, W, xe, oe;
5677
- const Q = Vs(
5677
+ const Q = Ps(
5678
5678
  z,
5679
5679
  (me = r.config) == null ? void 0 : me.metricColumns,
5680
5680
  (j = r.config) == null ? void 0 : j.groupByColumns,
@@ -5700,7 +5700,7 @@ function Or({
5700
5700
  console.error("Failed to copy JSON", le);
5701
5701
  });
5702
5702
  }
5703
- function V() {
5703
+ function P() {
5704
5704
  const z = JSON.stringify(k == null ? void 0 : k.records, null, 2), Q = new Blob([z], { type: "application/json" }), le = URL.createObjectURL(Q), X = document.createElement("a");
5705
5705
  X.href = le, X.download = `${r.title}.json`, X.click();
5706
5706
  }
@@ -5821,7 +5821,7 @@ function Or({
5821
5821
  {
5822
5822
  variant: "ghost",
5823
5823
  className: "h-8 w-full justify-start gap-2 px-2 text-sm",
5824
- onClick: V,
5824
+ onClick: P,
5825
5825
  children: [
5826
5826
  /* @__PURE__ */ e(Gc, { className: "h-4 w-4" }),
5827
5827
  /* @__PURE__ */ e("span", { children: "Download JSON" })
@@ -5949,7 +5949,7 @@ function jd() {
5949
5949
  }
5950
5950
  }
5951
5951
  ),
5952
- /* @__PURE__ */ e(P, { htmlFor: "dev-pagination", className: "cursor-pointer text-sm", children: "Paginate" }),
5952
+ /* @__PURE__ */ e(V, { htmlFor: "dev-pagination", className: "cursor-pointer text-sm", children: "Paginate" }),
5953
5953
  ((l = (c = t.preferences) == null ? void 0 : c.tablePrefs) == null ? void 0 : l.enableDevModePagination) && /* @__PURE__ */ a(
5954
5954
  te,
5955
5955
  {
@@ -6182,7 +6182,7 @@ function $l() {
6182
6182
  const t = O(
6183
6183
  (C) => C.card.customCardPreferences
6184
6184
  ), { data: s } = co(), n = (s == null ? void 0 : s.plugins) || [], r = O((C) => C.card), o = O((C) => C.frame), { setCustomCardPreferences: d } = be(), i = de(
6185
- () => Va(o, r),
6185
+ () => Pa(o, r),
6186
6186
  [o, r]
6187
6187
  ), c = i == null ? void 0 : i.customCardPreferences, { components: l, manifest: h } = ra(
6188
6188
  (c == null ? void 0 : c.url) || (t == null ? void 0 : t.url) || ""
@@ -6204,7 +6204,7 @@ function $l() {
6204
6204
  ), T = de(
6205
6205
  () => S.map((C, F) => {
6206
6206
  if (!C) return null;
6207
- const w = Vt(C, F), L = pa(
6207
+ const w = Pt(C, F), L = pa(
6208
6208
  C,
6209
6209
  w,
6210
6210
  f == null ? void 0 : f.slots
@@ -6226,15 +6226,15 @@ function $l() {
6226
6226
  const C = v.findIndex(
6227
6227
  (F) => (F == null ? void 0 : F.id) === r.id
6228
6228
  );
6229
- return C < 0 ? -1 : Vt(r, C);
6229
+ return C < 0 ? -1 : Pt(r, C);
6230
6230
  }, [v, r]);
6231
6231
  function k(C) {
6232
6232
  if (typeof C == "number")
6233
6233
  return `Tab ${C + 1}`;
6234
6234
  const F = C.match(/^(\d+)-(\d+)$/);
6235
6235
  if (F) {
6236
- const [, L, V] = F;
6237
- return `Tabs ${Number(L) + 1}-${Number(V) + 1}`;
6236
+ const [, L, P] = F;
6237
+ return `Tabs ${Number(L) + 1}-${Number(P) + 1}`;
6238
6238
  }
6239
6239
  const w = C.match(/^(\d+)\+$/);
6240
6240
  return w ? `Tabs ${Number(w[1]) + 1}+` : `Tab ${C}`;
@@ -6242,7 +6242,7 @@ function $l() {
6242
6242
  function b(C) {
6243
6243
  return C ? (Array.isArray(C) ? C : [C]).join(", ") : null;
6244
6244
  }
6245
- function D(C, F, w = [], L = "", V, _, Y) {
6245
+ function D(C, F, w = [], L = "", P, _, Y) {
6246
6246
  const z = I({
6247
6247
  key: F,
6248
6248
  defaultValue: L,
@@ -6260,7 +6260,7 @@ function $l() {
6260
6260
  g({
6261
6261
  key: F,
6262
6262
  value: Q,
6263
- settingsField: V,
6263
+ settingsField: P,
6264
6264
  settingsValue: _,
6265
6265
  sourceCard: Y
6266
6266
  });
@@ -6280,7 +6280,7 @@ function $l() {
6280
6280
  g({
6281
6281
  key: F,
6282
6282
  value: Q,
6283
- settingsField: V,
6283
+ settingsField: P,
6284
6284
  settingsValue: _,
6285
6285
  sourceCard: Y
6286
6286
  });
@@ -6294,18 +6294,18 @@ function $l() {
6294
6294
  settingsValue: w,
6295
6295
  sourceCard: L
6296
6296
  }) {
6297
- const V = w == null ? void 0 : w[C];
6298
- return V !== void 0 ? V : C === "title" && (L == null ? void 0 : L.title) !== void 0 ? L.title : C === "description" && (L == null ? void 0 : L.description) !== void 0 ? L.description : F;
6297
+ const P = w == null ? void 0 : w[C];
6298
+ return P !== void 0 ? P : C === "title" && (L == null ? void 0 : L.title) !== void 0 ? L.title : C === "description" && (L == null ? void 0 : L.description) !== void 0 ? L.description : F;
6299
6299
  }
6300
6300
  function g({
6301
6301
  key: C,
6302
6302
  value: F,
6303
6303
  settingsField: w,
6304
6304
  settingsValue: L,
6305
- sourceCard: V
6305
+ sourceCard: P
6306
6306
  }) {
6307
- const _ = { ...L || {} }, Y = C === "title" && (V == null ? void 0 : V.title) !== void 0, z = C === "description" && (V == null ? void 0 : V.description) !== void 0;
6308
- Y && F === String((V == null ? void 0 : V.title) ?? "") || z && F === String((V == null ? void 0 : V.description) ?? "") ? delete _[C] : _[C] = F, d({
6307
+ const _ = { ...L || {} }, Y = C === "title" && (P == null ? void 0 : P.title) !== void 0, z = C === "description" && (P == null ? void 0 : P.description) !== void 0;
6308
+ Y && F === String((P == null ? void 0 : P.title) ?? "") || z && F === String((P == null ? void 0 : P.description) ?? "") ? delete _[C] : _[C] = F, d({
6309
6309
  ...t || {},
6310
6310
  [w]: _
6311
6311
  });
@@ -6315,16 +6315,16 @@ function $l() {
6315
6315
  settingsField: F,
6316
6316
  settingsValue: w,
6317
6317
  sourceCard: L,
6318
- headerLabel: V
6318
+ headerLabel: P
6319
6319
  }) {
6320
6320
  const _ = Object.entries(C || {});
6321
6321
  return /* @__PURE__ */ a("div", { className: "space-y-3", children: [
6322
- V && /* @__PURE__ */ e(P, { children: V }),
6322
+ P && /* @__PURE__ */ e(V, { children: P }),
6323
6323
  _.map(([Y, z]) => {
6324
6324
  var Q;
6325
6325
  return /* @__PURE__ */ a("div", { className: "space-y-2", children: [
6326
6326
  /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
6327
- /* @__PURE__ */ e(P, { children: z.title }),
6327
+ /* @__PURE__ */ e(V, { children: z.title }),
6328
6328
  ((Q = z.docs) == null ? void 0 : Q.description) && /* @__PURE__ */ e(it, { delayDuration: 0, children: /* @__PURE__ */ a(tt, { children: [
6329
6329
  /* @__PURE__ */ e(at, { asChild: !0, children: /* @__PURE__ */ e(Ht, { className: "h-3.5 w-3.5 cursor-help text-muted-foreground" }) }),
6330
6330
  /* @__PURE__ */ e(lt, { side: "right", className: "max-w-xs", children: /* @__PURE__ */ e("p", { className: "text-xs", children: z.docs.description }) })
@@ -6346,7 +6346,7 @@ function $l() {
6346
6346
  function x() {
6347
6347
  return /* @__PURE__ */ a(Ce, { children: [
6348
6348
  m && /* @__PURE__ */ a("div", { className: "space-y-3", children: [
6349
- /* @__PURE__ */ e(P, { children: "Slot Guide" }),
6349
+ /* @__PURE__ */ e(V, { children: "Slot Guide" }),
6350
6350
  /* @__PURE__ */ e("div", { className: "space-y-3 rounded-md border border-border bg-muted/40 px-3 py-2 text-xs", children: f != null && f.slots && f.slots.length > 0 ? /* @__PURE__ */ e("div", { className: "space-y-3", children: f.slots.map((C, F) => /* @__PURE__ */ a("div", { className: "space-y-1", children: [
6351
6351
  /* @__PURE__ */ a("div", { className: "flex items-center gap-2 text-foreground", children: [
6352
6352
  /* @__PURE__ */ e("span", { className: "font-medium", children: k(C.position) }),
@@ -6442,9 +6442,9 @@ function $l() {
6442
6442
  onValueChange: (C) => {
6443
6443
  var L;
6444
6444
  const F = (L = h == null ? void 0 : h.visuals) == null ? void 0 : L.find(
6445
- (V) => V.name === C
6445
+ (P) => P.name === C
6446
6446
  ), w = l == null ? void 0 : l.find(
6447
- (V) => V.name === C
6447
+ (P) => P.name === C
6448
6448
  );
6449
6449
  d({
6450
6450
  ...t,
@@ -6544,7 +6544,7 @@ function Hd({
6544
6544
  }
6545
6545
  return /* @__PURE__ */ a("div", { className: "space-y-3", children: [
6546
6546
  /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
6547
- /* @__PURE__ */ e(P, { children: "Color Range" }),
6547
+ /* @__PURE__ */ e(V, { children: "Color Range" }),
6548
6548
  /* @__PURE__ */ e(
6549
6549
  J,
6550
6550
  {
@@ -6653,13 +6653,13 @@ function Yd() {
6653
6653
  }
6654
6654
  }
6655
6655
  ),
6656
- /* @__PURE__ */ e(P, { children: "Format Number" })
6656
+ /* @__PURE__ */ e(V, { children: "Format Number" })
6657
6657
  ] }),
6658
6658
  (((p = t == null ? void 0 : t.formatNumber) == null ? void 0 : p.enabled) === !0 || r) && /* @__PURE__ */ a("div", { className: "flex flex-col gap-2", children: [
6659
6659
  /* @__PURE__ */ e("div", { children: /* @__PURE__ */ a("div", { className: "space-y-4", children: [
6660
6660
  /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
6661
6661
  /* @__PURE__ */ a("div", { className: "w-full space-y-1", children: [
6662
- /* @__PURE__ */ e(P, { children: "Locale" }),
6662
+ /* @__PURE__ */ e(V, { children: "Locale" }),
6663
6663
  /* @__PURE__ */ a(
6664
6664
  te,
6665
6665
  {
@@ -6685,7 +6685,7 @@ function Yd() {
6685
6685
  )
6686
6686
  ] }),
6687
6687
  /* @__PURE__ */ a("div", { className: "w-full space-y-1", children: [
6688
- /* @__PURE__ */ e(P, { children: "Currency" }),
6688
+ /* @__PURE__ */ e(V, { children: "Currency" }),
6689
6689
  /* @__PURE__ */ a(
6690
6690
  te,
6691
6691
  {
@@ -6713,7 +6713,7 @@ function Yd() {
6713
6713
  ] }),
6714
6714
  /* @__PURE__ */ a("div", { className: "flex gap-2", children: [
6715
6715
  /* @__PURE__ */ a("div", { className: "w-full space-y-1", children: [
6716
- /* @__PURE__ */ e(P, { children: "Decimals" }),
6716
+ /* @__PURE__ */ e(V, { children: "Decimals" }),
6717
6717
  /* @__PURE__ */ a(
6718
6718
  te,
6719
6719
  {
@@ -6735,7 +6735,7 @@ function Yd() {
6735
6735
  )
6736
6736
  ] }),
6737
6737
  /* @__PURE__ */ a("div", { className: "w-full space-y-1", children: [
6738
- /* @__PURE__ */ e(P, { children: "Suffix" }),
6738
+ /* @__PURE__ */ e(V, { children: "Suffix" }),
6739
6739
  /* @__PURE__ */ e(
6740
6740
  je,
6741
6741
  {
@@ -7139,7 +7139,7 @@ function Mr({
7139
7139
  className: Z("space-y-4 [&_summary>svg]:open:-rotate-180", r),
7140
7140
  children: [
7141
7141
  /* @__PURE__ */ a("summary", { className: "flex cursor-pointer list-none items-center justify-between gap-4", children: [
7142
- /* @__PURE__ */ e(P, { children: s }),
7142
+ /* @__PURE__ */ e(V, { children: s }),
7143
7143
  /* @__PURE__ */ e(In, { className: "h-4 w-4" })
7144
7144
  ] }),
7145
7145
  /* @__PURE__ */ e("div", { className: "transition-all ease-in-out", children: t })
@@ -7426,7 +7426,7 @@ function nu() {
7426
7426
  ),
7427
7427
  d && /* @__PURE__ */ a(Ce, { children: [
7428
7428
  /* @__PURE__ */ a("div", { className: "space-y-1", children: [
7429
- /* @__PURE__ */ e(P, { children: "Map Object" }),
7429
+ /* @__PURE__ */ e(V, { children: "Map Object" }),
7430
7430
  /* @__PURE__ */ e(
7431
7431
  _t,
7432
7432
  {
@@ -7448,7 +7448,7 @@ function nu() {
7448
7448
  )
7449
7449
  ] }),
7450
7450
  /* @__PURE__ */ a("div", { className: "space-y-1", children: [
7451
- /* @__PURE__ */ e(P, { children: "Projection" }),
7451
+ /* @__PURE__ */ e(V, { children: "Projection" }),
7452
7452
  /* @__PURE__ */ e(
7453
7453
  _t,
7454
7454
  {
@@ -7470,7 +7470,7 @@ function nu() {
7470
7470
  )
7471
7471
  ] }),
7472
7472
  /* @__PURE__ */ a("div", { className: "space-y-1", children: [
7473
- /* @__PURE__ */ e(P, { children: "Colors" }),
7473
+ /* @__PURE__ */ e(V, { children: "Colors" }),
7474
7474
  /* @__PURE__ */ e(
7475
7475
  _t,
7476
7476
  {
@@ -7514,7 +7514,7 @@ function nu() {
7514
7514
  }
7515
7515
  }
7516
7516
  ),
7517
- /* @__PURE__ */ e(P, { children: "X" }),
7517
+ /* @__PURE__ */ e(V, { children: "X" }),
7518
7518
  /* @__PURE__ */ e(
7519
7519
  je,
7520
7520
  {
@@ -7537,7 +7537,7 @@ function nu() {
7537
7537
  }
7538
7538
  }
7539
7539
  ),
7540
- /* @__PURE__ */ e(P, { children: "Y" }),
7540
+ /* @__PURE__ */ e(V, { children: "Y" }),
7541
7541
  /* @__PURE__ */ e(
7542
7542
  je,
7543
7543
  {
@@ -7653,7 +7653,7 @@ function jl({ color: t, onColorChange: s, onClose: n }) {
7653
7653
  }
7654
7654
  ) }),
7655
7655
  /* @__PURE__ */ a("div", { className: "space-y-2", children: [
7656
- /* @__PURE__ */ e(P, { children: "HEX" }),
7656
+ /* @__PURE__ */ e(V, { children: "HEX" }),
7657
7657
  /* @__PURE__ */ e(
7658
7658
  je,
7659
7659
  {
@@ -7930,7 +7930,7 @@ function qn({
7930
7930
  }, i = () => o === "currency" ? 2 : o === "percent" ? 1 : 0;
7931
7931
  return /* @__PURE__ */ a(Ce, { children: [
7932
7932
  /* @__PURE__ */ a("div", { className: "space-y-2", children: [
7933
- n && /* @__PURE__ */ e(P, { className: "text-xs font-medium text-muted-foreground", children: r }),
7933
+ n && /* @__PURE__ */ e(V, { className: "text-xs font-medium text-muted-foreground", children: r }),
7934
7934
  /* @__PURE__ */ a(
7935
7935
  te,
7936
7936
  {
@@ -7945,7 +7945,7 @@ function qn({
7945
7945
  ] }),
7946
7946
  o !== "auto" && /* @__PURE__ */ a("div", { className: "space-y-2 border-l-2 border-muted pl-4", children: [
7947
7947
  ["number", "currency", "percent"].includes(o) && /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
7948
- /* @__PURE__ */ e(P, { className: "w-20 text-xs text-muted-foreground", children: "Decimals" }),
7948
+ /* @__PURE__ */ e(V, { className: "w-20 text-xs text-muted-foreground", children: "Decimals" }),
7949
7949
  /* @__PURE__ */ e("div", { className: "flex-1", children: /* @__PURE__ */ e(
7950
7950
  je,
7951
7951
  {
@@ -7963,7 +7963,7 @@ function qn({
7963
7963
  ) })
7964
7964
  ] }),
7965
7965
  o === "currency" && /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
7966
- /* @__PURE__ */ e(P, { className: "w-20 text-xs text-muted-foreground", children: "Currency" }),
7966
+ /* @__PURE__ */ e(V, { className: "w-20 text-xs text-muted-foreground", children: "Currency" }),
7967
7967
  /* @__PURE__ */ a(
7968
7968
  te,
7969
7969
  {
@@ -7985,7 +7985,7 @@ function qn({
7985
7985
  )
7986
7986
  ] }),
7987
7987
  ["number", "currency"].includes(o) && /* @__PURE__ */ a("div", { className: "flex items-center justify-between", children: [
7988
- /* @__PURE__ */ e(P, { className: "text-xs text-muted-foreground", children: "Abbreviate (K, M, B)" }),
7988
+ /* @__PURE__ */ e(V, { className: "text-xs text-muted-foreground", children: "Abbreviate (K, M, B)" }),
7989
7989
  /* @__PURE__ */ e(
7990
7990
  _e,
7991
7991
  {
@@ -7995,7 +7995,7 @@ function qn({
7995
7995
  )
7996
7996
  ] }),
7997
7997
  /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
7998
- /* @__PURE__ */ e(P, { className: "w-20 text-xs text-muted-foreground", children: "Locale" }),
7998
+ /* @__PURE__ */ e(V, { className: "w-20 text-xs text-muted-foreground", children: "Locale" }),
7999
7999
  /* @__PURE__ */ a(
8000
8000
  te,
8001
8001
  {
@@ -8017,7 +8017,7 @@ function qn({
8017
8017
  )
8018
8018
  ] }),
8019
8019
  o === "number" && /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
8020
- /* @__PURE__ */ e(P, { className: "w-20 text-xs text-muted-foreground", children: "Prefix" }),
8020
+ /* @__PURE__ */ e(V, { className: "w-20 text-xs text-muted-foreground", children: "Prefix" }),
8021
8021
  /* @__PURE__ */ e("div", { className: "flex-1", children: /* @__PURE__ */ e(
8022
8022
  je,
8023
8023
  {
@@ -8029,7 +8029,7 @@ function qn({
8029
8029
  ) })
8030
8030
  ] }),
8031
8031
  o === "number" && /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
8032
- /* @__PURE__ */ e(P, { className: "w-20 text-xs text-muted-foreground", children: "Suffix" }),
8032
+ /* @__PURE__ */ e(V, { className: "w-20 text-xs text-muted-foreground", children: "Suffix" }),
8033
8033
  /* @__PURE__ */ e("div", { className: "flex-1", children: /* @__PURE__ */ e(
8034
8034
  je,
8035
8035
  {
@@ -8041,7 +8041,7 @@ function qn({
8041
8041
  ) })
8042
8042
  ] }),
8043
8043
  ["number", "currency"].includes(o) && /* @__PURE__ */ a("div", { className: "flex items-center justify-between", children: [
8044
- /* @__PURE__ */ e(P, { className: "text-xs text-muted-foreground", children: "Negative in ()" }),
8044
+ /* @__PURE__ */ e(V, { className: "text-xs text-muted-foreground", children: "Negative in ()" }),
8045
8045
  /* @__PURE__ */ e(
8046
8046
  _e,
8047
8047
  {
@@ -8051,7 +8051,7 @@ function qn({
8051
8051
  )
8052
8052
  ] }),
8053
8053
  o === "percent" && /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
8054
- /* @__PURE__ */ e(P, { className: "w-20 text-xs text-muted-foreground", children: "Multiply By" }),
8054
+ /* @__PURE__ */ e(V, { className: "w-20 text-xs text-muted-foreground", children: "Multiply By" }),
8055
8055
  /* @__PURE__ */ e("div", { className: "flex-1", children: /* @__PURE__ */ e(
8056
8056
  je,
8057
8057
  {
@@ -8067,7 +8067,7 @@ function qn({
8067
8067
  ) })
8068
8068
  ] }),
8069
8069
  o === "date" && /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
8070
- /* @__PURE__ */ e(P, { className: "w-20 text-xs text-muted-foreground", children: "Format" }),
8070
+ /* @__PURE__ */ e(V, { className: "w-20 text-xs text-muted-foreground", children: "Format" }),
8071
8071
  /* @__PURE__ */ e("div", { className: "flex-1", children: /* @__PURE__ */ e(
8072
8072
  je,
8073
8073
  {
@@ -8092,7 +8092,7 @@ function uu() {
8092
8092
  }
8093
8093
  const i = t == null ? void 0 : t.find((c) => c.id === s.filterId);
8094
8094
  return /* @__PURE__ */ a("div", { className: "space-y-3", children: [
8095
- /* @__PURE__ */ e(P, { children: "Card Filter" }),
8095
+ /* @__PURE__ */ e(V, { children: "Card Filter" }),
8096
8096
  /* @__PURE__ */ e(mu, { onSelect: d, columns: r }),
8097
8097
  i && /* @__PURE__ */ e(xo, { filter: i })
8098
8098
  ] });
@@ -8201,7 +8201,7 @@ function fu({
8201
8201
  ] }) }),
8202
8202
  /* @__PURE__ */ a(qe, { className: "space-y-4 pb-4 pt-2", children: [
8203
8203
  /* @__PURE__ */ a("div", { className: "space-y-2", children: [
8204
- /* @__PURE__ */ e(P, { className: "text-xs font-medium uppercase text-muted-foreground", children: "Calculated As" }),
8204
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium uppercase text-muted-foreground", children: "Calculated As" }),
8205
8205
  /* @__PURE__ */ a(
8206
8206
  te,
8207
8207
  {
@@ -8225,7 +8225,7 @@ function fu({
8225
8225
  )
8226
8226
  ] }),
8227
8227
  /* @__PURE__ */ a("div", { className: "space-y-2", children: [
8228
- /* @__PURE__ */ e(P, { className: "text-xs font-medium uppercase text-muted-foreground", children: "Number Format" }),
8228
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium uppercase text-muted-foreground", children: "Number Format" }),
8229
8229
  /* @__PURE__ */ e(
8230
8230
  qn,
8231
8231
  {
@@ -8236,7 +8236,7 @@ function fu({
8236
8236
  )
8237
8237
  ] }),
8238
8238
  /* @__PURE__ */ a("div", { className: "space-y-2", children: [
8239
- /* @__PURE__ */ e(P, { className: "text-xs font-medium uppercase text-muted-foreground", children: "Indicator Style" }),
8239
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium uppercase text-muted-foreground", children: "Indicator Style" }),
8240
8240
  /* @__PURE__ */ a(
8241
8241
  te,
8242
8242
  {
@@ -8260,7 +8260,7 @@ function fu({
8260
8260
  )
8261
8261
  ] }),
8262
8262
  /* @__PURE__ */ a("div", { className: "space-y-2", children: [
8263
- /* @__PURE__ */ e(P, { className: "text-xs font-medium uppercase text-muted-foreground", children: "Colors" }),
8263
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium uppercase text-muted-foreground", children: "Colors" }),
8264
8264
  /* @__PURE__ */ a("div", { className: "space-y-2", children: [
8265
8265
  /* @__PURE__ */ e(
8266
8266
  Jt,
@@ -8304,7 +8304,7 @@ function fu({
8304
8304
  ] })
8305
8305
  ] }),
8306
8306
  /* @__PURE__ */ a("div", { className: "flex items-center justify-between", children: [
8307
- /* @__PURE__ */ e(P, { className: "text-xs font-medium text-muted-foreground", children: "Lower is Better" }),
8307
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium text-muted-foreground", children: "Lower is Better" }),
8308
8308
  /* @__PURE__ */ e(
8309
8309
  mt,
8310
8310
  {
@@ -8372,7 +8372,7 @@ function xu() {
8372
8372
  return /* @__PURE__ */ a("div", { className: "space-y-4 px-6 py-4", children: [
8373
8373
  /* @__PURE__ */ e($n, { chartType: "text" }),
8374
8374
  /* @__PURE__ */ a("div", { className: "space-y-2", children: [
8375
- /* @__PURE__ */ e(P, { children: "Text Type" }),
8375
+ /* @__PURE__ */ e(V, { children: "Text Type" }),
8376
8376
  /* @__PURE__ */ e(gu, {})
8377
8377
  ] })
8378
8378
  ] });
@@ -8417,7 +8417,7 @@ function vu() {
8417
8417
  }), n = pt(), { setCardPreferences: r, updateCardInFrame: o } = be(), d = de(() => n !== t.type ? { ...t, type: n } : t, [t, n]), { data: i } = ht(d), [c, l] = G({}), [h, f] = G(
8418
8418
  null
8419
8419
  ), [p, m] = G(null), N = de(() => {
8420
- var L, V, _, Y, z, Q, le;
8420
+ var L, P, _, Y, z, Q, le;
8421
8421
  if (!(i != null && i.records) || i.records.length === 0) return [];
8422
8422
  const C = n === "stackedBar" || n === "stackedLine", F = n === "bar" || n === "line" || n === "horizontalBar" || n === "bullet" || n === "combo" || n === "area" || n === "stackedArea", w = ((L = t == null ? void 0 : t.config) == null ? void 0 : L.pivotByColumns) && t.config.pivotByColumns.length > 0;
8423
8423
  if ((C || F) && w) {
@@ -8429,7 +8429,7 @@ function vu() {
8429
8429
  }
8430
8430
  if (i.records.length > 0) {
8431
8431
  const X = i.records[0], me = Object.keys(X), j = /* @__PURE__ */ new Set();
8432
- (V = t == null ? void 0 : t.config) != null && V.groupByColumns && t.config.groupByColumns.forEach((oe) => {
8432
+ (P = t == null ? void 0 : t.config) != null && P.groupByColumns && t.config.groupByColumns.forEach((oe) => {
8433
8433
  j.add(oe.label || oe.name), j.add(oe.alias || oe.name);
8434
8434
  });
8435
8435
  const W = /* @__PURE__ */ new Set();
@@ -8485,17 +8485,17 @@ function vu() {
8485
8485
  }
8486
8486
  };
8487
8487
  r(L);
8488
- const V = {
8488
+ const P = {
8489
8489
  ...t,
8490
8490
  preferences: L
8491
8491
  };
8492
- o(V);
8492
+ o(P);
8493
8493
  }, v = (C, F) => {
8494
8494
  var z;
8495
- const w = y[F % y.length], { [C]: L, ...V } = ((z = s == null ? void 0 : s.colorConfig) == null ? void 0 : z.segments) || {}, _ = {
8495
+ const w = y[F % y.length], { [C]: L, ...P } = ((z = s == null ? void 0 : s.colorConfig) == null ? void 0 : z.segments) || {}, _ = {
8496
8496
  ...s || {},
8497
8497
  colorConfig: {
8498
- segments: V
8498
+ segments: P
8499
8499
  }
8500
8500
  };
8501
8501
  r(_);
@@ -8524,8 +8524,8 @@ function vu() {
8524
8524
  };
8525
8525
  o(F);
8526
8526
  const w = {};
8527
- N.forEach((L, V) => {
8528
- w[L] = mr(L, V, void 0);
8527
+ N.forEach((L, P) => {
8528
+ w[L] = mr(L, P, void 0);
8529
8529
  }), l(w);
8530
8530
  }, M = Object.keys((($ = s == null ? void 0 : s.colorConfig) == null ? void 0 : $.segments) || {}).length > 0;
8531
8531
  return /* @__PURE__ */ a(Be, { value: "colors", className: "border-b-0", children: [
@@ -8552,7 +8552,7 @@ function vu() {
8552
8552
  wt,
8553
8553
  {
8554
8554
  open: h === C,
8555
- onOpenChange: (V) => f(V ? C : null),
8555
+ onOpenChange: (P) => f(P ? C : null),
8556
8556
  children: [
8557
8557
  /* @__PURE__ */ e(St, { asChild: !0, children: /* @__PURE__ */ e(
8558
8558
  "button",
@@ -8564,20 +8564,20 @@ function vu() {
8564
8564
  /* @__PURE__ */ e(Tt, { align: "start", className: "w-auto p-3", children: /* @__PURE__ */ a("div", { className: "space-y-2.5", children: [
8565
8565
  /* @__PURE__ */ a("div", { className: "space-y-1", children: [
8566
8566
  /* @__PURE__ */ e("p", { className: "text-xs font-medium text-muted-foreground", children: "Theme Colors" }),
8567
- /* @__PURE__ */ e("div", { className: "grid grid-cols-5 gap-1.5", children: y.slice(0, 10).map((V, _) => /* @__PURE__ */ a(
8567
+ /* @__PURE__ */ e("div", { className: "grid grid-cols-5 gap-1.5", children: y.slice(0, 10).map((P, _) => /* @__PURE__ */ a(
8568
8568
  "button",
8569
8569
  {
8570
8570
  className: Z(
8571
8571
  "relative h-5 w-5 rounded border-2 transition-all hover:scale-110",
8572
- c[C] === V ? "border-gray-900" : "border-transparent"
8572
+ c[C] === P ? "border-gray-900" : "border-transparent"
8573
8573
  ),
8574
- style: { backgroundColor: V },
8574
+ style: { backgroundColor: P },
8575
8575
  onClick: () => {
8576
- u(C, V), f(null);
8576
+ u(C, P), f(null);
8577
8577
  },
8578
8578
  children: [
8579
8579
  _ === F % y.length && /* @__PURE__ */ e("div", { className: "absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ e("div", { className: "rounded-full bg-white/90 px-0.5 text-[8px] font-bold text-gray-900 shadow-sm", children: "D" }) }),
8580
- /* @__PURE__ */ e("span", { className: "sr-only", children: V })
8580
+ /* @__PURE__ */ e("span", { className: "sr-only", children: P })
8581
8581
  ]
8582
8582
  },
8583
8583
  `default-${_}`
@@ -8585,18 +8585,18 @@ function vu() {
8585
8585
  ] }),
8586
8586
  /* @__PURE__ */ a("div", { className: "space-y-1", children: [
8587
8587
  /* @__PURE__ */ e("p", { className: "text-xs font-medium text-muted-foreground", children: "Popular Colors" }),
8588
- /* @__PURE__ */ e("div", { className: "grid grid-cols-5 gap-1.5", children: bu.map((V, _) => /* @__PURE__ */ e(
8588
+ /* @__PURE__ */ e("div", { className: "grid grid-cols-5 gap-1.5", children: bu.map((P, _) => /* @__PURE__ */ e(
8589
8589
  "button",
8590
8590
  {
8591
8591
  className: Z(
8592
8592
  "h-5 w-5 rounded border transition-all hover:scale-110",
8593
- c[C] === V ? "border-2 border-gray-900" : V === "#ffffff" ? "border border-gray-300" : "border border-transparent"
8593
+ c[C] === P ? "border-2 border-gray-900" : P === "#ffffff" ? "border border-gray-300" : "border border-transparent"
8594
8594
  ),
8595
- style: { backgroundColor: V },
8595
+ style: { backgroundColor: P },
8596
8596
  onClick: () => {
8597
- u(C, V), f(null);
8597
+ u(C, P), f(null);
8598
8598
  },
8599
- children: /* @__PURE__ */ e("span", { className: "sr-only", children: V })
8599
+ children: /* @__PURE__ */ e("span", { className: "sr-only", children: P })
8600
8600
  },
8601
8601
  `preset-${_}`
8602
8602
  )) })
@@ -8729,7 +8729,7 @@ function is({ axis: t, label: s, type: n, config: r, onChange: o, defaultTitle:
8729
8729
  [x]: A
8730
8730
  });
8731
8731
  }, l = (x, A) => {
8732
- var F, w, L, V;
8732
+ var F, w, L, P;
8733
8733
  const R = x === "enabled" && A === !0, $ = (F = r == null ? void 0 : r.name) == null ? void 0 : F.text, C = R && !$ && d;
8734
8734
  o({
8735
8735
  ...r ?? {},
@@ -8738,7 +8738,7 @@ function is({ axis: t, label: s, type: n, config: r, onChange: o, defaultTitle:
8738
8738
  enabled: x === "enabled" ? A : ((w = r == null ? void 0 : r.name) == null ? void 0 : w.enabled) ?? !1,
8739
8739
  text: x === "text" ? A : C ? d : $,
8740
8740
  fontSize: x === "fontSize" ? A : (L = r == null ? void 0 : r.name) == null ? void 0 : L.fontSize,
8741
- fontWeight: x === "fontWeight" ? A : (V = r == null ? void 0 : r.name) == null ? void 0 : V.fontWeight
8741
+ fontWeight: x === "fontWeight" ? A : (P = r == null ? void 0 : r.name) == null ? void 0 : P.fontWeight
8742
8742
  }
8743
8743
  });
8744
8744
  }, h = (x, A) => {
@@ -8783,7 +8783,7 @@ function is({ axis: t, label: s, type: n, config: r, onChange: o, defaultTitle:
8783
8783
  }
8784
8784
  ),
8785
8785
  /* @__PURE__ */ e(
8786
- P,
8786
+ V,
8787
8787
  {
8788
8788
  htmlFor: `${t}-title-enabled`,
8789
8789
  className: "text-xs font-medium cursor-pointer",
@@ -8803,7 +8803,7 @@ function is({ axis: t, label: s, type: n, config: r, onChange: o, defaultTitle:
8803
8803
  ),
8804
8804
  /* @__PURE__ */ a("div", { className: "flex items-center gap-3", children: [
8805
8805
  /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
8806
- /* @__PURE__ */ e(P, { className: "text-xs text-muted-foreground", children: "Size" }),
8806
+ /* @__PURE__ */ e(V, { className: "text-xs text-muted-foreground", children: "Size" }),
8807
8807
  /* @__PURE__ */ e("div", { className: "w-14", children: /* @__PURE__ */ e(
8808
8808
  Nt,
8809
8809
  {
@@ -8816,7 +8816,7 @@ function is({ axis: t, label: s, type: n, config: r, onChange: o, defaultTitle:
8816
8816
  ) })
8817
8817
  ] }),
8818
8818
  /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
8819
- /* @__PURE__ */ e(P, { className: "text-xs text-muted-foreground", children: "Weight" }),
8819
+ /* @__PURE__ */ e(V, { className: "text-xs text-muted-foreground", children: "Weight" }),
8820
8820
  /* @__PURE__ */ a(
8821
8821
  te,
8822
8822
  {
@@ -8836,7 +8836,7 @@ function is({ axis: t, label: s, type: n, config: r, onChange: o, defaultTitle:
8836
8836
  ] })
8837
8837
  ] }),
8838
8838
  !i && /* @__PURE__ */ a("div", { className: "space-y-2", children: [
8839
- /* @__PURE__ */ e(P, { className: "text-xs font-medium", children: "POSITION" }),
8839
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium", children: "POSITION" }),
8840
8840
  /* @__PURE__ */ a(
8841
8841
  te,
8842
8842
  {
@@ -8851,7 +8851,7 @@ function is({ axis: t, label: s, type: n, config: r, onChange: o, defaultTitle:
8851
8851
  ] }),
8852
8852
  /* @__PURE__ */ a("div", { className: "space-y-2", children: [
8853
8853
  /* @__PURE__ */ a("div", { className: "flex items-center justify-between", children: [
8854
- /* @__PURE__ */ e(P, { className: "text-xs font-medium", children: "LABELS" }),
8854
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium", children: "LABELS" }),
8855
8855
  /* @__PURE__ */ e(
8856
8856
  _e,
8857
8857
  {
@@ -8861,7 +8861,7 @@ function is({ axis: t, label: s, type: n, config: r, onChange: o, defaultTitle:
8861
8861
  )
8862
8862
  ] }),
8863
8863
  ((B = r == null ? void 0 : r.labels) == null ? void 0 : B.enabled) !== !1 && /* @__PURE__ */ a("div", { className: "space-y-2", children: [
8864
- /* @__PURE__ */ e(P, { className: "text-xs text-muted-foreground", children: "Rotation" }),
8864
+ /* @__PURE__ */ e(V, { className: "text-xs text-muted-foreground", children: "Rotation" }),
8865
8865
  /* @__PURE__ */ a(
8866
8866
  te,
8867
8867
  {
@@ -8891,10 +8891,10 @@ function is({ axis: t, label: s, type: n, config: r, onChange: o, defaultTitle:
8891
8891
  }
8892
8892
  ),
8893
8893
  n === "value" && /* @__PURE__ */ a("div", { className: "space-y-2", children: [
8894
- /* @__PURE__ */ e(P, { className: "text-xs font-medium", children: "SCALE" }),
8894
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium", children: "SCALE" }),
8895
8895
  /* @__PURE__ */ a("div", { className: "space-y-2", children: [
8896
8896
  /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
8897
- /* @__PURE__ */ e(P, { className: "w-8 text-xs text-muted-foreground", children: "Min" }),
8897
+ /* @__PURE__ */ e(V, { className: "w-8 text-xs text-muted-foreground", children: "Min" }),
8898
8898
  /* @__PURE__ */ e("div", { className: "flex-1", children: /* @__PURE__ */ e(
8899
8899
  Nt,
8900
8900
  {
@@ -8907,7 +8907,7 @@ function is({ axis: t, label: s, type: n, config: r, onChange: o, defaultTitle:
8907
8907
  ) })
8908
8908
  ] }),
8909
8909
  /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
8910
- /* @__PURE__ */ e(P, { className: "w-8 text-xs text-muted-foreground", children: "Max" }),
8910
+ /* @__PURE__ */ e(V, { className: "w-8 text-xs text-muted-foreground", children: "Max" }),
8911
8911
  /* @__PURE__ */ e("div", { className: "flex-1", children: /* @__PURE__ */ e(
8912
8912
  Nt,
8913
8913
  {
@@ -8920,7 +8920,7 @@ function is({ axis: t, label: s, type: n, config: r, onChange: o, defaultTitle:
8920
8920
  ) })
8921
8921
  ] }),
8922
8922
  /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
8923
- /* @__PURE__ */ e(P, { className: "w-8 text-xs text-muted-foreground", children: "Step" }),
8923
+ /* @__PURE__ */ e(V, { className: "w-8 text-xs text-muted-foreground", children: "Step" }),
8924
8924
  /* @__PURE__ */ e("div", { className: "flex-1", children: /* @__PURE__ */ e(
8925
8925
  Nt,
8926
8926
  {
@@ -9062,7 +9062,7 @@ function Nu() {
9062
9062
  ] }) }),
9063
9063
  /* @__PURE__ */ e(qe, { className: "pt-2", children: /* @__PURE__ */ a("div", { className: "space-y-3", children: [
9064
9064
  /* @__PURE__ */ a("div", { className: "flex items-center justify-between", children: [
9065
- /* @__PURE__ */ e(P, { className: "text-xs font-medium", children: "Display" }),
9065
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium", children: "Display" }),
9066
9066
  /* @__PURE__ */ e(
9067
9067
  _e,
9068
9068
  {
@@ -9073,7 +9073,7 @@ function Nu() {
9073
9073
  ] }),
9074
9074
  ((n == null ? void 0 : n.display) ?? d) && /* @__PURE__ */ a(Ce, { children: [
9075
9075
  /* @__PURE__ */ a("div", { className: "space-y-2", children: [
9076
- /* @__PURE__ */ e(P, { className: "text-xs font-medium", children: "Position" }),
9076
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium", children: "Position" }),
9077
9077
  /* @__PURE__ */ a(
9078
9078
  te,
9079
9079
  {
@@ -9087,7 +9087,7 @@ function Nu() {
9087
9087
  )
9088
9088
  ] }),
9089
9089
  /* @__PURE__ */ a("div", { className: "space-y-2", children: [
9090
- /* @__PURE__ */ e(P, { className: "text-xs font-medium", children: "Alignment" }),
9090
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium", children: "Alignment" }),
9091
9091
  /* @__PURE__ */ a(
9092
9092
  te,
9093
9093
  {
@@ -9105,7 +9105,7 @@ function Nu() {
9105
9105
  ] });
9106
9106
  }
9107
9107
  function Cu() {
9108
- var F, w, L, V, _, Y, z, Q, le, X, me;
9108
+ var F, w, L, P, _, Y, z, Q, le, X, me;
9109
9109
  const t = O((j) => j.card), s = pt(), n = O(
9110
9110
  (j) => {
9111
9111
  var W, xe;
@@ -9117,7 +9117,7 @@ function Cu() {
9117
9117
  }), { setCardPreferences: o, updateCardInFrame: d } = be();
9118
9118
  if (!t || !To(s))
9119
9119
  return null;
9120
- const i = s === "bullet" ? ((F = r == null ? void 0 : r.bulletConfig) == null ? void 0 : F.orientation) ?? (((w = r == null ? void 0 : r.chartOptions) == null ? void 0 : w.indexAxis) === "x" ? "vertical" : "horizontal") : void 0, c = i != null ? i === "horizontal" : ((L = r == null ? void 0 : r.chartOptions) == null ? void 0 : L.indexAxis) === "y", l = s === "stackedBar" || s === "stackedLine", h = s === "pie" || s === "doughnut" || s === "polarArea" || s === "funnel", f = !h, p = s === "bubble" || s === "scatter", m = (_ = (V = r == null ? void 0 : r.chartOptions) == null ? void 0 : V.plugins) == null ? void 0 : _.datalabels, N = (m == null ? void 0 : m.display) !== !1 && ((m == null ? void 0 : m.anchor) || (m == null ? void 0 : m.align)), y = ko(
9120
+ const i = s === "bullet" ? ((F = r == null ? void 0 : r.bulletConfig) == null ? void 0 : F.orientation) ?? (((w = r == null ? void 0 : r.chartOptions) == null ? void 0 : w.indexAxis) === "x" ? "vertical" : "horizontal") : void 0, c = i != null ? i === "horizontal" : ((L = r == null ? void 0 : r.chartOptions) == null ? void 0 : L.indexAxis) === "y", l = s === "stackedBar" || s === "stackedLine", h = s === "pie" || s === "doughnut" || s === "polarArea" || s === "funnel", f = !h, p = s === "bubble" || s === "scatter", m = (_ = (P = r == null ? void 0 : r.chartOptions) == null ? void 0 : P.plugins) == null ? void 0 : _.datalabels, N = (m == null ? void 0 : m.display) !== !1 && ((m == null ? void 0 : m.anchor) || (m == null ? void 0 : m.align)), y = ko(
9121
9121
  s,
9122
9122
  t.preferences
9123
9123
  ), u = n ?? y, v = (y == null ? void 0 : y.enabled) ?? N ?? !1, S = (n == null ? void 0 : n.enabled) !== void 0 ? n.enabled : v, T = (j, W) => {
@@ -9213,7 +9213,7 @@ function Cu() {
9213
9213
  ] }) }),
9214
9214
  /* @__PURE__ */ e(qe, { className: "pt-2", children: /* @__PURE__ */ a("div", { className: "space-y-3", children: [
9215
9215
  /* @__PURE__ */ a("div", { className: "flex items-center justify-between", children: [
9216
- /* @__PURE__ */ e(P, { className: "text-xs font-medium", children: "Display" }),
9216
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium", children: "Display" }),
9217
9217
  /* @__PURE__ */ e(
9218
9218
  _e,
9219
9219
  {
@@ -9224,7 +9224,7 @@ function Cu() {
9224
9224
  ] }),
9225
9225
  S && /* @__PURE__ */ a(Ce, { children: [
9226
9226
  b && !l && !h && /* @__PURE__ */ a("div", { className: "space-y-2", children: [
9227
- /* @__PURE__ */ e(P, { className: "text-xs font-medium", children: "Position" }),
9227
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium", children: "Position" }),
9228
9228
  /* @__PURE__ */ a(
9229
9229
  te,
9230
9230
  {
@@ -9238,7 +9238,7 @@ function Cu() {
9238
9238
  )
9239
9239
  ] }),
9240
9240
  l && /* @__PURE__ */ a("div", { className: "flex items-center justify-between", children: [
9241
- /* @__PURE__ */ e(P, { className: "text-xs font-medium", children: "Show Total" }),
9241
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium", children: "Show Total" }),
9242
9242
  /* @__PURE__ */ e(
9243
9243
  _e,
9244
9244
  {
@@ -9249,7 +9249,7 @@ function Cu() {
9249
9249
  ] }),
9250
9250
  (u == null ? void 0 : u.position) === "custom" && /* @__PURE__ */ a("div", { className: "space-y-2 pl-4 border-l-2 border-muted", children: [
9251
9251
  /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
9252
- /* @__PURE__ */ e(P, { className: "text-xs text-muted-foreground w-16", children: "Anchor" }),
9252
+ /* @__PURE__ */ e(V, { className: "text-xs text-muted-foreground w-16", children: "Anchor" }),
9253
9253
  /* @__PURE__ */ a(
9254
9254
  te,
9255
9255
  {
@@ -9263,7 +9263,7 @@ function Cu() {
9263
9263
  )
9264
9264
  ] }),
9265
9265
  /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
9266
- /* @__PURE__ */ e(P, { className: "text-xs text-muted-foreground w-16", children: "Align" }),
9266
+ /* @__PURE__ */ e(V, { className: "text-xs text-muted-foreground w-16", children: "Align" }),
9267
9267
  /* @__PURE__ */ a(
9268
9268
  te,
9269
9269
  {
@@ -9278,7 +9278,7 @@ function Cu() {
9278
9278
  ] })
9279
9279
  ] }),
9280
9280
  /* @__PURE__ */ a("div", { className: "space-y-2", children: [
9281
- /* @__PURE__ */ e(P, { className: "text-xs font-medium", children: "Format" }),
9281
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium", children: "Format" }),
9282
9282
  /* @__PURE__ */ a(
9283
9283
  te,
9284
9284
  {
@@ -9295,7 +9295,7 @@ function Cu() {
9295
9295
  ["number", "currency", "percent"].includes(
9296
9296
  u.format
9297
9297
  ) && /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
9298
- /* @__PURE__ */ e(P, { className: "text-xs text-muted-foreground w-20", children: "Decimals" }),
9298
+ /* @__PURE__ */ e(V, { className: "text-xs text-muted-foreground w-20", children: "Decimals" }),
9299
9299
  /* @__PURE__ */ e("div", { className: "flex-1", children: /* @__PURE__ */ e(
9300
9300
  Nt,
9301
9301
  {
@@ -9310,7 +9310,7 @@ function Cu() {
9310
9310
  ) })
9311
9311
  ] }),
9312
9312
  u.format === "currency" && /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
9313
- /* @__PURE__ */ e(P, { className: "text-xs text-muted-foreground w-20", children: "Currency" }),
9313
+ /* @__PURE__ */ e(V, { className: "text-xs text-muted-foreground w-20", children: "Currency" }),
9314
9314
  /* @__PURE__ */ a(
9315
9315
  te,
9316
9316
  {
@@ -9326,7 +9326,7 @@ function Cu() {
9326
9326
  ["number", "currency"].includes(
9327
9327
  u.format
9328
9328
  ) && /* @__PURE__ */ a("div", { className: "flex items-center justify-between", children: [
9329
- /* @__PURE__ */ e(P, { className: "text-xs text-muted-foreground", children: "Abbreviate (K, M, B)" }),
9329
+ /* @__PURE__ */ e(V, { className: "text-xs text-muted-foreground", children: "Abbreviate (K, M, B)" }),
9330
9330
  /* @__PURE__ */ e(
9331
9331
  _e,
9332
9332
  {
@@ -9336,7 +9336,7 @@ function Cu() {
9336
9336
  )
9337
9337
  ] }),
9338
9338
  /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
9339
- /* @__PURE__ */ e(P, { className: "text-xs text-muted-foreground w-20", children: "Locale" }),
9339
+ /* @__PURE__ */ e(V, { className: "text-xs text-muted-foreground w-20", children: "Locale" }),
9340
9340
  /* @__PURE__ */ a(
9341
9341
  te,
9342
9342
  {
@@ -9351,9 +9351,9 @@ function Cu() {
9351
9351
  ] })
9352
9352
  ] }),
9353
9353
  D && /* @__PURE__ */ a("div", { className: "space-y-2", children: [
9354
- /* @__PURE__ */ e(P, { className: "text-xs font-medium", children: "Appearance" }),
9354
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium", children: "Appearance" }),
9355
9355
  /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
9356
- /* @__PURE__ */ e(P, { className: "text-xs text-muted-foreground w-20", children: "Size" }),
9356
+ /* @__PURE__ */ e(V, { className: "text-xs text-muted-foreground w-20", children: "Size" }),
9357
9357
  /* @__PURE__ */ e("div", { className: "flex-1", children: /* @__PURE__ */ e(
9358
9358
  Nt,
9359
9359
  {
@@ -9366,7 +9366,7 @@ function Cu() {
9366
9366
  ) })
9367
9367
  ] }),
9368
9368
  /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
9369
- /* @__PURE__ */ e(P, { className: "text-xs text-muted-foreground w-20", children: "Weight" }),
9369
+ /* @__PURE__ */ e(V, { className: "text-xs text-muted-foreground w-20", children: "Weight" }),
9370
9370
  /* @__PURE__ */ a(
9371
9371
  te,
9372
9372
  {
@@ -9383,7 +9383,7 @@ function Cu() {
9383
9383
  )
9384
9384
  ] }),
9385
9385
  /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
9386
- /* @__PURE__ */ e(P, { className: "text-xs text-muted-foreground w-20", children: "Color" }),
9386
+ /* @__PURE__ */ e(V, { className: "text-xs text-muted-foreground w-20", children: "Color" }),
9387
9387
  /* @__PURE__ */ a(
9388
9388
  te,
9389
9389
  {
@@ -9402,7 +9402,7 @@ function Cu() {
9402
9402
  )
9403
9403
  ] }),
9404
9404
  /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
9405
- /* @__PURE__ */ e(P, { className: "text-xs text-muted-foreground w-20", children: "Rotation" }),
9405
+ /* @__PURE__ */ e(V, { className: "text-xs text-muted-foreground w-20", children: "Rotation" }),
9406
9406
  /* @__PURE__ */ e("div", { className: "flex-1", children: /* @__PURE__ */ e(
9407
9407
  Nt,
9408
9408
  {
@@ -9420,7 +9420,7 @@ function Cu() {
9420
9420
  ] }) })
9421
9421
  ] });
9422
9422
  }
9423
- const Vr = {
9423
+ const Pr = {
9424
9424
  difference: {
9425
9425
  label: "Difference",
9426
9426
  description: "Shows the exact difference between two values.",
@@ -9477,7 +9477,7 @@ function wu() {
9477
9477
  ] }) }),
9478
9478
  /* @__PURE__ */ a(qe, { className: "space-y-4 pb-4 pt-2", children: [
9479
9479
  d && r.length === 2 && /* @__PURE__ */ a("div", { className: "flex items-center justify-between", children: [
9480
- /* @__PURE__ */ e(P, { htmlFor: "enable-comparison", className: "text-xs", children: "Enable Metric Comparison" }),
9480
+ /* @__PURE__ */ e(V, { htmlFor: "enable-comparison", className: "text-xs", children: "Enable Metric Comparison" }),
9481
9481
  /* @__PURE__ */ e(
9482
9482
  _e,
9483
9483
  {
@@ -9495,7 +9495,7 @@ function wu() {
9495
9495
  /* @__PURE__ */ a("div", { className: "space-y-2", children: [
9496
9496
  /* @__PURE__ */ a("div", { className: "flex items-center gap-1", children: [
9497
9497
  /* @__PURE__ */ e(
9498
- P,
9498
+ V,
9499
9499
  {
9500
9500
  htmlFor: "calculation-type",
9501
9501
  className: "text-xs font-medium uppercase text-muted-foreground",
@@ -9505,7 +9505,7 @@ function wu() {
9505
9505
  /* @__PURE__ */ a(tt, { children: [
9506
9506
  /* @__PURE__ */ e(at, { asChild: !0, children: /* @__PURE__ */ e(Ht, { className: "h-3 w-3 cursor-help text-muted-foreground" }) }),
9507
9507
  /* @__PURE__ */ e(lt, { side: "right", className: "max-w-xs", children: (() => {
9508
- const b = l.calculationType || "difference", D = Vr[b];
9508
+ const b = l.calculationType || "difference", D = Pr[b];
9509
9509
  return /* @__PURE__ */ a("div", { className: "space-y-2 text-xs", children: [
9510
9510
  /* @__PURE__ */ e("div", { className: "text-sm font-semibold", children: D == null ? void 0 : D.label }),
9511
9511
  /* @__PURE__ */ e("p", { children: D == null ? void 0 : D.description }),
@@ -9532,7 +9532,7 @@ function wu() {
9532
9532
  }),
9533
9533
  children: [
9534
9534
  /* @__PURE__ */ e(ae, { id: "calculation-type", className: "h-7 text-xs", children: /* @__PURE__ */ e(ne, {}) }),
9535
- /* @__PURE__ */ e(se, { children: Object.entries(Vr).map(([b, D]) => /* @__PURE__ */ e(K, { value: b, className: "text-xs", children: D.label }, b)) })
9535
+ /* @__PURE__ */ e(se, { children: Object.entries(Pr).map(([b, D]) => /* @__PURE__ */ e(K, { value: b, className: "text-xs", children: D.label }, b)) })
9536
9536
  ]
9537
9537
  }
9538
9538
  )
@@ -9547,9 +9547,9 @@ function wu() {
9547
9547
  }
9548
9548
  ),
9549
9549
  (p || d) && /* @__PURE__ */ a("div", { className: "space-y-3 border-t pt-3", children: [
9550
- /* @__PURE__ */ e(P, { className: "text-xs font-medium uppercase text-muted-foreground", children: "Indicator" }),
9550
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium uppercase text-muted-foreground", children: "Indicator" }),
9551
9551
  d && /* @__PURE__ */ a("div", { className: "flex items-center justify-between", children: [
9552
- /* @__PURE__ */ e(P, { className: "text-xs text-muted-foreground", children: "Position" }),
9552
+ /* @__PURE__ */ e(V, { className: "text-xs text-muted-foreground", children: "Position" }),
9553
9553
  /* @__PURE__ */ a(
9554
9554
  te,
9555
9555
  {
@@ -9578,7 +9578,7 @@ function wu() {
9578
9578
  }
9579
9579
  ),
9580
9580
  /* @__PURE__ */ e(
9581
- P,
9581
+ V,
9582
9582
  {
9583
9583
  htmlFor: "show-arrow",
9584
9584
  className: "cursor-pointer text-xs text-muted-foreground",
@@ -9596,7 +9596,7 @@ function wu() {
9596
9596
  }
9597
9597
  ),
9598
9598
  /* @__PURE__ */ e(
9599
- P,
9599
+ V,
9600
9600
  {
9601
9601
  htmlFor: "show-color",
9602
9602
  className: "cursor-pointer text-xs text-muted-foreground",
@@ -9647,7 +9647,7 @@ function wu() {
9647
9647
  ] })
9648
9648
  ] }),
9649
9649
  /* @__PURE__ */ a("div", { className: "space-y-3 border-t pt-3", children: [
9650
- /* @__PURE__ */ e(P, { className: "text-xs font-medium uppercase text-muted-foreground", children: "Label" }),
9650
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium uppercase text-muted-foreground", children: "Label" }),
9651
9651
  /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
9652
9652
  /* @__PURE__ */ e(
9653
9653
  mt,
@@ -9660,7 +9660,7 @@ function wu() {
9660
9660
  }
9661
9661
  ),
9662
9662
  /* @__PURE__ */ e(
9663
- P,
9663
+ V,
9664
9664
  {
9665
9665
  htmlFor: "conditional-label",
9666
9666
  className: "cursor-pointer text-xs text-muted-foreground",
@@ -9673,7 +9673,7 @@ function wu() {
9673
9673
  /* @__PURE__ */ a("div", { className: "space-y-3 border-l-2 border-muted pl-3", children: [
9674
9674
  /* @__PURE__ */ a("div", { className: "space-y-2", children: [
9675
9675
  /* @__PURE__ */ a(
9676
- P,
9676
+ V,
9677
9677
  {
9678
9678
  htmlFor: "label-increase",
9679
9679
  className: "text-xs text-muted-foreground",
@@ -9703,7 +9703,7 @@ function wu() {
9703
9703
  ] }),
9704
9704
  /* @__PURE__ */ a("div", { className: "space-y-2", children: [
9705
9705
  /* @__PURE__ */ a(
9706
- P,
9706
+ V,
9707
9707
  {
9708
9708
  htmlFor: "label-decrease",
9709
9709
  className: "text-xs text-muted-foreground",
@@ -9733,7 +9733,7 @@ function wu() {
9733
9733
  ] }),
9734
9734
  /* @__PURE__ */ a("div", { className: "space-y-2", children: [
9735
9735
  /* @__PURE__ */ e(
9736
- P,
9736
+ V,
9737
9737
  {
9738
9738
  htmlFor: "label-no-change",
9739
9739
  className: "text-xs text-muted-foreground",
@@ -9762,7 +9762,7 @@ function wu() {
9762
9762
  // Single label when not conditional
9763
9763
  /* @__PURE__ */ a("div", { className: "space-y-2", children: [
9764
9764
  /* @__PURE__ */ e(
9765
- P,
9765
+ V,
9766
9766
  {
9767
9767
  htmlFor: "label-name",
9768
9768
  className: "text-xs text-muted-foreground",
@@ -9854,7 +9854,7 @@ function Tu() {
9854
9854
  /* @__PURE__ */ a("div", { className: "flex items-start gap-2 rounded-md border border-border px-3 py-2", children: [
9855
9855
  /* @__PURE__ */ e(Yt, { id: "treemap-color-branch", value: "branch" }),
9856
9856
  /* @__PURE__ */ a(
9857
- P,
9857
+ V,
9858
9858
  {
9859
9859
  htmlFor: "treemap-color-branch",
9860
9860
  className: "flex flex-col text-sm font-normal leading-tight",
@@ -9868,7 +9868,7 @@ function Tu() {
9868
9868
  /* @__PURE__ */ a("div", { className: "flex items-start gap-2 rounded-md border border-border px-3 py-2", children: [
9869
9869
  /* @__PURE__ */ e(Yt, { id: "treemap-color-category", value: "category" }),
9870
9870
  /* @__PURE__ */ a(
9871
- P,
9871
+ V,
9872
9872
  {
9873
9873
  htmlFor: "treemap-color-category",
9874
9874
  className: "flex flex-col text-sm font-normal leading-tight",
@@ -9934,7 +9934,7 @@ function Iu() {
9934
9934
  children: [
9935
9935
  /* @__PURE__ */ e(Yt, { id: `heatmap-${m}`, value: m }),
9936
9936
  /* @__PURE__ */ a(
9937
- P,
9937
+ V,
9938
9938
  {
9939
9939
  htmlFor: `heatmap-${m}`,
9940
9940
  className: "flex w-full flex-col gap-1 text-sm font-normal",
@@ -9960,7 +9960,7 @@ function Iu() {
9960
9960
  /* @__PURE__ */ a("div", { className: "flex flex-col gap-2 rounded-md border border-border px-3 py-2", children: [
9961
9961
  /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
9962
9962
  /* @__PURE__ */ e(Yt, { id: "heatmap-custom", value: "custom" }),
9963
- /* @__PURE__ */ e(P, { htmlFor: "heatmap-custom", className: "text-sm font-medium", children: "Custom colors" })
9963
+ /* @__PURE__ */ e(V, { htmlFor: "heatmap-custom", className: "text-sm font-medium", children: "Custom colors" })
9964
9964
  ] }),
9965
9965
  d === "custom" && /* @__PURE__ */ a("div", { className: "flex flex-col gap-3 pl-6", children: [
9966
9966
  /* @__PURE__ */ e(
@@ -9985,7 +9985,7 @@ function Iu() {
9985
9985
  }
9986
9986
  ),
9987
9987
  /* @__PURE__ */ a("div", { className: "space-y-2", children: [
9988
- /* @__PURE__ */ e(P, { className: "text-xs font-medium", children: "Color scale position" }),
9988
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium", children: "Color scale position" }),
9989
9989
  /* @__PURE__ */ a(
9990
9990
  te,
9991
9991
  {
@@ -10003,7 +10003,7 @@ function Iu() {
10003
10003
  ] })
10004
10004
  ] }) : null;
10005
10005
  }
10006
- const Pr = ["poor", "satisfactory", "good"];
10006
+ const Vr = ["poor", "satisfactory", "good"];
10007
10007
  function Br(t) {
10008
10008
  if (!t) return;
10009
10009
  const s = { ...t };
@@ -10055,12 +10055,12 @@ function Du() {
10055
10055
  !d.targetMetricKey && w && (C.targetMetricKey = w, F = !0);
10056
10056
  const L = (Q = v[2]) == null ? void 0 : Q.value;
10057
10057
  !d.comparativeMetricKey && !d.disableAutoComparative && L && (C.comparativeMetricKey = L, F = !0);
10058
- const V = v.slice(3), _ = {
10058
+ const P = v.slice(3), _ = {
10059
10059
  ...d.rangeKeys || {}
10060
10060
  };
10061
10061
  let Y = !1;
10062
- if (Pr.forEach((le, X) => {
10063
- !_[le] && V[X] && (_[le] = V[X].value, Y = !0);
10062
+ if (Vr.forEach((le, X) => {
10063
+ !_[le] && P[X] && (_[le] = P[X].value, Y = !0);
10064
10064
  }), Y && (C.rangeKeys = _, F = !0, d.showRanges === void 0 && (C.showRanges = !0)), F) {
10065
10065
  const le = Br({
10066
10066
  ...d,
@@ -10156,7 +10156,7 @@ function Du() {
10156
10156
  /* @__PURE__ */ a(qe, { className: "space-y-6 border-t border-border/50 py-4", children: [
10157
10157
  /* @__PURE__ */ a("section", { className: "space-y-4", children: [
10158
10158
  /* @__PURE__ */ a("div", { className: "space-y-1.5", children: [
10159
- /* @__PURE__ */ e(P, { className: "text-xs font-medium", children: "ORIENTATION" }),
10159
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium", children: "ORIENTATION" }),
10160
10160
  /* @__PURE__ */ a(
10161
10161
  te,
10162
10162
  {
@@ -10173,7 +10173,7 @@ function Du() {
10173
10173
  )
10174
10174
  ] }),
10175
10175
  c && /* @__PURE__ */ a("div", { className: "space-y-1.5", children: [
10176
- /* @__PURE__ */ e(P, { className: "text-xs font-medium", children: "TARGET METRIC" }),
10176
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium", children: "TARGET METRIC" }),
10177
10177
  /* @__PURE__ */ a(
10178
10178
  te,
10179
10179
  {
@@ -10200,7 +10200,7 @@ function Du() {
10200
10200
  )
10201
10201
  ] }),
10202
10202
  /* @__PURE__ */ a("div", { className: "space-y-1.5", children: [
10203
- /* @__PURE__ */ e(P, { className: "text-xs font-medium", children: "COMPARATIVE METRIC" }),
10203
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium", children: "COMPARATIVE METRIC" }),
10204
10204
  c ? /* @__PURE__ */ a(
10205
10205
  te,
10206
10206
  {
@@ -10237,7 +10237,7 @@ function Du() {
10237
10237
  ] })
10238
10238
  ] }),
10239
10239
  /* @__PURE__ */ a("div", { className: "space-y-1.5", children: [
10240
- /* @__PURE__ */ e(P, { className: "text-xs font-medium", children: "TARGET VALUE (FALLBACK)" }),
10240
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium", children: "TARGET VALUE (FALLBACK)" }),
10241
10241
  /* @__PURE__ */ e(
10242
10242
  ot,
10243
10243
  {
@@ -10254,7 +10254,7 @@ function Du() {
10254
10254
  /* @__PURE__ */ a("div", { className: "space-y-3", children: [
10255
10255
  /* @__PURE__ */ a("div", { className: "flex items-center justify-between gap-2", children: [
10256
10256
  /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
10257
- /* @__PURE__ */ e(P, { className: "text-xs font-medium", children: "QUALITATIVE RANGES" }),
10257
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium", children: "QUALITATIVE RANGES" }),
10258
10258
  /* @__PURE__ */ e(it, { children: /* @__PURE__ */ a(tt, { delayDuration: 200, children: [
10259
10259
  /* @__PURE__ */ e(at, { asChild: !0, children: /* @__PURE__ */ e(
10260
10260
  "button",
@@ -10289,15 +10289,15 @@ function Du() {
10289
10289
  /* @__PURE__ */ e("span", { children: "Use % of value" })
10290
10290
  ] })
10291
10291
  ] }),
10292
- l && /* @__PURE__ */ e("div", { className: "space-y-3", children: Pr.map((C) => {
10293
- var F, w, L, V, _;
10292
+ l && /* @__PURE__ */ e("div", { className: "space-y-3", children: Vr.map((C) => {
10293
+ var F, w, L, P, _;
10294
10294
  return /* @__PURE__ */ a(
10295
10295
  "div",
10296
10296
  {
10297
10297
  className: "space-y-2 rounded-md border border-border/60 bg-muted/40 p-3",
10298
10298
  children: [
10299
10299
  /* @__PURE__ */ a("div", { className: "space-y-1.5", children: [
10300
- /* @__PURE__ */ a(P, { className: "text-[11px] font-medium uppercase tracking-wide", children: [
10300
+ /* @__PURE__ */ a(V, { className: "text-[11px] font-medium uppercase tracking-wide", children: [
10301
10301
  C,
10302
10302
  " LABEL"
10303
10303
  ] }),
@@ -10312,7 +10312,7 @@ function Du() {
10312
10312
  )
10313
10313
  ] }),
10314
10314
  c ? /* @__PURE__ */ a("div", { className: "space-y-1.5", children: [
10315
- /* @__PURE__ */ a(P, { className: "text-[11px] font-medium uppercase tracking-wide", children: [
10315
+ /* @__PURE__ */ a(V, { className: "text-[11px] font-medium uppercase tracking-wide", children: [
10316
10316
  C,
10317
10317
  " COLUMN"
10318
10318
  ] }),
@@ -10338,7 +10338,7 @@ function Du() {
10338
10338
  }
10339
10339
  )
10340
10340
  ] }) : /* @__PURE__ */ a("div", { className: "space-y-1.5", children: [
10341
- /* @__PURE__ */ a(P, { className: "text-[11px] font-medium uppercase tracking-wide", children: [
10341
+ /* @__PURE__ */ a(V, { className: "text-[11px] font-medium uppercase tracking-wide", children: [
10342
10342
  C,
10343
10343
  " COLUMN KEY"
10344
10344
  ] }),
@@ -10353,7 +10353,7 @@ function Du() {
10353
10353
  )
10354
10354
  ] }),
10355
10355
  /* @__PURE__ */ a("div", { className: "space-y-1.5", children: [
10356
- /* @__PURE__ */ a(P, { className: "text-[11px] font-medium uppercase tracking-wide", children: [
10356
+ /* @__PURE__ */ a(V, { className: "text-[11px] font-medium uppercase tracking-wide", children: [
10357
10357
  C,
10358
10358
  " VALUE"
10359
10359
  ] }),
@@ -10362,7 +10362,7 @@ function Du() {
10362
10362
  {
10363
10363
  type: "number",
10364
10364
  placeholder: f ? "0.80" : "Static value",
10365
- value: ((V = d.ranges) == null ? void 0 : V[C]) === void 0 ? "" : String((_ = d.ranges) == null ? void 0 : _[C]),
10365
+ value: ((P = d.ranges) == null ? void 0 : P[C]) === void 0 ? "" : String((_ = d.ranges) == null ? void 0 : _[C]),
10366
10366
  onCommit: (Y) => B(C, Y),
10367
10367
  className: "h-8 text-xs"
10368
10368
  }
@@ -10390,14 +10390,14 @@ function Au() {
10390
10390
  [t == null ? void 0 : t.bubbleScatterConfig]
10391
10391
  ), f = en(s == null ? void 0 : s.config) && !r, p = de(() => {
10392
10392
  var w, L;
10393
- return ((L = (w = s == null ? void 0 : s.config) == null ? void 0 : w.metricColumns) == null ? void 0 : L.map((V) => {
10394
- const _ = V.label || V.name || V.alias || "";
10393
+ return ((L = (w = s == null ? void 0 : s.config) == null ? void 0 : w.metricColumns) == null ? void 0 : L.map((P) => {
10394
+ const _ = P.label || P.name || P.alias || "";
10395
10395
  return { value: _, label: _ };
10396
10396
  })) || [];
10397
10397
  }, [(k = s == null ? void 0 : s.config) == null ? void 0 : k.metricColumns]), m = de(() => {
10398
10398
  var w, L;
10399
- return ((L = (w = s == null ? void 0 : s.config) == null ? void 0 : w.groupByColumns) == null ? void 0 : L.map((V) => {
10400
- const _ = V.label || V.name || V.alias || "";
10399
+ return ((L = (w = s == null ? void 0 : s.config) == null ? void 0 : w.groupByColumns) == null ? void 0 : L.map((P) => {
10400
+ const _ = P.label || P.name || P.alias || "";
10401
10401
  return { value: _, label: _ };
10402
10402
  })) || [];
10403
10403
  }, [(b = s == null ? void 0 : s.config) == null ? void 0 : b.groupByColumns]), N = de(() => l.enableGrouping !== void 0 ? l.enableGrouping : !r && m.length >= 2, [l.enableGrouping, r, m.length]), [y, u] = G(N);
@@ -10424,11 +10424,11 @@ function Au() {
10424
10424
  const w = {};
10425
10425
  let L = !1;
10426
10426
  if (!l.xMetricKey && p[0] && (w.xMetricKey = p[0].value, L = !0), !l.yMetricKey && p[1] && (w.yMetricKey = p[1].value, L = !0), i && !l.radiusMetricKey && p[2] && (w.radiusMetricKey = p[2].value, L = !0), !l.labelKey && m[0] && (w.labelKey = m[0].value, L = !0), N && !l.groupKey && m[1] && (w.groupKey = m[1].value, w.enableGrouping = !0, L = !0), L) {
10427
- const V = $r({
10427
+ const P = $r({
10428
10428
  ...l,
10429
10429
  ...w
10430
10430
  });
10431
- v(V);
10431
+ v(P);
10432
10432
  }
10433
10433
  }, [
10434
10434
  p,
@@ -10469,7 +10469,7 @@ function Au() {
10469
10469
  ] }) })
10470
10470
  ] }),
10471
10471
  /* @__PURE__ */ a("div", { className: "space-y-1", children: [
10472
- /* @__PURE__ */ e(P, { className: "text-xs", children: "Label Column" }),
10472
+ /* @__PURE__ */ e(V, { className: "text-xs", children: "Label Column" }),
10473
10473
  f ? /* @__PURE__ */ a(
10474
10474
  te,
10475
10475
  {
@@ -10491,7 +10491,7 @@ function Au() {
10491
10491
  )
10492
10492
  ] }),
10493
10493
  /* @__PURE__ */ a("div", { className: "flex items-center justify-between", children: [
10494
- /* @__PURE__ */ e(P, { className: "text-xs", children: "Group points into series" }),
10494
+ /* @__PURE__ */ e(V, { className: "text-xs", children: "Group points into series" }),
10495
10495
  /* @__PURE__ */ e(
10496
10496
  _e,
10497
10497
  {
@@ -10501,7 +10501,7 @@ function Au() {
10501
10501
  )
10502
10502
  ] }),
10503
10503
  y && /* @__PURE__ */ a("div", { className: "space-y-1", children: [
10504
- /* @__PURE__ */ e(P, { className: "text-xs", children: "Group By" }),
10504
+ /* @__PURE__ */ e(V, { className: "text-xs", children: "Group By" }),
10505
10505
  f ? /* @__PURE__ */ a(
10506
10506
  te,
10507
10507
  {
@@ -10526,7 +10526,7 @@ function Au() {
10526
10526
  /* @__PURE__ */ a("div", { className: "space-y-3", children: [
10527
10527
  /* @__PURE__ */ e("div", { className: "text-xs font-medium text-muted-foreground", children: "Metrics" }),
10528
10528
  /* @__PURE__ */ a("div", { className: "space-y-1", children: [
10529
- /* @__PURE__ */ e(P, { className: "text-xs", children: "X Axis" }),
10529
+ /* @__PURE__ */ e(V, { className: "text-xs", children: "X Axis" }),
10530
10530
  f ? /* @__PURE__ */ a(
10531
10531
  te,
10532
10532
  {
@@ -10548,7 +10548,7 @@ function Au() {
10548
10548
  )
10549
10549
  ] }),
10550
10550
  /* @__PURE__ */ a("div", { className: "space-y-1", children: [
10551
- /* @__PURE__ */ e(P, { className: "text-xs", children: "Y Axis" }),
10551
+ /* @__PURE__ */ e(V, { className: "text-xs", children: "Y Axis" }),
10552
10552
  f ? /* @__PURE__ */ a(
10553
10553
  te,
10554
10554
  {
@@ -10570,7 +10570,7 @@ function Au() {
10570
10570
  )
10571
10571
  ] }),
10572
10572
  i && /* @__PURE__ */ a("div", { className: "space-y-1", children: [
10573
- /* @__PURE__ */ e(P, { className: "text-xs", children: "Radius" }),
10573
+ /* @__PURE__ */ e(V, { className: "text-xs", children: "Radius" }),
10574
10574
  f ? /* @__PURE__ */ a(
10575
10575
  te,
10576
10576
  {
@@ -10595,7 +10595,7 @@ function Au() {
10595
10595
  i && /* @__PURE__ */ a("div", { className: "space-y-3", children: [
10596
10596
  /* @__PURE__ */ e("div", { className: "text-xs font-medium text-muted-foreground", children: "Radius Settings" }),
10597
10597
  /* @__PURE__ */ a("div", { className: "space-y-1", children: [
10598
- /* @__PURE__ */ e(P, { className: "text-xs", children: "Scale Mode" }),
10598
+ /* @__PURE__ */ e(V, { className: "text-xs", children: "Scale Mode" }),
10599
10599
  /* @__PURE__ */ a(
10600
10600
  te,
10601
10601
  {
@@ -10614,7 +10614,7 @@ function Au() {
10614
10614
  ] }),
10615
10615
  l.radiusScale !== "fixed" && /* @__PURE__ */ a("div", { className: "grid grid-cols-2 gap-2", children: [
10616
10616
  /* @__PURE__ */ a("div", { className: "space-y-1", children: [
10617
- /* @__PURE__ */ e(P, { className: "text-xs", children: "Min Radius" }),
10617
+ /* @__PURE__ */ e(V, { className: "text-xs", children: "Min Radius" }),
10618
10618
  /* @__PURE__ */ e(
10619
10619
  ot,
10620
10620
  {
@@ -10627,7 +10627,7 @@ function Au() {
10627
10627
  )
10628
10628
  ] }),
10629
10629
  /* @__PURE__ */ a("div", { className: "space-y-1", children: [
10630
- /* @__PURE__ */ e(P, { className: "text-xs", children: "Max Radius" }),
10630
+ /* @__PURE__ */ e(V, { className: "text-xs", children: "Max Radius" }),
10631
10631
  /* @__PURE__ */ e(
10632
10632
  ot,
10633
10633
  {
@@ -10641,7 +10641,7 @@ function Au() {
10641
10641
  ] })
10642
10642
  ] }),
10643
10643
  l.radiusScale === "fixed" && /* @__PURE__ */ a("div", { className: "space-y-1", children: [
10644
- /* @__PURE__ */ a(P, { className: "text-xs", children: [
10644
+ /* @__PURE__ */ a(V, { className: "text-xs", children: [
10645
10645
  "Fixed Radius: ",
10646
10646
  l.fixedRadius || 10
10647
10647
  ] }),
@@ -10661,7 +10661,7 @@ function Au() {
10661
10661
  c && /* @__PURE__ */ a("div", { className: "space-y-3", children: [
10662
10662
  /* @__PURE__ */ e("div", { className: "text-xs font-medium text-muted-foreground", children: "Point Settings" }),
10663
10663
  /* @__PURE__ */ a("div", { className: "space-y-1", children: [
10664
- /* @__PURE__ */ a(P, { className: "text-xs", children: [
10664
+ /* @__PURE__ */ a(V, { className: "text-xs", children: [
10665
10665
  "Point Size: ",
10666
10666
  l.fixedRadius || 5
10667
10667
  ] }),
@@ -10687,7 +10687,7 @@ function Au() {
10687
10687
  checked: ((E = (g = t == null ? void 0 : t.xAxisConfig) == null ? void 0 : g.name) == null ? void 0 : E.enabled) ?? !1,
10688
10688
  onCheckedChange: (w) => {
10689
10689
  var _, Y, z, Q;
10690
- const L = l.xMetricKey || "X Axis", V = l.yMetricKey || "Y Axis";
10690
+ const L = l.xMetricKey || "X Axis", P = l.yMetricKey || "Y Axis";
10691
10691
  S({
10692
10692
  ...t ?? {},
10693
10693
  xAxisConfig: {
@@ -10701,7 +10701,7 @@ function Au() {
10701
10701
  ...t == null ? void 0 : t.yAxisConfig,
10702
10702
  name: {
10703
10703
  enabled: w,
10704
- text: ((Q = (z = t == null ? void 0 : t.yAxisConfig) == null ? void 0 : z.name) == null ? void 0 : Q.text) || V
10704
+ text: ((Q = (z = t == null ? void 0 : t.yAxisConfig) == null ? void 0 : z.name) == null ? void 0 : Q.text) || P
10705
10705
  }
10706
10706
  }
10707
10707
  });
@@ -10711,7 +10711,7 @@ function Au() {
10711
10711
  ] }),
10712
10712
  ((A = (x = t == null ? void 0 : t.xAxisConfig) == null ? void 0 : x.name) == null ? void 0 : A.enabled) && /* @__PURE__ */ a("div", { className: "grid grid-cols-2 gap-2", children: [
10713
10713
  /* @__PURE__ */ a("div", { className: "space-y-1", children: [
10714
- /* @__PURE__ */ e(P, { className: "text-xs", children: "X Title" }),
10714
+ /* @__PURE__ */ e(V, { className: "text-xs", children: "X Title" }),
10715
10715
  /* @__PURE__ */ e(
10716
10716
  ot,
10717
10717
  {
@@ -10736,7 +10736,7 @@ function Au() {
10736
10736
  )
10737
10737
  ] }),
10738
10738
  /* @__PURE__ */ a("div", { className: "space-y-1", children: [
10739
- /* @__PURE__ */ e(P, { className: "text-xs", children: "Y Title" }),
10739
+ /* @__PURE__ */ e(V, { className: "text-xs", children: "Y Title" }),
10740
10740
  /* @__PURE__ */ e(
10741
10741
  ot,
10742
10742
  {
@@ -10804,7 +10804,7 @@ function Ou() {
10804
10804
  ] }) }),
10805
10805
  /* @__PURE__ */ a(qe, { className: "space-y-4 border-t border-border bg-background/50 px-3 py-4 text-sm", children: [
10806
10806
  /* @__PURE__ */ a("div", { className: "space-y-2", children: [
10807
- /* @__PURE__ */ e(P, { className: "text-xs font-medium", children: "PERCENTAGE MODE" }),
10807
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium", children: "PERCENTAGE MODE" }),
10808
10808
  /* @__PURE__ */ e(
10809
10809
  tn,
10810
10810
  {
@@ -10825,7 +10825,7 @@ function Ou() {
10825
10825
  }
10826
10826
  ),
10827
10827
  /* @__PURE__ */ a(
10828
- P,
10828
+ V,
10829
10829
  {
10830
10830
  htmlFor: `funnel-${m.value}`,
10831
10831
  className: "flex flex-col gap-0.5 text-sm font-normal",
@@ -10843,7 +10843,7 @@ function Ou() {
10843
10843
  )
10844
10844
  ] }),
10845
10845
  /* @__PURE__ */ a("div", { className: "space-y-2", children: [
10846
- /* @__PURE__ */ e(P, { className: "text-xs font-medium", children: "SEGMENT SHRINK" }),
10846
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium", children: "SEGMENT SHRINK" }),
10847
10847
  /* @__PURE__ */ a("div", { className: "flex items-center gap-3 pt-1", children: [
10848
10848
  /* @__PURE__ */ e("span", { className: "whitespace-nowrap text-xs text-muted-foreground", children: "Same Width" }),
10849
10849
  /* @__PURE__ */ e(
@@ -10866,7 +10866,7 @@ function Ou() {
10866
10866
  ] })
10867
10867
  ] }),
10868
10868
  /* @__PURE__ */ a("div", { className: "space-y-2", children: [
10869
- /* @__PURE__ */ e(P, { className: "text-xs font-medium", children: "LABEL VISIBILITY THRESHOLD" }),
10869
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium", children: "LABEL VISIBILITY THRESHOLD" }),
10870
10870
  /* @__PURE__ */ a("div", { className: "flex items-center gap-3 pt-1", children: [
10871
10871
  /* @__PURE__ */ e("span", { className: "whitespace-nowrap text-xs text-muted-foreground", children: "Show All" }),
10872
10872
  /* @__PURE__ */ e(
@@ -10961,7 +10961,7 @@ function jn({
10961
10961
  }, p = () => n ? "Right" : "Top", m = t || {}, N = m.format || (r ? "auto" : "number");
10962
10962
  return /* @__PURE__ */ a("div", { className: "space-y-3", children: [
10963
10963
  /* @__PURE__ */ a("div", { className: "space-y-1.5", children: [
10964
- /* @__PURE__ */ e(P, { className: "text-xs text-muted-foreground", children: "Position" }),
10964
+ /* @__PURE__ */ e(V, { className: "text-xs text-muted-foreground", children: "Position" }),
10965
10965
  /* @__PURE__ */ a(
10966
10966
  te,
10967
10967
  {
@@ -10976,7 +10976,7 @@ function jn({
10976
10976
  ] }),
10977
10977
  m.position === "custom" && /* @__PURE__ */ a("div", { className: "space-y-2 rounded-md border border-border bg-background p-2", children: [
10978
10978
  /* @__PURE__ */ a("div", { className: "flex items-center justify-between", children: [
10979
- /* @__PURE__ */ e(P, { className: "text-xs", children: "Anchor" }),
10979
+ /* @__PURE__ */ e(V, { className: "text-xs", children: "Anchor" }),
10980
10980
  /* @__PURE__ */ a(
10981
10981
  te,
10982
10982
  {
@@ -10990,7 +10990,7 @@ function jn({
10990
10990
  )
10991
10991
  ] }),
10992
10992
  /* @__PURE__ */ a("div", { className: "flex items-center justify-between", children: [
10993
- /* @__PURE__ */ e(P, { className: "text-xs", children: "Align" }),
10993
+ /* @__PURE__ */ e(V, { className: "text-xs", children: "Align" }),
10994
10994
  /* @__PURE__ */ a(
10995
10995
  te,
10996
10996
  {
@@ -11005,7 +11005,7 @@ function jn({
11005
11005
  ] })
11006
11006
  ] }),
11007
11007
  /* @__PURE__ */ a("div", { className: "space-y-1.5", children: [
11008
- /* @__PURE__ */ e(P, { className: "text-xs text-muted-foreground", children: "Format" }),
11008
+ /* @__PURE__ */ e(V, { className: "text-xs text-muted-foreground", children: "Format" }),
11009
11009
  /* @__PURE__ */ a(
11010
11010
  te,
11011
11011
  {
@@ -11020,7 +11020,7 @@ function jn({
11020
11020
  ] }),
11021
11021
  !["auto", "none"].includes(N) && /* @__PURE__ */ a("div", { className: "space-y-2 rounded-md border border-border bg-background p-2", children: [
11022
11022
  ["number", "currency", "percent"].includes(N) && /* @__PURE__ */ a("div", { className: "flex items-center justify-between", children: [
11023
- /* @__PURE__ */ e(P, { className: "text-xs", children: "Decimals" }),
11023
+ /* @__PURE__ */ e(V, { className: "text-xs", children: "Decimals" }),
11024
11024
  /* @__PURE__ */ e("div", { className: "w-16", children: /* @__PURE__ */ e(
11025
11025
  Nt,
11026
11026
  {
@@ -11035,7 +11035,7 @@ function jn({
11035
11035
  ) })
11036
11036
  ] }),
11037
11037
  N === "currency" && /* @__PURE__ */ a("div", { className: "flex items-center justify-between", children: [
11038
- /* @__PURE__ */ e(P, { className: "text-xs", children: "Currency" }),
11038
+ /* @__PURE__ */ e(V, { className: "text-xs", children: "Currency" }),
11039
11039
  /* @__PURE__ */ a(
11040
11040
  te,
11041
11041
  {
@@ -11057,7 +11057,7 @@ function jn({
11057
11057
  )
11058
11058
  ] }),
11059
11059
  ["number", "currency"].includes(N) && /* @__PURE__ */ a("div", { className: "flex items-center justify-between", children: [
11060
- /* @__PURE__ */ e(P, { className: "text-xs", children: "Abbreviate (K, M, B)" }),
11060
+ /* @__PURE__ */ e(V, { className: "text-xs", children: "Abbreviate (K, M, B)" }),
11061
11061
  /* @__PURE__ */ e(
11062
11062
  _e,
11063
11063
  {
@@ -11067,7 +11067,7 @@ function jn({
11067
11067
  )
11068
11068
  ] }),
11069
11069
  /* @__PURE__ */ a("div", { className: "flex items-center justify-between", children: [
11070
- /* @__PURE__ */ e(P, { className: "text-xs", children: "Locale" }),
11070
+ /* @__PURE__ */ e(V, { className: "text-xs", children: "Locale" }),
11071
11071
  /* @__PURE__ */ a(
11072
11072
  te,
11073
11073
  {
@@ -11090,10 +11090,10 @@ function jn({
11090
11090
  ] })
11091
11091
  ] }),
11092
11092
  d && /* @__PURE__ */ a("div", { className: "space-y-2", children: [
11093
- /* @__PURE__ */ e(P, { className: "text-xs text-muted-foreground", children: "Appearance" }),
11093
+ /* @__PURE__ */ e(V, { className: "text-xs text-muted-foreground", children: "Appearance" }),
11094
11094
  /* @__PURE__ */ a("div", { className: "space-y-2 rounded-md border border-border bg-background p-2", children: [
11095
11095
  /* @__PURE__ */ a("div", { className: "flex items-center justify-between", children: [
11096
- /* @__PURE__ */ e(P, { className: "text-xs", children: "Size" }),
11096
+ /* @__PURE__ */ e(V, { className: "text-xs", children: "Size" }),
11097
11097
  /* @__PURE__ */ e("div", { className: "w-16", children: /* @__PURE__ */ e(
11098
11098
  Nt,
11099
11099
  {
@@ -11106,7 +11106,7 @@ function jn({
11106
11106
  ) })
11107
11107
  ] }),
11108
11108
  /* @__PURE__ */ a("div", { className: "flex items-center justify-between", children: [
11109
- /* @__PURE__ */ e(P, { className: "text-xs", children: "Weight" }),
11109
+ /* @__PURE__ */ e(V, { className: "text-xs", children: "Weight" }),
11110
11110
  /* @__PURE__ */ a(
11111
11111
  te,
11112
11112
  {
@@ -11123,7 +11123,7 @@ function jn({
11123
11123
  )
11124
11124
  ] }),
11125
11125
  /* @__PURE__ */ a("div", { className: "flex items-center justify-between", children: [
11126
- /* @__PURE__ */ e(P, { className: "text-xs", children: "Color" }),
11126
+ /* @__PURE__ */ e(V, { className: "text-xs", children: "Color" }),
11127
11127
  /* @__PURE__ */ a(
11128
11128
  te,
11129
11129
  {
@@ -11142,7 +11142,7 @@ function jn({
11142
11142
  )
11143
11143
  ] }),
11144
11144
  /* @__PURE__ */ a("div", { className: "flex items-center justify-between", children: [
11145
- /* @__PURE__ */ e(P, { className: "text-xs", children: "Rotation" }),
11145
+ /* @__PURE__ */ e(V, { className: "text-xs", children: "Rotation" }),
11146
11146
  /* @__PURE__ */ a("div", { className: "flex items-center gap-1", children: [
11147
11147
  /* @__PURE__ */ e("div", { className: "w-12", children: /* @__PURE__ */ e(
11148
11148
  Nt,
@@ -11161,10 +11161,10 @@ function jn({
11161
11161
  ] })
11162
11162
  ] });
11163
11163
  }
11164
- const Vu = [
11164
+ const Pu = [
11165
11165
  { type: "bar", icon: zs, label: "Bar" },
11166
11166
  { type: "line", icon: qs, label: "Line" }
11167
- ], Pu = [0, 1, 2, 3, 4, 5, 6, 8, 10], Bu = [
11167
+ ], Vu = [0, 1, 2, 3, 4, 5, 6, 8, 10], Bu = [
11168
11168
  { value: "circle", label: "Circle ●" },
11169
11169
  { value: "rect", label: "Square ■" },
11170
11170
  { value: "rectRounded", label: "Rounded ▢" },
@@ -11187,7 +11187,7 @@ function qu() {
11187
11187
  return (n = s.card) == null ? void 0 : n.type;
11188
11188
  }) !== "combo" ? null : /* @__PURE__ */ a(Be, { value: "combo-series", className: "border-b-0", children: [
11189
11189
  /* @__PURE__ */ e($e, { className: "flex w-full items-center gap-2 py-2 text-sm font-medium hover:no-underline", children: /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
11190
- /* @__PURE__ */ e(Pa, { className: "h-4 w-4 text-muted-foreground" }),
11190
+ /* @__PURE__ */ e(Va, { className: "h-4 w-4 text-muted-foreground" }),
11191
11191
  /* @__PURE__ */ e("span", { children: "Series" })
11192
11192
  ] }) }),
11193
11193
  /* @__PURE__ */ e(qe, { className: "pt-2", children: /* @__PURE__ */ e(zu, {}) })
@@ -11250,7 +11250,7 @@ function ju({ metricKey: t, idx: s }) {
11250
11250
  dataLabels: T
11251
11251
  });
11252
11252
  }
11253
- return /* @__PURE__ */ e(Pt, { open: n, onOpenChange: r, children: /* @__PURE__ */ a("div", { className: "rounded-lg border border-border bg-muted/30", children: [
11253
+ return /* @__PURE__ */ e(Vt, { open: n, onOpenChange: r, children: /* @__PURE__ */ a("div", { className: "rounded-lg border border-border bg-muted/30", children: [
11254
11254
  /* @__PURE__ */ e(Kt, { asChild: !0, children: /* @__PURE__ */ a("button", { className: "flex w-full items-center justify-between gap-3 overflow-hidden px-3 py-2 text-left hover:bg-muted/50", children: [
11255
11255
  /* @__PURE__ */ a("div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
11256
11256
  /* @__PURE__ */ e(
@@ -11293,8 +11293,8 @@ function ju({ metricKey: t, idx: s }) {
11293
11293
  /* @__PURE__ */ e(Ut, { children: /* @__PURE__ */ e("div", { className: "border-t border-border", children: /* @__PURE__ */ a("div", { className: "space-y-4 p-3", children: [
11294
11294
  /* @__PURE__ */ a("div", { className: "flex items-end gap-4", children: [
11295
11295
  /* @__PURE__ */ a("div", { className: "flex-1 space-y-1.5", children: [
11296
- /* @__PURE__ */ e(P, { className: "text-xs text-muted-foreground", children: "Chart Type" }),
11297
- /* @__PURE__ */ e("div", { className: "flex gap-2", children: Vu.map(({ type: T, icon: B, label: M }) => /* @__PURE__ */ a(
11296
+ /* @__PURE__ */ e(V, { className: "text-xs text-muted-foreground", children: "Chart Type" }),
11297
+ /* @__PURE__ */ e("div", { className: "flex gap-2", children: Pu.map(({ type: T, icon: B, label: M }) => /* @__PURE__ */ a(
11298
11298
  "button",
11299
11299
  {
11300
11300
  onClick: () => N(T),
@@ -11311,7 +11311,7 @@ function ju({ metricKey: t, idx: s }) {
11311
11311
  )) })
11312
11312
  ] }),
11313
11313
  /* @__PURE__ */ a("div", { className: "space-y-1.5", children: [
11314
- /* @__PURE__ */ e(P, { className: "text-xs text-muted-foreground", children: "Axis" }),
11314
+ /* @__PURE__ */ e(V, { className: "text-xs text-muted-foreground", children: "Axis" }),
11315
11315
  /* @__PURE__ */ a(
11316
11316
  te,
11317
11317
  {
@@ -11329,10 +11329,10 @@ function ju({ metricKey: t, idx: s }) {
11329
11329
  ] })
11330
11330
  ] }),
11331
11331
  l === "line" && /* @__PURE__ */ a("div", { className: "space-y-3", children: [
11332
- /* @__PURE__ */ e(P, { className: "text-xs font-medium", children: "Line Style" }),
11332
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium", children: "Line Style" }),
11333
11333
  /* @__PURE__ */ a("div", { className: "grid grid-cols-3 gap-3", children: [
11334
11334
  /* @__PURE__ */ a("div", { className: "space-y-1.5", children: [
11335
- /* @__PURE__ */ e(P, { className: "text-xs text-muted-foreground", children: "Pattern" }),
11335
+ /* @__PURE__ */ e(V, { className: "text-xs text-muted-foreground", children: "Pattern" }),
11336
11336
  /* @__PURE__ */ a(
11337
11337
  te,
11338
11338
  {
@@ -11354,7 +11354,7 @@ function ju({ metricKey: t, idx: s }) {
11354
11354
  )
11355
11355
  ] }),
11356
11356
  /* @__PURE__ */ a("div", { className: "space-y-1.5", children: [
11357
- /* @__PURE__ */ e(P, { className: "text-xs text-muted-foreground", children: "Point Size" }),
11357
+ /* @__PURE__ */ e(V, { className: "text-xs text-muted-foreground", children: "Point Size" }),
11358
11358
  /* @__PURE__ */ a(
11359
11359
  te,
11360
11360
  {
@@ -11362,7 +11362,7 @@ function ju({ metricKey: t, idx: s }) {
11362
11362
  onValueChange: (T) => m({ pointRadius: Number(T) }),
11363
11363
  children: [
11364
11364
  /* @__PURE__ */ e(ae, { className: "h-8 w-full text-xs", children: /* @__PURE__ */ e(ne, {}) }),
11365
- /* @__PURE__ */ e(se, { children: Pu.map((T) => /* @__PURE__ */ e(
11365
+ /* @__PURE__ */ e(se, { children: Vu.map((T) => /* @__PURE__ */ e(
11366
11366
  K,
11367
11367
  {
11368
11368
  value: String(T),
@@ -11376,7 +11376,7 @@ function ju({ metricKey: t, idx: s }) {
11376
11376
  )
11377
11377
  ] }),
11378
11378
  /* @__PURE__ */ a("div", { className: "space-y-1.5", children: [
11379
- /* @__PURE__ */ e(P, { className: "text-xs text-muted-foreground", children: "Point Shape" }),
11379
+ /* @__PURE__ */ e(V, { className: "text-xs text-muted-foreground", children: "Point Shape" }),
11380
11380
  /* @__PURE__ */ a(
11381
11381
  te,
11382
11382
  {
@@ -11401,7 +11401,7 @@ function ju({ metricKey: t, idx: s }) {
11401
11401
  ] }),
11402
11402
  /* @__PURE__ */ a("div", { className: "space-y-2", children: [
11403
11403
  /* @__PURE__ */ a("div", { className: "flex items-center justify-between", children: [
11404
- /* @__PURE__ */ e(P, { className: "text-xs text-muted-foreground", children: "Data Labels" }),
11404
+ /* @__PURE__ */ e(V, { className: "text-xs text-muted-foreground", children: "Data Labels" }),
11405
11405
  /* @__PURE__ */ e(
11406
11406
  _e,
11407
11407
  {
@@ -11458,7 +11458,7 @@ function Ju() {
11458
11458
  });
11459
11459
  return t !== "area" && t !== "stackedArea" ? null : /* @__PURE__ */ a(Be, { value: "area-series", className: "border-b-0", children: [
11460
11460
  /* @__PURE__ */ e($e, { className: "flex w-full items-center gap-2 py-2 text-sm font-medium hover:no-underline", children: /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
11461
- /* @__PURE__ */ e(Pa, { className: "h-4 w-4 text-muted-foreground" }),
11461
+ /* @__PURE__ */ e(Va, { className: "h-4 w-4 text-muted-foreground" }),
11462
11462
  /* @__PURE__ */ e("span", { children: "Series" })
11463
11463
  ] }) }),
11464
11464
  /* @__PURE__ */ e(qe, { className: "pt-2", children: /* @__PURE__ */ e(Hu, {}) })
@@ -11517,7 +11517,7 @@ function Yu({ metricKey: t, idx: s }) {
11517
11517
  dataLabels: v
11518
11518
  });
11519
11519
  }
11520
- return /* @__PURE__ */ e(Pt, { open: n, onOpenChange: r, children: /* @__PURE__ */ a("div", { className: "rounded-lg border border-border bg-muted/30", children: [
11520
+ return /* @__PURE__ */ e(Vt, { open: n, onOpenChange: r, children: /* @__PURE__ */ a("div", { className: "rounded-lg border border-border bg-muted/30", children: [
11521
11521
  /* @__PURE__ */ e(Kt, { asChild: !0, children: /* @__PURE__ */ a("button", { className: "flex w-full items-center justify-between gap-3 overflow-hidden px-3 py-2 text-left hover:bg-muted/50", children: [
11522
11522
  /* @__PURE__ */ a("div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
11523
11523
  /* @__PURE__ */ e(
@@ -11547,7 +11547,7 @@ function Yu({ metricKey: t, idx: s }) {
11547
11547
  ] }) }),
11548
11548
  /* @__PURE__ */ e(Ut, { children: /* @__PURE__ */ e("div", { className: "border-t border-border", children: /* @__PURE__ */ a("div", { className: "space-y-4 p-3", children: [
11549
11549
  /* @__PURE__ */ a("div", { className: "space-y-1.5", children: [
11550
- /* @__PURE__ */ e(P, { className: "text-xs text-muted-foreground", children: "Fill Target" }),
11550
+ /* @__PURE__ */ e(V, { className: "text-xs text-muted-foreground", children: "Fill Target" }),
11551
11551
  /* @__PURE__ */ a(
11552
11552
  te,
11553
11553
  {
@@ -11569,10 +11569,10 @@ function Yu({ metricKey: t, idx: s }) {
11569
11569
  )
11570
11570
  ] }),
11571
11571
  /* @__PURE__ */ a("div", { className: "space-y-3", children: [
11572
- /* @__PURE__ */ e(P, { className: "text-xs font-medium", children: "Line Style" }),
11572
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium", children: "Line Style" }),
11573
11573
  /* @__PURE__ */ a("div", { className: "grid grid-cols-3 gap-3", children: [
11574
11574
  /* @__PURE__ */ a("div", { className: "space-y-1.5", children: [
11575
- /* @__PURE__ */ e(P, { className: "text-xs text-muted-foreground", children: "Pattern" }),
11575
+ /* @__PURE__ */ e(V, { className: "text-xs text-muted-foreground", children: "Pattern" }),
11576
11576
  /* @__PURE__ */ a(
11577
11577
  te,
11578
11578
  {
@@ -11594,7 +11594,7 @@ function Yu({ metricKey: t, idx: s }) {
11594
11594
  )
11595
11595
  ] }),
11596
11596
  /* @__PURE__ */ a("div", { className: "space-y-1.5", children: [
11597
- /* @__PURE__ */ e(P, { className: "text-xs text-muted-foreground", children: "Point Size" }),
11597
+ /* @__PURE__ */ e(V, { className: "text-xs text-muted-foreground", children: "Point Size" }),
11598
11598
  /* @__PURE__ */ a(
11599
11599
  te,
11600
11600
  {
@@ -11616,7 +11616,7 @@ function Yu({ metricKey: t, idx: s }) {
11616
11616
  )
11617
11617
  ] }),
11618
11618
  /* @__PURE__ */ a("div", { className: "space-y-1.5", children: [
11619
- /* @__PURE__ */ e(P, { className: "text-xs text-muted-foreground", children: "Point Shape" }),
11619
+ /* @__PURE__ */ e(V, { className: "text-xs text-muted-foreground", children: "Point Shape" }),
11620
11620
  /* @__PURE__ */ a(
11621
11621
  te,
11622
11622
  {
@@ -11641,7 +11641,7 @@ function Yu({ metricKey: t, idx: s }) {
11641
11641
  ] }),
11642
11642
  /* @__PURE__ */ a("div", { className: "space-y-2", children: [
11643
11643
  /* @__PURE__ */ a("div", { className: "flex items-center justify-between", children: [
11644
- /* @__PURE__ */ e(P, { className: "text-xs text-muted-foreground", children: "Data Labels" }),
11644
+ /* @__PURE__ */ e(V, { className: "text-xs text-muted-foreground", children: "Data Labels" }),
11645
11645
  /* @__PURE__ */ e(
11646
11646
  _e,
11647
11647
  {
@@ -11687,7 +11687,7 @@ function Xu() {
11687
11687
  return (n = s.card) == null ? void 0 : n.type;
11688
11688
  }) !== "line" ? null : /* @__PURE__ */ a(Be, { value: "line-series", className: "border-b-0", children: [
11689
11689
  /* @__PURE__ */ e($e, { className: "flex w-full items-center gap-2 py-2 text-sm font-medium hover:no-underline", children: /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
11690
- /* @__PURE__ */ e(Pa, { className: "h-4 w-4 text-muted-foreground" }),
11690
+ /* @__PURE__ */ e(Va, { className: "h-4 w-4 text-muted-foreground" }),
11691
11691
  /* @__PURE__ */ e("span", { children: "Series" })
11692
11692
  ] }) }),
11693
11693
  /* @__PURE__ */ e(qe, { className: "pt-2", children: /* @__PURE__ */ e(Zu, {}) })
@@ -11745,7 +11745,7 @@ function em({ metricKey: t, idx: s }) {
11745
11745
  dataLabels: S
11746
11746
  });
11747
11747
  }
11748
- return /* @__PURE__ */ e(Pt, { open: n, onOpenChange: r, children: /* @__PURE__ */ a("div", { className: "rounded-lg border border-border bg-muted/30", children: [
11748
+ return /* @__PURE__ */ e(Vt, { open: n, onOpenChange: r, children: /* @__PURE__ */ a("div", { className: "rounded-lg border border-border bg-muted/30", children: [
11749
11749
  /* @__PURE__ */ e(Kt, { asChild: !0, children: /* @__PURE__ */ a("button", { className: "flex w-full items-center justify-between gap-3 overflow-hidden px-3 py-2 text-left hover:bg-muted/50", children: [
11750
11750
  /* @__PURE__ */ a("div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
11751
11751
  /* @__PURE__ */ e(
@@ -11775,10 +11775,10 @@ function em({ metricKey: t, idx: s }) {
11775
11775
  ] }) }),
11776
11776
  /* @__PURE__ */ e(Ut, { children: /* @__PURE__ */ e("div", { className: "border-t border-border", children: /* @__PURE__ */ a("div", { className: "space-y-4 p-3", children: [
11777
11777
  /* @__PURE__ */ a("div", { className: "space-y-3", children: [
11778
- /* @__PURE__ */ e(P, { className: "text-xs font-medium", children: "Line Style" }),
11778
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium", children: "Line Style" }),
11779
11779
  /* @__PURE__ */ a("div", { className: "grid grid-cols-3 gap-3", children: [
11780
11780
  /* @__PURE__ */ a("div", { className: "space-y-1.5", children: [
11781
- /* @__PURE__ */ e(P, { className: "text-xs text-muted-foreground", children: "Pattern" }),
11781
+ /* @__PURE__ */ e(V, { className: "text-xs text-muted-foreground", children: "Pattern" }),
11782
11782
  /* @__PURE__ */ a(
11783
11783
  te,
11784
11784
  {
@@ -11800,7 +11800,7 @@ function em({ metricKey: t, idx: s }) {
11800
11800
  )
11801
11801
  ] }),
11802
11802
  /* @__PURE__ */ a("div", { className: "space-y-1.5", children: [
11803
- /* @__PURE__ */ e(P, { className: "text-xs text-muted-foreground", children: "Point Size" }),
11803
+ /* @__PURE__ */ e(V, { className: "text-xs text-muted-foreground", children: "Point Size" }),
11804
11804
  /* @__PURE__ */ a(
11805
11805
  te,
11806
11806
  {
@@ -11822,7 +11822,7 @@ function em({ metricKey: t, idx: s }) {
11822
11822
  )
11823
11823
  ] }),
11824
11824
  /* @__PURE__ */ a("div", { className: "space-y-1.5", children: [
11825
- /* @__PURE__ */ e(P, { className: "text-xs text-muted-foreground", children: "Point Shape" }),
11825
+ /* @__PURE__ */ e(V, { className: "text-xs text-muted-foreground", children: "Point Shape" }),
11826
11826
  /* @__PURE__ */ a(
11827
11827
  te,
11828
11828
  {
@@ -11847,7 +11847,7 @@ function em({ metricKey: t, idx: s }) {
11847
11847
  ] }),
11848
11848
  /* @__PURE__ */ a("div", { className: "space-y-2", children: [
11849
11849
  /* @__PURE__ */ a("div", { className: "flex items-center justify-between", children: [
11850
- /* @__PURE__ */ e(P, { className: "text-xs text-muted-foreground", children: "Data Labels" }),
11850
+ /* @__PURE__ */ e(V, { className: "text-xs text-muted-foreground", children: "Data Labels" }),
11851
11851
  /* @__PURE__ */ e(
11852
11852
  _e,
11853
11853
  {
@@ -11878,7 +11878,7 @@ function am() {
11878
11878
  });
11879
11879
  return !t || !["bar", "horizontalBar", "stackedBar"].includes(t) ? null : /* @__PURE__ */ a(Be, { value: "bar-series", className: "border-b-0", children: [
11880
11880
  /* @__PURE__ */ e($e, { className: "flex w-full items-center gap-2 py-2 text-sm font-medium hover:no-underline", children: /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
11881
- /* @__PURE__ */ e(Pa, { className: "h-4 w-4 text-muted-foreground" }),
11881
+ /* @__PURE__ */ e(Va, { className: "h-4 w-4 text-muted-foreground" }),
11882
11882
  /* @__PURE__ */ e("span", { children: "Series" })
11883
11883
  ] }) }),
11884
11884
  /* @__PURE__ */ e(qe, { className: "pt-2", children: /* @__PURE__ */ e(nm, {}) })
@@ -11938,7 +11938,7 @@ function sm({ metricKey: t, idx: s }) {
11938
11938
  dataLabels: u
11939
11939
  });
11940
11940
  }
11941
- return /* @__PURE__ */ e(Pt, { open: n, onOpenChange: r, children: /* @__PURE__ */ a("div", { className: "rounded-lg border border-border bg-muted/30", children: [
11941
+ return /* @__PURE__ */ e(Vt, { open: n, onOpenChange: r, children: /* @__PURE__ */ a("div", { className: "rounded-lg border border-border bg-muted/30", children: [
11942
11942
  /* @__PURE__ */ e(Kt, { asChild: !0, children: /* @__PURE__ */ a("button", { className: "flex w-full items-center justify-between gap-3 overflow-hidden px-3 py-2 text-left hover:bg-muted/50", children: [
11943
11943
  /* @__PURE__ */ a("div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
11944
11944
  /* @__PURE__ */ e(
@@ -11969,9 +11969,9 @@ function sm({ metricKey: t, idx: s }) {
11969
11969
  ] }) }),
11970
11970
  /* @__PURE__ */ e(Ut, { children: /* @__PURE__ */ e("div", { className: "border-t border-border", children: /* @__PURE__ */ a("div", { className: "space-y-4 p-3", children: [
11971
11971
  /* @__PURE__ */ a("div", { className: "space-y-3", children: [
11972
- /* @__PURE__ */ e(P, { className: "text-xs font-medium", children: "Bar Style" }),
11972
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium", children: "Bar Style" }),
11973
11973
  /* @__PURE__ */ e("div", { className: "space-y-3", children: /* @__PURE__ */ a("div", { className: "space-y-1.5", children: [
11974
- /* @__PURE__ */ e(P, { className: "text-xs text-muted-foreground", children: "Corner Radius" }),
11974
+ /* @__PURE__ */ e(V, { className: "text-xs text-muted-foreground", children: "Corner Radius" }),
11975
11975
  /* @__PURE__ */ a(
11976
11976
  te,
11977
11977
  {
@@ -11995,7 +11995,7 @@ function sm({ metricKey: t, idx: s }) {
11995
11995
  ] }),
11996
11996
  /* @__PURE__ */ a("div", { className: "space-y-2", children: [
11997
11997
  /* @__PURE__ */ a("div", { className: "flex items-center justify-between", children: [
11998
- /* @__PURE__ */ e(P, { className: "text-xs text-muted-foreground", children: "Data Labels" }),
11998
+ /* @__PURE__ */ e(V, { className: "text-xs text-muted-foreground", children: "Data Labels" }),
11999
11999
  /* @__PURE__ */ e(
12000
12000
  _e,
12001
12001
  {
@@ -12060,7 +12060,7 @@ function om() {
12060
12060
  /* @__PURE__ */ e(qe, { className: "pt-2", children: /* @__PURE__ */ a("div", { className: "space-y-3", children: [
12061
12061
  /* @__PURE__ */ e("p", { className: "text-xs text-muted-foreground", children: "Default styles for all series. Override per-series in the Series section." }),
12062
12062
  /* @__PURE__ */ a("div", { className: "space-y-1.5", children: [
12063
- /* @__PURE__ */ e(P, { className: "text-xs font-medium", children: "Line Pattern" }),
12063
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium", children: "Line Pattern" }),
12064
12064
  /* @__PURE__ */ a(
12065
12065
  te,
12066
12066
  {
@@ -12074,7 +12074,7 @@ function om() {
12074
12074
  )
12075
12075
  ] }),
12076
12076
  /* @__PURE__ */ a("div", { className: "space-y-1.5", children: [
12077
- /* @__PURE__ */ e(P, { className: "text-xs font-medium", children: "Point Size" }),
12077
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium", children: "Point Size" }),
12078
12078
  /* @__PURE__ */ a(
12079
12079
  te,
12080
12080
  {
@@ -12096,7 +12096,7 @@ function om() {
12096
12096
  )
12097
12097
  ] }),
12098
12098
  /* @__PURE__ */ a("div", { className: "space-y-1.5", children: [
12099
- /* @__PURE__ */ e(P, { className: "text-xs font-medium", children: "Point Shape" }),
12099
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium", children: "Point Shape" }),
12100
12100
  /* @__PURE__ */ a(
12101
12101
  te,
12102
12102
  {
@@ -12152,7 +12152,7 @@ function mm() {
12152
12152
  /* @__PURE__ */ e(qe, { className: "pt-2", children: /* @__PURE__ */ a("div", { className: "space-y-3", children: [
12153
12153
  /* @__PURE__ */ e("p", { className: "text-xs text-muted-foreground", children: "Default styles for all bars. Override per-series in the Series section." }),
12154
12154
  /* @__PURE__ */ a("div", { className: "space-y-1.5", children: [
12155
- /* @__PURE__ */ e(P, { className: "text-xs font-medium", children: "Corner Radius" }),
12155
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium", children: "Corner Radius" }),
12156
12156
  /* @__PURE__ */ a(
12157
12157
  te,
12158
12158
  {
@@ -12174,7 +12174,7 @@ function mm() {
12174
12174
  )
12175
12175
  ] }),
12176
12176
  /* @__PURE__ */ a("div", { className: "space-y-1.5", children: [
12177
- /* @__PURE__ */ e(P, { className: "text-xs font-medium", children: "Bar Width" }),
12177
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium", children: "Bar Width" }),
12178
12178
  /* @__PURE__ */ a(
12179
12179
  te,
12180
12180
  {
@@ -12188,7 +12188,7 @@ function mm() {
12188
12188
  )
12189
12189
  ] }),
12190
12190
  /* @__PURE__ */ a("div", { className: "space-y-1.5", children: [
12191
- /* @__PURE__ */ e(P, { className: "text-xs font-medium", children: "Category Width" }),
12191
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium", children: "Category Width" }),
12192
12192
  /* @__PURE__ */ a(
12193
12193
  te,
12194
12194
  {
@@ -12217,7 +12217,7 @@ function hm() {
12217
12217
  "Sort"
12218
12218
  ] }) }),
12219
12219
  /* @__PURE__ */ e(qe, { className: "space-y-4 px-1", children: /* @__PURE__ */ a("div", { className: "space-y-2", children: [
12220
- /* @__PURE__ */ e(P, { children: "Sort Order" }),
12220
+ /* @__PURE__ */ e(V, { children: "Sort Order" }),
12221
12221
  /* @__PURE__ */ e(
12222
12222
  _t,
12223
12223
  {
@@ -12299,7 +12299,7 @@ function xm() {
12299
12299
  /* @__PURE__ */ a(qe, { className: "space-y-4 pb-4 pt-2", children: [
12300
12300
  /* @__PURE__ */ a("div", { className: "flex items-center justify-between", children: [
12301
12301
  /* @__PURE__ */ a("div", { className: "space-y-1", children: [
12302
- /* @__PURE__ */ e(P, { htmlFor: "summary-enabled", className: "text-xs", children: "Enable Summary" }),
12302
+ /* @__PURE__ */ e(V, { htmlFor: "summary-enabled", className: "text-xs", children: "Enable Summary" }),
12303
12303
  !l && /* @__PURE__ */ e("p", { className: "text-[11px] text-muted-foreground", children: "Add at least one metric to enable summary." })
12304
12304
  ] }),
12305
12305
  /* @__PURE__ */ e(
@@ -12328,7 +12328,7 @@ function xm() {
12328
12328
  )
12329
12329
  ] }),
12330
12330
  /* @__PURE__ */ a("div", { className: "space-y-1", children: [
12331
- /* @__PURE__ */ e(P, { className: "text-xs font-medium uppercase text-muted-foreground", children: "Comparison" }),
12331
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium uppercase text-muted-foreground", children: "Comparison" }),
12332
12332
  /* @__PURE__ */ a("p", { className: "rounded-md border border-border bg-muted/40 px-2 py-1.5 text-xs", children: [
12333
12333
  "Using: ",
12334
12334
  m
@@ -12336,7 +12336,7 @@ function xm() {
12336
12336
  /* @__PURE__ */ e("p", { className: "text-[11px] text-muted-foreground", children: "Comparison is configured from card/metric comparison settings." })
12337
12337
  ] }),
12338
12338
  /* @__PURE__ */ a("div", { className: "flex items-center justify-between", children: [
12339
- /* @__PURE__ */ e(P, { htmlFor: "summary-show-on-card", className: "text-xs", children: "Show summary on card" }),
12339
+ /* @__PURE__ */ e(V, { htmlFor: "summary-show-on-card", className: "text-xs", children: "Show summary on card" }),
12340
12340
  /* @__PURE__ */ e(
12341
12341
  _e,
12342
12342
  {
@@ -12348,7 +12348,7 @@ function xm() {
12348
12348
  )
12349
12349
  ] }),
12350
12350
  /* @__PURE__ */ a("div", { className: "flex items-center justify-between", children: [
12351
- /* @__PURE__ */ e(P, { htmlFor: "summary-include-rollup", className: "text-xs", children: "Include in dashboard summary" }),
12351
+ /* @__PURE__ */ e(V, { htmlFor: "summary-include-rollup", className: "text-xs", children: "Include in dashboard summary" }),
12352
12352
  /* @__PURE__ */ e(
12353
12353
  _e,
12354
12354
  {
@@ -12361,7 +12361,7 @@ function xm() {
12361
12361
  ] }),
12362
12362
  /* @__PURE__ */ a("div", { className: "space-y-2", children: [
12363
12363
  /* @__PURE__ */ a("div", { className: "flex items-center justify-between", children: [
12364
- /* @__PURE__ */ e(P, { className: "text-xs font-medium uppercase text-muted-foreground", children: "Breakdown Dimensions" }),
12364
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium uppercase text-muted-foreground", children: "Breakdown Dimensions" }),
12365
12365
  /* @__PURE__ */ a("span", { className: "text-[11px] text-muted-foreground", children: [
12366
12366
  i.length,
12367
12367
  "/",
@@ -12381,7 +12381,7 @@ function xm() {
12381
12381
  }
12382
12382
  ),
12383
12383
  /* @__PURE__ */ e(
12384
- P,
12384
+ V,
12385
12385
  {
12386
12386
  htmlFor: `summary-breakdown-${D}`,
12387
12387
  className: "cursor-pointer text-xs",
@@ -12392,7 +12392,7 @@ function xm() {
12392
12392
  }) })
12393
12393
  ] }),
12394
12394
  /* @__PURE__ */ a("div", { className: "flex items-center justify-between", children: [
12395
- /* @__PURE__ */ e(P, { htmlFor: "summary-anomaly", className: "text-xs", children: "Detect anomalies" }),
12395
+ /* @__PURE__ */ e(V, { htmlFor: "summary-anomaly", className: "text-xs", children: "Detect anomalies" }),
12396
12396
  /* @__PURE__ */ e(
12397
12397
  _e,
12398
12398
  {
@@ -12567,7 +12567,7 @@ function Nm(t) {
12567
12567
  data: E
12568
12568
  } = ht(T), { setTriggerAIRun: x, setCurrentAssitantScope: A, setCardConfig: R } = be(), { selectedDatamodelName: $, connectionType: C, selectedDatamodelId: F } = Lo(), w = (De = Zr().data) == null ? void 0 : De.assistantProfileId, {
12569
12569
  messages: L,
12570
- setMessages: V,
12570
+ setMessages: P,
12571
12571
  regenerate: _,
12572
12572
  error: Y,
12573
12573
  sendMessage: z,
@@ -12623,9 +12623,9 @@ function Nm(t) {
12623
12623
  }), x(!1));
12624
12624
  }, [S, v, z, x]);
12625
12625
  async function j({ toolCall: q }) {
12626
- var ce, Ne, ve, Je, Pe, Ge, He, kt, fe, Re, Ae, Ke, ft, Ze, It, gt;
12626
+ var ce, Ne, ve, Je, Ve, Ge, He, kt, fe, Re, Ae, Ke, ft, Ze, It, gt;
12627
12627
  if (["createChartFromSql", "createForecast"].includes(q.toolName)) {
12628
- const et = ((ce = q.input) == null ? void 0 : ce.sql) ?? ((Ne = q.args) == null ? void 0 : Ne.sql), ue = ((ve = q.input) == null ? void 0 : ve.python) ?? ((Je = q.args) == null ? void 0 : Je.python), Oe = ((Pe = q.input) == null ? void 0 : Pe.chartType) ?? ((Ge = q.args) == null ? void 0 : Ge.chartType);
12628
+ const et = ((ce = q.input) == null ? void 0 : ce.sql) ?? ((Ne = q.args) == null ? void 0 : Ne.sql), ue = ((ve = q.input) == null ? void 0 : ve.python) ?? ((Je = q.args) == null ? void 0 : Je.python), Oe = ((Ve = q.input) == null ? void 0 : Ve.chartType) ?? ((Ge = q.args) == null ? void 0 : Ge.chartType);
12629
12629
  N(Oe), p(et), f(ue), m(!0), le({
12630
12630
  tool: q.toolName,
12631
12631
  toolCallId: q.toolCallId,
@@ -12698,12 +12698,12 @@ function Nm(t) {
12698
12698
  n("Analyzing...");
12699
12699
  }
12700
12700
  function W(q) {
12701
- const ce = Po(u, q);
12701
+ const ce = Vo(u, q);
12702
12702
  xe(ce);
12703
12703
  }
12704
12704
  function xe(q) {
12705
12705
  const ce = $o(q);
12706
- A(ce), V((Ne) => [
12706
+ A(ce), P((Ne) => [
12707
12707
  ...Ne,
12708
12708
  {
12709
12709
  id: crypto.randomUUID(),
@@ -12755,10 +12755,10 @@ function Nm(t) {
12755
12755
  xe(Ne);
12756
12756
  }
12757
12757
  }
12758
- const Ie = !["ready", "error"].includes(Q), ie = Vo(Y);
12758
+ const Ie = !["ready", "error"].includes(Q), ie = Po(Y);
12759
12759
  return {
12760
12760
  messages: L,
12761
- setMessages: V,
12761
+ setMessages: P,
12762
12762
  sendMessage: z,
12763
12763
  regenerate: _,
12764
12764
  isLoading: Ie,
@@ -12799,7 +12799,7 @@ function zr({
12799
12799
  sendMessage: F,
12800
12800
  isLoading: w,
12801
12801
  stop: L,
12802
- status: V,
12802
+ status: P,
12803
12803
  llmUsage: _,
12804
12804
  errorMessage: Y,
12805
12805
  clearError: z
@@ -12855,11 +12855,11 @@ function zr({
12855
12855
  }));
12856
12856
  }, [I, k, v]), Ho({
12857
12857
  assistantType: "editor",
12858
- status: V,
12858
+ status: P,
12859
12859
  isLoading: w,
12860
12860
  sendMessage: F
12861
12861
  });
12862
- const { hasActiveTools: Pe } = Yo($), Ge = we(
12862
+ const { hasActiveTools: Ve } = Yo($), Ge = we(
12863
12863
  (ue) => {
12864
12864
  s == null || s(ue), t === void 0 && N(ue);
12865
12865
  },
@@ -13078,7 +13078,7 @@ function zr({
13078
13078
  disableQuickReplies: w
13079
13079
  }
13080
13080
  ),
13081
- !Pe && /* @__PURE__ */ e(ec, { status: V, errorMessage: Y })
13081
+ !Ve && /* @__PURE__ */ e(ec, { status: P, errorMessage: Y })
13082
13082
  ]
13083
13083
  }
13084
13084
  )
@@ -13130,7 +13130,7 @@ function zr({
13130
13130
  Ae(), me(ue), Ne({ force: !0 });
13131
13131
  },
13132
13132
  isLoading: w,
13133
- status: V,
13133
+ status: P,
13134
13134
  assistantType: "editor",
13135
13135
  onFocus: () => {
13136
13136
  }
@@ -13196,7 +13196,7 @@ function Im({
13196
13196
  return (f = h.card.config) == null ? void 0 : f.pivotByColumns;
13197
13197
  })) == null ? void 0 : l[0], c = i ? `e.g. Min Sales in {{${i.name}}}` : "e.g. Min Sales in {{region}}";
13198
13198
  return /* @__PURE__ */ a("div", { className: "space-y-1", children: [
13199
- /* @__PURE__ */ e(P, { className: "text-xs font-medium text-gray-600", children: "Pivot Alias Template" }),
13199
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium text-gray-600", children: "Pivot Alias Template" }),
13200
13200
  /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
13201
13201
  /* @__PURE__ */ e(
13202
13202
  ut,
@@ -13260,7 +13260,7 @@ function Dm({
13260
13260
  delete m[p], m[o] = i, s(m), r(null);
13261
13261
  };
13262
13262
  return /* @__PURE__ */ a("div", { className: "space-y-1", children: [
13263
- /* @__PURE__ */ e(P, { className: "text-xs font-medium text-muted-foreground", children: "Pivot Value Aliases" }),
13263
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium text-muted-foreground", children: "Pivot Value Aliases" }),
13264
13264
  /* @__PURE__ */ a("div", { className: "space-y-2", children: [
13265
13265
  Object.entries(t).map(([p, m], N) => /* @__PURE__ */ e("div", { className: "flex items-center gap-2", children: n === p ? /* @__PURE__ */ a(Ce, { children: [
13266
13266
  /* @__PURE__ */ e(
@@ -13665,7 +13665,7 @@ function Rm({
13665
13665
  }
13666
13666
  function c() {
13667
13667
  return /* @__PURE__ */ a("div", { className: "space-y-1", children: [
13668
- /* @__PURE__ */ e(P, { className: "text-xs font-medium text-muted-foreground", children: "Data Labels" }),
13668
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium text-muted-foreground", children: "Data Labels" }),
13669
13669
  /* @__PURE__ */ e(Mm, {})
13670
13670
  ] });
13671
13671
  }
@@ -13847,7 +13847,7 @@ function Ul({
13847
13847
  /* @__PURE__ */ e(ba, { children: /* @__PURE__ */ e(va, { children: i ? `Edit Filter: ${(B = p.field) == null ? void 0 : B.label}` : c === "fields" ? "Select Field to Filter" : `Select Values for ${(M = p.field) == null ? void 0 : M.label}` }) }),
13848
13848
  /* @__PURE__ */ a("div", { className: "space-y-4", children: [
13849
13849
  !i && (r == null ? void 0 : r.conditions) && r.conditions.length > 0 && c === "fields" && /* @__PURE__ */ a("div", { className: "space-y-2", children: [
13850
- /* @__PURE__ */ e(P, { className: "text-xs font-medium text-muted-foreground", children: "Current Filters:" }),
13850
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium text-muted-foreground", children: "Current Filters:" }),
13851
13851
  /* @__PURE__ */ e("div", { className: "flex flex-wrap gap-2", children: r.conditions.map((k) => /* @__PURE__ */ a(
13852
13852
  "div",
13853
13853
  {
@@ -13953,7 +13953,7 @@ function Lm({
13953
13953
  return /* @__PURE__ */ a("div", { className: "space-y-4", children: [
13954
13954
  r && /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
13955
13955
  /* @__PURE__ */ e(J, { variant: "ghost", size: "sm", onClick: r, children: "← Back" }),
13956
- /* @__PURE__ */ a(P, { className: "text-sm font-medium", children: [
13956
+ /* @__PURE__ */ a(V, { className: "text-sm font-medium", children: [
13957
13957
  "Select values for ",
13958
13958
  t.label
13959
13959
  ] })
@@ -13979,7 +13979,7 @@ function Lm({
13979
13979
  onCheckedChange: p
13980
13980
  }
13981
13981
  ),
13982
- /* @__PURE__ */ a(P, { className: "text-sm", children: [
13982
+ /* @__PURE__ */ a(V, { className: "text-sm", children: [
13983
13983
  "Select All (",
13984
13984
  h.length,
13985
13985
  ")"
@@ -14006,7 +14006,7 @@ function Lm({
14006
14006
  ] })
14007
14007
  ] });
14008
14008
  }
14009
- function Vm({
14009
+ function Pm({
14010
14010
  field: t,
14011
14011
  zone: s,
14012
14012
  index: n,
@@ -14036,7 +14036,7 @@ function Vm({
14036
14036
  handleKpiTrendlineWindowChange: $,
14037
14037
  handleKpiTrendlineGranularityChange: C,
14038
14038
  handleMetricTargetValueChange: F
14039
- } = wl(N), [w, L] = G(!1), [V, _] = G(!1), [Y, z] = G(!1), [Q, le] = G(null), X = de(() => {
14039
+ } = wl(N), [w, L] = G(!1), [P, _] = G(!1), [Y, z] = G(!1), [Q, le] = G(null), X = de(() => {
14040
14040
  const U = (ge) => ge != null && ge.startsWith("card-source-") ? ge.replace("card-source-", "") : ge, Te = U(t.id), he = u.find((ge) => {
14041
14041
  if (t.qualifiedFieldName && ge.qualifiedFieldName && ge.qualifiedFieldName === t.qualifiedFieldName || t.qualifiedEntityName && ge.qualifiedEntityName && ge.qualifiedEntityName === t.qualifiedEntityName && ge.name === t.name)
14042
14042
  return !0;
@@ -14062,7 +14062,7 @@ function Vm({
14062
14062
  t.aliasTemplate || ""
14063
14063
  ), [ce, Ne] = G(
14064
14064
  t.valueAliases || {}
14065
- ), [ve, Je] = G((er = t.parameters) == null ? void 0 : er.filters), Pe = (U) => {
14065
+ ), [ve, Je] = G((er = t.parameters) == null ? void 0 : er.filters), Ve = (U) => {
14066
14066
  U === "custom" ? Ie(!0) : (Ie(!1), W(U), (s === "groupBy" || Bt) && D(n, U, "", s));
14067
14067
  }, Ge = (U) => {
14068
14068
  oe(U), (s === "groupBy" || Bt) && D(n, "custom", U, s);
@@ -14203,7 +14203,7 @@ function Vm({
14203
14203
  )
14204
14204
  ] });
14205
14205
  }, $t = () => re ? /* @__PURE__ */ a("div", { className: "space-y-1", children: [
14206
- /* @__PURE__ */ e(P, { className: "text-xs font-medium text-muted-foreground", children: "Label" }),
14206
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium text-muted-foreground", children: "Label" }),
14207
14207
  /* @__PURE__ */ e(
14208
14208
  Nt,
14209
14209
  {
@@ -14214,7 +14214,7 @@ function Vm({
14214
14214
  }
14215
14215
  )
14216
14216
  ] }) : null, Wt = () => ee ? /* @__PURE__ */ a("div", { className: "space-y-1", children: [
14217
- /* @__PURE__ */ e(P, { className: "text-xs font-medium text-muted-foreground", children: "Granularity" }),
14217
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium text-muted-foreground", children: "Granularity" }),
14218
14218
  /* @__PURE__ */ a(
14219
14219
  te,
14220
14220
  {
@@ -14229,12 +14229,12 @@ function Vm({
14229
14229
  ] }) : null, ua = () => ke ? /* @__PURE__ */ a(Ce, { children: [
14230
14230
  Wt(),
14231
14231
  /* @__PURE__ */ a("div", { className: "space-y-1", children: [
14232
- /* @__PURE__ */ e(P, { className: "text-xs font-medium text-muted-foreground", children: "Date Format" }),
14232
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium text-muted-foreground", children: "Date Format" }),
14233
14233
  /* @__PURE__ */ a(
14234
14234
  te,
14235
14235
  {
14236
14236
  value: _n,
14237
- onValueChange: Pe,
14237
+ onValueChange: Ve,
14238
14238
  children: [
14239
14239
  /* @__PURE__ */ e(ae, { className: "h-8 w-full text-xs", children: /* @__PURE__ */ e(ne, { placeholder: "Select date format..." }) }),
14240
14240
  /* @__PURE__ */ e(se, { children: ca.map((U) => /* @__PURE__ */ e(
@@ -14270,7 +14270,7 @@ function Vm({
14270
14270
  const U = ye;
14271
14271
  return U ? /* @__PURE__ */ e(Ce, { children: U && /* @__PURE__ */ a(Ce, { children: [
14272
14272
  /* @__PURE__ */ e("div", { className: "space-y-1", children: /* @__PURE__ */ a("div", { className: "flex items-center justify-between", children: [
14273
- /* @__PURE__ */ e(P, { className: "text-xs font-medium text-muted-foreground", children: "Show Trendline" }),
14273
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium text-muted-foreground", children: "Show Trendline" }),
14274
14274
  /* @__PURE__ */ e(
14275
14275
  _e,
14276
14276
  {
@@ -14281,7 +14281,7 @@ function Vm({
14281
14281
  ] }) }),
14282
14282
  ((he = N.config) == null ? void 0 : he.showTrendline) && /* @__PURE__ */ a(Ce, { children: [
14283
14283
  /* @__PURE__ */ a("div", { className: "space-y-1", children: [
14284
- /* @__PURE__ */ e(P, { className: "text-xs font-medium text-muted-foreground", children: "Trendline Window" }),
14284
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium text-muted-foreground", children: "Trendline Window" }),
14285
14285
  /* @__PURE__ */ e(
14286
14286
  ut,
14287
14287
  {
@@ -14299,7 +14299,7 @@ function Vm({
14299
14299
  )
14300
14300
  ] }),
14301
14301
  /* @__PURE__ */ a("div", { className: "space-y-1", children: [
14302
- /* @__PURE__ */ e(P, { className: "text-xs font-medium text-muted-foreground", children: "Trendline Granularity" }),
14302
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium text-muted-foreground", children: "Trendline Granularity" }),
14303
14303
  /* @__PURE__ */ a(
14304
14304
  te,
14305
14305
  {
@@ -14323,7 +14323,7 @@ function Vm({
14323
14323
  const U = t, Te = hn(U);
14324
14324
  return /* @__PURE__ */ a(Ce, { children: [
14325
14325
  Te && T && /* @__PURE__ */ a("div", { className: "space-y-1", children: [
14326
- /* @__PURE__ */ e(P, { className: "text-xs font-medium text-muted-foreground", children: "Formula" }),
14326
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium text-muted-foreground", children: "Formula" }),
14327
14327
  /* @__PURE__ */ a(
14328
14328
  J,
14329
14329
  {
@@ -14339,7 +14339,7 @@ function Vm({
14339
14339
  )
14340
14340
  ] }),
14341
14341
  /* @__PURE__ */ a("div", { className: "space-y-1", children: [
14342
- /* @__PURE__ */ e(P, { className: "text-xs font-medium text-muted-foreground", children: "Aggregation" }),
14342
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium text-muted-foreground", children: "Aggregation" }),
14343
14343
  /* @__PURE__ */ a(
14344
14344
  te,
14345
14345
  {
@@ -14366,7 +14366,7 @@ function Vm({
14366
14366
  )
14367
14367
  ] }),
14368
14368
  Ye && /* @__PURE__ */ a("div", { className: "space-y-1", children: [
14369
- /* @__PURE__ */ e(P, { className: "text-xs font-medium text-muted-foreground", children: "Comparison Type" }),
14369
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium text-muted-foreground", children: "Comparison Type" }),
14370
14370
  /* @__PURE__ */ a(
14371
14371
  te,
14372
14372
  {
@@ -14408,7 +14408,7 @@ function Vm({
14408
14408
  )
14409
14409
  ] }),
14410
14410
  Ye && U.comparisonType === "target" && /* @__PURE__ */ a("div", { className: "space-y-1", children: [
14411
- /* @__PURE__ */ e(P, { className: "text-xs font-medium text-muted-foreground", children: "Target Value" }),
14411
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium text-muted-foreground", children: "Target Value" }),
14412
14412
  /* @__PURE__ */ e(
14413
14413
  ut,
14414
14414
  {
@@ -14432,7 +14432,7 @@ function Vm({
14432
14432
  )
14433
14433
  ] }),
14434
14434
  /* @__PURE__ */ a("div", { className: "space-y-1", children: [
14435
- /* @__PURE__ */ e(P, { className: "text-xs font-medium text-muted-foreground", children: "Attribute Filters" }),
14435
+ /* @__PURE__ */ e(V, { className: "text-xs font-medium text-muted-foreground", children: "Attribute Filters" }),
14436
14436
  (ve == null ? void 0 : ve.conditions) && ve.conditions.length > 0 && /* @__PURE__ */ e("div", { className: "mb-2 space-y-1", children: ve.conditions.map((he) => /* @__PURE__ */ a(
14437
14437
  "div",
14438
14438
  {
@@ -14631,10 +14631,10 @@ function Vm({
14631
14631
  ]
14632
14632
  }
14633
14633
  ),
14634
- V && /* @__PURE__ */ e(
14634
+ P && /* @__PURE__ */ e(
14635
14635
  Ul,
14636
14636
  {
14637
- open: V,
14637
+ open: P,
14638
14638
  onOpenChange: (U) => {
14639
14639
  _(U), U || le(null);
14640
14640
  },
@@ -14717,7 +14717,7 @@ function Vm({
14717
14717
  )
14718
14718
  ] });
14719
14719
  }
14720
- function Pm({ concept: t }) {
14720
+ function Vm({ concept: t }) {
14721
14721
  return /* @__PURE__ */ e(it, { children: /* @__PURE__ */ a(tt, { delayDuration: 300, children: [
14722
14722
  /* @__PURE__ */ e(at, { asChild: !0, children: /* @__PURE__ */ e(fc, { className: "size-4 text-muted-foreground hover:text-foreground" }) }),
14723
14723
  /* @__PURE__ */ e(lt, { side: "right", align: "start", className: "p-3", children: (() => {
@@ -14844,7 +14844,7 @@ function _a({
14844
14844
  return /* @__PURE__ */ a("div", { className: "mb-3 w-full", children: [
14845
14845
  /* @__PURE__ */ a("div", { className: "mb-1.5 flex items-center gap-2", children: [
14846
14846
  /* @__PURE__ */ e(
14847
- P,
14847
+ V,
14848
14848
  {
14849
14849
  className: Z("block text-sm font-medium text-foreground", {
14850
14850
  // 'text-green-600': zone === 'metrics',
@@ -14854,7 +14854,7 @@ function _a({
14854
14854
  children: n
14855
14855
  }
14856
14856
  ),
14857
- u && /* @__PURE__ */ e(Pm, { concept: t })
14857
+ u && /* @__PURE__ */ e(Vm, { concept: t })
14858
14858
  ] }),
14859
14859
  /* @__PURE__ */ e(
14860
14860
  "div",
@@ -14889,7 +14889,7 @@ function _a({
14889
14889
  {
14890
14890
  className: "flex w-full items-center gap-2",
14891
14891
  children: /* @__PURE__ */ e("div", { className: "flex-1", children: /* @__PURE__ */ e(
14892
- Vm,
14892
+ Pm,
14893
14893
  {
14894
14894
  field: S,
14895
14895
  zone: t,
@@ -14924,7 +14924,7 @@ function $m({
14924
14924
  var xe;
14925
14925
  return !!((xe = W.card.customCardPreferences) != null && xe.url);
14926
14926
  }
14927
- ), h = O((W) => W.card), f = O((W) => W.frame), p = Va(f, h), { manifest: m } = ra(
14927
+ ), h = O((W) => W.card), f = O((W) => W.frame), p = Pa(f, h), { manifest: m } = ra(
14928
14928
  ((le = p == null ? void 0 : p.customCardPreferences) == null ? void 0 : le.url) || ""
14929
14929
  ), N = (X = m == null ? void 0 : m.visuals) == null ? void 0 : X.find(
14930
14930
  (W) => {
@@ -14952,7 +14952,7 @@ function $m({
14952
14952
  S(h.id, {
14953
14953
  metricColumns: q
14954
14954
  });
14955
- }, V = async (W) => {
14955
+ }, P = async (W) => {
14956
14956
  await F(W), M();
14957
14957
  }, _ = [
14958
14958
  "pie",
@@ -15109,7 +15109,7 @@ function $m({
15109
15109
  onSaveToDashboard: (W) => {
15110
15110
  W.role === "metric" && L(W);
15111
15111
  },
15112
- onPromoteMetricToDomain: C && w ? V : void 0,
15112
+ onPromoteMetricToDomain: C && w ? P : void 0,
15113
15113
  domainId: C,
15114
15114
  cardId: h.id
15115
15115
  }
@@ -16437,9 +16437,9 @@ function nh({
16437
16437
  const { active: C, over: F } = $;
16438
16438
  if (F && C.id !== F.id) {
16439
16439
  const w = x.conditions.findIndex(
16440
- (V) => V.id === C.id
16440
+ (P) => P.id === C.id
16441
16441
  ), L = x.conditions.findIndex(
16442
- (V) => V.id === F.id
16442
+ (P) => P.id === F.id
16443
16443
  );
16444
16444
  w !== -1 && L !== -1 && v(x.id, w, L);
16445
16445
  }
@@ -16478,9 +16478,9 @@ function nh({
16478
16478
  const { active: C, over: F } = $;
16479
16479
  if (F && C.id !== F.id) {
16480
16480
  const w = x.groups.findIndex(
16481
- (V) => V.id === C.id
16481
+ (P) => P.id === C.id
16482
16482
  ), L = x.groups.findIndex(
16483
- (V) => V.id === F.id
16483
+ (P) => P.id === F.id
16484
16484
  );
16485
16485
  w !== -1 && L !== -1 && S(x.id, w, L);
16486
16486
  }
@@ -16563,7 +16563,7 @@ function nh({
16563
16563
  }
16564
16564
  ),
16565
16565
  /* @__PURE__ */ e(
16566
- P,
16566
+ V,
16567
16567
  {
16568
16568
  htmlFor: "advanced-mode",
16569
16569
  className: "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
@@ -16881,7 +16881,7 @@ function lh({
16881
16881
  }) {
16882
16882
  const r = O((c) => c.card), { config: o } = _s(Rs).tokenProps, d = (o == null ? void 0 : o.showInfoTab) !== !1;
16883
16883
  return /* @__PURE__ */ e(
16884
- Ps,
16884
+ Vs,
16885
16885
  {
16886
16886
  value: t,
16887
16887
  onValueChange: (c) => s(c),
@@ -17048,7 +17048,7 @@ function mh({
17048
17048
  pagination: F,
17049
17049
  refetch: w,
17050
17050
  comparisonMetadata: L,
17051
- queryRequestPayload: V
17051
+ queryRequestPayload: P
17052
17052
  } = ht(r), _ = de(
17053
17053
  () => (x == null ? void 0 : x.records) || [],
17054
17054
  [x == null ? void 0 : x.records]
@@ -17071,7 +17071,7 @@ function mh({
17071
17071
  f(Ie), p(Ie);
17072
17072
  }, X = (oe) => {
17073
17073
  if (!d.config) return;
17074
- const pe = Vs(
17074
+ const pe = Ps(
17075
17075
  oe,
17076
17076
  d.config.metricColumns,
17077
17077
  d.config.groupByColumns,
@@ -17288,7 +17288,7 @@ function mh({
17288
17288
  sql: x.sql,
17289
17289
  showCardDetails: !0,
17290
17290
  debugPayloads: I ? {
17291
- queryRequest: V,
17291
+ queryRequest: P,
17292
17292
  queryResponse: x,
17293
17293
  columns: o,
17294
17294
  dashboardFilters: i
@@ -17353,7 +17353,7 @@ const ph = () => {
17353
17353
  };
17354
17354
  };
17355
17355
  function fh({ column: t, isSelected: s, onSelect: n, availableFields: r, width: o, onWidthChange: d }) {
17356
- var V, _, Y;
17356
+ var P, _, Y;
17357
17357
  const i = O((z) => z.card), { updateCardConfig: c, removeGroupByColumn: l, removeMetricColumn: h, updateFilters: f } = be(), [p, m] = G(!1), [N, y] = G(!1), u = Fe(null), v = we((z) => {
17358
17358
  z.preventDefault(), z.stopPropagation(), y(!0), u.current = {
17359
17359
  startX: z.clientX,
@@ -17367,7 +17367,7 @@ function fh({ column: t, isSelected: s, onSelect: n, availableFields: r, width:
17367
17367
  y(!1), u.current = null, document.removeEventListener("mousemove", Q), document.removeEventListener("mouseup", le);
17368
17368
  };
17369
17369
  document.addEventListener("mousemove", Q), document.addEventListener("mouseup", le);
17370
- }, [o, t.id, d]), S = (V = i == null ? void 0 : i.config) == null ? void 0 : V.filters, T = (_ = S == null ? void 0 : S.conditions) == null ? void 0 : _.some(
17370
+ }, [o, t.id, d]), S = (P = i == null ? void 0 : i.config) == null ? void 0 : P.filters, T = (_ = S == null ? void 0 : S.conditions) == null ? void 0 : _.some(
17371
17371
  (z) => z.field.name === t.name && z.field.qualifiedEntityName === t.qualifiedEntityName
17372
17372
  ), B = (z) => {
17373
17373
  z ? f(i.id, z) : c(i.id, { filters: void 0 });
@@ -17589,10 +17589,10 @@ function gh(t) {
17589
17589
  case "number":
17590
17590
  return an;
17591
17591
  case "date":
17592
- return Pn;
17592
+ return Vn;
17593
17593
  case "string":
17594
17594
  default:
17595
- return Vn;
17595
+ return Pn;
17596
17596
  }
17597
17597
  }
17598
17598
  function xh({
@@ -17648,10 +17648,10 @@ function xh({
17648
17648
  if (c(null), !$ || R.id === $.id) return;
17649
17649
  const C = m.findIndex((w) => w.id === R.id), F = m.findIndex((w) => w.id === $.id);
17650
17650
  if (C !== -1 && F !== -1) {
17651
- const w = Tn(m, C, F), L = w.filter((_) => _.role === "groupby"), V = w.filter((_) => _.role === "metric");
17651
+ const w = Tn(m, C, F), L = w.filter((_) => _.role === "groupby"), P = w.filter((_) => _.role === "metric");
17652
17652
  d(o.id, {
17653
17653
  groupByColumns: L,
17654
- metricColumns: V
17654
+ metricColumns: P
17655
17655
  });
17656
17656
  }
17657
17657
  }, b = i ? m.find((A) => A.id === i) : null, D = (A) => {
@@ -17734,7 +17734,7 @@ function xh({
17734
17734
  /* @__PURE__ */ a(ka, { children: [
17735
17735
  /* @__PURE__ */ e(Ia, { children: "No columns available." }),
17736
17736
  /* @__PURE__ */ e(Da, { heading: "Available Columns", children: N.map((A) => {
17737
- const R = Ue(A.dataType), $ = R === "number" ? an : R === "date" ? Pn : Vn;
17737
+ const R = Ue(A.dataType), $ = R === "number" ? an : R === "date" ? Vn : Pn;
17738
17738
  return /* @__PURE__ */ a(
17739
17739
  Aa,
17740
17740
  {
@@ -17890,9 +17890,9 @@ function vh({
17890
17890
  case "number":
17891
17891
  return an;
17892
17892
  case "date":
17893
- return Pn;
17894
- default:
17895
17893
  return Vn;
17894
+ default:
17895
+ return Pn;
17896
17896
  }
17897
17897
  };
17898
17898
  return i ? /* @__PURE__ */ a("div", { className: "flex h-full w-72 flex-col border-l border-border bg-background", children: [
@@ -17923,7 +17923,7 @@ function vh({
17923
17923
  )
17924
17924
  ] }) }),
17925
17925
  (m.length > 0 || N.length > 0) && /* @__PURE__ */ a("div", { className: "border-b border-border", children: [
17926
- m.length > 0 && /* @__PURE__ */ a(Pt, { defaultOpen: !0, children: [
17926
+ m.length > 0 && /* @__PURE__ */ a(Vt, { defaultOpen: !0, children: [
17927
17927
  /* @__PURE__ */ a(Kt, { className: "flex w-full items-center gap-2 px-3 py-2 text-sm font-medium hover:bg-muted/50", children: [
17928
17928
  /* @__PURE__ */ e(Gt, { className: "h-3.5 w-3.5 transition-transform duration-200 [[data-state=open]>&]:rotate-90" }),
17929
17929
  /* @__PURE__ */ e(Bn, { className: "h-3.5 w-3.5 text-blue-500" }),
@@ -17956,7 +17956,7 @@ function vh({
17956
17956
  );
17957
17957
  }) }) })
17958
17958
  ] }),
17959
- N.length > 0 && /* @__PURE__ */ a(Pt, { defaultOpen: !0, children: [
17959
+ N.length > 0 && /* @__PURE__ */ a(Vt, { defaultOpen: !0, children: [
17960
17960
  /* @__PURE__ */ a(Kt, { className: "flex w-full items-center gap-2 px-3 py-2 text-sm font-medium hover:bg-muted/50", children: [
17961
17961
  /* @__PURE__ */ e(Gt, { className: "h-3.5 w-3.5 transition-transform duration-200 [[data-state=open]>&]:rotate-90" }),
17962
17962
  /* @__PURE__ */ e(js, { className: "h-3.5 w-3.5 text-green-500" }),
@@ -17996,7 +17996,7 @@ function vh({
17996
17996
  if (b.length === 0) return null;
17997
17997
  const D = f.has(k.entityId) || l.length > 0;
17998
17998
  return /* @__PURE__ */ a(
17999
- Pt,
17999
+ Vt,
18000
18000
  {
18001
18001
  open: D,
18002
18002
  onOpenChange: () => y(k.entityId),
@@ -18114,9 +18114,9 @@ function Nh({
18114
18114
  case "number":
18115
18115
  return an;
18116
18116
  case "date":
18117
- return Pn;
18118
- default:
18119
18117
  return Vn;
18118
+ default:
18119
+ return Pn;
18120
18120
  }
18121
18121
  };
18122
18122
  return /* @__PURE__ */ a("div", { className: "flex items-center gap-2 border-b border-border bg-muted/30 px-3 py-1.5", children: [
@@ -18306,22 +18306,22 @@ function wh() {
18306
18306
  sourceFields: B,
18307
18307
  getFieldsForContainer: b,
18308
18308
  setFieldsForContainer: D
18309
- }), x = (L, V) => {
18310
- V && S(L, V);
18309
+ }), x = (L, P) => {
18310
+ P && S(L, P);
18311
18311
  }, A = (L) => {
18312
- var V;
18312
+ var P;
18313
18313
  u(L, {
18314
18314
  config: {
18315
- ...(V = p.cards.find((_) => _.id === L)) == null ? void 0 : V.config,
18315
+ ...(P = p.cards.find((_) => _.id === L)) == null ? void 0 : P.config,
18316
18316
  filters: void 0
18317
18317
  }
18318
18318
  });
18319
18319
  }, R = T, $ = (L) => {
18320
18320
  if (!L) return 0;
18321
- let V = L.conditions.length;
18321
+ let P = L.conditions.length;
18322
18322
  return L.groups.forEach((_) => {
18323
- V += $(_);
18324
- }), V;
18323
+ P += $(_);
18324
+ }), P;
18325
18325
  }, C = $(((F = k == null ? void 0 : k.config) == null ? void 0 : F.filters) || null);
18326
18326
  return /* @__PURE__ */ a(
18327
18327
  na,
@@ -18401,7 +18401,7 @@ function wh() {
18401
18401
  );
18402
18402
  }
18403
18403
  function Sh({ authToken: t, onSave: s, onClose: n }) {
18404
- const r = Fe(null), o = O((b) => b.showAIDialog), d = O((b) => b.isDevMode), i = ts((b) => b.setFullscreen), c = ts((b) => b.setPanelOpen), l = ts((b) => b.setContainer), h = Vc("editor"), f = Pc(), p = Bc("editor"), m = f === "editor", N = we(
18404
+ const r = Fe(null), o = O((b) => b.showAIDialog), d = O((b) => b.isDevMode), i = ts((b) => b.setFullscreen), c = ts((b) => b.setPanelOpen), l = ts((b) => b.setContainer), h = Pc("editor"), f = Vc(), p = Bc("editor"), m = f === "editor", N = we(
18405
18405
  (b) => {
18406
18406
  l("editor", b);
18407
18407
  },