react-semaphor 0.1.590 → 0.1.592

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 (87) hide show
  1. package/dist/analytics-protocol/index.js +254 -236
  2. package/dist/assistant-context/index.js +1 -1
  3. package/dist/brand-studio/index.js +7 -7
  4. package/dist/briefings/index.js +4 -4
  5. package/dist/chunks/{aggregate-measure-field-BrkXsSJp.js → aggregate-measure-field-DHlDj0Pc.js} +2 -2
  6. package/dist/chunks/{assistant-chat-C_6dBLUk.js → assistant-chat-BusR-5uT.js} +13 -13
  7. package/dist/chunks/bookmark-impact-DozXJZDS.js +76 -0
  8. package/dist/chunks/{bookmark-state-Bn7k3ttp.js → bookmark-state-Be2W3s6t.js} +632 -592
  9. package/dist/chunks/{card-filter-builder-6vflbF9O.js → card-filter-builder-DBTJ74yy.js} +916 -897
  10. package/dist/chunks/{comparison-window-caption-fqijZdVd.js → comparison-window-caption-h8w3ySL6.js} +90 -91
  11. package/dist/chunks/{dashboard-DpgRl65K.js → dashboard-CmzJzmph.js} +1 -1
  12. package/dist/chunks/{dashboard-briefing-launcher-BLbhONJz.js → dashboard-briefing-launcher-BOQGpYr2.js} +160 -160
  13. package/dist/chunks/{dashboard-controls-kCTYEEsq.js → dashboard-controls-BxI3e2_o.js} +64 -64
  14. package/dist/chunks/{dashboard-json-CNIFresY.js → dashboard-json-BMqXV2Rx.js} +4 -4
  15. package/dist/chunks/{dates-BoeweqEo.js → dates-DBsscxL_.js} +8 -8
  16. package/dist/chunks/{edit-dashboard-visual-D0eWTlPL.js → edit-dashboard-visual-Dvc_Pkfg.js} +5443 -5417
  17. package/dist/chunks/filter-line-CYT7KIXb.js +133 -0
  18. package/dist/chunks/{filter-reach-copy-eMhDPTYH.js → filter-reach-copy-hEzlpBu7.js} +224 -224
  19. package/dist/chunks/filter-value-text-CHBm4IU7.js +153 -0
  20. package/dist/chunks/{index-D8LFjI8j.js → index-BoYJqc3F.js} +24 -24
  21. package/dist/chunks/{layout-grid-BG__sPkb.js → layout-grid-DoFIfQGd.js} +1 -1
  22. package/dist/chunks/{list-filter-Cb8i7N8f.js → list-filter-BeTQxjNy.js} +1 -1
  23. package/dist/chunks/{matrix-analytical-definition-D9Ll_9R-.js → matrix-analytical-definition-CyWOwLmE.js} +17 -17
  24. package/dist/chunks/{matrix-member-presentation-DVBJR0MA.js → matrix-member-presentation-Bj2YcHAP.js} +1 -1
  25. package/dist/chunks/{matrix-operation-contract-JSmproo9.js → matrix-operation-contract-CAanJeCj.js} +60 -60
  26. package/dist/chunks/{metric-comparison-xE_J6hkg.js → metric-comparison-BeKnUD08.js} +27 -31
  27. package/dist/chunks/{paintbrush-C310xSuR.js → paintbrush-KeaU1L1a.js} +1 -1
  28. package/dist/chunks/{palette-Ci5P91Zb.js → palette-BcFJLeXB.js} +1 -1
  29. package/dist/chunks/{pivot-result-contract-expectations-DbBahmgc.js → pivot-result-contract-expectations-CaS0y823.js} +522 -486
  30. package/dist/chunks/{pivot-result-identity-CUsMt_4r.js → pivot-result-identity-BKUjYO1u.js} +1 -1
  31. package/dist/chunks/raw-temporal-value-BzdgeDa7.js +454 -0
  32. package/dist/chunks/{report-preferences-dialog-dUlVLgEk.js → report-preferences-dialog-Cu_f-8Kw.js} +13 -13
  33. package/dist/chunks/{report-runtime-context-CrOgmuxO.js → report-runtime-context-g4Zp_TU9.js} +1 -1
  34. package/dist/chunks/{resolve-dashboard-input-context-NurwNg4I.js → resolve-dashboard-input-context-CkMk1RW6.js} +7600 -6398
  35. package/dist/chunks/{save-BhhXfp4s.js → save-C9CZAk6V.js} +1 -1
  36. package/dist/chunks/{saved-dashboard-context-CPp--vXU.js → saved-dashboard-context-RgBS_PIj.js} +19 -19
  37. package/dist/chunks/{selection-filter-compiler-CHG-8xnW.js → selection-filter-compiler-BclSpK3P.js} +1 -1
  38. package/dist/chunks/{semaphor-ready-indicator-CXojR95M.js → semaphor-ready-indicator-DXpTZJ7R.js} +31502 -31453
  39. package/dist/chunks/{shelf-drop-preview-context-BDScAUdq.js → shelf-drop-preview-context-qdlJKaH7.js} +5 -5
  40. package/dist/chunks/stored-dashboard-Baw6Bp2A.js +4029 -0
  41. package/dist/chunks/{style-sheet-parts-CmXmKqGw.js → style-sheet-parts-DM_Mw_sm.js} +45 -42
  42. package/dist/chunks/{table-export-sheet-ClSgERQC.js → table-export-sheet-Cd6z7SsG.js} +1 -1
  43. package/dist/chunks/{token-types-DTocOcwt.js → token-types-BB2ImFx6.js} +1 -1
  44. package/dist/chunks/{upload-DDYc1Qjj.js → upload-CMTCg47S.js} +1 -1
  45. package/dist/chunks/{validators-CrYXNnNE.js → validators-BlEWWX9O.js} +576 -562
  46. package/dist/chunks/{variable-draft-Bi3RlULA.js → variable-draft-BxtN6YcG.js} +4 -4
  47. package/dist/dashboard/index.js +2 -2
  48. package/dist/dashboard-authoring/index.js +1672 -1633
  49. package/dist/format-utils/index.js +217 -218
  50. package/dist/index.js +62 -62
  51. package/dist/report-runtime-context/index.js +1 -1
  52. package/dist/style.css +1 -1
  53. package/dist/surfboard/index.js +2 -2
  54. package/dist/types/components/surfboard/filter/types.d.ts +7 -5
  55. package/dist/types/components/visual/data-table/hooks/use-data-table-logic.d.ts +3 -3
  56. package/dist/types/components/visual/data-table/types/data-table.d.ts +24 -2
  57. package/dist/types/index.js +30 -29
  58. package/dist/types/lib/dashboard-inputs/dashboard-date-comparison-plan.d.ts +0 -1
  59. package/dist/types/lib/dashboard-viewer/table-view-edit.d.ts +27 -0
  60. package/dist/types/lib/dashboard-viewer/table-view.d.ts +37 -1
  61. package/dist/types/lib/formatters/raw-temporal-presentation.d.ts +0 -2
  62. package/dist/types/shared/analytics-protocol/agent-time-window.d.ts +1 -1
  63. package/dist/types/shared/analytics-protocol/relative-date/index.d.ts +2 -1
  64. package/dist/types/shared/analytics-protocol/relative-date/sentence.d.ts +81 -0
  65. package/dist/types/shared/analytics-protocol/relative-date/traits.d.ts +0 -9
  66. package/dist/types/shared/analytics-protocol/relative-date/window.d.ts +23 -2
  67. package/dist/types/shared/dashboard-authoring/canonical-result-keys.d.ts +20 -0
  68. package/dist/types/shared/dashboard-authoring/card-formats/detail-date-display.d.ts +84 -0
  69. package/dist/types/shared/dashboard-authoring/card-settings/card-kinds.d.ts +1 -1
  70. package/dist/types/shared/dashboard-authoring/card-settings/column-names.d.ts +2 -0
  71. package/dist/types/shared/dashboard-authoring/card-settings/inputs.d.ts +6 -0
  72. package/dist/types/shared/dashboard-authoring/card-settings/resolved.d.ts +11 -0
  73. package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +36 -36
  74. package/dist/types/shared/dashboard-authoring/filter-model/date-filter-default.d.ts +37 -0
  75. package/dist/types/shared/dashboard-authoring/filter-model/index.d.ts +1 -0
  76. package/dist/types/shared/dashboard-authoring/index.d.ts +1 -0
  77. package/dist/types/shared/dashboard-viewer/table-column-move.d.ts +56 -0
  78. package/dist/types/shared/dashboard-viewer/table-settings.d.ts +7 -0
  79. package/dist/types/shared/format-utils/filter-line.d.ts +2 -0
  80. package/package.json +1 -1
  81. package/dist/chunks/bookmark-impact-DkZABEd3.js +0 -75
  82. package/dist/chunks/filter-line-Dza3ee4w.js +0 -131
  83. package/dist/chunks/filter-value-text-DQw4v3nC.js +0 -146
  84. package/dist/chunks/pivot-header-presentation-D-DfPAjb.js +0 -42
  85. package/dist/chunks/raw-temporal-value-BnGCWJAL.js +0 -322
  86. package/dist/chunks/stored-dashboard-KkH4zOhq.js +0 -4998
  87. package/dist/types/components/visual/shared/utils/table-column-order.d.ts +0 -53
