@bitcobblers/wod-wiki-ui 0.60.2258 → 0.62.2260

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/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
- import { Q as QueryExecutor, S as SessionActionContext, O as OutputFilterInput, a as SessionTableSortSpec, I as InlineMetricEditPayload, R as RowPrHighlight } from './index--dnlfHhC.cjs';
2
- export { A as AttachmentUrlResolver, B as ButtonAction, C as CategorizedMetrics, b as CursorFocusState, c as CustomCompletionSource, D as DEFAULT_OUTPUT_FILTERS, d as DEFAULT_PRIMARY_FILTER, e as DefaultFrontmatterWidget, E as EditorDialect, f as EditorPresetOptions, g as EditorSection, h as EditorSectionSubtype, i as EditorSectionType, j as EmbedType, F as FrontmatterCatalogEntry, k as FrontmatterRefDiagnostic, l as FrontmatterReferenceProvider, m as FrontmatterReferenceRef, n as FrontmatterReferenceResolution, o as FrontmatterSuggestionCatalog, G as GeometryListener, p as INTERNAL_FRONTMATTER_KEYS, M as MetricBadge, N as NavigationHook, q as NestedCompletionOptions, r as OUTPUT_TYPE_CLASS, s as OUTPUT_TYPE_DOT, t as OutputFilterPills, u as OutputFilterPreset, v as OutputStatementRow, w as OutputStatementsTable, x as OutputStatementsTableProps, y as OverlayAction, z as QueryBlockPreviewOptions, H as RpePopoverControl, J as RpePopoverControlProps, K as RuntimePanelEntry, L as SectionIdentity, P as SectionRect, T as SectionState, U as SessionQueryFenceOptions, V as SessionSummaryCard, W as SessionSummaryCardProps, X as TONE_CLASS, Y as WidgetConfig, Z as WidgetProps, _ as WidgetRegistry, $ as activeCursorSection, a0 as addRuntimePanel, a1 as affiliateTagFacet, a2 as applyAmazonAffiliateTag, a3 as attachmentUrlFacet, a4 as autocompleteTooltipTheme, a5 as configureOverlayActions, a6 as cursorFocusExtension, a7 as customCompletionSources, a8 as dispatchAddRuntimePanel, a9 as dispatchExpandRuntimePanel, aa as dispatchGutterHighlights, ab as dispatchRemoveRuntimePanel, ac as editingQuerySectionsField, ad as editingWidgetsField, ae as editorFocusField, af as editorFocusTracker, ag as editorPreset, ah as editorTheme, ai as embedPreviewDecorations, aj as expandRuntimePanel, ak as extractMetricsByCategory, al as fenceCompletion, am as findQueryBlockSection, an as findWorkoutErrors, ao as forceSectionParse, ap as formatClockTime, aq as formatMMSS, ar as formatSummaryDurationMMSS, as as frontmatterDebugMode, at as frontmatterDetailed, au as frontmatterKeymap, av as frontmatterPreview, aw as frontmatterPreviewField, ax as frontmatterReferenceIndex, ay as frontmatterSource, az as frontmatterSuggestions, aA as frontmatterVisibility, aB as getCursorFocusState, aC as getOverlayActions, aD as gutterHighlightsField, aE as gutterUnified, aF as handleFenceAutoWrap, aG as handleSmartUrlPaste, aH as inlineButtonDecoration, aI as insertMarkdownLinkCommand, aJ as isAmazonRetailHost, aK as isEditorFocused, aL as isInternalFrontmatterKey, aM as isNavigableUrl, aN as lineIdsExtension, aO as linkOpen, aP as linkPreview, aQ as markdownSyntaxHiding, aR as markdownTablePreview, aS as navigationFacet, aT as nestedCompletion, aU as nestedCompletionOptions, aV as normalizeOutputFilter, aW as presentBadges, aX as previewDecorations, aY as queryBlockPreview, aZ as referenceIndexReload, a_ as registeredSectionWidgets, a$ as removeRuntimePanel, b0 as resolveCodeLanguage, b1 as runtimePanelField, b2 as saveBlockQuerySource, b3 as sectionAtPos, b4 as sectionField, b5 as sectionGeometry, b6 as sectionIdentity, b7 as sectionIdentityHistory, b8 as sectionMove, b9 as sectionRestore, ba as sectionSaved, bb as sessionQueryFence, bc as sessionQueryInsert, bd as sessionQueryWql, be as setEditorFocused, bf as setFrontmatterDetailed, bg as setFrontmatterSource, bh as setGutterHighlights, bi as setQuerySourceEditing, bj as slashBlockCompletion, bk as smartIncrement, bl as toggleInlineMarkdown, bm as toggleWidgetEdit, bn as urlAtPos, bo as widgetBlockPreview, bp as wodAutoWrap, bq as wodAutocompletion, br as wodCompletionSource, bs as wodEditorKeymap, bt as wodLinter, bu as wodOverlayPanel, bv as workoutLintSource, bw as wrapInTimeFence } from './index--dnlfHhC.cjs';
1
+ import { Q as QueryExecutor, S as SessionActionContext, O as OutputFilterInput, a as SessionTableSortSpec, I as InlineMetricEditPayload, R as RowPrHighlight } from './index-ByZr9Fye.cjs';
2
+ export { A as AttachmentUrlResolver, B as ButtonAction, C as CategorizedMetrics, b as CursorFocusState, c as CustomCompletionSource, D as DEFAULT_OUTPUT_FILTERS, d as DEFAULT_PRIMARY_FILTER, e as DefaultFrontmatterWidget, E as EditorDialect, f as EditorPresetOptions, g as EditorSection, h as EditorSectionSubtype, i as EditorSectionType, j as EmbedType, F as FrontmatterCatalogEntry, k as FrontmatterRefDiagnostic, l as FrontmatterReferenceProvider, m as FrontmatterReferenceRef, n as FrontmatterReferenceResolution, o as FrontmatterSuggestionCatalog, G as GeometryListener, p as INTERNAL_FRONTMATTER_KEYS, M as MetricBadge, N as NavigationHook, q as NestedCompletionOptions, r as OUTPUT_TYPE_CLASS, s as OUTPUT_TYPE_DOT, t as OutputFilterPills, u as OutputFilterPreset, v as OutputStatementRow, w as OutputStatementsTable, x as OutputStatementsTableProps, y as OverlayAction, z as QueryBlockPreviewOptions, H as RpePopoverControl, J as RpePopoverControlProps, K as RuntimePanelEntry, L as SectionIdentity, P as SectionRect, T as SectionState, U as SessionQueryFenceOptions, V as SessionSummaryCard, W as SessionSummaryCardProps, X as TONE_CLASS, Y as WidgetConfig, Z as WidgetProps, _ as WidgetRegistry, $ as acceptCompletionOrFirst, a0 as activeCursorSection, a1 as addRuntimePanel, a2 as affiliateTagFacet, a3 as applyAmazonAffiliateTag, a4 as attachmentUrlFacet, a5 as autocompleteTooltipTheme, a6 as configureOverlayActions, a7 as cursorFocusExtension, a8 as customCompletionSources, a9 as dispatchAddRuntimePanel, aa as dispatchExpandRuntimePanel, ab as dispatchGutterHighlights, ac as dispatchRemoveRuntimePanel, ad as editingQuerySectionsField, ae as editingWidgetsField, af as editorFocusField, ag as editorFocusTracker, ah as editorPreset, ai as editorTheme, aj as embedPreviewDecorations, ak as expandRuntimePanel, al as extractMetricsByCategory, am as fenceCompletion, an as findQueryBlockSection, ao as findWorkoutErrors, ap as forceSectionParse, aq as formatAnalyticsFloat, ar as formatClockTime, as as formatMMSS, at as formatSummaryDurationMMSS, au as frontmatterDebugMode, av as frontmatterDetailed, aw as frontmatterKeymap, ax as frontmatterPreview, ay as frontmatterPreviewField, az as frontmatterReferenceIndex, aA as frontmatterSource, aB as frontmatterSuggestions, aC as frontmatterVisibility, aD as getCursorFocusState, aE as getOverlayActions, aF as gutterHighlightsField, aG as gutterUnified, aH as handleFenceAutoWrap, aI as handleSmartUrlPaste, aJ as inlineButtonDecoration, aK as insertMarkdownLinkCommand, aL as insertWhiteboardNewline, aM as isAmazonRetailHost, aN as isEditorFocused, aO as isInternalFrontmatterKey, aP as isNavigableUrl, aQ as isWhiteboardScriptBody, aR as lineIdsExtension, aS as linkOpen, aT as linkPreview, aU as markdownSyntaxHiding, aV as markdownTablePreview, aW as mobileDockedCompletionFacet, aX as navigationFacet, aY as nestedCompletion, aZ as nestedCompletionOptions, a_ as normalizeOutputFilter, a$ as presentBadges, b0 as previewDecorations, b1 as queryBlockPreview, b2 as referenceIndexReload, b3 as registeredSectionWidgets, b4 as removeRuntimePanel, b5 as resolveCodeLanguage, b6 as runtimePanelField, b7 as saveBlockQuerySource, b8 as sectionAtPos, b9 as sectionField, ba as sectionGeometry, bb as sectionIdentity, bc as sectionIdentityHistory, bd as sectionMove, be as sectionRestore, bf as sectionSaved, bg as sessionQueryFence, bh as sessionQueryInsert, bi as sessionQueryWql, bj as setEditorFocused, bk as setFrontmatterDetailed, bl as setFrontmatterSource, bm as setGutterHighlights, bn as setQuerySourceEditing, bo as shouldTriggerBackspaceCompletion, bp as slashBlockCompletion, bq as smartIncrement, br as toggleInlineMarkdown, bs as toggleWidgetEdit, bt as urlAtPos, bu as widgetBlockPreview, bv as wodAutoWrap, bw as wodAutocompletion, bx as wodBackspaceCompletion, by as wodCompletionIconOption, bz as wodCompletionKeymap, bA as wodCompletionSource, bB as wodEditorKeymap, bC as wodIndentKeymap, bD as wodLinter, bE as wodOverlayPanel, bF as workoutLintSource, bG as wrapInTimeFence } from './index-ByZr9Fye.cjs';
3
3
  import * as react from 'react';
