react-semaphor 0.1.583 → 0.1.584

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 (86) hide show
  1. package/dist/analytics-protocol/index.js +183 -178
  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-DsFXETpI.js +22 -0
  6. package/dist/chunks/{assistant-chat-D3fm5qod.js → assistant-chat-nmycV1Se.js} +12 -12
  7. package/dist/chunks/{bookmark-impact-Dpxl46Wd.js → bookmark-impact-CI3gmxi0.js} +2 -2
  8. package/dist/chunks/{bookmark-state-BEl_G9vr.js → bookmark-state-D9-RFkDg.js} +22 -22
  9. package/dist/chunks/{card-filter-builder-IxkFVxy2.js → card-filter-builder-C7QyPqRy.js} +145 -145
  10. package/dist/chunks/{comparison-window-caption-sRFtnX1q.js → comparison-window-caption-BAnsTI8y.js} +291 -305
  11. package/dist/chunks/{dashboard-briefing-launcher-D45YfCkm.js → dashboard-briefing-launcher-DXs0XA1O.js} +13 -13
  12. package/dist/chunks/{dashboard-controls-DOvZRfof.js → dashboard-controls-6Zoo8d8Y.js} +84 -84
  13. package/dist/chunks/{dashboard-BMqG98fc.js → dashboard-inJy_V78.js} +1 -1
  14. package/dist/chunks/{dashboard-json-B_4TqF_o.js → dashboard-json-D5eJhVA9.js} +4 -4
  15. package/dist/chunks/{dates-44_rcNj2.js → dates-B3_GWc_Y.js} +8 -8
  16. package/dist/chunks/{edit-dashboard-visual-BBPKJWSe.js → edit-dashboard-visual-DR03SYeW.js} +17 -17
  17. package/dist/chunks/{filter-reach-copy-DWPq4Swi.js → filter-reach-copy-CZwzrxBp.js} +1391 -1228
  18. package/dist/chunks/{filter-value-text-DXGYypEd.js → filter-value-text-DtOvqcjn.js} +8 -8
  19. package/dist/chunks/{index-DPRzcFp0.js → index-BgT1L0p5.js} +5 -5
  20. package/dist/chunks/{layout-grid-8rR-LPTk.js → layout-grid-9nSS2SL-.js} +1 -1
  21. package/dist/chunks/{list-filter-C1-uTgjR.js → list-filter-CfMPI6v4.js} +1 -1
  22. package/dist/chunks/{matrix-analytical-definition-D_HgptqZ.js → matrix-analytical-definition-Cs2v43FM.js} +2 -2
  23. package/dist/chunks/{matrix-member-presentation-DRa-9e6Q.js → matrix-member-presentation-BKDyxJho.js} +1 -1
  24. package/dist/chunks/{matrix-operation-contract-DCVinw1o.js → matrix-operation-contract-BM5TveR3.js} +153 -147
  25. package/dist/chunks/{metric-comparison-n9NsIa-2.js → metric-comparison-Be4uS3Ql.js} +1 -1
  26. package/dist/chunks/{paintbrush-aR17Z3C9.js → paintbrush-LzAje2ff.js} +1 -1
  27. package/dist/chunks/{palette-a5FCZKFI.js → palette-DicJG0TC.js} +1 -1
  28. package/dist/chunks/{pivot-header-presentation-MvvlxtIB.js → pivot-header-presentation-uH06jiZD.js} +1 -1
  29. package/dist/chunks/{pivot-result-contract-expectations-8tuNjRvG.js → pivot-result-contract-expectations-DvZY4eJM.js} +779 -765
  30. package/dist/chunks/{pivot-result-identity-B89X5xjb.js → pivot-result-identity-BZexMfmL.js} +1 -1
  31. package/dist/chunks/{report-preferences-dialog-B8PhISua.js → report-preferences-dialog-DWeVe2so.js} +171 -170
  32. package/dist/chunks/{report-runtime-context-BhPzLTbS.js → report-runtime-context-NlOXwyRB.js} +1 -1
  33. package/dist/chunks/{resolve-dashboard-input-context-BfT8y5xL.js → resolve-dashboard-input-context-uATCuOP7.js} +4988 -4892
  34. package/dist/chunks/{save-D985VvYp.js → save-0wu1Z1U7.js} +1 -1
  35. package/dist/chunks/{saved-dashboard-context-DH91-2B9.js → saved-dashboard-context-DSVV9iqW.js} +6 -6
  36. package/dist/chunks/selection-filter-compiler-BReJy-uv.js +92 -0
  37. package/dist/chunks/{semaphor-ready-indicator-Cg_Z2IDc.js → semaphor-ready-indicator-B9vvRMnJ.js} +45953 -44806
  38. package/dist/chunks/{shelf-drop-preview-context-C7-BgcP4.js → shelf-drop-preview-context-BHOnp5Bo.js} +5 -5
  39. package/dist/chunks/{stored-dashboard-BpyCiE49.js → stored-dashboard-xc5iidHL.js} +210 -221
  40. package/dist/chunks/{style-sheet-parts-C7qGZuH1.js → style-sheet-parts-_dGSFzDi.js} +2 -2
  41. package/dist/chunks/{table-export-sheet-wBkk17aa.js → table-export-sheet-Cv_94obr.js} +1 -1
  42. package/dist/chunks/{token-types-iKMplaBL.js → token-types-DEe_FP4l.js} +1 -1
  43. package/dist/chunks/{upload-CiGNKJ_0.js → upload-CtyOkU_B.js} +1 -1
  44. package/dist/chunks/{validators-B8fpdinG.js → validators-CJ8Jh0E8.js} +2 -2
  45. package/dist/chunks/{variable-draft-D8GFhAkm.js → variable-draft-C3CjhsJQ.js} +4 -4
  46. package/dist/dashboard/index.js +2 -2
  47. package/dist/dashboard-authoring/index.js +403 -383
  48. package/dist/format-utils/index.js +140 -140
  49. package/dist/index.js +234 -231
  50. package/dist/report-runtime-context/index.js +1 -1
  51. package/dist/style.css +1 -1
  52. package/dist/surfboard/index.js +2 -2
  53. package/dist/types/components/visual/data-table/types/data-table.d.ts +3 -0
  54. package/dist/types/components/visual/matrix-table/matrix-interaction-actions.d.ts +24 -3
  55. package/dist/types/index.js +5 -5
  56. package/dist/types/lib/hooks/interactions/use-drill-actions.d.ts +1 -1
  57. package/dist/types/lib/interactions/get-click-context-from-chartjs.d.ts +9 -0
  58. package/dist/types/lib/matrix-table/matrix-runtime.d.ts +8 -3
  59. package/dist/types/lib/query-context/compile-selection-filters.d.ts +1 -5
  60. package/dist/types/lib/see-records/click.d.ts +79 -0
  61. package/dist/types/lib/see-records/see-records-offer.d.ts +25 -0
  62. package/dist/types/lib/see-records/use-see-records-offer.d.ts +16 -0
  63. package/dist/types/lib/types/common-types.d.ts +6 -0
  64. package/dist/types/shared/analytics-protocol/aggregate-expression.d.ts +7 -0
  65. package/dist/types/shared/analytics-protocol/aggregate-measure-field.d.ts +13 -0
  66. package/dist/types/shared/analytics-protocol/index.d.ts +1 -0
  67. package/dist/types/shared/analytics-protocol/selection-filter-compiler.d.ts +3 -0
  68. package/dist/types/shared/dashboard-authoring/card-settings/card-display-write.d.ts +6 -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/index.d.ts +1 -1
  71. package/dist/types/shared/dashboard-authoring/card-settings/inputs.d.ts +2 -0
  72. package/dist/types/shared/dashboard-authoring/card-settings/resolved.d.ts +2 -0
  73. package/dist/types/shared/dashboard-authoring/changes/card-query-part.d.ts +1 -0
  74. package/dist/types/shared/dashboard-authoring/conditional-formatting/schema.d.ts +10 -10
  75. package/dist/types/shared/dashboard-authoring/index.d.ts +1 -0
  76. package/dist/types/shared/dashboard-authoring/kpi-figure.d.ts +11 -0
  77. package/dist/types/shared/dashboard-authoring/see-records/availability.d.ts +30 -0
  78. package/dist/types/shared/dashboard-authoring/see-records/click.d.ts +37 -0
  79. package/dist/types/shared/dashboard-authoring/see-records/index.d.ts +12 -0
  80. package/dist/types/shared/dashboard-authoring/see-records/limits.d.ts +18 -0
  81. package/dist/types/shared/dashboard-authoring/see-records/measure-kind.d.ts +46 -0
  82. package/dist/types/shared/dashboard-authoring/see-records/request.d.ts +28 -0
  83. package/dist/types/shared/dashboard-authoring/see-records/result.d.ts +61 -0
  84. package/dist/types/shared/usage-events/envelope.d.ts +4 -4
  85. package/package.json +1 -1
  86. package/dist/chunks/selection-filter-compiler-CUDRnUxc.js +0 -80