@@ -1,4 +1,4 @@
1
- import { c as a } from "./style-sheet-parts-CmXmKqGw.js";
1
+ import { c as a } from "./style-sheet-parts-DM_Mw_sm.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 { A as S, D as U, F as K, G as W } from "./bookmark-state-Bn7k3ttp.js";
5
- import { s as X, i as Y, n as ee, f as te, j as ae, l as re, k as ne, m as se, o as oe, p as j, q as ie, t as de, u as le } from "./resolve-dashboard-input-context-NurwNg4I.js";
6
- import { c as ce, e as L, d as ue, g as me, p as q, j as fe, k as he, r as _, m as O, n as pe, o as be, q as ge } from "./stored-dashboard-KkH4zOhq.js";
4
+ import { D as S, F as U, G as K, H as W } from "./bookmark-state-Be2W3s6t.js";
5
+ import { s as X, j as Y, n as ee, k as te, m as ae, o as re, p as ne, q as se, t as oe, u as j, v as ie, w as de, x as le } from "./resolve-dashboard-input-context-CkMk1RW6.js";
6
+ import { c as ce, e as L, b as ue, d as me, p as q, f as fe, g as he, r as _, i as O, j as pe, m as be, k as ge } from "./stored-dashboard-Baw6Bp2A.js";
7
7
  import { f as g, A as P, c as Ce, d as Ie, e as M } from "./context-CVXTFljo.js";
