react-semaphor 0.0.406 → 0.0.407

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 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-ITE6R1XU.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-ITE6R1XU.js";
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";
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 Ka, Suspense as Wn } 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";
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 = O("AlignCenter", [
13
+ const Zn = T("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 = O("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 = O("AlignLeft", [
24
+ const Yn = T("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 = O("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 = O("AlignRight", [
35
+ const Xn = T("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 = O("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 = O("ArrowDown", [
46
+ const el = T("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 = O("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 = O("ArrowLeft", [
56
+ const tl = T("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 = O("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 = O("ArrowRight", [
66
+ const al = T("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 = O("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 = O("BookOpenText", [
76
+ const sl = T("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 = O("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 = O("BookType", [
96
+ const nl = T("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 = O("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 = O("Box", [
114
+ const ll = T("Box", [
115
115
  [
116
116
  "path",
117
117
  {
@@ -128,7 +128,7 @@ const ll = O("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 = O("Braces", [
131
+ const il = T("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 = O("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 = O("ChartArea", [
150
+ const rl = T("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 = O("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 = O("ChartColumnIncreasing", [
166
+ const Rt = T("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 = O("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 Qa = O("ChartColumnStacked", [
178
+ const Wa = T("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 Qa = O("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 = O("ChartLine", [
191
+ const jt = T("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 = O("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 Wa = O("ChartNoAxesGantt", [
201
+ const Za = T("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 Wa = O("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 Za = O("ChartPie", [
212
+ const Ya = T("ChartPie", [
213
213
  [
214
214
  "path",
215
215
  {
@@ -225,7 +225,7 @@ const Za = O("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 Ya = O("ChartScatter", [
228
+ const Xa = T("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 Ya = O("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 = O("CircleArrowRight", [
242
+ const ol = T("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 = O("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 Xa = O("CircleX", [
253
+ const es = T("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 Xa = O("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 = O("Clock", [
264
+ const cl = T("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 = O("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 = O("Columns3", [
274
+ const dl = T("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 = O("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 = O("CopyPlus", [
285
+ const hl = T("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 = O("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 = O("Database", [
297
+ const ul = T("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 = O("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 es = O("Donut", [
308
+ const ts = T("Donut", [
309
309
  [
310
310
  "path",
311
311
  {
@@ -321,18 +321,7 @@ const es = O("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 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", [
324
+ const ml = T("Eraser", [
336
325
  [
337
326
  "path",
338
327
  {
@@ -349,7 +338,7 @@ const ml = O("Eraser", [
349
338
  * This source code is licensed under the ISC license.
350
339
  * See the LICENSE file in the root directory of this source tree.
351
340
  */
352
- const pl = O("EyeClosed", [
341
+ const pl = T("EyeClosed", [
353
342
  ["path", { d: "m15 18-.722-3.25", key: "1j64jw" }],
354
343
  ["path", { d: "M2 8a10.645 10.645 0 0 0 20 0", key: "1e7gxb" }],
355
344
  ["path", { d: "m20 15-1.726-2.05", key: "1cnuld" }],
@@ -362,7 +351,7 @@ const pl = O("EyeClosed", [
362
351
  * This source code is licensed under the ISC license.
363
352
  * See the LICENSE file in the root directory of this source tree.
364
353
  */
365
- const fl = O("FileJson2", [
354
+ const fl = T("FileJson2", [
366
355
  ["path", { d: "M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4", key: "1pf5j1" }],
367
356
  ["path", { d: "M14 2v4a2 2 0 0 0 2 2h4", key: "tnqrlb" }],
368
357
  [
@@ -380,7 +369,7 @@ const fl = O("FileJson2", [
380
369
  * This source code is licensed under the ISC license.
381
370
  * See the LICENSE file in the root directory of this source tree.
382
371
  */
383
- const as = O("Filter", [
372
+ const as = T("Filter", [
384
373
  ["polygon", { points: "22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3", key: "1yg77f" }]
385
374
  ]);
386
375
  /**
@@ -389,7 +378,7 @@ const as = O("Filter", [
389
378
  * This source code is licensed under the ISC license.
390
379
  * See the LICENSE file in the root directory of this source tree.
391
380
  */
392
- const gl = O("Glasses", [
381
+ const gl = T("Glasses", [
393
382
  ["circle", { cx: "6", cy: "15", r: "4", key: "vux9w4" }],
394
383
  ["circle", { cx: "18", cy: "15", r: "4", key: "18o8ve" }],
395
384
  ["path", { d: "M14 15a2 2 0 0 0-2-2 2 2 0 0 0-2 2", key: "1ag4bs" }],
@@ -402,7 +391,7 @@ const gl = O("Glasses", [
402
391
  * This source code is licensed under the ISC license.
403
392
  * See the LICENSE file in the root directory of this source tree.
404
393
  */
405
- const yl = O("Grid3x3", [
394
+ const yl = T("Grid3x3", [
406
395
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
407
396
  ["path", { d: "M3 9h18", key: "1pudct" }],
408
397
  ["path", { d: "M3 15h18", key: "5xshup" }],
@@ -415,7 +404,7 @@ const yl = O("Grid3x3", [
415
404
  * This source code is licensed under the ISC license.
416
405
  * See the LICENSE file in the root directory of this source tree.
417
406
  */
418
- const bl = O("Hammer", [
407
+ const bl = T("Hammer", [
419
408
  ["path", { d: "m15 12-8.373 8.373a1 1 0 1 1-3-3L12 9", key: "eefl8a" }],
420
409
  ["path", { d: "m18 15 4-4", key: "16gjal" }],
421
410
  [
@@ -432,7 +421,7 @@ const bl = O("Hammer", [
432
421
  * This source code is licensed under the ISC license.
433
422
  * See the LICENSE file in the root directory of this source tree.
434
423
  */
435
- const xl = O("Hash", [
424
+ const xl = T("Hash", [
436
425
  ["line", { x1: "4", x2: "20", y1: "9", y2: "9", key: "4lhtct" }],
437
426
  ["line", { x1: "4", x2: "20", y1: "15", y2: "15", key: "vyu0kd" }],
438
427
  ["line", { x1: "10", x2: "8", y1: "3", y2: "21", key: "1ggp8o" }],
@@ -444,7 +433,7 @@ const xl = O("Hash", [
444
433
  * This source code is licensed under the ISC license.
445
434
  * See the LICENSE file in the root directory of this source tree.
446
435
  */
447
- const vl = O("House", [
436
+ const vl = T("House", [
448
437
  ["path", { d: "M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8", key: "5wwlr5" }],
449
438
  [
450
439
  "path",
@@ -460,7 +449,7 @@ const vl = O("House", [
460
449
  * This source code is licensed under the ISC license.
461
450
  * See the LICENSE file in the root directory of this source tree.
462
451
  */
463
- const Nl = O("LayoutList", [
452
+ const Nl = T("LayoutList", [
464
453
  ["rect", { width: "7", height: "7", x: "3", y: "3", rx: "1", key: "1g98yp" }],
465
454
  ["rect", { width: "7", height: "7", x: "3", y: "14", rx: "1", key: "1bb6yr" }],
466
455
  ["path", { d: "M14 4h7", key: "3xa0d5" }],
@@ -474,7 +463,7 @@ const Nl = O("LayoutList", [
474
463
  * This source code is licensed under the ISC license.
475
464
  * See the LICENSE file in the root directory of this source tree.
476
465
  */
477
- const Cl = O("ListEnd", [
466
+ const Cl = T("ListEnd", [
478
467
  ["path", { d: "M16 12H3", key: "1a2rj7" }],
479
468
  ["path", { d: "M16 6H3", key: "1wxfjs" }],
480
469
  ["path", { d: "M10 18H3", key: "13769t" }],
@@ -487,7 +476,7 @@ const Cl = O("ListEnd", [
487
476
  * This source code is licensed under the ISC license.
488
477
  * See the LICENSE file in the root directory of this source tree.
489
478
  */
490
- const Sl = O("ListStart", [
479
+ const Sl = T("ListStart", [
491
480
  ["path", { d: "M16 12H3", key: "1a2rj7" }],
492
481
  ["path", { d: "M16 18H3", key: "12xzn7" }],
493
482
  ["path", { d: "M10 6H3", key: "lf8lx7" }],
@@ -500,7 +489,7 @@ const Sl = O("ListStart", [
500
489
  * This source code is licensed under the ISC license.
501
490
  * See the LICENSE file in the root directory of this source tree.
502
491
  */
503
- const wl = O("ListX", [
492
+ const wl = T("ListX", [
504
493
  ["path", { d: "M11 12H3", key: "51ecnj" }],
505
494
  ["path", { d: "M16 6H3", key: "1wxfjs" }],
506
495
  ["path", { d: "M16 18H3", key: "12xzn7" }],
@@ -513,7 +502,7 @@ const wl = O("ListX", [
513
502
  * This source code is licensed under the ISC license.
514
503
  * See the LICENSE file in the root directory of this source tree.
515
504
  */
516
- const Ve = O("LoaderCircle", [
505
+ const Ve = T("LoaderCircle", [
517
506
  ["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]
518
507
  ]);
519
508
  /**
@@ -522,7 +511,7 @@ const Ve = O("LoaderCircle", [
522
511
  * This source code is licensed under the ISC license.
523
512
  * See the LICENSE file in the root directory of this source tree.
524
513
  */
525
- const kl = O("Logs", [
514
+ const kl = T("Logs", [
526
515
  ["path", { d: "M13 12h8", key: "h98zly" }],
527
516
  ["path", { d: "M13 18h8", key: "oe0vm4" }],
528
517
  ["path", { d: "M13 6h8", key: "15sg57" }],
@@ -539,7 +528,7 @@ const kl = O("Logs", [
539
528
  * This source code is licensed under the ISC license.
540
529
  * See the LICENSE file in the root directory of this source tree.
541
530
  */
542
- const Ml = O("Mail", [
531
+ const Ml = T("Mail", [
543
532
  ["rect", { width: "20", height: "16", x: "2", y: "4", rx: "2", key: "18n3k1" }],
544
533
  ["path", { d: "m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7", key: "1ocrg3" }]
545
534
  ]);
@@ -549,7 +538,7 @@ const Ml = O("Mail", [
549
538
  * This source code is licensed under the ISC license.
550
539
  * See the LICENSE file in the root directory of this source tree.
551
540
  */
552
- const ss = O("Map", [
541
+ const ss = T("Map", [
553
542
  [
554
543
  "path",
555
544
  {
@@ -566,7 +555,7 @@ const ss = O("Map", [
566
555
  * This source code is licensed under the ISC license.
567
556
  * See the LICENSE file in the root directory of this source tree.
568
557
  */
569
- const Dl = O("MessageSquareMore", [
558
+ const Dl = T("MessageSquareMore", [
570
559
  ["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" }],
571
560
  ["path", { d: "M8 10h.01", key: "19clt8" }],
572
561
  ["path", { d: "M12 10h.01", key: "1nrarc" }],
@@ -578,7 +567,7 @@ const Dl = O("MessageSquareMore", [
578
567
  * This source code is licensed under the ISC license.
579
568
  * See the LICENSE file in the root directory of this source tree.
580
569
  */
581
- const zl = O("MoveHorizontal", [
570
+ const zl = T("MoveHorizontal", [
582
571
  ["path", { d: "m18 8 4 4-4 4", key: "1ak13k" }],
583
572
  ["path", { d: "M2 12h20", key: "9i4pu4" }],
584
573
  ["path", { d: "m6 8-4 4 4 4", key: "15zrgr" }]
@@ -589,7 +578,7 @@ const zl = O("MoveHorizontal", [
589
578
  * This source code is licensed under the ISC license.
590
579
  * See the LICENSE file in the root directory of this source tree.
591
580
  */
592
- const Il = O("MoveVertical", [
581
+ const Il = T("MoveVertical", [
593
582
  ["path", { d: "M12 2v20", key: "t6zp3m" }],
594
583
  ["path", { d: "m8 18 4 4 4-4", key: "bh5tu3" }],
595
584
  ["path", { d: "m8 6 4-4 4 4", key: "ybng9g" }]
@@ -600,7 +589,7 @@ const Il = O("MoveVertical", [
600
589
  * This source code is licensed under the ISC license.
601
590
  * See the LICENSE file in the root directory of this source tree.
602
591
  */
603
- const Ol = O("Network", [
592
+ const Ol = T("Network", [
604
593
  ["rect", { x: "16", y: "16", width: "6", height: "6", rx: "1", key: "4q2zg0" }],
605
594
  ["rect", { x: "2", y: "16", width: "6", height: "6", rx: "1", key: "8cvhb9" }],
606
595
  ["rect", { x: "9", y: "2", width: "6", height: "6", rx: "1", key: "1egb70" }],
@@ -613,7 +602,7 @@ const Ol = O("Network", [
613
602
  * This source code is licensed under the ISC license.
614
603
  * See the LICENSE file in the root directory of this source tree.
615
604
  */
616
- const Tl = O("Plug2", [
605
+ const Tl = T("Plug2", [
617
606
  ["path", { d: "M9 2v6", key: "17ngun" }],
618
607
  ["path", { d: "M15 2v6", key: "s7yy2p" }],
619
608
  ["path", { d: "M12 17v5", key: "bb1du9" }],
@@ -626,7 +615,7 @@ const Tl = O("Plug2", [
626
615
  * This source code is licensed under the ISC license.
627
616
  * See the LICENSE file in the root directory of this source tree.
628
617
  */
629
- const ns = O("Radar", [
618
+ const ns = T("Radar", [
630
619
  ["path", { d: "M19.07 4.93A10 10 0 0 0 6.99 3.34", key: "z3du51" }],
631
620
  ["path", { d: "M4 6h.01", key: "oypzma" }],
632
621
  ["path", { d: "M2.29 9.62A10 10 0 1 0 21.31 8.35", key: "qzzz0" }],
@@ -642,7 +631,7 @@ const ns = O("Radar", [
642
631
  * This source code is licensed under the ISC license.
643
632
  * See the LICENSE file in the root directory of this source tree.
644
633
  */
645
- const ls = O("RefreshCw", [
634
+ const ls = T("RefreshCw", [
646
635
  ["path", { d: "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8", key: "v9h5vc" }],
647
636
  ["path", { d: "M21 3v5h-5", key: "1q7to0" }],
648
637
  ["path", { d: "M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16", key: "3uifl3" }],
@@ -654,7 +643,7 @@ const ls = O("RefreshCw", [
654
643
  * This source code is licensed under the ISC license.
655
644
  * See the LICENSE file in the root directory of this source tree.
656
645
  */
657
- const Al = O("Rows3", [
646
+ const Al = T("Rows3", [
658
647
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
659
648
  ["path", { d: "M21 9H3", key: "1338ky" }],
660
649
  ["path", { d: "M21 15H3", key: "9uk58r" }]
@@ -665,7 +654,7 @@ const Al = O("Rows3", [
665
654
  * This source code is licensed under the ISC license.
666
655
  * See the LICENSE file in the root directory of this source tree.
667
656
  */
668
- const Fl = O("Ruler", [
657
+ const Fl = T("Ruler", [
669
658
  [
670
659
  "path",
671
660
  {
@@ -684,7 +673,7 @@ const Fl = O("Ruler", [
684
673
  * This source code is licensed under the ISC license.
685
674
  * See the LICENSE file in the root directory of this source tree.
686
675
  */
687
- const Ll = O("Save", [
676
+ const Ll = T("Save", [
688
677
  [
689
678
  "path",
690
679
  {
@@ -701,7 +690,7 @@ const Ll = O("Save", [
701
690
  * This source code is licensed under the ISC license.
702
691
  * See the LICENSE file in the root directory of this source tree.
703
692
  */
704
- const is = O("Shapes", [
693
+ const is = T("Shapes", [
705
694
  [
706
695
  "path",
707
696
  {
@@ -718,7 +707,7 @@ const is = O("Shapes", [
718
707
  * This source code is licensed under the ISC license.
719
708
  * See the LICENSE file in the root directory of this source tree.
720
709
  */
721
- const El = O("ShieldQuestion", [
710
+ const El = T("ShieldQuestion", [
722
711
  [
723
712
  "path",
724
713
  {
@@ -735,7 +724,7 @@ const El = O("ShieldQuestion", [
735
724
  * This source code is licensed under the ISC license.
736
725
  * See the LICENSE file in the root directory of this source tree.
737
726
  */
738
- const Vl = O("Sigma", [
727
+ const Vl = T("Sigma", [
739
728
  [
740
729
  "path",
741
730
  {
@@ -750,7 +739,7 @@ const Vl = O("Sigma", [
750
739
  * This source code is licensed under the ISC license.
751
740
  * See the LICENSE file in the root directory of this source tree.
752
741
  */
753
- const ql = O("Square", [
742
+ const ql = T("Square", [
754
743
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }]
755
744
  ]);
756
745
  /**
@@ -759,7 +748,7 @@ const ql = O("Square", [
759
748
  * This source code is licensed under the ISC license.
760
749
  * See the LICENSE file in the root directory of this source tree.
761
750
  */
762
- const _t = O("Table2", [
751
+ const _t = T("Table2", [
763
752
  [
764
753
  "path",
765
754
  {
@@ -774,7 +763,7 @@ const _t = O("Table2", [
774
763
  * This source code is licensed under the ISC license.
775
764
  * See the LICENSE file in the root directory of this source tree.
776
765
  */
777
- const Rl = O("Tag", [
766
+ const Rl = T("Tag", [
778
767
  [
779
768
  "path",
780
769
  {
@@ -790,7 +779,7 @@ const Rl = O("Tag", [
790
779
  * This source code is licensed under the ISC license.
791
780
  * See the LICENSE file in the root directory of this source tree.
792
781
  */
793
- const jl = O("ToggleLeft", [
782
+ const jl = T("ToggleLeft", [
794
783
  ["rect", { width: "20", height: "12", x: "2", y: "6", rx: "6", ry: "6", key: "f2vt7d" }],
795
784
  ["circle", { cx: "8", cy: "12", r: "2", key: "1nvbw3" }]
796
785
  ]);
@@ -800,7 +789,7 @@ const jl = O("ToggleLeft", [
800
789
  * This source code is licensed under the ISC license.
801
790
  * See the LICENSE file in the root directory of this source tree.
802
791
  */
803
- const rs = O("Tornado", [
792
+ const rs = T("Tornado", [
804
793
  ["path", { d: "M21 4H3", key: "1hwok0" }],
805
794
  ["path", { d: "M18 8H6", key: "41n648" }],
806
795
  ["path", { d: "M19 12H9", key: "1g4lpz" }],
@@ -813,7 +802,7 @@ const rs = O("Tornado", [
813
802
  * This source code is licensed under the ISC license.
814
803
  * See the LICENSE file in the root directory of this source tree.
815
804
  */
816
- const _l = O("Trash2", [
805
+ const _l = T("Trash2", [
817
806
  ["path", { d: "M3 6h18", key: "d0wm0j" }],
818
807
  ["path", { d: "M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6", key: "4alrt4" }],
819
808
  ["path", { d: "M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2", key: "v07s0e" }],
@@ -826,7 +815,7 @@ const _l = O("Trash2", [
826
815
  * This source code is licensed under the ISC license.
827
816
  * See the LICENSE file in the root directory of this source tree.
828
817
  */
829
- const os = O("Type", [
818
+ const os = T("Type", [
830
819
  ["polyline", { points: "4 7 4 4 20 4 20 7", key: "1nosan" }],
831
820
  ["line", { x1: "9", x2: "15", y1: "20", y2: "20", key: "swin9y" }],
832
821
  ["line", { x1: "12", x2: "12", y1: "4", y2: "20", key: "1tx1rr" }]
@@ -1250,7 +1239,7 @@ function Ql({
1250
1239
  i === "loading" && /* @__PURE__ */ e(Ve, { className: "mr-2 size-4 animate-spin" }),
1251
1240
  i === "success" && /* @__PURE__ */ e(At, { className: "mr-2 size-4" }),
1252
1241
  i === "error" && /* @__PURE__ */ n(bt, { children: [
1253
- /* @__PURE__ */ e(Ft, { children: /* @__PURE__ */ e(Xa, { className: "mr-2 size-4 text-destructive" }) }),
1242
+ /* @__PURE__ */ e(Ft, { children: /* @__PURE__ */ e(es, { className: "mr-2 size-4 text-destructive" }) }),
1254
1243
  /* @__PURE__ */ e(xt, { children: /* @__PURE__ */ e("p", { children: c }) })
1255
1244
  ] }),
1256
1245
  "Schedule"
@@ -1701,11 +1690,11 @@ function Xl({ column: t }) {
1701
1690
  ), 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);
1702
1691
  function v(b, g) {
1703
1692
  var M;
1704
- const C = Aa(b, r, g), x = (M = d == null ? void 0 : d.find(
1693
+ const C = Fa(b, r, g), x = (M = d == null ? void 0 : d.find(
1705
1694
  (F) => F.id === c
1706
1695
  )) == null ? void 0 : M.name;
1707
1696
  f(C);
1708
- const D = Fa(
1697
+ const D = La(
1709
1698
  C,
1710
1699
  be(i || ""),
1711
1700
  be(l),
@@ -1759,9 +1748,9 @@ function Xl({ column: t }) {
1759
1748
  ] });
1760
1749
  }
1761
1750
  return /* @__PURE__ */ n(Ia, { openDelay: 0, open: s, onOpenChange: a, children: [
1762
- /* @__PURE__ */ e(Oa, { asChild: !0, children: /* @__PURE__ */ e(ts, { className: "invisible size-3.5 cursor-pointer text-foreground/40 group-hover:visible" }) }),
1751
+ /* @__PURE__ */ e(Oa, { asChild: !0, children: /* @__PURE__ */ e(Ta, { className: "invisible size-3.5 cursor-pointer text-foreground/40 group-hover:visible" }) }),
1763
1752
  /* @__PURE__ */ e(
1764
- Ta,
1753
+ Aa,
1765
1754
  {
1766
1755
  align: "center",
1767
1756
  className: "w-20 rounded-md p-0 shadow-none",
@@ -1772,7 +1761,7 @@ function Xl({ column: t }) {
1772
1761
  }
1773
1762
  function hs({ column: t }) {
1774
1763
  return /* @__PURE__ */ n(bt, { children: [
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" }) }),
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" }) }),
1776
1765
  /* @__PURE__ */ e(xt, { children: /* @__PURE__ */ e("p", { className: "font-mono text-xs", children: t.data_type }) })
1777
1766
  ] });
1778
1767
  }
@@ -1797,11 +1786,11 @@ function ei({
1797
1786
  ), x = m((p) => p.actions.setCardSql), { connectionType: D, modelItems: M, selectedDatamodelName: F } = He();
1798
1787
  function S(p) {
1799
1788
  var G;
1800
- const I = Aa(p, i);
1789
+ const I = Fa(p, i);
1801
1790
  g(I);
1802
1791
  const U = (G = M == null ? void 0 : M.find(
1803
1792
  (K) => K.id === f
1804
- )) == null ? void 0 : G.name, V = Fa(
1793
+ )) == null ? void 0 : G.name, V = La(
1805
1794
  I,
1806
1795
  be(t),
1807
1796
  be(s),
@@ -1865,7 +1854,7 @@ function ei({
1865
1854
  return /* @__PURE__ */ n("div", { className: "flex grow flex-col space-y-4 px-4", children: [
1866
1855
  /* @__PURE__ */ n("div", { className: "mx-2 flex items-center justify-center gap-2", children: [
1867
1856
  /* @__PURE__ */ n(
1868
- Ea,
1857
+ Va,
1869
1858
  {
1870
1859
  title: `${L() ? "Remove from" : "Add to"} Assistant Scope`,
1871
1860
  pressed: L(),
@@ -1942,7 +1931,7 @@ function ei({
1942
1931
  {
1943
1932
  onClick: (I) => I.stopPropagation(),
1944
1933
  className: "flex items-center justify-end",
1945
- children: La(p.data_type) && /* @__PURE__ */ e(Xl, { column: p })
1934
+ children: Ea(p.data_type) && /* @__PURE__ */ e(Xl, { column: p })
1946
1935
  }
1947
1936
  )
1948
1937
  ]
@@ -2059,7 +2048,7 @@ function He(t, s) {
2059
2048
  }), {
2060
2049
  data: X,
2061
2050
  isLoading: oe,
2062
- isFetching: T,
2051
+ isFetching: O,
2063
2052
  isError: J,
2064
2053
  refetch: ue
2065
2054
  } = De({
@@ -2180,7 +2169,7 @@ function He(t, s) {
2180
2169
  isSchemaLoadingOrFetching: Q || ne,
2181
2170
  isSchemaError: j,
2182
2171
  tableItems: Ds,
2183
- isTableLoadingOrFetching: oe || T,
2172
+ isTableLoadingOrFetching: oe || O,
2184
2173
  isTableError: J,
2185
2174
  columns: a,
2186
2175
  isColumnsLoadingOrFetching: ke || Me,
@@ -2260,7 +2249,7 @@ function us({
2260
2249
  }
2261
2250
  );
2262
2251
  }
2263
- function T() {
2252
+ function O() {
2264
2253
  window.location.href = "mailto:support@semaphor.cloud?subject=Help&body=I need help with...";
2265
2254
  }
2266
2255
  function J() {
@@ -2378,7 +2367,7 @@ function us({
2378
2367
  /* @__PURE__ */ e("div", { className: "flex items-end justify-center gap-2 px-6 py-4", children: /* @__PURE__ */ n(
2379
2368
  $,
2380
2369
  {
2381
- onClick: T,
2370
+ onClick: O,
2382
2371
  size: "sm",
2383
2372
  variant: "secondary",
2384
2373
  className: "w-full",
@@ -2410,9 +2399,9 @@ function ti(t) {
2410
2399
  }
2411
2400
  function ai({ sql: t, error: s, onClick: a }) {
2412
2401
  return !t && !s ? null : /* @__PURE__ */ n(Ia, { openDelay: s ? 0 : 500, children: [
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" }) }) }),
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" }) }) }),
2414
2403
  /* @__PURE__ */ e(
2415
- Ta,
2404
+ Aa,
2416
2405
  {
2417
2406
  align: "start",
2418
2407
  className: "w-full min-w-fit max-w-[700px]",
@@ -2545,9 +2534,9 @@ function di(t) {
2545
2534
  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);
2546
2535
  }
2547
2536
  function fs(t) {
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(() => {
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(() => {
2549
2538
  let g = "";
2550
- return t === "python" && (g = (v == null ? void 0 : v.python) || Va), t === "sql" && (g = (v == null ? void 0 : v.sql) || ""), g;
2539
+ return t === "python" && (g = (v == null ? void 0 : v.python) || qa), t === "sql" && (g = (v == null ? void 0 : v.sql) || ""), g;
2551
2540
  }, [t, v]);
2552
2541
  re(() => {
2553
2542
  if (c && i.id && i.id !== c) {
@@ -2645,7 +2634,7 @@ function ui() {
2645
2634
  className: "pt-3",
2646
2635
  theme: "default",
2647
2636
  onChange: l,
2648
- value: t || Va,
2637
+ value: t || qa,
2649
2638
  options: {
2650
2639
  minimap: {
2651
2640
  enabled: !1
@@ -2690,22 +2679,22 @@ function mi({ jsonString: t }) {
2690
2679
  );
2691
2680
  }
2692
2681
  function gs(t) {
2693
- const [s, a] = H(""), [l, i] = H(null), { authToken: c } = Ae(), r = m((T) => {
2682
+ const [s, a] = H(""), [l, i] = H(null), { authToken: c } = Ae(), r = m((O) => {
2694
2683
  var J;
2695
- return (J = T == null ? void 0 : T.card) == null ? void 0 : J.sql;
2696
- }), d = m((T) => {
2684
+ return (J = O == null ? void 0 : O.card) == null ? void 0 : J.sql;
2685
+ }), d = m((O) => {
2697
2686
  var J;
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
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
2705
2694
  ), x = m(
2706
- (T) => T.selectedSchemaName
2695
+ (O) => O.selectedSchemaName
2707
2696
  ), D = z(
2708
- (T) => T.dashboard.aiScopeTables
2697
+ (O) => O.dashboard.aiScopeTables
2709
2698
  ), { setTriggerAIRun: M, setCurrentAssitantScope: F } = le(), { selectedDatamodelName: S, connectionType: L, selectedDatamodelId: R } = He(), {
2710
2699
  messages: _,
2711
2700
  setMessages: W,
@@ -2728,7 +2717,7 @@ function gs(t) {
2728
2717
  maxSteps: 10,
2729
2718
  //maxToolRoundtrips: 5,
2730
2719
  onToolCall: q,
2731
- onFinish(T, J) {
2720
+ onFinish(O, J) {
2732
2721
  Q(J.usage), a(""), J.finishReason === "stop" && a("");
2733
2722
  }
2734
2723
  });
@@ -2746,19 +2735,19 @@ function gs(t) {
2746
2735
  K
2747
2736
  ]);
2748
2737
  async function q({
2749
- toolCall: T
2738
+ toolCall: O
2750
2739
  }) {
2751
- if (T.toolName === "createChart") {
2752
- const J = T.args.sql, ue = T.args.chartType;
2740
+ if (O.toolName === "createChartFromSql") {
2741
+ const J = O.args.sql, ue = O.args.chartType;
2753
2742
  return u(ue), h(J), f(!0), {
2754
2743
  status: "success",
2755
2744
  message: "Let the user know that chart is created"
2756
2745
  // query: sql,
2757
2746
  };
2758
- } else if (T.toolName === "getTableColumns")
2747
+ } else if (O.toolName === "getTableColumns")
2759
2748
  a("Getting table columns...");
2760
2749
  else {
2761
- if (T.toolName === "getUserSql")
2750
+ if (O.toolName === "getUserSql")
2762
2751
  return r ? {
2763
2752
  status: "success",
2764
2753
  sql: r,
@@ -2767,7 +2756,7 @@ function gs(t) {
2767
2756
  status: "error",
2768
2757
  message: "No SQL found"
2769
2758
  };
2770
- if (T.toolName === "getCurrentTableScope")
2759
+ if (O.toolName === "getCurrentTableScope")
2771
2760
  return a("Getting table scope..."), X(), {
2772
2761
  status: "success",
2773
2762
  tables: y
@@ -2775,19 +2764,19 @@ function gs(t) {
2775
2764
  a("Analyzing...");
2776
2765
  }
2777
2766
  }
2778
- function Q(T) {
2767
+ function Q(O) {
2779
2768
  i((J) => J ? {
2780
- promptTokens: J.promptTokens + T.promptTokens,
2781
- completionTokens: J.completionTokens + T.completionTokens,
2782
- totalTokens: J.totalTokens + T.totalTokens
2783
- } : T);
2769
+ promptTokens: J.promptTokens + O.promptTokens,
2770
+ completionTokens: J.completionTokens + O.completionTokens,
2771
+ totalTokens: J.totalTokens + O.totalTokens
2772
+ } : O);
2784
2773
  }
2785
- function ne(T) {
2786
- const J = Us(y, T);
2774
+ function ne(O) {
2775
+ const J = Us(y, O);
2787
2776
  j(J);
2788
2777
  }
2789
- function j(T) {
2790
- const J = Js(T);
2778
+ function j(O) {
2779
+ const J = Js(O);
2791
2780
  F(J), W((ue) => [
2792
2781
  ...ue,
2793
2782
  {
@@ -2798,7 +2787,7 @@ function gs(t) {
2798
2787
  ]);
2799
2788
  }
2800
2789
  function E() {
2801
- const T = {
2790
+ const O = {
2802
2791
  databaseName: b || "",
2803
2792
  schemaName: x || "",
2804
2793
  tableName: g || "",
@@ -2806,11 +2795,11 @@ function gs(t) {
2806
2795
  datamodelName: ht(S),
2807
2796
  connectionId: C || "",
2808
2797
  connectionType: L || ""
2809
- }, J = Wt([...y, T]);
2798
+ }, J = Wt([...y, O]);
2810
2799
  j(J);
2811
2800
  }
2812
2801
  function X() {
2813
- const T = {
2802
+ const O = {
2814
2803
  databaseName: b || "",
2815
2804
  schemaName: x || "",
2816
2805
  tableName: g || "",
@@ -2821,14 +2810,14 @@ function gs(t) {
2821
2810
  };
2822
2811
  if (!Gs(
2823
2812
  [...D || [], ...y],
2824
- T
2813
+ O
2825
2814
  ) || y.length === 0) {
2826
2815
  const ue = Wt([
2827
2816
  ...D || [],
2828
2817
  ...y,
2829
- T
2818
+ O
2830
2819
  ]).filter(
2831
- (ce) => ce.connectionId === T.connectionId
2820
+ (ce) => ce.connectionId === O.connectionId
2832
2821
  );
2833
2822
  j(ue);
2834
2823
  }
@@ -2894,7 +2883,7 @@ function pi() {
2894
2883
  error: E,
2895
2884
  queryKey: X,
2896
2885
  refetch: oe
2897
- } = je(h), { handleSetAIScope: T } = gs();
2886
+ } = je(h), { handleSetAIScope: O } = gs();
2898
2887
  re(() => {
2899
2888
  if (N && (N.rowLimitExceeded && dt.error("Row limit (10,000) exceeded. Refine your query.", {
2900
2889
  position: "top-center",
@@ -3125,7 +3114,7 @@ function pi() {
3125
3114
  }
3126
3115
  ),
3127
3116
  /* @__PURE__ */ e(
3128
- Ea,
3117
+ Va,
3129
3118
  {
3130
3119
  pressed: l,
3131
3120
  onPressedChange: (A) => i(A),
@@ -3139,7 +3128,7 @@ function pi() {
3139
3128
  {
3140
3129
  disabled: b,
3141
3130
  onClick: () => {
3142
- T(), p(!0);
3131
+ O(), p(!0);
3143
3132
  },
3144
3133
  className: "h-9 w-full cursor-text px-3 text-left text-sm text-muted-foreground",
3145
3134
  children: b ? "" : "Type your question..."
@@ -3243,7 +3232,7 @@ function gi({ card: t }) {
3243
3232
  colors: ((M = (D = d == null ? void 0 : d.chart) == null ? void 0 : D.dataset) == null ? void 0 : M.backgroundColor) || []
3244
3233
  };
3245
3234
  (F = t.customCardPreferences) != null && F.inputData;
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) => {
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) => {
3247
3236
  i((K) => ({
3248
3237
  ...K,
3249
3238
  [V]: G
@@ -3328,7 +3317,7 @@ function ys({
3328
3317
  var C;
3329
3318
  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);
3330
3319
  m((x) => x.actions.setRunSql);
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({
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({
3332
3321
  data: h == null ? void 0 : h.records,
3333
3322
  cardType: a.type,
3334
3323
  // cfg: card.cfg,
@@ -3407,7 +3396,7 @@ function ys({
3407
3396
  children: /* @__PURE__ */ e(P, { children: d.title })
3408
3397
  }
3409
3398
  ),
3410
- /* @__PURE__ */ e(ja, { filter: d })
3399
+ /* @__PURE__ */ e(_a, { filter: d })
3411
3400
  ] })
3412
3401
  ] }),
3413
3402
  /* @__PURE__ */ e(mn, { className: "flex grow flex-col", children: g() })
@@ -3462,8 +3451,8 @@ const Dt = ({
3462
3451
  mergedConfig: a,
3463
3452
  onConfigChange: l,
3464
3453
  onCodeChange: i
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: [
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: [
3467
3456
  /* @__PURE__ */ e(ot, { value: "final-config", children: "Config" }),
3468
3457
  /* @__PURE__ */ e(ot, { value: "custom-config", children: "Changes" }),
3469
3458
  /* @__PURE__ */ e(ot, { value: "custom-code", children: "Custom Code" })
@@ -3547,7 +3536,7 @@ function vi() {
3547
3536
  }, D = () => {
3548
3537
  var L, R;
3549
3538
  if (!((L = o == null ? void 0 : o.records) != null && L.length)) return;
3550
- const S = Ra({
3539
+ const S = ja({
3551
3540
  data: o.records,
3552
3541
  cardType: u.type,
3553
3542
  //cfg: card.cfg,
@@ -3587,7 +3576,7 @@ function vi() {
3587
3576
  /* @__PURE__ */ n(ca, { className: "flex h-[600px] grow flex-col overflow-auto sm:min-w-[900px] lg:min-w-[1200px]", children: [
3588
3577
  /* @__PURE__ */ e(yi, {}),
3589
3578
  /* @__PURE__ */ n("div", { className: "flex grow gap-2", children: [
3590
- /* @__PURE__ */ e(Ct, { FallbackComponent: _a, children: /* @__PURE__ */ e(ys, { className: "w-1/2 rounded shadow-none" }) }),
3579
+ /* @__PURE__ */ e(Ct, { FallbackComponent: Ha, children: /* @__PURE__ */ e(ys, { className: "w-1/2 rounded shadow-none" }) }),
3591
3580
  /* @__PURE__ */ e(
3592
3581
  bi,
3593
3582
  {
@@ -3733,7 +3722,7 @@ function wi() {
3733
3722
  tooltip: "Stacked Bar Chart",
3734
3723
  onClick: () => u("stackedBar"),
3735
3724
  className: "h-10 p-4",
3736
- children: /* @__PURE__ */ e(Qa, { className: "size-5" })
3725
+ children: /* @__PURE__ */ e(Wa, { className: "size-5" })
3737
3726
  }
3738
3727
  ),
3739
3728
  /* @__PURE__ */ e(
@@ -3751,7 +3740,7 @@ function wi() {
3751
3740
  tooltip: "Scatter Chart",
3752
3741
  onClick: () => u("scatter"),
3753
3742
  className: "h-10 p-4",
3754
- children: /* @__PURE__ */ e(Ya, { className: "size-5" })
3743
+ children: /* @__PURE__ */ e(Xa, { className: "size-5" })
3755
3744
  }
3756
3745
  ),
3757
3746
  /* @__PURE__ */ e(
@@ -3769,7 +3758,7 @@ function wi() {
3769
3758
  tooltip: "Pie Chart",
3770
3759
  onClick: () => u("pie"),
3771
3760
  className: "h-10 p-4",
3772
- children: /* @__PURE__ */ e(Za, { className: "size-5" })
3761
+ children: /* @__PURE__ */ e(Ya, { className: "size-5" })
3773
3762
  }
3774
3763
  ),
3775
3764
  /* @__PURE__ */ e(
@@ -3778,7 +3767,7 @@ function wi() {
3778
3767
  tooltip: "Doughnut Chart",
3779
3768
  onClick: () => u("doughnut"),
3780
3769
  className: "h-10 p-4",
3781
- children: /* @__PURE__ */ e(es, { className: "size-5" })
3770
+ children: /* @__PURE__ */ e(ts, { className: "size-5" })
3782
3771
  }
3783
3772
  ),
3784
3773
  /* @__PURE__ */ e(
@@ -3814,7 +3803,7 @@ function wi() {
3814
3803
  tooltip: "Range Chart",
3815
3804
  onClick: () => u("range"),
3816
3805
  className: "h-10 p-4",
3817
- children: /* @__PURE__ */ e(Wa, { className: "size-5" })
3806
+ children: /* @__PURE__ */ e(Za, { className: "size-5" })
3818
3807
  }
3819
3808
  ),
3820
3809
  /* @__PURE__ */ e(
@@ -3882,17 +3871,17 @@ function ki({
3882
3871
  case "line":
3883
3872
  return /* @__PURE__ */ e(jt, { className: s });
3884
3873
  case "pie":
3885
- return /* @__PURE__ */ e(Za, { className: s });
3874
+ return /* @__PURE__ */ e(Ya, { className: s });
3886
3875
  case "radar":
3887
3876
  return /* @__PURE__ */ e(ns, { className: s });
3888
3877
  case "scatter":
3889
- return /* @__PURE__ */ e(Ya, { className: s });
3878
+ return /* @__PURE__ */ e(Xa, { className: s });
3890
3879
  case "bubble":
3891
3880
  return /* @__PURE__ */ e(xs, { className: s });
3892
3881
  case "doughnut":
3893
- return /* @__PURE__ */ e(es, { className: s });
3882
+ return /* @__PURE__ */ e(ts, { className: s });
3894
3883
  case "stackedBar":
3895
- return /* @__PURE__ */ e(Qa, { className: s });
3884
+ return /* @__PURE__ */ e(Wa, { className: s });
3896
3885
  case "stackedLine":
3897
3886
  return /* @__PURE__ */ e(vs, { className: s });
3898
3887
  case "polarArea":
@@ -3900,7 +3889,7 @@ function ki({
3900
3889
  case "pyramid":
3901
3890
  return /* @__PURE__ */ e(rs, { className: s });
3902
3891
  case "range":
3903
- return /* @__PURE__ */ e(Wa, { className: s });
3892
+ return /* @__PURE__ */ e(Za, { className: s });
3904
3893
  case "kpi":
3905
3894
  return /* @__PURE__ */ e(Ns, { className: s });
3906
3895
  case "text":
@@ -3916,7 +3905,7 @@ function ki({
3916
3905
  const lt = "focus-visible:ring-0 focus-visible:ring-ring focus-visible:ring-offset-0";
3917
3906
  function la(t, s) {
3918
3907
  var l, i, c;
3919
- const a = $a(t, s);
3908
+ const a = Ba(t, s);
3920
3909
  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";
3921
3910
  }
3922
3911
  function Mi() {
@@ -3924,7 +3913,7 @@ function Mi() {
3924
3913
  const [t, s] = H(!1), a = m((j) => {
3925
3914
  var E;
3926
3915
  return (E = j.card) == null ? void 0 : E.preferences;
3927
- }), l = $a(a, {}), [i, c] = H(
3916
+ }), l = Ba(a, {}), [i, c] = H(
3928
3917
  la(a)
3929
3918
  ), [r, d] = H(
3930
3919
  ((N = (w = (K = a == null ? void 0 : a.chartOptions) == null ? void 0 : K.scales) == null ? void 0 : w[l]) == null ? void 0 : N.min) || ""
@@ -3937,10 +3926,10 @@ function Mi() {
3937
3926
  return (E = j.card) == null ? void 0 : E.type;
3938
3927
  }), p = ["pie", "doughnut", "polarArea"].includes(W);
3939
3928
  re(() => {
3940
- var j, E, X, oe, T, J, ue, ce, ke, Me, pe, Y, de, Fe;
3929
+ var j, E, X, oe, O, J, ue, ce, ke, Me, pe, Y, de, Fe;
3941
3930
  c(la(a)), d(
3942
3931
  ((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 : ""
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(
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(
3944
3933
  ((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) || ""
3945
3934
  ), 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) || "");
3946
3935
  }, [t, a, l]);
@@ -4198,7 +4187,7 @@ function Di() {
4198
4187
  /* @__PURE__ */ n("div", { className: "grid grid-cols-3 items-center gap-4", children: [
4199
4188
  /* @__PURE__ */ e(P, { htmlFor: "displayLegend", children: "Display" }),
4200
4189
  /* @__PURE__ */ e("div", { className: "col-span-2 flex h-8 items-center", children: /* @__PURE__ */ e(
4201
- Ba,
4190
+ Ua,
4202
4191
  {
4203
4192
  checked: a,
4204
4193
  onCheckedChange: i,
@@ -4302,7 +4291,7 @@ function Ii() {
4302
4291
  var d, h;
4303
4292
  return (h = (d = r.card) == null ? void 0 : d.preferences) == null ? void 0 : h.chartOptions;
4304
4293
  }
4305
- ), l = Ua(a), { setChartGrid: i } = le();
4294
+ ), l = Ga(a), { setChartGrid: i } = le();
4306
4295
  function c() {
4307
4296
  const r = ["xy", "none", "x", "y"], h = (r.indexOf(l) + 1) % r.length;
4308
4297
  i(r[h]);
@@ -4346,7 +4335,7 @@ function ia() {
4346
4335
  return (N = w.card.preferences) == null ? void 0 : N.chartOptions;
4347
4336
  }
4348
4337
  );
4349
- m((w) => w.actions.setRunSql), Ua(r);
4338
+ m((w) => w.actions.setRunSql), Ga(r);
4350
4339
  const {
4351
4340
  setFrame: d,
4352
4341
  setCard: h,
@@ -4432,14 +4421,14 @@ function ia() {
4432
4421
  }
4433
4422
  function p() {
4434
4423
  return /* @__PURE__ */ n(
4435
- Ha,
4424
+ Pa,
4436
4425
  {
4437
4426
  onValueChange: S,
4438
4427
  value: t.activeCardId,
4439
4428
  className: "flex grow flex-col",
4440
4429
  children: [
4441
4430
  t.cards.map((w) => /* @__PURE__ */ e(ct, { className: "mt-0 grow", value: w.id, children: I() }, w.id)),
4442
- /* @__PURE__ */ e(Pa, { className: "group mx-6 justify-between overflow-x-auto", children: /* @__PURE__ */ n("div", { className: "flex items-center", children: [
4431
+ /* @__PURE__ */ e($a, { className: "group mx-6 justify-between overflow-x-auto", children: /* @__PURE__ */ n("div", { className: "flex items-center", children: [
4443
4432
  t.cards.map((w, N) => /* @__PURE__ */ e(
4444
4433
  rt,
4445
4434
  {
@@ -4503,7 +4492,7 @@ function ia() {
4503
4492
  card: s,
4504
4493
  data: o == null ? void 0 : o.records
4505
4494
  }
4506
- ) }) }) }) : /* @__PURE__ */ e(Ct, { FallbackComponent: _a, children: /* @__PURE__ */ e(ys, { className: "grow border-none shadow-none" }) });
4495
+ ) }) }) }) : /* @__PURE__ */ e(Ct, { FallbackComponent: Ha, children: /* @__PURE__ */ e(ys, { className: "grow border-none shadow-none" }) });
4507
4496
  }
4508
4497
  function U() {
4509
4498
  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");
@@ -4633,7 +4622,7 @@ function Ti() {
4633
4622
  return /* @__PURE__ */ n("div", { className: "flex items-center space-x-2", children: [
4634
4623
  /* @__PURE__ */ e(P, { htmlFor: "visualize", children: "Chart" }),
4635
4624
  /* @__PURE__ */ e(
4636
- Ba,
4625
+ Ua,
4637
4626
  {
4638
4627
  checked: t,
4639
4628
  onCheckedChange: () => s(!t),
@@ -4687,7 +4676,7 @@ function Fi() {
4687
4676
  var g, C;
4688
4677
  const t = m(
4689
4678
  (x) => x.card.customCardPreferences
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(
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(
4691
4680
  (t == null ? void 0 : t.url) || ""
4692
4681
  ), f = (g = h == null ? void 0 : h.visuals) == null ? void 0 : g.find(
4693
4682
  (x) => x.name === (t == null ? void 0 : t.componentName)
@@ -5260,7 +5249,7 @@ function Qe() {
5260
5249
  return /* @__PURE__ */ n("div", { className: "space-y-3", children: [
5261
5250
  /* @__PURE__ */ e(P, { children: "Card Filter" }),
5262
5251
  /* @__PURE__ */ e(Vi, { onSelect: c, columns: l }),
5263
- r && /* @__PURE__ */ e(Ga, { filter: r })
5252
+ r && /* @__PURE__ */ e(Ja, { filter: r })
5264
5253
  ] });
5265
5254
  }
5266
5255
  function Vi({
@@ -6479,7 +6468,7 @@ function nr() {
6479
6468
  }
6480
6469
  function G() {
6481
6470
  return /* @__PURE__ */ n(pa, { children: [
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" }) }) }),
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" }) }) }),
6483
6472
  /* @__PURE__ */ n(ga, { align: "end", children: [
6484
6473
  /* @__PURE__ */ e(ya, { children: "Options" }),
6485
6474
  /* @__PURE__ */ e(ba, {}),
@@ -6698,7 +6687,7 @@ function lr({ authToken: t, onSave: s, onClose: a }) {
6698
6687
  }
6699
6688
  );
6700
6689
  }
6701
- return /* @__PURE__ */ e(Ct, { FallbackComponent: Ja, children: /* @__PURE__ */ n("section", { className: "flex h-full grow", "data-content": "editor-panel", children: [
6690
+ return /* @__PURE__ */ e(Ct, { FallbackComponent: Ka, children: /* @__PURE__ */ n("section", { className: "flex h-full grow", "data-content": "editor-panel", children: [
6702
6691
  /* @__PURE__ */ e(us, {}),
6703
6692
  u()
6704
6693
  ] }) });
@@ -6794,8 +6783,8 @@ function cr() {
6794
6783
  {
6795
6784
  className: "flex min-w-[250px] max-w-fit flex-col gap-1 p-2",
6796
6785
  children: [
6797
- /* @__PURE__ */ e(Ga, { filter: l }),
6798
- /* @__PURE__ */ e(ja, { filter: l })
6786
+ /* @__PURE__ */ e(Ja, { filter: l }),
6787
+ /* @__PURE__ */ e(_a, { filter: l })
6799
6788
  ]
6800
6789
  },
6801
6790
  l.id
@@ -6891,7 +6880,7 @@ function gr({
6891
6880
  showFooter: s = !0,
6892
6881
  ...a
6893
6882
  }) {
6894
- return /* @__PURE__ */ e(Ct, { FallbackComponent: Ja, children: /* @__PURE__ */ n(Gn, { dashboardProps: a, children: [
6883
+ return /* @__PURE__ */ e(Ct, { FallbackComponent: Ka, children: /* @__PURE__ */ n(Gn, { dashboardProps: a, children: [
6895
6884
  /* @__PURE__ */ e(Jn, {}),
6896
6885
  /* @__PURE__ */ n(Kn, { children: [
6897
6886
  /* @__PURE__ */ e(hr, {}),
@@ -6912,7 +6901,7 @@ export {
6912
6901
  Cr as SemaphorQueryClient,
6913
6902
  gr as Surfboard,
6914
6903
  Hl as cleanCard,
6915
- Aa as createSqlGenConfig,
6904
+ Fa as createSqlGenConfig,
6916
6905
  Jl as downloadPdf,
6917
6906
  be as fmt,
6918
6907
  Sr as getColumnDataType,
@@ -6920,12 +6909,12 @@ export {
6920
6909
  wr as getFilterValueType,
6921
6910
  zt as getFormattedTableNameForQuery,
6922
6911
  An as getQualifiedTableName,
6923
- Fa as getSql,
6912
+ La as getSql,
6924
6913
  kr as invalidateToken,
6925
6914
  qs as isBooleanDataType,
6926
6915
  Rs as isColumnInSqlGen,
6927
6916
  Es as isDateDataType,
6928
- La as isNumberDataType,
6917
+ Ea as isNumberDataType,
6929
6918
  Ls as isTextDataType,
6930
6919
  Mr as resolveDataType,
6931
6920
  ht as resolveDatamodelName,