react-semaphor 0.1.556 → 0.1.557

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 (75) hide show
  1. package/DATA_APP_SDK.md +6 -29
  2. package/dist/analytics-protocol/index.js +19 -20
  3. package/dist/assistant-context/index.js +1 -1
  4. package/dist/brand-studio/index.js +28 -29
  5. package/dist/briefings/index.js +55 -56
  6. package/dist/chunks/{assistant-chat-C7Acww1T.js → assistant-chat-WMTpYirZ.js} +78 -80
  7. package/dist/chunks/{bookmark-state-7iZErWnR.js → bookmark-state-PjQpxbG7.js} +3 -3
  8. package/dist/chunks/{braces-o9UiRQes.js → braces-BOErQVyi.js} +1 -1
  9. package/dist/chunks/{comparison-window-caption-BseG5aOZ.js → comparison-window-caption-Dc7BaCMz.js} +186 -189
  10. package/dist/chunks/{custom-visual-inputs-ChuKjx27.js → custom-visual-inputs-CxYI-gFa.js} +1 -1
  11. package/dist/chunks/{dashboard-BU6rE5kV.js → dashboard-4D8Vy4pL.js} +1 -1
  12. package/dist/chunks/{dashboard-briefing-launcher-qrYd2zkN.js → dashboard-briefing-launcher-C4EmOfxs.js} +147 -149
  13. package/dist/chunks/{dashboard-controls-BsapXI2H.js → dashboard-controls-DBWykmvL.js} +170 -172
  14. package/dist/chunks/{dashboard-json-CJqPqYnI.js → dashboard-json-DiX-p0F7.js} +20 -21
  15. package/dist/chunks/{document-dashboard-inputs-BNSprf5_.js → document-dashboard-inputs-DP5hquBR.js} +30 -30
  16. package/dist/chunks/{edit-dashboard-visual-CjAdV-WG.js → edit-dashboard-visual-n1jLV_7V.js} +4773 -4802
  17. package/dist/chunks/{filter-reach-copy-BTrqtFkh.js → filter-reach-copy-BB9iakLA.js} +147 -148
  18. package/dist/chunks/{filter-value-text-CJTJDCym.js → filter-value-text-CUBpotVN.js} +3 -3
  19. package/dist/chunks/{global-date-filter-utils-CTVf3dG3.js → global-date-filter-utils-Cc5tqkoW.js} +585 -591
  20. package/dist/chunks/{index-B_vIRa-q.js → index-CgjhzkKM.js} +69 -70
  21. package/dist/chunks/{layout-grid-Bgzth8vd.js → layout-grid-CcNklCwL.js} +1 -1
  22. package/dist/chunks/{list-filter-DsaTbM3J.js → list-filter-Ds_4UTpD.js} +1 -1
  23. package/dist/chunks/{matrix-analytical-definition-Cg0ioFGQ.js → matrix-analytical-definition-4GTUDheD.js} +3 -3
  24. package/dist/chunks/{matrix-card-yYibXSw1.js → matrix-card-fS_4O7zA.js} +2 -2
  25. package/dist/chunks/{matrix-member-presentation-DEEauKXC.js → matrix-member-presentation-Dj7HaAHC.js} +1 -1
  26. package/dist/chunks/{matrix-operation-contract-C1G6AJNh.js → matrix-operation-contract-CpgLZ7E5.js} +21 -21
  27. package/dist/chunks/{metric-comparison-BfcmwxM1.js → metric-comparison-C8LY7GG5.js} +1 -1
  28. package/dist/chunks/{palette-D10o_yYX.js → palette-DMkIhagj.js} +1 -1
  29. package/dist/chunks/{matrix-formatter-C2kjsCDf.js → pivot-result-contract-expectations-DMk-mKhG.js} +444 -395
  30. package/dist/chunks/{pivot-result-identity-CWi5WrrY.js → pivot-result-identity-CrQ54Xbj.js} +1 -1
  31. package/dist/chunks/{raw-temporal-presentation-DWzLIHc3.js → raw-temporal-presentation-DdEpgPRB.js} +24 -25
  32. package/dist/chunks/report-preferences-dialog-CFg5VFLk.js +2109 -0
  33. package/dist/chunks/{report-runtime-context-BgM-iNWB.js → report-runtime-context-CohdtiMg.js} +1 -1
  34. package/dist/chunks/{resolve-dashboard-input-context-Df8V5QHW.js → resolve-dashboard-input-context-Djl3kCFL.js} +224 -226
  35. package/dist/chunks/{save-CfJpQQ68.js → save-D1EpMcwT.js} +1 -1
  36. package/dist/chunks/{saved-dashboard-context-VvXI6r03.js → saved-dashboard-context-umlQFevH.js} +8 -8
  37. package/dist/chunks/selection-reducer-_d6aKJnj.js +46 -0
  38. package/dist/chunks/{semaphor-ready-indicator-fejZmdq9.js → semaphor-ready-indicator-4cOp6sla.js} +40458 -43400
  39. package/dist/chunks/{shelf-drop-preview-context-BuTCXe-S.js → shelf-drop-preview-context-DAtRuvR7.js} +6 -6
  40. package/dist/chunks/{source-entity-resolution-B46EZIzX.js → source-entity-resolution-DXW1HpKf.js} +1 -1
  41. package/dist/chunks/{switch-Bq92UGId.js → switch-9CJt5EF_.js} +1430 -1341
  42. package/dist/chunks/{table-export-sheet-noKl8-en.js → table-export-sheet-CTCTA_bd.js} +1 -1
  43. package/dist/chunks/{table-settings-PpINOzw8.js → table-settings-DF1gdVQR.js} +2 -2
  44. package/dist/chunks/temporal-input-presentation-DoSniQj1.js +2939 -0
  45. package/dist/chunks/{token-types--0bgRCaO.js → token-types-DFyLflLY.js} +1 -1
  46. package/dist/chunks/{upload-BFX7apKV.js → upload-LSNKpt0w.js} +1 -1
  47. package/dist/chunks/{use-create-flow-overlay-state-Cz-ve64t.js → use-create-flow-overlay-state-esyMT9vU.js} +124 -126
  48. package/dist/chunks/{validators-CZo_H4E6.js → validators-hmfNNQz8.js} +5 -5
  49. package/dist/chunks/zoned-wall-clock-E35Frf9v.js +191 -0
  50. package/dist/dashboard/index.js +2 -2
  51. package/dist/dashboard-authoring/index.js +130 -131
  52. package/dist/data-app-sdk/index.js +788 -4153
  53. package/dist/data-app-sdk-adapters/index.js +2 -2
  54. package/dist/data-app-sdk-validation/index.js +5 -5
  55. package/dist/format-utils/index.js +230 -233
  56. package/dist/index.js +216 -217
  57. package/dist/report-runtime-context/index.js +1 -1
  58. package/dist/style.css +1 -1
  59. package/dist/surfboard/index.js +2 -2
  60. package/dist/types/data-app-sdk/contracts.d.ts +0 -146
  61. package/dist/types/data-app-sdk/index.d.ts +0 -2
  62. package/dist/types/index.js +6 -6
  63. package/dist/types/shared/dashboard-authoring/filter-model/filter-definitions.d.ts +1 -7
  64. package/package.json +1 -3
  65. package/src/data-app-sdk/README.md +7 -31
  66. package/dist/chunks/pivot-result-contract-expectations-fKBHFPfz.js +0 -56
  67. package/dist/chunks/raw-temporal-contract-CjHaUIsE.js +0 -64
  68. package/dist/chunks/report-preferences-dialog-D_wrbIQt.js +0 -2261
  69. package/dist/chunks/selection-reducer-By4CSmEF.js +0 -111
  70. package/dist/chunks/temporal-bucket-DzyadxVY.js +0 -2071
  71. package/dist/chunks/temporal-input-presentation-CJWS4d0L.js +0 -879
  72. package/dist/chunks/x-4f5U2XwU.js +0 -100
  73. package/dist/chunks/zoned-wall-clock-MulfA26h.js +0 -129
  74. package/dist/types/data-app-sdk/devtools/index.d.ts +0 -49
  75. package/dist/types/data-app-sdk/devtools.d.ts +0 -1
