react-semaphor 0.1.588 → 0.1.590
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/analytics-protocol/index.js +2 -2
- package/dist/assistant-context/index.js +1 -1
- package/dist/brand-studio/index.js +5 -5
- package/dist/briefings/index.js +1 -1
- package/dist/chunks/{assistant-chat-BeM6joPc.js → assistant-chat-C_6dBLUk.js} +9 -9
- package/dist/chunks/{bookmark-impact-B7pbMx2e.js → bookmark-impact-DkZABEd3.js} +1 -1
- package/dist/chunks/{card-filter-builder-DmodrhyI.js → card-filter-builder-6vflbF9O.js} +166 -166
- package/dist/chunks/{dashboard-Tu5wT0Cw.js → dashboard-DpgRl65K.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-D8jMxIJo.js → dashboard-briefing-launcher-BLbhONJz.js} +156 -156
- package/dist/chunks/{dashboard-controls-uzeAIEkM.js → dashboard-controls-kCTYEEsq.js} +45 -45
- package/dist/chunks/{dashboard-json-i5rpFNCg.js → dashboard-json-CNIFresY.js} +2 -2
- package/dist/chunks/{dates-BunbHJH0.js → dates-BoeweqEo.js} +4 -4
- package/dist/chunks/{edit-dashboard-visual-BpEK_Sls.js → edit-dashboard-visual-D0eWTlPL.js} +719 -719
- package/dist/chunks/{filter-reach-copy-D5AmDHda.js → filter-reach-copy-eMhDPTYH.js} +3 -3
- package/dist/chunks/{index-dGxJTaP1.js → index-D8LFjI8j.js} +1 -1
- package/dist/chunks/{layout-grid-XCYphks2.js → layout-grid-BG__sPkb.js} +1 -1
- package/dist/chunks/{list-filter-DGV3fqqv.js → list-filter-Cb8i7N8f.js} +1 -1
- package/dist/chunks/{matrix-analytical-definition-SN0JUJVk.js → matrix-analytical-definition-D9Ll_9R-.js} +202 -190
- package/dist/chunks/{paintbrush-DEEZXhDj.js → paintbrush-C310xSuR.js} +1 -1
- package/dist/chunks/{palette-Bgy0H-Nt.js → palette-Ci5P91Zb.js} +1 -1
- package/dist/chunks/report-preferences-dialog-dUlVLgEk.js +1637 -0
- package/dist/chunks/{resolve-dashboard-input-context-DFBIngUZ.js → resolve-dashboard-input-context-NurwNg4I.js} +1 -1
- package/dist/chunks/{save-xnRCvMeA.js → save-BhhXfp4s.js} +1 -1
- package/dist/chunks/{saved-dashboard-context-DKMTP9ib.js → saved-dashboard-context-CPp--vXU.js} +3 -3
- package/dist/chunks/{selection-filter-compiler-DkIjp1yH.js → selection-filter-compiler-CHG-8xnW.js} +1 -1
- package/dist/chunks/{semaphor-ready-indicator-zU9reNmX.js → semaphor-ready-indicator-CXojR95M.js} +27098 -26525
- package/dist/chunks/{shelf-drop-preview-context-R9sf4oDX.js → shelf-drop-preview-context-BDScAUdq.js} +109 -109
- package/dist/chunks/{stored-dashboard-CksluF2S.js → stored-dashboard-KkH4zOhq.js} +4 -4
- package/dist/chunks/{style-sheet-parts-D7NbsFL0.js → style-sheet-parts-CmXmKqGw.js} +30 -30
- package/dist/chunks/{upload-BXGgYS4g.js → upload-DDYc1Qjj.js} +1 -1
- package/dist/chunks/{variable-draft-rbtGPvmX.js → variable-draft-Bi3RlULA.js} +3 -3
- package/dist/dashboard/index.js +1 -1
- package/dist/dashboard-authoring/index.js +10 -10
- package/dist/index.js +210 -211
- package/dist/style.css +1 -1
- package/dist/surfboard/index.js +1 -1
- package/dist/types/lib/dashboard-view-state/date-zoom.d.ts +2 -2
- package/dist/types/shared/analytics-protocol/metric-comparison.d.ts +7 -0
- package/package.json +1 -1
- package/dist/chunks/report-preferences-dialog-CTM0xfd0.js +0 -2028
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e, jsxs as o, Fragment as T } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { c as ye, B as V,
|
|
2
|
+
import { bL as Fr, u as k, bM as $r, bN as Gr, bO as ot, bP as Vr, bQ as Hr, bR as jr, bS as qr, bT as zr, bU as Kr, b8 as Y, b5 as xe, bV as ve, bF as C, bW as Qr, bG as $t, bH as Gt, bJ as tt, bK as rt, bX as Vt, bY as it, bZ as Wr, b_ as ne, b$ as Yr, c0 as Jr, c1 as Ht, c2 as Xr, c3 as jt, c4 as Zr, bI as ea, c5 as ta, c6 as A, c7 as ra, c8 as aa, c9 as na, aS as sa, ca as oa, bv as ia, cb as da, bw as ca, p as la, aa as ua, am as Et, o as Be, x as ma, q as Xe, O as ha, cc as pa, cd as fa, a8 as ga, ce as ba, s as xa, cf as va, I as ya, cg as wa, ch as Na, ci as Sa, cj as At, ck as It, cl as Mt, cm as Da, bx as ka, cn as Ca, T as Ea, co as Aa, cp as Ia, cq as ae, cr as he, cs as Ma, ct as La, cu as Oa, cv as Lt, w as Pa, cw as _a, cx as Ra, cy as Ta, cz as Ua, cA as Ba, cB as Fa, cC as $a, cD as Ga, cE as Ot, Q as Va } from "./semaphor-ready-indicator-CXojR95M.js";
|
|
3
|
+
import { c as ye, B as V, a3 as Ha, a4 as ja, a5 as at, L as $e, X as qt, s as qa, y as za, z as Ka, A as Qa, D as Wa, E as Ya, e as Ja, f as Xa, h as Za, F as en, t as tn, u as rn, v as an, I as nn, w as sn, j as zt, g as Pt } from "./style-sheet-parts-CmXmKqGw.js";
|
|
4
4
|
import * as E from "react";
|
|
5
5
|
import Kt, { useMemo as H, useState as N, useEffect as ge, useRef as _t, useLayoutEffect as on } from "react";
|
|
6
6
|
import { c as be } from "./pickers-DkqmtnTL.js";
|
|
@@ -8,20 +8,20 @@ import "./validators-CrYXNnNE.js";
|
|
|
8
8
|
import "./matrix-operation-contract-JSmproo9.js";
|
|
9
9
|
import "./analytics-base-schemas-8wz9vqn_.js";
|
|
10
10
|
import "../value-format-preferences/index.js";
|
|
11
|
-
import { u as dn, c as cn, k as ln, D as un, A as mn, a as hn, h as pn, l as fn, V as gn, b as bn, d as xn, S as vn, j as yn, i as wn, m as Nn, U as Sn } from "./dashboard-briefing-launcher-
|
|
12
|
-
import { I as Dn } from "./card-filter-builder-
|
|
13
|
-
import {
|
|
11
|
+
import { u as dn, c as cn, k as ln, D as un, A as mn, a as hn, h as pn, l as fn, V as gn, b as bn, d as xn, S as vn, j as yn, i as wn, m as Nn, U as Sn } from "./dashboard-briefing-launcher-BLbhONJz.js";
|
|
12
|
+
import { I as Dn } from "./card-filter-builder-6vflbF9O.js";
|
|
13
|
+
import { c as kn, R as Cn } from "./report-preferences-dialog-dUlVLgEk.js";
|
|
14
14
|
import { createPortal as En } from "react-dom";
|
|
15
|
-
import { fG as we, fH as dt, fI as Qt, o as An } from "./resolve-dashboard-input-context-
|
|
15
|
+
import { fG as we, fH as dt, fI as Qt, o as An } from "./resolve-dashboard-input-context-NurwNg4I.js";
|
|
16
16
|
import { aR as Wt } from "./pivot-result-contract-expectations-DbBahmgc.js";
|
|
17
|
-
import { k as nt } from "./stored-dashboard-
|
|
17
|
+
import { k as nt } from "./stored-dashboard-KkH4zOhq.js";
|
|
18
18
|
import { r as In } from "./export-file-format-C-tJsxsf.js";
|
|
19
19
|
import { u as Mn, s as Ln } from "./normalize-dashboard-for-dirty-check-XKgH3GFX.js";
|
|
20
|
-
import { z as
|
|
21
|
-
import { d as On, a as Pn } from "./bookmark-impact-
|
|
22
|
-
import { S as _n } from "./save-
|
|
23
|
-
import { P as Rn } from "./paintbrush-
|
|
24
|
-
import { P as Tn } from "./palette-
|
|
20
|
+
import { z as Yt } from "./bookmark-state-Bn7k3ttp.js";
|
|
21
|
+
import { d as On, a as Pn } from "./bookmark-impact-DkZABEd3.js";
|
|
22
|
+
import { S as _n } from "./save-BhhXfp4s.js";
|
|
23
|
+
import { P as Rn } from "./paintbrush-C310xSuR.js";
|
|
24
|
+
import { P as Tn } from "./palette-Ci5P91Zb.js";
|
|
25
25
|
/**
|
|
26
26
|
* @license lucide-react v0.453.0 - ISC
|
|
27
27
|
*
|
|
@@ -83,7 +83,7 @@ const $n = ye("UserPlus", [
|
|
|
83
83
|
* This source code is licensed under the ISC license.
|
|
84
84
|
* See the LICENSE file in the root directory of this source tree.
|
|
85
85
|
*/
|
|
86
|
-
const
|
|
86
|
+
const Jt = ye("UserRound", [
|
|
87
87
|
["circle", { cx: "12", cy: "8", r: "5", key: "1hypcn" }],
|
|
88
88
|
["path", { d: "M20 21a8 8 0 0 0-16 0", key: "rfgkzh" }]
|
|
89
89
|
]);
|
|
@@ -330,16 +330,16 @@ var Qn = [
|
|
|
330
330
|
}, {});
|
|
331
331
|
function Wn() {
|
|
332
332
|
return Hn.useSyncExternalStore(
|
|
333
|
-
|
|
333
|
+
Yn,
|
|
334
334
|
() => !0,
|
|
335
335
|
() => !1
|
|
336
336
|
);
|
|
337
337
|
}
|
|
338
|
-
function
|
|
338
|
+
function Yn() {
|
|
339
339
|
return () => {
|
|
340
340
|
};
|
|
341
341
|
}
|
|
342
|
-
var lt = "Avatar", [
|
|
342
|
+
var lt = "Avatar", [Jn] = zn(lt), [Xn, Xt] = Jn(lt), Zt = E.forwardRef(
|
|
343
343
|
(t, n) => {
|
|
344
344
|
const { __scopeAvatar: a, ...r } = t, [s, c] = E.useState("idle");
|
|
345
345
|
return /* @__PURE__ */ e(
|
|
@@ -449,7 +449,7 @@ const ts = async (t, n, a) => {
|
|
|
449
449
|
await dt(s, n, "DELETE", r);
|
|
450
450
|
};
|
|
451
451
|
function os() {
|
|
452
|
-
const { authToken: t, tokenProps: n } =
|
|
452
|
+
const { authToken: t, tokenProps: n } = Y(), a = xe();
|
|
453
453
|
return ve({
|
|
454
454
|
mutationFn: (r) => ts(n.apiServiceUrl, (t == null ? void 0 : t.accessToken) || "", r),
|
|
455
455
|
onSuccess: () => {
|
|
@@ -463,7 +463,7 @@ function os() {
|
|
|
463
463
|
});
|
|
464
464
|
}
|
|
465
465
|
function is() {
|
|
466
|
-
const { authToken: t, tokenProps: n } =
|
|
466
|
+
const { authToken: t, tokenProps: n } = Y(), a = xe();
|
|
467
467
|
return ve({
|
|
468
468
|
mutationFn: ({
|
|
469
469
|
groupId: r,
|
|
@@ -480,7 +480,7 @@ function is() {
|
|
|
480
480
|
});
|
|
481
481
|
}
|
|
482
482
|
function ds() {
|
|
483
|
-
const { authToken: t, tokenProps: n } =
|
|
483
|
+
const { authToken: t, tokenProps: n } = Y(), a = xe();
|
|
484
484
|
return ve({
|
|
485
485
|
mutationFn: (r) => as(n.apiServiceUrl, (t == null ? void 0 : t.accessToken) || "", r),
|
|
486
486
|
onSuccess: (r, s) => {
|
|
@@ -494,7 +494,7 @@ function ds() {
|
|
|
494
494
|
});
|
|
495
495
|
}
|
|
496
496
|
function cs() {
|
|
497
|
-
const { authToken: t, tokenProps: n } =
|
|
497
|
+
const { authToken: t, tokenProps: n } = Y(), a = xe();
|
|
498
498
|
return ve({
|
|
499
499
|
mutationFn: ({
|
|
500
500
|
groupId: r,
|
|
@@ -513,7 +513,7 @@ function cs() {
|
|
|
513
513
|
});
|
|
514
514
|
}
|
|
515
515
|
function ls() {
|
|
516
|
-
const { authToken: t, tokenProps: n } =
|
|
516
|
+
const { authToken: t, tokenProps: n } = Y(), a = xe();
|
|
517
517
|
return ve({
|
|
518
518
|
mutationFn: ({
|
|
519
519
|
groupId: r,
|
|
@@ -537,7 +537,7 @@ function ms({
|
|
|
537
537
|
onOpenChange: n
|
|
538
538
|
}) {
|
|
539
539
|
var O, b, F;
|
|
540
|
-
const { tokenProps: a } =
|
|
540
|
+
const { tokenProps: a } = Y(), { currentUser: r } = ot(), s = (r == null ? void 0 : r.type) === "tenant", c = a == null ? void 0 : a.tenantId, {
|
|
541
541
|
groups: u,
|
|
542
542
|
isLoading: m,
|
|
543
543
|
error: p,
|
|
@@ -760,7 +760,7 @@ function ps({
|
|
|
760
760
|
/* @__PURE__ */ e("div", { className: "truncate text-[13px] font-medium text-foreground", children: t.name }),
|
|
761
761
|
/* @__PURE__ */ o("div", { className: "mt-0.5 flex items-center gap-2 text-[11px] text-muted-foreground", children: [
|
|
762
762
|
/* @__PURE__ */ o("span", { className: "inline-flex items-center gap-1", children: [
|
|
763
|
-
/* @__PURE__ */ e(
|
|
763
|
+
/* @__PURE__ */ e(Jt, { className: "h-2.5 w-2.5" }),
|
|
764
764
|
t.memberCount,
|
|
765
765
|
" member",
|
|
766
766
|
t.memberCount === 1 ? "" : "s"
|
|
@@ -836,7 +836,7 @@ function gs({
|
|
|
836
836
|
isLoading: g,
|
|
837
837
|
error: i,
|
|
838
838
|
refetch: f
|
|
839
|
-
} =
|
|
839
|
+
} = Yr(t.id), l = (y == null ? void 0 : y.members) ?? us, x = i ? cr(i, "Unable to load members for this group.") : null, h = t.type === "TENANT_GROUP" ? "tenant" : "organization", { users: w } = Jr({
|
|
840
840
|
type: h,
|
|
841
841
|
tenantId: t.tenantId || void 0,
|
|
842
842
|
active: !0,
|
|
@@ -844,7 +844,7 @@ function gs({
|
|
|
844
844
|
}), S = H(
|
|
845
845
|
() => new Set(l.map((v) => v.userId)),
|
|
846
846
|
[l]
|
|
847
|
-
), O = cs(), b = ls(), F = is(), [P, $] = N(!1), [M, D] = N(t.name), [Ne,
|
|
847
|
+
), O = cs(), b = ls(), F = is(), [P, $] = N(!1), [M, D] = N(t.name), [Ne, J] = N(!1), [X, Z] = N(t.description || ""), [ee, Se] = N(""), [De, ke] = N(!1), Ce = H(() => {
|
|
848
848
|
const v = ee.trim().toLowerCase();
|
|
849
849
|
return w.filter((B) => !S.has(B.id)).filter(
|
|
850
850
|
(B) => !v || (B.name || "").toLowerCase().includes(v) || (B.email || "").toLowerCase().includes(v)
|
|
@@ -861,7 +861,7 @@ function gs({
|
|
|
861
861
|
}
|
|
862
862
|
}, te = async () => {
|
|
863
863
|
const v = X.trim();
|
|
864
|
-
if (
|
|
864
|
+
if (J(!1), v !== (t.description || ""))
|
|
865
865
|
try {
|
|
866
866
|
await F.mutateAsync({
|
|
867
867
|
groupId: t.id,
|
|
@@ -937,7 +937,7 @@ function gs({
|
|
|
937
937
|
}
|
|
938
938
|
),
|
|
939
939
|
/* @__PURE__ */ o("span", { className: "ml-1 inline-flex shrink-0 items-center gap-1 text-[10.5px] text-muted-foreground", children: [
|
|
940
|
-
/* @__PURE__ */ e(
|
|
940
|
+
/* @__PURE__ */ e(Jt, { className: "h-2.5 w-2.5" }),
|
|
941
941
|
l.length,
|
|
942
942
|
" member",
|
|
943
943
|
l.length === 1 ? "" : "s"
|
|
@@ -953,7 +953,7 @@ function gs({
|
|
|
953
953
|
onChange: (v) => Z(v.target.value),
|
|
954
954
|
maxLength: 200,
|
|
955
955
|
onKeyDown: (v) => {
|
|
956
|
-
v.key === "Escape" && (Z(t.description || ""),
|
|
956
|
+
v.key === "Escape" && (Z(t.description || ""), J(!1)), v.key === "Enter" && (v.metaKey || v.ctrlKey) && te();
|
|
957
957
|
},
|
|
958
958
|
placeholder: "What is this group for?",
|
|
959
959
|
className: "block w-full resize-none rounded-[5px] border border-border bg-background px-2 py-1.5 text-[12px] text-foreground placeholder:text-muted-foreground focus:border-foreground/40 focus:outline-none"
|
|
@@ -970,7 +970,7 @@ function gs({
|
|
|
970
970
|
{
|
|
971
971
|
type: "button",
|
|
972
972
|
onClick: () => {
|
|
973
|
-
Z(t.description || ""),
|
|
973
|
+
Z(t.description || ""), J(!1);
|
|
974
974
|
},
|
|
975
975
|
className: "h-6 rounded-[5px] px-2 text-[11px] font-medium text-foreground/80 hover:bg-accent",
|
|
976
976
|
children: "Cancel"
|
|
@@ -992,7 +992,7 @@ function gs({
|
|
|
992
992
|
{
|
|
993
993
|
type: "button",
|
|
994
994
|
onClick: () => {
|
|
995
|
-
a && (Z(t.description || ""),
|
|
995
|
+
a && (Z(t.description || ""), J(!0));
|
|
996
996
|
},
|
|
997
997
|
disabled: !a,
|
|
998
998
|
title: a ? "Click to edit description" : void 0,
|
|
@@ -1328,7 +1328,7 @@ function ys({
|
|
|
1328
1328
|
onValueChange: (s) => r({ csvEncoding: s }),
|
|
1329
1329
|
children: [
|
|
1330
1330
|
/* @__PURE__ */ e(Ka, { id: "dashboard-csv-encoding", size: "sm", children: /* @__PURE__ */ e(Qa, {}) }),
|
|
1331
|
-
/* @__PURE__ */ e(Wa, { children: ta.map((s) => /* @__PURE__ */ e(
|
|
1331
|
+
/* @__PURE__ */ e(Wa, { children: ta.map((s) => /* @__PURE__ */ e(Ya, { value: s.value, children: s.label }, s.value)) })
|
|
1332
1332
|
]
|
|
1333
1333
|
}
|
|
1334
1334
|
)
|
|
@@ -1342,14 +1342,14 @@ function pe(t, n, a) {
|
|
|
1342
1342
|
);
|
|
1343
1343
|
if (r)
|
|
1344
1344
|
return r.label;
|
|
1345
|
-
const s = (u = (c =
|
|
1345
|
+
const s = (u = (c = Yt(t, n)) == null ? void 0 : c.controls) == null ? void 0 : u.find(
|
|
1346
1346
|
(m) => m.id === a
|
|
1347
1347
|
);
|
|
1348
1348
|
return (s == null ? void 0 : s.label) || a;
|
|
1349
1349
|
}
|
|
1350
1350
|
function fe(t, n) {
|
|
1351
1351
|
var a;
|
|
1352
|
-
return ((a =
|
|
1352
|
+
return ((a = Yt(t, n)) == null ? void 0 : a.title) || n;
|
|
1353
1353
|
}
|
|
1354
1354
|
function ws(t) {
|
|
1355
1355
|
const { errors: n, dashboard: a } = t;
|
|
@@ -1484,7 +1484,7 @@ function Cs({
|
|
|
1484
1484
|
enabled: a
|
|
1485
1485
|
}) {
|
|
1486
1486
|
const r = ks({ saved: t, draft: n, enabled: a });
|
|
1487
|
-
return r.length ? /* @__PURE__ */ o(
|
|
1487
|
+
return r.length ? /* @__PURE__ */ o(Ja, { children: [
|
|
1488
1488
|
/* @__PURE__ */ e(Xa, { asChild: !0, children: /* @__PURE__ */ o(
|
|
1489
1489
|
V,
|
|
1490
1490
|
{
|
|
@@ -1537,7 +1537,7 @@ function Xs() {
|
|
|
1537
1537
|
id: a,
|
|
1538
1538
|
showBriefings: r,
|
|
1539
1539
|
toolbarStatus: s
|
|
1540
|
-
} =
|
|
1540
|
+
} = Y(), c = sa(), { isLocalDev: u, isConsoleMode: m } = oa(), {
|
|
1541
1541
|
canEditDashboard: p,
|
|
1542
1542
|
hasInspectionUser: y,
|
|
1543
1543
|
inspectionMessage: g,
|
|
@@ -1547,7 +1547,7 @@ function Xs() {
|
|
|
1547
1547
|
(d) => d.id === F
|
|
1548
1548
|
), $ = An(P), M = $ ? (Dt = P == null ? void 0 : P.document) == null ? void 0 : Dt.page : void 0, D = k(
|
|
1549
1549
|
(d) => d.isDashboardEditing
|
|
1550
|
-
), { setDashboardTitle: Ne } = k((d) => d.actions), [
|
|
1550
|
+
), { setDashboardTitle: Ne } = k((d) => d.actions), [J, X] = N(!1), [Z, ee] = N(!1), [Se, De] = N(!1), [ke, Ce] = N(!1), [se, te] = N(null), [Ee, Ae] = N(null), { registerBriefingViewer: j } = ua();
|
|
1551
1551
|
ge(
|
|
1552
1552
|
() => j((d) => Ae(d)),
|
|
1553
1553
|
[j]
|
|
@@ -1684,7 +1684,7 @@ function Xs() {
|
|
|
1684
1684
|
}
|
|
1685
1685
|
xt() ? (Pe("close"), de(!0)) : (_e(), ue());
|
|
1686
1686
|
}, Er = async () => {
|
|
1687
|
-
await
|
|
1687
|
+
await Ye({
|
|
1688
1688
|
closeAfterSave: !0,
|
|
1689
1689
|
navigateHomeAfterSave: je === "home"
|
|
1690
1690
|
});
|
|
@@ -1706,7 +1706,7 @@ function Xs() {
|
|
|
1706
1706
|
Ge();
|
|
1707
1707
|
}
|
|
1708
1708
|
};
|
|
1709
|
-
async function
|
|
1709
|
+
async function Ye(d) {
|
|
1710
1710
|
if (i)
|
|
1711
1711
|
return;
|
|
1712
1712
|
const R = k.getState().dashboard;
|
|
@@ -1759,7 +1759,7 @@ function Xs() {
|
|
|
1759
1759
|
const Lr = ie && !!(t != null && t.accessToken) && !!(n != null && n.apiServiceUrl), Or = !i && Q.showDashboardHub && Lr, Pr = !i && h && Q.showDashboardHub, W = (b == null ? void 0 : b.id) || null, wt = va(
|
|
1760
1760
|
(Ct = n.config) == null ? void 0 : Ct.showBriefings,
|
|
1761
1761
|
r
|
|
1762
|
-
), Te = cn(W),
|
|
1762
|
+
), Te = cn(W), Je = ln();
|
|
1763
1763
|
if (!h && !U)
|
|
1764
1764
|
return null;
|
|
1765
1765
|
const me = !U && h && !i, Nt = D && me;
|
|
@@ -1938,7 +1938,7 @@ function Xs() {
|
|
|
1938
1938
|
size: "xs",
|
|
1939
1939
|
className: be(!vt && "opacity-60"),
|
|
1940
1940
|
disabled: Re || !vt,
|
|
1941
|
-
onClick: () =>
|
|
1941
|
+
onClick: () => Ye(),
|
|
1942
1942
|
children: [
|
|
1943
1943
|
Re ? /* @__PURE__ */ e($e, { className: "h-3.5 w-3.5 animate-spin" }) : /* @__PURE__ */ e(_n, { className: "h-3.5 w-3.5" }),
|
|
1944
1944
|
Re ? "Saving..." : "Save"
|
|
@@ -2053,10 +2053,10 @@ function Xs() {
|
|
|
2053
2053
|
] }),
|
|
2054
2054
|
Nt && /* @__PURE__ */ o(T, { children: [
|
|
2055
2055
|
/* @__PURE__ */ e(he, { children: "Dashboard" }),
|
|
2056
|
-
/* @__PURE__ */ o(A, { onSelect:
|
|
2056
|
+
/* @__PURE__ */ o(A, { onSelect: Je.open, children: [
|
|
2057
2057
|
/* @__PURE__ */ e(Pt, { className: "h-3.5 w-3.5" }),
|
|
2058
|
-
/* @__PURE__ */ e("span", { className: "flex-1", children:
|
|
2059
|
-
/* @__PURE__ */ e("span", { className: "pl-4 text-[11px] tabular-nums text-muted-foreground", children:
|
|
2058
|
+
/* @__PURE__ */ e("span", { className: "flex-1", children: Je.label }),
|
|
2059
|
+
/* @__PURE__ */ e("span", { className: "pl-4 text-[11px] tabular-nums text-muted-foreground", children: Je.count })
|
|
2060
2060
|
] }),
|
|
2061
2061
|
/* @__PURE__ */ o(A, { onSelect: gr, children: [
|
|
2062
2062
|
/* @__PURE__ */ e(Rn, { className: "h-3.5 w-3.5" }),
|
|
@@ -2144,7 +2144,7 @@ function Xs() {
|
|
|
2144
2144
|
}
|
|
2145
2145
|
)
|
|
2146
2146
|
] }),
|
|
2147
|
-
|
|
2147
|
+
J && bt && /* @__PURE__ */ e(
|
|
2148
2148
|
Pa,
|
|
2149
2149
|
{
|
|
2150
2150
|
resource: bt,
|
|
@@ -2224,7 +2224,7 @@ function Xs() {
|
|
|
2224
2224
|
/* @__PURE__ */ e(
|
|
2225
2225
|
Ot,
|
|
2226
2226
|
{
|
|
2227
|
-
onClick: () =>
|
|
2227
|
+
onClick: () => Ye({
|
|
2228
2228
|
closeAfterSave: ut,
|
|
2229
2229
|
navigateHomeAfterSave: je === "home"
|
|
2230
2230
|
}),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as d, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo as u, useState as f, useRef as b, useEffect as p } from "react";
|
|
3
|
-
import { u as o } from "./semaphor-ready-indicator-
|
|
4
|
-
import { B as S, X as N, C as D } from "./style-sheet-parts-
|
|
3
|
+
import { u as o } from "./semaphor-ready-indicator-CXojR95M.js";
|
|
4
|
+
import { B as S, X as N, C as D } from "./style-sheet-parts-CmXmKqGw.js";
|
|
5
5
|
import { c as J } from "./pickers-DkqmtnTL.js";
|
|
6
6
|
import "./validators-CrYXNnNE.js";
|
|
7
7
|
import "./matrix-operation-contract-JSmproo9.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as D, e as h } from "./filter-reach-copy-
|
|
2
|
-
import { h as y, d as g, r as b, a as m, e as F } from "./resolve-dashboard-input-context-
|
|
1
|
+
import { d as D, e as h } from "./filter-reach-copy-eMhDPTYH.js";
|
|
2
|
+
import { h as y, d as g, r as b, a as m, e as F } from "./resolve-dashboard-input-context-NurwNg4I.js";
|
|
3
3
|
import "./validators-CrYXNnNE.js";
|
|
4
4
|
import "./matrix-operation-contract-JSmproo9.js";
|
|
5
5
|
import "./analytics-base-schemas-8wz9vqn_.js";
|
|
@@ -10,8 +10,8 @@ import { A as w } from "./bookmark-state-Bn7k3ttp.js";
|
|
|
10
10
|
import "./schema-C9NPiIru.js";
|
|
11
11
|
import "./index-CV_Kzou0.js";
|
|
12
12
|
import "./context-CVXTFljo.js";
|
|
13
|
-
import { p as N, r as T } from "./stored-dashboard-
|
|
14
|
-
import { g as C } from "./saved-dashboard-context-
|
|
13
|
+
import { p as N, r as T } from "./stored-dashboard-KkH4zOhq.js";
|
|
14
|
+
import { g as C } from "./saved-dashboard-context-CPp--vXU.js";
|
|
15
15
|
const M = ["hour", "day", "week", "month", "quarter", "year"], O = 12, P = {
|
|
16
16
|
automatic: "Automatic",
|
|
17
17
|
card: "Set on this card",
|