react-semaphor 0.1.459 → 0.1.460
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.cjs +1 -1
- package/dist/analytics-protocol/index.js +32 -32
- package/dist/brand-studio/index.cjs +1 -1
- package/dist/brand-studio/index.js +4 -4
- package/dist/briefings/index.cjs +1 -1
- package/dist/briefings/index.js +4 -4
- package/dist/chunks/{analyze-result-contract-BbRJ-C06.js → analyze-result-contract-DROq4vgY.js} +1 -1
- package/dist/chunks/{analyze-result-contract-LPDNldic.cjs → analyze-result-contract-DSGoFuXQ.cjs} +1 -1
- package/dist/chunks/canonical-result-keys-CEQefvdO.js +33 -0
- package/dist/chunks/canonical-result-keys-Cb96edol.cjs +1 -0
- package/dist/chunks/{common-types-H51FLKB7.js → common-types-BHVKgxRR.js} +1 -1
- package/dist/chunks/{common-types-C57kJ59w.cjs → common-types-BcV9PD9D.cjs} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-ClCj98sq.js → dashboard-briefing-launcher-B07JnyCb.js} +60 -61
- package/dist/chunks/{dashboard-briefing-launcher-DHtEouuH.cjs → dashboard-briefing-launcher-BCkOKkCv.cjs} +2 -2
- package/dist/chunks/{dashboard-controls-VRShl9J0.cjs → dashboard-controls-BpxouYOZ.cjs} +1 -1
- package/dist/chunks/{dashboard-controls-B8gsKlxc.js → dashboard-controls-C8OxHQV6.js} +44 -45
- package/dist/chunks/dashboard-filter-value-compatibility-KXIyvbhc.js +677 -0
- package/dist/chunks/dashboard-filter-value-compatibility-UapptYnn.cjs +1 -0
- package/dist/chunks/dashboard-input-contract-BkRFQ7Tq.cjs +1 -0
- package/dist/chunks/{dashboard-date-comparison-definition-DC3ekV2S.js → dashboard-input-contract-D5dxTWJ5.js} +41 -25
- package/dist/chunks/dashboard-json-Bc-iIwxF.cjs +1 -0
- package/dist/chunks/{dashboard-json-i_Auue_K.js → dashboard-json-CecgbGtq.js} +13 -14
- package/dist/chunks/{edit-dashboard-visual-B3JF0fe4.js → edit-dashboard-visual-CpJKJaER.js} +880 -894
- package/dist/chunks/{edit-dashboard-visual-DWWyT55u.cjs → edit-dashboard-visual-xacUS2i5.cjs} +28 -28
- package/dist/chunks/{editor-action-buttons-BTlCsP63.cjs → editor-action-buttons-23Wf8EMx.cjs} +2 -2
- package/dist/chunks/{editor-action-buttons-C9x3nGnb.js → editor-action-buttons-DEoieV2G.js} +28 -28
- package/dist/chunks/index-B9c22LmC.cjs +1392 -0
- package/dist/chunks/{index-BS2-ZZGf.js → index-DDoyXYWM.js} +43665 -41560
- package/dist/chunks/{index-BIFLI8ul.js → index-De_7nrwb.js} +10 -10
- package/dist/chunks/index-DjjKJPDy.cjs +4 -0
- package/dist/chunks/{matrix-result-contract-CofATICL.js → matrix-result-contract-BTpPuHOc.js} +88 -104
- package/dist/chunks/matrix-result-contract-ZRNfeIbI.cjs +1 -0
- package/dist/chunks/{pivot-header-presentation-B9nXXKlW.cjs → pivot-header-presentation-BijPbP33.cjs} +1 -1
- package/dist/chunks/{pivot-header-presentation-D-0jvUwn.js → pivot-header-presentation-DW0gKG8g.js} +2 -2
- package/dist/chunks/{pivot-result-identity-Bb4EixVN.cjs → pivot-result-identity-DxHtiKVj.cjs} +1 -1
- package/dist/chunks/{pivot-result-identity-DU1v-5Xk.js → pivot-result-identity-Z9tN2tEV.js} +1 -1
- package/dist/chunks/{pivot-result-lifecycle-DTLRuDEW.cjs → pivot-result-lifecycle-BXzIlQVu.cjs} +1 -1
- package/dist/chunks/{pivot-result-lifecycle-CHWEGU2o.js → pivot-result-lifecycle-g2U-vzQb.js} +7 -7
- package/dist/chunks/{raw-temporal-contract-BtjH_G-d.cjs → raw-temporal-contract-DfAvqNMo.cjs} +1 -1
- package/dist/chunks/{raw-temporal-contract-CxncLze5.js → raw-temporal-contract-UtAqoOZO.js} +1 -1
- package/dist/chunks/{report-preferences-dialog-BDpkcUtz.js → report-preferences-dialog-CZiNX1Ri.js} +6 -6
- package/dist/chunks/{report-preferences-dialog-BK0yAJnQ.cjs → report-preferences-dialog-D_N6NXnq.cjs} +1 -1
- package/dist/chunks/{report-runtime-context-DqxS4wbi.cjs → report-runtime-context-C0NfLPfc.cjs} +1 -1
- package/dist/chunks/{report-runtime-context-SM6YO61_.js → report-runtime-context-CNncA3VD.js} +11 -11
- package/dist/chunks/{saved-temporal-bucket-format-CFfWXRl9.cjs → saved-temporal-bucket-format-3QKveR3v.cjs} +1 -1
- package/dist/chunks/{saved-temporal-bucket-format-SGAV0ivR.js → saved-temporal-bucket-format-Dd2eixTH.js} +11 -11
- package/dist/chunks/switch-DNFbgZz4.cjs +138 -0
- package/dist/chunks/{switch-DQR-Va05.js → switch-DSZobe8w.js} +6542 -5189
- package/dist/chunks/{temporal-bucket-5UYEotyQ.js → temporal-bucket-C85rmFmC.js} +4 -4
- package/dist/chunks/temporal-bucket-authoring-1fZuPAVb.js +653 -0
- package/dist/chunks/temporal-bucket-authoring-BK1UhYpD.cjs +1 -0
- package/dist/chunks/{temporal-bucket-contract-D5d-xEl3.js → temporal-bucket-contract-DXXNZssK.js} +1 -1
- package/dist/chunks/{temporal-bucket-contract-D2-93DGr.cjs → temporal-bucket-contract-xFkvboaw.cjs} +1 -1
- package/dist/chunks/{temporal-bucket-DHY1y9lq.cjs → temporal-bucket-pMfghsLX.cjs} +1 -1
- package/dist/chunks/{token-types-GbxRUozo.js → token-types-BLxc7UwR.js} +1 -1
- package/dist/chunks/{token-types-D7CaaI80.cjs → token-types-BYYO109W.cjs} +1 -1
- package/dist/chunks/{update-policy-hednMF-0.js → update-policy-CB8XJIoY.js} +1 -1
- package/dist/chunks/{update-policy-BmiOd0PB.cjs → update-policy-DMjjGjQY.cjs} +1 -1
- package/dist/chunks/{validators-DEmd8Sin.js → validators-DVd8s3qY.js} +416 -350
- package/dist/chunks/validators-dJlwubP4.cjs +1 -0
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.cjs +3 -3
- package/dist/dashboard-authoring/index.js +328 -311
- package/dist/data-app-builder/index.cjs +1 -1
- package/dist/data-app-builder/index.js +2 -2
- package/dist/data-app-codegen/index.cjs +1 -1
- package/dist/data-app-codegen/index.js +2 -2
- package/dist/data-app-codegen-node/index.cjs +1 -1
- package/dist/data-app-codegen-node/index.js +3 -3
- package/dist/data-app-sdk/index.cjs +1 -1
- package/dist/data-app-sdk/index.js +55 -55
- package/dist/data-app-sdk-adapters/index.cjs +1 -1
- package/dist/data-app-sdk-adapters/index.js +61 -56
- package/dist/data-app-sdk-validation/index.cjs +1 -1
- package/dist/data-app-sdk-validation/index.js +9 -9
- package/dist/format-utils/index.cjs +1 -1
- package/dist/format-utils/index.js +15 -15
- package/dist/index.cjs +1 -1
- package/dist/index.js +154 -155
- package/dist/report-runtime-context/index.cjs +1 -1
- package/dist/report-runtime-context/index.js +2 -2
- package/dist/style.css +1 -1
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +3 -3
- package/dist/types/analytics-protocol.d.ts +16 -8
- package/dist/types/briefings.d.ts +80 -9
- package/dist/types/dashboard-assistant.d.ts +11 -6
- package/dist/types/dashboard-authoring.d.ts +242 -15
- package/dist/types/dashboard.d.ts +94 -10
- package/dist/types/data-app-builder.d.ts +11 -6
- package/dist/types/data-app-codegen-node.d.ts +16 -8
- package/dist/types/data-app-codegen.d.ts +16 -8
- package/dist/types/data-app-sdk-adapters.d.ts +17 -11
- package/dist/types/data-app-sdk-validation.d.ts +17 -11
- package/dist/types/data-app-sdk.d.ts +17 -11
- package/dist/types/index.cjs +1 -1
- package/dist/types/index.js +4 -4
- package/dist/types/main.d.ts +210 -16
- package/dist/types/shared.d.ts +80 -9
- package/dist/types/surfboard.d.ts +94 -10
- package/dist/types/types.d.ts +94 -10
- package/package.json +1 -1
- package/dist/chunks/canonical-result-keys-BA0HCP4e.cjs +0 -1
- package/dist/chunks/canonical-result-keys-D6avdjpA.js +0 -467
- package/dist/chunks/dashboard-date-comparison-definition-Ces4alFm.cjs +0 -1
- package/dist/chunks/dashboard-json-BhvPMpZA.cjs +0 -1
- package/dist/chunks/index-DHF-2AqS.cjs +0 -1392
- package/dist/chunks/index-k8tEp0ys.cjs +0 -4
- package/dist/chunks/matrix-result-contract-zamd9euI.cjs +0 -1
- package/dist/chunks/switch-f3TuZNLr.cjs +0 -138
- package/dist/chunks/temporal-bucket-authoring-K1kE6R_z.js +0 -222
- package/dist/chunks/temporal-bucket-authoring-o3Emn05L.cjs +0 -1
- package/dist/chunks/validators-BDYprKI9.cjs +0 -1
|
@@ -1,23 +1,22 @@
|
|
|
1
1
|
import { jsx as e, jsxs as r, Fragment as W } from "react/jsx-runtime";
|
|
2
2
|
import jt, { useState as E, useEffect as J, useMemo as ee, useContext as Wt, useRef as he, useCallback as q } from "react";
|
|
3
|
-
import { aH as Se, aI as De, aK as ke, bb as yt,
|
|
4
|
-
import { B, O as Ne, Z as Qe, L as te, M as It, d as Ft, c as X, K as
|
|
3
|
+
import { aH as Se, aI as De, aK as ke, bb as yt, bY as Ht, cm as Gt, cn as Kt, aZ as fe, ca as Ct, bl as Ve, s as qt, o as Xt, co as Zt, aP as Je, aS as et, aT as tt, aU as rt, aV as at, aW as nt, aX as st, aY as wt, bk as ot, aG as O, cp as Qt, cq as Yt, cr as Ke, cb as Oe, cc as ze, cs as Nt, cd as _e, bW as K, b1 as Jt, bB as Re, ct as er, bV as tr, aJ as it, aL as lt, cu as rr, aF as ar, ba as nr, bw as St, cv as sr, bZ as or, u as ir, aM as lr, b3 as cr, az as $e, O as ue, aw as ct, as as Dt, at as dt, P as kt, ar as dr, ay as ur, ch as hr, cw as mr, bu as pr, au as pt, R as fr, T as gr, cx as br, cy as xr, cz as vr, cA as yr, cB as Cr, cC as wr, cD as Nr, cE as At, cF as Sr, b4 as Dr, cG as kr, ce as Et, cH as Ar, cI as Er, cJ as Be, cK as Ir, cL as Fr, cM as Lr, an as Br, ap as Tr, a3 as Vr, a2 as Rr, a1 as Ur, a0 as Pr, Z as Mr, X as Or, cN as zr, cO as _r, cP as $r, cQ as jr, cR as Wr, al as Hr, cS as Gr, cT as Kr, a9 as qr, cU as Xr, cV as Zr, cW as Qr } from "./index-DDoyXYWM.js";
|
|
4
|
+
import { B, O as Ne, Z as Qe, L as te, M as It, d as Ft, c as X, K as Yr, D as ge, u as P, z as be, aw as Lt, av as Ye, E as Bt, P as Ue, a as Pe, b as Me, aH as Jr, aI as ea, S as Tt, aJ as ta, aK as ra, aL as aa, aM as na, aF as sa } from "./switch-DSZobe8w.js";
|
|
5
5
|
import { L as ut } from "./layout-grid-CiubineE.js";
|
|
6
6
|
import { c as Ae, X as je, C as Vt } from "./x-CXDkqdur.js";
|
|
7
|
-
import { u as ht, V as oa, E as qe, a as Xe, b as ia, c as la, L as ca, d as da, e as Rt, C as Ut, F as ua, f as ha } from "./editor-action-buttons-
|
|
8
|
-
import { v as ft } from "./saved-temporal-bucket-format-
|
|
9
|
-
import "./validators-
|
|
10
|
-
import "./analyze-result-contract-
|
|
7
|
+
import { u as ht, V as oa, E as qe, a as Xe, b as ia, c as la, L as ca, d as da, e as Rt, C as Ut, F as ua, f as ha } from "./editor-action-buttons-DEoieV2G.js";
|
|
8
|
+
import { v as ft } from "./saved-temporal-bucket-format-Dd2eixTH.js";
|
|
9
|
+
import "./validators-DVd8s3qY.js";
|
|
10
|
+
import "./analyze-result-contract-DROq4vgY.js";
|
|
11
11
|
import "../value-format-preferences/index.js";
|
|
12
12
|
import { S as ma } from "./search-BHsQIWBV.js";
|
|
13
13
|
import { M as pa } from "./mouse-pointer-2-BZvGk45-.js";
|
|
14
|
-
import { u as gt } from "./pivot-header-presentation-
|
|
14
|
+
import { u as gt } from "./pivot-header-presentation-DW0gKG8g.js";
|
|
15
15
|
import "./index-DSKR3nKn.js";
|
|
16
|
-
import "./temporal-bucket-authoring-
|
|
17
|
-
import "./canonical-result-keys-D6avdjpA.js";
|
|
16
|
+
import "./temporal-bucket-authoring-1fZuPAVb.js";
|
|
18
17
|
import "./color-CJvdlFM_.js";
|
|
19
18
|
import "react-dom";
|
|
20
|
-
import { g as se, d as fa, a as ga } from "./index-
|
|
19
|
+
import { g as se, d as fa, a as ga } from "./index-De_7nrwb.js";
|
|
21
20
|
/**
|
|
22
21
|
* @license lucide-react v0.453.0 - ISC
|
|
23
22
|
*
|
|
@@ -226,13 +225,13 @@ function Na(t, a) {
|
|
|
226
225
|
}
|
|
227
226
|
function Sa(t) {
|
|
228
227
|
const a = (t || "").toLowerCase();
|
|
229
|
-
return a.includes("table") ? It : a.includes("pie") || a.includes("donut") ? Qt : a.includes("line") ? Yt : a.includes("bar") ?
|
|
228
|
+
return a.includes("table") ? It : a.includes("pie") || a.includes("donut") ? Qt : a.includes("line") ? Yt : a.includes("bar") ? Yr : ut;
|
|
230
229
|
}
|
|
231
230
|
function Da({ visual: t }) {
|
|
232
231
|
const a = t.ownership.status === "public" ? "Public" : t.ownership.status === "shared" || t.ownership.sharedCount > 0 ? "Shared" : "Private";
|
|
233
232
|
return /* @__PURE__ */ e("span", { className: "inline-flex items-center rounded-[4px] border border-border/60 px-1.5 py-px text-[11px] text-muted-foreground", children: a });
|
|
234
233
|
}
|
|
235
|
-
function
|
|
234
|
+
function _n({
|
|
236
235
|
open: t,
|
|
237
236
|
onOpenChange: a
|
|
238
237
|
}) {
|
|
@@ -1048,7 +1047,7 @@ function Fa() {
|
|
|
1048
1047
|
isSaving: k.isPending
|
|
1049
1048
|
};
|
|
1050
1049
|
}
|
|
1051
|
-
function
|
|
1050
|
+
function $n(t = {}) {
|
|
1052
1051
|
const { isInspectionMode: a } = or(), i = ge((A) => A.frame), s = ge((A) => A.editorContext), n = ir((A) => A.selectedVisual), c = P((A) => A.selectedFrameId), u = P((A) => A.selectedSheetId), m = P((A) => A.dashboard), { setIsVisualEditing: l, updateFrame: d } = be(), [o, f] = E(!1), [h, p] = E("both"), C = St(), y = (s == null ? void 0 : s.type) === "documentSection", D = !!(i != null && i.visualId || n != null && n.id), I = !!(i != null && i.visualId && c), N = D && !I, {
|
|
1053
1052
|
saveAsDialogOpen: g,
|
|
1054
1053
|
setSaveAsDialogOpen: S,
|
|
@@ -1200,7 +1199,7 @@ function jn(t = {}) {
|
|
|
1200
1199
|
)
|
|
1201
1200
|
] });
|
|
1202
1201
|
}
|
|
1203
|
-
function
|
|
1202
|
+
function jn({ className: t }) {
|
|
1204
1203
|
const a = ge((d) => d.isDevMode), i = P((d) => d.isVisualEditing), { setIsDevMode: s } = Bt(), { config: n } = Wt(lr).tokenProps, c = (n == null ? void 0 : n.showAdvancedMode) !== !1;
|
|
1205
1204
|
if (!i || !c)
|
|
1206
1205
|
return null;
|
|
@@ -1223,7 +1222,7 @@ function Wn({ className: t }) {
|
|
|
1223
1222
|
}
|
|
1224
1223
|
);
|
|
1225
1224
|
}
|
|
1226
|
-
function
|
|
1225
|
+
function Wn({
|
|
1227
1226
|
open: t,
|
|
1228
1227
|
onOpenChange: a,
|
|
1229
1228
|
onSave: i,
|
|
@@ -1268,7 +1267,7 @@ function Ua(t) {
|
|
|
1268
1267
|
const a = Date.now() - t.getTime();
|
|
1269
1268
|
return a < Va ? La : a < Ra ? Ba : Ta;
|
|
1270
1269
|
}
|
|
1271
|
-
function
|
|
1270
|
+
function Hn() {
|
|
1272
1271
|
const { authToken: t, tokenProps: a } = $e(), i = ue((h) => h.activeExports), [s, n] = E(
|
|
1273
1272
|
typeof document < "u" ? !document.hidden : !0
|
|
1274
1273
|
), c = he(null), u = he(!1), m = he(void 0), l = a == null ? void 0 : a.apiServiceUrl, d = t == null ? void 0 : t.accessToken, o = q(() => {
|
|
@@ -1382,7 +1381,7 @@ function Gn() {
|
|
|
1382
1381
|
inProgressCount: o().length
|
|
1383
1382
|
};
|
|
1384
1383
|
}
|
|
1385
|
-
function
|
|
1384
|
+
function Gn() {
|
|
1386
1385
|
const { authToken: t, tokenProps: a } = $e(), i = ue((m) => m.activeExports), { addExport: s } = kt(), n = he(!1), c = a == null ? void 0 : a.apiServiceUrl, u = t == null ? void 0 : t.accessToken;
|
|
1387
1386
|
J(() => {
|
|
1388
1387
|
if (n.current || !c || !u) return;
|
|
@@ -1666,7 +1665,7 @@ function Oa() {
|
|
|
1666
1665
|
)) }) })
|
|
1667
1666
|
] });
|
|
1668
1667
|
}
|
|
1669
|
-
function
|
|
1668
|
+
function Kn({
|
|
1670
1669
|
variant: t
|
|
1671
1670
|
}) {
|
|
1672
1671
|
const a = ue((l) => l.activeExports), i = gr(), s = a.size > 0, n = Array.from(a.values()).some(
|
|
@@ -1729,7 +1728,7 @@ function _a({
|
|
|
1729
1728
|
// create and make consumers use `forceClose()` from a dedicated
|
|
1730
1729
|
// button.
|
|
1731
1730
|
dismissMode: s ? "passive" : "explicit-only"
|
|
1732
|
-
}), h = P((x) => x.dashboard), { setDashboardControlsModel: p } = be(), { participants: C } = xr(
|
|
1731
|
+
}), h = P((x) => x.dashboard), { setDashboardControlsModel: p } = be(), { participants: C } = xr(Jr(h)), y = Array.from(
|
|
1733
1732
|
new Map(
|
|
1734
1733
|
C.flatMap(
|
|
1735
1734
|
(x) => x.fieldChoices.map((T) => {
|
|
@@ -1759,7 +1758,7 @@ function _a({
|
|
|
1759
1758
|
})
|
|
1760
1759
|
)
|
|
1761
1760
|
).values()
|
|
1762
|
-
), I =
|
|
1761
|
+
), I = ea({
|
|
1763
1762
|
...h || {},
|
|
1764
1763
|
controls: []
|
|
1765
1764
|
}), N = vr(h), g = (x, T, F) => {
|
|
@@ -1993,7 +1992,7 @@ function Ka({
|
|
|
1993
1992
|
if (!p)
|
|
1994
1993
|
continue;
|
|
1995
1994
|
l.add(p.id);
|
|
1996
|
-
const C =
|
|
1995
|
+
const C = ta(
|
|
1997
1996
|
p.id,
|
|
1998
1997
|
[...t, ...d].filter(
|
|
1999
1998
|
(D) => D.id !== h.id
|
|
@@ -2009,7 +2008,7 @@ function Ka({
|
|
|
2009
2008
|
}
|
|
2010
2009
|
for (const h of u.values())
|
|
2011
2010
|
l.has(h.id) || d.push(
|
|
2012
|
-
|
|
2011
|
+
wr({
|
|
2013
2012
|
control: h,
|
|
2014
2013
|
existingInputs: [...t, ...d],
|
|
2015
2014
|
sheetId: a
|
|
@@ -2034,7 +2033,7 @@ function qa({
|
|
|
2034
2033
|
pickerContentClassName: l,
|
|
2035
2034
|
settingsContentClassName: d
|
|
2036
2035
|
}) {
|
|
2037
|
-
const o = n === "toolbar", [f, h] = E(!1), p =
|
|
2036
|
+
const o = n === "toolbar", [f, h] = E(!1), p = Nr("interactive");
|
|
2038
2037
|
return /* @__PURE__ */ r(
|
|
2039
2038
|
"div",
|
|
2040
2039
|
{
|
|
@@ -2130,7 +2129,7 @@ function Xa() {
|
|
|
2130
2129
|
function Za() {
|
|
2131
2130
|
const t = P((l) => l.dashboard), a = P(
|
|
2132
2131
|
(l) => l.semanticExecutionPayload
|
|
2133
|
-
), i = P((l) => l.actions.addFilter), { hasEntities: s } = Xa(), { isLoading: n } =
|
|
2132
|
+
), i = P((l) => l.actions.addFilter), { hasEntities: s } = Xa(), { isLoading: n } = Sr(), c = ee(
|
|
2134
2133
|
() => ra(t, a),
|
|
2135
2134
|
[t, a]
|
|
2136
2135
|
), m = !aa(t.filters) && c.hasEligibleCards && !n;
|
|
@@ -2152,11 +2151,11 @@ function Za() {
|
|
|
2152
2151
|
}
|
|
2153
2152
|
) }),
|
|
2154
2153
|
!s && /* @__PURE__ */ r("div", { className: "flex flex-1 flex-col items-center justify-center px-6 py-8 text-center", children: [
|
|
2155
|
-
/* @__PURE__ */ e(
|
|
2154
|
+
/* @__PURE__ */ e(Dr, { className: "mb-3 h-10 w-10 text-muted-foreground/50" }),
|
|
2156
2155
|
/* @__PURE__ */ e("h3", { className: "mb-1 text-[13px] font-medium text-foreground", children: "No fields configured" }),
|
|
2157
2156
|
/* @__PURE__ */ e("p", { className: "text-[11px] text-muted-foreground", children: "Configure a data source for this card to enable filtering." })
|
|
2158
2157
|
] }),
|
|
2159
|
-
s && /* @__PURE__ */ e("div", { className: "flex flex-1 overflow-hidden", children: /* @__PURE__ */ e(
|
|
2158
|
+
s && /* @__PURE__ */ e("div", { className: "flex flex-1 overflow-hidden", children: /* @__PURE__ */ e(kr, { context: "filter" }) })
|
|
2160
2159
|
] });
|
|
2161
2160
|
}
|
|
2162
2161
|
const vt = !1;
|
|
@@ -2257,7 +2256,7 @@ function Ya({
|
|
|
2257
2256
|
)
|
|
2258
2257
|
] });
|
|
2259
2258
|
}
|
|
2260
|
-
function
|
|
2259
|
+
function qn({
|
|
2261
2260
|
size: t,
|
|
2262
2261
|
className: a,
|
|
2263
2262
|
primaryButtonClassName: i,
|
|
@@ -2266,7 +2265,7 @@ function Xn({
|
|
|
2266
2265
|
settingsContentClassName: c
|
|
2267
2266
|
}) {
|
|
2268
2267
|
var U;
|
|
2269
|
-
const [u, m] = E(null), l = P((b) => b.dashboard), d = P((b) => b.selectedSheetId), o = P((b) => b.showFilters), f =
|
|
2268
|
+
const [u, m] = E(null), l = P((b) => b.dashboard), d = P((b) => b.selectedSheetId), o = P((b) => b.showFilters), f = Ar((b) => b.setPanelOpen), h = P((b) => b.actions), { setDocumentInspectorTab: p, setShowFilters: C } = h, y = (U = l.sheets) == null ? void 0 : U.find(
|
|
2270
2269
|
(b) => b.id === d
|
|
2271
2270
|
), D = sa(y), I = q((b) => {
|
|
2272
2271
|
window.setTimeout(() => {
|
|
@@ -2857,7 +2856,7 @@ function un({
|
|
|
2857
2856
|
/* @__PURE__ */ e("span", { className: "text-border", children: "·" }),
|
|
2858
2857
|
/* @__PURE__ */ e("span", { children: sn(t) }),
|
|
2859
2858
|
/* @__PURE__ */ e("span", { className: "text-border", children: "·" }),
|
|
2860
|
-
/* @__PURE__ */ e(
|
|
2859
|
+
/* @__PURE__ */ e(Er, { className: "h-3 w-3" }),
|
|
2861
2860
|
/* @__PURE__ */ e("span", { className: "truncate", children: an(t) }),
|
|
2862
2861
|
t.lastRunAt ? /* @__PURE__ */ r(W, { children: [
|
|
2863
2862
|
/* @__PURE__ */ e("span", { className: "text-border", children: "·" }),
|
|
@@ -2906,7 +2905,7 @@ function un({
|
|
|
2906
2905
|
C.preventDefault(), n();
|
|
2907
2906
|
},
|
|
2908
2907
|
children: [
|
|
2909
|
-
/* @__PURE__ */ e(
|
|
2908
|
+
/* @__PURE__ */ e(Ir, { className: "h-3.5 w-3.5" }),
|
|
2910
2909
|
"Run now"
|
|
2911
2910
|
]
|
|
2912
2911
|
}
|
|
@@ -2918,10 +2917,10 @@ function un({
|
|
|
2918
2917
|
C.preventDefault(), c();
|
|
2919
2918
|
},
|
|
2920
2919
|
children: m ? /* @__PURE__ */ r(W, { children: [
|
|
2921
|
-
/* @__PURE__ */ e(
|
|
2920
|
+
/* @__PURE__ */ e(Fr, { className: "h-3.5 w-3.5" }),
|
|
2922
2921
|
"Resume"
|
|
2923
2922
|
] }) : /* @__PURE__ */ r(W, { children: [
|
|
2924
|
-
/* @__PURE__ */ e(
|
|
2923
|
+
/* @__PURE__ */ e(Lr, { className: "h-3.5 w-3.5" }),
|
|
2925
2924
|
"Pause"
|
|
2926
2925
|
] })
|
|
2927
2926
|
}
|
|
@@ -2974,12 +2973,12 @@ async function bn(t) {
|
|
|
2974
2973
|
return i;
|
|
2975
2974
|
}
|
|
2976
2975
|
const xn = {
|
|
2977
|
-
listBriefings:
|
|
2978
|
-
getBriefing:
|
|
2979
|
-
pauseBriefing:
|
|
2980
|
-
resumeBriefing:
|
|
2981
|
-
deleteBriefing:
|
|
2982
|
-
runBriefingNow:
|
|
2976
|
+
listBriefings: Or,
|
|
2977
|
+
getBriefing: Mr,
|
|
2978
|
+
pauseBriefing: Pr,
|
|
2979
|
+
resumeBriefing: Ur,
|
|
2980
|
+
deleteBriefing: Rr,
|
|
2981
|
+
runBriefingNow: Vr
|
|
2983
2982
|
};
|
|
2984
2983
|
function vn({
|
|
2985
2984
|
briefingId: t,
|
|
@@ -2990,7 +2989,7 @@ function vn({
|
|
|
2990
2989
|
onTimeout: c,
|
|
2991
2990
|
onExpand: u
|
|
2992
2991
|
}) {
|
|
2993
|
-
const [m, l] = E(a), { startRun: d } =
|
|
2992
|
+
const [m, l] = E(a), { startRun: d } = Kr({
|
|
2994
2993
|
apiServiceUrl: i,
|
|
2995
2994
|
token: s,
|
|
2996
2995
|
intervalMs: hn,
|
|
@@ -2999,7 +2998,7 @@ function vn({
|
|
|
2999
2998
|
apiServiceUrl: f,
|
|
3000
2999
|
token: h,
|
|
3001
3000
|
runId: p
|
|
3002
|
-
}) =>
|
|
3001
|
+
}) => qr(f, h, t, p),
|
|
3003
3002
|
onRun: (f) => {
|
|
3004
3003
|
l(f);
|
|
3005
3004
|
},
|
|
@@ -3011,11 +3010,11 @@ function vn({
|
|
|
3011
3010
|
}
|
|
3012
3011
|
}), o = he(!1);
|
|
3013
3012
|
return J(() => {
|
|
3014
|
-
o.current || (o.current = !0,
|
|
3015
|
-
}, [a, n, d]), /* @__PURE__ */ e(
|
|
3013
|
+
o.current || (o.current = !0, Xr(a.status) ? d(a) : Zr(a.status) && n(a));
|
|
3014
|
+
}, [a, n, d]), /* @__PURE__ */ e(Qr, { run: m, onExpand: u });
|
|
3016
3015
|
}
|
|
3017
|
-
function
|
|
3018
|
-
return /* @__PURE__ */ e(
|
|
3016
|
+
function Xn(t) {
|
|
3017
|
+
return /* @__PURE__ */ e(Br, { children: /* @__PURE__ */ e(yn, { ...t }) });
|
|
3019
3018
|
}
|
|
3020
3019
|
function yn({
|
|
3021
3020
|
dashboardId: t,
|
|
@@ -3031,7 +3030,7 @@ function yn({
|
|
|
3031
3030
|
workflowIntent: o,
|
|
3032
3031
|
client: f
|
|
3033
3032
|
}) {
|
|
3034
|
-
const { authToken: h, tokenProps: p } = $e(), C =
|
|
3033
|
+
const { authToken: h, tokenProps: p } = $e(), C = Tr(), y = !o || C.canCreate && (o === "scheduled_report" || C.analyticalBriefingsEnabled), [D, I] = E(!1), N = m ?? D, g = (w) => {
|
|
3035
3034
|
m === void 0 && I(w), l == null || l(w);
|
|
3036
3035
|
}, [S, k] = E(
|
|
3037
3036
|
o ? "author" : "list"
|
|
@@ -3179,7 +3178,7 @@ function yn({
|
|
|
3179
3178
|
Q(null);
|
|
3180
3179
|
}
|
|
3181
3180
|
}, $t = Ie.length;
|
|
3182
|
-
return C.surfaceVisible ? /* @__PURE__ */ r(
|
|
3181
|
+
return C.surfaceVisible ? /* @__PURE__ */ r(zr, { open: N, onOpenChange: g, children: [
|
|
3183
3182
|
d ? null : /* @__PURE__ */ e(
|
|
3184
3183
|
Ja,
|
|
3185
3184
|
{
|
|
@@ -3190,7 +3189,7 @@ function yn({
|
|
|
3190
3189
|
}
|
|
3191
3190
|
),
|
|
3192
3191
|
/* @__PURE__ */ r(
|
|
3193
|
-
|
|
3192
|
+
_r,
|
|
3194
3193
|
{
|
|
3195
3194
|
ref: ye,
|
|
3196
3195
|
side: "right",
|
|
@@ -3201,9 +3200,9 @@ function yn({
|
|
|
3201
3200
|
w.preventDefault(), (R = ye.current) == null || R.focus({ preventScroll: !0 });
|
|
3202
3201
|
},
|
|
3203
3202
|
children: [
|
|
3204
|
-
/* @__PURE__ */ r(
|
|
3205
|
-
/* @__PURE__ */ e(
|
|
3206
|
-
/* @__PURE__ */ e(
|
|
3203
|
+
/* @__PURE__ */ r($r, { className: "sr-only", children: [
|
|
3204
|
+
/* @__PURE__ */ e(jr, { children: "Reports & briefings" }),
|
|
3205
|
+
/* @__PURE__ */ e(Wr, { children: "Manage reports and briefings for this dashboard." })
|
|
3207
3206
|
] }),
|
|
3208
3207
|
o ? /* @__PURE__ */ r("div", { className: "flex shrink-0 items-start justify-between gap-3 border-b border-border pl-4 pr-3 pt-2", children: [
|
|
3209
3208
|
/* @__PURE__ */ r(
|
|
@@ -3294,7 +3293,7 @@ function yn({
|
|
|
3294
3293
|
hideHeader: !!o
|
|
3295
3294
|
}
|
|
3296
3295
|
) : /* @__PURE__ */ e(
|
|
3297
|
-
|
|
3296
|
+
Hr,
|
|
3298
3297
|
{
|
|
3299
3298
|
apiServiceUrl: _,
|
|
3300
3299
|
token: $,
|
|
@@ -3345,7 +3344,7 @@ function yn({
|
|
|
3345
3344
|
}
|
|
3346
3345
|
) : null,
|
|
3347
3346
|
Y ? /* @__PURE__ */ e("div", { className: "fixed bottom-4 right-4 z-50 w-[360px]", children: /* @__PURE__ */ e(
|
|
3348
|
-
|
|
3347
|
+
Gr,
|
|
3349
3348
|
{
|
|
3350
3349
|
title: Y.run.status === "SUCCESS" ? `${Y.briefing.name} is ready` : `${Y.briefing.name} run failed`,
|
|
3351
3350
|
durationSeconds: Y.run.startedAt && Y.run.completedAt ? Math.max(
|
|
@@ -3406,19 +3405,19 @@ function Cn() {
|
|
|
3406
3405
|
return typeof crypto < "u" && typeof crypto.randomUUID == "function" ? crypto.randomUUID() : `briefing-run-now-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`;
|
|
3407
3406
|
}
|
|
3408
3407
|
export {
|
|
3409
|
-
|
|
3408
|
+
jn as A,
|
|
3410
3409
|
_a as D,
|
|
3411
3410
|
Oa as E,
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3411
|
+
Kn as N,
|
|
3412
|
+
Wn as U,
|
|
3413
|
+
_n as V,
|
|
3415
3414
|
Ja as W,
|
|
3416
|
-
|
|
3415
|
+
$n as a,
|
|
3417
3416
|
Ma as b,
|
|
3418
|
-
|
|
3417
|
+
Gn as c,
|
|
3419
3418
|
ja as d,
|
|
3420
3419
|
qa as e,
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3420
|
+
qn as f,
|
|
3421
|
+
Xn as g,
|
|
3422
|
+
Hn as u
|
|
3424
3423
|
};
|