@bitcobblers/wod-wiki-ui 0.61.2259 → 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/{chunk-ZCWDIAFZ.mjs → chunk-C6BT5QVA.mjs} +1094 -263
- package/dist/chunk-C6BT5QVA.mjs.map +1 -0
- package/dist/extensions/index.cjs +1069 -250
- package/dist/extensions/index.cjs.map +1 -1
- package/dist/extensions/index.d.cts +1 -1
- package/dist/extensions/index.d.ts +1 -1
- package/dist/extensions/index.mjs +1 -1
- package/dist/{index-C2Lw9MLe.d.cts → index-ByZr9Fye.d.cts} +42 -2
- package/dist/{index-C2Lw9MLe.d.ts → index-ByZr9Fye.d.ts} +42 -2
- package/dist/index.cjs +1099 -257
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +53 -15
- package/dist/index.d.ts +53 -15
- package/dist/index.mjs +8 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
- package/dist/chunk-ZCWDIAFZ.mjs.map +0 -1
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-
|
|
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
|
|
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
|
|
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
|
|
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.
|
|
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.
|
|
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.
|
|
1263
|
-
declare const GIT_SHA = "
|
|
1264
|
-
declare const BUILD_TIME = "2026-11-
|
|
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.
|
|
1267
|
-
readonly gitSha: "
|
|
1268
|
-
readonly buildTime: "2026-11-
|
|
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-
|
|
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
|
|
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
|
|
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
|
|
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.
|
|
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.
|
|
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.
|
|
1263
|
-
declare const GIT_SHA = "
|
|
1264
|
-
declare const BUILD_TIME = "2026-11-
|
|
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.
|
|
1267
|
-
readonly gitSha: "
|
|
1268
|
-
readonly buildTime: "2026-11-
|
|
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-
|
|
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, acceptCompletionOrFirst, 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, 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, slashBlockCompletion, smartIncrement, summarizeAggregate, summarizeFind, summarizePipeline, tagsFromStaticBlocks, toChartResult, toggleCompareLayer, toggleGoalLayer, toggleInlineMarkdown, toggleWidgetEdit, tooltipTimestamp, urlAtPos, useChartShape, useComposerSlots, useSessionPrHighlights, useSuggestions, useWqlStageCounts, widgetBlockPreview, wodAutoWrap, wodAutocompletion, wodCompletionIconOption, wodCompletionKeymap, wodCompletionSource, wodEditorKeymap, wodLinter, wodOverlayPanel, workoutLintSource, wqlToPills, wrapInTimeFence } from './chunk-
|
|
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.
|
|
693
|
-
var GIT_SHA = "
|
|
694
|
-
var BUILD_TIME = "2026-11-
|
|
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.
|
|
697
|
-
gitSha: "
|
|
698
|
-
buildTime: "2026-11-
|
|
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 };
|