4
- import react__default, { ReactNode, ComponentType, RefObject, KeyboardEvent } from 'react';
4
+ import react__default, { ReactNode, ReactElement, ComponentType, RefObject, KeyboardEvent } from 'react';
5
5
  import { QueryResult, RowsRun, NoteContainer, TabularResult, PipelineSink, QueryDocumentRunnerHost, Series, AnyParsedQuery, DocumentOutput, DocumentResult, DashboardToken, DashboardDocument, DashboardWidget, RowsQueryResult, ParsedAggregateQuery, FindQueryResult, ParsedFindQuery, ParsedPipelineQuery, WqlCursorStageInfo, QueryBlockObject } from '@bitcobblers/wod-wiki-wql';
6
6
  export { CONTENT_GROUPING_DIMENSIONS, FindOptions, FindQueryResult, ParsedAggregateQuery, ParsedFindQuery, ParsedPipelineQuery, ParsedRowsQuery, PipelineResult, QueryOptions, QueryResult, RowsQueryResult, RowsRun } from '@bitcobblers/wod-wiki-wql';
7
7
  import * as _bitcobblers_wod_wiki_core from '@bitcobblers/wod-wiki-core';
@@ -78,6 +78,42 @@ interface QueryValueProps {
78
78
  }
79
79
  declare function QueryValue({ result, unit: unitProp, label, thresholds }: QueryValueProps): react.JSX.Element;
80
80
 
