react-semaphor 0.1.100 → 0.1.101
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-DW1JJWP7.js → dashboard-controls-BOWrupBW.js} +599 -599
- package/dist/chunks/dashboard-controls-DZ3mfITk.js +26 -0
- package/dist/chunks/{dashboard-json-C0CKQW3d.js → dashboard-json-37BidbHV.js} +1 -1
- package/dist/chunks/{dashboard-json-BDAEIUep.js → dashboard-json-BHLhFEdC.js} +1 -1
- package/dist/chunks/{edit-dashboard-visual-BtV3RWgf.js → edit-dashboard-visual-BJD5eZpR.js} +31 -31
- package/dist/chunks/{edit-dashboard-visual-DQzy1fUR.js → edit-dashboard-visual-D7Ic8u1b.js} +30 -21
- package/dist/chunks/{editor-action-buttons-CReBF7FV.js → editor-action-buttons-DPAlJF2w.js} +1 -1
- package/dist/chunks/{editor-action-buttons-BJRrkj_n.js → editor-action-buttons-DpbEl7Rx.js} +2 -2
- package/dist/chunks/{index-f2IZ7tlh.js → index-CGyjzIO0.js} +7985 -7967
- package/dist/chunks/{index-BDtdPUUE.js → index-DUJ50AjE.js} +160 -160
- package/dist/chunks/resource-management-panel-Ddyzqha7.js +11 -0
- package/dist/chunks/resource-management-panel-DpASGkNn.js +924 -0
- package/dist/chunks/{schedule-dashboard-D8ctQToc.js → schedule-dashboard-Dy7czCFY.js} +1 -1
- package/dist/chunks/{schedule-dashboard-CfeYnMXp.js → schedule-dashboard-e0SVfJ6s.js} +3 -3
- package/dist/chunks/use-click-outside-B9T3lmcw.js +1 -0
- package/dist/chunks/use-click-outside-CMeO_QFI.js +16 -0
- package/dist/chunks/{use-visual-utils-BN4h1-xa.js → use-visual-utils-CFuV8lsO.js} +1 -1
- package/dist/chunks/{use-visual-utils-CRA2-3Z2.js → use-visual-utils-CfCFNHJ6.js} +1 -1
- 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/style.css +1 -1
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunks/dashboard-controls-DKci3my0.js +0 -26
- package/dist/chunks/resource-management-panel-BQVERuRi.js +0 -11
- package/dist/chunks/resource-management-panel-DNpbhYNu.js +0 -982
- package/dist/chunks/use-local-storage-state-CWjTT77L.js +0 -26
- package/dist/chunks/use-local-storage-state-DXYWw213.js +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as a, jsx as e, Fragment as ae } from "react/jsx-runtime";
|
|
2
|
-
import { b as xe, ah as at, ab as ne, aa as A,
|
|
2
|
+
import { b as xe, ah as at, ab as ne, aa as A, c1 as ua, at as V, c2 as Y, c3 as W, c4 as X, c5 as Z, c6 as B, aQ as ve, B as q, aU as qe, aP as ma, c7 as cs, c8 as ds, c9 as us, ca as ms, cb as Ut, i as st, X as Ae, cc as Wa, aX as hs, ao as gt, ap as xt, aq as vt, ar as bt, as as Mt, ag as Ie, bi as je, bk as ke, bl as Te, cd as Ln, c as Q, bm as Ee, ce as Xa, u as we, ax as la, cf as nt, aM as _t, aw as Ke, cg as ps, ch as fs, ci as Za, cj as Al, a$ as gs, ck as en, cl as El, cm as xs, bG as vs, cn as Je, co as Vn, cp as Dl, cq as Il, cr as Ol, cs as tn, ct as bs, cu as Ns, cv as Ft, cw as ys, cx as Ml, bq as Rl, cy as Pl, cz as Cs, cA as Fl, cB as an, cC as Ll, ad as Vl, aO as zl, cD as jl, cE as Ba, cF as Nt, cG as Re, cH as yt, ac as ha, cI as Bl, cJ as ws, b_ as $a, aB as nn, cK as pa, cL as Jt, cM as $l, b1 as fa, cN as Ct, aA as ql, cO as qa, aH as sn, a8 as Ss, cP as ln, cQ as Kl, cR as ks, cS as Ts, cT as ra, bY as Ea, cU as Gl, cV as As, cW as Ul, cX as _l, cY as Jl, cZ as ga, c_ as Hl, c$ as Ql, d0 as zn, d1 as Yl, E as xa, f as rn, d2 as Wl, d3 as on, bs as Xl, I as De, d4 as Zl, d5 as er, bK as va, bL as ba, bM as Ye, bN as na, d6 as tr, aj as Ht, d7 as cn, d8 as ar, d9 as nr, da as sr, db as Es, dc as lr, dd as dn, de as un, df as mn, dg as hn, dh as Qt, di as Na, dj as Ds, dk as Ka, dl as pn, dm as fn, dn as Is, dp as Os, dq as Ms, dr as gn, ds as ya, dt as Ca, du as rr, P as lt, h as rt, j as it, bj as xn, au as Fe, aC as Rs, aD as Ps, aF as Fs, bu as Ls, aW as Vs, dv as pt, dw as ir, dx as or, dy as cr, dz as dr, dA as ur, bD as mr, az as zt, dB as hr, dC as zs, dD as vn, dE as Rt, dF as Bt, dG as js, dH as ze, dI as ue, dJ as me, dK as he, bt as Ne, dL as tt, b$ as Bs, dM as pr, dN as fr, dO as gr, dP as xr, dQ as vr, dR as br, a4 as $s, dS as Nr, dT as yr, dU as Cr, k as wa, l as Sa, m as ka, n as Ta, o as Ot, p as Yt, dV as wr, dW as Ve, dX as Zt, dY as jn, dZ as Sr, d_ as Bn, d$ as kr, q as Wt, e0 as Pe, e1 as Tr, e2 as $n, e3 as qn, e4 as Ar, e5 as Er, e6 as Dr, e7 as Ir, e8 as Da, e9 as qs, ea as Kn, bT as Or, eb as Mr, ec as Rr, ed as Pr, ee as Fr, ef as Lr, a0 as Gn, eg as Un, eh as Vr, ei as zr, ej as Ks, ek as jr, el as Gs, em as Br, en as $r, eo as qr, ep as Kr, eq as Gr, er as Ur, es as _r, et as Jr, eu as Hr, ev as Qr, ew as Us, ex as Yr, ey as Wr, ez as Xr, eA as Zr, eB as ei, eC as ti, eD as ai, eE as _s, aE as ni, eF as Ia, eG as Oa, eH as bn, G as si, eI as li, eJ as ri, bF as Js, eK as Be, av as ii, J as ia, eL as oi, eM as ci, eN as Nn, eO as Hs, eP as yn, eQ as di, bn as ui, eR as _n, eS as mi, eT as hi, eU as pi, eV as sa, eW as $t, eX as qt, eY as fi, eZ as gi, e_ as xi, e$ as Qs, f0 as vi, f1 as Ga, f2 as bi, f3 as Ni, f4 as oa, f5 as ft, f6 as Ua, f7 as _a, f8 as ca, f9 as Ys, fa as Kt, fb as Gt, fc as Cn, fd as yi, fe as Ma, ff as Ra, fg as Ci, fh as Pa, fi as wi, fj as Jn, fk as Si, fl as ki, fm as Ti, fn as Ai, fo as Ei, fp as Fa, fq as Di, fr as Ii, fs as Oi, F as Mi } from "./index-CGyjzIO0.js";
|
|
3
3
|
import * as Ja from "react";
|
|
4
4
|
import Ha, { useState as $, useEffect as ge, useRef as We, useCallback as $e, useContext as wn, useMemo as Se, Suspense as Ri } from "react";
|
|
5
|
-
import { d as Sn } from "./editor-action-buttons-
|
|
5
|
+
import { d as Sn } from "./editor-action-buttons-DpbEl7Rx.js";
|
|
6
6
|
import { createPortal as Pi } from "react-dom";
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as Li } from "./use-
|
|
7
|
+
import { u as Fi } from "./use-visual-utils-CfCFNHJ6.js";
|
|
8
|
+
import { u as Li } from "./use-click-outside-CMeO_QFI.js";
|
|
9
9
|
/**
|
|
10
10
|
* @license lucide-react v0.453.0 - ISC
|
|
11
11
|
*
|
|
@@ -1927,7 +1927,7 @@ function el({
|
|
|
1927
1927
|
}
|
|
1928
1928
|
);
|
|
1929
1929
|
}
|
|
1930
|
-
function
|
|
1930
|
+
function kn({
|
|
1931
1931
|
error: t,
|
|
1932
1932
|
errorSql: s,
|
|
1933
1933
|
onSendFeedback: n,
|
|
@@ -2111,7 +2111,7 @@ function tl({
|
|
|
2111
2111
|
] }) }),
|
|
2112
2112
|
/* @__PURE__ */ a("div", { className: "min-h-0 flex-1 overflow-auto text-xs leading-relaxed text-foreground/80", children: [
|
|
2113
2113
|
s && /* @__PURE__ */ e(
|
|
2114
|
-
|
|
2114
|
+
kn,
|
|
2115
2115
|
{
|
|
2116
2116
|
error: s,
|
|
2117
2117
|
errorSql: n,
|
|
@@ -2814,7 +2814,7 @@ function nl({
|
|
|
2814
2814
|
function G() {
|
|
2815
2815
|
if (h != null && h.records && (h == null ? void 0 : h.records.length) === 0 && !v && !N)
|
|
2816
2816
|
return b ? /* @__PURE__ */ e("div", { className: "flex h-full flex-col items-start justify-start overflow-auto p-4", children: /* @__PURE__ */ e(
|
|
2817
|
-
|
|
2817
|
+
kn,
|
|
2818
2818
|
{
|
|
2819
2819
|
error: b,
|
|
2820
2820
|
errorSql: T || n.sql || n.python,
|
|
@@ -4562,7 +4562,7 @@ function Vo() {
|
|
|
4562
4562
|
defaultMetricKeys: l
|
|
4563
4563
|
};
|
|
4564
4564
|
}
|
|
4565
|
-
function
|
|
4565
|
+
function Tn({
|
|
4566
4566
|
children: t,
|
|
4567
4567
|
className: s,
|
|
4568
4568
|
delayDuration: n
|
|
@@ -4668,7 +4668,7 @@ function dl({
|
|
|
4668
4668
|
n
|
|
4669
4669
|
),
|
|
4670
4670
|
children: [
|
|
4671
|
-
r || /* @__PURE__ */ e(
|
|
4671
|
+
r || /* @__PURE__ */ e(Tn, { className: "max-w-[100px]", title: t, children: cl(t) }),
|
|
4672
4672
|
/* @__PURE__ */ a("div", { className: "flex gap-2", children: [
|
|
4673
4673
|
/* @__PURE__ */ e(
|
|
4674
4674
|
Ca,
|
|
@@ -6462,7 +6462,7 @@ const sc = [
|
|
|
6462
6462
|
{ value: "nl-NL", label: "Dutch" },
|
|
6463
6463
|
{ value: "sv-SE", label: "Swedish" }
|
|
6464
6464
|
], ic = (t) => t.charAt(0).toUpperCase() + t.slice(1);
|
|
6465
|
-
function
|
|
6465
|
+
function An({
|
|
6466
6466
|
formatOptions: t = {},
|
|
6467
6467
|
onFormatOptionsChange: s,
|
|
6468
6468
|
showTitle: n = !0,
|
|
@@ -6740,7 +6740,7 @@ function Xn({ axis: t, label: s, type: n, config: l, onChange: r }) {
|
|
|
6740
6740
|
] })
|
|
6741
6741
|
] }),
|
|
6742
6742
|
n === "value" && /* @__PURE__ */ e(
|
|
6743
|
-
|
|
6743
|
+
An,
|
|
6744
6744
|
{
|
|
6745
6745
|
formatOptions: (l == null ? void 0 : l.formatOptions) || {},
|
|
6746
6746
|
onFormatOptionsChange: (p) => r({
|
|
@@ -8656,9 +8656,18 @@ function as({
|
|
|
8656
8656
|
n
|
|
8657
8657
|
) : ut;
|
|
8658
8658
|
}
|
|
8659
|
+
function En(t, s) {
|
|
8660
|
+
const [n, l] = $(() => {
|
|
8661
|
+
const r = localStorage.getItem(t);
|
|
8662
|
+
return r ? JSON.parse(r) : s;
|
|
8663
|
+
});
|
|
8664
|
+
return ge(() => {
|
|
8665
|
+
localStorage.setItem(t, JSON.stringify(n));
|
|
8666
|
+
}, [n, t]), [n, l];
|
|
8667
|
+
}
|
|
8659
8668
|
const vc = "chart-selector-standard-first";
|
|
8660
8669
|
function bc() {
|
|
8661
|
-
const [t, s] =
|
|
8670
|
+
const [t, s] = En(
|
|
8662
8671
|
vc,
|
|
8663
8672
|
!0
|
|
8664
8673
|
);
|
|
@@ -8709,10 +8718,10 @@ function Nc({
|
|
|
8709
8718
|
const [n, l] = $(!1), { data: r } = ll();
|
|
8710
8719
|
bc();
|
|
8711
8720
|
const d = ((D = A((S) => S.card).customCardPreferences) == null ? void 0 : D.url) || "";
|
|
8712
|
-
|
|
8721
|
+
Fi(d);
|
|
8713
8722
|
const { setCardType: i, setCardPreferences: o, setIsDevMode: m } = A(
|
|
8714
8723
|
(S) => S.actions
|
|
8715
|
-
), { setCardCustomCfg: u, setCustomCardPreferences: f, setQueryConfig: g } = ne(), [h, v] =
|
|
8724
|
+
), { setCardCustomCfg: u, setCustomCardPreferences: f, setQueryConfig: g } = ne(), [h, v] = En("chart-section-active", null), N = Se(() => h ? [
|
|
8716
8725
|
h,
|
|
8717
8726
|
...ss.filter((S) => S !== h)
|
|
8718
8727
|
] : ss, [h]);
|
|
@@ -9675,7 +9684,7 @@ function Oc({
|
|
|
9675
9684
|
onCheckedChange: () => u(g.value)
|
|
9676
9685
|
}
|
|
9677
9686
|
),
|
|
9678
|
-
/* @__PURE__ */ e(
|
|
9687
|
+
/* @__PURE__ */ e(Tn, { className: "text-sm", children: g.label })
|
|
9679
9688
|
]
|
|
9680
9689
|
},
|
|
9681
9690
|
g.id
|
|
@@ -10347,7 +10356,7 @@ function Mc({
|
|
|
10347
10356
|
/* @__PURE__ */ a("div", { className: "flex grow items-center gap-2", children: [
|
|
10348
10357
|
/* @__PURE__ */ e(Dn, { dataType: ot }),
|
|
10349
10358
|
/* @__PURE__ */ e(
|
|
10350
|
-
|
|
10359
|
+
Tn,
|
|
10351
10360
|
{
|
|
10352
10361
|
className: Q(
|
|
10353
10362
|
"w-[140px] flex-1 text-sm",
|
|
@@ -10770,7 +10779,7 @@ function Pc() {
|
|
|
10770
10779
|
)
|
|
10771
10780
|
] }),
|
|
10772
10781
|
/* @__PURE__ */ e(
|
|
10773
|
-
|
|
10782
|
+
An,
|
|
10774
10783
|
{
|
|
10775
10784
|
formatOptions: i.formatOptions || {},
|
|
10776
10785
|
onFormatOptionsChange: (p) => o({ formatOptions: p }),
|
|
@@ -11031,7 +11040,7 @@ function Fc() {
|
|
|
11031
11040
|
/* @__PURE__ */ e("span", { children: "Number Format" })
|
|
11032
11041
|
] }) }),
|
|
11033
11042
|
/* @__PURE__ */ e(he, { className: "space-y-4 pb-4 pt-2", children: /* @__PURE__ */ e(
|
|
11034
|
-
|
|
11043
|
+
An,
|
|
11035
11044
|
{
|
|
11036
11045
|
formatOptions: n,
|
|
11037
11046
|
onFormatOptionsChange: (d) => {
|
|
@@ -13139,13 +13148,13 @@ function id({
|
|
|
13139
13148
|
}
|
|
13140
13149
|
const od = "semaphor-split-view-enabled";
|
|
13141
13150
|
function cd() {
|
|
13142
|
-
return
|
|
13151
|
+
return En(od, !0);
|
|
13143
13152
|
}
|
|
13144
13153
|
function dd({
|
|
13145
13154
|
isOpen: t,
|
|
13146
13155
|
onClose: s
|
|
13147
13156
|
}) {
|
|
13148
|
-
const n =
|
|
13157
|
+
const n = Li(s, {
|
|
13149
13158
|
enabled: t
|
|
13150
13159
|
}), l = A(
|
|
13151
13160
|
(u) => {
|
|
@@ -13432,7 +13441,7 @@ function ud({
|
|
|
13432
13441
|
}
|
|
13433
13442
|
) }),
|
|
13434
13443
|
t === "info" && x && /* @__PURE__ */ e("div", { className: "flex min-h-0 flex-1 flex-col pb-6", children: /* @__PURE__ */ e("div", { className: "flex min-h-0 flex-1 flex-col rounded-md bg-background px-6", children: O ? /* @__PURE__ */ e(
|
|
13435
|
-
|
|
13444
|
+
kn,
|
|
13436
13445
|
{
|
|
13437
13446
|
error: O,
|
|
13438
13447
|
errorSql: M,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const s=require("react/jsx-runtime"),e=require("./index-
|
|
1
|
+
"use strict";const s=require("react/jsx-runtime"),e=require("./index-DUJ50AjE.js"),v=require("./use-visual-utils-CFuV8lsO.js"),C=require("react");/**
|
|
2
2
|
* @license lucide-react v0.453.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as u, jsx as y, Fragment as C } from "react/jsx-runtime";
|
|
2
|
-
import { b as Q, ab as g, aa as t, B as S, c as b, q as k, u as D, a8 as F, ac as z, ad as I, ae as E, af as B, ag as L, X as U, ah as h } from "./index-
|
|
3
|
-
import { u as K, a as N } from "./use-visual-utils-
|
|
2
|
+
import { b as Q, ab as g, aa as t, B as S, c as b, q as k, u as D, a8 as F, ac as z, ad as I, ae as E, af as B, ag as L, X as U, ah as h } from "./index-CGyjzIO0.js";
|
|
3
|
+
import { u as K, a as N } from "./use-visual-utils-CfCFNHJ6.js";
|
|
4
4
|
import { useState as V } from "react";
|
|
5
5
|
/**
|
|
6
6
|
* @license lucide-react v0.453.0 - ISC
|