react-semaphor 0.1.588 → 0.1.590
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 +2 -2
- package/dist/assistant-context/index.js +1 -1
- package/dist/brand-studio/index.js +5 -5
- package/dist/briefings/index.js +1 -1
- package/dist/chunks/{assistant-chat-BeM6joPc.js → assistant-chat-C_6dBLUk.js} +9 -9
- package/dist/chunks/{bookmark-impact-B7pbMx2e.js → bookmark-impact-DkZABEd3.js} +1 -1
- package/dist/chunks/{card-filter-builder-DmodrhyI.js → card-filter-builder-6vflbF9O.js} +166 -166
- package/dist/chunks/{dashboard-Tu5wT0Cw.js → dashboard-DpgRl65K.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-D8jMxIJo.js → dashboard-briefing-launcher-BLbhONJz.js} +156 -156
- package/dist/chunks/{dashboard-controls-uzeAIEkM.js → dashboard-controls-kCTYEEsq.js} +45 -45
- package/dist/chunks/{dashboard-json-i5rpFNCg.js → dashboard-json-CNIFresY.js} +2 -2
- package/dist/chunks/{dates-BunbHJH0.js → dates-BoeweqEo.js} +4 -4
- package/dist/chunks/{edit-dashboard-visual-BpEK_Sls.js → edit-dashboard-visual-D0eWTlPL.js} +719 -719
- package/dist/chunks/{filter-reach-copy-D5AmDHda.js → filter-reach-copy-eMhDPTYH.js} +3 -3
- package/dist/chunks/{index-dGxJTaP1.js → index-D8LFjI8j.js} +1 -1
- package/dist/chunks/{layout-grid-XCYphks2.js → layout-grid-BG__sPkb.js} +1 -1
- package/dist/chunks/{list-filter-DGV3fqqv.js → list-filter-Cb8i7N8f.js} +1 -1
- package/dist/chunks/{matrix-analytical-definition-SN0JUJVk.js → matrix-analytical-definition-D9Ll_9R-.js} +202 -190
- package/dist/chunks/{paintbrush-DEEZXhDj.js → paintbrush-C310xSuR.js} +1 -1
- package/dist/chunks/{palette-Bgy0H-Nt.js → palette-Ci5P91Zb.js} +1 -1
- package/dist/chunks/report-preferences-dialog-dUlVLgEk.js +1637 -0
- package/dist/chunks/{resolve-dashboard-input-context-DFBIngUZ.js → resolve-dashboard-input-context-NurwNg4I.js} +1 -1
- package/dist/chunks/{save-xnRCvMeA.js → save-BhhXfp4s.js} +1 -1
- package/dist/chunks/{saved-dashboard-context-DKMTP9ib.js → saved-dashboard-context-CPp--vXU.js} +3 -3
- package/dist/chunks/{selection-filter-compiler-DkIjp1yH.js → selection-filter-compiler-CHG-8xnW.js} +1 -1
- package/dist/chunks/{semaphor-ready-indicator-zU9reNmX.js → semaphor-ready-indicator-CXojR95M.js} +27098 -26525
- package/dist/chunks/{shelf-drop-preview-context-R9sf4oDX.js → shelf-drop-preview-context-BDScAUdq.js} +109 -109
- package/dist/chunks/{stored-dashboard-CksluF2S.js → stored-dashboard-KkH4zOhq.js} +4 -4
- package/dist/chunks/{style-sheet-parts-D7NbsFL0.js → style-sheet-parts-CmXmKqGw.js} +30 -30
- package/dist/chunks/{upload-BXGgYS4g.js → upload-DDYc1Qjj.js} +1 -1
- package/dist/chunks/{variable-draft-rbtGPvmX.js → variable-draft-Bi3RlULA.js} +3 -3
- package/dist/dashboard/index.js +1 -1
- package/dist/dashboard-authoring/index.js +10 -10
- package/dist/index.js +210 -211
- package/dist/style.css +1 -1
- package/dist/surfboard/index.js +1 -1
- package/dist/types/lib/dashboard-view-state/date-zoom.d.ts +2 -2
- package/dist/types/shared/analytics-protocol/metric-comparison.d.ts +7 -0
- package/package.json +1 -1
- package/dist/chunks/report-preferences-dialog-CTM0xfd0.js +0 -2028
package/dist/surfboard/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a, R as s, D as o } from "../chunks/report-preferences-dialog-
|
|
1
|
+
import { a, R as s, D as o } from "../chunks/report-preferences-dialog-dUlVLgEk.js";
|
|
2
2
|
import { C as f, E as D } from "../chunks/bookmark-state-Bn7k3ttp.js";
|
|
3
3
|
export {
|
|
4
4
|
f as CONTROL_CARD_DEFAULT_VALUE,
|
|
@@ -37,8 +37,8 @@ export declare function applicableDateZoom(zoom: CardDateZoom | undefined, saved
|
|
|
37
37
|
* otherwise. The one rule for any axis shape:
|
|
38
38
|
* - every shaded bucket is a date (a blank inside the band or at its end can't
|
|
39
39
|
* be zoomed: a date range leaves undated rows out);
|
|
40
|
-
* -
|
|
41
|
-
*
|
|
40
|
+
* - one period is a zoom into that period (DZ-D3, Rev 5), on a two-level
|
|
41
|
+
* axis too (the levels of one date);
|
|
42
42
|
* - no bucket outside the band falls strictly between its first and last date
|
|
43
43
|
* (an axis sorted by a measure would pull in periods the band skipped). A
|
|
44
44
|
* bucket outside the band on the first or last date is the same period (a
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { SemaphorFieldRef, SemaphorTimeGrain, SemaphorValidationResult } from './contracts.js';
|
|
2
|
+
import { TemporalShift } from '../temporal/calendar-periods.js';
|
|
2
3
|
export type MetricComparisonSpec = {
|
|
3
4
|
kind: 'previous_period';
|
|
4
5
|
offsetPeriods?: number;
|
|
@@ -111,6 +112,12 @@ export type MetricComparisonOutputBase = {
|
|
|
111
112
|
windowGrain?: MetricComparisonWindowGrain;
|
|
112
113
|
currentWindow?: ResolvedDateWindow;
|
|
113
114
|
comparisonWindow?: ResolvedDateWindow;
|
|
115
|
+
/**
|
|
116
|
+
* How far back `comparisonWindow` sits from `currentWindow`: the one step a
|
|
117
|
+
* consumer moves a date by to reach the comparison period (a clicked
|
|
118
|
+
* bucket, a selection). Set with the windows.
|
|
119
|
+
*/
|
|
120
|
+
step?: TemporalShift;
|
|
114
121
|
referenceTime?: string;
|
|
115
122
|
temporalField?: SemaphorFieldRef;
|
|
116
123
|
};
|