81
+ /**
82
+ * Shared Y-axis tick display formatter: locale-grouped number (`0` decimals for
83
+ * large magnitudes `>= 100`, up to `1` decimal for smaller fractional ticks)
84
+ * + a separating space before `unit` when present (e.g. `5,000 kg`, `62 ms`).
85
+ */
86
+ declare function formatAxisTick(value: number | string, unit?: string): string;
87
+ /**
88
+ * Shared metric value formatter for tooltips, summary cards, and tables:
89
+ * locale-grouped number rounded to at most 1 fraction digit (drops `.0`
90
+ * automatically) + spaced unit (`11,362.5 kg`).
91
+ */
92
+ declare function formatMetricValue(value: number | string, unit?: string): string;
93
+ /**
94
+ * Compact numeric display with at most 1 decimal on `k`/`M` suffixes and a
95
+ * separating space before `unit` (e.g. `12.5k kg`, `480 kg`).
96
+ */
97
+ declare function formatCompactMetricValue(value: number | string, unit?: string): string;
98
+ /**
99
+ * Estimate a non-clipping Y-axis width from the sample values and unit label
100
+ * so formatted ticks like `12,500 kg` or `65 ms` stay single-line and legible.
101
+ */
102
+ declare function computeYAxisWidth(values: readonly number[], unit?: string, minWidth?: number, maxWidth?: number): number;
103
+ interface SingleLineYAxisTickProps {
104
+ x?: number;
105
+ y?: number;
106
+ payload?: {
107
+ value?: number | string;
108
+ };
109
+ unit?: string;
110
+ }
111
+ /**
112
+ * Custom Recharts SVG Y-axis tick renderer that keeps tick value and unit on
113
+ * one unwrapped line (`white-space: nowrap`) with right alignment.
114
+ */
115
+ declare function SingleLineYAxisTick({ x, y, payload, unit, }: SingleLineYAxisTickProps): ReactElement;
116
+
81
117
  interface WqlTimeseriesProps {
82
118
  result: QueryResult;
83
119
  unit?: string;
@@ -87,12 +123,12 @@ interface WqlTimeseriesProps {
87
123
  * large magnitudes, up to `1` decimal for small fractional ticks) + space before
88
124
  * `unit` when present (e.g. `5,000 kg`).
89
125
  */
90
- declare function formatTimeseriesTick(value: number | string, unit?: string): string;
126
+ declare const formatTimeseriesTick: typeof formatAxisTick;
91
127
  /**
92
128
  * Shared Tooltip value display formatter: locale-grouped number rounded to at
93
129
  * most 1 fraction digit (drops trailing `.0` automatically, e.g. `12,179 kg`).
94
130
  */
95
- declare function formatTimeseriesTooltipValue(value: number | string, unit?: string): string;
131
+ declare const formatTimeseriesTooltipValue: typeof formatMetricValue;
96
132
  declare function WqlTimeseries({ result, unit: unitProp }: WqlTimeseriesProps): react.JSX.Element;
97
133
 
98
134
  interface WqlBarsProps {
@@ -298,8 +334,10 @@ interface WqlEmptyStateProps {
298
334
  result?: QueryResult | undefined;
299
335
  className?: string;
300
336
  actions?: ReactNode;
337
+ /** Optional message shown when `result` has non-empty series yet the caller could not render them. */
338
+ fallbackMessage?: string;
301
339
  }
302
- declare function WqlEmptyState({ result, className, actions }: WqlEmptyStateProps): react.JSX.Element | null;
340
+ declare function WqlEmptyState({ result, className, actions, fallbackMessage }: WqlEmptyStateProps): react.JSX.Element | null;
303
341
 
304
342
  interface TopListProps {
305
343
  result: QueryResult;
@@ -717,8 +755,8 @@ declare const GROUPBY_OPTIONS: {
717
755
  label: "split" | "format" | "origin" | "result" | "month" | "day" | "page" | "domain" | "round" | "note" | "effort" | "metric" | "intensity" | "week" | "block" | "session" | "notebook" | "tags" | "equipment" | "quality" | "intent" | "discipline" | "attempt" | "grade" | "grain";
718
756
  }[];
719
757
  declare const METRIC_OPTIONS: {
720
- value: "calc.hrv" | "resistance" | "calc.e1rm" | "tis" | "reps" | "calc.adherence" | "calc.acwr" | "calc.strain" | "calc.readiness" | "calc.sends" | "distance" | "pace" | "elapsed" | "power" | "totalVolume" | "totalDistance" | "sessionLoad" | "calc.metMinutes" | "calc.monotony" | "calc.ctl" | "calc.atl" | "calc.tsb" | "calc.soreness" | "calc.sleep" | "calc.mvcBw" | "calc.ef" | "calc.pct1rm";
721
- label: "calc.hrv" | "resistance" | "calc.e1rm" | "tis" | "reps" | "calc.adherence" | "calc.acwr" | "calc.strain" | "calc.readiness" | "calc.sends" | "distance" | "pace" | "elapsed" | "power" | "totalVolume" | "totalDistance" | "sessionLoad" | "calc.metMinutes" | "calc.monotony" | "calc.ctl" | "calc.atl" | "calc.tsb" | "calc.soreness" | "calc.sleep" | "calc.mvcBw" | "calc.ef" | "calc.pct1rm";
758
+ value: "calc.hrv" | "resistance" | "calc.e1rm" | "tis" | "reps" | "calc.adherence" | "calc.acwr" | "calc.strain" | "calc.readiness" | "calc.sends" | "calc.sleep" | "distance" | "pace" | "elapsed" | "power" | "totalVolume" | "totalDistance" | "sessionLoad" | "calc.metMinutes" | "calc.monotony" | "calc.ctl" | "calc.atl" | "calc.tsb" | "calc.soreness" | "calc.mvcBw" | "calc.ef" | "calc.pct1rm";
759
+ label: "calc.hrv" | "resistance" | "calc.e1rm" | "tis" | "reps" | "calc.adherence" | "calc.acwr" | "calc.strain" | "calc.readiness" | "calc.sends" | "calc.sleep" | "distance" | "pace" | "elapsed" | "power" | "totalVolume" | "totalDistance" | "sessionLoad" | "calc.metMinutes" | "calc.monotony" | "calc.ctl" | "calc.atl" | "calc.tsb" | "calc.soreness" | "calc.mvcBw" | "calc.ef" | "calc.pct1rm";
722
760
  }[];
723
761
  declare const UNIT_OPTIONS: {
724
762
  value: "kg" | "lb";
@@ -1259,13 +1297,13 @@ declare function patchBlockQuery(blockContent: string, newQuery: string, queryIn
1259
1297
  * Auto-generated build version metadata.
1260
1298
  * Do not edit directly; updated by scripts/stamp-version.ts
1261
1299
  */
1262
- declare const VERSION = "0.60.2258";
1263
- declare const GIT_SHA = "d5f50d9";
1264
- declare const BUILD_TIME = "2026-11-20T19:08:09.031Z";
1300
+ declare const VERSION = "0.62.2260";
1301
+ declare const GIT_SHA = "d3581b3";
1302
+ declare const BUILD_TIME = "2026-11-23T01:01:07.332Z";
1265
1303
  declare const SEMVER: {
1266
- readonly version: "0.60.2258";
1267
- readonly gitSha: "d5f50d9";
1268
- readonly buildTime: "2026-11-20T19:08:09.031Z";
1304
+ readonly version: "0.62.2260";
1305
+ readonly gitSha: "d3581b3";
1306
+ readonly buildTime: "2026-11-23T01:01:07.332Z";
1269
1307
  };
1270
1308
 
1271
- export { AGG_OPTIONS, ANALYTICS_UNIT_STORAGE_KEY, type AddableFilterGroup, type AddableFilterOption, type AnalyticsQueriesState, type AnalyticsQueryDef, type AnalyticsRangeWeeks, type AnalyticsUnit, AnalyticsUnitPreference, type AnalyticsUnitPreferenceProps, BUILD_TIME, CANONICAL_BLOCK_TYPES, CLAUSE_META, CODEMIRROR_SINGLETON_DEPS, type ChartShape, ClauseIcon, type ClauseIconProps, type ClauseMeta, type ClauseSuggestions, type ClauseType, type ColumnPresetId, ComposerRegistry, type CustomSlotDefinition, type CustomSlotEditorProps, DEFAULT_ANALYTICS_UNIT, DEFAULT_DIAGNOSTICS_DEBOUNCE_MS, type DashboardHeadingAnchor, DashboardTokenControls, type DashboardTokenControlsProps, DashboardView, type DashboardViewProps, type DateRange, type EditableMetricField, EditorDialog, type EditorDialogProps, type EnrichedQueryClause, type ExecutorDocumentHostOptions, type ExtractedQuery, type FilterTypeaheadCandidate, type FilterTypeaheadMatch, GIT_SHA, GROUPBY_OPTIONS, GoalRings, type GoalRingsProps, type ImplicitSlot, InlineMetricEditPayload, KIND_OPTIONS, METRIC_OPTIONS, MULTI_VALUE_TYPES, type MergedPoint, type MobileColumnGroupId, OutputFilterInput, PLANE_OPTIONS, PRBadge, type PRBadgeProps, ProposedMetricBadge, QueryBlockView, type QueryBlockViewProps, type QueryClause, type QueryDraft, QueryExecutor, QueryObjectBuilder, type QueryObjectBuilderDensity, type QueryObjectBuilderProps, type QueryObjectValidationState, QueryValue, type QueryValueProps, type QueryZone, ROLLUP_OPTIONS, RangeSelector, type RangeSelectorProps, ResultsSpreadsheetGrid, type ResultsSpreadsheetGridProps, RowPrHighlight, RowsResultsChrome, type RowsResultsChromeProps, RowsTable, type RowsTableProps, SEMVER, SERIES_COLORS, SOURCE_OPTIONS, SUGGESTION_BINDINGS, type ScopeZoneModel, SessionActionContext, SessionTableSortSpec, type SpreadsheetEditSheetContext, type SpreadsheetSplitRow, type SpreadsheetTabId, StackedBar, type StackedBarProps, type StorageLike, type SuggestionBinding, type SuggestionCachePolicy, type SuggestionItem, TARGET_OPTIONS, TIME_OPTIONS, TokenSlotPill, type TokenSlotPillProps, TopList, type TopListProps, UNIT_OPTIONS, VERSION, type VisualViewportRect, WHERE_AGGREGATORS, WHERE_METRICS, WidgetChart, type WidgetChartProps, WidgetEditButton, WidgetFrame, type WidgetFrameProps, WidgetProblemBadge, type WidgetRunResult, type WidgetSpanOption, WidgetToolButton, type WqlAggregateSummary, WqlBars, type WqlBarsProps, WqlComposer, type WqlComposerProps, type WqlDiagnostics, WqlDiagnosticsStrip, type WqlDiagnosticsStripProps, WqlEmptyState, type WqlEmptyStateProps, type WqlExecutor, type WqlFindSummary, type WqlPipelineSummary, WqlQueryInspectorModal, type WqlQueryInspectorModalProps, WqlScopeMap, type WqlScopeMapProps, type WqlSegmentEditRequest, type WqlStageCounts, WqlTable, type WqlTableProps, WqlTimeseries, type WqlTimeseriesProps, type WqlValidationState, ZONE_META, ZONE_ORDER, ZoneDistribution, type ZoneDistributionProps, bindTokenParamIntoWql, bindTokenToQueryObject, blockTypesFromBlocks, buildAddableFilterGroups, buildScopeZones, buildSpreadsheetRows, canonicalSuggestionItems, cn, compactNumber, composerRegistry, computeSessionPrHighlights, createExecutorDocumentHost, cycleBaselineLayer, dateRangeSlot, editQueryClause, extractBlockQueries, formatHumanQuerySummary, formatTimeseriesTick, formatTimeseriesTooltipValue, formatTimestamp, getClauseMeta, getClauseSupportError, getClauseZone, getDashboardEffectiveUnit, getEffectiveAnalyticsUnit, getSuggestionBinding, hashCode, invalidateSuggestions, loadSuggestions, matchFilterTypeahead, mergeSeries, mergeSuggestionItems, mergeTagSuggestions, normalizeSimplePipelineToAggregate, notebookSlugsFromBlocks, outputToRunResult, outputsToRunResult, patchBlockQuery, primaryQueryOf, promoteFindToChartObject, readSessionRpe, readStoredUnit, removeSeriesLayer, resolveQueryDraft, resolveWidgetDisplayUnit, setPrimaryQueryOnObject, setSuggestionBinding, summarizeAggregate, summarizeFind, summarizePipeline, tagsFromStaticBlocks, toChartResult, toggleCompareLayer, toggleGoalLayer, tooltipTimestamp, useAnalyticsQueries, useAnalyticsUnitPreference, useChartShape, useComposerSlots, useSessionPrHighlights, useSuggestions, useVisualViewportRect, useWqlStageCounts, wqlToPills };
1309
+ export { AGG_OPTIONS, ANALYTICS_UNIT_STORAGE_KEY, type AddableFilterGroup, type AddableFilterOption, type AnalyticsQueriesState, type AnalyticsQueryDef, type AnalyticsRangeWeeks, type AnalyticsUnit, AnalyticsUnitPreference, type AnalyticsUnitPreferenceProps, BUILD_TIME, CANONICAL_BLOCK_TYPES, CLAUSE_META, CODEMIRROR_SINGLETON_DEPS, type ChartShape, ClauseIcon, type ClauseIconProps, type ClauseMeta, type ClauseSuggestions, type ClauseType, type ColumnPresetId, ComposerRegistry, type CustomSlotDefinition, type CustomSlotEditorProps, DEFAULT_ANALYTICS_UNIT, DEFAULT_DIAGNOSTICS_DEBOUNCE_MS, type DashboardHeadingAnchor, DashboardTokenControls, type DashboardTokenControlsProps, DashboardView, type DashboardViewProps, type DateRange, type EditableMetricField, EditorDialog, type EditorDialogProps, type EnrichedQueryClause, type ExecutorDocumentHostOptions, type ExtractedQuery, type FilterTypeaheadCandidate, type FilterTypeaheadMatch, GIT_SHA, GROUPBY_OPTIONS, GoalRings, type GoalRingsProps, type ImplicitSlot, InlineMetricEditPayload, KIND_OPTIONS, METRIC_OPTIONS, MULTI_VALUE_TYPES, type MergedPoint, type MobileColumnGroupId, OutputFilterInput, PLANE_OPTIONS, PRBadge, type PRBadgeProps, ProposedMetricBadge, QueryBlockView, type QueryBlockViewProps, type QueryClause, type QueryDraft, QueryExecutor, QueryObjectBuilder, type QueryObjectBuilderDensity, type QueryObjectBuilderProps, type QueryObjectValidationState, QueryValue, type QueryValueProps, type QueryZone, ROLLUP_OPTIONS, RangeSelector, type RangeSelectorProps, ResultsSpreadsheetGrid, type ResultsSpreadsheetGridProps, RowPrHighlight, RowsResultsChrome, type RowsResultsChromeProps, RowsTable, type RowsTableProps, SEMVER, SERIES_COLORS, SOURCE_OPTIONS, SUGGESTION_BINDINGS, type ScopeZoneModel, SessionActionContext, SessionTableSortSpec, SingleLineYAxisTick, type SingleLineYAxisTickProps, type SpreadsheetEditSheetContext, type SpreadsheetSplitRow, type SpreadsheetTabId, StackedBar, type StackedBarProps, type StorageLike, type SuggestionBinding, type SuggestionCachePolicy, type SuggestionItem, TARGET_OPTIONS, TIME_OPTIONS, TokenSlotPill, type TokenSlotPillProps, TopList, type TopListProps, UNIT_OPTIONS, VERSION, type VisualViewportRect, WHERE_AGGREGATORS, WHERE_METRICS, WidgetChart, type WidgetChartProps, WidgetEditButton, WidgetFrame, type WidgetFrameProps, WidgetProblemBadge, type WidgetRunResult, type WidgetSpanOption, WidgetToolButton, type WqlAggregateSummary, WqlBars, type WqlBarsProps, WqlComposer, type WqlComposerProps, type WqlDiagnostics, WqlDiagnosticsStrip, type WqlDiagnosticsStripProps, WqlEmptyState, type WqlEmptyStateProps, type WqlExecutor, type WqlFindSummary, type WqlPipelineSummary, WqlQueryInspectorModal, type WqlQueryInspectorModalProps, WqlScopeMap, type WqlScopeMapProps, type WqlSegmentEditRequest, type WqlStageCounts, WqlTable, type WqlTableProps, WqlTimeseries, type WqlTimeseriesProps, type WqlValidationState, ZONE_META, ZONE_ORDER, ZoneDistribution, type ZoneDistributionProps, bindTokenParamIntoWql, bindTokenToQueryObject, blockTypesFromBlocks, buildAddableFilterGroups, buildScopeZones, buildSpreadsheetRows, canonicalSuggestionItems, cn, compactNumber, composerRegistry, computeSessionPrHighlights, computeYAxisWidth, createExecutorDocumentHost, cycleBaselineLayer, dateRangeSlot, editQueryClause, extractBlockQueries, formatAxisTick, formatCompactMetricValue, formatHumanQuerySummary, formatMetricValue, formatTimeseriesTick, formatTimeseriesTooltipValue, formatTimestamp, getClauseMeta, getClauseSupportError, getClauseZone, getDashboardEffectiveUnit, getEffectiveAnalyticsUnit, getSuggestionBinding, hashCode, invalidateSuggestions, loadSuggestions, matchFilterTypeahead, mergeSeries, mergeSuggestionItems, mergeTagSuggestions, normalizeSimplePipelineToAggregate, notebookSlugsFromBlocks, outputToRunResult, outputsToRunResult, patchBlockQuery, primaryQueryOf, promoteFindToChartObject, readSessionRpe, readStoredUnit, removeSeriesLayer, resolveQueryDraft, resolveWidgetDisplayUnit, setPrimaryQueryOnObject, setSuggestionBinding, summarizeAggregate, summarizeFind, summarizePipeline, tagsFromStaticBlocks, toChartResult, toggleCompareLayer, toggleGoalLayer, tooltipTimestamp, useAnalyticsQueries, useAnalyticsUnitPreference, useChartShape, useComposerSlots, useSessionPrHighlights, useSuggestions, useVisualViewportRect, useWqlStageCounts, wqlToPills };
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { Q as QueryExecutor, S as SessionActionContext, O as OutputFilterInput, a as SessionTableSortSpec, I as InlineMetricEditPayload, R as RowPrHighlight } from './index--dnlfHhC.js';
2
- export { A as AttachmentUrlResolver, B as ButtonAction, C as CategorizedMetrics, b as CursorFocusState, c as CustomCompletionSource, D as DEFAULT_OUTPUT_FILTERS, d as DEFAULT_PRIMARY_FILTER, e as DefaultFrontmatterWidget, E as EditorDialect, f as EditorPresetOptions, g as EditorSection, h as EditorSectionSubtype, i as EditorSectionType, j as EmbedType, F as FrontmatterCatalogEntry, k as FrontmatterRefDiagnostic, l as FrontmatterReferenceProvider, m as FrontmatterReferenceRef, n as FrontmatterReferenceResolution, o as FrontmatterSuggestionCatalog, G as GeometryListener, p as INTERNAL_FRONTMATTER_KEYS, M as MetricBadge, N as NavigationHook, q as NestedCompletionOptions, r as OUTPUT_TYPE_CLASS, s as OUTPUT_TYPE_DOT, t as OutputFilterPills, u as OutputFilterPreset, v as OutputStatementRow, w as OutputStatementsTable, x as OutputStatementsTableProps, y as OverlayAction, z as QueryBlockPreviewOptions, H as RpePopoverControl, J as RpePopoverControlProps, K as RuntimePanelEntry, L as SectionIdentity, P as SectionRect, T as SectionState, U as SessionQueryFenceOptions, V as SessionSummaryCard, W as SessionSummaryCardProps, X as TONE_CLASS, Y as WidgetConfig, Z as WidgetProps, _ as WidgetRegistry, $ as activeCursorSection, a0 as addRuntimePanel, a1 as affiliateTagFacet, a2 as applyAmazonAffiliateTag, a3 as attachmentUrlFacet, a4 as autocompleteTooltipTheme, a5 as configureOverlayActions, a6 as cursorFocusExtension, a7 as customCompletionSources, a8 as dispatchAddRuntimePanel, a9 as dispatchExpandRuntimePanel, aa as dispatchGutterHighlights, ab as dispatchRemoveRuntimePanel, ac as editingQuerySectionsField, ad as editingWidgetsField, ae as editorFocusField, af as editorFocusTracker, ag as editorPreset, ah as editorTheme, ai as embedPreviewDecorations, aj as expandRuntimePanel, ak as extractMetricsByCategory, al as fenceCompletion, am as findQueryBlockSection, an as findWorkoutErrors, ao as forceSectionParse, ap as formatClockTime, aq as formatMMSS, ar as formatSummaryDurationMMSS, as as frontmatterDebugMode, at as frontmatterDetailed, au as frontmatterKeymap, av as frontmatterPreview, aw as frontmatterPreviewField, ax as frontmatterReferenceIndex, ay as frontmatterSource, az as frontmatterSuggestions, aA as frontmatterVisibility, aB as getCursorFocusState, aC as getOverlayActions, aD as gutterHighlightsField, aE as gutterUnified, aF as handleFenceAutoWrap, aG as handleSmartUrlPaste, aH as inlineButtonDecoration, aI as insertMarkdownLinkCommand, aJ as isAmazonRetailHost, aK as isEditorFocused, aL as isInternalFrontmatterKey, aM as isNavigableUrl, aN as lineIdsExtension, aO as linkOpen, aP as linkPreview, aQ as markdownSyntaxHiding, aR as markdownTablePreview, aS as navigationFacet, aT as nestedCompletion, aU as nestedCompletionOptions, aV as normalizeOutputFilter, aW as presentBadges, aX as previewDecorations, aY as queryBlockPreview, aZ as referenceIndexReload, a_ as registeredSectionWidgets, a$ as removeRuntimePanel, b0 as resolveCodeLanguage, b1 as runtimePanelField, b2 as saveBlockQuerySource, b3 as sectionAtPos, b4 as sectionField, b5 as sectionGeometry, b6 as sectionIdentity, b7 as sectionIdentityHistory, b8 as sectionMove, b9 as sectionRestore, ba as sectionSaved, bb as sessionQueryFence, bc as sessionQueryInsert, bd as sessionQueryWql, be as setEditorFocused, bf as setFrontmatterDetailed, bg as setFrontmatterSource, bh as setGutterHighlights, bi as setQuerySourceEditing, bj as slashBlockCompletion, bk as smartIncrement, bl as toggleInlineMarkdown, bm as toggleWidgetEdit, bn as urlAtPos, bo as widgetBlockPreview, bp as wodAutoWrap, bq as wodAutocompletion, br as wodCompletionSource, bs as wodEditorKeymap, bt as wodLinter, bu as wodOverlayPanel, bv as workoutLintSource, bw as wrapInTimeFence } from './index--dnlfHhC.js';
1
+ import { Q as QueryExecutor, S as SessionActionContext, O as OutputFilterInput, a as SessionTableSortSpec, I as InlineMetricEditPayload, R as RowPrHighlight } from './index-ByZr9Fye.js';
2
+ export { A as AttachmentUrlResolver, B as ButtonAction, C as CategorizedMetrics, b as CursorFocusState, c as CustomCompletionSource, D as DEFAULT_OUTPUT_FILTERS, d as DEFAULT_PRIMARY_FILTER, e as DefaultFrontmatterWidget, E as EditorDialect, f as EditorPresetOptions, g as EditorSection, h as EditorSectionSubtype, i as EditorSectionType, j as EmbedType, F as FrontmatterCatalogEntry, k as FrontmatterRefDiagnostic, l as FrontmatterReferenceProvider, m as FrontmatterReferenceRef, n as FrontmatterReferenceResolution, o as FrontmatterSuggestionCatalog, G as GeometryListener, p as INTERNAL_FRONTMATTER_KEYS, M as MetricBadge, N as NavigationHook, q as NestedCompletionOptions, r as OUTPUT_TYPE_CLASS, s as OUTPUT_TYPE_DOT, t as OutputFilterPills, u as OutputFilterPreset, v as OutputStatementRow, w as OutputStatementsTable, x as OutputStatementsTableProps, y as OverlayAction, z as QueryBlockPreviewOptions, H as RpePopoverControl, J as RpePopoverControlProps, K as RuntimePanelEntry, L as SectionIdentity, P as SectionRect, T as SectionState, U as SessionQueryFenceOptions, V as SessionSummaryCard, W as SessionSummaryCardProps, X as TONE_CLASS, Y as WidgetConfig, Z as WidgetProps, _ as WidgetRegistry, $ as acceptCompletionOrFirst, a0 as activeCursorSection, a1 as addRuntimePanel, a2 as affiliateTagFacet, a3 as applyAmazonAffiliateTag, a4 as attachmentUrlFacet, a5 as autocompleteTooltipTheme, a6 as configureOverlayActions, a7 as cursorFocusExtension, a8 as customCompletionSources, a9 as dispatchAddRuntimePanel, aa as dispatchExpandRuntimePanel, ab as dispatchGutterHighlights, ac as dispatchRemoveRuntimePanel, ad as editingQuerySectionsField, ae as editingWidgetsField, af as editorFocusField, ag as editorFocusTracker, ah as editorPreset, ai as editorTheme, aj as embedPreviewDecorations, ak as expandRuntimePanel, al as extractMetricsByCategory, am as fenceCompletion, an as findQueryBlockSection, ao as findWorkoutErrors, ap as forceSectionParse, aq as formatAnalyticsFloat, ar as formatClockTime, as as formatMMSS, at as formatSummaryDurationMMSS, au as frontmatterDebugMode, av as frontmatterDetailed, aw as frontmatterKeymap, ax as frontmatterPreview, ay as frontmatterPreviewField, az as frontmatterReferenceIndex, aA as frontmatterSource, aB as frontmatterSuggestions, aC as frontmatterVisibility, aD as getCursorFocusState, aE as getOverlayActions, aF as gutterHighlightsField, aG as gutterUnified, aH as handleFenceAutoWrap, aI as handleSmartUrlPaste, aJ as inlineButtonDecoration, aK as insertMarkdownLinkCommand, aL as insertWhiteboardNewline, aM as isAmazonRetailHost, aN as isEditorFocused, aO as isInternalFrontmatterKey, aP as isNavigableUrl, aQ as isWhiteboardScriptBody, aR as lineIdsExtension, aS as linkOpen, aT as linkPreview, aU as markdownSyntaxHiding, aV as markdownTablePreview, aW as mobileDockedCompletionFacet, aX as navigationFacet, aY as nestedCompletion, aZ as nestedCompletionOptions, a_ as normalizeOutputFilter, a$ as presentBadges, b0 as previewDecorations, b1 as queryBlockPreview, b2 as referenceIndexReload, b3 as registeredSectionWidgets, b4 as removeRuntimePanel, b5 as resolveCodeLanguage, b6 as runtimePanelField, b7 as saveBlockQuerySource, b8 as sectionAtPos, b9 as sectionField, ba as sectionGeometry, bb as sectionIdentity, bc as sectionIdentityHistory, bd as sectionMove, be as sectionRestore, bf as sectionSaved, bg as sessionQueryFence, bh as sessionQueryInsert, bi as sessionQueryWql, bj as setEditorFocused, bk as setFrontmatterDetailed, bl as setFrontmatterSource, bm as setGutterHighlights, bn as setQuerySourceEditing, bo as shouldTriggerBackspaceCompletion, bp as slashBlockCompletion, bq as smartIncrement, br as toggleInlineMarkdown, bs as toggleWidgetEdit, bt as urlAtPos, bu as widgetBlockPreview, bv as wodAutoWrap, bw as wodAutocompletion, bx as wodBackspaceCompletion, by as wodCompletionIconOption, bz as wodCompletionKeymap, bA as wodCompletionSource, bB as wodEditorKeymap, bC as wodIndentKeymap, bD as wodLinter, bE as wodOverlayPanel, bF as workoutLintSource, bG as wrapInTimeFence } from './index-ByZr9Fye.js';
3
3
  import * as react from 'react';
4
- import react__default, { ReactNode, ComponentType, RefObject, KeyboardEvent } from 'react';
4
+ import react__default, { ReactNode, ReactElement, ComponentType, RefObject, KeyboardEvent } from 'react';
5
5
  import { QueryResult, RowsRun, NoteContainer, TabularResult, PipelineSink, QueryDocumentRunnerHost, Series, AnyParsedQuery, DocumentOutput, DocumentResult, DashboardToken, DashboardDocument, DashboardWidget, RowsQueryResult, ParsedAggregateQuery, FindQueryResult, ParsedFindQuery, ParsedPipelineQuery, WqlCursorStageInfo, QueryBlockObject } from '@bitcobblers/wod-wiki-wql';
6
6
  export { CONTENT_GROUPING_DIMENSIONS, FindOptions, FindQueryResult, ParsedAggregateQuery, ParsedFindQuery, ParsedPipelineQuery, ParsedRowsQuery, PipelineResult, QueryOptions, QueryResult, RowsQueryResult, RowsRun } from '@bitcobblers/wod-wiki-wql';
7
7
  import * as _bitcobblers_wod_wiki_core from '@bitcobblers/wod-wiki-core';
@@ -78,6 +78,42 @@ interface QueryValueProps {
78
78
  }
79
79
  declare function QueryValue({ result, unit: unitProp, label, thresholds }: QueryValueProps): react.JSX.Element;
80
80
 
81
+ /**
82
+ * Shared Y-axis tick display formatter: locale-grouped number (`0` decimals for
83
+ * large magnitudes `>= 100`, up to `1` decimal for smaller fractional ticks)
84
+ * + a separating space before `unit` when present (e.g. `5,000 kg`, `62 ms`).
85
+ */
86
+ declare function formatAxisTick(value: number | string, unit?: string): string;
87
+ /**
88
+ * Shared metric value formatter for tooltips, summary cards, and tables:
89
+ * locale-grouped number rounded to at most 1 fraction digit (drops `.0`
90
+ * automatically) + spaced unit (`11,362.5 kg`).
91
+ */
92
+ declare function formatMetricValue(value: number | string, unit?: string): string;
93
+ /**
94
+ * Compact numeric display with at most 1 decimal on `k`/`M` suffixes and a
95
+ * separating space before `unit` (e.g. `12.5k kg`, `480 kg`).
96
+ */
97
+ declare function formatCompactMetricValue(value: number | string, unit?: string): string;
98
+ /**
99
+ * Estimate a non-clipping Y-axis width from the sample values and unit label
100
+ * so formatted ticks like `12,500 kg` or `65 ms` stay single-line and legible.
101
+ */
102
+ declare function computeYAxisWidth(values: readonly number[], unit?: string, minWidth?: number, maxWidth?: number): number;
103
+ interface SingleLineYAxisTickProps {
104
+ x?: number;
105
+ y?: number;
106
+ payload?: {
107
+ value?: number | string;
108
+ };
109
+ unit?: string;
110
+ }
111
+ /**
112
+ * Custom Recharts SVG Y-axis tick renderer that keeps tick value and unit on
113
+ * one unwrapped line (`white-space: nowrap`) with right alignment.
114
+ */
115
+ declare function SingleLineYAxisTick({ x, y, payload, unit, }: SingleLineYAxisTickProps): ReactElement;
116
+
81
117
  interface WqlTimeseriesProps {
82
118
  result: QueryResult;
83
119
  unit?: string;
@@ -87,12 +123,12 @@ interface WqlTimeseriesProps {
87
123
  * large magnitudes, up to `1` decimal for small fractional ticks) + space before
88
124
  * `unit` when present (e.g. `5,000 kg`).
89
125
  */
90
- declare function formatTimeseriesTick(value: number | string, unit?: string): string;
126
+ declare const formatTimeseriesTick: typeof formatAxisTick;
91
127
  /**
92
128
  * Shared Tooltip value display formatter: locale-grouped number rounded to at
93
129
  * most 1 fraction digit (drops trailing `.0` automatically, e.g. `12,179 kg`).
94
130
  */
95
- declare function formatTimeseriesTooltipValue(value: number | string, unit?: string): string;
131
+ declare const formatTimeseriesTooltipValue: typeof formatMetricValue;
96
132
  declare function WqlTimeseries({ result, unit: unitProp }: WqlTimeseriesProps): react.JSX.Element;
97
133
 
98
134
  interface WqlBarsProps {
@@ -298,8 +334,10 @@ interface WqlEmptyStateProps {
298
334
  result?: QueryResult | undefined;
299
335
  className?: string;
300
336
  actions?: ReactNode;
337
+ /** Optional message shown when `result` has non-empty series yet the caller could not render them. */
338
+ fallbackMessage?: string;
301
339
  }
302
- declare function WqlEmptyState({ result, className, actions }: WqlEmptyStateProps): react.JSX.Element | null;
340
+ declare function WqlEmptyState({ result, className, actions, fallbackMessage }: WqlEmptyStateProps): react.JSX.Element | null;
303
341
 
304
342
  interface TopListProps {
305
343
  result: QueryResult;
@@ -717,8 +755,8 @@ declare const GROUPBY_OPTIONS: {
717
755
  label: "split" | "format" | "origin" | "result" | "month" | "day" | "page" | "domain" | "round" | "note" | "effort" | "metric" | "intensity" | "week" | "block" | "session" | "notebook" | "tags" | "equipment" | "quality" | "intent" | "discipline" | "attempt" | "grade" | "grain";
718
756
  }[];
719
757
  declare const METRIC_OPTIONS: {
720
- value: "calc.hrv" | "resistance" | "calc.e1rm" | "tis" | "reps" | "calc.adherence" | "calc.acwr" | "calc.strain" | "calc.readiness" | "calc.sends" | "distance" | "pace" | "elapsed" | "power" | "totalVolume" | "totalDistance" | "sessionLoad" | "calc.metMinutes" | "calc.monotony" | "calc.ctl" | "calc.atl" | "calc.tsb" | "calc.soreness" | "calc.sleep" | "calc.mvcBw" | "calc.ef" | "calc.pct1rm";
721
- label: "calc.hrv" | "resistance" | "calc.e1rm" | "tis" | "reps" | "calc.adherence" | "calc.acwr" | "calc.strain" | "calc.readiness" | "calc.sends" | "distance" | "pace" | "elapsed" | "power" | "totalVolume" | "totalDistance" | "sessionLoad" | "calc.metMinutes" | "calc.monotony" | "calc.ctl" | "calc.atl" | "calc.tsb" | "calc.soreness" | "calc.sleep" | "calc.mvcBw" | "calc.ef" | "calc.pct1rm";
758
+ value: "calc.hrv" | "resistance" | "calc.e1rm" | "tis" | "reps" | "calc.adherence" | "calc.acwr" | "calc.strain" | "calc.readiness" | "calc.sends" | "calc.sleep" | "distance" | "pace" | "elapsed" | "power" | "totalVolume" | "totalDistance" | "sessionLoad" | "calc.metMinutes" | "calc.monotony" | "calc.ctl" | "calc.atl" | "calc.tsb" | "calc.soreness" | "calc.mvcBw" | "calc.ef" | "calc.pct1rm";
759
+ label: "calc.hrv" | "resistance" | "calc.e1rm" | "tis" | "reps" | "calc.adherence" | "calc.acwr" | "calc.strain" | "calc.readiness" | "calc.sends" | "calc.sleep" | "distance" | "pace" | "elapsed" | "power" | "totalVolume" | "totalDistance" | "sessionLoad" | "calc.metMinutes" | "calc.monotony" | "calc.ctl" | "calc.atl" | "calc.tsb" | "calc.soreness" | "calc.mvcBw" | "calc.ef" | "calc.pct1rm";
722
760
  }[];
723
761
  declare const UNIT_OPTIONS: {
724
762
  value: "kg" | "lb";
@@ -1259,13 +1297,13 @@ declare function patchBlockQuery(blockContent: string, newQuery: string, queryIn
1259
1297
  * Auto-generated build version metadata.
1260
1298
  * Do not edit directly; updated by scripts/stamp-version.ts
1261
1299
  */
1262
- declare const VERSION = "0.60.2258";
1263
- declare const GIT_SHA = "d5f50d9";
1264
- declare const BUILD_TIME = "2026-11-20T19:08:09.031Z";
1300
+ declare const VERSION = "0.62.2260";
1301
+ declare const GIT_SHA = "d3581b3";
1302
+ declare const BUILD_TIME = "2026-11-23T01:01:07.332Z";
1265
1303
  declare const SEMVER: {
1266
- readonly version: "0.60.2258";
1267
- readonly gitSha: "d5f50d9";
1268
- readonly buildTime: "2026-11-20T19:08:09.031Z";
1304
+ readonly version: "0.62.2260";
1305
+ readonly gitSha: "d3581b3";
1306
+ readonly buildTime: "2026-11-23T01:01:07.332Z";
1269
1307
  };
1270
1308
 
1271
- export { AGG_OPTIONS, ANALYTICS_UNIT_STORAGE_KEY, type AddableFilterGroup, type AddableFilterOption, type AnalyticsQueriesState, type AnalyticsQueryDef, type AnalyticsRangeWeeks, type AnalyticsUnit, AnalyticsUnitPreference, type AnalyticsUnitPreferenceProps, BUILD_TIME, CANONICAL_BLOCK_TYPES, CLAUSE_META, CODEMIRROR_SINGLETON_DEPS, type ChartShape, ClauseIcon, type ClauseIconProps, type ClauseMeta, type ClauseSuggestions, type ClauseType, type ColumnPresetId, ComposerRegistry, type CustomSlotDefinition, type CustomSlotEditorProps, DEFAULT_ANALYTICS_UNIT, DEFAULT_DIAGNOSTICS_DEBOUNCE_MS, type DashboardHeadingAnchor, DashboardTokenControls, type DashboardTokenControlsProps, DashboardView, type DashboardViewProps, type DateRange, type EditableMetricField, EditorDialog, type EditorDialogProps, type EnrichedQueryClause, type ExecutorDocumentHostOptions, type ExtractedQuery, type FilterTypeaheadCandidate, type FilterTypeaheadMatch, GIT_SHA, GROUPBY_OPTIONS, GoalRings, type GoalRingsProps, type ImplicitSlot, InlineMetricEditPayload, KIND_OPTIONS, METRIC_OPTIONS, MULTI_VALUE_TYPES, type MergedPoint, type MobileColumnGroupId, OutputFilterInput, PLANE_OPTIONS, PRBadge, type PRBadgeProps, ProposedMetricBadge, QueryBlockView, type QueryBlockViewProps, type QueryClause, type QueryDraft, QueryExecutor, QueryObjectBuilder, type QueryObjectBuilderDensity, type QueryObjectBuilderProps, type QueryObjectValidationState, QueryValue, type QueryValueProps, type QueryZone, ROLLUP_OPTIONS, RangeSelector, type RangeSelectorProps, ResultsSpreadsheetGrid, type ResultsSpreadsheetGridProps, RowPrHighlight, RowsResultsChrome, type RowsResultsChromeProps, RowsTable, type RowsTableProps, SEMVER, SERIES_COLORS, SOURCE_OPTIONS, SUGGESTION_BINDINGS, type ScopeZoneModel, SessionActionContext, SessionTableSortSpec, type SpreadsheetEditSheetContext, type SpreadsheetSplitRow, type SpreadsheetTabId, StackedBar, type StackedBarProps, type StorageLike, type SuggestionBinding, type SuggestionCachePolicy, type SuggestionItem, TARGET_OPTIONS, TIME_OPTIONS, TokenSlotPill, type TokenSlotPillProps, TopList, type TopListProps, UNIT_OPTIONS, VERSION, type VisualViewportRect, WHERE_AGGREGATORS, WHERE_METRICS, WidgetChart, type WidgetChartProps, WidgetEditButton, WidgetFrame, type WidgetFrameProps, WidgetProblemBadge, type WidgetRunResult, type WidgetSpanOption, WidgetToolButton, type WqlAggregateSummary, WqlBars, type WqlBarsProps, WqlComposer, type WqlComposerProps, type WqlDiagnostics, WqlDiagnosticsStrip, type WqlDiagnosticsStripProps, WqlEmptyState, type WqlEmptyStateProps, type WqlExecutor, type WqlFindSummary, type WqlPipelineSummary, WqlQueryInspectorModal, type WqlQueryInspectorModalProps, WqlScopeMap, type WqlScopeMapProps, type WqlSegmentEditRequest, type WqlStageCounts, WqlTable, type WqlTableProps, WqlTimeseries, type WqlTimeseriesProps, type WqlValidationState, ZONE_META, ZONE_ORDER, ZoneDistribution, type ZoneDistributionProps, bindTokenParamIntoWql, bindTokenToQueryObject, blockTypesFromBlocks, buildAddableFilterGroups, buildScopeZones, buildSpreadsheetRows, canonicalSuggestionItems, cn, compactNumber, composerRegistry, computeSessionPrHighlights, createExecutorDocumentHost, cycleBaselineLayer, dateRangeSlot, editQueryClause, extractBlockQueries, formatHumanQuerySummary, formatTimeseriesTick, formatTimeseriesTooltipValue, formatTimestamp, getClauseMeta, getClauseSupportError, getClauseZone, getDashboardEffectiveUnit, getEffectiveAnalyticsUnit, getSuggestionBinding, hashCode, invalidateSuggestions, loadSuggestions, matchFilterTypeahead, mergeSeries, mergeSuggestionItems, mergeTagSuggestions, normalizeSimplePipelineToAggregate, notebookSlugsFromBlocks, outputToRunResult, outputsToRunResult, patchBlockQuery, primaryQueryOf, promoteFindToChartObject, readSessionRpe, readStoredUnit, removeSeriesLayer, resolveQueryDraft, resolveWidgetDisplayUnit, setPrimaryQueryOnObject, setSuggestionBinding, summarizeAggregate, summarizeFind, summarizePipeline, tagsFromStaticBlocks, toChartResult, toggleCompareLayer, toggleGoalLayer, tooltipTimestamp, useAnalyticsQueries, useAnalyticsUnitPreference, useChartShape, useComposerSlots, useSessionPrHighlights, useSuggestions, useVisualViewportRect, useWqlStageCounts, wqlToPills };
1309
+ export { AGG_OPTIONS, ANALYTICS_UNIT_STORAGE_KEY, type AddableFilterGroup, type AddableFilterOption, type AnalyticsQueriesState, type AnalyticsQueryDef, type AnalyticsRangeWeeks, type AnalyticsUnit, AnalyticsUnitPreference, type AnalyticsUnitPreferenceProps, BUILD_TIME, CANONICAL_BLOCK_TYPES, CLAUSE_META, CODEMIRROR_SINGLETON_DEPS, type ChartShape, ClauseIcon, type ClauseIconProps, type ClauseMeta, type ClauseSuggestions, type ClauseType, type ColumnPresetId, ComposerRegistry, type CustomSlotDefinition, type CustomSlotEditorProps, DEFAULT_ANALYTICS_UNIT, DEFAULT_DIAGNOSTICS_DEBOUNCE_MS, type DashboardHeadingAnchor, DashboardTokenControls, type DashboardTokenControlsProps, DashboardView, type DashboardViewProps, type DateRange, type EditableMetricField, EditorDialog, type EditorDialogProps, type EnrichedQueryClause, type ExecutorDocumentHostOptions, type ExtractedQuery, type FilterTypeaheadCandidate, type FilterTypeaheadMatch, GIT_SHA, GROUPBY_OPTIONS, GoalRings, type GoalRingsProps, type ImplicitSlot, InlineMetricEditPayload, KIND_OPTIONS, METRIC_OPTIONS, MULTI_VALUE_TYPES, type MergedPoint, type MobileColumnGroupId, OutputFilterInput, PLANE_OPTIONS, PRBadge, type PRBadgeProps, ProposedMetricBadge, QueryBlockView, type QueryBlockViewProps, type QueryClause, type QueryDraft, QueryExecutor, QueryObjectBuilder, type QueryObjectBuilderDensity, type QueryObjectBuilderProps, type QueryObjectValidationState, QueryValue, type QueryValueProps, type QueryZone, ROLLUP_OPTIONS, RangeSelector, type RangeSelectorProps, ResultsSpreadsheetGrid, type ResultsSpreadsheetGridProps, RowPrHighlight, RowsResultsChrome, type RowsResultsChromeProps, RowsTable, type RowsTableProps, SEMVER, SERIES_COLORS, SOURCE_OPTIONS, SUGGESTION_BINDINGS, type ScopeZoneModel, SessionActionContext, SessionTableSortSpec, SingleLineYAxisTick, type SingleLineYAxisTickProps, type SpreadsheetEditSheetContext, type SpreadsheetSplitRow, type SpreadsheetTabId, StackedBar, type StackedBarProps, type StorageLike, type SuggestionBinding, type SuggestionCachePolicy, type SuggestionItem, TARGET_OPTIONS, TIME_OPTIONS, TokenSlotPill, type TokenSlotPillProps, TopList, type TopListProps, UNIT_OPTIONS, VERSION, type VisualViewportRect, WHERE_AGGREGATORS, WHERE_METRICS, WidgetChart, type WidgetChartProps, WidgetEditButton, WidgetFrame, type WidgetFrameProps, WidgetProblemBadge, type WidgetRunResult, type WidgetSpanOption, WidgetToolButton, type WqlAggregateSummary, WqlBars, type WqlBarsProps, WqlComposer, type WqlComposerProps, type WqlDiagnostics, WqlDiagnosticsStrip, type WqlDiagnosticsStripProps, WqlEmptyState, type WqlEmptyStateProps, type WqlExecutor, type WqlFindSummary, type WqlPipelineSummary, WqlQueryInspectorModal, type WqlQueryInspectorModalProps, WqlScopeMap, type WqlScopeMapProps, type WqlSegmentEditRequest, type WqlStageCounts, WqlTable, type WqlTableProps, WqlTimeseries, type WqlTimeseriesProps, type WqlValidationState, ZONE_META, ZONE_ORDER, ZoneDistribution, type ZoneDistributionProps, bindTokenParamIntoWql, bindTokenToQueryObject, blockTypesFromBlocks, buildAddableFilterGroups, buildScopeZones, buildSpreadsheetRows, canonicalSuggestionItems, cn, compactNumber, composerRegistry, computeSessionPrHighlights, computeYAxisWidth, createExecutorDocumentHost, cycleBaselineLayer, dateRangeSlot, editQueryClause, extractBlockQueries, formatAxisTick, formatCompactMetricValue, formatHumanQuerySummary, formatMetricValue, formatTimeseriesTick, formatTimeseriesTooltipValue, formatTimestamp, getClauseMeta, getClauseSupportError, getClauseZone, getDashboardEffectiveUnit, getEffectiveAnalyticsUnit, getSuggestionBinding, hashCode, invalidateSuggestions, loadSuggestions, matchFilterTypeahead, mergeSeries, mergeSuggestionItems, mergeTagSuggestions, normalizeSimplePipelineToAggregate, notebookSlugsFromBlocks, outputToRunResult, outputsToRunResult, patchBlockQuery, primaryQueryOf, promoteFindToChartObject, readSessionRpe, readStoredUnit, removeSeriesLayer, resolveQueryDraft, resolveWidgetDisplayUnit, setPrimaryQueryOnObject, setSuggestionBinding, summarizeAggregate, summarizeFind, summarizePipeline, tagsFromStaticBlocks, toChartResult, toggleCompareLayer, toggleGoalLayer, tooltipTimestamp, useAnalyticsQueries, useAnalyticsUnitPreference, useChartShape, useComposerSlots, useSessionPrHighlights, useSuggestions, useVisualViewportRect, useWqlStageCounts, wqlToPills };
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { WidgetProblemBadge, WidgetChart, createExecutorDocumentHost, outputsToRunResult, outputToRunResult } from './chunk-MANL5TO4.mjs';
2
- export { AGG_OPTIONS, CANONICAL_BLOCK_TYPES, CLAUSE_META, CONTENT_GROUPING_DIMENSIONS, ClauseIcon, ComposerRegistry, DEFAULT_DIAGNOSTICS_DEBOUNCE_MS, DEFAULT_OUTPUT_FILTERS, DEFAULT_PRIMARY_FILTER, DefaultFrontmatterWidget, EditorDialog, GROUPBY_OPTIONS, GoalRings, INTERNAL_FRONTMATTER_KEYS, KIND_OPTIONS, METRIC_OPTIONS, MULTI_VALUE_TYPES, MetricBadge, OUTPUT_TYPE_CLASS, OUTPUT_TYPE_DOT, OutputFilterPills, OutputStatementsTable, PLANE_OPTIONS, PRBadge, ProposedMetricBadge, QueryBlockView, QueryObjectBuilder, QueryValue, ROLLUP_OPTIONS, ResultsSpreadsheetGrid, RowsResultsChrome, RowsTable, RpePopoverControl, SERIES_COLORS, SOURCE_OPTIONS, SUGGESTION_BINDINGS, SessionSummaryCard, StackedBar, TARGET_OPTIONS, TIME_OPTIONS, TONE_CLASS, TokenSlotPill, TopList, UNIT_OPTIONS, WHERE_AGGREGATORS, WHERE_METRICS, WidgetChart, WidgetProblemBadge, WqlBars, WqlComposer, WqlDiagnosticsStrip, WqlEmptyState, WqlQueryInspectorModal, WqlScopeMap, WqlTable, WqlTimeseries, ZONE_META, ZONE_ORDER, ZoneDistribution, activeCursorSection, addRuntimePanel, affiliateTagFacet, applyAmazonAffiliateTag, attachmentUrlFacet, autocompleteTooltipTheme, bindTokenParamIntoWql, bindTokenToQueryObject, blockContentId, blockTypesFromBlocks, buildAddableFilterGroups, buildScopeZones, buildSpreadsheetRows, canonicalSuggestionItems, compactNumber, composerRegistry, computeSessionPrHighlights, configureOverlayActions, createExecutorDocumentHost, cursorFocusExtension, customCompletionSources, cycleBaselineLayer, dateRangeSlot, dispatchAddRuntimePanel, dispatchExpandRuntimePanel, dispatchGutterHighlights, dispatchRemoveRuntimePanel, editQueryClause, editingQuerySectionsField, editingWidgetsField, editorFocusField, editorFocusTracker, editorPreset, editorTheme, embedPreviewDecorations, expandRuntimePanel, extractBlockQueries, extractMetricsByCategory, fenceCompletion, findQueryBlockSection, findWorkoutErrors, forceSectionParse, formatClockTime, formatHumanQuerySummary, formatMMSS, formatSummaryDurationMMSS, formatTimeseriesTick, formatTimeseriesTooltipValue, formatTimestamp, frontmatterDebugMode, frontmatterDetailed, frontmatterKeymap, frontmatterPreview, frontmatterPreviewField, frontmatterReferenceIndex, frontmatterSource, frontmatterSuggestions, frontmatterVisibility, getClauseMeta, getClauseSupportError, getClauseZone, getCursorFocusState, getOverlayActions, getSuggestionBinding, gutterHighlightsField, gutterUnified, handleFenceAutoWrap, handleSmartUrlPaste, inlineButtonDecoration, insertMarkdownLinkCommand, invalidateSuggestions, isAmazonRetailHost, isEditorFocused, isInternalFrontmatterKey, isNavigableUrl, lineIdsExtension, linkOpen, linkPreview, loadSuggestions, markdownSyntaxHiding, markdownTablePreview, matchFilterTypeahead, mergeSeries, mergeSuggestionItems, mergeTagSuggestions, navigationFacet, nestedCompletion, nestedCompletionOptions, normalizeOutputFilter, normalizeSimplePipelineToAggregate, notebookSlugsFromBlocks, outputToRunResult, outputsToRunResult, patchBlockQuery, presentBadges, previewDecorations, primaryQueryOf, promoteFindToChartObject, queryBlockPreview, readSessionRpe, referenceIndexReload, registeredSectionWidgets, removeRuntimePanel, removeSeriesLayer, resolveCodeLanguage, resolveQueryDraft, resolveWidgetDisplayUnit, runtimePanelField, saveBlockQuerySource, sectionAtPos, sectionField, sectionGeometry, sectionIdentity, sectionIdentityHistory, sectionMove, sectionRestore, sectionSaved, sessionQueryFence, sessionQueryInsert, sessionQueryWql, setEditorFocused, setFrontmatterDetailed, setFrontmatterSource, setGutterHighlights, setPrimaryQueryOnObject, setQuerySourceEditing, setSuggestionBinding, slashBlockCompletion, smartIncrement, summarizeAggregate, summarizeFind, summarizePipeline, tagsFromStaticBlocks, toChartResult, toggleCompareLayer, toggleGoalLayer, toggleInlineMarkdown, toggleWidgetEdit, tooltipTimestamp, urlAtPos, useChartShape, useComposerSlots, useSessionPrHighlights, useSuggestions, useWqlStageCounts, widgetBlockPreview, wodAutoWrap, wodAutocompletion, wodCompletionSource, wodEditorKeymap, wodLinter, wodOverlayPanel, workoutLintSource, wqlToPills, wrapInTimeFence } from './chunk-MANL5TO4.mjs';
1
+ import { WidgetProblemBadge, WidgetChart, createExecutorDocumentHost, outputsToRunResult, outputToRunResult } from './chunk-C6BT5QVA.mjs';
2
+ export { AGG_OPTIONS, CANONICAL_BLOCK_TYPES, CLAUSE_META, CONTENT_GROUPING_DIMENSIONS, ClauseIcon, ComposerRegistry, DEFAULT_DIAGNOSTICS_DEBOUNCE_MS, DEFAULT_OUTPUT_FILTERS, DEFAULT_PRIMARY_FILTER, DefaultFrontmatterWidget, EditorDialog, GROUPBY_OPTIONS, GoalRings, INTERNAL_FRONTMATTER_KEYS, KIND_OPTIONS, METRIC_OPTIONS, MULTI_VALUE_TYPES, MetricBadge, OUTPUT_TYPE_CLASS, OUTPUT_TYPE_DOT, OutputFilterPills, OutputStatementsTable, PLANE_OPTIONS, PRBadge, ProposedMetricBadge, QueryBlockView, QueryObjectBuilder, QueryValue, ROLLUP_OPTIONS, ResultsSpreadsheetGrid, RowsResultsChrome, RowsTable, RpePopoverControl, SERIES_COLORS, SOURCE_OPTIONS, SUGGESTION_BINDINGS, SessionSummaryCard, SingleLineYAxisTick, StackedBar, TARGET_OPTIONS, TIME_OPTIONS, TONE_CLASS, TokenSlotPill, TopList, UNIT_OPTIONS, WHERE_AGGREGATORS, WHERE_METRICS, WidgetChart, WidgetProblemBadge, WqlBars, WqlComposer, WqlDiagnosticsStrip, WqlEmptyState, WqlQueryInspectorModal, WqlScopeMap, WqlTable, WqlTimeseries, ZONE_META, ZONE_ORDER, ZoneDistribution, acceptCompletionOrFirst, activeCursorSection, addRuntimePanel, affiliateTagFacet, applyAmazonAffiliateTag, attachmentUrlFacet, autocompleteTooltipTheme, bindTokenParamIntoWql, bindTokenToQueryObject, blockContentId, blockTypesFromBlocks, buildAddableFilterGroups, buildScopeZones, buildSpreadsheetRows, canonicalSuggestionItems, compactNumber, composerRegistry, computeSessionPrHighlights, computeYAxisWidth, configureOverlayActions, createExecutorDocumentHost, cursorFocusExtension, customCompletionSources, cycleBaselineLayer, dateRangeSlot, dispatchAddRuntimePanel, dispatchExpandRuntimePanel, dispatchGutterHighlights, dispatchRemoveRuntimePanel, editQueryClause, editingQuerySectionsField, editingWidgetsField, editorFocusField, editorFocusTracker, editorPreset, editorTheme, embedPreviewDecorations, expandRuntimePanel, extractBlockQueries, extractMetricsByCategory, fenceCompletion, findQueryBlockSection, findWorkoutErrors, forceSectionParse, formatAnalyticsFloat, formatAxisTick, formatClockTime, formatCompactMetricValue, formatHumanQuerySummary, formatMMSS, formatMetricValue, formatSummaryDurationMMSS, formatTimeseriesTick, formatTimeseriesTooltipValue, formatTimestamp, frontmatterDebugMode, frontmatterDetailed, frontmatterKeymap, frontmatterPreview, frontmatterPreviewField, frontmatterReferenceIndex, frontmatterSource, frontmatterSuggestions, frontmatterVisibility, getClauseMeta, getClauseSupportError, getClauseZone, getCursorFocusState, getOverlayActions, getSuggestionBinding, gutterHighlightsField, gutterUnified, handleFenceAutoWrap, handleSmartUrlPaste, inlineButtonDecoration, insertMarkdownLinkCommand, insertWhiteboardNewline, invalidateSuggestions, isAmazonRetailHost, isEditorFocused, isInternalFrontmatterKey, isNavigableUrl, isWhiteboardScriptBody, lineIdsExtension, linkOpen, linkPreview, loadSuggestions, markdownSyntaxHiding, markdownTablePreview, matchFilterTypeahead, mergeSeries, mergeSuggestionItems, mergeTagSuggestions, mobileDockedCompletionFacet, navigationFacet, nestedCompletion, nestedCompletionOptions, normalizeOutputFilter, normalizeSimplePipelineToAggregate, notebookSlugsFromBlocks, outputToRunResult, outputsToRunResult, patchBlockQuery, presentBadges, previewDecorations, primaryQueryOf, promoteFindToChartObject, queryBlockPreview, readSessionRpe, referenceIndexReload, registeredSectionWidgets, removeRuntimePanel, removeSeriesLayer, resolveCodeLanguage, resolveQueryDraft, resolveWidgetDisplayUnit, runtimePanelField, saveBlockQuerySource, sectionAtPos, sectionField, sectionGeometry, sectionIdentity, sectionIdentityHistory, sectionMove, sectionRestore, sectionSaved, sessionQueryFence, sessionQueryInsert, sessionQueryWql, setEditorFocused, setFrontmatterDetailed, setFrontmatterSource, setGutterHighlights, setPrimaryQueryOnObject, setQuerySourceEditing, setSuggestionBinding, shouldTriggerBackspaceCompletion, slashBlockCompletion, smartIncrement, summarizeAggregate, summarizeFind, summarizePipeline, tagsFromStaticBlocks, toChartResult, toggleCompareLayer, toggleGoalLayer, toggleInlineMarkdown, toggleWidgetEdit, tooltipTimestamp, urlAtPos, useChartShape, useComposerSlots, useSessionPrHighlights, useSuggestions, useWqlStageCounts, widgetBlockPreview, wodAutoWrap, wodAutocompletion, wodBackspaceCompletion, wodCompletionIconOption, wodCompletionKeymap, wodCompletionSource, wodEditorKeymap, wodIndentKeymap, wodLinter, wodOverlayPanel, workoutLintSource, wqlToPills, wrapInTimeFence } from './chunk-C6BT5QVA.mjs';
3
3
  import { cn } from './chunk-U2OQIGSB.mjs';
4
4
  export { cn, hashCode } from './chunk-U2OQIGSB.mjs';
5
5
  import { Eye, ExternalLink, Edit3, ChevronUp, ChevronDown, ChevronRight, Copy, Trash2 } from 'lucide-react';
@@ -689,13 +689,13 @@ function useVisualViewportRect() {
689
689
  }
690
690
 
691
691
  // src/version.ts
692
- var VERSION = "0.60.2258";
693
- var GIT_SHA = "d5f50d9";
694
- var BUILD_TIME = "2026-11-20T19:08:09.031Z";
692
+ var VERSION = "0.62.2260";
693
+ var GIT_SHA = "d3581b3";
694
+ var BUILD_TIME = "2026-11-23T01:01:07.332Z";
695
695
  var SEMVER = {
696
- version: "0.60.2258",
697
- gitSha: "d5f50d9",
698
- buildTime: "2026-11-20T19:08:09.031Z"
696
+ version: "0.62.2260",
697
+ gitSha: "d3581b3",
698
+ buildTime: "2026-11-23T01:01:07.332Z"
699
699
  };
700
700
 
701
701
  export { ANALYTICS_UNIT_STORAGE_KEY, AnalyticsUnitPreference, BUILD_TIME, CODEMIRROR_SINGLETON_DEPS, DEFAULT_ANALYTICS_UNIT, DashboardTokenControls, DashboardView, GIT_SHA, RangeSelector, SEMVER, VERSION, WidgetEditButton, WidgetFrame, WidgetToolButton, getDashboardEffectiveUnit, getEffectiveAnalyticsUnit, readStoredUnit, useAnalyticsQueries, useAnalyticsUnitPreference, useVisualViewportRect };