react-semaphor 0.1.98 → 0.1.100
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/{dashboard-controls-SfIULlwq.js → dashboard-controls-DKci3my0.js} +1 -1
- package/dist/chunks/{dashboard-controls-B7wa2KRe.js → dashboard-controls-DW1JJWP7.js} +28 -28
- package/dist/chunks/{dashboard-json-BJtvpPq-.js → dashboard-json-BDAEIUep.js} +1 -1
- package/dist/chunks/{dashboard-json-CmSkMcC5.js → dashboard-json-C0CKQW3d.js} +1 -1
- package/dist/chunks/{edit-dashboard-visual-Dx85J19h.js → edit-dashboard-visual-BtV3RWgf.js} +1 -1
- package/dist/chunks/{edit-dashboard-visual-BFFO7nug.js → edit-dashboard-visual-DQzy1fUR.js} +165 -165
- package/dist/chunks/{editor-action-buttons-B_i5UaKQ.js → editor-action-buttons-BJRrkj_n.js} +2 -2
- package/dist/chunks/{editor-action-buttons-DljIU0p-.js → editor-action-buttons-CReBF7FV.js} +1 -1
- package/dist/chunks/{index-C37s4iSV.js → index-BDtdPUUE.js} +155 -155
- package/dist/chunks/{index-DNQRM5V-.js → index-f2IZ7tlh.js} +7590 -7575
- package/dist/chunks/{resource-management-panel-h3nqEz3m.js → resource-management-panel-BQVERuRi.js} +1 -1
- package/dist/chunks/{resource-management-panel-CMoCDvGf.js → resource-management-panel-DNpbhYNu.js} +51 -51
- package/dist/chunks/{schedule-dashboard-CGKeVpPU.js → schedule-dashboard-CfeYnMXp.js} +149 -141
- package/dist/chunks/schedule-dashboard-D8ctQToc.js +6 -0
- package/dist/chunks/{use-visual-utils-not8LVVZ.js → use-visual-utils-BN4h1-xa.js} +1 -1
- package/dist/chunks/{use-visual-utils-B1-TK4CN.js → use-visual-utils-CRA2-3Z2.js} +14 -15
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +4 -4
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunks/schedule-dashboard-D1TDsh3L.js +0 -6
package/dist/chunks/{resource-management-panel-h3nqEz3m.js → resource-management-panel-BQVERuRi.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("./index-BDtdPUUE.js"),h=require("react"),ge=require("./use-visual-utils-BN4h1-xa.js"),ue=require("./use-local-storage-state-DXYWw213.js");/**
|
|
2
2
|
* @license lucide-react v0.453.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
package/dist/chunks/{resource-management-panel-CMoCDvGf.js → resource-management-panel-DNpbhYNu.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e, jsxs as s, Fragment as xe } from "react/jsx-runtime";
|
|
2
|
-
import { b as Oe,
|
|
2
|
+
import { b as Oe, aM as be, u as K, aa as Je, ak as ve, aN as ke, aO as et, aP as Pe, c as Y, aQ as Ue, aR as Ne, B as O, aS as _, aT as Te, aC as tt, aD as at, aU as st, aF as nt, aG as H, ac as se, aV as rt, aW as Ve, aX as we, aY as it, aZ as ot, a_ as Re, ao as lt, ap as dt, aq as ct, ar as ht, as as ut, at as Le, au as ae, ax as mt, a$ as pt, b0 as ne, b1 as Ie, v as je, R as Me, b2 as ze, b3 as Fe, b4 as Be, b5 as He, b6 as _e, b7 as Qe, b8 as qe, b9 as We, ba as Ge, bb as ft, bc as gt, bd as Nt, aA as te, aj as Dt, be as Ke, bf as xt, bg as bt, bh as vt, bi as wt, bj as yt, bk as Ct, bl as St, bm as Tt, bn as Vt, bo as Lt, I as At, bp as Et, bq as Ot, br as Ae, bs as Ee } from "./index-f2IZ7tlh.js";
|
|
3
3
|
import Pt, { useState as m, useEffect as De } from "react";
|
|
4
|
-
import { a as Ut } from "./use-visual-utils-
|
|
4
|
+
import { a as Ut } from "./use-visual-utils-CRA2-3Z2.js";
|
|
5
5
|
import { u as Rt, a as It } from "./use-local-storage-state-CWjTT77L.js";
|
|
6
6
|
/**
|
|
7
7
|
* @license lucide-react v0.453.0 - ISC
|
|
@@ -28,7 +28,7 @@ const Mt = Oe("PanelLeft", [
|
|
|
28
28
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
|
29
29
|
["path", { d: "M9 3v18", key: "fh3hqa" }]
|
|
30
30
|
]);
|
|
31
|
-
function
|
|
31
|
+
function Ye() {
|
|
32
32
|
return /* @__PURE__ */ e(be, { className: "w-full flex-1", children: /* @__PURE__ */ s("div", { className: "space-y-4 px-4 py-2", children: [
|
|
33
33
|
/* @__PURE__ */ e("div", { className: "h-9 w-full rounded bg-muted animate-pulse" }),
|
|
34
34
|
/* @__PURE__ */ e("div", { className: "h-9 w-full rounded bg-muted animate-pulse" }),
|
|
@@ -42,7 +42,7 @@ function Ge() {
|
|
|
42
42
|
] }) });
|
|
43
43
|
}
|
|
44
44
|
const zt = (t) => {
|
|
45
|
-
const p =
|
|
45
|
+
const p = K((r) => r.isVisualEditing), f = K((r) => r.selectedFrameId), d = Je((r) => r.frame);
|
|
46
46
|
return !!(p && f && (d == null ? void 0 : d.visualId) === t);
|
|
47
47
|
};
|
|
48
48
|
function Ft({
|
|
@@ -59,9 +59,9 @@ function Ft({
|
|
|
59
59
|
formatDate: l
|
|
60
60
|
}) {
|
|
61
61
|
var P, v, z, j;
|
|
62
|
-
const { selectVisual: c } = ve(), T = ke(t.id), D = zt(t.id), { isConsoleMode: V } = et(), i = Pt.useRef(null), [y,
|
|
62
|
+
const { selectVisual: c } = ve(), T = ke(t.id), D = zt(t.id), { isConsoleMode: V } = et(), i = Pt.useRef(null), [y, A] = m(!1), [w, g] = m(!1);
|
|
63
63
|
De(() => {
|
|
64
|
-
f ? (
|
|
64
|
+
f ? (A(!0), g(!0)) : w && (A(!1), g(!1));
|
|
65
65
|
}, [f, w]), De(() => {
|
|
66
66
|
D && i.current && i.current.scrollIntoView({
|
|
67
67
|
behavior: "smooth",
|
|
@@ -75,7 +75,7 @@ function Ft({
|
|
|
75
75
|
Pe,
|
|
76
76
|
{
|
|
77
77
|
ref: i,
|
|
78
|
-
className:
|
|
78
|
+
className: Y(
|
|
79
79
|
"group cursor-pointer border border-border/50 p-3 transition-colors hover:bg-accent/50",
|
|
80
80
|
D ? "border-purple-500" : T && "border-primary"
|
|
81
81
|
),
|
|
@@ -109,7 +109,7 @@ function Ft({
|
|
|
109
109
|
/* @__PURE__ */ s(
|
|
110
110
|
"div",
|
|
111
111
|
{
|
|
112
|
-
className:
|
|
112
|
+
className: Y(
|
|
113
113
|
"invisible flex flex-shrink-0 items-center gap-1 transition-opacity duration-150 group-hover:visible",
|
|
114
114
|
T && "visible"
|
|
115
115
|
),
|
|
@@ -146,7 +146,7 @@ function Ft({
|
|
|
146
146
|
{
|
|
147
147
|
modal: !1,
|
|
148
148
|
open: y,
|
|
149
|
-
onOpenChange:
|
|
149
|
+
onOpenChange: A,
|
|
150
150
|
children: [
|
|
151
151
|
/* @__PURE__ */ e(at, { asChild: !0, children: /* @__PURE__ */ e(O, { size: "sm", variant: "ghost", className: "h-6 w-6 p-0", children: /* @__PURE__ */ e(st, { className: "h-3 w-3" }) }) }),
|
|
152
152
|
/* @__PURE__ */ s(nt, { align: "end", className: "z-[51] w-40", children: [
|
|
@@ -333,7 +333,7 @@ function Ht() {
|
|
|
333
333
|
null
|
|
334
334
|
), [S, l] = m(!1), [c, T] = m(null), [D, V] = m(null), [i, y] = m(
|
|
335
335
|
null
|
|
336
|
-
), { selectVisual:
|
|
336
|
+
), { selectVisual: A } = ve(), { handleEditLibraryVisual: w, handleAddLibraryVisual: g } = Ut(), {
|
|
337
337
|
resources: b,
|
|
338
338
|
isLoading: R,
|
|
339
339
|
isError: P,
|
|
@@ -342,13 +342,13 @@ function Ht() {
|
|
|
342
342
|
deleteResource: j,
|
|
343
343
|
duplicateResource: u,
|
|
344
344
|
isCreating: re,
|
|
345
|
-
isDeleting:
|
|
345
|
+
isDeleting: E
|
|
346
346
|
} = pt(
|
|
347
347
|
() => {
|
|
348
348
|
l(!1), T(null);
|
|
349
349
|
},
|
|
350
350
|
(n) => {
|
|
351
|
-
d(!1), n && (
|
|
351
|
+
d(!1), n && (A(n), w(n));
|
|
352
352
|
}
|
|
353
353
|
);
|
|
354
354
|
ne();
|
|
@@ -384,8 +384,8 @@ function Ht() {
|
|
|
384
384
|
(ee = o == null ? void 0 : o.onSuccess) == null || ee.call(o);
|
|
385
385
|
return;
|
|
386
386
|
}
|
|
387
|
-
const k = Object.keys(B),
|
|
388
|
-
de(n,
|
|
387
|
+
const k = Object.keys(B), G = k.length === 1 ? k[0] : void 0;
|
|
388
|
+
de(n, G), z(
|
|
389
389
|
{
|
|
390
390
|
resourceId: n,
|
|
391
391
|
data: B
|
|
@@ -393,11 +393,11 @@ function Ht() {
|
|
|
393
393
|
{
|
|
394
394
|
onSuccess: () => {
|
|
395
395
|
var I;
|
|
396
|
-
$(n,
|
|
396
|
+
$(n, G), (I = o == null ? void 0 : o.onSuccess) == null || I.call(o);
|
|
397
397
|
},
|
|
398
398
|
onError: () => {
|
|
399
399
|
var I;
|
|
400
|
-
$(n,
|
|
400
|
+
$(n, G), (I = o == null ? void 0 : o.onError) == null || I.call(o);
|
|
401
401
|
}
|
|
402
402
|
}
|
|
403
403
|
);
|
|
@@ -436,7 +436,7 @@ function Ht() {
|
|
|
436
436
|
}
|
|
437
437
|
});
|
|
438
438
|
};
|
|
439
|
-
return R ? /* @__PURE__ */ e(
|
|
439
|
+
return R ? /* @__PURE__ */ e(Ye, {}) : P ? /* @__PURE__ */ e(be, { className: "w-full flex-1 pr-2", children: /* @__PURE__ */ s("div", { className: "py-8 text-center text-muted-foreground", children: [
|
|
440
440
|
/* @__PURE__ */ e("p", { className: "text-sm text-destructive", children: "Failed to load visuals" }),
|
|
441
441
|
/* @__PURE__ */ e(
|
|
442
442
|
O,
|
|
@@ -486,7 +486,7 @@ function Ht() {
|
|
|
486
486
|
onDuplicateVisual: Q,
|
|
487
487
|
onTogglePrivacy: J,
|
|
488
488
|
onShareVisual: he,
|
|
489
|
-
isDeleting:
|
|
489
|
+
isDeleting: E,
|
|
490
490
|
isDuplicating: D === n.id,
|
|
491
491
|
formatDate: ie
|
|
492
492
|
},
|
|
@@ -519,7 +519,7 @@ function Ht() {
|
|
|
519
519
|
{
|
|
520
520
|
open: S,
|
|
521
521
|
onOpenChange: (n) => {
|
|
522
|
-
!n &&
|
|
522
|
+
!n && E || (l(n), n || T(null));
|
|
523
523
|
},
|
|
524
524
|
children: /* @__PURE__ */ s(Be, { children: [
|
|
525
525
|
/* @__PURE__ */ s(He, { children: [
|
|
@@ -531,18 +531,18 @@ function Ht() {
|
|
|
531
531
|
] })
|
|
532
532
|
] }),
|
|
533
533
|
/* @__PURE__ */ s(qe, { children: [
|
|
534
|
-
/* @__PURE__ */ e(We, { disabled:
|
|
534
|
+
/* @__PURE__ */ e(We, { disabled: E, children: "Cancel" }),
|
|
535
535
|
/* @__PURE__ */ s(
|
|
536
|
-
|
|
536
|
+
Ge,
|
|
537
537
|
{
|
|
538
538
|
onClick: (n) => {
|
|
539
539
|
n.preventDefault(), n.stopPropagation(), le();
|
|
540
540
|
},
|
|
541
541
|
className: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
|
|
542
|
-
disabled:
|
|
542
|
+
disabled: E,
|
|
543
543
|
children: [
|
|
544
|
-
|
|
545
|
-
|
|
544
|
+
E ? /* @__PURE__ */ e(se, { className: "mr-2 h-3.5 w-3.5 animate-spin" }) : /* @__PURE__ */ e(we, { className: "mr-2 h-3.5 w-3.5" }),
|
|
545
|
+
E ? "Deleting..." : "Delete"
|
|
546
546
|
]
|
|
547
547
|
}
|
|
548
548
|
)
|
|
@@ -584,19 +584,19 @@ function _t({
|
|
|
584
584
|
onDashboardItemClick: l
|
|
585
585
|
}) {
|
|
586
586
|
var g, b;
|
|
587
|
-
const { selectDashboard: c } = ve(), T = ft(t.id), { userContext: D, isLoading: V } = ne(), i = ((g = D == null ? void 0 : D.permissions) == null ? void 0 : g.canEdit) ?? !1, y = V || !i,
|
|
587
|
+
const { selectDashboard: c } = ve(), T = ft(t.id), { userContext: D, isLoading: V } = ne(), i = ((g = D == null ? void 0 : D.permissions) == null ? void 0 : g.canEdit) ?? !1, y = V || !i, A = () => /* @__PURE__ */ e(Nt, { className: "h-4 w-4" }), w = () => {
|
|
588
588
|
c(t), d(t.id), l == null || l(t.id);
|
|
589
589
|
};
|
|
590
590
|
return /* @__PURE__ */ e(
|
|
591
591
|
Pe,
|
|
592
592
|
{
|
|
593
|
-
className:
|
|
593
|
+
className: Y(
|
|
594
594
|
"group cursor-pointer border border-border/50 p-3 transition-colors hover:bg-accent/50",
|
|
595
595
|
T && "border-primary"
|
|
596
596
|
),
|
|
597
597
|
onClick: w,
|
|
598
598
|
children: /* @__PURE__ */ s("div", { className: "flex items-start gap-3", children: [
|
|
599
|
-
/* @__PURE__ */ e("div", { className: "mt-0.5 rounded bg-muted p-1.5", children:
|
|
599
|
+
/* @__PURE__ */ e("div", { className: "mt-0.5 rounded bg-muted p-1.5", children: A() }),
|
|
600
600
|
/* @__PURE__ */ s("div", { className: "min-w-0 flex-1 flex flex-col", children: [
|
|
601
601
|
/* @__PURE__ */ s("div", { className: "flex items-center gap-2", children: [
|
|
602
602
|
/* @__PURE__ */ e(
|
|
@@ -652,7 +652,7 @@ function qt(t) {
|
|
|
652
652
|
var ye;
|
|
653
653
|
const { onLoadDashboard: p, onEditDashboard: f, onDashboardItemClick: d } = t, [r, N] = m(""), [C, x] = m(!1), [S, l] = m(!1), [c, T] = m(
|
|
654
654
|
null
|
|
655
|
-
), [D, V] = m(!1), [i, y] = m(null), [
|
|
655
|
+
), [D, V] = m(!1), [i, y] = m(null), [A, w] = m(null), [g, b] = m(null), R = te(
|
|
656
656
|
(a) => a.lastSelectedDashboard
|
|
657
657
|
), P = te(
|
|
658
658
|
(a) => a.selectedDashboard
|
|
@@ -661,11 +661,11 @@ function qt(t) {
|
|
|
661
661
|
), z = te(
|
|
662
662
|
(a) => a.actions.clearSelectedDashboard
|
|
663
663
|
), { tokenProps: j, id: u } = Dt();
|
|
664
|
-
|
|
664
|
+
Ke();
|
|
665
665
|
const { onCreateSuccess: re } = xt({
|
|
666
666
|
onDashboardSelect: d
|
|
667
667
|
}), {
|
|
668
|
-
resources:
|
|
668
|
+
resources: E,
|
|
669
669
|
isLoading: X,
|
|
670
670
|
isError: ie,
|
|
671
671
|
createResource: oe,
|
|
@@ -684,7 +684,7 @@ function qt(t) {
|
|
|
684
684
|
(a) => {
|
|
685
685
|
x(!1), re(a, ce);
|
|
686
686
|
}
|
|
687
|
-
), { currentUser: Q, userContext: q } = ne(), W = ((ye = q == null ? void 0 : q.permissions) == null ? void 0 : ye.canCreateDashboard) ?? !1, J =
|
|
687
|
+
), { currentUser: Q, userContext: q } = ne(), W = ((ye = q == null ? void 0 : q.permissions) == null ? void 0 : ye.canCreateDashboard) ?? !1, J = E.filter(
|
|
688
688
|
(a) => {
|
|
689
689
|
var U, h;
|
|
690
690
|
return ((U = a == null ? void 0 : a.title) == null ? void 0 : U.toLowerCase().includes(r.toLowerCase())) || ((h = a == null ? void 0 : a.description) == null ? void 0 : h.toLowerCase().includes(r.toLowerCase()));
|
|
@@ -713,7 +713,7 @@ function qt(t) {
|
|
|
713
713
|
startUpdating: o,
|
|
714
714
|
stopUpdating: B,
|
|
715
715
|
isUpdating: k
|
|
716
|
-
} = Ie(),
|
|
716
|
+
} = Ie(), G = (a, U, h) => {
|
|
717
717
|
var Se;
|
|
718
718
|
const fe = Object.fromEntries(
|
|
719
719
|
Object.entries(U).filter(([, F]) => F !== void 0)
|
|
@@ -740,7 +740,7 @@ function qt(t) {
|
|
|
740
740
|
}
|
|
741
741
|
);
|
|
742
742
|
}, ee = (a) => {
|
|
743
|
-
const U =
|
|
743
|
+
const U = E.find(
|
|
744
744
|
(h) => h.id === a
|
|
745
745
|
);
|
|
746
746
|
U && Z({
|
|
@@ -762,14 +762,14 @@ function qt(t) {
|
|
|
762
762
|
if (!g)
|
|
763
763
|
return;
|
|
764
764
|
const h = {};
|
|
765
|
-
a !== g.title && (h.title = a), (g.description || "") !== U && (h.description = U),
|
|
765
|
+
a !== g.title && (h.title = a), (g.description || "") !== U && (h.description = U), G(g.id, h, {
|
|
766
766
|
onSuccess: () => {
|
|
767
767
|
b(null);
|
|
768
768
|
}
|
|
769
769
|
});
|
|
770
770
|
};
|
|
771
|
-
return X ? /* @__PURE__ */ e(
|
|
772
|
-
|
|
771
|
+
return X ? /* @__PURE__ */ e(Ye, {}) : ie ? /* @__PURE__ */ e(Qt, { onRetry: () => window.location.reload() }) : /* @__PURE__ */ s("div", { className: "relative flex h-full flex-1 flex-col gap-4", children: [
|
|
772
|
+
E && E.length > 5 && /* @__PURE__ */ e("div", { className: "space-y-2", children: /* @__PURE__ */ e(
|
|
773
773
|
ae,
|
|
774
774
|
{
|
|
775
775
|
id: "search",
|
|
@@ -800,7 +800,7 @@ function qt(t) {
|
|
|
800
800
|
{
|
|
801
801
|
dashboard: a,
|
|
802
802
|
isDeleting: M,
|
|
803
|
-
isDuplicating:
|
|
803
|
+
isDuplicating: A === a.id,
|
|
804
804
|
onLoadDashboard: me,
|
|
805
805
|
onEditDetails: Xe,
|
|
806
806
|
onDeleteClick: pe,
|
|
@@ -841,7 +841,7 @@ function qt(t) {
|
|
|
841
841
|
/* @__PURE__ */ s(qe, { children: [
|
|
842
842
|
/* @__PURE__ */ e(We, { disabled: M, children: "Cancel" }),
|
|
843
843
|
/* @__PURE__ */ s(
|
|
844
|
-
|
|
844
|
+
Ge,
|
|
845
845
|
{
|
|
846
846
|
onClick: (a) => {
|
|
847
847
|
a.preventDefault(), a.stopPropagation(), n();
|
|
@@ -898,19 +898,19 @@ function Zt({
|
|
|
898
898
|
onDashboardItemClick: d,
|
|
899
899
|
variant: r = "inline"
|
|
900
900
|
}) {
|
|
901
|
-
|
|
902
|
-
const N =
|
|
901
|
+
K((v) => v.dashboard);
|
|
902
|
+
const N = K((v) => v.isDashboardEditing), { setDashboard: C, addSheet: x } = K(
|
|
903
903
|
(v) => v.actions
|
|
904
904
|
), {
|
|
905
905
|
currentUser: S
|
|
906
|
-
} = ne(), l = S, { permissions: c } =
|
|
906
|
+
} = ne(), l = S, { permissions: c } = Ke(), D = yt() && c.canAccessVisuals && N, V = "dashboards", [i, y] = Rt(
|
|
907
907
|
"resource-management-active-tab",
|
|
908
908
|
V
|
|
909
|
-
),
|
|
909
|
+
), A = D ? i : "dashboards", w = r === "overlay", g = It(p, {
|
|
910
910
|
enabled: t && w
|
|
911
|
-
}), b =
|
|
911
|
+
}), b = Y(
|
|
912
912
|
"flex h-full flex-col border-r bg-background",
|
|
913
|
-
w ?
|
|
913
|
+
w ? Y(
|
|
914
914
|
"absolute inset-y-0 left-0 z-[51] w-96 shadow-lg transition-transform duration-300 ease-in-out",
|
|
915
915
|
t ? "translate-x-0" : "pointer-events-none -translate-x-full"
|
|
916
916
|
) : "w-full max-w-[28rem] min-w-[18rem] overflow-hidden shadow-sm",
|
|
@@ -943,7 +943,7 @@ function Zt({
|
|
|
943
943
|
/* @__PURE__ */ e("div", { className: "flex items-center gap-2", children: /* @__PURE__ */ e("span", { className: "text-sm font-medium text-foreground", children: l.name }) })
|
|
944
944
|
] }) }),
|
|
945
945
|
/* @__PURE__ */ e(
|
|
946
|
-
|
|
946
|
+
At,
|
|
947
947
|
{
|
|
948
948
|
className: "h-8 w-8 p-0 text-muted-foreground hover:text-foreground",
|
|
949
949
|
onClick: p,
|
|
@@ -953,17 +953,17 @@ function Zt({
|
|
|
953
953
|
)
|
|
954
954
|
] }),
|
|
955
955
|
/* @__PURE__ */ e("div", { className: "flex flex-1 flex-col overflow-hidden", children: /* @__PURE__ */ s(
|
|
956
|
-
|
|
956
|
+
Et,
|
|
957
957
|
{
|
|
958
|
-
value:
|
|
958
|
+
value: A,
|
|
959
959
|
onValueChange: D ? y : void 0,
|
|
960
960
|
className: "flex h-9 grow flex-col",
|
|
961
961
|
children: [
|
|
962
962
|
D && /* @__PURE__ */ e("div", { className: "px-4 pt-4", children: /* @__PURE__ */ s(Ot, { className: "grid w-full grid-cols-2", children: [
|
|
963
|
-
/* @__PURE__ */ e(
|
|
964
|
-
/* @__PURE__ */ e(
|
|
963
|
+
/* @__PURE__ */ e(Ae, { value: "dashboards", className: "text-sm", children: "Dashboards" }),
|
|
964
|
+
/* @__PURE__ */ e(Ae, { value: "visuals", className: "text-sm", children: "Visuals" })
|
|
965
965
|
] }) }),
|
|
966
|
-
/* @__PURE__ */ e(
|
|
966
|
+
/* @__PURE__ */ e(Ee, { value: "dashboards", className: "flex-1 px-4 py-4", children: /* @__PURE__ */ e(
|
|
967
967
|
qt,
|
|
968
968
|
{
|
|
969
969
|
onLoadDashboard: R,
|
|
@@ -971,7 +971,7 @@ function Zt({
|
|
|
971
971
|
onDashboardItemClick: d
|
|
972
972
|
}
|
|
973
973
|
) }),
|
|
974
|
-
D && /* @__PURE__ */ e(
|
|
974
|
+
D && /* @__PURE__ */ e(Ee, { value: "visuals", className: "flex-1 px-4 py-4", children: /* @__PURE__ */ e(Ht, {}) })
|
|
975
975
|
]
|
|
976
976
|
}
|
|
977
977
|
) })
|