react-semaphor 0.0.477 → 0.0.479
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{index-D45PYiom.js → index-CGduUTJu.js} +22884 -20281
- package/dist/chunks/index-CrIHh7oK.js +431 -0
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/index.cjs +4 -9
- package/dist/index.js +173 -186
- package/dist/style.css +1 -1
- package/dist/types/dashboard.d.ts +41 -0
- package/dist/types/main.d.ts +53 -2
- package/dist/types/surfboard.d.ts +41 -0
- package/dist/types/types.d.ts +41 -0
- package/package.json +2 -2
- package/dist/chunks/index-jx4Vl0_O.js +0 -411
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { c as F, p as Wt, u as L, a as at, b as Ue, d as Tn, e as zn, B as K, P as Xe, f as An, g as Fn, h as En, i as Ln, L as H, I as ue, j as Vn, k as _n, l as qn, m as W, n as Rn, o as jn, q as Bn, r as vs, s as yn, t as R, C as Kt, v as xs, S as Ne, w as we, x as Se, y as ke, z as Te, A as Me, E as ce, T as Pn, F as $e, G as Qe, H as Mt, J as Oe, K as Yt, M as Dt, N as Zt, O as It, Q as ze, R as Hn, U as ot, V as
|
|
2
|
-
import { D as Uo,
|
|
1
|
+
import { c as F, p as Wt, u as L, a as at, b as Ue, d as Tn, e as zn, B as K, P as Xe, f as An, g as Fn, h as En, i as Ln, L as H, I as ue, j as Vn, k as _n, l as qn, m as W, n as Rn, o as jn, q as Bn, r as vs, s as yn, t as R, C as Kt, v as xs, S as Ne, w as we, x as Se, y as ke, z as Te, A as Me, E as ce, T as Pn, F as $e, G as Qe, H as Mt, J as Oe, K as Yt, M as Dt, N as Zt, O as It, Q as ze, R as Hn, U as ot, V as Cs, W as Gn, X as Un, Y as bn, Z as Ns, _ as p, $ as $n, a0 as et, a1 as gt, a2 as ws, a3 as Qn, a4 as Jn, a5 as Wn, a6 as Kn, a7 as Yn, a8 as Zn, a9 as Xn, aa as ve, ab as ea, ac as ta, ad as na, ae as aa, af as sa, ag as ra, ah as be, ai as Ss, aj as xe, ak as ks, al as Pe, am as Ce, an as Ms, ao as Ds, ap as Is, aq as Os, ar as yt, as as Ae, at as Ts, au as zs, av as J, aw as la, ax as As, ay as Fs, az as Es, aA as Pt, aB as ia, aC as Xt, aD as Ot, aE as tt, aF as oa, aG as bt, aH as Ht, aI as fe, aJ as Ls, aK as Vs, aL as ct, aM as _s, aN as qs, aO as Rs, aP as ca, aQ as js, aR as Tt, aS as Bs, aT as Ps, aU as Hs, aV as vn, aW as Gs, aX as Us, aY as $s, aZ as en, a_ as De, a$ as Qs, b0 as Gt, b1 as Ve, b2 as he, b3 as _e, b4 as Js, b5 as Ws, b6 as Ks, b7 as Ys, b8 as Zs, b9 as At, ba as Xs, bb as xn, bc as er, bd as Cn, be as tr, bf as nr, bg as ar, bh as sr, bi as da, bj as rr, bk as tn, bl as ua, bm as lr, bn as ir, bo as Ye, bp as or, bq as cr, br as ma, bs as dr, bt as ur, bu as mr, bv as hr, bw as pr, bx as zt, by as ha, bz as fr, bA as nn, bB as an, bC as Ze, bD as ft, bE as gr, bF as yr, bG as br, bH as sn, bI as pa, bJ as vr, bK as vt, bL as fa, bM as xt, bN as ga, bO as ya, bP as ba, bQ as xr, bR as Cr, bS as Nr, bT as wr, bU as Ee, bV as le, bW as ie, bX as oe, bY as rn, bZ as Sr, b_ as kr, b$ as Mr, c0 as Dr, c1 as Ir, c2 as Nn, c3 as va, c4 as Or, c5 as Tr, c6 as zr, c7 as Ar, c8 as ln, c9 as xa, ca as Ca, cb as on, cc as Fr, cd as Er, ce as Na, cf as Lr, cg as Vr, ch as _r, ci as qr, cj as Rr, ck as jr, cl as Br, cm as Pr, cn as Hr, co as Gr, cp as Ft, cq as wa, cr as Ur, cs as $r, ct as Qr, cu as Jr, cv as Wr, cw as Kr, cx as Yr } from "./chunks/index-CGduUTJu.js";
|
|
2
|
+
import { D as Uo, cC as $o, cA as Qo, cA as Jo, cF as Wo, cE as Ko, cD as Yo, cG as Zo, cH as Xo, cB as ec, cy as tc, cz as nc } from "./chunks/index-CGduUTJu.js";
|
|
3
3
|
import { EMPTY_SELECTION as sc } from "./types/index.js";
|
|
4
4
|
import { jsxs as r, jsx as e, Fragment as ae } from "react/jsx-runtime";
|
|
5
5
|
import * as Ke from "react";
|
|
6
|
-
import Fe, { useState as $, useMemo as qe, useRef as He, useCallback as Sa, useEffect as me, Suspense as
|
|
6
|
+
import Fe, { useState as $, useMemo as qe, useRef as He, useCallback as Sa, useEffect as me, Suspense as Zr } from "react";
|
|
7
7
|
import "react-dom";
|
|
8
8
|
/**
|
|
9
9
|
* @license lucide-react v0.453.0 - ISC
|
|
@@ -11,7 +11,7 @@ import "react-dom";
|
|
|
11
11
|
* This source code is licensed under the ISC license.
|
|
12
12
|
* See the LICENSE file in the root directory of this source tree.
|
|
13
13
|
*/
|
|
14
|
-
const
|
|
14
|
+
const Xr = F("AlignCenter", [
|
|
15
15
|
["path", { d: "M17 12H7", key: "16if0g" }],
|
|
16
16
|
["path", { d: "M19 18H5", key: "18s9l3" }],
|
|
17
17
|
["path", { d: "M21 6H3", key: "1jwq7v" }]
|
|
@@ -22,7 +22,7 @@ const Zr = F("AlignCenter", [
|
|
|
22
22
|
* This source code is licensed under the ISC license.
|
|
23
23
|
* See the LICENSE file in the root directory of this source tree.
|
|
24
24
|
*/
|
|
25
|
-
const
|
|
25
|
+
const el = F("AlignLeft", [
|
|
26
26
|
["path", { d: "M15 12H3", key: "6jk70r" }],
|
|
27
27
|
["path", { d: "M17 18H3", key: "1amg6g" }],
|
|
28
28
|
["path", { d: "M21 6H3", key: "1jwq7v" }]
|
|
@@ -33,7 +33,7 @@ const Xr = F("AlignLeft", [
|
|
|
33
33
|
* This source code is licensed under the ISC license.
|
|
34
34
|
* See the LICENSE file in the root directory of this source tree.
|
|
35
35
|
*/
|
|
36
|
-
const
|
|
36
|
+
const tl = F("AlignRight", [
|
|
37
37
|
["path", { d: "M21 12H9", key: "dn1m92" }],
|
|
38
38
|
["path", { d: "M21 18H7", key: "1ygte8" }],
|
|
39
39
|
["path", { d: "M21 6H3", key: "1jwq7v" }]
|
|
@@ -44,7 +44,7 @@ const el = F("AlignRight", [
|
|
|
44
44
|
* This source code is licensed under the ISC license.
|
|
45
45
|
* See the LICENSE file in the root directory of this source tree.
|
|
46
46
|
*/
|
|
47
|
-
const
|
|
47
|
+
const nl = F("ArrowDown10", [
|
|
48
48
|
["path", { d: "m3 16 4 4 4-4", key: "1co6wj" }],
|
|
49
49
|
["path", { d: "M7 20V4", key: "1yoxec" }],
|
|
50
50
|
["path", { d: "M17 10V4h-2", key: "zcsr5x" }],
|
|
@@ -57,7 +57,7 @@ const tl = F("ArrowDown10", [
|
|
|
57
57
|
* This source code is licensed under the ISC license.
|
|
58
58
|
* See the LICENSE file in the root directory of this source tree.
|
|
59
59
|
*/
|
|
60
|
-
const
|
|
60
|
+
const al = F("ArrowDownZA", [
|
|
61
61
|
["path", { d: "m3 16 4 4 4-4", key: "1co6wj" }],
|
|
62
62
|
["path", { d: "M7 4v16", key: "1glfcx" }],
|
|
63
63
|
["path", { d: "M15 4h5l-5 6h5", key: "8asdl1" }],
|
|
@@ -80,7 +80,7 @@ const ka = F("ArrowDown", [
|
|
|
80
80
|
* This source code is licensed under the ISC license.
|
|
81
81
|
* See the LICENSE file in the root directory of this source tree.
|
|
82
82
|
*/
|
|
83
|
-
const
|
|
83
|
+
const sl = F("ArrowLeftRight", [
|
|
84
84
|
["path", { d: "M8 3 4 7l4 4", key: "9rb6wj" }],
|
|
85
85
|
["path", { d: "M4 7h16", key: "6tx8e3" }],
|
|
86
86
|
["path", { d: "m16 21 4-4-4-4", key: "siv7j2" }],
|
|
@@ -92,7 +92,7 @@ const al = F("ArrowLeftRight", [
|
|
|
92
92
|
* This source code is licensed under the ISC license.
|
|
93
93
|
* See the LICENSE file in the root directory of this source tree.
|
|
94
94
|
*/
|
|
95
|
-
const
|
|
95
|
+
const rl = F("ArrowLeft", [
|
|
96
96
|
["path", { d: "m12 19-7-7 7-7", key: "1l729n" }],
|
|
97
97
|
["path", { d: "M19 12H5", key: "x3x0zl" }]
|
|
98
98
|
]);
|
|
@@ -102,7 +102,7 @@ const sl = F("ArrowLeft", [
|
|
|
102
102
|
* This source code is licensed under the ISC license.
|
|
103
103
|
* See the LICENSE file in the root directory of this source tree.
|
|
104
104
|
*/
|
|
105
|
-
const
|
|
105
|
+
const ll = F("ArrowRight", [
|
|
106
106
|
["path", { d: "M5 12h14", key: "1ays0h" }],
|
|
107
107
|
["path", { d: "m12 5 7 7-7 7", key: "xquz4c" }]
|
|
108
108
|
]);
|
|
@@ -112,7 +112,7 @@ const rl = F("ArrowRight", [
|
|
|
112
112
|
* This source code is licensed under the ISC license.
|
|
113
113
|
* See the LICENSE file in the root directory of this source tree.
|
|
114
114
|
*/
|
|
115
|
-
const
|
|
115
|
+
const il = F("ArrowUp01", [
|
|
116
116
|
["path", { d: "m3 8 4-4 4 4", key: "11wl7u" }],
|
|
117
117
|
["path", { d: "M7 4v16", key: "1glfcx" }],
|
|
118
118
|
["rect", { x: "15", y: "4", width: "4", height: "6", ry: "2", key: "1bwicg" }],
|
|
@@ -125,7 +125,7 @@ const ll = F("ArrowUp01", [
|
|
|
125
125
|
* This source code is licensed under the ISC license.
|
|
126
126
|
* See the LICENSE file in the root directory of this source tree.
|
|
127
127
|
*/
|
|
128
|
-
const
|
|
128
|
+
const ol = F("ArrowUpAZ", [
|
|
129
129
|
["path", { d: "m3 8 4-4 4 4", key: "11wl7u" }],
|
|
130
130
|
["path", { d: "M7 4v16", key: "1glfcx" }],
|
|
131
131
|
["path", { d: "M20 8h-5", key: "1vsyxs" }],
|
|
@@ -138,7 +138,7 @@ const il = F("ArrowUpAZ", [
|
|
|
138
138
|
* This source code is licensed under the ISC license.
|
|
139
139
|
* See the LICENSE file in the root directory of this source tree.
|
|
140
140
|
*/
|
|
141
|
-
const
|
|
141
|
+
const cl = F("Blocks", [
|
|
142
142
|
["rect", { width: "7", height: "7", x: "14", y: "3", rx: "1", key: "6d4xhi" }],
|
|
143
143
|
[
|
|
144
144
|
"path",
|
|
@@ -154,7 +154,7 @@ const ol = F("Blocks", [
|
|
|
154
154
|
* This source code is licensed under the ISC license.
|
|
155
155
|
* See the LICENSE file in the root directory of this source tree.
|
|
156
156
|
*/
|
|
157
|
-
const
|
|
157
|
+
const dl = F("BookOpenText", [
|
|
158
158
|
["path", { d: "M12 7v14", key: "1akyts" }],
|
|
159
159
|
["path", { d: "M16 12h2", key: "7q9ll5" }],
|
|
160
160
|
["path", { d: "M16 8h2", key: "msurwy" }],
|
|
@@ -174,7 +174,7 @@ const cl = F("BookOpenText", [
|
|
|
174
174
|
* This source code is licensed under the ISC license.
|
|
175
175
|
* See the LICENSE file in the root directory of this source tree.
|
|
176
176
|
*/
|
|
177
|
-
const
|
|
177
|
+
const ul = F("BookType", [
|
|
178
178
|
["path", { d: "M10 13h4", key: "ytezjc" }],
|
|
179
179
|
["path", { d: "M12 6v7", key: "1f6ttz" }],
|
|
180
180
|
["path", { d: "M16 8V6H8v2", key: "x8j6u4" }],
|
|
@@ -192,7 +192,7 @@ const dl = F("BookType", [
|
|
|
192
192
|
* This source code is licensed under the ISC license.
|
|
193
193
|
* See the LICENSE file in the root directory of this source tree.
|
|
194
194
|
*/
|
|
195
|
-
const
|
|
195
|
+
const ml = F("Box", [
|
|
196
196
|
[
|
|
197
197
|
"path",
|
|
198
198
|
{
|
|
@@ -209,7 +209,7 @@ const ul = F("Box", [
|
|
|
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
|
|
212
|
+
const hl = F("Braces", [
|
|
213
213
|
[
|
|
214
214
|
"path",
|
|
215
215
|
{ 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" }
|
|
@@ -228,7 +228,7 @@ const ml = F("Braces", [
|
|
|
228
228
|
* This source code is licensed under the ISC license.
|
|
229
229
|
* See the LICENSE file in the root directory of this source tree.
|
|
230
230
|
*/
|
|
231
|
-
const
|
|
231
|
+
const pl = F("ChartArea", [
|
|
232
232
|
["path", { d: "M3 3v16a2 2 0 0 0 2 2h16", key: "c24i48" }],
|
|
233
233
|
[
|
|
234
234
|
"path",
|
|
@@ -320,7 +320,7 @@ const Oa = F("ChartScatter", [
|
|
|
320
320
|
* This source code is licensed under the ISC license.
|
|
321
321
|
* See the LICENSE file in the root directory of this source tree.
|
|
322
322
|
*/
|
|
323
|
-
const
|
|
323
|
+
const fl = F("CircleArrowRight", [
|
|
324
324
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
325
325
|
["path", { d: "M8 12h8", key: "1wcyev" }],
|
|
326
326
|
["path", { d: "m12 16 4-4-4-4", key: "1i9zcv" }]
|
|
@@ -342,7 +342,7 @@ const Ta = F("CircleX", [
|
|
|
342
342
|
* This source code is licensed under the ISC license.
|
|
343
343
|
* See the LICENSE file in the root directory of this source tree.
|
|
344
344
|
*/
|
|
345
|
-
const
|
|
345
|
+
const gl = F("Clock", [
|
|
346
346
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
347
347
|
["polyline", { points: "12 6 12 12 16 14", key: "68esgv" }]
|
|
348
348
|
]);
|
|
@@ -352,7 +352,7 @@ const fl = F("Clock", [
|
|
|
352
352
|
* This source code is licensed under the ISC license.
|
|
353
353
|
* See the LICENSE file in the root directory of this source tree.
|
|
354
354
|
*/
|
|
355
|
-
const
|
|
355
|
+
const yl = F("Columns3", [
|
|
356
356
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
|
357
357
|
["path", { d: "M9 3v18", key: "fh3hqa" }],
|
|
358
358
|
["path", { d: "M15 3v18", key: "14nvp0" }]
|
|
@@ -363,7 +363,7 @@ const gl = F("Columns3", [
|
|
|
363
363
|
* This source code is licensed under the ISC license.
|
|
364
364
|
* See the LICENSE file in the root directory of this source tree.
|
|
365
365
|
*/
|
|
366
|
-
const
|
|
366
|
+
const bl = F("Component", [
|
|
367
367
|
[
|
|
368
368
|
"path",
|
|
369
369
|
{
|
|
@@ -399,7 +399,7 @@ const yl = F("Component", [
|
|
|
399
399
|
* This source code is licensed under the ISC license.
|
|
400
400
|
* See the LICENSE file in the root directory of this source tree.
|
|
401
401
|
*/
|
|
402
|
-
const
|
|
402
|
+
const vl = F("CopyPlus", [
|
|
403
403
|
["line", { x1: "15", x2: "15", y1: "12", y2: "18", key: "1p7wdc" }],
|
|
404
404
|
["line", { x1: "12", x2: "18", y1: "15", y2: "15", key: "1nscbv" }],
|
|
405
405
|
["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
|
|
@@ -411,7 +411,7 @@ const bl = F("CopyPlus", [
|
|
|
411
411
|
* This source code is licensed under the ISC license.
|
|
412
412
|
* See the LICENSE file in the root directory of this source tree.
|
|
413
413
|
*/
|
|
414
|
-
const
|
|
414
|
+
const xl = F("Database", [
|
|
415
415
|
["ellipse", { cx: "12", cy: "5", rx: "9", ry: "3", key: "msslwz" }],
|
|
416
416
|
["path", { d: "M3 5V19A9 3 0 0 0 21 19V5", key: "1wlel7" }],
|
|
417
417
|
["path", { d: "M3 12A9 3 0 0 0 21 12", key: "mv7ke4" }]
|
|
@@ -422,7 +422,7 @@ const vl = F("Database", [
|
|
|
422
422
|
* This source code is licensed under the ISC license.
|
|
423
423
|
* See the LICENSE file in the root directory of this source tree.
|
|
424
424
|
*/
|
|
425
|
-
const
|
|
425
|
+
const Cl = F("DollarSign", [
|
|
426
426
|
["line", { x1: "12", x2: "12", y1: "2", y2: "22", key: "7eqyqh" }],
|
|
427
427
|
["path", { d: "M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6", key: "1b0p4s" }]
|
|
428
428
|
]);
|
|
@@ -448,7 +448,7 @@ const za = F("Donut", [
|
|
|
448
448
|
* This source code is licensed under the ISC license.
|
|
449
449
|
* See the LICENSE file in the root directory of this source tree.
|
|
450
450
|
*/
|
|
451
|
-
const
|
|
451
|
+
const Nl = F("Eraser", [
|
|
452
452
|
[
|
|
453
453
|
"path",
|
|
454
454
|
{
|
|
@@ -477,7 +477,7 @@ const Aa = F("Expand", [
|
|
|
477
477
|
* This source code is licensed under the ISC license.
|
|
478
478
|
* See the LICENSE file in the root directory of this source tree.
|
|
479
479
|
*/
|
|
480
|
-
const
|
|
480
|
+
const wl = F("EyeClosed", [
|
|
481
481
|
["path", { d: "m15 18-.722-3.25", key: "1j64jw" }],
|
|
482
482
|
["path", { d: "M2 8a10.645 10.645 0 0 0 20 0", key: "1e7gxb" }],
|
|
483
483
|
["path", { d: "m20 15-1.726-2.05", key: "1cnuld" }],
|
|
@@ -490,7 +490,7 @@ const Nl = F("EyeClosed", [
|
|
|
490
490
|
* This source code is licensed under the ISC license.
|
|
491
491
|
* See the LICENSE file in the root directory of this source tree.
|
|
492
492
|
*/
|
|
493
|
-
const
|
|
493
|
+
const Sl = F("FileCode2", [
|
|
494
494
|
["path", { d: "M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4", key: "1pf5j1" }],
|
|
495
495
|
["path", { d: "M14 2v4a2 2 0 0 0 2 2h4", key: "tnqrlb" }],
|
|
496
496
|
["path", { d: "m5 12-3 3 3 3", key: "oke12k" }],
|
|
@@ -502,7 +502,7 @@ const wl = F("FileCode2", [
|
|
|
502
502
|
* This source code is licensed under the ISC license.
|
|
503
503
|
* See the LICENSE file in the root directory of this source tree.
|
|
504
504
|
*/
|
|
505
|
-
const
|
|
505
|
+
const kl = F("FileJson2", [
|
|
506
506
|
["path", { d: "M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4", key: "1pf5j1" }],
|
|
507
507
|
["path", { d: "M14 2v4a2 2 0 0 0 2 2h4", key: "tnqrlb" }],
|
|
508
508
|
[
|
|
@@ -529,7 +529,7 @@ const Fa = F("Filter", [
|
|
|
529
529
|
* This source code is licensed under the ISC license.
|
|
530
530
|
* See the LICENSE file in the root directory of this source tree.
|
|
531
531
|
*/
|
|
532
|
-
const
|
|
532
|
+
const Ml = F("Fingerprint", [
|
|
533
533
|
["path", { d: "M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4", key: "1nerag" }],
|
|
534
534
|
["path", { d: "M14 13.12c0 2.38 0 6.38-1 8.88", key: "o46ks0" }],
|
|
535
535
|
["path", { d: "M17.29 21.02c.12-.6.43-2.3.5-3.02", key: "ptglia" }],
|
|
@@ -546,7 +546,7 @@ const kl = F("Fingerprint", [
|
|
|
546
546
|
* This source code is licensed under the ISC license.
|
|
547
547
|
* See the LICENSE file in the root directory of this source tree.
|
|
548
548
|
*/
|
|
549
|
-
const
|
|
549
|
+
const Dl = F("Glasses", [
|
|
550
550
|
["circle", { cx: "6", cy: "15", r: "4", key: "vux9w4" }],
|
|
551
551
|
["circle", { cx: "18", cy: "15", r: "4", key: "18o8ve" }],
|
|
552
552
|
["path", { d: "M14 15a2 2 0 0 0-2-2 2 2 0 0 0-2 2", key: "1ag4bs" }],
|
|
@@ -559,7 +559,7 @@ const Ml = F("Glasses", [
|
|
|
559
559
|
* This source code is licensed under the ISC license.
|
|
560
560
|
* See the LICENSE file in the root directory of this source tree.
|
|
561
561
|
*/
|
|
562
|
-
const
|
|
562
|
+
const Il = F("Grid3x3", [
|
|
563
563
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
|
564
564
|
["path", { d: "M3 9h18", key: "1pudct" }],
|
|
565
565
|
["path", { d: "M3 15h18", key: "5xshup" }],
|
|
@@ -572,7 +572,7 @@ const Dl = F("Grid3x3", [
|
|
|
572
572
|
* This source code is licensed under the ISC license.
|
|
573
573
|
* See the LICENSE file in the root directory of this source tree.
|
|
574
574
|
*/
|
|
575
|
-
const
|
|
575
|
+
const Ol = F("Hammer", [
|
|
576
576
|
["path", { d: "m15 12-8.373 8.373a1 1 0 1 1-3-3L12 9", key: "eefl8a" }],
|
|
577
577
|
["path", { d: "m18 15 4-4", key: "16gjal" }],
|
|
578
578
|
[
|
|
@@ -601,7 +601,7 @@ const Ea = F("Hash", [
|
|
|
601
601
|
* This source code is licensed under the ISC license.
|
|
602
602
|
* See the LICENSE file in the root directory of this source tree.
|
|
603
603
|
*/
|
|
604
|
-
const
|
|
604
|
+
const Tl = F("House", [
|
|
605
605
|
["path", { d: "M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8", key: "5wwlr5" }],
|
|
606
606
|
[
|
|
607
607
|
"path",
|
|
@@ -617,7 +617,7 @@ const Ol = F("House", [
|
|
|
617
617
|
* This source code is licensed under the ISC license.
|
|
618
618
|
* See the LICENSE file in the root directory of this source tree.
|
|
619
619
|
*/
|
|
620
|
-
const
|
|
620
|
+
const zl = F("LayoutList", [
|
|
621
621
|
["rect", { width: "7", height: "7", x: "3", y: "3", rx: "1", key: "1g98yp" }],
|
|
622
622
|
["rect", { width: "7", height: "7", x: "3", y: "14", rx: "1", key: "1bb6yr" }],
|
|
623
623
|
["path", { d: "M14 4h7", key: "3xa0d5" }],
|
|
@@ -631,7 +631,7 @@ const Tl = F("LayoutList", [
|
|
|
631
631
|
* This source code is licensed under the ISC license.
|
|
632
632
|
* See the LICENSE file in the root directory of this source tree.
|
|
633
633
|
*/
|
|
634
|
-
const
|
|
634
|
+
const Al = F("ListEnd", [
|
|
635
635
|
["path", { d: "M16 12H3", key: "1a2rj7" }],
|
|
636
636
|
["path", { d: "M16 6H3", key: "1wxfjs" }],
|
|
637
637
|
["path", { d: "M10 18H3", key: "13769t" }],
|
|
@@ -644,7 +644,7 @@ const zl = F("ListEnd", [
|
|
|
644
644
|
* This source code is licensed under the ISC license.
|
|
645
645
|
* See the LICENSE file in the root directory of this source tree.
|
|
646
646
|
*/
|
|
647
|
-
const
|
|
647
|
+
const Fl = F("ListStart", [
|
|
648
648
|
["path", { d: "M16 12H3", key: "1a2rj7" }],
|
|
649
649
|
["path", { d: "M16 18H3", key: "12xzn7" }],
|
|
650
650
|
["path", { d: "M10 6H3", key: "lf8lx7" }],
|
|
@@ -657,7 +657,7 @@ const Al = F("ListStart", [
|
|
|
657
657
|
* This source code is licensed under the ISC license.
|
|
658
658
|
* See the LICENSE file in the root directory of this source tree.
|
|
659
659
|
*/
|
|
660
|
-
const
|
|
660
|
+
const El = F("ListX", [
|
|
661
661
|
["path", { d: "M11 12H3", key: "51ecnj" }],
|
|
662
662
|
["path", { d: "M16 6H3", key: "1wxfjs" }],
|
|
663
663
|
["path", { d: "M16 18H3", key: "12xzn7" }],
|
|
@@ -679,7 +679,7 @@ const Ge = F("LoaderCircle", [
|
|
|
679
679
|
* This source code is licensed under the ISC license.
|
|
680
680
|
* See the LICENSE file in the root directory of this source tree.
|
|
681
681
|
*/
|
|
682
|
-
const
|
|
682
|
+
const Ll = F("Logs", [
|
|
683
683
|
["path", { d: "M13 12h8", key: "h98zly" }],
|
|
684
684
|
["path", { d: "M13 18h8", key: "oe0vm4" }],
|
|
685
685
|
["path", { d: "M13 6h8", key: "15sg57" }],
|
|
@@ -696,7 +696,7 @@ const El = F("Logs", [
|
|
|
696
696
|
* This source code is licensed under the ISC license.
|
|
697
697
|
* See the LICENSE file in the root directory of this source tree.
|
|
698
698
|
*/
|
|
699
|
-
const
|
|
699
|
+
const Vl = F("Mail", [
|
|
700
700
|
["rect", { width: "20", height: "16", x: "2", y: "4", rx: "2", key: "18n3k1" }],
|
|
701
701
|
["path", { d: "m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7", key: "1ocrg3" }]
|
|
702
702
|
]);
|
|
@@ -723,7 +723,7 @@ const La = F("Map", [
|
|
|
723
723
|
* This source code is licensed under the ISC license.
|
|
724
724
|
* See the LICENSE file in the root directory of this source tree.
|
|
725
725
|
*/
|
|
726
|
-
const
|
|
726
|
+
const _l = F("MessageCircleMore", [
|
|
727
727
|
["path", { d: "M7.9 20A9 9 0 1 0 4 16.1L2 22Z", key: "vv11sd" }],
|
|
728
728
|
["path", { d: "M8 12h.01", key: "czm47f" }],
|
|
729
729
|
["path", { d: "M12 12h.01", key: "1mp3jc" }],
|
|
@@ -735,7 +735,7 @@ const Vl = F("MessageCircleMore", [
|
|
|
735
735
|
* This source code is licensed under the ISC license.
|
|
736
736
|
* See the LICENSE file in the root directory of this source tree.
|
|
737
737
|
*/
|
|
738
|
-
const
|
|
738
|
+
const ql = F("MessageCircle", [
|
|
739
739
|
["path", { d: "M7.9 20A9 9 0 1 0 4 16.1L2 22Z", key: "vv11sd" }]
|
|
740
740
|
]);
|
|
741
741
|
/**
|
|
@@ -766,7 +766,7 @@ const Sn = F("MoveVertical", [
|
|
|
766
766
|
* This source code is licensed under the ISC license.
|
|
767
767
|
* See the LICENSE file in the root directory of this source tree.
|
|
768
768
|
*/
|
|
769
|
-
const
|
|
769
|
+
const Rl = F("Network", [
|
|
770
770
|
["rect", { x: "16", y: "16", width: "6", height: "6", rx: "1", key: "4q2zg0" }],
|
|
771
771
|
["rect", { x: "2", y: "16", width: "6", height: "6", rx: "1", key: "8cvhb9" }],
|
|
772
772
|
["rect", { x: "9", y: "2", width: "6", height: "6", rx: "1", key: "1egb70" }],
|
|
@@ -779,7 +779,7 @@ const ql = F("Network", [
|
|
|
779
779
|
* This source code is licensed under the ISC license.
|
|
780
780
|
* See the LICENSE file in the root directory of this source tree.
|
|
781
781
|
*/
|
|
782
|
-
const
|
|
782
|
+
const jl = F("Plug", [
|
|
783
783
|
["path", { d: "M12 22v-5", key: "1ega77" }],
|
|
784
784
|
["path", { d: "M9 8V2", key: "14iosj" }],
|
|
785
785
|
["path", { d: "M15 8V2", key: "18g5xt" }],
|
|
@@ -819,7 +819,7 @@ const _a = F("RefreshCw", [
|
|
|
819
819
|
* This source code is licensed under the ISC license.
|
|
820
820
|
* See the LICENSE file in the root directory of this source tree.
|
|
821
821
|
*/
|
|
822
|
-
const
|
|
822
|
+
const Bl = F("Rows3", [
|
|
823
823
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
|
824
824
|
["path", { d: "M21 9H3", key: "1338ky" }],
|
|
825
825
|
["path", { d: "M21 15H3", key: "9uk58r" }]
|
|
@@ -830,7 +830,7 @@ const jl = F("Rows3", [
|
|
|
830
830
|
* This source code is licensed under the ISC license.
|
|
831
831
|
* See the LICENSE file in the root directory of this source tree.
|
|
832
832
|
*/
|
|
833
|
-
const
|
|
833
|
+
const Pl = F("Save", [
|
|
834
834
|
[
|
|
835
835
|
"path",
|
|
836
836
|
{
|
|
@@ -864,7 +864,7 @@ const qa = F("Shapes", [
|
|
|
864
864
|
* This source code is licensed under the ISC license.
|
|
865
865
|
* See the LICENSE file in the root directory of this source tree.
|
|
866
866
|
*/
|
|
867
|
-
const
|
|
867
|
+
const Hl = F("Shrink", [
|
|
868
868
|
["path", { d: "m15 15 6 6m-6-6v4.8m0-4.8h4.8", key: "17vawe" }],
|
|
869
869
|
["path", { d: "M9 19.8V15m0 0H4.2M9 15l-6 6", key: "chjx8e" }],
|
|
870
870
|
["path", { d: "M15 4.2V9m0 0h4.8M15 9l6-6", key: "lav6yq" }],
|
|
@@ -891,7 +891,7 @@ const Ra = F("Sigma", [
|
|
|
891
891
|
* This source code is licensed under the ISC license.
|
|
892
892
|
* See the LICENSE file in the root directory of this source tree.
|
|
893
893
|
*/
|
|
894
|
-
const
|
|
894
|
+
const Gl = F("Square", [
|
|
895
895
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }]
|
|
896
896
|
]);
|
|
897
897
|
/**
|
|
@@ -915,7 +915,7 @@ const un = F("Table2", [
|
|
|
915
915
|
* This source code is licensed under the ISC license.
|
|
916
916
|
* See the LICENSE file in the root directory of this source tree.
|
|
917
917
|
*/
|
|
918
|
-
const
|
|
918
|
+
const Ul = F("Tag", [
|
|
919
919
|
[
|
|
920
920
|
"path",
|
|
921
921
|
{
|
|
@@ -931,7 +931,7 @@ const Gl = F("Tag", [
|
|
|
931
931
|
* This source code is licensed under the ISC license.
|
|
932
932
|
* See the LICENSE file in the root directory of this source tree.
|
|
933
933
|
*/
|
|
934
|
-
const
|
|
934
|
+
const $l = F("ToggleLeft", [
|
|
935
935
|
["rect", { width: "20", height: "12", x: "2", y: "6", rx: "6", ry: "6", key: "f2vt7d" }],
|
|
936
936
|
["circle", { cx: "8", cy: "12", r: "2", key: "1nvbw3" }]
|
|
937
937
|
]);
|
|
@@ -948,19 +948,6 @@ const ja = F("Tornado", [
|
|
|
948
948
|
["path", { d: "M16 16h-6", key: "1j5d54" }],
|
|
949
949
|
["path", { d: "M11 20H9", key: "39obr8" }]
|
|
950
950
|
]);
|
|
951
|
-
/**
|
|
952
|
-
* @license lucide-react v0.453.0 - ISC
|
|
953
|
-
*
|
|
954
|
-
* This source code is licensed under the ISC license.
|
|
955
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
956
|
-
*/
|
|
957
|
-
const $l = F("Trash2", [
|
|
958
|
-
["path", { d: "M3 6h18", key: "d0wm0j" }],
|
|
959
|
-
["path", { d: "M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6", key: "4alrt4" }],
|
|
960
|
-
["path", { d: "M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2", key: "v07s0e" }],
|
|
961
|
-
["line", { x1: "10", x2: "10", y1: "11", y2: "17", key: "1uufr5" }],
|
|
962
|
-
["line", { x1: "14", x2: "14", y1: "11", y2: "17", key: "xtxkd" }]
|
|
963
|
-
]);
|
|
964
951
|
/**
|
|
965
952
|
* @license lucide-react v0.453.0 - ISC
|
|
966
953
|
*
|
|
@@ -1152,7 +1139,7 @@ function Xl() {
|
|
|
1152
1139
|
}
|
|
1153
1140
|
}
|
|
1154
1141
|
return /* @__PURE__ */ r(_n, { open: t, onOpenChange: a, children: [
|
|
1155
|
-
/* @__PURE__ */ e(qn, { asChild: !0, children: /* @__PURE__ */ e(W, { tooltip: "Lenses", className: "h-7 p-2", children: /* @__PURE__ */ e(
|
|
1142
|
+
/* @__PURE__ */ e(qn, { asChild: !0, children: /* @__PURE__ */ e(W, { tooltip: "Lenses", className: "h-7 p-2", children: /* @__PURE__ */ e(Dl, { className: "h-4 w-4" }) }) }),
|
|
1156
1143
|
/* @__PURE__ */ r(Rn, { align: "end", className: "w-60", children: [
|
|
1157
1144
|
/* @__PURE__ */ e(jn, { className: "px-3", children: "Lenses" }),
|
|
1158
1145
|
/* @__PURE__ */ e(Bn, {}),
|
|
@@ -1172,7 +1159,7 @@ function Xl() {
|
|
|
1172
1159
|
/* @__PURE__ */ e("p", { children: u.name }),
|
|
1173
1160
|
/* @__PURE__ */ r("span", { className: "flex items-center gap-3", children: [
|
|
1174
1161
|
/* @__PURE__ */ e(
|
|
1175
|
-
|
|
1162
|
+
Tl,
|
|
1176
1163
|
{
|
|
1177
1164
|
onClick: (f) => {
|
|
1178
1165
|
f.preventDefault(), h(u);
|
|
@@ -1317,7 +1304,7 @@ function ni({
|
|
|
1317
1304
|
{
|
|
1318
1305
|
tooltip: "Schedule Dashboard",
|
|
1319
1306
|
className: R("h-7 p-2", t),
|
|
1320
|
-
children: /* @__PURE__ */ e(
|
|
1307
|
+
children: /* @__PURE__ */ e(gl, { className: "size-4" })
|
|
1321
1308
|
}
|
|
1322
1309
|
) }),
|
|
1323
1310
|
/* @__PURE__ */ e(Mt, { align: "end", className: "w-80", children: /* @__PURE__ */ r("div", { className: "grid gap-4", children: [
|
|
@@ -1429,12 +1416,12 @@ function ni({
|
|
|
1429
1416
|
Mn,
|
|
1430
1417
|
{
|
|
1431
1418
|
tooltip: `Next Run: ${new Date(g.nextRun).toLocaleString()} ${g.timezone}`,
|
|
1432
|
-
children: /* @__PURE__ */ e(
|
|
1419
|
+
children: /* @__PURE__ */ e(fl, { className: "size-3.5" })
|
|
1433
1420
|
}
|
|
1434
1421
|
),
|
|
1435
|
-
/* @__PURE__ */ e(Mn, { tooltip: `${g.endUserEmail}`, children: /* @__PURE__ */ e(
|
|
1422
|
+
/* @__PURE__ */ e(Mn, { tooltip: `${g.endUserEmail}`, children: /* @__PURE__ */ e(Vl, { className: "size-3.5" }) }),
|
|
1436
1423
|
i === g.id ? /* @__PURE__ */ e(Ge, { className: "size-3.5 animate-spin" }) : /* @__PURE__ */ e(
|
|
1437
|
-
|
|
1424
|
+
Cs,
|
|
1438
1425
|
{
|
|
1439
1426
|
onClick: () => s(g.id),
|
|
1440
1427
|
className: "size-3.5 cursor-pointer"
|
|
@@ -1463,7 +1450,7 @@ function ai() {
|
|
|
1463
1450
|
endUserId: h
|
|
1464
1451
|
}, { data: N, isLoading: m, isError: C, isFetching: g, refetch: y } = Un({
|
|
1465
1452
|
queryKey: ["subscriptions", d, h],
|
|
1466
|
-
queryFn: () =>
|
|
1453
|
+
queryFn: () => Ns(u, (i == null ? void 0 : i.accessToken) || "", f),
|
|
1467
1454
|
enabled: !!(i != null && i.accessToken) && !!d && !!h
|
|
1468
1455
|
});
|
|
1469
1456
|
async function b({
|
|
@@ -1637,7 +1624,7 @@ function si() {
|
|
|
1637
1624
|
disabled: d,
|
|
1638
1625
|
onClick: Z,
|
|
1639
1626
|
size: "sm",
|
|
1640
|
-
children: /* @__PURE__ */ e(
|
|
1627
|
+
children: /* @__PURE__ */ e(Pl, { className: "h-4 w-4" })
|
|
1641
1628
|
}
|
|
1642
1629
|
),
|
|
1643
1630
|
!f && !u && o && /* @__PURE__ */ e(
|
|
@@ -1694,7 +1681,7 @@ function ri({
|
|
|
1694
1681
|
c && /* @__PURE__ */ e("div", { className: "mr-2", children: c }),
|
|
1695
1682
|
/* @__PURE__ */ e("span", { className: "max-w-[150px] overflow-hidden truncate text-ellipsis whitespace-nowrap", children: y() })
|
|
1696
1683
|
] }),
|
|
1697
|
-
/* @__PURE__ */ e(
|
|
1684
|
+
/* @__PURE__ */ e(ws, { className: "size-4 opacity-50" })
|
|
1698
1685
|
]
|
|
1699
1686
|
}
|
|
1700
1687
|
) }),
|
|
@@ -1766,15 +1753,15 @@ function rt({
|
|
|
1766
1753
|
const f = s ? "Loading..." : l ? "Error" : n;
|
|
1767
1754
|
function N() {
|
|
1768
1755
|
if (t === "Connection")
|
|
1769
|
-
return /* @__PURE__ */ e(
|
|
1756
|
+
return /* @__PURE__ */ e(jl, { className: "size-4" });
|
|
1770
1757
|
if (t === "Database")
|
|
1771
|
-
return /* @__PURE__ */ e(
|
|
1758
|
+
return /* @__PURE__ */ e(xl, { className: "size-4" });
|
|
1772
1759
|
if (t === "Schema")
|
|
1773
|
-
return /* @__PURE__ */ e(
|
|
1760
|
+
return /* @__PURE__ */ e(Rl, { className: "size-4" });
|
|
1774
1761
|
if (t === "Table")
|
|
1775
1762
|
return /* @__PURE__ */ e(un, { className: "size-4" });
|
|
1776
1763
|
if (t === "Model")
|
|
1777
|
-
return /* @__PURE__ */ e(
|
|
1764
|
+
return /* @__PURE__ */ e(ml, { className: "size-4" });
|
|
1778
1765
|
}
|
|
1779
1766
|
function m() {
|
|
1780
1767
|
return /* @__PURE__ */ r(Ne, { disabled: h, value: f, onValueChange: i, children: [
|
|
@@ -1916,7 +1903,7 @@ function li({ column: t }) {
|
|
|
1916
1903
|
}
|
|
1917
1904
|
function mn({ column: t }) {
|
|
1918
1905
|
return /* @__PURE__ */ r(Dt, { children: [
|
|
1919
|
-
/* @__PURE__ */ e(
|
|
1906
|
+
/* @__PURE__ */ e(Ss, { className: "shrink-0", asChild: !0, children: xe(t.data_type) ? /* @__PURE__ */ e(ks, { className: "size-3 text-muted-foreground" }) : Pe(t.data_type) ? /* @__PURE__ */ e(Ea, { className: "size-3 text-muted-foreground" }) : Ce(t.data_type) ? /* @__PURE__ */ e(Ms, { className: "size-3 text-muted-foreground" }) : Ds(t.data_type) ? /* @__PURE__ */ e($l, { className: "size-3 text-muted-foreground" }) : t.data_type.startsWith("json") ? /* @__PURE__ */ e(hl, { className: "size-3 text-muted-foreground" }) : /* @__PURE__ */ e(Is, { className: "size-3 text-muted-foreground" }) }),
|
|
1920
1907
|
/* @__PURE__ */ e(It, { children: /* @__PURE__ */ e("p", { className: "text-xs", children: t.data_type }) })
|
|
1921
1908
|
] });
|
|
1922
1909
|
}
|
|
@@ -1939,7 +1926,7 @@ function Et({
|
|
|
1939
1926
|
);
|
|
1940
1927
|
}
|
|
1941
1928
|
function ii({ id: t, children: a, type: n = "column" }) {
|
|
1942
|
-
const { attributes: s, listeners: l, setNodeRef: o, transform: i } =
|
|
1929
|
+
const { attributes: s, listeners: l, setNodeRef: o, transform: i } = Os({
|
|
1943
1930
|
id: t,
|
|
1944
1931
|
data: { type: n }
|
|
1945
1932
|
// Tag as a column from the left-hand side
|
|
@@ -2003,7 +1990,7 @@ function oi({
|
|
|
2003
1990
|
}
|
|
2004
1991
|
),
|
|
2005
1992
|
children: [
|
|
2006
|
-
n === a.column_name && /* @__PURE__ */ e(
|
|
1993
|
+
n === a.column_name && /* @__PURE__ */ e(Ts, { children: /* @__PURE__ */ e(
|
|
2007
1994
|
Et,
|
|
2008
1995
|
{
|
|
2009
1996
|
column: a,
|
|
@@ -2070,14 +2057,14 @@ function ci() {
|
|
|
2070
2057
|
setPreviewMetricColumns: h,
|
|
2071
2058
|
setPreviewFilterColumns: u,
|
|
2072
2059
|
setPreviewPivotColumns: f
|
|
2073
|
-
} =
|
|
2060
|
+
} = zs(), {
|
|
2074
2061
|
setGroupByColumns: N,
|
|
2075
2062
|
setMetricColumns: m,
|
|
2076
2063
|
setFilterColumns: C,
|
|
2077
2064
|
setOrderByColumns: g,
|
|
2078
2065
|
setPivotByColumns: y
|
|
2079
|
-
} = J(), { columns: b } = la(), { formattedTableName: k } = ve(), S =
|
|
2080
|
-
|
|
2066
|
+
} = J(), { columns: b } = la(), { formattedTableName: k } = ve(), S = As(
|
|
2067
|
+
Fs(Es, {
|
|
2081
2068
|
activationConstraint: {
|
|
2082
2069
|
distance: 1
|
|
2083
2070
|
}
|
|
@@ -2567,7 +2554,7 @@ function di({
|
|
|
2567
2554
|
variant: "secondary",
|
|
2568
2555
|
className: "flex",
|
|
2569
2556
|
children: [
|
|
2570
|
-
s !== "Success" ? /* @__PURE__ */ e(Ge, { className: "mr-2 h-4 w-4 animate-spin text-foreground/50" }) : /* @__PURE__ */ e(
|
|
2557
|
+
s !== "Success" ? /* @__PURE__ */ e(Ge, { className: "mr-2 h-4 w-4 animate-spin text-foreground/50" }) : /* @__PURE__ */ e(Ll, { className: "mr-2 size-4" }),
|
|
2571
2558
|
"Top 10"
|
|
2572
2559
|
]
|
|
2573
2560
|
}
|
|
@@ -2799,7 +2786,7 @@ function Ga({
|
|
|
2799
2786
|
/* @__PURE__ */ e("div", { className: "flex items-center justify-between gap-2 px-6 py-4", children: a === "main" && /* @__PURE__ */ r(ae, { children: [
|
|
2800
2787
|
/* @__PURE__ */ r("div", { className: "flex items-center gap-2", children: [
|
|
2801
2788
|
/* @__PURE__ */ e(
|
|
2802
|
-
|
|
2789
|
+
Ls,
|
|
2803
2790
|
{
|
|
2804
2791
|
className: "data-[state=checked]:bg-muted-foreground/80",
|
|
2805
2792
|
checked: h,
|
|
@@ -2817,7 +2804,7 @@ function Ga({
|
|
|
2817
2804
|
variant: "secondary",
|
|
2818
2805
|
className: "group flex items-center gap-2 rounded-full",
|
|
2819
2806
|
children: [
|
|
2820
|
-
/* @__PURE__ */ e(
|
|
2807
|
+
/* @__PURE__ */ e(_l, { className: "size-4" }),
|
|
2821
2808
|
/* @__PURE__ */ e("span", { className: "hidden group-hover:block", children: "Help" })
|
|
2822
2809
|
]
|
|
2823
2810
|
}
|
|
@@ -2839,7 +2826,7 @@ function Ua({ sql: t, error: a, onClick: n }) {
|
|
|
2839
2826
|
}, 100);
|
|
2840
2827
|
}
|
|
2841
2828
|
return /* @__PURE__ */ r(ea, { openDelay: a ? 0 : 500, children: [
|
|
2842
|
-
/* @__PURE__ */ e(ta, { asChild: !0, children: /* @__PURE__ */ e(K, { variant: "link", className: "h-5 p-0", children: a ? /* @__PURE__ */ e(Ta, { className: "h-4 w-4 text-red-500" }) : /* @__PURE__ */ e(
|
|
2829
|
+
/* @__PURE__ */ e(ta, { asChild: !0, children: /* @__PURE__ */ e(K, { variant: "link", className: "h-5 p-0", children: a ? /* @__PURE__ */ e(Ta, { className: "h-4 w-4 text-red-500" }) : /* @__PURE__ */ e(Vs, { className: "h-4 w-4 text-muted-foreground" }) }) }),
|
|
2843
2830
|
/* @__PURE__ */ e(
|
|
2844
2831
|
aa,
|
|
2845
2832
|
{
|
|
@@ -2850,7 +2837,7 @@ function Ua({ sql: t, error: a, onClick: n }) {
|
|
|
2850
2837
|
a && a,
|
|
2851
2838
|
t && /* @__PURE__ */ r("div", { className: "flex flex-col space-y-1.5", children: [
|
|
2852
2839
|
/* @__PURE__ */ e("span", { className: "text-xs font-semibold", children: "Resolved SQL" }),
|
|
2853
|
-
/* @__PURE__ */ e("div", { className: "rounded-md", children: /* @__PURE__ */ e(
|
|
2840
|
+
/* @__PURE__ */ e("div", { className: "rounded-md", children: /* @__PURE__ */ e(_s, { code: t, language: "sql" }) })
|
|
2854
2841
|
] })
|
|
2855
2842
|
] }),
|
|
2856
2843
|
!s && /* @__PURE__ */ r(
|
|
@@ -2860,13 +2847,13 @@ function Ua({ sql: t, error: a, onClick: n }) {
|
|
|
2860
2847
|
variant: "secondary",
|
|
2861
2848
|
size: "sm",
|
|
2862
2849
|
children: [
|
|
2863
|
-
/* @__PURE__ */ e(
|
|
2850
|
+
/* @__PURE__ */ e(Sl, { className: "mr-2 h-4 w-4" }),
|
|
2864
2851
|
"View in SQL Editor"
|
|
2865
2852
|
]
|
|
2866
2853
|
}
|
|
2867
2854
|
),
|
|
2868
2855
|
a && n && /* @__PURE__ */ r(K, { onClick: n, size: "sm", variant: "secondary", children: [
|
|
2869
|
-
/* @__PURE__ */ e(
|
|
2856
|
+
/* @__PURE__ */ e(Ol, { className: "mr-2 h-4 w-4" }),
|
|
2870
2857
|
"Debug with Assistant"
|
|
2871
2858
|
] })
|
|
2872
2859
|
] }) })
|
|
@@ -2986,7 +2973,7 @@ function bi(t) {
|
|
|
2986
2973
|
return Je({ 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);
|
|
2987
2974
|
}
|
|
2988
2975
|
function Ja(t) {
|
|
2989
|
-
const { theme: a } =
|
|
2976
|
+
const { theme: a } = qs(), n = L((g) => g.theme), s = p((g) => g.frame), l = p((g) => g.card), o = p((g) => g.activeTabCardId), i = Rs(), { refetch: d } = fe(l), { updateCardTab: c, setRunSql: h } = J(), u = He(), f = He({}), N = s.cards.find((g) => g.id === o), m = Sa(() => {
|
|
2990
2977
|
let g = "";
|
|
2991
2978
|
return t === "python" && (g = (N == null ? void 0 : N.python) || ca), t === "sql" && (g = (N == null ? void 0 : N.sql) || ""), g;
|
|
2992
2979
|
}, [t, N]);
|
|
@@ -3021,7 +3008,7 @@ function Ja(t) {
|
|
|
3021
3008
|
inherit: !0,
|
|
3022
3009
|
rules: [],
|
|
3023
3010
|
colors: {
|
|
3024
|
-
"editor.background": y === "light" ? "#ffffff" :
|
|
3011
|
+
"editor.background": y === "light" ? "#ffffff" : js("240 10% 10%")
|
|
3025
3012
|
// 'editor.background':
|
|
3026
3013
|
// activeTheme === 'light'
|
|
3027
3014
|
// ? '#ffffff'
|
|
@@ -3049,7 +3036,7 @@ function Ja(t) {
|
|
|
3049
3036
|
function vi() {
|
|
3050
3037
|
const t = p((i) => i.card.sql), a = p((i) => i.sqlGen), { setCardSql: n, setSqlGen: s } = J(), { handleEditorDidMount: l } = Ja("sql");
|
|
3051
3038
|
function o(i) {
|
|
3052
|
-
n(i),
|
|
3039
|
+
n(i), Bs(a) || s({});
|
|
3053
3040
|
}
|
|
3054
3041
|
return /* @__PURE__ */ r("div", { className: "relative h-full w-full", children: [
|
|
3055
3042
|
!t && /* @__PURE__ */ e("div", { className: "pointer-events-none absolute left-[65px] top-3 z-10 font-mono text-sm text-muted-foreground", children: "Write your SQL here" }),
|
|
@@ -3166,7 +3153,7 @@ function Wa(t) {
|
|
|
3166
3153
|
handleInputChange: Y,
|
|
3167
3154
|
handleSubmit: te,
|
|
3168
3155
|
stop: x
|
|
3169
|
-
} =
|
|
3156
|
+
} = Ps({
|
|
3170
3157
|
api: "https://semaphor.cloud/api/v1/assistant",
|
|
3171
3158
|
headers: {
|
|
3172
3159
|
Authorization: `Bearer ${o == null ? void 0 : o.accessToken}`
|
|
@@ -3245,11 +3232,11 @@ function Wa(t) {
|
|
|
3245
3232
|
} : V);
|
|
3246
3233
|
}
|
|
3247
3234
|
function B(V) {
|
|
3248
|
-
const ne =
|
|
3235
|
+
const ne = $s(C, V);
|
|
3249
3236
|
ee(ne);
|
|
3250
3237
|
}
|
|
3251
3238
|
function ee(V) {
|
|
3252
|
-
const ne =
|
|
3239
|
+
const ne = Us(V);
|
|
3253
3240
|
E(ne), X((pe) => [
|
|
3254
3241
|
...pe,
|
|
3255
3242
|
{
|
|
@@ -3281,7 +3268,7 @@ function Wa(t) {
|
|
|
3281
3268
|
connectionType: Z || "",
|
|
3282
3269
|
datamodelId: M || ""
|
|
3283
3270
|
};
|
|
3284
|
-
if (!
|
|
3271
|
+
if (!Hs(
|
|
3285
3272
|
[...D || [], ...C],
|
|
3286
3273
|
V
|
|
3287
3274
|
) || C.length === 0) {
|
|
@@ -3295,7 +3282,7 @@ function Wa(t) {
|
|
|
3295
3282
|
ee(pe);
|
|
3296
3283
|
}
|
|
3297
3284
|
}
|
|
3298
|
-
const Q = !["ready", "error"].includes(G), de =
|
|
3285
|
+
const Q = !["ready", "error"].includes(G), de = Gs(I);
|
|
3299
3286
|
return {
|
|
3300
3287
|
messages: j,
|
|
3301
3288
|
setMessages: X,
|
|
@@ -3422,7 +3409,7 @@ function Za() {
|
|
|
3422
3409
|
}), a.setQueryData(l, null), a.removeQueries({ queryKey: l, exact: !0 }), o(""), i({}), f(), d(""), c(""), h({});
|
|
3423
3410
|
}
|
|
3424
3411
|
return /* @__PURE__ */ r(K, { onClick: N, className: "", size: "sm", variant: "secondary", children: [
|
|
3425
|
-
/* @__PURE__ */ e(
|
|
3412
|
+
/* @__PURE__ */ e(Nl, { className: "mr-2 size-4" }),
|
|
3426
3413
|
"Clear"
|
|
3427
3414
|
] });
|
|
3428
3415
|
}
|
|
@@ -3467,7 +3454,7 @@ function Si() {
|
|
|
3467
3454
|
}), c = p((x) => {
|
|
3468
3455
|
var w;
|
|
3469
3456
|
return (w = x == null ? void 0 : x.card) == null ? void 0 : w.python;
|
|
3470
|
-
}), { sheetFilterValues: h } =
|
|
3457
|
+
}), { sheetFilterValues: h } = Qs(), {
|
|
3471
3458
|
setCardCustomCfg: u,
|
|
3472
3459
|
setQueryResultColumns: f,
|
|
3473
3460
|
setCardSql: N,
|
|
@@ -3634,7 +3621,7 @@ ${c}` : ""}
|
|
|
3634
3621
|
className: "shrink-0",
|
|
3635
3622
|
size: "sm",
|
|
3636
3623
|
children: [
|
|
3637
|
-
q || Z ? /* @__PURE__ */ e(Ge, { className: "mr-2 h-4 w-4 animate-spin" }) : /* @__PURE__ */ e(
|
|
3624
|
+
q || Z ? /* @__PURE__ */ e(Ge, { className: "mr-2 h-4 w-4 animate-spin" }) : /* @__PURE__ */ e(Js, { className: "mr-2 h-4 w-4" }),
|
|
3638
3625
|
"Run"
|
|
3639
3626
|
]
|
|
3640
3627
|
}
|
|
@@ -3710,18 +3697,18 @@ function ki({ data: t }) {
|
|
|
3710
3697
|
onClick: () => c.toggleSorting(c.getIsSorted() === "asc"),
|
|
3711
3698
|
children: [
|
|
3712
3699
|
d,
|
|
3713
|
-
h === "asc" ? /* @__PURE__ */ e(
|
|
3700
|
+
h === "asc" ? /* @__PURE__ */ e(Ws, { className: "ml-2 h-5 w-5" }) : h === "desc" ? /* @__PURE__ */ e(Ks, { className: "ml-2 h-5 w-5" }) : null
|
|
3714
3701
|
]
|
|
3715
3702
|
}
|
|
3716
3703
|
) });
|
|
3717
3704
|
}
|
|
3718
|
-
})), o =
|
|
3705
|
+
})), o = Ys({
|
|
3719
3706
|
data: t,
|
|
3720
3707
|
columns: l,
|
|
3721
|
-
getCoreRowModel:
|
|
3722
|
-
getPaginationRowModel:
|
|
3708
|
+
getCoreRowModel: ar(),
|
|
3709
|
+
getPaginationRowModel: nr(),
|
|
3723
3710
|
onSortingChange: n,
|
|
3724
|
-
getSortedRowModel:
|
|
3711
|
+
getSortedRowModel: tr(),
|
|
3725
3712
|
manualPagination: !0,
|
|
3726
3713
|
state: {
|
|
3727
3714
|
sorting: a
|
|
@@ -3729,8 +3716,8 @@ function ki({ data: t }) {
|
|
|
3729
3716
|
});
|
|
3730
3717
|
return /* @__PURE__ */ r(Ot, { className: "grow overflow-auto font-mono text-xs text-foreground/95", children: [
|
|
3731
3718
|
/* @__PURE__ */ r("table", { className: "w-full", children: [
|
|
3732
|
-
/* @__PURE__ */ e(
|
|
3733
|
-
|
|
3719
|
+
/* @__PURE__ */ e(Zs, { className: "sticky top-0 z-50 h-0 bg-muted", children: o.getHeaderGroups().map((d) => /* @__PURE__ */ e(At, { className: "", children: d.headers.map((c) => /* @__PURE__ */ e(
|
|
3720
|
+
Xs,
|
|
3734
3721
|
{
|
|
3735
3722
|
className: "h-11 font-semibold text-foreground",
|
|
3736
3723
|
children: c.isPlaceholder ? null : xn(
|
|
@@ -3740,7 +3727,7 @@ function ki({ data: t }) {
|
|
|
3740
3727
|
},
|
|
3741
3728
|
c.id
|
|
3742
3729
|
)) }, d.id)) }),
|
|
3743
|
-
/* @__PURE__ */ e(
|
|
3730
|
+
/* @__PURE__ */ e(er, { children: (i = o.getRowModel().rows) != null && i.length ? o.getRowModel().rows.map((d) => /* @__PURE__ */ e(
|
|
3744
3731
|
At,
|
|
3745
3732
|
{
|
|
3746
3733
|
className: "h-11 whitespace-nowrap py-2",
|
|
@@ -3757,7 +3744,7 @@ function Mi({ card: t }) {
|
|
|
3757
3744
|
var k, S, A, D, T, E, q, Z, M, j, X;
|
|
3758
3745
|
const [a, n] = $(!1), [s, l] = $(
|
|
3759
3746
|
[]
|
|
3760
|
-
), { authToken: o } = Ue(), i =
|
|
3747
|
+
), { authToken: o } = Ue(), i = sr(o == null ? void 0 : o.accessToken), d = L((U) => U.themeStyle), c = {
|
|
3761
3748
|
colors: ((S = (k = d == null ? void 0 : d.chart) == null ? void 0 : k.dataset) == null ? void 0 : S.backgroundColor) || []
|
|
3762
3749
|
};
|
|
3763
3750
|
(A = t.customCardPreferences) != null && A.inputData;
|
|
@@ -3783,7 +3770,7 @@ function Mi({ card: t }) {
|
|
|
3783
3770
|
return v || null;
|
|
3784
3771
|
});
|
|
3785
3772
|
return /* @__PURE__ */ e("div", { className: "semaphor-custom mb-3 flex grow basis-0 flex-col space-y-2 overflow-y-auto", children: /* @__PURE__ */ r(
|
|
3786
|
-
|
|
3773
|
+
Zr,
|
|
3787
3774
|
{
|
|
3788
3775
|
fallback: /* @__PURE__ */ e(ae, {}),
|
|
3789
3776
|
children: [
|
|
@@ -3807,7 +3794,7 @@ function Mi({ card: t }) {
|
|
|
3807
3794
|
);
|
|
3808
3795
|
if (v)
|
|
3809
3796
|
return /* @__PURE__ */ e(
|
|
3810
|
-
|
|
3797
|
+
rr,
|
|
3811
3798
|
{
|
|
3812
3799
|
onLoadingStatus: y,
|
|
3813
3800
|
onDataChange: C,
|
|
@@ -3869,7 +3856,7 @@ function Xa({
|
|
|
3869
3856
|
function g() {
|
|
3870
3857
|
if (c != null && c.records && (c == null ? void 0 : c.records.length) === 0 && !h && !u)
|
|
3871
3858
|
return /* @__PURE__ */ r("div", { className: "flex h-full flex-col items-center justify-center gap-2", children: [
|
|
3872
|
-
/* @__PURE__ */ e(
|
|
3859
|
+
/* @__PURE__ */ e(ur, { className: "size-8 text-muted-foreground" }),
|
|
3873
3860
|
/* @__PURE__ */ e("p", { className: "text-sm text-muted-foreground", children: "No records to display" })
|
|
3874
3861
|
] });
|
|
3875
3862
|
if (!n.id) return null;
|
|
@@ -3877,22 +3864,22 @@ function Xa({
|
|
|
3877
3864
|
return C(n);
|
|
3878
3865
|
if (!["table", "custom"].includes(n.type) && m)
|
|
3879
3866
|
return /* @__PURE__ */ e(ae, { children: h || u ? /* @__PURE__ */ e(ae, {}) : /* @__PURE__ */ e(
|
|
3880
|
-
|
|
3867
|
+
mr,
|
|
3881
3868
|
{
|
|
3882
3869
|
cfg: m
|
|
3883
3870
|
}
|
|
3884
3871
|
) });
|
|
3885
3872
|
if (n.type === "table" && (c != null && c.records) && (c == null ? void 0 : c.records.length) > 0)
|
|
3886
|
-
return /* @__PURE__ */ e("div", { className: "relative mb-2 flex h-full min-h-0 w-full flex-1 grow basis-0", children: /* @__PURE__ */ e(
|
|
3873
|
+
return /* @__PURE__ */ e("div", { className: "relative mb-2 flex h-full min-h-0 w-full flex-1 grow basis-0", children: /* @__PURE__ */ e(hr, { card: n, data: c == null ? void 0 : c.records }) });
|
|
3887
3874
|
}
|
|
3888
3875
|
return /* @__PURE__ */ r(
|
|
3889
|
-
|
|
3876
|
+
lr,
|
|
3890
3877
|
{
|
|
3891
3878
|
role: "editor-visual-card",
|
|
3892
3879
|
className: R("relative flex h-full flex-col rounded-none", t),
|
|
3893
3880
|
...a,
|
|
3894
3881
|
children: [
|
|
3895
|
-
s && /* @__PURE__ */ r(
|
|
3882
|
+
s && /* @__PURE__ */ r(ir, { className: "flex flex-row items-start justify-between py-4", children: [
|
|
3896
3883
|
/* @__PURE__ */ r("div", { children: [
|
|
3897
3884
|
/* @__PURE__ */ e(
|
|
3898
3885
|
Ye,
|
|
@@ -3900,7 +3887,7 @@ function Xa({
|
|
|
3900
3887
|
enabled: !0,
|
|
3901
3888
|
text: n.title,
|
|
3902
3889
|
onSave: (b) => f({ ...n, title: b }),
|
|
3903
|
-
children: /* @__PURE__ */ e("div", { className: "flex items-center gap-5", children: /* @__PURE__ */ e(
|
|
3890
|
+
children: /* @__PURE__ */ e("div", { className: "flex items-center gap-5", children: /* @__PURE__ */ e(or, { className: "text-base", children: n.title || "Add title" }) })
|
|
3904
3891
|
},
|
|
3905
3892
|
n.title
|
|
3906
3893
|
),
|
|
@@ -3910,7 +3897,7 @@ function Xa({
|
|
|
3910
3897
|
enabled: !0,
|
|
3911
3898
|
text: n.description || "",
|
|
3912
3899
|
onSave: (b) => f({ ...n, description: b }),
|
|
3913
|
-
children: /* @__PURE__ */ e(
|
|
3900
|
+
children: /* @__PURE__ */ e(cr, { children: n.description || "Add description" })
|
|
3914
3901
|
},
|
|
3915
3902
|
n.description
|
|
3916
3903
|
)
|
|
@@ -3929,7 +3916,7 @@ function Xa({
|
|
|
3929
3916
|
/* @__PURE__ */ e(ma, { filter: d })
|
|
3930
3917
|
] })
|
|
3931
3918
|
] }),
|
|
3932
|
-
/* @__PURE__ */ e(
|
|
3919
|
+
/* @__PURE__ */ e(dr, { className: "flex grow flex-col", children: g() })
|
|
3933
3920
|
]
|
|
3934
3921
|
}
|
|
3935
3922
|
);
|
|
@@ -4076,7 +4063,7 @@ function Ti() {
|
|
|
4076
4063
|
});
|
|
4077
4064
|
if (D) {
|
|
4078
4065
|
s(b(D)), d(((E = u.preferences) == null ? void 0 : E.customVisualCode) || "");
|
|
4079
|
-
const q =
|
|
4066
|
+
const q = fr(D, f);
|
|
4080
4067
|
o(b(q));
|
|
4081
4068
|
}
|
|
4082
4069
|
}, S = () => {
|
|
@@ -4084,7 +4071,7 @@ function Ti() {
|
|
|
4084
4071
|
if (i && y(i), l) {
|
|
4085
4072
|
const D = JSON.parse(
|
|
4086
4073
|
l
|
|
4087
|
-
), T =
|
|
4074
|
+
), T = gr(
|
|
4088
4075
|
JSON.parse(n),
|
|
4089
4076
|
D
|
|
4090
4077
|
);
|
|
@@ -4101,7 +4088,7 @@ function Ti() {
|
|
|
4101
4088
|
tooltip: "Customize Visual",
|
|
4102
4089
|
onClick: k,
|
|
4103
4090
|
className: A ? "" : "text-green-600 hover:text-green-700",
|
|
4104
|
-
children: /* @__PURE__ */ e(
|
|
4091
|
+
children: /* @__PURE__ */ e(pr, { className: "h-4 w-4" })
|
|
4105
4092
|
}
|
|
4106
4093
|
) }),
|
|
4107
4094
|
/* @__PURE__ */ r(An, { className: "flex h-[600px] grow flex-col overflow-auto sm:min-w-[900px] lg:min-w-[1200px]", children: [
|
|
@@ -4141,7 +4128,7 @@ function es(t) {
|
|
|
4141
4128
|
function ts() {
|
|
4142
4129
|
const { authToken: t } = Ue(), { data: a, isLoading: n, isFetching: s, isError: l } = Un({
|
|
4143
4130
|
queryKey: ["plugins", t == null ? void 0 : t.accessToken],
|
|
4144
|
-
queryFn: () =>
|
|
4131
|
+
queryFn: () => yr(t == null ? void 0 : t.accessToken)
|
|
4145
4132
|
// staleTime: Infinity,
|
|
4146
4133
|
});
|
|
4147
4134
|
return { data: a, isLoading: n, isFetching: s, isError: l };
|
|
@@ -4169,7 +4156,7 @@ function zi({
|
|
|
4169
4156
|
var u;
|
|
4170
4157
|
if (d) {
|
|
4171
4158
|
const N = (await Promise.all(
|
|
4172
|
-
(u = d == null ? void 0 : d.plugins) == null ? void 0 : u.map(async (m) => (await
|
|
4159
|
+
(u = d == null ? void 0 : d.plugins) == null ? void 0 : u.map(async (m) => (await br(m.value)).visuals.map((y) => ({
|
|
4173
4160
|
name: y.name,
|
|
4174
4161
|
icon: y.icon,
|
|
4175
4162
|
url: m.value
|
|
@@ -4391,7 +4378,7 @@ function is({
|
|
|
4391
4378
|
tooltip: "Text",
|
|
4392
4379
|
onClick: () => c("text"),
|
|
4393
4380
|
className: "h-10 p-4",
|
|
4394
|
-
children: /* @__PURE__ */ e(
|
|
4381
|
+
children: /* @__PURE__ */ e(ul, { className: R("size-5", a) })
|
|
4395
4382
|
}
|
|
4396
4383
|
),
|
|
4397
4384
|
/* @__PURE__ */ e(
|
|
@@ -4718,7 +4705,7 @@ function Vi() {
|
|
|
4718
4705
|
q(B);
|
|
4719
4706
|
}
|
|
4720
4707
|
return /* @__PURE__ */ r($e, { onOpenChange: (w) => a(w), children: [
|
|
4721
|
-
/* @__PURE__ */ e(Qe, { asChild: !0, children: /* @__PURE__ */ e(W, { tooltip: "Format Number", children: /* @__PURE__ */ e(
|
|
4708
|
+
/* @__PURE__ */ e(Qe, { asChild: !0, children: /* @__PURE__ */ e(W, { tooltip: "Format Number", children: /* @__PURE__ */ e(Cl, { className: "size-4" }) }) }),
|
|
4722
4709
|
/* @__PURE__ */ e(sn, { align: "end", className: "max-w-65", children: /* @__PURE__ */ r("div", { className: "grid gap-4", children: [
|
|
4723
4710
|
/* @__PURE__ */ r("div", { className: "space-y-2", children: [
|
|
4724
4711
|
/* @__PURE__ */ e("h4", { className: "font-medium leading-none", children: "Format Options" }),
|
|
@@ -4728,7 +4715,7 @@ function Vi() {
|
|
|
4728
4715
|
X(),
|
|
4729
4716
|
// ['bar', 'line', 'area', 'horizontalBar'].includes(cardType) &&
|
|
4730
4717
|
U(),
|
|
4731
|
-
/* @__PURE__ */ e(
|
|
4718
|
+
/* @__PURE__ */ e(vr, {}),
|
|
4732
4719
|
/* @__PURE__ */ e("div", { className: "grid grid-cols-3", children: /* @__PURE__ */ e(
|
|
4733
4720
|
K,
|
|
4734
4721
|
{
|
|
@@ -4778,7 +4765,7 @@ function _i() {
|
|
|
4778
4765
|
});
|
|
4779
4766
|
};
|
|
4780
4767
|
return /* @__PURE__ */ r($e, { children: [
|
|
4781
|
-
/* @__PURE__ */ e(Qe, { asChild: !0, children: /* @__PURE__ */ e(W, { tooltip: "Legend Settings", children: /* @__PURE__ */ e(
|
|
4768
|
+
/* @__PURE__ */ e(Qe, { asChild: !0, children: /* @__PURE__ */ e(W, { tooltip: "Legend Settings", children: /* @__PURE__ */ e(zl, { className: "size-4" }) }) }),
|
|
4782
4769
|
/* @__PURE__ */ e(sn, { align: "end", className: "w-72", children: /* @__PURE__ */ r("div", { className: "grid gap-4", children: [
|
|
4783
4770
|
/* @__PURE__ */ r("div", { className: "space-y-2", children: [
|
|
4784
4771
|
/* @__PURE__ */ e("h4", { className: "font-medium leading-none", children: "Legend Options" }),
|
|
@@ -4813,7 +4800,7 @@ function _i() {
|
|
|
4813
4800
|
{
|
|
4814
4801
|
tooltip: "Left",
|
|
4815
4802
|
onClick: () => o("left"),
|
|
4816
|
-
children: /* @__PURE__ */ e(
|
|
4803
|
+
children: /* @__PURE__ */ e(rl, { className: "size-4" })
|
|
4817
4804
|
}
|
|
4818
4805
|
),
|
|
4819
4806
|
/* @__PURE__ */ e(
|
|
@@ -4829,7 +4816,7 @@ function _i() {
|
|
|
4829
4816
|
{
|
|
4830
4817
|
tooltip: "Right",
|
|
4831
4818
|
onClick: () => o("right"),
|
|
4832
|
-
children: /* @__PURE__ */ e(
|
|
4819
|
+
children: /* @__PURE__ */ e(ll, { className: "size-4" })
|
|
4833
4820
|
}
|
|
4834
4821
|
)
|
|
4835
4822
|
] })
|
|
@@ -4842,7 +4829,7 @@ function _i() {
|
|
|
4842
4829
|
{
|
|
4843
4830
|
tooltip: "Start",
|
|
4844
4831
|
onClick: () => i("start"),
|
|
4845
|
-
children: /* @__PURE__ */ e(
|
|
4832
|
+
children: /* @__PURE__ */ e(el, { className: "size-4" })
|
|
4846
4833
|
}
|
|
4847
4834
|
),
|
|
4848
4835
|
/* @__PURE__ */ e(
|
|
@@ -4850,7 +4837,7 @@ function _i() {
|
|
|
4850
4837
|
{
|
|
4851
4838
|
tooltip: "Center",
|
|
4852
4839
|
onClick: () => i("center"),
|
|
4853
|
-
children: /* @__PURE__ */ e(
|
|
4840
|
+
children: /* @__PURE__ */ e(Xr, { className: "size-4" })
|
|
4854
4841
|
}
|
|
4855
4842
|
),
|
|
4856
4843
|
/* @__PURE__ */ e(
|
|
@@ -4858,7 +4845,7 @@ function _i() {
|
|
|
4858
4845
|
{
|
|
4859
4846
|
tooltip: "End",
|
|
4860
4847
|
onClick: () => i("end"),
|
|
4861
|
-
children: /* @__PURE__ */ e(
|
|
4848
|
+
children: /* @__PURE__ */ e(tl, { className: "size-4" })
|
|
4862
4849
|
}
|
|
4863
4850
|
)
|
|
4864
4851
|
] })
|
|
@@ -4938,10 +4925,10 @@ function Ri() {
|
|
|
4938
4925
|
"text",
|
|
4939
4926
|
"map"
|
|
4940
4927
|
].includes(t.type) && /* @__PURE__ */ r(W, { tooltip: "Grid Style", onClick: o, children: [
|
|
4941
|
-
(s === "xy" || !s) && /* @__PURE__ */ e(
|
|
4942
|
-
s === "x" && /* @__PURE__ */ e(
|
|
4943
|
-
s === "y" && /* @__PURE__ */ e(
|
|
4944
|
-
s === "none" && /* @__PURE__ */ e(
|
|
4928
|
+
(s === "xy" || !s) && /* @__PURE__ */ e(Il, { className: "size-4" }),
|
|
4929
|
+
s === "x" && /* @__PURE__ */ e(yl, { className: "size-4" }),
|
|
4930
|
+
s === "y" && /* @__PURE__ */ e(Bl, { className: "size-4" }),
|
|
4931
|
+
s === "none" && /* @__PURE__ */ e(Gl, { className: "size-4" })
|
|
4945
4932
|
] })
|
|
4946
4933
|
] }) : null;
|
|
4947
4934
|
}
|
|
@@ -5057,7 +5044,7 @@ function ht() {
|
|
|
5057
5044
|
displayTab: O
|
|
5058
5045
|
});
|
|
5059
5046
|
},
|
|
5060
|
-
children: w.displayTab === !0 || w.displayTab === void 0 ? /* @__PURE__ */ e(
|
|
5047
|
+
children: w.displayTab === !0 || w.displayTab === void 0 ? /* @__PURE__ */ e(wr, { className: "mr-2 size-3.5 text-muted-foreground hover:text-foreground" }) : /* @__PURE__ */ e(wl, { className: "mr-2 size-3.5 text-muted-foreground hover:text-foreground" })
|
|
5061
5048
|
}
|
|
5062
5049
|
);
|
|
5063
5050
|
}
|
|
@@ -5120,7 +5107,7 @@ function ht() {
|
|
|
5120
5107
|
className: "invisible ml-1 h-8 px-2 hover:bg-muted-foreground/50 group-hover:visible",
|
|
5121
5108
|
variant: "outline",
|
|
5122
5109
|
onClick: E,
|
|
5123
|
-
children: /* @__PURE__ */ e(
|
|
5110
|
+
children: /* @__PURE__ */ e(vl, { className: "h-4 w-4" })
|
|
5124
5111
|
}
|
|
5125
5112
|
)
|
|
5126
5113
|
] }) })
|
|
@@ -5129,8 +5116,8 @@ function ht() {
|
|
|
5129
5116
|
);
|
|
5130
5117
|
}
|
|
5131
5118
|
function z() {
|
|
5132
|
-
return a.type === "kpi" ? /* @__PURE__ */ e("div", { className: "flex h-full items-center justify-center", children: /* @__PURE__ */ e("div", { className: "w-1/2 rounded-md border", children: /* @__PURE__ */ e(
|
|
5133
|
-
|
|
5119
|
+
return a.type === "kpi" ? /* @__PURE__ */ e("div", { className: "flex h-full items-center justify-center", children: /* @__PURE__ */ e("div", { className: "w-1/2 rounded-md border", children: /* @__PURE__ */ e(Cr, { card: a, data: y == null ? void 0 : y.records, isPending: A }) }) }) : a.type === "text" ? /* @__PURE__ */ e("div", { className: "flex h-full items-center justify-center", children: /* @__PURE__ */ e("div", { className: "w-1/2 rounded-md border", children: /* @__PURE__ */ e(ct, { className: "mx-3 my-6 h-[300px] overflow-y-auto break-words px-3", children: /* @__PURE__ */ e(
|
|
5120
|
+
Nr,
|
|
5134
5121
|
{
|
|
5135
5122
|
isLoading: o,
|
|
5136
5123
|
card: a,
|
|
@@ -5169,7 +5156,7 @@ function ht() {
|
|
|
5169
5156
|
children: [
|
|
5170
5157
|
s && /* @__PURE__ */ r("div", { className: "flex grow items-center", children: [
|
|
5171
5158
|
/* @__PURE__ */ e(Li, {}),
|
|
5172
|
-
l && /* @__PURE__ */ e(W, { tooltip: "Visual Docs", onClick: Y, children: /* @__PURE__ */ e(
|
|
5159
|
+
l && /* @__PURE__ */ e(W, { tooltip: "Visual Docs", onClick: Y, children: /* @__PURE__ */ e(dl, { className: "size-4" }) }),
|
|
5173
5160
|
!["table", "custom"].includes(a.type) && l && /* @__PURE__ */ e(Ti, {})
|
|
5174
5161
|
] }),
|
|
5175
5162
|
!s && /* @__PURE__ */ r("div", { className: "flex grow items-center gap-1", children: [
|
|
@@ -5190,11 +5177,11 @@ function ht() {
|
|
|
5190
5177
|
variant: "ghost",
|
|
5191
5178
|
size: "icon",
|
|
5192
5179
|
onClick: P,
|
|
5193
|
-
children: /* @__PURE__ */ e(
|
|
5180
|
+
children: /* @__PURE__ */ e(kl, { strokeWidth: 1.5, className: "size-4" })
|
|
5194
5181
|
}
|
|
5195
5182
|
),
|
|
5196
5183
|
/* @__PURE__ */ e(
|
|
5197
|
-
|
|
5184
|
+
xr,
|
|
5198
5185
|
{
|
|
5199
5186
|
text: JSON.stringify(y == null ? void 0 : y.records, null, 2),
|
|
5200
5187
|
className: "h-7 w-fit px-1 font-mono text-xs text-muted-foreground/70"
|
|
@@ -5398,7 +5385,7 @@ function Pi() {
|
|
|
5398
5385
|
/* @__PURE__ */ e(
|
|
5399
5386
|
ge,
|
|
5400
5387
|
{
|
|
5401
|
-
icon: /* @__PURE__ */ e(
|
|
5388
|
+
icon: /* @__PURE__ */ e(cl, { className: "h-3.5 w-3.5" }),
|
|
5402
5389
|
className: "h-9 w-full",
|
|
5403
5390
|
label: "Select Plugin",
|
|
5404
5391
|
options: n,
|
|
@@ -5427,7 +5414,7 @@ function Pi() {
|
|
|
5427
5414
|
((t == null ? void 0 : t.type) === "component" || (t == null ? void 0 : t.type) === void 0) && t && /* @__PURE__ */ e(ae, { children: d && /* @__PURE__ */ e(
|
|
5428
5415
|
ge,
|
|
5429
5416
|
{
|
|
5430
|
-
icon: /* @__PURE__ */ e(
|
|
5417
|
+
icon: /* @__PURE__ */ e(bl, { className: "h-3.5 w-3.5" }),
|
|
5431
5418
|
className: "h-9 w-full",
|
|
5432
5419
|
label: "Select Component",
|
|
5433
5420
|
options: (d == null ? void 0 : d.filter((b) => b.type === o).map((b) => ({
|
|
@@ -5590,7 +5577,7 @@ function Hi({ idx: t }) {
|
|
|
5590
5577
|
(c) => c.actions.setCardPreferences
|
|
5591
5578
|
), l = (d = a == null ? void 0 : a.chartOptions) == null ? void 0 : d.indexAxis, o = n == null ? void 0 : n.find((c) => c.idx === t);
|
|
5592
5579
|
function i(c, h) {
|
|
5593
|
-
(c === "end" || c === "start") &&
|
|
5580
|
+
(c === "end" || c === "start") && Sr(kr());
|
|
5594
5581
|
const u = {
|
|
5595
5582
|
display: c !== "none",
|
|
5596
5583
|
align: c,
|
|
@@ -5621,7 +5608,7 @@ function Hi({ idx: t }) {
|
|
|
5621
5608
|
}
|
|
5622
5609
|
}
|
|
5623
5610
|
return /* @__PURE__ */ r($e, { children: [
|
|
5624
|
-
/* @__PURE__ */ e(Qe, { children: /* @__PURE__ */ e(
|
|
5611
|
+
/* @__PURE__ */ e(Qe, { children: /* @__PURE__ */ e(Ul, { className: "size-4 rotate-[135deg] cursor-pointer text-muted-foreground hover:text-foreground" }) }),
|
|
5625
5612
|
/* @__PURE__ */ e(Mt, { className: "w-fit px-2 py-1", children: /* @__PURE__ */ r("div", { className: "flex gap-1", children: [
|
|
5626
5613
|
/* @__PURE__ */ e(
|
|
5627
5614
|
"button",
|
|
@@ -5637,7 +5624,7 @@ function Hi({ idx: t }) {
|
|
|
5637
5624
|
onClick: () => i("start", t),
|
|
5638
5625
|
className: "h-7 p-1 text-xs font-normal",
|
|
5639
5626
|
children: /* @__PURE__ */ e(
|
|
5640
|
-
|
|
5627
|
+
Al,
|
|
5641
5628
|
{
|
|
5642
5629
|
className: R("h-4 w-4", {
|
|
5643
5630
|
"rotate-90": l === "y"
|
|
@@ -5652,7 +5639,7 @@ function Hi({ idx: t }) {
|
|
|
5652
5639
|
onClick: () => i("center", t),
|
|
5653
5640
|
className: "h-7 p-1 text-xs font-normal",
|
|
5654
5641
|
children: /* @__PURE__ */ e(
|
|
5655
|
-
|
|
5642
|
+
El,
|
|
5656
5643
|
{
|
|
5657
5644
|
className: R("h-4 w-4", {
|
|
5658
5645
|
"rotate-90": l === "y"
|
|
@@ -5667,7 +5654,7 @@ function Hi({ idx: t }) {
|
|
|
5667
5654
|
onClick: () => i("end", t),
|
|
5668
5655
|
className: "h-7 p-1 text-xs font-normal",
|
|
5669
5656
|
children: /* @__PURE__ */ e(
|
|
5670
|
-
|
|
5657
|
+
Fl,
|
|
5671
5658
|
{
|
|
5672
5659
|
className: R("h-4 w-4", {
|
|
5673
5660
|
"rotate-90": l === "y"
|
|
@@ -5680,10 +5667,10 @@ function Hi({ idx: t }) {
|
|
|
5680
5667
|
] });
|
|
5681
5668
|
}
|
|
5682
5669
|
function os() {
|
|
5683
|
-
const t = p((o) => o.card), { data: a } = fe(t), { keys: n } = Gt((a == null ? void 0 : a.records) || []), s = n.slice(1).filter((o) => !
|
|
5670
|
+
const t = p((o) => o.card), { data: a } = fe(t), { keys: n } = Gt((a == null ? void 0 : a.records) || []), s = n.slice(1).filter((o) => !Mr.includes(o));
|
|
5684
5671
|
let l = s;
|
|
5685
5672
|
if (["stackedBar", "stackedLine"].includes(t.type)) {
|
|
5686
|
-
const o =
|
|
5673
|
+
const o = Dr({
|
|
5687
5674
|
dataArray: (a == null ? void 0 : a.records) || [],
|
|
5688
5675
|
groupKey: n[0],
|
|
5689
5676
|
pivotKey: n[1],
|
|
@@ -5827,7 +5814,7 @@ function us({
|
|
|
5827
5814
|
}
|
|
5828
5815
|
),
|
|
5829
5816
|
/* @__PURE__ */ e(
|
|
5830
|
-
|
|
5817
|
+
pl,
|
|
5831
5818
|
{
|
|
5832
5819
|
onClick: () => h("area"),
|
|
5833
5820
|
className: R(
|
|
@@ -5847,7 +5834,7 @@ function ms() {
|
|
|
5847
5834
|
function N(m, C = "dashboard") {
|
|
5848
5835
|
var E;
|
|
5849
5836
|
const g = be(m.column_name), y = be(n || ""), b = be(s || ""), k = be(u);
|
|
5850
|
-
let S =
|
|
5837
|
+
let S = Ir({
|
|
5851
5838
|
schemaName: b,
|
|
5852
5839
|
tableName: k,
|
|
5853
5840
|
connectionType: f,
|
|
@@ -5937,7 +5924,7 @@ function Gi({
|
|
|
5937
5924
|
className: "w-full justify-between font-normal",
|
|
5938
5925
|
children: [
|
|
5939
5926
|
l ? (i = t.find((d) => d.column_name === l)) == null ? void 0 : i.column_name : "Select Column...",
|
|
5940
|
-
/* @__PURE__ */ e(
|
|
5927
|
+
/* @__PURE__ */ e(Or, { className: "ml-2 h-4 w-4 shrink-0 opacity-50" })
|
|
5941
5928
|
]
|
|
5942
5929
|
}
|
|
5943
5930
|
) }),
|
|
@@ -5956,7 +5943,7 @@ function Gi({
|
|
|
5956
5943
|
children: [
|
|
5957
5944
|
d.column_name,
|
|
5958
5945
|
/* @__PURE__ */ e(
|
|
5959
|
-
|
|
5946
|
+
Tr,
|
|
5960
5947
|
{
|
|
5961
5948
|
className: R(
|
|
5962
5949
|
"ml-auto h-4 w-4",
|
|
@@ -6403,7 +6390,7 @@ function Yi() {
|
|
|
6403
6390
|
] }) }),
|
|
6404
6391
|
/* @__PURE__ */ e(ze, { className: "my-3" }),
|
|
6405
6392
|
/* @__PURE__ */ e(
|
|
6406
|
-
|
|
6393
|
+
zr,
|
|
6407
6394
|
{
|
|
6408
6395
|
colorRanges: o,
|
|
6409
6396
|
setColorRanges: i
|
|
@@ -6457,7 +6444,7 @@ function jt({
|
|
|
6457
6444
|
children: [
|
|
6458
6445
|
/* @__PURE__ */ r("summary", { className: "flex cursor-pointer list-none items-center justify-between gap-4", children: [
|
|
6459
6446
|
/* @__PURE__ */ e(H, { children: a }),
|
|
6460
|
-
/* @__PURE__ */ e(
|
|
6447
|
+
/* @__PURE__ */ e(Ar, { className: "h-4 w-4" })
|
|
6461
6448
|
] }),
|
|
6462
6449
|
/* @__PURE__ */ e("div", { className: "transition-all ease-in-out", children: t })
|
|
6463
6450
|
]
|
|
@@ -7104,12 +7091,12 @@ const uo = [
|
|
|
7104
7091
|
{
|
|
7105
7092
|
label: "Unique",
|
|
7106
7093
|
value: "DISTINCT",
|
|
7107
|
-
logo: /* @__PURE__ */ e(
|
|
7094
|
+
logo: /* @__PURE__ */ e(Ml, { className: "size-3.5" })
|
|
7108
7095
|
},
|
|
7109
7096
|
{
|
|
7110
7097
|
label: "Average",
|
|
7111
7098
|
value: "AVG",
|
|
7112
|
-
logo: /* @__PURE__ */ e(
|
|
7099
|
+
logo: /* @__PURE__ */ e(sl, { className: "size-3.5" })
|
|
7113
7100
|
},
|
|
7114
7101
|
{
|
|
7115
7102
|
label: "Min",
|
|
@@ -7407,7 +7394,7 @@ function yo({
|
|
|
7407
7394
|
className: "h-full pl-2",
|
|
7408
7395
|
onClick: () => o(!l),
|
|
7409
7396
|
children: l ? /* @__PURE__ */ e(
|
|
7410
|
-
|
|
7397
|
+
Hl,
|
|
7411
7398
|
{
|
|
7412
7399
|
className: R(
|
|
7413
7400
|
"size-3 cursor-pointer items-center justify-center rounded-r-sm text-muted-foreground"
|
|
@@ -7528,7 +7515,7 @@ function vo() {
|
|
|
7528
7515
|
}) || [], { addOrderByColumn: s, removeOrderByColumn: l, updateOrderByColumn: o } = J(), i = [...a, ...n];
|
|
7529
7516
|
if (i.length === 0)
|
|
7530
7517
|
return /* @__PURE__ */ e(ae, {});
|
|
7531
|
-
const d = /* @__PURE__ */ e(
|
|
7518
|
+
const d = /* @__PURE__ */ e(ol, { className: "size-3.5 text-muted-foreground hover:text-foreground" }), c = /* @__PURE__ */ e(al, { className: "size-3.5 text-muted-foreground hover:text-foreground" }), h = /* @__PURE__ */ e(il, { className: "size-3.5 text-muted-foreground hover:text-foreground" }), u = /* @__PURE__ */ e(nl, { className: "size-3.5 text-muted-foreground hover:text-foreground" }), f = i == null ? void 0 : i.filter((b) => !t.some((k) => k.columnId === b.id)).map((b) => ({
|
|
7532
7519
|
id: b.id,
|
|
7533
7520
|
value: b.label || b.name
|
|
7534
7521
|
}));
|
|
@@ -7741,7 +7728,7 @@ function fn({
|
|
|
7741
7728
|
/* @__PURE__ */ r("div", { className: "flex items-center justify-between", children: [
|
|
7742
7729
|
/* @__PURE__ */ r("div", { className: "flex items-center gap-2", children: [
|
|
7743
7730
|
/* @__PURE__ */ e(H, { className: "text-sm", children: a.name }),
|
|
7744
|
-
h && /* @__PURE__ */ e("button", { onClick: () => c(a), children: /* @__PURE__ */ e(
|
|
7731
|
+
h && /* @__PURE__ */ e("button", { onClick: () => c(a), children: /* @__PURE__ */ e(Fr, { className: "size-3 cursor-pointer items-center justify-center text-muted-foreground hover:text-foreground" }) })
|
|
7745
7732
|
] }),
|
|
7746
7733
|
/* @__PURE__ */ e(
|
|
7747
7734
|
"div",
|
|
@@ -7761,7 +7748,7 @@ function fn({
|
|
|
7761
7748
|
o && "border border-border"
|
|
7762
7749
|
),
|
|
7763
7750
|
children: [
|
|
7764
|
-
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
7751
|
+
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(Er, { className: "mr-2 size-3.5 cursor-move items-center justify-center p-0 text-muted-foreground/60 hover:text-foreground" }) }),
|
|
7765
7752
|
/* @__PURE__ */ e(
|
|
7766
7753
|
"div",
|
|
7767
7754
|
{
|
|
@@ -7904,7 +7891,7 @@ function wo({
|
|
|
7904
7891
|
title: "",
|
|
7905
7892
|
// not needed
|
|
7906
7893
|
dataType: t.type
|
|
7907
|
-
}, { isLoading: c, isFetching: h, isError: u, data: f } = Na(d), N = f == null ? void 0 : f.records, { dateRange: m, setDateRange: C, initialDateRange: g } =
|
|
7894
|
+
}, { isLoading: c, isFetching: h, isError: u, data: f } = Na(d), N = f == null ? void 0 : f.records, { dateRange: m, setDateRange: C, initialDateRange: g } = Lr(N), { updateEditorFilterValue: y } = J();
|
|
7908
7895
|
function b(A) {
|
|
7909
7896
|
var T, E;
|
|
7910
7897
|
const D = {
|
|
@@ -7918,7 +7905,7 @@ function wo({
|
|
|
7918
7905
|
}
|
|
7919
7906
|
function S() {
|
|
7920
7907
|
return c || h ? /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(Xt, { className: "h-8 w-72 bg-foreground/10" }) }) : u ? /* @__PURE__ */ e("div", { className: "h-8 w-72 bg-muted px-2", children: "Error" }) : N ? /* @__PURE__ */ e(
|
|
7921
|
-
|
|
7908
|
+
Vr,
|
|
7922
7909
|
{
|
|
7923
7910
|
title: d.title,
|
|
7924
7911
|
open: n,
|
|
@@ -8045,7 +8032,7 @@ function Do() {
|
|
|
8045
8032
|
variant: "secondary",
|
|
8046
8033
|
size: "sm",
|
|
8047
8034
|
children: [
|
|
8048
|
-
/* @__PURE__ */ e(
|
|
8035
|
+
/* @__PURE__ */ e(ql, { className: "mr-2 h-4 w-4" }),
|
|
8049
8036
|
"Assistant"
|
|
8050
8037
|
]
|
|
8051
8038
|
}
|
|
@@ -8162,7 +8149,7 @@ const Oo = [
|
|
|
8162
8149
|
function To() {
|
|
8163
8150
|
const t = He(null), a = He(null), [n, s] = $(!1), [l, o] = $(Hn), [i, d] = $(!1), c = p((w) => w.actions.setCardSql), h = p((w) => w.actions.setRunSql), u = p((w) => w.showAIDialog), f = L(
|
|
8164
8151
|
(w) => w.handleOpenAssistantProfile
|
|
8165
|
-
), { setShowAIDialog: N, setCardPython: m } = J(), { assistantProfile: C } =
|
|
8152
|
+
), { setShowAIDialog: N, setCardPython: m } = J(), { assistantProfile: C } = _r(), {
|
|
8166
8153
|
messages: g,
|
|
8167
8154
|
setMessages: y,
|
|
8168
8155
|
reload: b,
|
|
@@ -8180,7 +8167,7 @@ function To() {
|
|
|
8180
8167
|
llmUsage: U,
|
|
8181
8168
|
errorMessage: I
|
|
8182
8169
|
} = Wa();
|
|
8183
|
-
|
|
8170
|
+
qr({
|
|
8184
8171
|
scrollContainerRef: t,
|
|
8185
8172
|
inputRef: a,
|
|
8186
8173
|
messages: g
|
|
@@ -8332,7 +8319,7 @@ function To() {
|
|
|
8332
8319
|
onClick: () => {
|
|
8333
8320
|
N(!1);
|
|
8334
8321
|
},
|
|
8335
|
-
children: /* @__PURE__ */ e(
|
|
8322
|
+
children: /* @__PURE__ */ e(Rr, { className: "size-4" })
|
|
8336
8323
|
}
|
|
8337
8324
|
)
|
|
8338
8325
|
] })
|
|
@@ -8347,7 +8334,7 @@ function To() {
|
|
|
8347
8334
|
className: "mt-2 flex w-full grow basis-0",
|
|
8348
8335
|
children: /* @__PURE__ */ r("div", { className: "space-y-4 py-2 pr-3", "data-role": "messages", children: [
|
|
8349
8336
|
/* @__PURE__ */ e(
|
|
8350
|
-
|
|
8337
|
+
jr,
|
|
8351
8338
|
{
|
|
8352
8339
|
messages: g,
|
|
8353
8340
|
showTools: l,
|
|
@@ -8356,7 +8343,7 @@ function To() {
|
|
|
8356
8343
|
}
|
|
8357
8344
|
),
|
|
8358
8345
|
/* @__PURE__ */ e(
|
|
8359
|
-
|
|
8346
|
+
Br,
|
|
8360
8347
|
{
|
|
8361
8348
|
messages: g,
|
|
8362
8349
|
chatStatus: X,
|
|
@@ -8368,14 +8355,14 @@ function To() {
|
|
|
8368
8355
|
),
|
|
8369
8356
|
/* @__PURE__ */ r("div", { className: "mb-3", children: [
|
|
8370
8357
|
x && !C && /* @__PURE__ */ e(
|
|
8371
|
-
|
|
8358
|
+
Pr,
|
|
8372
8359
|
{
|
|
8373
8360
|
onClick: z,
|
|
8374
8361
|
placeholders: Oo
|
|
8375
8362
|
}
|
|
8376
8363
|
),
|
|
8377
8364
|
/* @__PURE__ */ e("div", { children: x && C && /* @__PURE__ */ e(
|
|
8378
|
-
|
|
8365
|
+
Hr,
|
|
8379
8366
|
{
|
|
8380
8367
|
seedQuestions: C.seedQuestions || [],
|
|
8381
8368
|
handleSeedQuestionClick: P
|
|
@@ -8383,7 +8370,7 @@ function To() {
|
|
|
8383
8370
|
) })
|
|
8384
8371
|
] }),
|
|
8385
8372
|
/* @__PURE__ */ e(
|
|
8386
|
-
|
|
8373
|
+
Gr,
|
|
8387
8374
|
{
|
|
8388
8375
|
onFocus: () => {
|
|
8389
8376
|
T();
|
|
@@ -8456,7 +8443,7 @@ function zo({ authToken: t, onSave: a, onClose: n }) {
|
|
|
8456
8443
|
);
|
|
8457
8444
|
}
|
|
8458
8445
|
return /* @__PURE__ */ e(zt, { FallbackComponent: wa, children: /* @__PURE__ */ e(
|
|
8459
|
-
|
|
8446
|
+
Ur,
|
|
8460
8447
|
{
|
|
8461
8448
|
sensors: m,
|
|
8462
8449
|
onDragStart: f,
|
|
@@ -8595,7 +8582,7 @@ function Vo() {
|
|
|
8595
8582
|
children: [
|
|
8596
8583
|
/* @__PURE__ */ r("section", { className: "flex grow flex-col", children: [
|
|
8597
8584
|
n && /* @__PURE__ */ e(Lo, {}),
|
|
8598
|
-
/* @__PURE__ */ e(
|
|
8585
|
+
/* @__PURE__ */ e($r, {})
|
|
8599
8586
|
] }),
|
|
8600
8587
|
t && /* @__PURE__ */ e("div", { role: "filter-aside-container", className: "flex", children: /* @__PURE__ */ e(Eo, {}) })
|
|
8601
8588
|
]
|
|
@@ -8629,7 +8616,7 @@ function _o() {
|
|
|
8629
8616
|
}
|
|
8630
8617
|
),
|
|
8631
8618
|
/* @__PURE__ */ e(
|
|
8632
|
-
|
|
8619
|
+
Qr,
|
|
8633
8620
|
{
|
|
8634
8621
|
onChange: (l) => {
|
|
8635
8622
|
if (l)
|
|
@@ -8666,11 +8653,11 @@ function Po({
|
|
|
8666
8653
|
showFooter: a = !0,
|
|
8667
8654
|
...n
|
|
8668
8655
|
}) {
|
|
8669
|
-
return /* @__PURE__ */ e(zt, { FallbackComponent: wa, children: /* @__PURE__ */ r(
|
|
8670
|
-
/* @__PURE__ */ e(
|
|
8671
|
-
/* @__PURE__ */ r(
|
|
8656
|
+
return /* @__PURE__ */ e(zt, { FallbackComponent: wa, children: /* @__PURE__ */ r(Jr, { dashboardProps: n, children: [
|
|
8657
|
+
/* @__PURE__ */ e(Wr, {}),
|
|
8658
|
+
/* @__PURE__ */ r(Kr, { children: [
|
|
8672
8659
|
/* @__PURE__ */ e(_o, {}),
|
|
8673
|
-
/* @__PURE__ */ r(
|
|
8660
|
+
/* @__PURE__ */ r(Yr, { ...n, children: [
|
|
8674
8661
|
t && /* @__PURE__ */ e(si, {}),
|
|
8675
8662
|
/* @__PURE__ */ e(Ao, {}),
|
|
8676
8663
|
/* @__PURE__ */ e(Vo, {})
|
|
@@ -8695,10 +8682,10 @@ export {
|
|
|
8695
8682
|
Ba as getDashbaordStateWithoutData,
|
|
8696
8683
|
Ko as getFilterValueType,
|
|
8697
8684
|
Ht as getFormattedTableNameForQuery,
|
|
8698
|
-
|
|
8685
|
+
Ir as getQualifiedTableName,
|
|
8699
8686
|
ra as getSql,
|
|
8700
8687
|
Yo as invalidateToken,
|
|
8701
|
-
|
|
8688
|
+
Ds as isBooleanDataType,
|
|
8702
8689
|
Zo as isColumnInSqlGen,
|
|
8703
8690
|
Ce as isDateDataType,
|
|
8704
8691
|
Pe as isNumberDataType,
|