@@ -1,7 +1,7 @@
1
1
  var y = Object.defineProperty;
2
2
  var c = (i, t, e) => t in i ? y(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
3
3
  var a = (i, t, e) => c(i, typeof t != "symbol" ? t + "" : t, e);
4
- import { v as u } from "./metric-comparison-BfcmwxM1.js";
4
+ import { v as u } from "./metric-comparison-C8LY7GG5.js";
5
5
  class l extends Error {
6
6
  constructor(e) {
7
7
  super(`missing_pivot_member_identity: ${e}`);
@@ -1,13 +1,12 @@
1
1
  import "./analytics-base-schemas-BUFUoO6G.js";
2
- import { r as P } from "./pivot-result-identity-CWi5WrrY.js";
3
- import { r as R, n as M } from "./global-date-filter-utils-CTVf3dG3.js";
4
- import "./validators-CZo_H4E6.js";
5
- import "./matrix-operation-contract-C1G6AJNh.js";
6
- import { v as S } from "./raw-temporal-contract-CjHaUIsE.js";
2
+ import { r as P } from "./pivot-result-identity-CrQ54Xbj.js";
3
+ import { r as R, n as M } from "./global-date-filter-utils-Cc5tqkoW.js";
4
+ import "./validators-hmfNNQz8.js";
5
+ import "./matrix-operation-contract-CpgLZ7E5.js";
6
+ import { v as S } from "./zoned-wall-clock-E35Frf9v.js";
7
7
  import "zod";
8
8
  import { DEFAULT_RESOLVED_VALUE_FORMAT_PREFERENCES as A } from "../value-format-preferences/index.js";
9
- import { f as E, M as O } from "./temporal-input-presentation-CJWS4d0L.js";
10
- import { p as g, r as b, c as q, R as z, v as L } from "./temporal-bucket-DzyadxVY.js";
9
+ import { f as E, M as O, p as g, r as b, c as q, R as z, v as L } from "./temporal-input-presentation-DoSniQj1.js";
11
10
  const $ = "SEMAPHOR_CALCULATED_FIELD";
12
11
  function j(e, a, t) {
13
12
  if (t && (a === "groupby" || a === "pivotby"))
@@ -29,10 +28,10 @@ function j(e, a, t) {
29
28
  }
30
29
  return r && r !== e.name ? `${r}_${e.name}` : e.name;
31
30
  }
32
- function se(e) {
31
+ function ne(e) {
33
32
  return j(e, "detail");
34
33
  }
35
- function le(e) {
34
+ function se(e) {
36
35
  const a = e.label;
37
36
  return a && e.labelCount === 1 && (a === e.rawKey || !e.rawKeys.has(a)) ? a : e.rawKey;
38
37
  }
@@ -122,10 +121,10 @@ function D(e) {
122
121
  presentation: { mode: "auto" }
123
122
  };
124
123
  }
125
- function ie(e) {
124
+ function le(e) {
126
125
  return e === "instant" ? "yyyy-MM-dd'T'HH:mm:ssXXX" : e === "wall_datetime" ? "yyyy-MM-dd'T'HH:mm:ss" : "yyyy-MM-dd";
127
126
  }
128
- function me(e) {
127
+ function ie(e) {
129
128
  L({
130
129
  dialect: "date_fns",
131
130
  pattern: e.pattern,
@@ -157,7 +156,7 @@ function V(e) {
157
156
  );
158
157
  return n.text;
159
158
  }
160
- function ce(e) {
159
+ function me(e) {
161
160
  try {
162
161
  return { ok: !0, text: V(e) };
163
162
  } catch (a) {
@@ -183,7 +182,7 @@ function Q(e) {
183
182
  }
184
183
  );
185
184
  }
186
- function de(e) {
185
+ function ce(e) {
187
186
  var t, r, o;
188
187
  if (!Q(e)) return e;
189
188
  const a = ((r = (t = e.preferences) == null ? void 0 : t.tablePrefs) == null ? void 0 : r.columnSettingsMap) || {};
@@ -366,7 +365,7 @@ function X(e) {
366
365
  e
367
366
  );
368
367
  }
369
- function ue(e) {
368
+ function de(e) {
370
369
  var r, o, n;
371
370
  const a = e.effectiveCardConfig ?? e.card.config, t = R(
372
371
  e.card,
@@ -532,7 +531,7 @@ function G(e) {
532
531
  );
533
532
  }
534
533
  }
535
- function fe(e) {
534
+ function ue(e) {
536
535
  if (e.value !== null && typeof e.value != "string")
537
536
  return {
538
537
  value: e.value,
@@ -549,7 +548,7 @@ function fe(e) {
549
548
  const a = e.presentation.formatValue(e.value);
550
549
  return { value: e.value, label: a.text, result: a };
551
550
  }
552
- function pe(e) {
551
+ function fe(e) {
553
552
  if (!e.result || typeof e.result != "object") return !1;
554
553
  const a = e.result;
555
554
  if (e.expectedResultOwner !== void 0 && a.resultOwner !== e.expectedResultOwner || !Array.isArray(a.records)) return !1;
@@ -566,20 +565,20 @@ function pe(e) {
566
565
  }
567
566
  export {
568
567
  m as R,
569
- se as a,
570
- le as b,
568
+ ne as a,
569
+ se as b,
571
570
  U as c,
572
571
  D as d,
573
572
  H as e,
574
573
  X as f,
575
- ue as g,
576
- ie as h,
577
- pe as i,
578
- ce as j,
574
+ de as g,
575
+ le as h,
576
+ fe as i,
577
+ me as j,
579
578
  I as k,
580
- de as l,
579
+ ce as l,
581
580
  Q as m,
582
- fe as p,
581
+ ue as p,
583
582
  j as r,
584
- me as v
583
+ ie as v
585
584
  };