react-semaphor 0.1.600 → 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.
- package/dist/analytics-protocol/index.js +9 -9
- package/dist/assistant-context/index.js +1 -1
- package/dist/brand-studio/index.js +7 -7
- package/dist/briefings/index.js +48 -45
- package/dist/chunks/{assistant-chat-BULOkG9j.js → assistant-chat-BE0XXzZP.js} +12 -12
- package/dist/chunks/{bookmark-impact-kdvXke8n.js → bookmark-impact-DXDAN5AY.js} +3 -3
- package/dist/chunks/{bookmark-state-h1OLXVjE.js → bookmark-state-BMyB3Tb6.js} +4 -4
- package/dist/chunks/{card-filter-builder-CSCdSQQy.js → card-filter-builder-CE0-YVN5.js} +9 -9
- package/dist/chunks/comparison-window-caption-Dxj2CHOa.js +741 -0
- package/dist/chunks/{dashboard-briefing-launcher-9YwUclHA.js → dashboard-briefing-launcher-CntwKyiZ.js} +13 -13
- package/dist/chunks/{dashboard-controls-O6PNXMCp.js → dashboard-controls-XO089DMg.js} +15 -15
- package/dist/chunks/{dashboard-json-Bxf91TYq.js → dashboard-json-CQRiydUv.js} +4 -4
- package/dist/chunks/{dashboard-y9ON19ge.js → dashboard-mJKPFRbb.js} +1 -1
- package/dist/chunks/{dates-DPTbpNxK.js → dates-B-Urp5OD.js} +8 -8
- package/dist/chunks/{edit-dashboard-visual-CKwaW8H_.js → edit-dashboard-visual-f-Dm-BLR.js} +176 -176
- package/dist/chunks/filter-line-CKNMyNTQ.js +703 -0
- package/dist/chunks/{filter-reach-copy-ClzNcNhP.js → filter-reach-copy-B8GGyVuR.js} +1441 -1270
- package/dist/chunks/{filter-value-text-CXyuLW9Q.js → filter-value-text-CRtKecI5.js} +6 -6
- package/dist/chunks/{index-CRo5--Y6.js → index-DoPApnxg.js} +386 -360
- package/dist/chunks/{layout-grid-DSrBSfPM.js → layout-grid-CiSCZdIr.js} +1 -1
- package/dist/chunks/{matrix-analytical-definition-i9PQY066.js → matrix-analytical-definition-myf3D3Qx.js} +35 -35
- package/dist/chunks/{matrix-member-presentation-B_2beBc0.js → matrix-member-presentation-g0c_NpDW.js} +1 -1
- package/dist/chunks/{matrix-operation-contract-DdK0J_KU.js → matrix-operation-contract-C1SuOHLZ.js} +35 -35
- package/dist/chunks/{metric-comparison-Bhz0V841.js → metric-comparison-Cm0G893W.js} +3 -3
- package/dist/chunks/{paintbrush-1UiU-uTz.js → paintbrush-DQIwqlck.js} +1 -1
- package/dist/chunks/{palette-DFIFf_-m.js → palette-Cun747Rg.js} +1 -1
- package/dist/chunks/{pivot-result-contract-expectations-Dk7WFR_u.js → pivot-result-contract-expectations-C1Dyx8du.js} +17 -17
- package/dist/chunks/{pivot-result-identity-CzzrJpEm.js → pivot-result-identity-CBS-ssEp.js} +1 -1
- package/dist/chunks/{raw-temporal-value-BLvdaMng.js → raw-temporal-value-DN_l-Tss.js} +16 -16
- package/dist/chunks/{report-preferences-dialog-DiDsYpng.js → report-preferences-dialog-SDZEcG2x.js} +13 -13
- package/dist/chunks/{report-runtime-context-CEGluufW.js → report-runtime-context-BbedQdtc.js} +1 -1
- package/dist/chunks/{resolve-dashboard-input-context-BAv33KGg.js → resolve-dashboard-input-context-DRBS0eRa.js} +553 -553
- package/dist/chunks/{save-CWQ02kHo.js → save-Dj5bjm7P.js} +1 -1
- package/dist/chunks/{saved-dashboard-context-CvzYqADe.js → saved-dashboard-context-DWVlJcsa.js} +15 -15
- package/dist/chunks/{selection-filter-compiler-SwrBvyyJ.js → selection-filter-compiler-DmAr7yqC.js} +1 -1
- package/dist/chunks/{semaphor-ready-indicator-1PRI9Yh2.js → semaphor-ready-indicator-OFOoAY-A.js} +16370 -16518
- package/dist/chunks/{shelf-drop-preview-context-BLk5Nc6K.js → shelf-drop-preview-context-2swWypXu.js} +5 -5
- package/dist/chunks/{stored-dashboard-xhYYKBsO.js → stored-dashboard-NtOuEX6a.js} +111 -111
- package/dist/chunks/{style-sheet-parts-BX7d7-2-.js → style-sheet-parts-Qv4UcLAo.js} +2 -2
- package/dist/chunks/{table-export-sheet-BWSVTclx.js → table-export-sheet-Do7ZB0_F.js} +1 -1
- package/dist/chunks/{token-types-CnlEiAdS.js → token-types-Dy_aXO-U.js} +1 -1
- package/dist/chunks/{upload-DsqUSS8l.js → upload-Bq-puSVy.js} +1 -1
- package/dist/chunks/{validators-D2Hm57lJ.js → validators-C7DFk3QK.js} +78 -78
- package/dist/chunks/{variable-draft-DcKj8T1b.js → variable-draft-Cy03qnEi.js} +4 -4
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +80 -75
- package/dist/format-utils/index.js +238 -237
- package/dist/index.js +18 -18
- package/dist/report-runtime-context/index.js +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/briefings/attachment-outcomes.d.ts +1 -1
- package/dist/types/briefings/attachments.d.ts +45 -4
- package/dist/types/briefings/index.d.ts +1 -1
- package/dist/types/index.js +5 -5
- package/dist/types/lib/export-utils.d.ts +72 -0
- package/dist/types/lib/formatters/dashboard-temporal-presentation.d.ts +10 -0
- package/dist/types/shared/dashboard-authoring/card-data-file.d.ts +31 -0
- package/dist/types/shared/dashboard-authoring/index.d.ts +3 -0
- package/package.json +1 -1
- package/dist/chunks/comparison-window-caption-DJDwP9XO.js +0 -1309
- package/dist/chunks/filter-line-Dkg3yuOX.js +0 -134
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var O = Object.defineProperty;
|
|
2
2
|
var P = (t, e, n) => e in t ? O(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
3
|
var b = (t, e, n) => P(t, typeof e != "symbol" ? e + "" : e, n);
|
|
4
|
-
import { j as U,
|
|
4
|
+
import { j as U, r as W, aM as E } from "./validators-C7DFk3QK.js";
|
|
5
5
|
import { R as x } from "./analytics-base-schemas-DevrgqQb.js";
|
|
6
6
|
const k = /* @__PURE__ */ new Map();
|
|
7
7
|
function y(t, e) {
|
|
@@ -35,7 +35,7 @@ function s(t) {
|
|
|
35
35
|
const e = /* @__PURE__ */ new Date(0);
|
|
36
36
|
return e.setUTCFullYear(t.year, t.month - 1, t.day), e.setUTCHours(t.hour, t.minute, t.second, t.millisecond ?? 0), e.getTime();
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function l(t, e) {
|
|
39
39
|
const n = t - (t % 1e3 + 1e3) % 1e3;
|
|
40
40
|
return s(y(new Date(n), e)) - n;
|
|
41
41
|
}
|
|
@@ -44,11 +44,11 @@ function K(t, e) {
|
|
|
44
44
|
const n = F(t, e);
|
|
45
45
|
if (n.length) return n[0];
|
|
46
46
|
const r = s(t);
|
|
47
|
-
return new Date(r -
|
|
47
|
+
return new Date(r - l(r - v, e));
|
|
48
48
|
}
|
|
49
49
|
function F(t, e) {
|
|
50
|
-
const n = s(t), r =
|
|
51
|
-
return [.../* @__PURE__ */ new Set([r, o])].map((a) => n - a).filter((a) =>
|
|
50
|
+
const n = s(t), r = l(n - v, e), o = l(n + v, e);
|
|
51
|
+
return [.../* @__PURE__ */ new Set([r, o])].map((a) => n - a).filter((a) => l(a, e) === n - a).sort((a, i) => a - i).map((a) => new Date(a));
|
|
52
52
|
}
|
|
53
53
|
const D = 864e5, w = {
|
|
54
54
|
second: 1e3,
|
|
@@ -84,7 +84,7 @@ function m(t, e) {
|
|
|
84
84
|
const n = t.year * 12 + (t.month - 1) + e, r = Math.floor(n / 12), o = n - r * 12 + 1;
|
|
85
85
|
return { ...t, year: r, month: o, day: Math.min(t.day, S(r, o)) };
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function f(t, e, n) {
|
|
88
88
|
if (e === 0) return t;
|
|
89
89
|
switch (n) {
|
|
90
90
|
case "second":
|
|
@@ -121,7 +121,7 @@ function Y(t, e, n) {
|
|
|
121
121
|
case "day":
|
|
122
122
|
return r;
|
|
123
123
|
case "week":
|
|
124
|
-
return
|
|
124
|
+
return f(
|
|
125
125
|
r,
|
|
126
126
|
-((j(t) - n.weekStart + 7) % 7),
|
|
127
127
|
"day"
|
|
@@ -149,14 +149,14 @@ function _(t, e, n, r = 0) {
|
|
|
149
149
|
const u = g(t, n.tz), L = u.millisecond + (e === "second" ? 0 : u.second * 1e3) + (e === "hour" ? u.minute * 6e4 : 0), C = t.getTime() - L + r * o;
|
|
150
150
|
return { start: new Date(C), endExclusive: new Date(C + o) };
|
|
151
151
|
}
|
|
152
|
-
const a = e, i =
|
|
152
|
+
const a = e, i = f(
|
|
153
153
|
Y(g(t, n.tz), a, n),
|
|
154
154
|
r,
|
|
155
155
|
e
|
|
156
156
|
);
|
|
157
157
|
return {
|
|
158
158
|
start: d(i, n.tz),
|
|
159
|
-
endExclusive: d(
|
|
159
|
+
endExclusive: d(f(i, 1, e), n.tz)
|
|
160
160
|
};
|
|
161
161
|
}
|
|
162
162
|
function ct(t, e, n) {
|
|
@@ -165,13 +165,13 @@ function ct(t, e, n) {
|
|
|
165
165
|
function dt(t, e, n) {
|
|
166
166
|
return new Date(_(t, e, n).endExclusive.getTime() - 1);
|
|
167
167
|
}
|
|
168
|
-
function
|
|
168
|
+
function ft(t, e, n, r) {
|
|
169
169
|
return e === 0 ? t : d(
|
|
170
|
-
|
|
170
|
+
f(g(t, r.tz), e, n),
|
|
171
171
|
r.tz
|
|
172
172
|
);
|
|
173
173
|
}
|
|
174
|
-
function
|
|
174
|
+
function lt(t, e, n) {
|
|
175
175
|
const r = (o) => {
|
|
176
176
|
const { year: a, month: i, day: u } = y(o, n);
|
|
177
177
|
return s({ year: a, month: i, day: u, hour: 0, minute: 0, second: 0 });
|
|
@@ -195,7 +195,7 @@ function ht(t, e) {
|
|
|
195
195
|
const r = { ...n, hour: 0, minute: 0, second: 0, millisecond: 0 };
|
|
196
196
|
return {
|
|
197
197
|
start: d(r, e),
|
|
198
|
-
endExclusive: d(
|
|
198
|
+
endExclusive: d(f(r, 1, "day"), e)
|
|
199
199
|
};
|
|
200
200
|
}
|
|
201
201
|
const yt = {
|
|
@@ -419,8 +419,8 @@ export {
|
|
|
419
419
|
_ as F,
|
|
420
420
|
ct as G,
|
|
421
421
|
dt as H,
|
|
422
|
-
|
|
423
|
-
|
|
422
|
+
ft as I,
|
|
423
|
+
lt as J,
|
|
424
424
|
mt as K,
|
|
425
425
|
q as L,
|
|
426
426
|
ht as M,
|
|
@@ -443,7 +443,7 @@ export {
|
|
|
443
443
|
et as p,
|
|
444
444
|
pt as q,
|
|
445
445
|
G as r,
|
|
446
|
-
|
|
446
|
+
f as s,
|
|
447
447
|
Tt as t,
|
|
448
448
|
y as u,
|
|
449
449
|
Ct as v,
|
package/dist/chunks/{report-preferences-dialog-DiDsYpng.js → report-preferences-dialog-SDZEcG2x.js}
RENAMED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsx as r, Fragment as M, jsxs as d } from "react/jsx-runtime";
|
|
2
2
|
import He, { useMemo as j, useState as I, useEffect as B, lazy as ae, Suspense as Y, useRef as L, useLayoutEffect as ee, useCallback as P, Activity as Ke, useId as $ } from "react";
|
|
3
|
-
import { b as qe, b8 as be, bk as Ge, bl as Je, u as D, bm as ze, Y as Xe, W as Ze, bn as Ye, bo as Qe, bp as et, bq as tt, br as J, bs as Le, bt as ge, bu as at, ad as X, ac as rt, bv as nt, bw as st, ae as ye, af as lt, bx as it, E as ot, F as dt, S as ct, B as ut, a as mt, U as ht, by as ft, D as bt, A as pt, C as gt, bz as yt, bA as ve, bB as ne, bC as vt, i as St, j as wt, k as xt, l as Tt, m as Se, n as we, bD as Ct, bE as pe, bF as F, bG as Nt, bH as Et, bI as It, bJ as At, bK as Dt } from "./semaphor-ready-indicator-
|
|
3
|
+
import { b as qe, b8 as be, bk as Ge, bl as Je, u as D, bm as ze, Y as Xe, W as Ze, bn as Ye, bo as Qe, bp as et, bq as tt, br as J, bs as Le, bt as ge, bu as at, ad as X, ac as rt, bv as nt, bw as st, ae as ye, af as lt, bx as it, E as ot, F as dt, S as ct, B as ut, a as mt, U as ht, by as ft, D as bt, A as pt, C as gt, bz as yt, bA as ve, bB as ne, bC as vt, i as St, j as wt, k as xt, l as Tt, m as Se, n as we, bD as Ct, bE as pe, bF as F, bG as Nt, bH as Et, bI as It, bJ as At, bK as Dt } from "./semaphor-ready-indicator-OFOoAY-A.js";
|
|
4
4
|
import { j as kt, c as U } from "./pickers-DkqmtnTL.js";
|
|
5
|
-
import { K as _t } from "./bookmark-state-
|
|
5
|
+
import { K as _t } from "./bookmark-state-BMyB3Tb6.js";
|
|
6
6
|
import { r as Pt, a as Re } from "./availability-Bp5Gfu1I.js";
|
|
7
|
-
import { s as zt } from "./resolve-dashboard-input-context-
|
|
8
|
-
import { B as z, Z as Lt, _ as Rt, $ as Ut, a0 as Ft, a1 as Ot, a2 as Bt, s as G, e as jt, f as Mt, h as Vt, j as xe, L as Ue, y as de, z as ce, A as ue, D as me, E as O, T as Wt, k as $t, l as Te, n as Ce } from "./style-sheet-parts-
|
|
9
|
-
import "./validators-
|
|
10
|
-
import "./matrix-operation-contract-
|
|
7
|
+
import { s as zt } from "./resolve-dashboard-input-context-DRBS0eRa.js";
|
|
8
|
+
import { B as z, Z as Lt, _ as Rt, $ as Ut, a0 as Ft, a1 as Ot, a2 as Bt, s as G, e as jt, f as Mt, h as Vt, j as xe, L as Ue, y as de, z as ce, A as ue, D as me, E as O, T as Wt, k as $t, l as Te, n as Ce } from "./style-sheet-parts-Qv4UcLAo.js";
|
|
9
|
+
import "./validators-C7DFk3QK.js";
|
|
10
|
+
import "./matrix-operation-contract-C1SuOHLZ.js";
|
|
11
11
|
import "./analytics-base-schemas-DevrgqQb.js";
|
|
12
12
|
import { parseValueFormatPreferencesResponse as Ht, canonicalizeSupportedLocale as Fe, getSupportedCurrencyCodes as Kt, canonicalizeSupportedCurrencyCode as qt } from "../value-format-preferences/index.js";
|
|
13
|
-
import { f as Gt } from "./filter-reach-copy-
|
|
14
|
-
import { a as Jt } from "./report-runtime-context-
|
|
15
|
-
import { as as Z, az as H } from "./pivot-result-contract-expectations-
|
|
13
|
+
import { f as Gt } from "./filter-reach-copy-B8GGyVuR.js";
|
|
14
|
+
import { a as Jt } from "./report-runtime-context-BbedQdtc.js";
|
|
15
|
+
import { as as Z, az as H } from "./pivot-result-contract-expectations-C1Dyx8du.js";
|
|
16
16
|
function Xt() {
|
|
17
17
|
return /* @__PURE__ */ r(
|
|
18
18
|
"div",
|
|
@@ -93,7 +93,7 @@ function na(e, a, t) {
|
|
|
93
93
|
const n = t ? _t(t, e.cardId) : void 0;
|
|
94
94
|
return !!n && n.sheet.id === e.sheetId;
|
|
95
95
|
}
|
|
96
|
-
const sa = ae(() => import("./assistant-chat-
|
|
96
|
+
const sa = ae(() => import("./assistant-chat-BE0XXzZP.js"));
|
|
97
97
|
function Ya() {
|
|
98
98
|
const e = Xe(), a = Ze();
|
|
99
99
|
if (!e.available) return null;
|
|
@@ -535,9 +535,9 @@ function Q(e) {
|
|
|
535
535
|
function Sa() {
|
|
536
536
|
return globalThis.crypto.randomUUID();
|
|
537
537
|
}
|
|
538
|
-
const wa = ae(() => import("./dashboard-controls-
|
|
539
|
-
() => import("./edit-dashboard-visual-
|
|
540
|
-
), Ta = ae(() => import("./dashboard-json-
|
|
538
|
+
const wa = ae(() => import("./dashboard-controls-XO089DMg.js")), xa = ae(
|
|
539
|
+
() => import("./edit-dashboard-visual-f-Dm-BLR.js")
|
|
540
|
+
), Ta = ae(() => import("./dashboard-json-CQRiydUv.js"));
|
|
541
541
|
function Qa({
|
|
542
542
|
showControls: e = !1,
|
|
543
543
|
showFooter: a = !0,
|
package/dist/chunks/{report-runtime-context-CEGluufW.js → report-runtime-context-BbedQdtc.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { parseValueFormatPreferences as _, isReportPreferenceSource as C } from "../value-format-preferences/index.js";
|
|
2
|
-
import { p as g } from "./validators-
|
|
2
|
+
import { p as g } from "./validators-C7DFk3QK.js";
|
|
3
3
|
import { i as k } from "./analytics-base-schemas-DevrgqQb.js";
|
|
4
4
|
const D = {
|
|
5
5
|
tz: "UTC",
|