react-semaphor 0.1.599 → 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.
Files changed (62) hide show
  1. package/dist/analytics-protocol/index.js +106 -105
  2. package/dist/assistant-context/index.js +1 -1
  3. package/dist/brand-studio/index.js +7 -7
  4. package/dist/briefings/index.js +48 -45
  5. package/dist/chunks/{assistant-chat-f3XuzrAm.js → assistant-chat-BE0XXzZP.js} +12 -12
  6. package/dist/chunks/{bookmark-impact-B5hyttm2.js → bookmark-impact-DXDAN5AY.js} +3 -3
  7. package/dist/chunks/{bookmark-state-h1OLXVjE.js → bookmark-state-BMyB3Tb6.js} +4 -4
  8. package/dist/chunks/{card-filter-builder-DfLqD2RV.js → card-filter-builder-CE0-YVN5.js} +9 -9
  9. package/dist/chunks/comparison-window-caption-Dxj2CHOa.js +741 -0
  10. package/dist/chunks/{dashboard-briefing-launcher-RxYGtk-F.js → dashboard-briefing-launcher-CntwKyiZ.js} +13 -13
  11. package/dist/chunks/{dashboard-controls-DeaXrtLK.js → dashboard-controls-XO089DMg.js} +15 -15
  12. package/dist/chunks/{dashboard-json-DvxKpKd_.js → dashboard-json-CQRiydUv.js} +4 -4
  13. package/dist/chunks/{dashboard-CoI4aOUc.js → dashboard-mJKPFRbb.js} +1 -1
  14. package/dist/chunks/{dates-BhtO28Sn.js → dates-B-Urp5OD.js} +8 -8
  15. package/dist/chunks/{edit-dashboard-visual-C4f5hONA.js → edit-dashboard-visual-f-Dm-BLR.js} +176 -176
  16. package/dist/chunks/filter-line-CKNMyNTQ.js +703 -0
  17. package/dist/chunks/{filter-reach-copy-Cl5Od38Q.js → filter-reach-copy-B8GGyVuR.js} +1441 -1270
  18. package/dist/chunks/{filter-value-text-CXyuLW9Q.js → filter-value-text-CRtKecI5.js} +6 -6
  19. package/dist/chunks/{index-EKpTtkYF.js → index-DoPApnxg.js} +386 -360
  20. package/dist/chunks/{layout-grid-DSrBSfPM.js → layout-grid-CiSCZdIr.js} +1 -1
  21. package/dist/chunks/{matrix-analytical-definition-BuUSBDm7.js → matrix-analytical-definition-myf3D3Qx.js} +383 -362
  22. package/dist/chunks/{matrix-member-presentation-B_2beBc0.js → matrix-member-presentation-g0c_NpDW.js} +1 -1
  23. package/dist/chunks/{matrix-operation-contract-DdK0J_KU.js → matrix-operation-contract-C1SuOHLZ.js} +35 -35
  24. package/dist/chunks/{metric-comparison-Bhz0V841.js → metric-comparison-Cm0G893W.js} +3 -3
  25. package/dist/chunks/{paintbrush-1UiU-uTz.js → paintbrush-DQIwqlck.js} +1 -1
  26. package/dist/chunks/{palette-DFIFf_-m.js → palette-Cun747Rg.js} +1 -1
  27. package/dist/chunks/{pivot-result-contract-expectations-Dk7WFR_u.js → pivot-result-contract-expectations-C1Dyx8du.js} +17 -17
  28. package/dist/chunks/{pivot-result-identity-CzzrJpEm.js → pivot-result-identity-CBS-ssEp.js} +1 -1
  29. package/dist/chunks/{raw-temporal-value-BLvdaMng.js → raw-temporal-value-DN_l-Tss.js} +16 -16
  30. package/dist/chunks/{report-preferences-dialog-CZaYsQLK.js → report-preferences-dialog-SDZEcG2x.js} +13 -13
  31. package/dist/chunks/{report-runtime-context-CEGluufW.js → report-runtime-context-BbedQdtc.js} +1 -1
  32. package/dist/chunks/{resolve-dashboard-input-context-vPtbuDDz.js → resolve-dashboard-input-context-DRBS0eRa.js} +553 -553
  33. package/dist/chunks/{save-CWQ02kHo.js → save-Dj5bjm7P.js} +1 -1
  34. package/dist/chunks/{saved-dashboard-context-C6X5nP4C.js → saved-dashboard-context-DWVlJcsa.js} +15 -15
  35. package/dist/chunks/{selection-filter-compiler-Ce4BpjRX.js → selection-filter-compiler-DmAr7yqC.js} +1 -1
  36. package/dist/chunks/{semaphor-ready-indicator-BUiaKY6O.js → semaphor-ready-indicator-OFOoAY-A.js} +16370 -16518
  37. package/dist/chunks/{shelf-drop-preview-context-CwxWJjBv.js → shelf-drop-preview-context-2swWypXu.js} +5 -5
  38. package/dist/chunks/{stored-dashboard-Bmct-STp.js → stored-dashboard-NtOuEX6a.js} +111 -111
  39. package/dist/chunks/{style-sheet-parts-BX7d7-2-.js → style-sheet-parts-Qv4UcLAo.js} +2 -2
  40. package/dist/chunks/{table-export-sheet-BWSVTclx.js → table-export-sheet-Do7ZB0_F.js} +1 -1
  41. package/dist/chunks/{token-types-CnlEiAdS.js → token-types-Dy_aXO-U.js} +1 -1
  42. package/dist/chunks/{upload-DsqUSS8l.js → upload-Bq-puSVy.js} +1 -1
  43. package/dist/chunks/{validators-D2Hm57lJ.js → validators-C7DFk3QK.js} +78 -78
  44. package/dist/chunks/{variable-draft-Bi-zUa_a.js → variable-draft-Cy03qnEi.js} +4 -4
  45. package/dist/dashboard/index.js +2 -2
  46. package/dist/dashboard-authoring/index.js +80 -75
  47. package/dist/format-utils/index.js +238 -237
  48. package/dist/index.js +18 -18
  49. package/dist/report-runtime-context/index.js +1 -1
  50. package/dist/surfboard/index.js +2 -2
  51. package/dist/types/briefings/attachment-outcomes.d.ts +1 -1
  52. package/dist/types/briefings/attachments.d.ts +45 -4
  53. package/dist/types/briefings/index.d.ts +1 -1
  54. package/dist/types/index.js +5 -5
  55. package/dist/types/lib/export-utils.d.ts +72 -0
  56. package/dist/types/lib/formatters/dashboard-temporal-presentation.d.ts +10 -0
  57. package/dist/types/shared/analytics-protocol/catalog-source-address.d.ts +16 -0
  58. package/dist/types/shared/dashboard-authoring/card-data-file.d.ts +31 -0
  59. package/dist/types/shared/dashboard-authoring/index.d.ts +3 -0
  60. package/package.json +1 -1
  61. package/dist/chunks/comparison-window-caption-DJDwP9XO.js +0 -1309
  62. package/dist/chunks/filter-line-Dkg3yuOX.js +0 -134
@@ -1,4 +1,4 @@
1
- import { c as a } from "./style-sheet-parts-BX7d7-2-.js";
1
+ import { c as a } from "./style-sheet-parts-Qv4UcLAo.js";
2
2
  /**
3
3
  * @license lucide-react v0.453.0 - ISC
4
4
  *
@@ -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-h1OLXVjE.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-vPtbuDDz.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-Bmct-STp.js";
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-CXyuLW9Q.js";
9
- import { r as Se, aa as $e } from "./validators-D2Hm57lJ.js";
10
- import { b as ke } from "./metric-comparison-Bhz0V841.js";
11
- import { i as qe } from "./matrix-analytical-definition-BuUSBDm7.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-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 } : $e(e.field.dataType) ? xe : Ve;
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 k(e) {
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, $ = v ? g(v, h.textChars) : 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: k(r ? R(r, a.calendar) : { reason: n, message: $ }),
88
- description: { status: "not_described", reason: n, ...$ ? { message: $ } : {} }
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: k(R(s, a.calendar)),
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 = ke({
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: k(
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
  }
@@ -1,4 +1,4 @@
1
- import { i as d } from "./matrix-analytical-definition-BuUSBDm7.js";
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;