8
- import { a as ye, T as ve, P as xe, o as I, d as B, b as D } from "./filter-value-text-DQw4v3nC.js";
9
- import { r as Ve, a7 as Se } from "./validators-CrYXNnNE.js";
10
- import { b as $e } from "./metric-comparison-xE_J6hkg.js";
11
- import { i as ke } from "./matrix-analytical-definition-D9Ll_9R-.js";
8
+ import { a as ye, T as ve, P as xe, o as I, d as B, b as w } from "./filter-value-text-CHBm4IU7.js";
9
+ import { r as Ve, a9 as Se } from "./validators-BlEWWX9O.js";
10
+ import { b as $e } from "./metric-comparison-BeKnUD08.js";
11
+ import { i as ke } from "./matrix-analytical-definition-CyWOwLmE.js";
12
12
  function qe(e) {
13
13
  const t = e.qualifiedFieldName || e.name;
14
14
  return e.label && e.label !== t ? `${e.label} (field ${t})` : t;
@@ -25,7 +25,7 @@ function N(e, t) {
25
25
  const s = z(r, n);
26
26
  return [n.length > 1 && !r.negate ? { ...s, text: `(${s.text})` } : s];
27
27
  });
28
- return [...e.conditions.map((r) => De(r, t)), ...a];
28
+ return [...e.conditions.map((r) => we(r, t)), ...a];
29
29
  }
30
30
  function z(e, t) {
31
31
  const a = t.map((r) => r.text).join(e.logicalOperator === "OR" ? " or " : " and ");
@@ -34,19 +34,19 @@ function z(e, t) {
34
34
  omittedValues: t.reduce((r, n) => r + n.omittedValues, 0)
35
35
  };
36
36
  }
