react-semaphor 0.1.587 → 0.1.589
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 +341 -338
- package/dist/assistant-context/index.js +1 -1
- package/dist/assistant-protocol/index.js +5 -5
- package/dist/brand-studio/index.js +8 -8
- package/dist/briefings/index.js +5 -5
- package/dist/chunks/{add-to-dashboard-DhP8wVtM.js → add-to-dashboard-C86FsM8D.js} +1 -1
- package/dist/chunks/{aggregate-measure-field-DsFXETpI.js → aggregate-measure-field-BrkXsSJp.js} +2 -2
- package/dist/chunks/{analytics-base-schemas-BaIQrEzX.js → analytics-base-schemas-8wz9vqn_.js} +173 -165
- package/dist/chunks/{assistant-chat-pfJK-T0b.js → assistant-chat-DBPa6sJU.js} +19 -18
- package/dist/chunks/{bookmark-impact-BSpGQL1M.js → bookmark-impact-B7pbMx2e.js} +2 -2
- package/dist/chunks/{bookmark-state-CL4WEpgB.js → bookmark-state-Bn7k3ttp.js} +5 -5
- package/dist/chunks/{card-filter-builder-C8PbhHjq.js → card-filter-builder-CGM7ROM0.js} +99 -99
- package/dist/chunks/{comparison-window-caption-CoART8BC.js → comparison-window-caption-fqijZdVd.js} +451 -395
- package/dist/chunks/{context-BTLBjQNh.js → context-CVXTFljo.js} +1 -1
- package/dist/chunks/{dashboard-CVj1oMoW.js → dashboard-UXH3E31V.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-TqA58rKz.js → dashboard-briefing-launcher-CTFuSWH_.js} +313 -329
- package/dist/chunks/{dashboard-controls-DQ8FsxAz.js → dashboard-controls-BcxWhOKw.js} +97 -97
- package/dist/chunks/{dashboard-json-DM88pmk2.js → dashboard-json-C-oBcKKC.js} +5 -5
- package/dist/chunks/dates-BunbHJH0.js +115 -0
- package/dist/chunks/{edit-dashboard-visual-BpRnU_6G.js → edit-dashboard-visual-COjKc_Du.js} +2796 -2783
- package/dist/chunks/{filter-line-Cu2u1K36.js → filter-line-Dza3ee4w.js} +5 -5
- package/dist/chunks/{filter-reach-copy-0Xp97cLk.js → filter-reach-copy-D5AmDHda.js} +944 -942
- package/dist/chunks/{filter-value-text-xefXzZlf.js → filter-value-text-DQw4v3nC.js} +6 -6
- package/dist/chunks/{index-D_QSeVKy.js → index-dGxJTaP1.js} +39 -39
- package/dist/chunks/{layout-grid-9nSS2SL-.js → layout-grid-BG__sPkb.js} +1 -1
- package/dist/chunks/{list-filter-CfMPI6v4.js → list-filter-Cb8i7N8f.js} +1 -1
- package/dist/chunks/{matrix-analytical-definition-DOVSFFuf.js → matrix-analytical-definition-SN0JUJVk.js} +3 -3
- package/dist/chunks/{matrix-member-presentation-BKDyxJho.js → matrix-member-presentation-DVBJR0MA.js} +1 -1
- package/dist/chunks/{matrix-operation-contract-BM5TveR3.js → matrix-operation-contract-JSmproo9.js} +15 -15
- package/dist/chunks/{metric-comparison-ZmurmEIs.js → metric-comparison-xE_J6hkg.js} +2 -2
- package/dist/chunks/{paintbrush-LzAje2ff.js → paintbrush-C310xSuR.js} +1 -1
- package/dist/chunks/{palette-DicJG0TC.js → palette-Ci5P91Zb.js} +1 -1
- package/dist/chunks/{pivot-header-presentation-CdeTU96P.js → pivot-header-presentation-D-DfPAjb.js} +1 -1
- package/dist/chunks/{pivot-result-contract-expectations-Bx_BCu-7.js → pivot-result-contract-expectations-DbBahmgc.js} +545 -536
- package/dist/chunks/{pivot-result-identity-Bvs6Uq3v.js → pivot-result-identity-CUsMt_4r.js} +1 -1
- package/dist/chunks/{raw-temporal-value-DH-feMc2.js → raw-temporal-value-BnGCWJAL.js} +1 -1
- package/dist/chunks/report-preferences-dialog-DtuOcejh.js +1637 -0
- package/dist/chunks/{report-runtime-context-NlOXwyRB.js → report-runtime-context-CrOgmuxO.js} +2 -2
- package/dist/chunks/{resolve-dashboard-input-context-zEXuitoF.js → resolve-dashboard-input-context-DFBIngUZ.js} +5617 -5485
- package/dist/chunks/{save-0wu1Z1U7.js → save-BhhXfp4s.js} +1 -1
- package/dist/chunks/{saved-dashboard-context-Cll5LipJ.js → saved-dashboard-context-DKMTP9ib.js} +17 -17
- package/dist/chunks/selection-filter-compiler-DkIjp1yH.js +131 -0
- package/dist/chunks/{semaphor-ready-indicator-Bnj3H0Dm.js → semaphor-ready-indicator-HGEnCavj.js} +50770 -49867
- package/dist/chunks/{shelf-drop-preview-context-B8rmn6BD.js → shelf-drop-preview-context-DaCXCdMA.js} +112 -112
- package/dist/chunks/{stored-dashboard-CURqJgoa.js → stored-dashboard-CksluF2S.js} +1539 -1404
- package/dist/chunks/{style-sheet-parts-_dGSFzDi.js → style-sheet-parts-CmXmKqGw.js} +33 -33
- package/dist/chunks/{table-export-sheet-Dmtqi5NV.js → table-export-sheet-ClSgERQC.js} +1 -1
- package/dist/chunks/{token-types-DEe_FP4l.js → token-types-DTocOcwt.js} +1 -1
- package/dist/chunks/{upload-CtyOkU_B.js → upload-DDYc1Qjj.js} +1 -1
- package/dist/chunks/{validators-CJ8Jh0E8.js → validators-CrYXNnNE.js} +51 -49
- package/dist/chunks/{variable-draft-DIv-9y6Q.js → variable-draft-rbtGPvmX.js} +16 -14
- package/dist/chunks/visual-choice-DDfHfHvY.js +172 -0
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +821 -791
- package/dist/format-utils/index.js +162 -158
- package/dist/index.js +214 -215
- package/dist/report-runtime-context/index.js +2 -2
- package/dist/style.css +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/index.js +5 -5
- package/dist/types/lib/dashboard-view-state/card-view-state.d.ts +39 -2
- package/dist/types/lib/dashboard-view-state/date-zoom.d.ts +65 -0
- package/dist/types/lib/dashboard-view-state/grain-pick.d.ts +38 -0
- package/dist/types/lib/dashboard-view-state/index.d.ts +2 -0
- package/dist/types/lib/formatters/grouped-temporal-presentation.d.ts +6 -2
- package/dist/types/lib/hooks/interactions/use-drill-actions.d.ts +1 -1
- package/dist/types/lib/interactions/get-click-context-from-table.d.ts +2 -2
- package/dist/types/lib/query-context/assemble-card-query.d.ts +2 -1
- package/dist/types/lib/query-context/build-card-query-context.d.ts +15 -1
- package/dist/types/lib/query-context/describe-card-execution-snapshot.d.ts +3 -0
- package/dist/types/lib/query-context/resolve-runtime-card-filters.d.ts +14 -1
- package/dist/types/lib/stores/dashboard-store.d.ts +7 -1
- package/dist/types/lib/types/explorer-types.d.ts +13 -0
- package/dist/types/lib/utils/card-config-utils.d.ts +1 -1
- package/dist/types/shared/analytics-protocol/analytics-base-schemas.d.ts +32 -0
- package/dist/types/shared/analytics-protocol/contracts.d.ts +30 -0
- package/dist/types/shared/analytics-protocol/filter-field-ownership.d.ts +13 -0
- package/dist/types/shared/dashboard-authoring/automatic-grain.d.ts +77 -0
- package/dist/types/shared/dashboard-authoring/changes/card-query-part.d.ts +1 -0
- package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +13 -8
- package/dist/types/shared/dashboard-authoring/control-value-resolution.d.ts +24 -0
- package/dist/types/shared/dashboard-authoring/index.d.ts +1 -0
- package/dist/types/shared/dashboard-authoring/kpi-trend-rule.d.ts +6 -29
- package/dist/types/shared/dashboard-authoring/variable-draft.d.ts +1 -0
- package/dist/types/shared/format-utils/index.d.ts +1 -0
- package/dist/types/shared/format-utils/partial-period.d.ts +40 -0
- package/dist/types/shared/format-utils/temporal-bucket.d.ts +11 -0
- package/dist/types/shared/usage-events/details.d.ts +2 -2
- package/dist/usage-events/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunks/dates-5z3b9Loo.js +0 -136
- package/dist/chunks/report-preferences-dialog-CXKmWyLm.js +0 -2028
- package/dist/chunks/selection-filter-compiler-BReJy-uv.js +0 -92
- package/dist/chunks/visual-choice-BBPizkRo.js +0 -206
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { jsx as e, jsxs as o, Fragment as
|
|
2
|
-
import {
|
|
3
|
-
import { c as ye, B as V,
|
|
1
|
+
import { jsx as e, jsxs as o, Fragment as T } from "react/jsx-runtime";
|
|
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-HGEnCavj.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";
|
|
7
|
-
import "./validators-
|
|
8
|
-
import "./matrix-operation-contract-
|
|
9
|
-
import "./analytics-base-schemas-
|
|
7
|
+
import "./validators-CrYXNnNE.js";
|
|
8
|
+
import "./matrix-operation-contract-JSmproo9.js";
|
|
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-CTFuSWH_.js";
|
|
12
|
+
import { I as Dn } from "./card-filter-builder-CGM7ROM0.js";
|
|
13
|
+
import { c as kn, R as Cn } from "./report-preferences-dialog-DtuOcejh.js";
|
|
14
14
|
import { createPortal as En } from "react-dom";
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { k as nt } from "./stored-dashboard-
|
|
15
|
+
import { fG as we, fH as dt, fI as Qt, o as An } from "./resolve-dashboard-input-context-DFBIngUZ.js";
|
|
16
|
+
import { aR as Wt } from "./pivot-result-contract-expectations-DbBahmgc.js";
|
|
17
|
+
import { k as nt } from "./stored-dashboard-CksluF2S.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
|
|
24
|
-
import { P as
|
|
20
|
+
import { z as Yt } from "./bookmark-state-Bn7k3ttp.js";
|
|
21
|
+
import { d as On, a as Pn } from "./bookmark-impact-B7pbMx2e.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
|
]);
|
|
@@ -97,10 +97,10 @@ var st = { exports: {} }, Ze = {};
|
|
|
97
97
|
* This source code is licensed under the MIT license found in the
|
|
98
98
|
* LICENSE file in the root directory of this source tree.
|
|
99
99
|
*/
|
|
100
|
-
var
|
|
100
|
+
var Rt;
|
|
101
101
|
function Gn() {
|
|
102
|
-
if (
|
|
103
|
-
|
|
102
|
+
if (Rt) return Ze;
|
|
103
|
+
Rt = 1;
|
|
104
104
|
var t = Kt;
|
|
105
105
|
function n(i, f) {
|
|
106
106
|
return i === f && (i !== 0 || 1 / i === 1 / f) || i !== i && f !== f;
|
|
@@ -148,9 +148,9 @@ var et = {};
|
|
|
148
148
|
* This source code is licensed under the MIT license found in the
|
|
149
149
|
* LICENSE file in the root directory of this source tree.
|
|
150
150
|
*/
|
|
151
|
-
var
|
|
151
|
+
var Tt;
|
|
152
152
|
function Vn() {
|
|
153
|
-
return
|
|
153
|
+
return Tt || (Tt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
154
154
|
function t(l, x) {
|
|
155
155
|
return l === x && (l !== 0 || 1 / l === 1 / x) || l !== l && x !== x;
|
|
156
156
|
}
|
|
@@ -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,19 +760,19 @@ 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"
|
|
767
767
|
] }),
|
|
768
|
-
s && /* @__PURE__ */ o(
|
|
768
|
+
s && /* @__PURE__ */ o(T, { children: [
|
|
769
769
|
/* @__PURE__ */ e("span", { className: "text-border", children: "·" }),
|
|
770
770
|
/* @__PURE__ */ o("span", { className: "inline-flex items-center gap-1", children: [
|
|
771
771
|
/* @__PURE__ */ e(jt, { className: "h-2.5 w-2.5" }),
|
|
772
772
|
s
|
|
773
773
|
] })
|
|
774
774
|
] }),
|
|
775
|
-
t.description && /* @__PURE__ */ o(
|
|
775
|
+
t.description && /* @__PURE__ */ o(T, { children: [
|
|
776
776
|
/* @__PURE__ */ e("span", { className: "text-border", children: "·" }),
|
|
777
777
|
/* @__PURE__ */ e("span", { className: "truncate text-muted-foreground", children: t.description })
|
|
778
778
|
] })
|
|
@@ -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,
|
|
@@ -1153,10 +1153,10 @@ function bs({
|
|
|
1153
1153
|
onClick: f,
|
|
1154
1154
|
disabled: !i || g.isPending,
|
|
1155
1155
|
className: "inline-flex h-7 items-center gap-1.5 rounded-[5px] bg-foreground px-2.5 text-[12px] font-medium text-background hover:opacity-90 disabled:cursor-not-allowed disabled:opacity-60",
|
|
1156
|
-
children: g.isPending ? /* @__PURE__ */ o(
|
|
1156
|
+
children: g.isPending ? /* @__PURE__ */ o(T, { children: [
|
|
1157
1157
|
/* @__PURE__ */ e($e, { className: "h-3 w-3 animate-spin" }),
|
|
1158
1158
|
"Creating…"
|
|
1159
|
-
] }) : /* @__PURE__ */ o(
|
|
1159
|
+
] }) : /* @__PURE__ */ o(T, { children: [
|
|
1160
1160
|
/* @__PURE__ */ e(ne, { className: "h-3 w-3" }),
|
|
1161
1161
|
"Create group"
|
|
1162
1162
|
] })
|
|
@@ -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;
|
|
@@ -1451,7 +1451,7 @@ function Ss({
|
|
|
1451
1451
|
onScheduleReport: a,
|
|
1452
1452
|
onCreateAnalyticalBriefing: r
|
|
1453
1453
|
}) {
|
|
1454
|
-
return /* @__PURE__ */ o(
|
|
1454
|
+
return /* @__PURE__ */ o(T, { children: [
|
|
1455
1455
|
/* @__PURE__ */ e(
|
|
1456
1456
|
Ns,
|
|
1457
1457
|
{
|
|
@@ -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]
|
|
@@ -1576,7 +1576,7 @@ function Xs() {
|
|
|
1576
1576
|
}), bt = G ? {
|
|
1577
1577
|
id: G.id,
|
|
1578
1578
|
title: (b == null ? void 0 : b.title) || G.title || "Dashboard"
|
|
1579
|
-
} : null, { handleAddNewFrame: vr } = ga(), [Ve, He] = N(!1), [yr, de] = N(!1), [je, Pe] = N("close"), ce = ba(Xe.DASHBOARD), [L, le] = N(null), wr = async (d,
|
|
1579
|
+
} : null, { handleAddNewFrame: vr } = ga(), [Ve, He] = N(!1), [yr, de] = N(!1), [je, Pe] = N("close"), ce = ba(Xe.DASHBOARD), [L, le] = N(null), wr = async (d, R) => {
|
|
1580
1580
|
if (!i) {
|
|
1581
1581
|
if (!(b != null && b.id)) {
|
|
1582
1582
|
console.log("No dashboard ID found");
|
|
@@ -1585,7 +1585,7 @@ function Xs() {
|
|
|
1585
1585
|
console.log("Updating dashboard title:", {
|
|
1586
1586
|
dashboardId: b.id,
|
|
1587
1587
|
newTitle: d,
|
|
1588
|
-
previousTitle:
|
|
1588
|
+
previousTitle: R
|
|
1589
1589
|
}), ce.mutate(
|
|
1590
1590
|
{
|
|
1591
1591
|
resourceId: b.id,
|
|
@@ -1603,7 +1603,7 @@ function Xs() {
|
|
|
1603
1603
|
onError: (_) => {
|
|
1604
1604
|
console.error("Failed to update dashboard title:", _), C.error("Failed to update dashboard title");
|
|
1605
1605
|
const re = k.getState().dashboard;
|
|
1606
|
-
(re == null ? void 0 : re.id) === b.id && re.title === d && Ne(
|
|
1606
|
+
(re == null ? void 0 : re.id) === b.id && re.title === d && Ne(R);
|
|
1607
1607
|
}
|
|
1608
1608
|
}
|
|
1609
1609
|
);
|
|
@@ -1613,10 +1613,10 @@ function Xs() {
|
|
|
1613
1613
|
if (Oe && Oe.length > 0) {
|
|
1614
1614
|
const d = b == null ? void 0 : b.id;
|
|
1615
1615
|
if (d) {
|
|
1616
|
-
const
|
|
1616
|
+
const R = Oe.find(
|
|
1617
1617
|
(_) => _.id === d
|
|
1618
1618
|
);
|
|
1619
|
-
|
|
1619
|
+
R && gt(R);
|
|
1620
1620
|
}
|
|
1621
1621
|
}
|
|
1622
1622
|
}, [Oe, b == null ? void 0 : b.id, gt]);
|
|
@@ -1675,7 +1675,7 @@ function Xs() {
|
|
|
1675
1675
|
Qe,
|
|
1676
1676
|
i,
|
|
1677
1677
|
p
|
|
1678
|
-
), vt = We || kr,
|
|
1678
|
+
), vt = We || kr, Re = Ve || ce.isPending, Cr = () => {
|
|
1679
1679
|
if (i) {
|
|
1680
1680
|
L && Ke(L.dashboard, {
|
|
1681
1681
|
semanticExecutionPayload: L.semanticExecutionPayload
|
|
@@ -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,23 +1706,23 @@ 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
|
-
const
|
|
1713
|
-
if (!
|
|
1712
|
+
const R = k.getState().dashboard;
|
|
1713
|
+
if (!R)
|
|
1714
1714
|
return;
|
|
1715
1715
|
const _ = (d == null ? void 0 : d.closeAfterSave) ?? ut, re = (d == null ? void 0 : d.navigateHomeAfterSave) ?? !1;
|
|
1716
1716
|
Le(_), _ && de(!1);
|
|
1717
|
-
const _r = nt(
|
|
1717
|
+
const _r = nt(R);
|
|
1718
1718
|
q(!0), K(null), Me([]), He(!0);
|
|
1719
|
-
const
|
|
1720
|
-
template:
|
|
1719
|
+
const Rr = {
|
|
1720
|
+
template: R
|
|
1721
1721
|
};
|
|
1722
1722
|
ce.mutate(
|
|
1723
1723
|
{
|
|
1724
|
-
resourceId:
|
|
1725
|
-
data:
|
|
1724
|
+
resourceId: R.id,
|
|
1725
|
+
data: Rr
|
|
1726
1726
|
},
|
|
1727
1727
|
{
|
|
1728
1728
|
onSuccess: () => {
|
|
@@ -1733,9 +1733,9 @@ function Xs() {
|
|
|
1733
1733
|
)
|
|
1734
1734
|
), q(!1), Le(!1), _ && (_e(), ue(), re && ie && Ge()), Pe("close");
|
|
1735
1735
|
},
|
|
1736
|
-
onError: (
|
|
1736
|
+
onError: (Tr) => {
|
|
1737
1737
|
He(!1), K("Failed to save dashboard. Please try again.");
|
|
1738
|
-
const Ue =
|
|
1738
|
+
const Ue = Tr.details, Ur = Array.isArray(
|
|
1739
1739
|
Ue == null ? void 0 : Ue.errors
|
|
1740
1740
|
) ? (Ue.errors || []).filter(
|
|
1741
1741
|
(Br) => typeof Br == "string"
|
|
@@ -1743,7 +1743,7 @@ function Xs() {
|
|
|
1743
1743
|
Me(
|
|
1744
1744
|
ws({
|
|
1745
1745
|
errors: Ur,
|
|
1746
|
-
dashboard:
|
|
1746
|
+
dashboard: R || void 0
|
|
1747
1747
|
})
|
|
1748
1748
|
), C.error("Failed to save dashboard");
|
|
1749
1749
|
}
|
|
@@ -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
|
-
),
|
|
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;
|
|
@@ -1801,8 +1801,8 @@ function Xs() {
|
|
|
1801
1801
|
canEditDashboard: p,
|
|
1802
1802
|
dashboardId: b == null ? void 0 : b.id
|
|
1803
1803
|
});
|
|
1804
|
-
const
|
|
1805
|
-
Ne(d), wr(d,
|
|
1804
|
+
const R = (b == null ? void 0 : b.title) || "";
|
|
1805
|
+
Ne(d), wr(d, R);
|
|
1806
1806
|
},
|
|
1807
1807
|
isEditable: Sa({
|
|
1808
1808
|
isDashboardEditing: D,
|
|
@@ -1820,7 +1820,7 @@ function Xs() {
|
|
|
1820
1820
|
] }),
|
|
1821
1821
|
/* @__PURE__ */ o("div", { className: "flex min-w-0 items-center gap-1.5", children: [
|
|
1822
1822
|
/* @__PURE__ */ o("div", { className: "-m-1 flex min-w-0 items-center gap-1.5 overflow-x-auto p-1 [scrollbar-width:thin] [&>*]:shrink-0", children: [
|
|
1823
|
-
U && /* @__PURE__ */ o(
|
|
1823
|
+
U && /* @__PURE__ */ o(T, { children: [
|
|
1824
1824
|
/* @__PURE__ */ e(mn, {}),
|
|
1825
1825
|
/* @__PURE__ */ e(hn, {})
|
|
1826
1826
|
] }),
|
|
@@ -1922,7 +1922,7 @@ function Xs() {
|
|
|
1922
1922
|
variant: "outline",
|
|
1923
1923
|
size: "xs",
|
|
1924
1924
|
onClick: Ir,
|
|
1925
|
-
disabled:
|
|
1925
|
+
disabled: Re,
|
|
1926
1926
|
"aria-label": "Undo",
|
|
1927
1927
|
title: I.width === "sm" ? "Undo" : void 0,
|
|
1928
1928
|
className: I.width === "sm" ? "w-7 px-0" : void 0,
|
|
@@ -1937,11 +1937,11 @@ function Xs() {
|
|
|
1937
1937
|
{
|
|
1938
1938
|
size: "xs",
|
|
1939
1939
|
className: be(!vt && "opacity-60"),
|
|
1940
|
-
disabled:
|
|
1941
|
-
onClick: () =>
|
|
1940
|
+
disabled: Re || !vt,
|
|
1941
|
+
onClick: () => Ye(),
|
|
1942
1942
|
children: [
|
|
1943
|
-
|
|
1944
|
-
|
|
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
|
+
Re ? "Saving..." : "Save"
|
|
1945
1945
|
]
|
|
1946
1946
|
}
|
|
1947
1947
|
),
|
|
@@ -1961,7 +1961,7 @@ function Xs() {
|
|
|
1961
1961
|
}
|
|
1962
1962
|
)
|
|
1963
1963
|
] }),
|
|
1964
|
-
!U && h && /* @__PURE__ */ o(
|
|
1964
|
+
!U && h && /* @__PURE__ */ o(T, { children: [
|
|
1965
1965
|
/* @__PURE__ */ e(xn, {}),
|
|
1966
1966
|
m && p === !0 && !i && /* @__PURE__ */ e(vn, {})
|
|
1967
1967
|
] }),
|
|
@@ -1986,16 +1986,16 @@ function Xs() {
|
|
|
1986
1986
|
className: "w-56 rounded-control border border-border/60 p-1 shadow-sm",
|
|
1987
1987
|
children: [
|
|
1988
1988
|
/* @__PURE__ */ e(Es, {}),
|
|
1989
|
-
|
|
1989
|
+
Te.available && Or && /* @__PURE__ */ o(T, { children: [
|
|
1990
1990
|
/* @__PURE__ */ o(
|
|
1991
1991
|
A,
|
|
1992
1992
|
{
|
|
1993
|
-
disabled:
|
|
1994
|
-
onSelect:
|
|
1993
|
+
disabled: Te.disabled,
|
|
1994
|
+
onSelect: Te.toggle,
|
|
1995
1995
|
children: [
|
|
1996
1996
|
/* @__PURE__ */ e(Ia, { className: "h-3.5 w-3.5" }),
|
|
1997
1997
|
/* @__PURE__ */ e("span", { className: "flex-1", children: "Default dashboard" }),
|
|
1998
|
-
|
|
1998
|
+
Te.isDefault && /* @__PURE__ */ e(zt, { className: "h-3.5 w-3.5" })
|
|
1999
1999
|
]
|
|
2000
2000
|
}
|
|
2001
2001
|
),
|
|
@@ -2033,7 +2033,7 @@ function Xs() {
|
|
|
2033
2033
|
}
|
|
2034
2034
|
),
|
|
2035
2035
|
/* @__PURE__ */ e(ae, {}),
|
|
2036
|
-
(Q.showDashboardSharing || Q.showGroupManagement) && /* @__PURE__ */ o(
|
|
2036
|
+
(Q.showDashboardSharing || Q.showGroupManagement) && /* @__PURE__ */ o(T, { children: [
|
|
2037
2037
|
/* @__PURE__ */ e(he, { children: "Access" }),
|
|
2038
2038
|
Q.showDashboardSharing && /* @__PURE__ */ o(A, { onSelect: () => X(!0), children: [
|
|
2039
2039
|
/* @__PURE__ */ e(Oa, { className: "h-3.5 w-3.5" }),
|
|
@@ -2051,15 +2051,15 @@ function Xs() {
|
|
|
2051
2051
|
),
|
|
2052
2052
|
/* @__PURE__ */ e(ae, {})
|
|
2053
2053
|
] }),
|
|
2054
|
-
Nt && /* @__PURE__ */ o(
|
|
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
|
-
/* @__PURE__ */ e(
|
|
2062
|
+
/* @__PURE__ */ e(Rn, { className: "h-3.5 w-3.5" }),
|
|
2063
2063
|
"Style"
|
|
2064
2064
|
] }),
|
|
2065
2065
|
/* @__PURE__ */ e(ae, {})
|
|
@@ -2069,7 +2069,7 @@ function Xs() {
|
|
|
2069
2069
|
/* @__PURE__ */ e(jt, { className: "h-3.5 w-3.5" }),
|
|
2070
2070
|
"Report preferences"
|
|
2071
2071
|
] }),
|
|
2072
|
-
u && h && /* @__PURE__ */ o(
|
|
2072
|
+
u && h && /* @__PURE__ */ o(T, { children: [
|
|
2073
2073
|
/* @__PURE__ */ e(ae, {}),
|
|
2074
2074
|
/* @__PURE__ */ e(he, { children: "Developer" }),
|
|
2075
2075
|
/* @__PURE__ */ o(
|
|
@@ -2126,7 +2126,7 @@ function Xs() {
|
|
|
2126
2126
|
}
|
|
2127
2127
|
),
|
|
2128
2128
|
/* @__PURE__ */ o(A, { onSelect: l, children: [
|
|
2129
|
-
/* @__PURE__ */ e(
|
|
2129
|
+
/* @__PURE__ */ e(Tn, { className: "h-3.5 w-3.5" }),
|
|
2130
2130
|
"Brand Studio"
|
|
2131
2131
|
] }),
|
|
2132
2132
|
D && /* @__PURE__ */ o(
|
|
@@ -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,
|
|
@@ -2195,13 +2195,13 @@ function Xs() {
|
|
|
2195
2195
|
}
|
|
2196
2196
|
),
|
|
2197
2197
|
/* @__PURE__ */ e(
|
|
2198
|
-
|
|
2198
|
+
Ra,
|
|
2199
2199
|
{
|
|
2200
2200
|
open: Ie,
|
|
2201
2201
|
onOpenChange: (d) => {
|
|
2202
2202
|
!d && Ve && !z || (q(d), d || (K(null), Me([]), Le(!1)));
|
|
2203
2203
|
},
|
|
2204
|
-
children: /* @__PURE__ */ o(
|
|
2204
|
+
children: /* @__PURE__ */ o(Ta, { className: "max-w-sm", children: [
|
|
2205
2205
|
/* @__PURE__ */ o(Ua, { children: [
|
|
2206
2206
|
/* @__PURE__ */ e(Ba, { children: z ? "Save failed" : "Saving dashboard" }),
|
|
2207
2207
|
/* @__PURE__ */ e(Fa, { className: "pt-2", children: z ? "We could not save the dashboard. Please try again." : "Please wait while we save your changes." }),
|
|
@@ -2210,7 +2210,7 @@ function Xs() {
|
|
|
2210
2210
|
/* @__PURE__ */ e("ul", { className: "list-disc space-y-1 pl-4 text-xs text-muted-foreground", children: oe.slice(0, 5).map((d) => /* @__PURE__ */ e("li", { children: d }, d)) })
|
|
2211
2211
|
] })
|
|
2212
2212
|
] }),
|
|
2213
|
-
/* @__PURE__ */ e($a, { className: "flex-col gap-2 sm:flex-row sm:justify-end", children: z ? /* @__PURE__ */ o(
|
|
2213
|
+
/* @__PURE__ */ e($a, { className: "flex-col gap-2 sm:flex-row sm:justify-end", children: z ? /* @__PURE__ */ o(T, { children: [
|
|
2214
2214
|
/* @__PURE__ */ e(
|
|
2215
2215
|
Ga,
|
|
2216
2216
|
{
|
|
@@ -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
|
}),
|
|
@@ -2260,7 +2260,7 @@ function Xs() {
|
|
|
2260
2260
|
}
|
|
2261
2261
|
function Es() {
|
|
2262
2262
|
const t = Va();
|
|
2263
|
-
return t.length === 0 ? null : /* @__PURE__ */ o(
|
|
2263
|
+
return t.length === 0 ? null : /* @__PURE__ */ o(T, { children: [
|
|
2264
2264
|
t.map((n) => /* @__PURE__ */ o(A, { onSelect: n.onSelect, children: [
|
|
2265
2265
|
n.icon,
|
|
2266
2266
|
/* @__PURE__ */ e("span", { className: "flex-1", children: n.label }),
|
|
@@ -1,11 +1,11 @@
|
|
|
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-HGEnCavj.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
|
-
import "./validators-
|
|
7
|
-
import "./matrix-operation-contract-
|
|
8
|
-
import "./analytics-base-schemas-
|
|
6
|
+
import "./validators-CrYXNnNE.js";
|
|
7
|
+
import "./matrix-operation-contract-JSmproo9.js";
|
|
8
|
+
import "./analytics-base-schemas-8wz9vqn_.js";
|
|
9
9
|
import "../value-format-preferences/index.js";
|
|
10
10
|
function z() {
|
|
11
11
|
const r = o((s) => s.dashboard), c = o((s) => s.actions.setDashboard), h = o(
|