@@ -1,8 +1,8 @@
1
- import { j as p, r as y } from "./validators-B8fpdinG.js";
2
- import { a as I } from "./metric-comparison-n9NsIa-2.js";
1
+ import { j as p, r as y } from "./validators-CJ8Jh0E8.js";
2
+ import { a as I } from "./metric-comparison-Be4uS3Ql.js";
3
3
  import "../value-format-preferences/index.js";
4
4
  import { c as N } from "./raw-temporal-value-DdT0s47W.js";
5
- import { aa as k, a9 as T } from "./pivot-result-contract-expectations-8tuNjRvG.js";
5
+ import { ah as k, ag as T } from "./pivot-result-contract-expectations-DvZY4eJM.js";
6
6
  const d = { kind: "plain" }, g = { kind: "temporal" }, D = {
7
7
  "=": "=",
8
8
  "!=": "!=",
@@ -49,10 +49,10 @@ function P(t, n = {}) {
49
49
  }
50
50
  function c(t, n = d) {
51
51
  if (n.kind !== "plain") {
52
- const e = b(t, n);
52
+ const e = h(t, n);
53
53
  if (e !== void 0) return e;
54
54
  }
55
- return t instanceof Date ? b(t, g) ?? JSON.stringify(String(t)) : t === void 0 ? "null" : typeof t == "number" || typeof t == "boolean" || t === null ? String(t) : JSON.stringify(t) ?? String(t);
55
+ return t instanceof Date ? h(t, g) ?? JSON.stringify(String(t)) : t === void 0 ? "null" : typeof t == "number" || typeof t == "boolean" || t === null ? String(t) : JSON.stringify(t) ?? String(t);
56
56
  }
57
57
  function w(t, n = d, e = Number.POSITIVE_INFINITY) {
58
58
  const i = t.slice(0, Number.isFinite(e) ? e : void 0).map((o) => c(o, n)).join(", "), r = $(t.length, e);
@@ -68,7 +68,7 @@ function f(t) {
68
68
  const n = N(t);
69
69
  return n === "instant" ? { kind: n, instant: new Date(t) } : n ? { kind: n, text: t } : void 0;
70
70
  }
71
- function b(t, n) {
71
+ function h(t, n) {
72
72
  if (n.kind === "bucket")
73
73
  return typeof t == "string" && T(t, n.bucket).ok ? t : void 0;
74
74
  const e = f(t);
@@ -78,13 +78,13 @@ function b(t, n) {
78
78
  function S(t, n, e, i) {
79
79
  const r = e.kind === "temporal" ? f(t) : void 0, o = e.kind === "temporal" ? f(n) : void 0;
80
80
  if (i && (r == null ? void 0 : r.kind) === "instant" && (o == null ? void 0 : o.kind) === "instant") {
81
- const s = h(r.instant, i), l = h(o.instant, i);
81
+ const s = b(r.instant, i), l = b(o.instant, i);
82
82
  if (s && l && s.time === "00:00:00" && r.instant.getUTCMilliseconds() === 0 && l.time === "23:59:59" && [0, 999].includes(o.instant.getUTCMilliseconds()))
83
83
  return { from: s.date, to: l.date, wholeDaysIn: i };
84
84
  }
85
85
  return { from: c(t, e), to: c(n, e) };
86
86
  }
87
- function h(t, n) {
87
+ function b(t, n) {
88
88
  try {
89
89
  const e = Object.fromEntries(
90
90
  new Intl.DateTimeFormat("en-CA", {
@@ -1,16 +1,16 @@
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 { 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
- import { T as X, a5 as Le, S as Be } from "./validators-B8fpdinG.js";
4
+ import { aB as Ne, a2 as Fe, ao as oe, V as se, k as Re, a1 as Me, Z as F } from "./pivot-result-contract-expectations-DvZY4eJM.js";
5
+ import { T as X, a5 as Le, S as Be } from "./validators-CJ8Jh0E8.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";
8
- import { ah as Ve, aj as ze, W as je } from "./matrix-operation-contract-DCVinw1o.js";
8
+ import { ai as Ve, ak as ze, X as je } from "./matrix-operation-contract-BM5TveR3.js";
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-BfT8y5xL.js";
13
- import { H as ot, I as at } from "./bookmark-state-BEl_G9vr.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-uATCuOP7.js";
13
+ import { H as ot, I as at } from "./bookmark-state-D9-RFkDg.js";
14
14
  import "./pickers-DkqmtnTL.js";
15
15
  import "./schema-C9NPiIru.js";
16
16
  import "./index-CV_Kzou0.js";
@@ -1,4 +1,4 @@
1
- import { c as t } from "./style-sheet-parts-C7qGZuH1.js";
1
+ import { c as t } from "./style-sheet-parts-_dGSFzDi.js";
2
2
  /**
3
3
  * @license lucide-react v0.453.0 - ISC
4
4
  *
@@ -1,4 +1,4 @@
1
- import { c as t } from "./style-sheet-parts-C7qGZuH1.js";
1
+ import { c as t } from "./style-sheet-parts-_dGSFzDi.js";
2
2
  /**
3
3
  * @license lucide-react v0.453.0 - ISC
4
4
  *
@@ -1,5 +1,5 @@
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
- import { r as qe } from "./metric-comparison-n9NsIa-2.js";
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-CJ8Jh0E8.js";
2
+ import { r as qe } from "./metric-comparison-Be4uS3Ql.js";
3
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,
@@ -1,4 +1,4 @@
1
- import { m as p } from "./validators-B8fpdinG.js";
1
+ import { m as p } from "./validators-CJ8Jh0E8.js";
2
2
  function h(e) {
3
3
  const t = b(e);
4
4
  return d(t) ? t : void 0;