react-semaphor 0.1.602 → 0.1.603
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 +415 -375
- package/dist/assistant-context/index.js +1 -1
- package/dist/assistant-protocol/index.js +5 -5
- package/dist/brand-studio/index.js +8 -8
- package/dist/briefings/index.js +5 -5
- package/dist/chunks/{add-to-dashboard-ClhEIFst.js → add-to-dashboard-CFF-wFU-.js} +1 -1
- package/dist/chunks/{analytics-base-schemas-DevrgqQb.js → analytics-base-schemas-DsUh5Q3C.js} +14 -12
- package/dist/chunks/{assistant-chat-BWF3GYip.js → assistant-chat-B6hNQI1t.js} +146 -146
- package/dist/chunks/{bookmark-impact-BF3iRx5a.js → bookmark-impact-Ba2PLcGp.js} +3 -3
- package/dist/chunks/{bookmark-state-CBSTdW6q.js → bookmark-state-n7AaNzR_.js} +517 -516
- package/dist/chunks/{card-filter-builder-B8XHwMY6.js → card-filter-builder-Y22HizVx.js} +104 -104
- package/dist/chunks/{comparison-window-caption-W83qB4V5.js → comparison-window-caption-Ck2TIbnR.js} +69 -69
- package/dist/chunks/{context-BJoEFgNl.js → context-UCQ7sere.js} +1 -1
- package/dist/chunks/{dashboard-DG5EIYYB.js → dashboard-BghI99oY.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-CBSrhyWZ.js → dashboard-briefing-launcher-DtBAnGiH.js} +103 -103
- package/dist/chunks/{dashboard-controls-D6ECO4N1.js → dashboard-controls-CtFXlyjV.js} +53 -53
- package/dist/chunks/{dashboard-json-DrJftBSL.js → dashboard-json-DfGBUtCd.js} +5 -5
- package/dist/chunks/dates-BnrXF4bb.js +185 -0
- package/dist/chunks/{edit-dashboard-visual-BDYAJIbb.js → edit-dashboard-visual-oxt3x1wb.js} +7976 -8184
- package/dist/chunks/{filter-line-BXT6y303.js → filter-line-Cy5YYqRL.js} +27 -27
- package/dist/chunks/{filter-reach-copy-BukhZmzm.js → filter-reach-copy-CE_ZX147.js} +1590 -1729
- package/dist/chunks/{filter-value-text-D3-bf3_b.js → filter-value-text-fWvSDwkl.js} +11 -11
- package/dist/chunks/{index-BW0yozjs.js → index-D5rxbtS4.js} +24 -24
- package/dist/chunks/{layout-grid-Ds0diMeY.js → layout-grid-9LndRoLa.js} +1 -1
- package/dist/chunks/{matrix-analytical-definition-CgQgVeeI.js → matrix-analytical-definition-CCp48UCw.js} +496 -425
- package/dist/chunks/matrix-member-presentation-zNehruXR.js +391 -0
- package/dist/chunks/{matrix-operation-contract--DkNCOzd.js → matrix-operation-contract-DPBj69D8.js} +3 -2
- package/dist/chunks/{metric-comparison-zMylnIkc.js → metric-comparison-B0FR-Q8I.js} +184 -125
- package/dist/chunks/{paintbrush-CX8pao1j.js → paintbrush-58FQYY-y.js} +1 -1
- package/dist/chunks/{palette-CuA0HlzF.js → palette-Be62Tkoa.js} +1 -1
- package/dist/chunks/{pivot-result-contract-expectations-C8KL7hPx.js → pivot-result-contract-expectations-BYqAmG9n.js} +1236 -1190
- package/dist/chunks/{pivot-result-identity-C1AOH1PS.js → pivot-result-identity-CAP4--iq.js} +1 -1
- package/dist/chunks/raw-temporal-value-Dg_MTFF7.js +3778 -0
- package/dist/chunks/{report-preferences-dialog-CbuVNDGi.js → report-preferences-dialog-uJp9GBTM.js} +219 -205
- package/dist/chunks/{report-runtime-context-E7USjN7E.js → report-runtime-context-c77_KF9v.js} +2 -2
- package/dist/chunks/{resolve-dashboard-input-context-CULCE_hM.js → resolve-dashboard-input-context-Rtl1ffmE.js} +7115 -6963
- package/dist/chunks/{save-BKHlDONy.js → save-C5A0JnEV.js} +1 -1
- package/dist/chunks/{saved-dashboard-context-C1WlOx5z.js → saved-dashboard-context-tcyTU8jm.js} +193 -207
- package/dist/chunks/selection-filter-compiler-DNijjI5y.js +150 -0
- package/dist/chunks/{semaphor-ready-indicator-CBIRcDWs.js → semaphor-ready-indicator-FBvunj6S.js} +35550 -35273
- package/dist/chunks/{shelf-drop-preview-context-xR69SMA8.js → shelf-drop-preview-context-QKStrcK9.js} +6 -6
- package/dist/chunks/{stored-dashboard-BuM8vnWf.js → stored-dashboard-CHozcAY9.js} +621 -616
- package/dist/chunks/{style-sheet-parts-Bt9ZNre8.js → style-sheet-parts-CDCG-8Ej.js} +258 -251
- package/dist/chunks/{table-export-sheet-DVljtHkG.js → table-export-sheet-ZFIvs6Sj.js} +1 -1
- package/dist/chunks/{token-types-D_xKgyVS.js → token-types-XbM6QByy.js} +1 -1
- package/dist/chunks/{upload-Dll_M7XQ.js → upload-H15d7uHK.js} +1 -1
- package/dist/chunks/{validators-ClWHpYql.js → validators-Baf3VIf5.js} +3 -3
- package/dist/chunks/{variable-draft-CDGGl53R.js → variable-draft-C2y8Jp6Z.js} +3 -3
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +2466 -2343
- package/dist/format-utils/index.js +205 -204
- package/dist/index.js +20 -20
- package/dist/report-runtime-context/index.js +2 -2
- package/dist/style.css +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/components/ui-custom/date-range-presets.d.ts +8 -0
- package/dist/types/index.js +5 -5
- package/dist/types/lib/document/document-edits.d.ts +0 -4
- package/dist/types/lib/stores/dashboard-store.d.ts +0 -1
- package/dist/types/lib/types/common-types.d.ts +0 -2
- package/dist/types/lib/types/explorer-types.d.ts +1 -1
- package/dist/types/shared/analytics-protocol/analytics-base-schemas.d.ts +18 -0
- package/dist/types/shared/analytics-protocol/analyze-result-types.d.ts +3 -0
- package/dist/types/shared/analytics-protocol/comparison-choices.d.ts +92 -0
- package/dist/types/shared/analytics-protocol/comparison-placement.d.ts +30 -0
- package/dist/types/shared/analytics-protocol/contracts.d.ts +11 -5
- package/dist/types/shared/analytics-protocol/date-window.d.ts +105 -0
- package/dist/types/shared/analytics-protocol/filter-field-ownership.d.ts +27 -0
- package/dist/types/shared/analytics-protocol/fixtures.d.ts +4 -2
- package/dist/types/shared/analytics-protocol/index.d.ts +3 -0
- package/dist/types/shared/analytics-protocol/metric-comparison.d.ts +93 -11
- package/dist/types/shared/assistant-protocol/context.d.ts +16 -16
- package/dist/types/shared/dashboard-authoring/calculations/calculated-column.d.ts +1 -1
- package/dist/types/shared/dashboard-authoring/card-settings/card-display-write.d.ts +8 -0
- package/dist/types/shared/dashboard-authoring/card-settings/card-kinds.d.ts +1 -1
- package/dist/types/shared/dashboard-authoring/card-settings/inputs.d.ts +2 -1
- package/dist/types/shared/dashboard-authoring/card-settings/resolved.d.ts +0 -3
- package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +21 -358
- package/dist/types/shared/dashboard-authoring/changes/diagnostics.d.ts +2 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/schema.d.ts +10 -10
- package/dist/types/shared/dashboard-authoring/dashboard-variable-card.d.ts +2 -4
- package/dist/types/shared/dashboard-authoring/kpi-date-context.d.ts +2 -0
- package/dist/types/shared/dashboard-authoring/kpi-figure.d.ts +18 -0
- package/dist/types/shared/dashboard-authoring/measure-calculations/comparison.d.ts +8 -7
- package/dist/types/shared/dashboard-authoring/measure-calculations/dates.d.ts +11 -1
- package/dist/types/shared/dashboard-authoring/measure-calculations/index.d.ts +2 -2
- package/dist/types/shared/dashboard-authoring/measure-calculations/options.d.ts +4 -0
- package/dist/types/shared/dashboard-authoring/measure-calculations/read.d.ts +18 -1
- package/dist/types/shared/dashboard-authoring/measure-calculations/resolve.d.ts +2 -0
- package/dist/types/shared/dashboard-authoring/measure-calculations/schemas.d.ts +46 -88
- package/dist/types/shared/dashboard-authoring/operations/calculated-field-operations.d.ts +33 -8
- package/dist/types/shared/dashboard-authoring/operations/operation-types.d.ts +0 -2
- package/dist/types/shared/dashboard-authoring/outline/outline-filters.d.ts +3 -0
- package/dist/types/shared/format-utils/comparison-detail.d.ts +34 -0
- package/dist/types/shared/format-utils/index.d.ts +1 -0
- package/dist/types/shared/format-utils/partial-period.d.ts +4 -2
- package/dist/types/shared/temporal/calendar-periods.d.ts +11 -0
- package/dist/types/shared/temporal/index.d.ts +2 -0
- package/dist/types/shared/temporal/temporal-text.d.ts +33 -0
- package/dist/types/shared/temporal/temporal.d.ts +27 -0
- package/dist/types/shared/temporal/zoned-wall-clock.d.ts +4 -3
- package/dist/usage-events/index.js +1 -1
- package/package.json +3 -2
- package/dist/chunks/dates-Bz-qM5px.js +0 -164
- package/dist/chunks/matrix-member-presentation-DSBIIudt.js +0 -258
- package/dist/chunks/raw-temporal-value-E416F-0L.js +0 -454
- package/dist/chunks/selection-filter-compiler-ifT8JCXS.js +0 -131
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, a as t, b as r, c as d, d as o, p as i, e as n, f as p } from "../chunks/saved-dashboard-context-
|
|
1
|
+
import { A as e, a as t, b as r, c as d, d as o, p as i, e as n, f as p } from "../chunks/saved-dashboard-context-tcyTU8jm.js";
|
|
2
2
|
export {
|
|
3
3
|
e as AssistantContextSourceError,
|
|
4
4
|
t as assistantCardReplayFields,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { z as e } from "zod";
|
|
2
|
-
import { s as g } from "../chunks/analytics-base-schemas-
|
|
3
|
-
import { a as p, A as s, b as x, c } from "../chunks/context-
|
|
4
|
-
import { e as L, k as B, l as q, o as F, g as U, d as M, n as $, h as P, m as j, i as w, j as V, f as Y, r as H } from "../chunks/context-
|
|
5
|
-
import { t as C } from "../chunks/add-to-dashboard-
|
|
6
|
-
import { A as K, n as W, C as G, e as X, M as z, l as Q, k as Z, f as ee, p as se, r as ae, u as te, x as oe, q as re, s as ne, h as de, m as ie, o as ce, i as le, d as ue, a as Se, j as Ae, c as me, b as he, g as be, v as fe, w as Te } from "../chunks/add-to-dashboard-
|
|
2
|
+
import { s as g } from "../chunks/analytics-base-schemas-DsUh5Q3C.js";
|
|
3
|
+
import { a as p, A as s, b as x, c } from "../chunks/context-UCQ7sere.js";
|
|
4
|
+
import { e as L, k as B, l as q, o as F, g as U, d as M, n as $, h as P, m as j, i as w, j as V, f as Y, r as H } from "../chunks/context-UCQ7sere.js";
|
|
5
|
+
import { t as C } from "../chunks/add-to-dashboard-CFF-wFU-.js";
|
|
6
|
+
import { A as K, n as W, C as G, e as X, M as z, l as Q, k as Z, f as ee, p as se, r as ae, u as te, x as oe, q as re, s as ne, h as de, m as ie, o as ce, i as le, d as ue, a as Se, j as Ae, c as me, b as he, g as be, v as fe, w as Te } from "../chunks/add-to-dashboard-CFF-wFU-.js";
|
|
7
7
|
import { p as pe, a as xe, r as Ce } from "../chunks/availability-Bp5Gfu1I.js";
|
|
8
8
|
import { A as ye, a as Ie, D as Ee, i as Ne } from "../chunks/conversation-sQiWYUOb.js";
|
|
9
9
|
const _ = [
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { jsxs as d, jsx as r, Fragment as ue } from "react/jsx-runtime";
|
|
2
2
|
import g, { useState as pe } from "react";
|
|
3
|
-
import { c as de, P as be, N as B, S as M, a as Ye, b as We, d as Ce, e as ye, f as Ne, B as S, g as qe, h as Se, C as Ke, R as we, L as fe, X as Xe, i as me, j as Ze, T as Qe, k as er, l as V, m as rr, n as G, o as or, p as ar, q as nr, r as tr, s as E, t as Q, u as ee, v as re, I as Fe, w as oe, x as ae, y as Pe, z as Oe, A as Te, D as Be, E as Re } from "../chunks/style-sheet-parts-
|
|
3
|
+
import { c as de, P as be, N as B, S as M, a as Ye, b as We, d as Ce, e as ye, f as Ne, B as S, g as qe, h as Se, C as Ke, R as we, L as fe, X as Xe, i as me, j as Ze, T as Qe, k as er, l as V, m as rr, n as G, o as or, p as ar, q as nr, r as tr, s as E, t as Q, u as ee, v as re, I as Fe, w as oe, x as ae, y as Pe, z as Oe, A as Te, D as Be, E as Re } from "../chunks/style-sheet-parts-CDCG-8Ej.js";
|
|
4
4
|
import { v as dr, A as ne, d as cr, p as sr } from "../chunks/schema-C9NPiIru.js";
|
|
5
5
|
import { S as j, C as lr, a as ge, c as te } from "../chunks/pickers-DkqmtnTL.js";
|
|
6
|
-
import "../chunks/validators-
|
|
7
|
-
import "../chunks/matrix-operation-contract
|
|
8
|
-
import "../chunks/analytics-base-schemas-
|
|
6
|
+
import "../chunks/validators-Baf3VIf5.js";
|
|
7
|
+
import "../chunks/matrix-operation-contract-DPBj69D8.js";
|
|
8
|
+
import "../chunks/analytics-base-schemas-DsUh5Q3C.js";
|
|
9
9
|
import "../value-format-preferences/index.js";
|
|
10
10
|
import { e as ir } from "../chunks/brand-BoUV0iHF.js";
|
|
11
11
|
import { b as ur, D as pr } from "../chunks/edit-9df1zOWe.js";
|
|
12
12
|
import { n as Ee } from "../chunks/index-BVKzKl5d.js";
|
|
13
13
|
import { b as br } from "../chunks/resolver-DG_tfEpt.js";
|
|
14
|
-
import { P as H } from "../chunks/palette-
|
|
15
|
-
import { U as fr } from "../chunks/upload-
|
|
16
|
-
import { S as mr } from "../chunks/save-
|
|
17
|
-
import { L as gr } from "../chunks/layout-grid-
|
|
14
|
+
import { P as H } from "../chunks/palette-Be62Tkoa.js";
|
|
15
|
+
import { U as fr } from "../chunks/upload-H15d7uHK.js";
|
|
16
|
+
import { S as mr } from "../chunks/save-C5A0JnEV.js";
|
|
17
|
+
import { L as gr } from "../chunks/layout-grid-9LndRoLa.js";
|
|
18
18
|
/**
|
|
19
19
|
* @license lucide-react v0.453.0 - ISC
|
|
20
20
|
*
|
package/dist/briefings/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "../chunks/pivot-result-contract-expectations-
|
|
2
|
-
import "../chunks/validators-
|
|
1
|
+
import "../chunks/pivot-result-contract-expectations-BYqAmG9n.js";
|
|
2
|
+
import "../chunks/validators-Baf3VIf5.js";
|
|
3
3
|
import "../chunks/export-file-format-C-tJsxsf.js";
|
|
4
4
|
import "zod";
|
|
5
|
-
import "../chunks/matrix-operation-contract
|
|
6
|
-
import "../chunks/analytics-base-schemas-
|
|
5
|
+
import "../chunks/matrix-operation-contract-DPBj69D8.js";
|
|
6
|
+
import "../chunks/analytics-base-schemas-DsUh5Q3C.js";
|
|
7
7
|
import "../value-format-preferences/index.js";
|
|
8
|
-
import { E as g, L as l, a5 as B, H as m, a7 as c, C as E, B as d, G as I, N as T, F as C, D as A, M as h, $ as u, j as p, a0 as D, a1 as F, a8 as S, o as _, m as b, n as R, R as N, l as y, T as M, f as O, e as v, U as G, w as x, s as L, c as U, a2 as V, i as H, d as J, K as z, J as P, h as q, b as X, a as K, a9 as Q, g as Y, a3 as j, X as k, a6 as w, Y as W, I as Z, a4 as $, t as ee, k as ae, Z as ie, _ as re, q as te, O as se, S as ne, Q as oe, p as fe, r as ge, u as le, v as Be, P as me, V as ce, W as Ee } from "../chunks/index-
|
|
8
|
+
import { E as g, L as l, a5 as B, H as m, a7 as c, C as E, B as d, G as I, N as T, F as C, D as A, M as h, $ as u, j as p, a0 as D, a1 as F, a8 as S, o as _, m as b, n as R, R as N, l as y, T as M, f as O, e as v, U as G, w as x, s as L, c as U, a2 as V, i as H, d as J, K as z, J as P, h as q, b as X, a as K, a9 as Q, g as Y, a3 as j, X as k, a6 as w, Y as W, I as Z, a4 as $, t as ee, k as ae, Z as ie, _ as re, q as te, O as se, S as ne, Q as oe, p as fe, r as ge, u as le, v as Be, P as me, V as ce, W as Ee } from "../chunks/index-D5rxbtS4.js";
|
|
9
9
|
export {
|
|
10
10
|
g as BRIEFING_ARTIFACT_FORMATS,
|
|
11
11
|
l as BRIEFING_ATTACHMENT_FORMATS,
|
package/dist/chunks/{analytics-base-schemas-DevrgqQb.js → analytics-base-schemas-DsUh5Q3C.js}
RENAMED
|
@@ -41,12 +41,12 @@ const B = [
|
|
|
41
41
|
function z(t) {
|
|
42
42
|
return t === "second" || t === "minute" || t === "hour" ? "datetime" : "date";
|
|
43
43
|
}
|
|
44
|
-
const
|
|
44
|
+
const we = {
|
|
45
45
|
missingMetadata: "missing_temporal_bucket_metadata",
|
|
46
46
|
invalidMetadata: "invalid_temporal_bucket_metadata",
|
|
47
47
|
invalidValue: "invalid_temporal_bucket_value"
|
|
48
|
-
},
|
|
49
|
-
function
|
|
48
|
+
}, je = "__auto_count__";
|
|
49
|
+
function w(t) {
|
|
50
50
|
try {
|
|
51
51
|
return new Intl.DateTimeFormat("en-US", { timeZone: t }).format(), !0;
|
|
52
52
|
} catch {
|
|
@@ -213,11 +213,11 @@ const Q = e.record(e.string(), e.unknown()), p = e.array(Q), u = e.enum([
|
|
|
213
213
|
mode: e.literal("pattern"),
|
|
214
214
|
pattern: e.string().min(1)
|
|
215
215
|
}).strict()
|
|
216
|
-
]),
|
|
216
|
+
]), j = e.object({
|
|
217
217
|
type: e.literal("temporal_bucket"),
|
|
218
218
|
presentation: ae
|
|
219
219
|
}).strict(), oe = e.object({
|
|
220
|
-
tz: e.string().min(1).refine(
|
|
220
|
+
tz: e.string().min(1).refine(w, {
|
|
221
221
|
message: "tz must be a valid IANA timezone"
|
|
222
222
|
}),
|
|
223
223
|
weekStart: e.number().int().min(0).max(6),
|
|
@@ -240,7 +240,7 @@ const Q = e.record(e.string(), e.unknown()), p = e.array(Q), u = e.enum([
|
|
|
240
240
|
}).strict(), Ae = e.object({
|
|
241
241
|
kind: e.literal("raw_temporal"),
|
|
242
242
|
valueKind: e.enum(["date", "wall_datetime", "instant"]),
|
|
243
|
-
tz: e.string().min(1).refine(
|
|
243
|
+
tz: e.string().min(1).refine(w, "tz must be an IANA timezone.")
|
|
244
244
|
}).strict(), r = e.string(), I = e.number().int().min(0).max(20), A = e.object({
|
|
245
245
|
type: e.enum(["number", "currency", "percent", "scientific"]),
|
|
246
246
|
currency: e.string().regex(/^[A-Z]{3}$/, "Expected an ISO 4217 currency code.").optional(),
|
|
@@ -326,7 +326,7 @@ const Q = e.record(e.string(), e.unknown()), p = e.array(Q), u = e.enum([
|
|
|
326
326
|
});
|
|
327
327
|
}).transform((t) => J(t) ?? t).pipe(O), Fe = e.union([
|
|
328
328
|
O,
|
|
329
|
-
|
|
329
|
+
j
|
|
330
330
|
]), Ce = ["number", "currency", "percent", "scientific", "duration", "date", "string", "temporal_bucket"];
|
|
331
331
|
function ce(t) {
|
|
332
332
|
switch (t) {
|
|
@@ -342,7 +342,7 @@ function ce(t) {
|
|
|
342
342
|
case "string":
|
|
343
343
|
return M;
|
|
344
344
|
case "temporal_bucket":
|
|
345
|
-
return
|
|
345
|
+
return j;
|
|
346
346
|
default:
|
|
347
347
|
return;
|
|
348
348
|
}
|
|
@@ -553,6 +553,8 @@ const E = e.object({
|
|
|
553
553
|
missingMeasures: e.array(e.string()).optional(),
|
|
554
554
|
comparison: e.object({
|
|
555
555
|
kind: e.enum(["previous_period", "previous_year", "target"]),
|
|
556
|
+
/** What it compared with, as a card names it (compare-with CW-D24). */
|
|
557
|
+
words: e.string().optional(),
|
|
556
558
|
value: T.optional(),
|
|
557
559
|
delta: e.union([e.number(), e.null()]).optional(),
|
|
558
560
|
deltaPercent: e.union([e.number(), e.null()]).optional()
|
|
@@ -638,8 +640,8 @@ export {
|
|
|
638
640
|
l as P,
|
|
639
641
|
Ne as Q,
|
|
640
642
|
De as R,
|
|
641
|
-
|
|
642
|
-
|
|
643
|
+
je as S,
|
|
644
|
+
we as T,
|
|
643
645
|
Ve as U,
|
|
644
646
|
x as V,
|
|
645
647
|
Ue as W,
|
|
@@ -657,9 +659,9 @@ export {
|
|
|
657
659
|
B as f,
|
|
658
660
|
p as g,
|
|
659
661
|
u as h,
|
|
660
|
-
|
|
662
|
+
w as i,
|
|
661
663
|
ee as j,
|
|
662
|
-
|
|
664
|
+
j as k,
|
|
663
665
|
ne as l,
|
|
664
666
|
ie as m,
|
|
665
667
|
T as n,
|