react-semaphor 0.0.407 → 0.0.408

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
- import { c as T, p as Tt, u as z, a as Je, b as Ae, d as ra, e as oa, B as $, P as st, f as ca, g as da, h as ha, i as ua, L as P, I as he, j as ma, k as pa, l as fa, m as B, n as ga, o as ya, q as ba, r as Is, s as Kt, t as Z, C as gt, v as Os, S as xe, w as ve, x as Ne, y as Ce, z as Ie, A as Se, E as ie, T as xa, F as qe, G as Re, H as yt, J as ze, K as At, M as bt, N as Ft, O as xt, Q as we, R as va, U as vt, V as Na, W as De, X as Qt, Y as Ee, Z as m, _ as Ca, $ as Xe, a0 as dt, a1 as Ts, a2 as Sa, a3 as wa, a4 as ka, a5 as Ma, a6 as Da, a7 as za, a8 as As, a9 as Ia, aa as Oa, ab as Ta, ac as Aa, ad as Fa, ae as La, af as be, ag as Fs, ah as Ls, ai as Ea, aj as Es, ak as Vs, al as qs, am as Va, an as Te, ao as Rs, ap as Be, aq as ht, ar as zt, as as js, at as _s, au as Hs, av as je, aw as le, ax as qa, ay as Ps, az as Nt, aA as $s, aB as Bs, aC as Us, aD as Wt, aE as Gs, aF as Js, aG as Ks, aH as Qs, aI as It, aJ as Ws, aK as Ue, aL as et, aM as ge, aN as tt, aO as Zs, aP as Ys, aQ as Xs, aR as en, aS as kt, aT as tn, aU as Zt, aV as an, aW as Yt, aX as sn, aY as nn, aZ as ln, a_ as rn, a$ as Ra, b0 as on, b1 as Lt, b2 as ja, b3 as cn, b4 as dn, b5 as rt, b6 as hn, b7 as un, b8 as _a, b9 as mn, ba as pn, bb as fn, bc as gn, bd as yn, be as Ct, bf as Ha, bg as bn, bh as Pa, bi as $a, bj as ot, bk as ct, bl as xn, bm as vn, bn as Nn, bo as Et, bp as Ba, bq as Vt, br as at, bs as Cn, bt as ut, bu as Ua, bv as Sn, bw as Ga, bx as wn, by as kn, bz as Mn, bA as Dn, bB as zn, bC as qt, bD as In, bE as On, bF as Tn, bG as An, bH as Xt, bI as ea, bJ as Ja, bK as Fn, bL as Ln, bM as _e, bN as te, bO as ae, bP as se, bQ as En, bR as Vn, bS as qn, bT as Rn, bU as jn, bV as _n, bW as Hn, bX as Pn, bY as $n, bZ as Mt, b_ as Ka, b$ as Bn, c0 as Un, c1 as Gn, c2 as Jn, c3 as Kn, c4 as Qn } from "./chunks/index-7bHcYoJF.js";
2
- import { D as xr, c9 as vr, c7 as Nr, c7 as Cr, cc as Sr, cb as wr, ca as kr, cd as Mr, c8 as Dr, c5 as zr, c6 as Ir } from "./chunks/index-7bHcYoJF.js";
1
+ import { c as O, p as Tt, u as z, a as Je, b as Ae, d as ra, e as oa, B as $, P as st, f as ca, g as da, h as ha, i as ua, L as P, I as he, j as ma, k as pa, l as fa, m as B, n as ga, o as ya, q as ba, r as Is, s as Kt, t as Z, C as gt, v as Os, S as xe, w as ve, x as Ne, y as Ce, z as Ie, A as Se, E as ie, T as xa, F as qe, G as Re, H as yt, J as ze, K as At, M as bt, N as Ft, O as xt, Q as we, R as va, U as vt, V as Na, W as De, X as Qt, Y as Ee, Z as m, _ as Ca, $ as Xe, a0 as dt, a1 as Ts, a2 as Sa, a3 as wa, a4 as ka, a5 as Ma, a6 as Da, a7 as za, a8 as As, a9 as Ia, aa as Oa, ab as Ta, ac as Aa, ad as Fa, ae as be, af as Fs, ag as Ls, ah as La, ai as Es, aj as Vs, ak as qs, al as Ea, am as Te, an as Rs, ao as Be, ap as ht, aq as zt, ar as js, as as _s, at as Hs, au as je, av as le, aw as Va, ax as Ps, ay as Nt, az as $s, aA as Bs, aB as Us, aC as Wt, aD as Gs, aE as Js, aF as Ks, aG as Qs, aH as It, aI as Ws, aJ as Ue, aK as et, aL as ge, aM as tt, aN as Zs, aO as Ys, aP as Xs, aQ as en, aR as kt, aS as tn, aT as Zt, aU as an, aV as Yt, aW as sn, aX as nn, aY as ln, aZ as rn, a_ as qa, a$ as on, b0 as Lt, b1 as Ra, b2 as cn, b3 as dn, b4 as rt, b5 as hn, b6 as un, b7 as ja, b8 as mn, b9 as pn, ba as fn, bb as gn, bc as yn, bd as Ct, be as _a, bf as bn, bg as Ha, bh as Pa, bi as ot, bj as ct, bk as xn, bl as vn, bm as Nn, bn as Et, bo as $a, bp as Vt, bq as at, br as Cn, bs as ut, bt as Ba, bu as Sn, bv as Ua, bw as wn, bx as kn, by as Mn, bz as Dn, bA as zn, bB as qt, bC as In, bD as On, bE as Tn, bF as An, bG as Xt, bH as ea, bI as Ga, bJ as Fn, bK as Ln, bL as _e, bM as te, bN as ae, bO as se, bP as En, bQ as Vn, bR as qn, bS as Rn, bT as jn, bU as _n, bV as Hn, bW as Pn, bX as $n, bY as Mt, bZ as Ja, b_ as Bn, b$ as Un, c0 as Gn, c1 as Jn, c2 as Kn, c3 as Qn } from "./chunks/index-IlXinKcX.js";
2
+ import { D as xr, c8 as vr, c6 as Nr, c6 as Cr, cb as Sr, ca as wr, c9 as kr, cc as Mr, c7 as Dr, c4 as zr, c5 as Ir } from "./chunks/index-IlXinKcX.js";
3
3
  import { jsxs as n, jsx as e, Fragment as ee } from "react/jsx-runtime";
4
4
  import * as $e from "react";
5
- import Oe, { useState as H, useMemo as mt, useEffect as re, useRef as Ge, useCallback as Qa, Suspense as Wn } from "react";
5
+ import Oe, { useState as H, useMemo as mt, useEffect as re, useRef as Ge, useCallback as Ka, Suspense as Wn } from "react";
6
6
  import "react-dom";
7
7
  /**
8
8
  * @license lucide-react v0.453.0 - ISC
@@ -10,7 +10,7 @@ import "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 Zn = T("AlignCenter", [
13
+ const Zn = O("AlignCenter", [
14
14
  ["path", { d: "M17 12H7", key: "16if0g" }],
15
15
  ["path", { d: "M19 18H5", key: "18s9l3" }],
16
16
  ["path", { d: "M21 6H3", key: "1jwq7v" }]
@@ -21,7 +21,7 @@ const Zn = T("AlignCenter", [
21
21
  * This source code is licensed under the ISC license.
22
22
  * See the LICENSE file in the root directory of this source tree.
23
23
  */
