react-semaphor 0.1.600 → 0.1.601
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 +9 -9
- package/dist/assistant-context/index.js +1 -1
- package/dist/brand-studio/index.js +7 -7
- package/dist/briefings/index.js +48 -45
- package/dist/chunks/{assistant-chat-BULOkG9j.js → assistant-chat-BE0XXzZP.js} +12 -12
- package/dist/chunks/{bookmark-impact-kdvXke8n.js → bookmark-impact-DXDAN5AY.js} +3 -3
- package/dist/chunks/{bookmark-state-h1OLXVjE.js → bookmark-state-BMyB3Tb6.js} +4 -4
- package/dist/chunks/{card-filter-builder-CSCdSQQy.js → card-filter-builder-CE0-YVN5.js} +9 -9
- package/dist/chunks/comparison-window-caption-Dxj2CHOa.js +741 -0
- package/dist/chunks/{dashboard-briefing-launcher-9YwUclHA.js → dashboard-briefing-launcher-CntwKyiZ.js} +13 -13
- package/dist/chunks/{dashboard-controls-O6PNXMCp.js → dashboard-controls-XO089DMg.js} +15 -15
- package/dist/chunks/{dashboard-json-Bxf91TYq.js → dashboard-json-CQRiydUv.js} +4 -4
- package/dist/chunks/{dashboard-y9ON19ge.js → dashboard-mJKPFRbb.js} +1 -1
- package/dist/chunks/{dates-DPTbpNxK.js → dates-B-Urp5OD.js} +8 -8
- package/dist/chunks/{edit-dashboard-visual-CKwaW8H_.js → edit-dashboard-visual-f-Dm-BLR.js} +176 -176
- package/dist/chunks/filter-line-CKNMyNTQ.js +703 -0
- package/dist/chunks/{filter-reach-copy-ClzNcNhP.js → filter-reach-copy-B8GGyVuR.js} +1441 -1270
- package/dist/chunks/{filter-value-text-CXyuLW9Q.js → filter-value-text-CRtKecI5.js} +6 -6
- package/dist/chunks/{index-CRo5--Y6.js → index-DoPApnxg.js} +386 -360
- package/dist/chunks/{layout-grid-DSrBSfPM.js → layout-grid-CiSCZdIr.js} +1 -1
- package/dist/chunks/{matrix-analytical-definition-i9PQY066.js → matrix-analytical-definition-myf3D3Qx.js} +35 -35
- package/dist/chunks/{matrix-member-presentation-B_2beBc0.js → matrix-member-presentation-g0c_NpDW.js} +1 -1
- package/dist/chunks/{matrix-operation-contract-DdK0J_KU.js → matrix-operation-contract-C1SuOHLZ.js} +35 -35
- package/dist/chunks/{metric-comparison-Bhz0V841.js → metric-comparison-Cm0G893W.js} +3 -3
- package/dist/chunks/{paintbrush-1UiU-uTz.js → paintbrush-DQIwqlck.js} +1 -1
- package/dist/chunks/{palette-DFIFf_-m.js → palette-Cun747Rg.js} +1 -1
- package/dist/chunks/{pivot-result-contract-expectations-Dk7WFR_u.js → pivot-result-contract-expectations-C1Dyx8du.js} +17 -17
- package/dist/chunks/{pivot-result-identity-CzzrJpEm.js → pivot-result-identity-CBS-ssEp.js} +1 -1
- package/dist/chunks/{raw-temporal-value-BLvdaMng.js → raw-temporal-value-DN_l-Tss.js} +16 -16
- package/dist/chunks/{report-preferences-dialog-DiDsYpng.js → report-preferences-dialog-SDZEcG2x.js} +13 -13
- package/dist/chunks/{report-runtime-context-CEGluufW.js → report-runtime-context-BbedQdtc.js} +1 -1
- package/dist/chunks/{resolve-dashboard-input-context-BAv33KGg.js → resolve-dashboard-input-context-DRBS0eRa.js} +553 -553
- package/dist/chunks/{save-CWQ02kHo.js → save-Dj5bjm7P.js} +1 -1
- package/dist/chunks/{saved-dashboard-context-CvzYqADe.js → saved-dashboard-context-DWVlJcsa.js} +15 -15
- package/dist/chunks/{selection-filter-compiler-SwrBvyyJ.js → selection-filter-compiler-DmAr7yqC.js} +1 -1
- package/dist/chunks/{semaphor-ready-indicator-1PRI9Yh2.js → semaphor-ready-indicator-OFOoAY-A.js} +16370 -16518
- package/dist/chunks/{shelf-drop-preview-context-BLk5Nc6K.js → shelf-drop-preview-context-2swWypXu.js} +5 -5
- package/dist/chunks/{stored-dashboard-xhYYKBsO.js → stored-dashboard-NtOuEX6a.js} +111 -111
- package/dist/chunks/{style-sheet-parts-BX7d7-2-.js → style-sheet-parts-Qv4UcLAo.js} +2 -2
- package/dist/chunks/{table-export-sheet-BWSVTclx.js → table-export-sheet-Do7ZB0_F.js} +1 -1
- package/dist/chunks/{token-types-CnlEiAdS.js → token-types-Dy_aXO-U.js} +1 -1
- package/dist/chunks/{upload-DsqUSS8l.js → upload-Bq-puSVy.js} +1 -1
- package/dist/chunks/{validators-D2Hm57lJ.js → validators-C7DFk3QK.js} +78 -78
- package/dist/chunks/{variable-draft-DcKj8T1b.js → variable-draft-Cy03qnEi.js} +4 -4
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +80 -75
- package/dist/format-utils/index.js +238 -237
- package/dist/index.js +18 -18
- package/dist/report-runtime-context/index.js +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/briefings/attachment-outcomes.d.ts +1 -1
- package/dist/types/briefings/attachments.d.ts +45 -4
- package/dist/types/briefings/index.d.ts +1 -1
- package/dist/types/index.js +5 -5
- package/dist/types/lib/export-utils.d.ts +72 -0
- package/dist/types/lib/formatters/dashboard-temporal-presentation.d.ts +10 -0
- package/dist/types/shared/dashboard-authoring/card-data-file.d.ts +31 -0
- package/dist/types/shared/dashboard-authoring/index.d.ts +3 -0
- package/package.json +1 -1
- package/dist/chunks/comparison-window-caption-DJDwP9XO.js +0 -1309
- package/dist/chunks/filter-line-Dkg3yuOX.js +0 -134
package/dist/chunks/{saved-dashboard-context-CvzYqADe.js → saved-dashboard-context-DWVlJcsa.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
var Z = Object.defineProperty;
|
|
2
2
|
var Q = (e, t, a) => t in e ? Z(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
|
|
3
3
|
var F = (e, t, a) => Q(e, typeof t != "symbol" ? t + "" : t, a);
|
|
4
|
-
import { D as S, F as U, G as K, H as W } from "./bookmark-state-
|
|
5
|
-
import { s as X, k as Y, n as ee, m as te, o as ae, p as re, q as ne, t as se, u as oe, v as ie, w as j, x as de, y as le, z as ce } from "./resolve-dashboard-input-context-
|
|
6
|
-
import { c as ue, e as L, b as me, d as fe, p as q, f as he, g as pe, r as _, i as O, j as be, m as ge, k as Ce } from "./stored-dashboard-
|
|
4
|
+
import { D as S, F as U, G as K, H as W } from "./bookmark-state-BMyB3Tb6.js";
|
|
5
|
+
import { s as X, k as Y, n as ee, m as te, o as ae, p as re, q as ne, t as se, u as oe, v as ie, w as j, x as de, y as le, z as ce } from "./resolve-dashboard-input-context-DRBS0eRa.js";
|
|
6
|
+
import { c as ue, e as L, b as me, d as fe, p as q, f as he, g as pe, r as _, i as O, j as be, m as ge, k as Ce } from "./stored-dashboard-NtOuEX6a.js";
|
|
7
7
|
import { f as g, A as P, c as Ie, d as ye, e as M } from "./context-BJoEFgNl.js";
|
|
8
|
-
import { a as ve, T as xe, P as Ve, o as I, d as B, b as w } from "./filter-value-text-
|
|
9
|
-
import {
|
|
10
|
-
import { b as
|
|
11
|
-
import { i as qe } from "./matrix-analytical-definition-
|
|
8
|
+
import { a as ve, T as xe, P as Ve, o as I, d as B, b as w } from "./filter-value-text-CRtKecI5.js";
|
|
9
|
+
import { k as Se, a9 as ke } from "./validators-C7DFk3QK.js";
|
|
10
|
+
import { b as $e } from "./metric-comparison-Cm0G893W.js";
|
|
11
|
+
import { i as qe } from "./matrix-analytical-definition-myf3D3Qx.js";
|
|
12
12
|
function _e(e) {
|
|
13
13
|
const t = e.qualifiedFieldName || e.name;
|
|
14
14
|
return e.label && e.label !== t ? `${e.label} (field ${t})` : t;
|
|
@@ -47,7 +47,7 @@ function De(e, t) {
|
|
|
47
47
|
}, t);
|
|
48
48
|
}
|
|
49
49
|
function Fe(e) {
|
|
50
|
-
return e.temporalBucket ? { kind: "bucket", bucket: e.temporalBucket } :
|
|
50
|
+
return e.temporalBucket ? { kind: "bucket", bucket: e.temporalBucket } : ke(e.field.dataType) ? xe : Ve;
|
|
51
51
|
}
|
|
52
52
|
function H(e) {
|
|
53
53
|
if (e.kind === "target") return `a target of ${e.targetValue}`;
|
|
@@ -64,7 +64,7 @@ function Ae(e, t) {
|
|
|
64
64
|
const a = t.source === "explicit" ? "set on the measure" : `from the dashboard date comparison on ${Me(t.owner)}`;
|
|
65
65
|
return `${e} is compared with ${H(t.spec)} (${a})`;
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function $(e) {
|
|
68
68
|
const t = X(e) ?? "undefined";
|
|
69
69
|
return `${A(t, 2654435769).toString(16)}${A(t, 2246822507).toString(16)}`;
|
|
70
70
|
}
|
|
@@ -81,11 +81,11 @@ function Re(e, t, a) {
|
|
|
81
81
|
var y;
|
|
82
82
|
const r = t !== "pending" && (t == null ? void 0 : t.status) === "ready" ? t : void 0, n = Te(e, t);
|
|
83
83
|
if (n) {
|
|
84
|
-
const v = t !== "pending" && (t == null ? void 0 : t.status) === "blocked" ? Ee(t) : void 0,
|
|
84
|
+
const v = t !== "pending" && (t == null ? void 0 : t.status) === "blocked" ? Ee(t) : void 0, k = v ? g(v, h.textChars) : void 0;
|
|
85
85
|
return {
|
|
86
86
|
// A card that runs but is not described still changes when it runs differently.
|
|
87
|
-
fingerprint:
|
|
88
|
-
description: { status: "not_described", reason: n,
|
|
87
|
+
fingerprint: $(r ? R(r, a.calendar) : { reason: n, message: k }),
|
|
88
|
+
description: { status: "not_described", reason: n, ...k ? { message: k } : {} }
|
|
89
89
|
};
|
|
90
90
|
}
|
|
91
91
|
const s = r, l = s.queryContext, m = Le(s), o = Be(s, a), c = ze(s), i = Oe(s), u = l.drillSteps.map((v) => g(
|
|
@@ -100,7 +100,7 @@ function Re(e, t, a) {
|
|
|
100
100
|
comparisons: I(i.length, h.cardFields)
|
|
101
101
|
}, p = Object.fromEntries(Object.entries(f).filter(([, v]) => v > 0));
|
|
102
102
|
return {
|
|
103
|
-
fingerprint:
|
|
103
|
+
fingerprint: $(R(s, a.calendar)),
|
|
104
104
|
description: {
|
|
105
105
|
status: "described",
|
|
106
106
|
fields: m.slice(0, h.cardFields),
|
|
@@ -158,7 +158,7 @@ function Le(e) {
|
|
|
158
158
|
function Oe(e) {
|
|
159
159
|
const t = e.queryContext;
|
|
160
160
|
return (t.finalConfig.metricColumns ?? []).flatMap((a) => {
|
|
161
|
-
const r =
|
|
161
|
+
const r = $e({
|
|
162
162
|
metricComparison: a.comparison,
|
|
163
163
|
globalDateComparison: t.globalDateComparison
|
|
164
164
|
});
|
|
@@ -410,7 +410,7 @@ function Xe(e, t, a) {
|
|
|
410
410
|
...a ? { notApplied: "opened_from_another_dashboard" } : {},
|
|
411
411
|
// The resolved value itself, with any date comparison on it and whether
|
|
412
412
|
// the view applies it, so any change counts, shown or not.
|
|
413
|
-
fingerprint:
|
|
413
|
+
fingerprint: $(
|
|
414
414
|
(n == null ? void 0 : n.kind) === "filter" ? { filter: n.filterValue, comparison: n.comparisonSelection ?? null, notApplied: a } : { control: n == null ? void 0 : n.controlValue }
|
|
415
415
|
)
|
|
416
416
|
}
|
package/dist/chunks/{selection-filter-compiler-SwrBvyyJ.js → selection-filter-compiler-DmAr7yqC.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as d } from "./matrix-analytical-definition-
|
|
1
|
+
import { i as d } from "./matrix-analytical-definition-myf3D3Qx.js";
|
|
2
2
|
function m(e, t) {
|
|
3
3
|
var a, l;
|
|
4
4
|
const n = e.name.split(".").pop(), r = (a = e.fieldMeta) == null ? void 0 : a.qualifiedFieldName, i = !!(t.qualifiedFieldName && (r || e.name) === t.qualifiedFieldName), o = !((l = t.qualifiedFieldName) != null && l.includes(".")) && n === t.name;
|