react-semaphor 0.1.581 → 0.1.583
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 +1 -1
- package/dist/assistant-context/index.js +1 -1
- package/dist/briefings/index.js +2 -2
- package/dist/chunks/{assistant-chat-CUwGURJj.js → assistant-chat-D3fm5qod.js} +6 -6
- package/dist/chunks/{bookmark-impact-BNyR-yDX.js → bookmark-impact-Dpxl46Wd.js} +1 -1
- package/dist/chunks/{card-filter-builder-k9yqDSw8.js → card-filter-builder-IxkFVxy2.js} +3 -3
- package/dist/chunks/{comparison-window-caption-DdLqMgiG.js → comparison-window-caption-sRFtnX1q.js} +15 -15
- package/dist/chunks/{dashboard-DvcAk8uJ.js → dashboard-BMqG98fc.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-DBgS97ZH.js → dashboard-briefing-launcher-D45YfCkm.js} +83 -83
- package/dist/chunks/{dashboard-controls-BiZ1rlNC.js → dashboard-controls-DOvZRfof.js} +8 -8
- package/dist/chunks/{dashboard-json-B25xzYcJ.js → dashboard-json-B_4TqF_o.js} +1 -1
- package/dist/chunks/{dates-3Pah03_l.js → dates-44_rcNj2.js} +5 -5
- package/dist/chunks/{edit-dashboard-visual-DYuO3mEU.js → edit-dashboard-visual-BBPKJWSe.js} +2154 -2144
- package/dist/chunks/{filter-reach-copy-CzLt96tq.js → filter-reach-copy-DWPq4Swi.js} +655 -655
- package/dist/chunks/{filter-value-text-DvvSNlho.js → filter-value-text-DXGYypEd.js} +1 -1
- package/dist/chunks/{index-BMZq6JT6.js → index-DPRzcFp0.js} +2 -2
- package/dist/chunks/{matrix-analytical-definition-dkS8szLM.js → matrix-analytical-definition-D_HgptqZ.js} +1 -1
- package/dist/chunks/pivot-header-presentation-MvvlxtIB.js +42 -0
- package/dist/chunks/{temporal-input-presentation-CqbJjIuu.js → pivot-result-contract-expectations-8tuNjRvG.js} +570 -560
- package/dist/chunks/{report-preferences-dialog-DpAetrdY.js → report-preferences-dialog-B8PhISua.js} +8 -8
- package/dist/chunks/{resolve-dashboard-input-context-CNxtkCzj.js → resolve-dashboard-input-context-BfT8y5xL.js} +7041 -6751
- package/dist/chunks/{saved-dashboard-context-Bnt0H7mi.js → saved-dashboard-context-DH91-2B9.js} +3 -3
- package/dist/chunks/{semaphor-ready-indicator-Dwmvmf0S.js → semaphor-ready-indicator-Cg_Z2IDc.js} +26974 -26890
- package/dist/chunks/{shelf-drop-preview-context-CiveteBS.js → shelf-drop-preview-context-C7-BgcP4.js} +2 -2
- package/dist/chunks/{stored-dashboard-D3gu-D7A.js → stored-dashboard-BpyCiE49.js} +1214 -1389
- package/dist/chunks/{table-export-sheet-BNGSJA2N.js → table-export-sheet-wBkk17aa.js} +1 -1
- package/dist/chunks/{variable-draft-C3_RL2gI.js → variable-draft-D8GFhAkm.js} +3 -3
- package/dist/dashboard/index.js +1 -1
- package/dist/dashboard-authoring/index.js +1549 -1534
- package/dist/format-utils/index.js +207 -206
- package/dist/index.js +12 -12
- package/dist/style.css +1 -1
- package/dist/surfboard/index.js +1 -1
- package/dist/types/components/ui-custom/date-range-presets.d.ts +7 -0
- package/dist/types/components/visual/data-table/types/data-table.d.ts +16 -6
- package/dist/types/lib/document/document-section-query-options.d.ts +3 -4
- package/dist/types/lib/hooks/use-dashboard-frame-query.d.ts +4 -1
- package/dist/types/lib/query-context/card-server-request.d.ts +6 -4
- package/dist/types/lib/table-formatting/table-totals-settings.d.ts +25 -2
- package/dist/types/lib/types/explorer-types.d.ts +7 -2
- package/dist/types/shared/dashboard-authoring/card-settings/card-display-write.d.ts +19 -2
- package/dist/types/shared/dashboard-authoring/card-settings/inputs.d.ts +12 -3
- package/dist/types/shared/dashboard-authoring/card-settings/resolved.d.ts +4 -1
- package/dist/types/shared/dashboard-authoring/measure-calculations/index.d.ts +1 -0
- package/dist/types/shared/dashboard-authoring/measure-calculations/table-column-total.d.ts +42 -0
- package/dist/types/shared/dashboard-authoring/operations/operation-types.d.ts +7 -0
- package/dist/types/shared/format-utils/flat-table-export-totals.d.ts +6 -1
- package/dist/types/shared/usage-events/details.d.ts +2 -2
- package/package.json +1 -1
- package/dist/chunks/pivot-result-contract-expectations-C-HnUKYe.js +0 -55
|
@@ -2,7 +2,7 @@ import { j as p, r as y } from "./validators-B8fpdinG.js";
|
|
|
2
2
|
import { a as I } from "./metric-comparison-n9NsIa-2.js";
|
|
3
3
|
import "../value-format-preferences/index.js";
|
|
4
4
|
import { c as N } from "./raw-temporal-value-DdT0s47W.js";
|
|
5
|
-
import {
|
|
5
|
+
import { aa as k, a9 as T } from "./pivot-result-contract-expectations-8tuNjRvG.js";
|
|
6
6
|
const d = { kind: "plain" }, g = { kind: "temporal" }, D = {
|
|
7
7
|
"=": "=",
|
|
8
8
|
"!=": "!=",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var De = Object.defineProperty;
|
|
2
2
|
var Oe = (e, n, t) => n in e ? De(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
|
|
3
3
|
var M = (e, n, t) => Oe(e, typeof n != "symbol" ? n + "" : n, t);
|
|
4
|
-
import {
|
|
4
|
+
import { au as Ne, X as Fe, ah as oe, O as se, k as Re, W as Me, S as F } from "./pivot-result-contract-expectations-8tuNjRvG.js";
|
|
5
5
|
import { T as X, a5 as Le, S as Be } from "./validators-B8fpdinG.js";
|
|
6
6
|
import { l as Ue, C as Pe } from "./export-file-format-C-tJsxsf.js";
|
|
7
7
|
import { z as y } from "zod";
|
|
@@ -9,7 +9,7 @@ import { ah as Ve, aj as ze, W as je } from "./matrix-operation-contract-DCVinw1
|
|
|
9
9
|
import "./analytics-base-schemas-BaIQrEzX.js";
|
|
10
10
|
import "../value-format-preferences/index.js";
|
|
11
11
|
import { r as qe } from "./rendered-file-D8xEuVVx.js";
|
|
12
|
-
import { J as Ke, K as Ge, L as He, M as We, N as Xe, n as Ze, O as Ye, P as Je, Q as Qe, R as et, S as tt, T as nt, U as rt } from "./resolve-dashboard-input-context-
|
|
12
|
+
import { J as Ke, K as Ge, L as He, M as We, N as Xe, n as Ze, O as Ye, P as Je, Q as Qe, R as et, S as tt, T as nt, U as rt } from "./resolve-dashboard-input-context-BfT8y5xL.js";
|
|
13
13
|
import { H as ot, I as at } from "./bookmark-state-BEl_G9vr.js";
|
|
14
14
|
import "./pickers-DkqmtnTL.js";
|
|
15
15
|
import "./schema-C9NPiIru.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { am as N, ao as Q, ag as X, ae as p, an as _e, af as ie, at as De, ah as Ae, a5 as K, I as ae, o as Ee } from "./validators-B8fpdinG.js";
|
|
2
2
|
import { r as qe } from "./metric-comparison-n9NsIa-2.js";
|
|
3
|
-
import {
|
|
3
|
+
import { b as Z, d as Be, w as _ } from "./raw-temporal-value-DdT0s47W.js";
|
|
4
4
|
const Y = 864e5, ee = {
|
|
5
5
|
second: 1e3,
|
|
6
6
|
minute: 6e4,
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
var d = Object.defineProperty;
|
|
2
|
+
var c = (e, r, t) => r in e ? d(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
|
|
3
|
+
var i = (e, r, t) => c(e, typeof r != "symbol" ? r + "" : r, t);
|
|
4
|
+
import { f } from "./pivot-result-contract-expectations-8tuNjRvG.js";
|
|
5
|
+
class v extends Error {
|
|
6
|
+
constructor(t, a) {
|
|
7
|
+
super(`${t}: ${a}`);
|
|
8
|
+
i(this, "deliveryBlocking", !0);
|
|
9
|
+
this.code = t, this.name = "PivotHeaderPresentationError";
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
function p(e) {
|
|
13
|
+
var l;
|
|
14
|
+
const r = e.mode ?? "formatted", t = e.members.map((o) => {
|
|
15
|
+
var n;
|
|
16
|
+
if (r === "canonical" || !o.temporalBucket)
|
|
17
|
+
return o.value === null ? "" : String(o.value);
|
|
18
|
+
const s = (n = e.resolveTemporalFormat) == null ? void 0 : n.call(e, o.fieldId);
|
|
19
|
+
if (!s)
|
|
20
|
+
throw new v(
|
|
21
|
+
"missing_resolved_temporal_format",
|
|
22
|
+
`Missing resolved temporal presentation for pivot field "${o.fieldId}"`
|
|
23
|
+
);
|
|
24
|
+
return f({
|
|
25
|
+
value: o.value,
|
|
26
|
+
metadata: o.temporalBucket,
|
|
27
|
+
format: s
|
|
28
|
+
});
|
|
29
|
+
}), a = ((l = e.metricLabel) == null ? void 0 : l.trim()) || void 0;
|
|
30
|
+
return {
|
|
31
|
+
memberLabels: t,
|
|
32
|
+
...a ? { metricLabel: a } : {},
|
|
33
|
+
flattenedLabel: [
|
|
34
|
+
...t,
|
|
35
|
+
...a ? [a] : []
|
|
36
|
+
].join(" / ")
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export {
|
|
40
|
+
v as P,
|
|
41
|
+
p
|
|
42
|
+
};
|