37
- function De(e, t) {
37
+ function we(e, t) {
38
38
  const a = Array.isArray(e.value) ? e.value : [e.value];
39
39
  return ye({
40
40
  subject: qe(e.field),
41
41
  operator: e.operator,
42
42
  values: a,
43
- reading: we(e),
43
+ reading: De(e),
44
44
  relative: Ve(e.relativeMeta),
45
45
  latestValue: e.latestValue,
46
46
  shownAs: e.label
47
47
  }, t);
48
48
  }
49
- function we(e) {
49
+ function De(e) {
50
50
  return e.temporalBucket ? { kind: "bucket", bucket: e.temporalBucket } : Se(e.field.dataType) ? ve : xe;
51
51
  }
52
52
  function H(e) {
@@ -214,7 +214,7 @@ function Ne(e) {
214
214
  return {
215
215
  label: g(((o = a.get(r)) == null ? void 0 : o.label) || r, h.labelChars),
216
216
  valueText: g(
217
- `${D(l, { maxListedValues: h.inputValues }).text}${m.size ? `; ${[...m].join("; ")}` : ""}`,
217
+ `${w(l, { maxListedValues: h.inputValues }).text}${m.size ? `; ${[...m].join("; ")}` : ""}`,
218
218
  h.textChars
219
219
  )
220
220
  };
@@ -225,7 +225,7 @@ function ze(e) {
225
225
  return L({ sql: e.card.sql, controlBindings: t.controlBindings }).map((a) => ({
226
226
  name: g(a.paramId, h.labelChars),
227
227
  valueText: g(
228
- D(t.controlValues[a.controlId], { maxListedValues: h.inputValues }).text,
228
+ w(t.controlValues[a.controlId], { maxListedValues: h.inputValues }).text,
229
229
  h.textChars
230
230
  )
231
231
  }));
@@ -396,7 +396,7 @@ function We(e, t, a) {
396
396
  if ((n == null ? void 0 : n.kind) === "filter" && n.filterValue)
397
397
  o = B(n.filterValue, s, m);
398
398
  else if ((n == null ? void 0 : n.kind) === "control") {
399
- const i = D(n.controlValue, m);
399
+ const i = w(n.controlValue, m);
400
400
  o = { text: `${s} is set to ${i.text}`, omittedValues: i.omittedValues };
401
401
  }
402
402
  if (!o) return;
@@ -448,7 +448,7 @@ function Xe(e) {
448
448
  };
449
449
  }
450
450
  function Ye(e) {
451
- const t = e.dashboard ? S(e.dashboard).find((r) => r.cardId === e.cardId) : void 0, a = w({
451
+ const t = e.dashboard ? S(e.dashboard).find((r) => r.cardId === e.cardId) : void 0, a = D({
452
452
  card: e.card ?? (t == null ? void 0 : t.card),
453
453
  snapshot: e.snapshot,
454
454
  documentSection: (t == null ? void 0 : t.kind) === "documentSectionCard"
@@ -488,7 +488,7 @@ function G(e) {
488
488
  ...e.withRequest ? { withRequest: !0 } : {}
489
489
  });
490
490
  }
491
- function w(e) {
491
+ function D(e) {
492
492
  var a;
493
493
  const { snapshot: t } = e;
494
494
  if (e.documentSection) return { status: "unavailable", reason: "document_section" };
@@ -532,7 +532,7 @@ function ft(e) {
532
532
  withRequest: !0
533
533
  });
534
534
  if (!m) return { status: "refused", reason: "card_not_found" };
535
- const o = w({ card: n.card, snapshot: m, documentSection: !1 });
535
+ const o = D({ card: n.card, snapshot: m, documentSection: !1 });
536
536
  return o.status === "ready" ? { ...o, renderConfig: m.queryContext.finalConfig } : o.reason === "pending" ? { status: "refused", reason: "blocked" } : {
537
537
  status: "refused",
538
538
  reason: o.reason,
@@ -591,7 +591,7 @@ function ht(e) {
591
591
  });
592
592
  if ((d == null ? void 0 : d.status) === "blocked")
593
593
  return d.reason === "requiredInput" ? { status: "refused", reason: "held", message: `${n.name} waits for ${d.missingRequiredLabels.join(", ")}.`, missingRequired: d.missingRequiredLabels } : { status: "refused", reason: "broken", message: d.message ?? `${n.name} can't run until its filter mapping is resolved.` };
594
- const b = w({ card: l.card, snapshot: d, documentSection: !1 });
594
+ const b = D({ card: l.card, snapshot: d, documentSection: !1 });
595
595
  return b.status !== "ready" ? { status: "refused", reason: "broken", message: b.message ?? `${n.name} has no query to run.` } : { status: "ready", variable: n, place: m ? "document" : "sheet", request: b.request };
596
596
  }
597
597
  function at(e, t, a, r, n) {
@@ -624,7 +624,7 @@ export {
624
624
  Ye as a,
625
625
  ft as b,
626
626
  ht as c,
627
- w as d,
627
+ D as d,
628
628
  mt as e,
629
629
  Xe as f,
630
630
  G as g,
@@ -1,4 +1,4 @@
1
- import { i as d } from "./matrix-analytical-definition-D9Ll_9R-.js";
1
+ import { i as d } from "./matrix-analytical-definition-CyWOwLmE.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;