24
- const Yn = T("AlignLeft", [
24
+ const Yn = O("AlignLeft", [
25
25
  ["path", { d: "M15 12H3", key: "6jk70r" }],
26
26
  ["path", { d: "M17 18H3", key: "1amg6g" }],
27
27
  ["path", { d: "M21 6H3", key: "1jwq7v" }]
@@ -32,7 +32,7 @@ const Yn = T("AlignLeft", [
32
32
  * This source code is licensed under the ISC license.
33
33
  * See the LICENSE file in the root directory of this source tree.
34
34
  */
35
- const Xn = T("AlignRight", [
35
+ const Xn = O("AlignRight", [
36
36
  ["path", { d: "M21 12H9", key: "dn1m92" }],
37
37
  ["path", { d: "M21 18H7", key: "1ygte8" }],
38
38
  ["path", { d: "M21 6H3", key: "1jwq7v" }]
@@ -43,7 +43,7 @@ const Xn = T("AlignRight", [
43
43
  * This source code is licensed under the ISC license.
44
44
  * See the LICENSE file in the root directory of this source tree.
45
45
  */
46
- const el = T("ArrowDown", [
46
+ const el = O("ArrowDown", [
47
47
  ["path", { d: "M12 5v14", key: "s699le" }],
48
48
  ["path", { d: "m19 12-7 7-7-7", key: "1idqje" }]
49
49
  ]);
@@ -53,7 +53,7 @@ const el = T("ArrowDown", [
53
53
  * This source code is licensed under the ISC license.
54
54
  * See the LICENSE file in the root directory of this source tree.
55
55
  */
56
- const tl = T("ArrowLeft", [
56
+ const tl = O("ArrowLeft", [
57
57
  ["path", { d: "m12 19-7-7 7-7", key: "1l729n" }],
58
58
  ["path", { d: "M19 12H5", key: "x3x0zl" }]
59
59
  ]);
@@ -63,7 +63,7 @@ const tl = T("ArrowLeft", [
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 al = T("ArrowRight", [
66
+ const al = O("ArrowRight", [
67
67
  ["path", { d: "M5 12h14", key: "1ays0h" }],
68
68
  ["path", { d: "m12 5 7 7-7 7", key: "xquz4c" }]
69
69
  ]);
@@ -73,7 +73,7 @@ const al = T("ArrowRight", [
73
73
  * This source code is licensed under the ISC license.
74
74
  * See the LICENSE file in the root directory of this source tree.
75
75
  */
76
- const sl = T("BookOpenText", [
76
+ const sl = O("BookOpenText", [
77
77
  ["path", { d: "M12 7v14", key: "1akyts" }],
78
78
  ["path", { d: "M16 12h2", key: "7q9ll5" }],
79
79
  ["path", { d: "M16 8h2", key: "msurwy" }],
@@ -93,7 +93,7 @@ const sl = T("BookOpenText", [
93
93
  * This source code is licensed under the ISC license.
94
94
  * See the LICENSE file in the root directory of this source tree.
95
95
  */
96
- const nl = T("BookType", [
96
+ const nl = O("BookType", [
97
97
  ["path", { d: "M10 13h4", key: "ytezjc" }],
98
98
  ["path", { d: "M12 6v7", key: "1f6ttz" }],
99
99
  ["path", { d: "M16 8V6H8v2", key: "x8j6u4" }],
@@ -111,7 +111,7 @@ const nl = T("BookType", [
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 ll = T("Box", [
114
+ const ll = O("Box", [
115
115
  [
116
116
  "path",
117
117
  {
@@ -128,7 +128,7 @@ const ll = T("Box", [
128
128
  * This source code is licensed under the ISC license.
129
129
  * See the LICENSE file in the root directory of this source tree.
130
130
  */
131
- const il = T("Braces", [
131
+ const il = O("Braces", [
132
132
  [
133
133
  "path",
134
134
  { d: "M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1", key: "ezmyqa" }
@@ -147,7 +147,7 @@ const il = T("Braces", [
147
147
  * This source code is licensed under the ISC license.
148
148
  * See the LICENSE file in the root directory of this source tree.
149
149
  */
150
- const rl = T("ChartArea", [
150
+ const rl = O("ChartArea", [
151
151
  ["path", { d: "M3 3v16a2 2 0 0 0 2 2h16", key: "c24i48" }],
152
152
  [
153
153
  "path",
@@ -163,7 +163,7 @@ const rl = T("ChartArea", [
163
163
  * This source code is licensed under the ISC license.
164
164
  * See the LICENSE file in the root directory of this source tree.
165
165
  */
166
- const Rt = T("ChartColumnIncreasing", [
166
+ const Rt = O("ChartColumnIncreasing", [
167
167
  ["path", { d: "M13 17V9", key: "1fwyjl" }],
168
168
  ["path", { d: "M18 17V5", key: "sfb6ij" }],
169
169
  ["path", { d: "M3 3v16a2 2 0 0 0 2 2h16", key: "c24i48" }],
@@ -175,7 +175,7 @@ const Rt = T("ChartColumnIncreasing", [
175
175
  * This source code is licensed under the ISC license.
176
176
  * See the LICENSE file in the root directory of this source tree.
177
177
  */
178
- const Wa = T("ChartColumnStacked", [
178
+ const Qa = O("ChartColumnStacked", [
179
179
  ["path", { d: "M11 13H7", key: "t0o9gq" }],
180
180
  ["path", { d: "M19 9h-4", key: "rera1j" }],
181
181
  ["path", { d: "M3 3v16a2 2 0 0 0 2 2h16", key: "c24i48" }],
@@ -188,7 +188,7 @@ const Wa = T("ChartColumnStacked", [
188
188
  * This source code is licensed under the ISC license.
189
189
  * See the LICENSE file in the root directory of this source tree.
190
190
  */
191
- const jt = T("ChartLine", [
191
+ const jt = O("ChartLine", [
192
192
  ["path", { d: "M3 3v16a2 2 0 0 0 2 2h16", key: "c24i48" }],
193
193
  ["path", { d: "m19 9-5 5-4-4-3 3", key: "2osh9i" }]
194
194
  ]);
@@ -198,7 +198,7 @@ const jt = T("ChartLine", [
198
198
  * This source code is licensed under the ISC license.
199
199
  * See the LICENSE file in the root directory of this source tree.
200
200
  */
201
- const Za = T("ChartNoAxesGantt", [
201
+ const Wa = O("ChartNoAxesGantt", [
202
202
  ["path", { d: "M8 6h10", key: "9lnwnk" }],
203
203
  ["path", { d: "M6 12h9", key: "1g9pqf" }],
204
204
  ["path", { d: "M11 18h7", key: "c8dzvl" }]
@@ -209,7 +209,7 @@ const Za = T("ChartNoAxesGantt", [
209
209
  * This source code is licensed under the ISC license.
210
210
  * See the LICENSE file in the root directory of this source tree.
211
211
  */
212
- const Ya = T("ChartPie", [
212
+ const Za = O("ChartPie", [
213
213
  [
214
214
  "path",
215
215
  {
@@ -225,7 +225,7 @@ const Ya = T("ChartPie", [
225
225
  * This source code is licensed under the ISC license.
226
226
  * See the LICENSE file in the root directory of this source tree.
227
227
  */
228
- const Xa = T("ChartScatter", [
228
+ const Ya = O("ChartScatter", [
229
229
  ["circle", { cx: "7.5", cy: "7.5", r: ".5", fill: "currentColor", key: "kqv944" }],
230
230
  ["circle", { cx: "18.5", cy: "5.5", r: ".5", fill: "currentColor", key: "lysivs" }],
231
231
  ["circle", { cx: "11.5", cy: "11.5", r: ".5", fill: "currentColor", key: "byv1b8" }],
@@ -239,7 +239,7 @@ const Xa = T("ChartScatter", [
239
239
  * This source code is licensed under the ISC license.
240
240
  * See the LICENSE file in the root directory of this source tree.
241
241
  */
242
- const ol = T("CircleArrowRight", [
242
+ const ol = O("CircleArrowRight", [
243
243
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
244
244
  ["path", { d: "M8 12h8", key: "1wcyev" }],
245
245
  ["path", { d: "m12 16 4-4-4-4", key: "1i9zcv" }]
@@ -250,7 +250,7 @@ const ol = T("CircleArrowRight", [
250
250
  * This source code is licensed under the ISC license.
251
251
  * See the LICENSE file in the root directory of this source tree.
252
252
  */
253
- const es = T("CircleX", [
253
+ const Xa = O("CircleX", [
254
254
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
255
255
  ["path", { d: "m15 9-6 6", key: "1uzhvr" }],
256
256
  ["path", { d: "m9 9 6 6", key: "z0biqf" }]
@@ -261,7 +261,7 @@ const es = T("CircleX", [
261
261
  * This source code is licensed under the ISC license.
262
262
  * See the LICENSE file in the root directory of this source tree.
263
263
  */
264
- const cl = T("Clock", [
264
+ const cl = O("Clock", [
265
265
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
266
266
  ["polyline", { points: "12 6 12 12 16 14", key: "68esgv" }]
267
267
  ]);
@@ -271,7 +271,7 @@ const cl = T("Clock", [
271
271
  * This source code is licensed under the ISC license.
272
272
  * See the LICENSE file in the root directory of this source tree.
273
273
  */
274
- const dl = T("Columns3", [
274
+ const dl = O("Columns3", [
275
275
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
276
276
  ["path", { d: "M9 3v18", key: "fh3hqa" }],
277
277
  ["path", { d: "M15 3v18", key: "14nvp0" }]
@@ -282,7 +282,7 @@ const dl = T("Columns3", [
282
282
  * This source code is licensed under the ISC license.
283
283
  * See the LICENSE file in the root directory of this source tree.
284
284
  */
285
- const hl = T("CopyPlus", [
285
+ const hl = O("CopyPlus", [
286
286
  ["line", { x1: "15", x2: "15", y1: "12", y2: "18", key: "1p7wdc" }],
287
287
  ["line", { x1: "12", x2: "18", y1: "15", y2: "15", key: "1nscbv" }],
288
288
  ["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
@@ -294,7 +294,7 @@ const hl = T("CopyPlus", [
294
294
  * This source code is licensed under the ISC license.
295
295
  * See the LICENSE file in the root directory of this source tree.
296
296
  */
297
- const ul = T("Database", [
297
+ const ul = O("Database", [
298
298
  ["ellipse", { cx: "12", cy: "5", rx: "9", ry: "3", key: "msslwz" }],
299
299
  ["path", { d: "M3 5V19A9 3 0 0 0 21 19V5", key: "1wlel7" }],
300
300
  ["path", { d: "M3 12A9 3 0 0 0 21 12", key: "mv7ke4" }]
@@ -305,7 +305,7 @@ const ul = T("Database", [
305
305
  * This source code is licensed under the ISC license.
306
306
  * See the LICENSE file in the root directory of this source tree.
307
307
  */
308
- const ts = T("Donut", [
308
+ const es = O("Donut", [
309
309
  [
310
310
  "path",
311
311
  {
@@ -321,7 +321,18 @@ const ts = T("Donut", [
321
321
  * This source code is licensed under the ISC license.
322
322
  * See the LICENSE file in the root directory of this source tree.
323
323
  */
324
- const ml = T("Eraser", [
324
+ const ts = O("EllipsisVertical", [
325
+ ["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
326
+ ["circle", { cx: "12", cy: "5", r: "1", key: "gxeob9" }],
327
+ ["circle", { cx: "12", cy: "19", r: "1", key: "lyex9k" }]
328
+ ]);
329
+ /**
330
+ * @license lucide-react v0.453.0 - ISC
331
+ *
332
+ * This source code is licensed under the ISC license.
333
+ * See the LICENSE file in the root directory of this source tree.
334
+ */
335
+ const ml = O("Eraser", [
325
336
  [
326
337
  "path",
327
338
  {
@@ -338,7 +349,7 @@ const ml = T("Eraser", [
338
349
  * This source code is licensed under the ISC license.
339
350
  * See the LICENSE file in the root directory of this source tree.
340
351
  */
341
- const pl = T("EyeClosed", [
352
+ const pl = O("EyeClosed", [
342
353
  ["path", { d: "m15 18-.722-3.25", key: "1j64jw" }],
343
354
  ["path", { d: "M2 8a10.645 10.645 0 0 0 20 0", key: "1e7gxb" }],
344
355
  ["path", { d: "m20 15-1.726-2.05", key: "1cnuld" }],
@@ -351,7 +362,7 @@ const pl = T("EyeClosed", [
351
362
  * This source code is licensed under the ISC license.
352
363
  * See the LICENSE file in the root directory of this source tree.
353
364
  */
354
- const fl = T("FileJson2", [
365
+ const fl = O("FileJson2", [
355
366
  ["path", { d: "M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4", key: "1pf5j1" }],
356
367
  ["path", { d: "M14 2v4a2 2 0 0 0 2 2h4", key: "tnqrlb" }],
357
368
  [
@@ -369,7 +380,7 @@ const fl = T("FileJson2", [
369
380
  * This source code is licensed under the ISC license.
370
381
  * See the LICENSE file in the root directory of this source tree.
371
382
  */
372
- const as = T("Filter", [
383
+ const as = O("Filter", [
373
384
  ["polygon", { points: "22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3", key: "1yg77f" }]
374
385
  ]);
375
386
  /**
@@ -378,7 +389,7 @@ const as = T("Filter", [
378
389
  * This source code is licensed under the ISC license.
379
390
  * See the LICENSE file in the root directory of this source tree.
380
391
  */
381
- const gl = T("Glasses", [
392
+ const gl = O("Glasses", [
382
393
  ["circle", { cx: "6", cy: "15", r: "4", key: "vux9w4" }],
383
394
  ["circle", { cx: "18", cy: "15", r: "4", key: "18o8ve" }],
384
395
  ["path", { d: "M14 15a2 2 0 0 0-2-2 2 2 0 0 0-2 2", key: "1ag4bs" }],
@@ -391,7 +402,7 @@ const gl = T("Glasses", [
391
402
  * This source code is licensed under the ISC license.
392
403
  * See the LICENSE file in the root directory of this source tree.
393
404
  */
394
- const yl = T("Grid3x3", [
405
+ const yl = O("Grid3x3", [
395
406
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
396
407
  ["path", { d: "M3 9h18", key: "1pudct" }],
397
408
  ["path", { d: "M3 15h18", key: "5xshup" }],
@@ -404,7 +415,7 @@ const yl = T("Grid3x3", [
404
415
  * This source code is licensed under the ISC license.
405
416
  * See the LICENSE file in the root directory of this source tree.
406
417
  */
407
- const bl = T("Hammer", [
418
+ const bl = O("Hammer", [
408
419
  ["path", { d: "m15 12-8.373 8.373a1 1 0 1 1-3-3L12 9", key: "eefl8a" }],
409
420
  ["path", { d: "m18 15 4-4", key: "16gjal" }],
410
421
  [
@@ -421,7 +432,7 @@ const bl = T("Hammer", [
421
432
  * This source code is licensed under the ISC license.
422
433
  * See the LICENSE file in the root directory of this source tree.
423
434
  */
424
- const xl = T("Hash", [
435
+ const xl = O("Hash", [
425
436
  ["line", { x1: "4", x2: "20", y1: "9", y2: "9", key: "4lhtct" }],
426
437
  ["line", { x1: "4", x2: "20", y1: "15", y2: "15", key: "vyu0kd" }],
427
438
  ["line", { x1: "10", x2: "8", y1: "3", y2: "21", key: "1ggp8o" }],
@@ -433,7 +444,7 @@ const xl = T("Hash", [
433
444
  * This source code is licensed under the ISC license.
434
445
  * See the LICENSE file in the root directory of this source tree.
435
446
  */
436
- const vl = T("House", [
447
+ const vl = O("House", [
437
448
  ["path", { d: "M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8", key: "5wwlr5" }],
438
449
  [
439
450
  "path",
@@ -449,7 +460,7 @@ const vl = T("House", [
449
460
  * This source code is licensed under the ISC license.
450
461
  * See the LICENSE file in the root directory of this source tree.
451
462
  */
452
- const Nl = T("LayoutList", [
463
+ const Nl = O("LayoutList", [
453
464
  ["rect", { width: "7", height: "7", x: "3", y: "3", rx: "1", key: "1g98yp" }],
454
465
  ["rect", { width: "7", height: "7", x: "3", y: "14", rx: "1", key: "1bb6yr" }],
455
466
  ["path", { d: "M14 4h7", key: "3xa0d5" }],
@@ -463,7 +474,7 @@ const Nl = T("LayoutList", [
463
474
  * This source code is licensed under the ISC license.
464
475
  * See the LICENSE file in the root directory of this source tree.
465
476
  */
466
- const Cl = T("ListEnd", [
477
+ const Cl = O("ListEnd", [
467
478
  ["path", { d: "M16 12H3", key: "1a2rj7" }],
468
479
  ["path", { d: "M16 6H3", key: "1wxfjs" }],
469
480
  ["path", { d: "M10 18H3", key: "13769t" }],
@@ -476,7 +487,7 @@ const Cl = T("ListEnd", [
476
487
  * This source code is licensed under the ISC license.
477
488
  * See the LICENSE file in the root directory of this source tree.
478
489
  */
479
- const Sl = T("ListStart", [
490
+ const Sl = O("ListStart", [
480
491
  ["path", { d: "M16 12H3", key: "1a2rj7" }],
481
492
  ["path", { d: "M16 18H3", key: "12xzn7" }],
482
493
  ["path", { d: "M10 6H3", key: "lf8lx7" }],
@@ -489,7 +500,7 @@ const Sl = T("ListStart", [
489
500
  * This source code is licensed under the ISC license.
490
501
  * See the LICENSE file in the root directory of this source tree.
491
502
  */
492
- const wl = T("ListX", [
503
+ const wl = O("ListX", [
493
504
  ["path", { d: "M11 12H3", key: "51ecnj" }],
494
505
  ["path", { d: "M16 6H3", key: "1wxfjs" }],
495
506
  ["path", { d: "M16 18H3", key: "12xzn7" }],
@@ -502,7 +513,7 @@ const wl = T("ListX", [
502
513
  * This source code is licensed under the ISC license.
503
514
  * See the LICENSE file in the root directory of this source tree.
504
515
  */
505
- const Ve = T("LoaderCircle", [
516
+ const Ve = O("LoaderCircle", [
506
517
  ["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]
507
518
  ]);
508
519
  /**
@@ -511,7 +522,7 @@ const Ve = T("LoaderCircle", [
511
522
  * This source code is licensed under the ISC license.
512
523
  * See the LICENSE file in the root directory of this source tree.
513
524
  */
514
- const kl = T("Logs", [
525
+ const kl = O("Logs", [
515
526
  ["path", { d: "M13 12h8", key: "h98zly" }],
516
527
  ["path", { d: "M13 18h8", key: "oe0vm4" }],
517
528
  ["path", { d: "M13 6h8", key: "15sg57" }],
@@ -528,7 +539,7 @@ const kl = T("Logs", [
528
539
  * This source code is licensed under the ISC license.
529
540
  * See the LICENSE file in the root directory of this source tree.
530
541
  */
531
- const Ml = T("Mail", [
542
+ const Ml = O("Mail", [
532
543
  ["rect", { width: "20", height: "16", x: "2", y: "4", rx: "2", key: "18n3k1" }],
533
544
  ["path", { d: "m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7", key: "1ocrg3" }]
534
545
  ]);
@@ -538,7 +549,7 @@ const Ml = T("Mail", [
538
549
  * This source code is licensed under the ISC license.
539
550
  * See the LICENSE file in the root directory of this source tree.
540
551
  */
541
- const ss = T("Map", [
552
+ const ss = O("Map", [
542
553
  [
543
554
  "path",
544
555
  {
@@ -555,7 +566,7 @@ const ss = T("Map", [
555
566
  * This source code is licensed under the ISC license.
556
567
  * See the LICENSE file in the root directory of this source tree.
557
568
  */
558
- const Dl = T("MessageSquareMore", [
569
+ const Dl = O("MessageSquareMore", [
559
570
  ["path", { d: "M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z", key: "1lielz" }],
560
571
  ["path", { d: "M8 10h.01", key: "19clt8" }],
561
572
  ["path", { d: "M12 10h.01", key: "1nrarc" }],
@@ -567,7 +578,7 @@ const Dl = T("MessageSquareMore", [
567
578
  * This source code is licensed under the ISC license.
568
579
  * See the LICENSE file in the root directory of this source tree.
569
580
  */
570
- const zl = T("MoveHorizontal", [
581
+ const zl = O("MoveHorizontal", [
571
582
  ["path", { d: "m18 8 4 4-4 4", key: "1ak13k" }],
572
583
  ["path", { d: "M2 12h20", key: "9i4pu4" }],
573
584
  ["path", { d: "m6 8-4 4 4 4", key: "15zrgr" }]
@@ -578,7 +589,7 @@ const zl = T("MoveHorizontal", [
578
589
  * This source code is licensed under the ISC license.
579
590
  * See the LICENSE file in the root directory of this source tree.
580
591
  */
581
- const Il = T("MoveVertical", [
592
+ const Il = O("MoveVertical", [
582
593
  ["path", { d: "M12 2v20", key: "t6zp3m" }],
583
594
  ["path", { d: "m8 18 4 4 4-4", key: "bh5tu3" }],
584
595
  ["path", { d: "m8 6 4-4 4 4", key: "ybng9g" }]
@@ -589,7 +600,7 @@ const Il = T("MoveVertical", [
589
600
  * This source code is licensed under the ISC license.
590
601
  * See the LICENSE file in the root directory of this source tree.
591
602
  */
592
- const Ol = T("Network", [
603
+ const Ol = O("Network", [
593
604
  ["rect", { x: "16", y: "16", width: "6", height: "6", rx: "1", key: "4q2zg0" }],
594
605
  ["rect", { x: "2", y: "16", width: "6", height: "6", rx: "1", key: "8cvhb9" }],
595
606
  ["rect", { x: "9", y: "2", width: "6", height: "6", rx: "1", key: "1egb70" }],
@@ -602,7 +613,7 @@ const Ol = T("Network", [
602
613
  * This source code is licensed under the ISC license.
603
614
  * See the LICENSE file in the root directory of this source tree.
604
615
  */
605
- const Tl = T("Plug2", [
616
+ const Tl = O("Plug2", [
606
617
  ["path", { d: "M9 2v6", key: "17ngun" }],
607
618
  ["path", { d: "M15 2v6", key: "s7yy2p" }],
608
619
  ["path", { d: "M12 17v5", key: "bb1du9" }],
@@ -615,7 +626,7 @@ const Tl = T("Plug2", [
615
626
  * This source code is licensed under the ISC license.
616
627
  * See the LICENSE file in the root directory of this source tree.
617
628
  */
618
- const ns = T("Radar", [
629
+ const ns = O("Radar", [
619
630
  ["path", { d: "M19.07 4.93A10 10 0 0 0 6.99 3.34", key: "z3du51" }],
620
631
  ["path", { d: "M4 6h.01", key: "oypzma" }],
621
632
  ["path", { d: "M2.29 9.62A10 10 0 1 0 21.31 8.35", key: "qzzz0" }],
@@ -631,7 +642,7 @@ const ns = T("Radar", [
631
642
  * This source code is licensed under the ISC license.
632
643
  * See the LICENSE file in the root directory of this source tree.
633
644
  */
634
- const ls = T("RefreshCw", [
645
+ const ls = O("RefreshCw", [
635
646
  ["path", { d: "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8", key: "v9h5vc" }],
636
647
  ["path", { d: "M21 3v5h-5", key: "1q7to0" }],
637
648
  ["path", { d: "M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16", key: "3uifl3" }],
@@ -643,7 +654,7 @@ const ls = T("RefreshCw", [
643
654
  * This source code is licensed under the ISC license.
644
655
  * See the LICENSE file in the root directory of this source tree.
645
656
  */
646
- const Al = T("Rows3", [
657
+ const Al = O("Rows3", [
647
658
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
648
659
  ["path", { d: "M21 9H3", key: "1338ky" }],
649
660
  ["path", { d: "M21 15H3", key: "9uk58r" }]
@@ -654,7 +665,7 @@ const Al = T("Rows3", [
654
665
  * This source code is licensed under the ISC license.
655
666
  * See the LICENSE file in the root directory of this source tree.
656
667
  */
657
- const Fl = T("Ruler", [
668
+ const Fl = O("Ruler", [
658
669
  [
659
670
  "path",
660
671
  {
@@ -673,7 +684,7 @@ const Fl = T("Ruler", [
673
684
  * This source code is licensed under the ISC license.
674
685
  * See the LICENSE file in the root directory of this source tree.
675
686
  */
676
- const Ll = T("Save", [
687
+ const Ll = O("Save", [
677
688
  [
678
689
  "path",
679
690
  {
@@ -690,7 +701,7 @@ const Ll = T("Save", [
690
701
  * This source code is licensed under the ISC license.
691
702
  * See the LICENSE file in the root directory of this source tree.
692
703
  */
693
- const is = T("Shapes", [
704
+ const is = O("Shapes", [
694
705
  [
695
706
  "path",
696
707
  {
@@ -707,7 +718,7 @@ const is = T("Shapes", [
707
718
  * This source code is licensed under the ISC license.
708
719
  * See the LICENSE file in the root directory of this source tree.
709
720
  */
710
- const El = T("ShieldQuestion", [
721
+ const El = O("ShieldQuestion", [
711
722
  [
712
723
  "path",
713
724
  {
@@ -724,7 +735,7 @@ const El = T("ShieldQuestion", [
724
735
  * This source code is licensed under the ISC license.
725
736
  * See the LICENSE file in the root directory of this source tree.
726
737
  */
727
- const Vl = T("Sigma", [
738
+ const Vl = O("Sigma", [
728
739
  [
729
740
  "path",
730
741
  {
@@ -739,7 +750,7 @@ const Vl = T("Sigma", [
739
750
  * This source code is licensed under the ISC license.
740
751
  * See the LICENSE file in the root directory of this source tree.
741
752
  */
742
- const ql = T("Square", [
753
+ const ql = O("Square", [
743
754
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }]
744
755
  ]);
745
756
  /**
@@ -748,7 +759,7 @@ const ql = T("Square", [
748
759
  * This source code is licensed under the ISC license.
749
760
  * See the LICENSE file in the root directory of this source tree.
750
761
  */
751
- const _t = T("Table2", [
762
+ const _t = O("Table2", [
752
763
  [
753
764
  "path",
754
765
  {
@@ -763,7 +774,7 @@ const _t = T("Table2", [
763
774
  * This source code is licensed under the ISC license.
764
775
  * See the LICENSE file in the root directory of this source tree.
765
776
  */
766
- const Rl = T("Tag", [
777
+ const Rl = O("Tag", [
767
778
  [
768
779
  "path",
769
780
  {
@@ -779,7 +790,7 @@ const Rl = T("Tag", [
779
790
  * This source code is licensed under the ISC license.
780
791
  * See the LICENSE file in the root directory of this source tree.
781
792
  */
782
- const jl = T("ToggleLeft", [
793
+ const jl = O("ToggleLeft", [
783
794
  ["rect", { width: "20", height: "12", x: "2", y: "6", rx: "6", ry: "6", key: "f2vt7d" }],
784
795
  ["circle", { cx: "8", cy: "12", r: "2", key: "1nvbw3" }]
785
796
  ]);
@@ -789,7 +800,7 @@ const jl = T("ToggleLeft", [
789
800
  * This source code is licensed under the ISC license.
790
801
  * See the LICENSE file in the root directory of this source tree.
791
802
  */
792
- const rs = T("Tornado", [
803
+ const rs = O("Tornado", [
793
804
  ["path", { d: "M21 4H3", key: "1hwok0" }],
794
805
  ["path", { d: "M18 8H6", key: "41n648" }],
795
806
  ["path", { d: "M19 12H9", key: "1g4lpz" }],
@@ -802,7 +813,7 @@ const rs = T("Tornado", [
802
813
  * This source code is licensed under the ISC license.
803
814
  * See the LICENSE file in the root directory of this source tree.
804
815
  */
805
- const _l = T("Trash2", [
816
+ const _l = O("Trash2", [
806
817
  ["path", { d: "M3 6h18", key: "d0wm0j" }],
807
818
  ["path", { d: "M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6", key: "4alrt4" }],
808
819
  ["path", { d: "M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2", key: "v07s0e" }],
@@ -815,7 +826,7 @@ const _l = T("Trash2", [
815
826
  * This source code is licensed under the ISC license.
816
827
  * See the LICENSE file in the root directory of this source tree.
817
828
  */
818
- const os = T("Type", [
829
+ const os = O("Type", [
819
830
  ["polyline", { points: "4 7 4 4 20 4 20 7", key: "1nosan" }],
820
831
  ["line", { x1: "9", x2: "15", y1: "20", y2: "20", key: "swin9y" }],
821
832
  ["line", { x1: "12", x2: "12", y1: "4", y2: "20", key: "1tx1rr" }]
@@ -1239,7 +1250,7 @@ function Ql({
1239
1250
  i === "loading" && /* @__PURE__ */ e(Ve, { className: "mr-2 size-4 animate-spin" }),
1240
1251
  i === "success" && /* @__PURE__ */ e(At, { className: "mr-2 size-4" }),
1241
1252
  i === "error" && /* @__PURE__ */ n(bt, { children: [
1242
- /* @__PURE__ */ e(Ft, { children: /* @__PURE__ */ e(es, { className: "mr-2 size-4 text-destructive" }) }),
1253
+ /* @__PURE__ */ e(Ft, { children: /* @__PURE__ */ e(Xa, { className: "mr-2 size-4 text-destructive" }) }),
1243
1254
  /* @__PURE__ */ e(xt, { children: /* @__PURE__ */ e("p", { children: c }) })
1244
1255
  ] }),
1245
1256
  "Schedule"
@@ -1690,11 +1701,11 @@ function Xl({ column: t }) {
1690
1701
  ), r = m((b) => b.sqlGen), { modelItems: d, connectionType: h } = He(), f = m((b) => b.actions.setSqlGen), u = m((b) => b.actions.setCardSql), y = m((b) => b.actions.setRunSql);
1691
1702
  function v(b, g) {
1692
1703
  var M;
1693
- const C = Fa(b, r, g), x = (M = d == null ? void 0 : d.find(
1704
+ const C = Aa(b, r, g), x = (M = d == null ? void 0 : d.find(
1694
1705
  (F) => F.id === c
1695
1706
  )) == null ? void 0 : M.name;
1696
1707
  f(C);
1697
- const D = La(
1708
+ const D = Fa(
1698
1709
  C,
1699
1710
  be(i || ""),
1700
1711
  be(l),
@@ -1748,9 +1759,9 @@ function Xl({ column: t }) {
1748
1759
  ] });
1749
1760
  }
1750
1761
  return /* @__PURE__ */ n(Ia, { openDelay: 0, open: s, onOpenChange: a, children: [
1751
- /* @__PURE__ */ e(Oa, { asChild: !0, children: /* @__PURE__ */ e(Ta, { className: "invisible size-3.5 cursor-pointer text-foreground/40 group-hover:visible" }) }),
1762
+ /* @__PURE__ */ e(Oa, { asChild: !0, children: /* @__PURE__ */ e(ts, { className: "invisible size-3.5 cursor-pointer text-foreground/40 group-hover:visible" }) }),
1752
1763
  /* @__PURE__ */ e(
1753
- Aa,
1764
+ Ta,
1754
1765
  {
1755
1766
  align: "center",
1756
1767
  className: "w-20 rounded-md p-0 shadow-none",
@@ -1761,7 +1772,7 @@ function Xl({ column: t }) {
1761
1772
  }
1762
1773
  function hs({ column: t }) {
1763
1774
  return /* @__PURE__ */ n(bt, { children: [
1764
- /* @__PURE__ */ e(Fs, { asChild: !0, children: Ls(t.data_type) ? /* @__PURE__ */ e(os, { className: "size-3" }) : Ea(t.data_type) ? /* @__PURE__ */ e(xl, { className: "size-3" }) : Es(t.data_type) ? /* @__PURE__ */ e(Vs, { className: "size-3" }) : qs(t.data_type) ? /* @__PURE__ */ e(jl, { className: "size-3" }) : t.data_type.toLowerCase() === "json" ? /* @__PURE__ */ e(il, { className: "size-3" }) : /* @__PURE__ */ e(El, { className: "size-3" }) }),
1775
+ /* @__PURE__ */ e(Fs, { asChild: !0, children: Ls(t.data_type) ? /* @__PURE__ */ e(os, { className: "size-3" }) : La(t.data_type) ? /* @__PURE__ */ e(xl, { className: "size-3" }) : Es(t.data_type) ? /* @__PURE__ */ e(Vs, { className: "size-3" }) : qs(t.data_type) ? /* @__PURE__ */ e(jl, { className: "size-3" }) : t.data_type.toLowerCase() === "json" ? /* @__PURE__ */ e(il, { className: "size-3" }) : /* @__PURE__ */ e(El, { className: "size-3" }) }),
1765
1776
  /* @__PURE__ */ e(xt, { children: /* @__PURE__ */ e("p", { className: "font-mono text-xs", children: t.data_type }) })
1766
1777
  ] });
1767
1778
  }
@@ -1786,11 +1797,11 @@ function ei({
1786
1797
  ), x = m((p) => p.actions.setCardSql), { connectionType: D, modelItems: M, selectedDatamodelName: F } = He();
1787
1798
  function S(p) {
1788
1799
  var G;
1789
- const I = Fa(p, i);
1800
+ const I = Aa(p, i);
1790
1801
  g(I);
1791
1802
  const U = (G = M == null ? void 0 : M.find(
1792
1803
  (K) => K.id === f
1793
- )) == null ? void 0 : G.name, V = La(
1804
+ )) == null ? void 0 : G.name, V = Fa(
1794
1805
  I,
1795
1806
  be(t),
1796
1807
  be(s),
@@ -1854,7 +1865,7 @@ function ei({
1854
1865
  return /* @__PURE__ */ n("div", { className: "flex grow flex-col space-y-4 px-4", children: [
1855
1866
  /* @__PURE__ */ n("div", { className: "mx-2 flex items-center justify-center gap-2", children: [
1856
1867
  /* @__PURE__ */ n(
1857
- Va,
1868
+ Ea,
1858
1869
  {
1859
1870
  title: `${L() ? "Remove from" : "Add to"} Assistant Scope`,
1860
1871
  pressed: L(),
@@ -1931,7 +1942,7 @@ function ei({
1931
1942
  {
1932
1943
  onClick: (I) => I.stopPropagation(),
1933
1944
  className: "flex items-center justify-end",
1934
- children: Ea(p.data_type) && /* @__PURE__ */ e(Xl, { column: p })
1945
+ children: La(p.data_type) && /* @__PURE__ */ e(Xl, { column: p })
1935
1946
  }
1936
1947
  )
1937
1948
  ]
@@ -2048,7 +2059,7 @@ function He(t, s) {
2048
2059
  }), {
2049
2060
  data: X,
2050
2061
  isLoading: oe,
2051
- isFetching: O,
2062
+ isFetching: T,
2052
2063
  isError: J,
2053
2064
  refetch: ue
2054
2065
  } = De({
@@ -2169,7 +2180,7 @@ function He(t, s) {
2169
2180
  isSchemaLoadingOrFetching: Q || ne,
2170
2181
  isSchemaError: j,
2171
2182
  tableItems: Ds,
2172
- isTableLoadingOrFetching: oe || O,
2183
+ isTableLoadingOrFetching: oe || T,
2173
2184
  isTableError: J,
2174
2185
  columns: a,
2175
2186
  isColumnsLoadingOrFetching: ke || Me,
@@ -2249,7 +2260,7 @@ function us({
2249
2260
  }
2250
2261
  );
2251
2262
  }
2252
- function O() {
2263
+ function T() {
2253
2264
  window.location.href = "mailto:support@semaphor.cloud?subject=Help&body=I need help with...";
2254
2265
  }
2255
2266
  function J() {
@@ -2367,7 +2378,7 @@ function us({
2367
2378
  /* @__PURE__ */ e("div", { className: "flex items-end justify-center gap-2 px-6 py-4", children: /* @__PURE__ */ n(
2368
2379
  $,
2369
2380
  {
2370
- onClick: O,
2381
+ onClick: T,
2371
2382
  size: "sm",
2372
2383
  variant: "secondary",
2373
2384
  className: "w-full",
@@ -2399,9 +2410,9 @@ function ti(t) {
2399
2410
  }
2400
2411
  function ai({ sql: t, error: s, onClick: a }) {
2401
2412
  return !t && !s ? null : /* @__PURE__ */ n(Ia, { openDelay: s ? 0 : 500, children: [
2402
- /* @__PURE__ */ e(Oa, { asChild: !0, children: /* @__PURE__ */ e($, { variant: "link", className: "h-5 p-0", children: s ? /* @__PURE__ */ e(es, { className: "h-4 w-4 text-red-500" }) : /* @__PURE__ */ e(js, { className: "h-4 w-4 text-muted-foreground" }) }) }),
2413
+ /* @__PURE__ */ e(Oa, { asChild: !0, children: /* @__PURE__ */ e($, { variant: "link", className: "h-5 p-0", children: s ? /* @__PURE__ */ e(Xa, { className: "h-4 w-4 text-red-500" }) : /* @__PURE__ */ e(js, { className: "h-4 w-4 text-muted-foreground" }) }) }),
2403
2414
  /* @__PURE__ */ e(
2404
- Aa,
2415
+ Ta,
2405
2416
  {
2406
2417
  align: "start",
2407
2418
  className: "w-full min-w-fit max-w-[700px]",
@@ -2534,9 +2545,9 @@ function di(t) {
2534
2545
  return Ke({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M439.8 200.5c-7.7-30.9-22.3-54.2-53.4-54.2h-40.1v47.4c0 36.8-31.2 67.8-66.8 67.8H172.7c-29.2 0-53.4 25-53.4 54.3v101.8c0 29 25.2 46 53.4 54.3 33.8 9.9 66.3 11.7 106.8 0 26.9-7.8 53.4-23.5 53.4-54.3v-40.7H226.2v-13.6h160.2c31.1 0 42.6-21.7 53.4-54.2 11.2-33.5 10.7-65.7 0-108.6zM286.2 404c11.1 0 20.1 9.1 20.1 20.3 0 11.3-9 20.4-20.1 20.4-11 0-20.1-9.2-20.1-20.4.1-11.3 9.1-20.3 20.1-20.3zM167.8 248.1h106.8c29.7 0 53.4-24.5 53.4-54.3V91.9c0-29-24.4-50.7-53.4-55.6-35.8-5.9-74.7-5.6-106.8.1-45.2 8-53.4 24.7-53.4 55.6v40.7h106.9v13.6h-147c-31.1 0-58.3 18.7-66.8 54.2-9.8 40.7-10.2 66.1 0 108.6 7.6 31.6 25.7 54.2 56.8 54.2H101v-48.8c0-35.3 30.5-66.4 66.8-66.4zm-6.7-142.6c-11.1 0-20.1-9.1-20.1-20.3.1-11.3 9-20.4 20.1-20.4 11 0 20.1 9.2 20.1 20.4s-9 20.3-20.1 20.3z" }, child: [] }] })(t);
2535
2546
  }
2536
2547
  function fs(t) {
2537
- const { theme: s } = _s(), a = z((g) => g.theme), l = m((g) => g.frame), i = m((g) => g.card), c = m((g) => g.activeTabCardId), r = Hs(), { refetch: d } = je(i), { updateCardTab: h, setRunSql: f } = le(), u = Ge(), y = Ge({}), v = l.cards.find((g) => g.id === c), o = Qa(() => {
2548
+ const { theme: s } = _s(), a = z((g) => g.theme), l = m((g) => g.frame), i = m((g) => g.card), c = m((g) => g.activeTabCardId), r = Hs(), { refetch: d } = je(i), { updateCardTab: h, setRunSql: f } = le(), u = Ge(), y = Ge({}), v = l.cards.find((g) => g.id === c), o = Ka(() => {
2538
2549
  let g = "";
2539
- return t === "python" && (g = (v == null ? void 0 : v.python) || qa), t === "sql" && (g = (v == null ? void 0 : v.sql) || ""), g;
2550
+ return t === "python" && (g = (v == null ? void 0 : v.python) || Va), t === "sql" && (g = (v == null ? void 0 : v.sql) || ""), g;
2540
2551
  }, [t, v]);
2541
2552
  re(() => {
2542
2553
  if (c && i.id && i.id !== c) {
@@ -2634,7 +2645,7 @@ function ui() {
2634
2645
  className: "pt-3",
2635
2646
  theme: "default",
2636
2647
  onChange: l,
2637
- value: t || qa,
2648
+ value: t || Va,
2638
2649
  options: {
2639
2650
  minimap: {
2640
2651
  enabled: !1
@@ -2679,22 +2690,22 @@ function mi({ jsonString: t }) {
2679
2690
  );
2680
2691
  }
2681
2692
  function gs(t) {
2682
- const [s, a] = H(""), [l, i] = H(null), { authToken: c } = Ae(), r = m((O) => {
2693
+ const [s, a] = H(""), [l, i] = H(null), { authToken: c } = Ae(), r = m((T) => {
2683
2694
  var J;
2684
- return (J = O == null ? void 0 : O.card) == null ? void 0 : J.sql;
2685
- }), d = m((O) => {
2695
+ return (J = T == null ? void 0 : T.card) == null ? void 0 : J.sql;
2696
+ }), d = m((T) => {
2686
2697
  var J;
2687
- return (J = O == null ? void 0 : O.card) == null ? void 0 : J.python;
2688
- }), h = m((O) => O.actions.setCardSql), f = m((O) => O.actions.setRunSql), u = m(
2689
- (O) => O.actions.switchCardType
2690
- ), y = m((O) => O.currentAssitantScope) || [], v = m((O) => O.userInputForAI), o = m((O) => O.triggerAIRun), b = m(
2691
- (O) => O.selectedDatabaseName
2692
- ), g = m((O) => O.selectedTableName), C = m(
2693
- (O) => O.selectedConnectionId
2698
+ return (J = T == null ? void 0 : T.card) == null ? void 0 : J.python;
2699
+ }), h = m((T) => T.actions.setCardSql), f = m((T) => T.actions.setRunSql), u = m(
2700
+ (T) => T.actions.switchCardType
2701
+ ), y = m((T) => T.currentAssitantScope) || [], v = m((T) => T.userInputForAI), o = m((T) => T.triggerAIRun), b = m(
2702
+ (T) => T.selectedDatabaseName
2703
+ ), g = m((T) => T.selectedTableName), C = m(
2704
+ (T) => T.selectedConnectionId
2694
2705
  ), x = m(
2695
- (O) => O.selectedSchemaName
2706
+ (T) => T.selectedSchemaName
2696
2707
  ), D = z(
2697
- (O) => O.dashboard.aiScopeTables
2708
+ (T) => T.dashboard.aiScopeTables
2698
2709
  ), { setTriggerAIRun: M, setCurrentAssitantScope: F } = le(), { selectedDatamodelName: S, connectionType: L, selectedDatamodelId: R } = He(), {
2699
2710
  messages: _,
2700
2711
  setMessages: W,
@@ -2717,7 +2728,7 @@ function gs(t) {
2717
2728
  maxSteps: 10,
2718
2729
  //maxToolRoundtrips: 5,
2719
2730
  onToolCall: q,
2720
- onFinish(O, J) {
2731
+ onFinish(T, J) {
2721
2732
  Q(J.usage), a(""), J.finishReason === "stop" && a("");
2722
2733
  }
2723
2734
  });
@@ -2735,19 +2746,19 @@ function gs(t) {
2735
2746
  K
2736
2747
  ]);
2737
2748
  async function q({
2738
- toolCall: O
2749
+ toolCall: T
2739
2750
  }) {
2740
- if (O.toolName === "createChartFromSql") {
2741
- const J = O.args.sql, ue = O.args.chartType;
2751
+ if (T.toolName === "createChartFromSql") {
2752
+ const J = T.args.sql, ue = T.args.chartType;
2742
2753
  return u(ue), h(J), f(!0), {
2743
2754
  status: "success",
2744
2755
  message: "Let the user know that chart is created"
2745
2756
  // query: sql,
2746
2757
  };
2747
- } else if (O.toolName === "getTableColumns")
2758
+ } else if (T.toolName === "getTableColumns")
2748
2759
  a("Getting table columns...");
2749
2760
  else {
2750
- if (O.toolName === "getUserSql")
2761
+ if (T.toolName === "getUserSql")
2751
2762
  return r ? {
2752
2763
  status: "success",
2753
2764
  sql: r,
@@ -2756,7 +2767,7 @@ function gs(t) {
2756
2767
  status: "error",
2757
2768
  message: "No SQL found"
2758
2769
  };
2759
- if (O.toolName === "getCurrentTableScope")
2770
+ if (T.toolName === "getCurrentTableScope")
2760
2771
  return a("Getting table scope..."), X(), {
2761
2772
  status: "success",
2762
2773
  tables: y
@@ -2764,19 +2775,19 @@ function gs(t) {
2764
2775
  a("Analyzing...");
2765
2776
  }
2766
2777
  }
2767
- function Q(O) {
2778
+ function Q(T) {
2768
2779
  i((J) => J ? {
2769
- promptTokens: J.promptTokens + O.promptTokens,
2770
- completionTokens: J.completionTokens + O.completionTokens,
2771
- totalTokens: J.totalTokens + O.totalTokens
2772
- } : O);
2780
+ promptTokens: J.promptTokens + T.promptTokens,
2781
+ completionTokens: J.completionTokens + T.completionTokens,
2782
+ totalTokens: J.totalTokens + T.totalTokens
2783
+ } : T);
2773
2784
  }
2774
- function ne(O) {
2775
- const J = Us(y, O);
2785
+ function ne(T) {
2786
+ const J = Us(y, T);
2776
2787
  j(J);
2777
2788
  }
2778
- function j(O) {
2779
- const J = Js(O);
2789
+ function j(T) {
2790
+ const J = Js(T);
2780
2791
  F(J), W((ue) => [
2781
2792
  ...ue,
2782
2793
  {
@@ -2787,7 +2798,7 @@ function gs(t) {
2787
2798
  ]);
2788
2799
  }
2789
2800
  function E() {
2790
- const O = {
2801
+ const T = {
2791
2802
  databaseName: b || "",
2792
2803
  schemaName: x || "",
2793
2804
  tableName: g || "",
@@ -2795,11 +2806,11 @@ function gs(t) {
2795
2806
  datamodelName: ht(S),
2796
2807
  connectionId: C || "",
2797
2808
  connectionType: L || ""
2798
- }, J = Wt([...y, O]);
2809
+ }, J = Wt([...y, T]);
2799
2810
  j(J);
2800
2811
  }
2801
2812
  function X() {
2802
- const O = {
2813
+ const T = {
2803
2814
  databaseName: b || "",
2804
2815
  schemaName: x || "",
2805
2816
  tableName: g || "",
@@ -2810,14 +2821,14 @@ function gs(t) {
2810
2821
  };
2811
2822
  if (!Gs(
2812
2823
  [...D || [], ...y],
2813
- O
2824
+ T
2814
2825
  ) || y.length === 0) {
2815
2826
  const ue = Wt([
2816
2827
  ...D || [],
2817
2828
  ...y,
2818
- O
2829
+ T
2819
2830
  ]).filter(
2820
- (ce) => ce.connectionId === O.connectionId
2831
+ (ce) => ce.connectionId === T.connectionId
2821
2832
  );
2822
2833
  j(ue);
2823
2834
  }
@@ -2883,7 +2894,7 @@ function pi() {
2883
2894
  error: E,
2884
2895
  queryKey: X,
2885
2896
  refetch: oe
2886
- } = je(h), { handleSetAIScope: O } = gs();
2897
+ } = je(h), { handleSetAIScope: T } = gs();
2887
2898
  re(() => {
2888
2899
  if (N && (N.rowLimitExceeded && dt.error("Row limit (10,000) exceeded. Refine your query.", {
2889
2900
  position: "top-center",
@@ -3114,7 +3125,7 @@ function pi() {
3114
3125
  }
3115
3126
  ),
3116
3127
  /* @__PURE__ */ e(
3117
- Va,
3128
+ Ea,
3118
3129
  {
3119
3130
  pressed: l,
3120
3131
  onPressedChange: (A) => i(A),
@@ -3128,7 +3139,7 @@ function pi() {
3128
3139
  {
3129
3140
  disabled: b,
3130
3141
  onClick: () => {
3131
- O(), p(!0);
3142
+ T(), p(!0);
3132
3143
  },
3133
3144
  className: "h-9 w-full cursor-text px-3 text-left text-sm text-muted-foreground",
3134
3145
  children: b ? "" : "Type your question..."
@@ -3232,7 +3243,7 @@ function gi({ card: t }) {
3232
3243
  colors: ((M = (D = d == null ? void 0 : d.chart) == null ? void 0 : D.dataset) == null ? void 0 : M.backgroundColor) || []
3233
3244
  };
3234
3245
  (F = t.customCardPreferences) != null && F.inputData;
3235
- const { getCard: f } = Ra(((S = t.customCardPreferences) == null ? void 0 : S.url) || ""), u = ((L = t.customCardPreferences) == null ? void 0 : L.visualType) || "single", y = m((V) => V.frame), { setCustomCardPreferences: v } = le(), { data: o } = je(t), b = Qa((V, G) => {
3246
+ const { getCard: f } = qa(((S = t.customCardPreferences) == null ? void 0 : S.url) || ""), u = ((L = t.customCardPreferences) == null ? void 0 : L.visualType) || "single", y = m((V) => V.frame), { setCustomCardPreferences: v } = le(), { data: o } = je(t), b = Ka((V, G) => {
3236
3247
  i((K) => ({
3237
3248
  ...K,
3238
3249
  [V]: G
@@ -3317,7 +3328,7 @@ function ys({
3317
3328
  var C;
3318
3329
  const a = m((x) => x.card), l = ((C = a.customCardPreferences) == null ? void 0 : C.showCardHeader) ?? !0, i = m((x) => x.frame), c = z((x) => x.dashboard.filters);
3319
3330
  m((x) => x.actions.setRunSql);
3320
- const { updateFilter: r } = Je(), d = c == null ? void 0 : c.find((x) => x.id === i.filterId), { data: h, isLoading: f, isFetching: u } = je(a), { setCard: y } = le(), { data: v } = Lt(a), o = mt(() => !a.id || !(h != null && h.records) ? null : ja({
3331
+ const { updateFilter: r } = Je(), d = c == null ? void 0 : c.find((x) => x.id === i.filterId), { data: h, isLoading: f, isFetching: u } = je(a), { setCard: y } = le(), { data: v } = Lt(a), o = mt(() => !a.id || !(h != null && h.records) ? null : Ra({
3321
3332
  data: h == null ? void 0 : h.records,
3322
3333
  cardType: a.type,
3323
3334
  // cfg: card.cfg,
@@ -3396,7 +3407,7 @@ function ys({
3396
3407
  children: /* @__PURE__ */ e(P, { children: d.title })
3397
3408
  }
3398
3409
  ),
3399
- /* @__PURE__ */ e(_a, { filter: d })
3410
+ /* @__PURE__ */ e(ja, { filter: d })
3400
3411
  ] })
3401
3412
  ] }),
3402
3413
  /* @__PURE__ */ e(mn, { className: "flex grow flex-col", children: g() })
@@ -3451,8 +3462,8 @@ const Dt = ({
3451
3462
  mergedConfig: a,
3452
3463
  onConfigChange: l,
3453
3464
  onCodeChange: i
3454
- }) => /* @__PURE__ */ n(Pa, { defaultValue: "final-config", className: "flex w-1/2 flex-col", children: [
3455
- /* @__PURE__ */ n($a, { className: "justify-start rounded-sm rounded-b-none border border-b-0", children: [
3465
+ }) => /* @__PURE__ */ n(Ha, { defaultValue: "final-config", className: "flex w-1/2 flex-col", children: [
3466
+ /* @__PURE__ */ n(Pa, { className: "justify-start rounded-sm rounded-b-none border border-b-0", children: [
3456
3467
  /* @__PURE__ */ e(ot, { value: "final-config", children: "Config" }),
3457
3468
  /* @__PURE__ */ e(ot, { value: "custom-config", children: "Changes" }),
3458
3469
  /* @__PURE__ */ e(ot, { value: "custom-code", children: "Custom Code" })
@@ -3536,7 +3547,7 @@ function vi() {
3536
3547
  }, D = () => {
3537
3548
  var L, R;
3538
3549
  if (!((L = o == null ? void 0 : o.records) != null && L.length)) return;
3539
- const S = ja({
3550
+ const S = Ra({
3540
3551
  data: o.records,
3541
3552
  cardType: u.type,
3542
3553
  //cfg: card.cfg,
@@ -3576,7 +3587,7 @@ function vi() {
3576
3587
  /* @__PURE__ */ n(ca, { className: "flex h-[600px] grow flex-col overflow-auto sm:min-w-[900px] lg:min-w-[1200px]", children: [
3577
3588
  /* @__PURE__ */ e(yi, {}),
3578
3589
  /* @__PURE__ */ n("div", { className: "flex grow gap-2", children: [
3579
- /* @__PURE__ */ e(Ct, { FallbackComponent: Ha, children: /* @__PURE__ */ e(ys, { className: "w-1/2 rounded shadow-none" }) }),
3590
+ /* @__PURE__ */ e(Ct, { FallbackComponent: _a, children: /* @__PURE__ */ e(ys, { className: "w-1/2 rounded shadow-none" }) }),
3580
3591
  /* @__PURE__ */ e(
3581
3592
  bi,
3582
3593
  {
@@ -3722,7 +3733,7 @@ function wi() {
3722
3733
  tooltip: "Stacked Bar Chart",
3723
3734
  onClick: () => u("stackedBar"),
3724
3735
  className: "h-10 p-4",
3725
- children: /* @__PURE__ */ e(Wa, { className: "size-5" })
3736
+ children: /* @__PURE__ */ e(Qa, { className: "size-5" })
3726
3737
  }
3727
3738
  ),
3728
3739
  /* @__PURE__ */ e(
@@ -3740,7 +3751,7 @@ function wi() {
3740
3751
  tooltip: "Scatter Chart",
3741
3752
  onClick: () => u("scatter"),
3742
3753
  className: "h-10 p-4",
3743
- children: /* @__PURE__ */ e(Xa, { className: "size-5" })
3754
+ children: /* @__PURE__ */ e(Ya, { className: "size-5" })
3744
3755
  }
3745
3756
  ),
3746
3757
  /* @__PURE__ */ e(
@@ -3758,7 +3769,7 @@ function wi() {
3758
3769
  tooltip: "Pie Chart",
3759
3770
  onClick: () => u("pie"),
3760
3771
  className: "h-10 p-4",
3761
- children: /* @__PURE__ */ e(Ya, { className: "size-5" })
3772
+ children: /* @__PURE__ */ e(Za, { className: "size-5" })
3762
3773
  }
3763
3774
  ),
3764
3775
  /* @__PURE__ */ e(
@@ -3767,7 +3778,7 @@ function wi() {
3767
3778
  tooltip: "Doughnut Chart",
3768
3779
  onClick: () => u("doughnut"),
3769
3780
  className: "h-10 p-4",
3770
- children: /* @__PURE__ */ e(ts, { className: "size-5" })
3781
+ children: /* @__PURE__ */ e(es, { className: "size-5" })
3771
3782
  }
3772
3783
  ),
3773
3784
  /* @__PURE__ */ e(
@@ -3803,7 +3814,7 @@ function wi() {
3803
3814
  tooltip: "Range Chart",
3804
3815
  onClick: () => u("range"),
3805
3816
  className: "h-10 p-4",
3806
- children: /* @__PURE__ */ e(Za, { className: "size-5" })
3817
+ children: /* @__PURE__ */ e(Wa, { className: "size-5" })
3807
3818
  }
3808
3819
  ),
3809
3820
  /* @__PURE__ */ e(
@@ -3871,17 +3882,17 @@ function ki({
3871
3882
  case "line":
3872
3883
  return /* @__PURE__ */ e(jt, { className: s });
3873
3884
  case "pie":
3874
- return /* @__PURE__ */ e(Ya, { className: s });
3885
+ return /* @__PURE__ */ e(Za, { className: s });
3875
3886
  case "radar":
3876
3887
  return /* @__PURE__ */ e(ns, { className: s });
3877
3888
  case "scatter":
3878
- return /* @__PURE__ */ e(Xa, { className: s });
3889
+ return /* @__PURE__ */ e(Ya, { className: s });
3879
3890
  case "bubble":
3880
3891
  return /* @__PURE__ */ e(xs, { className: s });
3881
3892
  case "doughnut":
3882
- return /* @__PURE__ */ e(ts, { className: s });
3893
+ return /* @__PURE__ */ e(es, { className: s });
3883
3894
  case "stackedBar":
3884
- return /* @__PURE__ */ e(Wa, { className: s });
3895
+ return /* @__PURE__ */ e(Qa, { className: s });
3885
3896
  case "stackedLine":
3886
3897
  return /* @__PURE__ */ e(vs, { className: s });
3887
3898
  case "polarArea":
@@ -3889,7 +3900,7 @@ function ki({
3889
3900
  case "pyramid":
3890
3901
  return /* @__PURE__ */ e(rs, { className: s });
3891
3902
  case "range":
3892
- return /* @__PURE__ */ e(Za, { className: s });
3903
+ return /* @__PURE__ */ e(Wa, { className: s });
3893
3904
  case "kpi":
3894
3905
  return /* @__PURE__ */ e(Ns, { className: s });
3895
3906
  case "text":
@@ -3905,7 +3916,7 @@ function ki({
3905
3916
  const lt = "focus-visible:ring-0 focus-visible:ring-ring focus-visible:ring-offset-0";
3906
3917
  function la(t, s) {
3907
3918
  var l, i, c;
3908
- const a = Ba(t, s);
3919
+ const a = $a(t, s);
3909
3920
  return ((c = (i = (l = t == null ? void 0 : t.chartOptions) == null ? void 0 : l.scales) == null ? void 0 : i[a]) == null ? void 0 : c.type) || "linear";
3910
3921
  }
3911
3922
  function Mi() {
@@ -3913,7 +3924,7 @@ function Mi() {
3913
3924
  const [t, s] = H(!1), a = m((j) => {
3914
3925
  var E;
3915
3926
  return (E = j.card) == null ? void 0 : E.preferences;
3916
- }), l = Ba(a, {}), [i, c] = H(
3927
+ }), l = $a(a, {}), [i, c] = H(
3917
3928
  la(a)
3918
3929
  ), [r, d] = H(
3919
3930
  ((N = (w = (K = a == null ? void 0 : a.chartOptions) == null ? void 0 : K.scales) == null ? void 0 : w[l]) == null ? void 0 : N.min) || ""
@@ -3926,10 +3937,10 @@ function Mi() {
3926
3937
  return (E = j.card) == null ? void 0 : E.type;
3927
3938
  }), p = ["pie", "doughnut", "polarArea"].includes(W);
3928
3939
  re(() => {
3929
- var j, E, X, oe, O, J, ue, ce, ke, Me, pe, Y, de, Fe;
3940
+ var j, E, X, oe, T, J, ue, ce, ke, Me, pe, Y, de, Fe;
3930
3941
  c(la(a)), d(
3931
3942
  ((X = (E = (j = a == null ? void 0 : a.chartOptions) == null ? void 0 : j.scales) == null ? void 0 : E[l]) == null ? void 0 : X.min) === 0 ? 0 : ""
3932
- ), f(((J = (O = (oe = a == null ? void 0 : a.chartOptions) == null ? void 0 : oe.scales) == null ? void 0 : O[l]) == null ? void 0 : J.max) || ""), o(
3943
+ ), f(((J = (T = (oe = a == null ? void 0 : a.chartOptions) == null ? void 0 : oe.scales) == null ? void 0 : T[l]) == null ? void 0 : J.max) || ""), o(
3933
3944
  ((Me = (ke = (ce = (ue = a == null ? void 0 : a.chartOptions) == null ? void 0 : ue.scales) == null ? void 0 : ce[l]) == null ? void 0 : ke.ticks) == null ? void 0 : Me.stepSize) || ""
3934
3945
  ), g(((pe = a == null ? void 0 : a.numberAxisFormat) == null ? void 0 : pe.decimalPlaces) || 0), x(((Y = a == null ? void 0 : a.numberAxisFormat) == null ? void 0 : Y.suffix) || ""), M(((de = a == null ? void 0 : a.numberAxisFormat) == null ? void 0 : de.currency) || ""), S(((Fe = a == null ? void 0 : a.numberAxisFormat) == null ? void 0 : Fe.locale) || "");
3935
3946
  }, [t, a, l]);
@@ -4187,7 +4198,7 @@ function Di() {
4187
4198
  /* @__PURE__ */ n("div", { className: "grid grid-cols-3 items-center gap-4", children: [
4188
4199
  /* @__PURE__ */ e(P, { htmlFor: "displayLegend", children: "Display" }),
4189
4200
  /* @__PURE__ */ e("div", { className: "col-span-2 flex h-8 items-center", children: /* @__PURE__ */ e(
4190
- Ua,
4201
+ Ba,
4191
4202
  {
4192
4203
  checked: a,
4193
4204
  onCheckedChange: i,
@@ -4291,7 +4302,7 @@ function Ii() {
4291
4302
  var d, h;
4292
4303
  return (h = (d = r.card) == null ? void 0 : d.preferences) == null ? void 0 : h.chartOptions;
4293
4304
  }
4294
- ), l = Ga(a), { setChartGrid: i } = le();
4305
+ ), l = Ua(a), { setChartGrid: i } = le();
4295
4306
  function c() {
4296
4307
  const r = ["xy", "none", "x", "y"], h = (r.indexOf(l) + 1) % r.length;
4297
4308
  i(r[h]);
@@ -4335,7 +4346,7 @@ function ia() {
4335
4346
  return (N = w.card.preferences) == null ? void 0 : N.chartOptions;
4336
4347
  }
4337
4348
  );
4338
- m((w) => w.actions.setRunSql), Ga(r);
4349
+ m((w) => w.actions.setRunSql), Ua(r);
4339
4350
  const {
4340
4351
  setFrame: d,
4341
4352
  setCard: h,
@@ -4421,14 +4432,14 @@ function ia() {
4421
4432
  }
4422
4433
  function p() {
4423
4434
  return /* @__PURE__ */ n(
4424
- Pa,
4435
+ Ha,
4425
4436
  {
4426
4437
  onValueChange: S,
4427
4438
  value: t.activeCardId,
4428
4439
  className: "flex grow flex-col",
4429
4440
  children: [
4430
4441
  t.cards.map((w) => /* @__PURE__ */ e(ct, { className: "mt-0 grow", value: w.id, children: I() }, w.id)),
4431
- /* @__PURE__ */ e($a, { className: "group mx-6 justify-between overflow-x-auto", children: /* @__PURE__ */ n("div", { className: "flex items-center", children: [
4442
+ /* @__PURE__ */ e(Pa, { className: "group mx-6 justify-between overflow-x-auto", children: /* @__PURE__ */ n("div", { className: "flex items-center", children: [
4432
4443
  t.cards.map((w, N) => /* @__PURE__ */ e(
4433
4444
  rt,
4434
4445
  {
@@ -4492,7 +4503,7 @@ function ia() {
4492
4503
  card: s,
4493
4504
  data: o == null ? void 0 : o.records
4494
4505
  }
4495
- ) }) }) }) : /* @__PURE__ */ e(Ct, { FallbackComponent: Ha, children: /* @__PURE__ */ e(ys, { className: "grow border-none shadow-none" }) });
4506
+ ) }) }) }) : /* @__PURE__ */ e(Ct, { FallbackComponent: _a, children: /* @__PURE__ */ e(ys, { className: "grow border-none shadow-none" }) });
4496
4507
  }
4497
4508
  function U() {
4498
4509
  const w = JSON.stringify(o == null ? void 0 : o.records, null, 2), N = new Blob([w], { type: "application/json" }), q = URL.createObjectURL(N), Q = document.createElement("a");
@@ -4622,7 +4633,7 @@ function Ti() {
4622
4633
  return /* @__PURE__ */ n("div", { className: "flex items-center space-x-2", children: [
4623
4634
  /* @__PURE__ */ e(P, { htmlFor: "visualize", children: "Chart" }),
4624
4635
  /* @__PURE__ */ e(
4625
- Ua,
4636
+ Ba,
4626
4637
  {
4627
4638
  checked: t,
4628
4639
  onCheckedChange: () => s(!t),
@@ -4676,7 +4687,7 @@ function Fi() {
4676
4687
  var g, C;
4677
4688
  const t = m(
4678
4689
  (x) => x.card.customCardPreferences
4679
- ), { data: s } = Ss(), a = (s == null ? void 0 : s.plugins) || [], l = m((x) => x.card), i = m((x) => x.frame), c = (t == null ? void 0 : t.visualType) || "single", { setCustomCardPreferences: r } = le(), { components: d, manifest: h } = Ra(
4690
+ ), { data: s } = Ss(), a = (s == null ? void 0 : s.plugins) || [], l = m((x) => x.card), i = m((x) => x.frame), c = (t == null ? void 0 : t.visualType) || "single", { setCustomCardPreferences: r } = le(), { components: d, manifest: h } = qa(
4680
4691
  (t == null ? void 0 : t.url) || ""
4681
4692
  ), f = (g = h == null ? void 0 : h.visuals) == null ? void 0 : g.find(
4682
4693
  (x) => x.name === (t == null ? void 0 : t.componentName)
@@ -5083,7 +5094,7 @@ function ws() {
5083
5094
  var u, y, v;
5084
5095
  return (v = (y = (u = f == null ? void 0 : f.card) == null ? void 0 : u.preferences) == null ? void 0 : y.chartOptions) == null ? void 0 : v.indexAxis;
5085
5096
  }
5086
- ), { data: a } = je(t), l = s === "y" ? "Y axis" : "X axis", i = s === "y" ? "X axis" : "Y axis", {
5097
+ ), { data: a } = je(t), l = s === "y" ? "Metric" : "Dimension", i = s === "y" ? "Dimension" : "Metric", {
5087
5098
  keys: c,
5088
5099
  metricKeys: r,
5089
5100
  dimensionKeys: d
@@ -5249,7 +5260,7 @@ function Qe() {
5249
5260
  return /* @__PURE__ */ n("div", { className: "space-y-3", children: [
5250
5261
  /* @__PURE__ */ e(P, { children: "Card Filter" }),
5251
5262
  /* @__PURE__ */ e(Vi, { onSelect: c, columns: l }),
5252
- r && /* @__PURE__ */ e(Ja, { filter: r })
5263
+ r && /* @__PURE__ */ e(Ga, { filter: r })
5253
5264
  ] });
5254
5265
  }
5255
5266
  function Vi({
@@ -6468,7 +6479,7 @@ function nr() {
6468
6479
  }
6469
6480
  function G() {
6470
6481
  return /* @__PURE__ */ n(pa, { children: [
6471
- /* @__PURE__ */ e(fa, { asChild: !0, children: /* @__PURE__ */ e($, { className: "h-7 p-2", size: "sm", variant: "ghost", children: /* @__PURE__ */ e(Ta, { className: "size-3.5 text-muted-foreground/70 hover:text-muted-foreground" }) }) }),
6482
+ /* @__PURE__ */ e(fa, { asChild: !0, children: /* @__PURE__ */ e($, { className: "h-7 p-2", size: "sm", variant: "ghost", children: /* @__PURE__ */ e(ts, { className: "size-3.5 text-muted-foreground/70 hover:text-muted-foreground" }) }) }),
6472
6483
  /* @__PURE__ */ n(ga, { align: "end", children: [
6473
6484
  /* @__PURE__ */ e(ya, { children: "Options" }),
6474
6485
  /* @__PURE__ */ e(ba, {}),
@@ -6687,7 +6698,7 @@ function lr({ authToken: t, onSave: s, onClose: a }) {
6687
6698
  }
6688
6699
  );
6689
6700
  }
6690
- return /* @__PURE__ */ e(Ct, { FallbackComponent: Ka, children: /* @__PURE__ */ n("section", { className: "flex h-full grow", "data-content": "editor-panel", children: [
6701
+ return /* @__PURE__ */ e(Ct, { FallbackComponent: Ja, children: /* @__PURE__ */ n("section", { className: "flex h-full grow", "data-content": "editor-panel", children: [
6691
6702
  /* @__PURE__ */ e(us, {}),
6692
6703
  u()
6693
6704
  ] }) });
@@ -6783,8 +6794,8 @@ function cr() {
6783
6794
  {
6784
6795
  className: "flex min-w-[250px] max-w-fit flex-col gap-1 p-2",
6785
6796
  children: [
6786
- /* @__PURE__ */ e(Ja, { filter: l }),
6787
- /* @__PURE__ */ e(_a, { filter: l })
6797
+ /* @__PURE__ */ e(Ga, { filter: l }),
6798
+ /* @__PURE__ */ e(ja, { filter: l })
6788
6799
  ]
6789
6800
  },
6790
6801
  l.id
@@ -6880,7 +6891,7 @@ function gr({
6880
6891
  showFooter: s = !0,
6881
6892
  ...a
6882
6893
  }) {
6883
- return /* @__PURE__ */ e(Ct, { FallbackComponent: Ka, children: /* @__PURE__ */ n(Gn, { dashboardProps: a, children: [
6894
+ return /* @__PURE__ */ e(Ct, { FallbackComponent: Ja, children: /* @__PURE__ */ n(Gn, { dashboardProps: a, children: [
6884
6895
  /* @__PURE__ */ e(Jn, {}),
6885
6896
  /* @__PURE__ */ n(Kn, { children: [
6886
6897
  /* @__PURE__ */ e(hr, {}),
@@ -6901,7 +6912,7 @@ export {
6901
6912
  Cr as SemaphorQueryClient,
6902
6913
  gr as Surfboard,
6903
6914
  Hl as cleanCard,
6904
- Fa as createSqlGenConfig,
6915
+ Aa as createSqlGenConfig,
6905
6916
  Jl as downloadPdf,
6906
6917
  be as fmt,
6907
6918
  Sr as getColumnDataType,
@@ -6909,12 +6920,12 @@ export {
6909
6920
  wr as getFilterValueType,
6910
6921
  zt as getFormattedTableNameForQuery,
6911
6922
  An as getQualifiedTableName,
6912
- La as getSql,
6923
+ Fa as getSql,
6913
6924
  kr as invalidateToken,
6914
6925
  qs as isBooleanDataType,
6915
6926
  Rs as isColumnInSqlGen,
6916
6927
  Es as isDateDataType,
6917
- Ea as isNumberDataType,
6928
+ La as isNumberDataType,
6918
6929
  Ls as isTextDataType,
6919
6930
  Mr as resolveDataType,
6920
6931
  ht as resolveDatamodelName,