@bitcobblers/wod-wiki-lang 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/{ScriptOutlineProjection-BhzHfbnJ.d.cts → ScriptOutlineProjection-BFdSOLog.d.cts} +6 -1
- package/dist/{ScriptOutlineProjection-BhzHfbnJ.d.ts → ScriptOutlineProjection-BFdSOLog.d.ts} +6 -1
- package/dist/{chunk-2WQW2LJ3.mjs → chunk-74QMDNFW.mjs} +90 -19
- package/dist/chunk-74QMDNFW.mjs.map +1 -0
- package/dist/index.cjs +1571 -246
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +52 -16
- package/dist/index.d.ts +52 -16
- package/dist/index.mjs +1484 -234
- package/dist/index.mjs.map +1 -1
- package/dist/react.cjs +86 -15
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.cts +2 -2
- package/dist/react.d.ts +2 -2
- package/dist/react.mjs +2 -2
- package/package.json +2 -2
- package/dist/chunk-2WQW2LJ3.mjs.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { IMetric, MetricContainer, MetricOrigin, MetricType, IDialect, ICodeStatement, DialectAnalysis, TagIndex, ParsedCodeStatement, TagTypeRecord, Tag, TagMetricContribution, IOutputStatement, OutputStatementType, BlockKey, TagReferenceMetadata, ScriptBlock, FenceDialect, Segment, AnalyticsGroup, StoredOutputStatement, OutputStatement, TimeSpan as TimeSpan$1 } from '@bitcobblers/wod-wiki-core';
|
|
2
2
|
export { ParseError } from '@bitcobblers/wod-wiki-core';
|
|
3
|
-
import { R as ReferenceIndex, a as ReferenceResolutionDefaults, W as WhiteboardScript, I as IEquipment, b as IEffort, c as IEffortResolver, d as IEffortRegistry, E as EffortResolverOptions, e as EffortResolutionOptions, f as ResolvedEffort, g as EffortRegistrySource, h as IEquipmentRegistry, i as EquipmentStorageAdapter, j as EffortStorageAdapter, k as IRuntimeActionable, l as IEventBus, m as IRuntimeStack, n as IRuntimeClock, o as IJitCompiler, p as INowProvider, q as RuntimeStackOptions, r as RuntimeError, A as AnalyticsContext, s as IEvent, t as IRuntimeAction, O as OutputListener, U as Unsubscribe, u as IAnalyticsEngine, P as ProjectionResult, v as IRuntimeBlock, w as IBehaviorContext, B as BehaviorEventType, x as BehaviorEventListener, S as SubscribeOptions, y as Unsubscribe$1, z as OutputOptions, M as MemoryTag, C as IMemoryLocation, D as IRuntimeBehavior, F as IBlockContext, G as MetricVisibility, H as BlockLifecycleOptions, J as CompletionDecision, T as TimeSpan, K as IRuntimeMemory, L as TypedMemoryReference, N as MemorySearchCriteria, Q as IMemoryReference, V as RuntimeStackLogger, X as StackObserver, Y as StackSnapshot, Z as StackListener, _ as MemoryTypeEnum, $ as IAnchorValue, a0 as TimerPolarity, a1 as SoundProfile, a2 as ButtonConfig, a3 as IEventHandler, a4 as HandlerScope, a5 as IScriptRuntime, a6 as TestableBlockConfig, a7 as IRuntimeOptions, a8 as ScriptRuntime, a9 as EventHandlerOptions, aa as EventCallback, ab as TimerState, ac as CalculationDefinition, ad as PropertyRuleInput, ae as IRealtimeProcessor, af as ISummaryProcessor, ag as DimVector, ah as CalcLine, ai as ExprNode, aj as CalcScope, ak as ILookupTable, al as LookupRegistry, am as CalcRegistrationDiagnostic } from './ScriptOutlineProjection-
|
|
4
|
-
export { an as ABSENT, ao as BinaryOp, ap as ButtonVariant, aq as ButtonsState, ar as CalcEvalError, as as CalcNode, at as CalcOrigin, au as CalcVariant, av as ChildrenStatusState, aw as CompiledPropertySummaries, ax as CompletionState, ay as DEFAULT_RESOLVER_OPTIONS, az as DEFAULT_RUNTIME_OPTIONS, aA as DEFAULT_SOUND_PROFILE, aB as DIM_COUNT, aC as DIM_ENERGY, aD as DIM_LENGTH, aE as DIM_MASS, aF as DIM_TIME, aG as DIM_ZERO, aH as DISCIPLINE_FACTORS, aI as DisplayState, aJ as EFFORT_DISCIPLINES, aK as EFFORT_REGISTRY_ORIGINS, aL as EffortBaseAttributes, aM as EffortDerivation, aN as EffortDiscipline, aO as EffortMaterializer, aP as EffortResolvedFrom, aQ as EvalContext, aR as FenceDialect, aS as FragmentDisplayState, aT as FragmentState, aU as IAnalyticsProcessorDescriptor, aV as INTENSITY_TIERS, aW as IScript, aX as IntensityTier, aY as InterceptMode, aZ as LiveRoundSplitRow, a_ as LiveSessionTelemetryFrame, a$ as LiveSummaryMetric, b0 as LookupFieldDef, b1 as LookupLayer, b2 as MemoryLocation, b3 as MemoryType, b4 as MemoryTypeMap, b5 as MemoryValueOf, b6 as NAMED_COMPOUNDS, b7 as ProjectedRepTarget, b8 as ProjectedSecondaryTimer, b9 as PropertySourceLayer, ba as ReferenceCatalog, bb as ResolvedReferences, bc as RoundState, bd as RuntimeState, be as SEED_PRECEDENCE_RANK, bf as ScriptOutlineNode, bg as ScriptOutlineStatus, bh as ScriptRuntimeDependencies, bi as SeedPrecedenceTier, bj as SerializedTimerSpan, bk as SessionClockFrame, bl as SessionClockInputSignal, bm as SessionClockProjectionOptions, bn as SessionExecutionStatus, bo as SessionVisualPolarity, bp as ShakeOutQueueOptions, bq as ShakeOutResult, br as SkippedDependencyDiagnostic, bs as SoundRule, bt as SoundTriggerAnchor, bu as SoundTriggerPoint, bv as StackEvent, bw as StackedDashboardWidgetDescriptor, bx as TimerDirection, by as VISIBILITY_ICONS, bz as VISIBILITY_LABELS, bA as Val, bB as addDim, bC as compilePropertySummaryCalcs, bD as compilePropertySummaryCalcsWithDiagnostics, bE as compoundName, bF as createBrowserRuntimeNow, bG as createReferenceIndex, bH as dedupeEntitiesByPrecedence, bI as dimEquals, bJ as disciplineFactorFor, bK as evaluate, bL as extractPropertyRulesFromMeta, bM as extractStatementRefs, bN as extractTagPropertyRules, bO as filterTagsByVisibility, bP as formatDim, bQ as formatSoundTrigger, bR as frozenNow, bS as getMetricVisibility, bT as getRuntimeNowMs, bU as interpolateSessionClockFrame, bV as isDimensionless, bW as isEffortDiscipline, bX as isFragmentTag, bY as isRequiredCountdownLocked, bZ as num, b_ as observeSessionClockInputs, b$ as parseSoundTrigger, c0 as projectLiveSessionTelemetry, c1 as projectScriptOutline, c2 as projectSessionClock, c3 as resolveEntityRank, c4 as resolveEntityTier, c5 as resolveProfileRules, c6 as resolvePropertyDashboardWidgets, c7 as resolveSourceRank, c8 as resolveSourceTier, c9 as resolveVisualPolarity, ca as runMetricShakeOutQueue, cb as slugifyRefLabel, cc as str, cd as subDim, ce as synthesizeWorkoutFormat, cf as truthy, cg as wallClockNow } from './ScriptOutlineProjection-
|
|
3
|
+
import { R as ReferenceIndex, a as ReferenceResolutionDefaults, W as WhiteboardScript, I as IEquipment, b as IEffort, c as IEffortResolver, d as IEffortRegistry, E as EffortResolverOptions, e as EffortResolutionOptions, f as ResolvedEffort, g as EffortRegistrySource, h as IEquipmentRegistry, i as EquipmentStorageAdapter, j as EffortStorageAdapter, k as IRuntimeActionable, l as IEventBus, m as IRuntimeStack, n as IRuntimeClock, o as IJitCompiler, p as INowProvider, q as RuntimeStackOptions, r as RuntimeError, A as AnalyticsContext, s as IEvent, t as IRuntimeAction, O as OutputListener, U as Unsubscribe, u as IAnalyticsEngine, P as ProjectionResult, v as IRuntimeBlock, w as IBehaviorContext, B as BehaviorEventType, x as BehaviorEventListener, S as SubscribeOptions, y as Unsubscribe$1, z as OutputOptions, M as MemoryTag, C as IMemoryLocation, D as IRuntimeBehavior, F as IBlockContext, G as MetricVisibility, H as BlockLifecycleOptions, J as CompletionDecision, T as TimeSpan, K as IRuntimeMemory, L as TypedMemoryReference, N as MemorySearchCriteria, Q as IMemoryReference, V as RuntimeStackLogger, X as StackObserver, Y as StackSnapshot, Z as StackListener, _ as MemoryTypeEnum, $ as IAnchorValue, a0 as TimerPolarity, a1 as SoundProfile, a2 as ButtonConfig, a3 as IEventHandler, a4 as HandlerScope, a5 as IScriptRuntime, a6 as TestableBlockConfig, a7 as IRuntimeOptions, a8 as ScriptRuntime, a9 as EventHandlerOptions, aa as EventCallback, ab as TimerState, ac as CalculationDefinition, ad as PropertyRuleInput, ae as IRealtimeProcessor, af as ISummaryProcessor, ag as DimVector, ah as CalcLine, ai as ExprNode, aj as CalcScope, ak as ILookupTable, al as LookupRegistry, am as CalcRegistrationDiagnostic } from './ScriptOutlineProjection-BFdSOLog.cjs';
|
|
4
|
+
export { an as ABSENT, ao as BinaryOp, ap as ButtonVariant, aq as ButtonsState, ar as CalcEvalError, as as CalcNode, at as CalcOrigin, au as CalcVariant, av as ChildrenStatusState, aw as CompiledPropertySummaries, ax as CompletionState, ay as DEFAULT_RESOLVER_OPTIONS, az as DEFAULT_RUNTIME_OPTIONS, aA as DEFAULT_SOUND_PROFILE, aB as DIM_COUNT, aC as DIM_ENERGY, aD as DIM_LENGTH, aE as DIM_MASS, aF as DIM_TIME, aG as DIM_ZERO, aH as DISCIPLINE_FACTORS, aI as DisplayState, aJ as EFFORT_DISCIPLINES, aK as EFFORT_REGISTRY_ORIGINS, aL as EffortBaseAttributes, aM as EffortDerivation, aN as EffortDiscipline, aO as EffortMaterializer, aP as EffortResolvedFrom, aQ as EvalContext, aR as FenceDialect, aS as FragmentDisplayState, aT as FragmentState, aU as IAnalyticsProcessorDescriptor, aV as INTENSITY_TIERS, aW as IScript, aX as IntensityTier, aY as InterceptMode, aZ as LiveRoundSplitRow, a_ as LiveSessionTelemetryFrame, a$ as LiveSummaryMetric, b0 as LookupFieldDef, b1 as LookupLayer, b2 as MemoryLocation, b3 as MemoryType, b4 as MemoryTypeMap, b5 as MemoryValueOf, b6 as NAMED_COMPOUNDS, b7 as ProjectedRepTarget, b8 as ProjectedSecondaryTimer, b9 as PropertySourceLayer, ba as ReferenceCatalog, bb as ResolvedReferences, bc as RoundState, bd as RuntimeState, be as SEED_PRECEDENCE_RANK, bf as ScriptOutlineNode, bg as ScriptOutlineStatus, bh as ScriptRuntimeDependencies, bi as SeedPrecedenceTier, bj as SerializedTimerSpan, bk as SessionClockFrame, bl as SessionClockInputSignal, bm as SessionClockProjectionOptions, bn as SessionExecutionStatus, bo as SessionVisualPolarity, bp as ShakeOutQueueOptions, bq as ShakeOutResult, br as SkippedDependencyDiagnostic, bs as SoundRule, bt as SoundTriggerAnchor, bu as SoundTriggerPoint, bv as StackEvent, bw as StackedDashboardWidgetDescriptor, bx as TimerDirection, by as VISIBILITY_ICONS, bz as VISIBILITY_LABELS, bA as Val, bB as addDim, bC as compilePropertySummaryCalcs, bD as compilePropertySummaryCalcsWithDiagnostics, bE as compoundName, bF as createBrowserRuntimeNow, bG as createReferenceIndex, bH as dedupeEntitiesByPrecedence, bI as dimEquals, bJ as disciplineFactorFor, bK as evaluate, bL as extractPropertyRulesFromMeta, bM as extractStatementRefs, bN as extractTagPropertyRules, bO as filterTagsByVisibility, bP as formatDim, bQ as formatSoundTrigger, bR as frozenNow, bS as getMetricVisibility, bT as getRuntimeNowMs, bU as interpolateSessionClockFrame, bV as isDimensionless, bW as isEffortDiscipline, bX as isFragmentTag, bY as isRequiredCountdownLocked, bZ as num, b_ as observeSessionClockInputs, b$ as parseSoundTrigger, c0 as projectLiveSessionTelemetry, c1 as projectScriptOutline, c2 as projectSessionClock, c3 as resolveEntityRank, c4 as resolveEntityTier, c5 as resolveProfileRules, c6 as resolvePropertyDashboardWidgets, c7 as resolveSourceRank, c8 as resolveSourceTier, c9 as resolveVisualPolarity, ca as runMetricShakeOutQueue, cb as slugifyRefLabel, cc as str, cd as subDim, ce as synthesizeWorkoutFormat, cf as truthy, cg as wallClockNow } from './ScriptOutlineProjection-BFdSOLog.cjs';
|
|
5
5
|
import { Tree } from '@lezer/common';
|
|
6
6
|
import { LanguageSupport, LRLanguage } from '@codemirror/language';
|
|
7
|
-
import { CompletionSource, Completion } from '@codemirror/autocomplete';
|
|
7
|
+
import { CompletionSection, CompletionSource, Completion } from '@codemirror/autocomplete';
|
|
8
8
|
import { Extension } from '@codemirror/state';
|
|
9
9
|
import { LRParser } from '@lezer/lr';
|
|
10
10
|
|
|
@@ -262,16 +262,19 @@ declare function createPolicy(): IMetricPresentationPolicy;
|
|
|
262
262
|
declare const metricPresentation: IMetricPresentationPolicy;
|
|
263
263
|
|
|
264
264
|
declare function isTimeLikeMetric(type: MetricType | string): boolean;
|
|
265
|
+
/** Collapse adjacent duplicate token labels (WW-079, e.g. "Thrusters" + "Thrusters"). */
|
|
266
|
+
declare function dedupePresentedLabels(labels: readonly string[]): string[];
|
|
265
267
|
/**
|
|
266
268
|
* Compute the display label for a metric on a given surface.
|
|
267
269
|
* All per-type formatting rules live here — nowhere else.
|
|
268
270
|
*/
|
|
269
271
|
declare function computeLabel(metric: IMetric, _surface: MetricPresentationSurface): string;
|
|
270
272
|
/**
|
|
271
|
-
* Build a tooltip string for a metric
|
|
272
|
-
*
|
|
273
|
+
* Build a tooltip string for a metric. Athlete-facing surfaces render a concise
|
|
274
|
+
* `ColumnLabel: value` tooltip without developer internals; `debug` keeps
|
|
275
|
+
* Type/Value/Origin/Block/Time details.
|
|
273
276
|
*/
|
|
274
|
-
declare function buildTooltip(metric: IMetric): string;
|
|
277
|
+
declare function buildTooltip(metric: IMetric, surface?: MetricPresentationSurface): string;
|
|
275
278
|
declare function computeColumnLabel(type: MetricType | string): string;
|
|
276
279
|
|
|
277
280
|
/**
|
|
@@ -811,11 +814,18 @@ interface CompletionValueOption {
|
|
|
811
814
|
label?: string;
|
|
812
815
|
/** Optional aliases (e.g. "swing", "kbs") matched alongside label and value. */
|
|
813
816
|
aliases?: readonly string[];
|
|
817
|
+
/** Equipment slugs associated with this effort definition (for matching & annotations). */
|
|
818
|
+
equipment?: readonly string[];
|
|
814
819
|
/** Short annotation shown after the label; the provider supplies a default. */
|
|
815
820
|
detail?: string;
|
|
816
821
|
/** Longer description shown in the completion info panel. */
|
|
817
822
|
info?: string;
|
|
823
|
+
/** Optional ranking boost (-99..99) applied by hosts with scoped context. */
|
|
824
|
+
boost?: number;
|
|
825
|
+
/** Optional section header grouping for the completion menu. */
|
|
826
|
+
section?: string | CompletionSection;
|
|
818
827
|
}
|
|
828
|
+
declare const COMPLETION_SECTIONS: Readonly<Record<string, CompletionSection>>;
|
|
819
829
|
/** Sync-or-async catalog callback; called per completion query, never cached globally. */
|
|
820
830
|
type CompletionValueSource = () => readonly CompletionValueOption[] | Promise<readonly CompletionValueOption[]>;
|
|
821
831
|
/** Options for the Whiteboard Script completion provider. Pure — captured per extension. */
|
|
@@ -824,7 +834,7 @@ interface WhiteboardScriptCompletionOptions {
|
|
|
824
834
|
sport?: string;
|
|
825
835
|
/** Effort catalog — offered for bare efforts and `effort:` property values. */
|
|
826
836
|
efforts?: CompletionValueSource;
|
|
827
|
-
/** Equipment catalog — offered for `equipment:` property values. */
|
|
837
|
+
/** Equipment catalog — offered for `equipment:` property values and compositional lines. */
|
|
828
838
|
equipment?: CompletionValueSource;
|
|
829
839
|
/** Sound profile catalog — offered for `sound:` property values. */
|
|
830
840
|
sounds?: CompletionValueSource;
|
|
@@ -832,20 +842,18 @@ interface WhiteboardScriptCompletionOptions {
|
|
|
832
842
|
tags?: CompletionValueSource;
|
|
833
843
|
/** Unit set for this section, including dialect extensions. Defaults to the standard registry. */
|
|
834
844
|
units?: UnitSet;
|
|
845
|
+
/** Preferred unit tokens (e.g. `['kg', 'm']` from notebook scope) boosted above generic units. */
|
|
846
|
+
preferredUnits?: () => readonly string[];
|
|
847
|
+
/** Inline effort creation hook surfaced as a `+ Create` option when no catalog effort matches. */
|
|
848
|
+
onCreateEffort?: (raw: string) => void | Promise<void>;
|
|
849
|
+
/** Inline tag creation hook surfaced as a `+ Create` option when no catalog tag matches. */
|
|
850
|
+
onCreateTag?: (slug: string) => void | Promise<void>;
|
|
835
851
|
}
|
|
836
852
|
/** Property keys offered at `Identifier` positions: reference keys + typed metric properties. */
|
|
837
853
|
declare const COMPLETION_PROPERTY_KEYS: readonly string[];
|
|
838
854
|
/**
|
|
839
855
|
* Syntax-aware Whiteboard Script completion source.
|
|
840
856
|
*
|
|
841
|
-
* Slots (driven by the Lezer tree and line shape, never a global word list):
|
|
842
|
-
* - empty statement → structure snippets, structure keywords, effort catalog, dialect words
|
|
843
|
-
* - effort word → structure keywords, effort catalog, dialect words
|
|
844
|
-
* - after a quantity number → configured standard/dialect units (canonical + aliases), mass-only after `@`
|
|
845
|
-
* - `Identifier` line start → property keys (effort, equipment, rpe, rir, intensity, load, volume, work, sound)
|
|
846
|
-
* - `key: value` → catalog values for effort/equipment/sound
|
|
847
|
-
* - after `#` → tag slugs
|
|
848
|
-
*
|
|
849
857
|
* Pure: all host data arrives via {@link WhiteboardScriptCompletionOptions} closures — no module state.
|
|
850
858
|
*/
|
|
851
859
|
declare function whiteboardScriptCompletionSource(options?: WhiteboardScriptCompletionOptions): CompletionSource;
|
|
@@ -896,6 +904,34 @@ declare function applyTemplateDefaults(template: string): string;
|
|
|
896
904
|
/** Snippet completions using CodeMirror's snippet apply. */
|
|
897
905
|
declare function snippetCompletions(): Completion[];
|
|
898
906
|
|
|
907
|
+
/**
|
|
908
|
+
* Edit plan returned by {@link computeWhiteboardEnterAction} for pressing
|
|
909
|
+
* Enter inside a Whiteboard Script line. Columns are 0-based offsets into `lineText`.
|
|
910
|
+
*/
|
|
911
|
+
interface WhiteboardEnterAction {
|
|
912
|
+
/** Start column offset within the current line to replace (`0..lineText.length`). */
|
|
913
|
+
readonly replaceFromCol: number;
|
|
914
|
+
/** End column offset within the current line to replace (`0..lineText.length`). */
|
|
915
|
+
readonly replaceToCol: number;
|
|
916
|
+
/** Exact replacement text (always starts with `'\n'`). */
|
|
917
|
+
readonly insert: string;
|
|
918
|
+
/** Cursor offset relative to `replaceFromCol` after inserting `insert`. */
|
|
919
|
+
readonly cursorOffset: number;
|
|
920
|
+
}
|
|
921
|
+
/**
|
|
922
|
+
* True when `lineContent` is a structural container / rounds header line
|
|
923
|
+
* (e.g. `(3)`, `(3 rounds)`, `(21-15-9)`, `(10) :60 EMOM`, `(8) :20 Work`,
|
|
924
|
+
* `3 rounds`, `9-7-5`, `10:00 AMRAP`, `5x5`) without a leaf movement payload
|
|
925
|
+
* (`(3) 10 Push-ups`, `5x5 Back Squat @100kg`, `(21-15-9) Thruster`).
|
|
926
|
+
*/
|
|
927
|
+
declare function isRoundsHeaderLine(lineContent: string): boolean;
|
|
928
|
+
/**
|
|
929
|
+
* Computes the single-line newline/indentation edit for pressing Enter inside
|
|
930
|
+
* a Whiteboard Script line. Pure and synchronous; suitable for headless tests
|
|
931
|
+
* and CodeMirror commands alike.
|
|
932
|
+
*/
|
|
933
|
+
declare function computeWhiteboardEnterAction(lineText: string, fromCol: number, toCol?: number, unit?: string): WhiteboardEnterAction;
|
|
934
|
+
|
|
899
935
|
declare const parser: LRParser;
|
|
900
936
|
|
|
901
937
|
/**
|
|
@@ -5515,4 +5551,4 @@ declare function diffStatement(expected: MetricLine[], actual: readonly IMetric[
|
|
|
5515
5551
|
*/
|
|
5516
5552
|
declare function compareStatement(expectations: MetricLine[], actual: readonly IMetric[], mode: MatchMode): string[];
|
|
5517
5553
|
|
|
5518
|
-
export { AGGREGATE_BUILTINS, AUTHORITATIVE_CASTS, AbortSessionAction, type ActionDescriptor, type ActionPrimitive, AmrapLogicStrategy, AnalyticsContext, AnalyticsEngine, type AnalyticsProfileContext, type AnalyticsResult, AnalyticsTransformer, BUILTIN_CALCS, BUNDLED_EFFORT_COUNT, BehaviorContext, BehaviorEventListener, BehaviorEventType, BlockBuilder, BlockContext, BlockLifecycleOptions, ButtonBehavior, ButtonConfig, COMPLETION_PROPERTY_KEYS, CONSUMED_HINTS, CONSUMED_HINT_KEYS, CONTEXT_ATOMS, type CalcAnalysis, CalculationDefinition as CalcDefinition, type CalcDiagnostic, CalcEngine, type CalcEngineDeps, CalcLine, CalcParseError, CalcRegistrationError, CalcScope, type CalcStack, type CalcStackOptions, type UnitDef as CalcUnitDef, CalcUnitError, CalculationDefinition, CalculationRegistry, CardioDialect, ChildSelectionBehavior, type ChildSelectionConfig, type ChildSelectionLoopCondition, ChildrenStrategy, ChoiceGroupMetric, ClearChildrenAction, ClimbDialect, type ClimbGradeMetricValue, type ClimbGradeSystem, ClimbMetricType, CompileAndPushBlockAction, type CompiledLineForm, CompletionDecision, CompletionTimestampBehavior, type CompletionValueOption, type CompletionValueSource, CompositeEffortRegistry, type CompositeEffortRegistryOptions, CompositeEquipmentRegistry, CompositePropertyRegistry, type ControlsConfig, type CountdownMode, CountdownTimerBehavior, type CountdownTimerConfig, CountupTimerBehavior, type CountupTimerConfig, type CreateAnalyticsEngineOptions, type CreateAnalyticsEngineResult, CrossFitDialect, DAY, DEFAULT_UNRESOLVED_EFFORT_MET, type DayRollup, DialectStack, DimVector, type Dimension, type DurationPrimitive, EFFORT_DATA_METRIC_TYPE, EffortBlock, type EffortBlockConfig, EffortFallbackStrategy, type EffortPrimitive, EffortRegistrySource, EffortResolutionOptions, EffortResolver, EffortResolverOptions, EffortStorageAdapter, EmitEventAction, EmitSystemOutputAction, type EquipmentParseResult, EquipmentStorageAdapter, ErrorAction, EventBus, EventCallback, EventHandlerOptions, type EventHandlerRegistration, ExecutionContext, type ExecutionSnapshot, type ExecutionStatus, ExitBehavior, type ExitConfig, ExprNode, FixtureSyntaxError, type FuzzyCandidate, GenericGroupStrategy, GenericLoopStrategy, GenericTimerStrategy, HabitsDialect, type HeadingPrimitive, IAnalyticsEngine, type IAnalyticsProfile, IAnchorValue, IBehaviorContext, IBlockContext, type ICastSubscription, IEffort, IEffortRegistry, IEffortResolver, IEquipment, IEquipmentRegistry, IEvent, IEventBus, IEventHandler, IJitCompiler, ILookupTable, IMemoryLocation, IMemoryReference, type IMetricPresentationPolicy, INowProvider, type IProfileSource, IRealtimeProcessor, IRuntimeAction, IRuntimeActionable, IRuntimeBehavior, IRuntimeBlock, type IRuntimeBlockStrategy, IRuntimeClock, type IRuntimeEventProvider, type IRuntimeFactory, IRuntimeMemory, IRuntimeStack, type IRuntimeSubscription, IScriptRuntime, ISummaryProcessor, InMemoryEffortRegistry, IntervalLogicStrategy, JitCompiler, LabelingBehavior, type LabelingConfig, type LapPrimitive, type LineFormScope, type LineLocator, type LiteralKind, LocalEventProvider, LocalRuntimeSubscription, type LogLevel, type LoggableOutput, LookupRegistry, MAX_TAG_CONTRIBUTION_DEPTH, type MatchMode, MdTimerRuntime, type MemoryEntry, MemoryTag, MemoryTypeEnum, type MetricLine, type MetricObjectPrimitive, type MetricPresentationSurface, type MetricPresentationToken, MetricPromotionBehavior, type MetricPromotionConfig, type MetricRenderKind, type MetricTone, MetricVisibility, type MockClock, NextAction, NextEvent, NextEventHandler, OutputEmitter, OutputListener, PRODUCTION_STRATEGIES, PROPERTY_KEY_TO_METRIC_TYPE, type ParseOptions, type ParseReferences, type ParseResult, type ParserConfig, PopBlockAction, ProjectionResult, type PromotionRule, type PropertyEntity, type PropertyPrimitive, PropertyRuleInput, type PropertyStorageAdapter, PushBlockAction, PushRestBlockAction, type QuantityPrimitive, REFERENCE_PAIR_KEYS, REST_EXCLUSION, RPE_LABELS, RUNTIME_LOG_SUBJECT_WIDTH, ReferenceIndex, ReferenceResolutionDefaults, RegisterEventHandlerAction, Registry, ReportOutputBehavior, type ReportOutputConfig, ReportOutputStrategy, ResolvedEffort, type ResolvedEffortData, type ResolvedTagContributions, RestBlock, type RestBlockConfig, type RoundSchemePrimitive, RoundsMetric, type RoundsPrimitive, RuntimeAdapter, RuntimeBlock, type RuntimeBlockOptions, RuntimeBuilder, type RuntimeButton, RuntimeClock, type RuntimeController, type RuntimeControls, RuntimeError, RuntimeFactory, type RuntimeLogEntry, RuntimeLogger, RuntimeMemory, type RuntimeMemoryLocation, RuntimeObservers, RuntimeStack, RuntimeStackOptions, SOUND_PLAY_EVENT, SOUND_PROFILE_METRIC, STANDARD_UNITS, STORE_CALCS, STREAM_ATOMS, STRUCTURAL_EFFORT_WORDS, ScriptRuntime, type SegmentWithMetadata, SessionRootBlock, type SessionRootConfig, SessionRootStrategy, SnapshotClock, SoundProfile, SoundProfileBehavior, type SoundProfileBehaviorConfig, SoundStrategy, type SourceInput, type SpanList, SpanTrackingBehavior, StackListener, StackObserver, StackSnapshot, StandardAnalyticsProfile, StartSessionAction, type StartSessionOptions, StartWorkoutAction, type StartWorkoutOptions, type StatementMetricDiff, type StaticEnv, type StreamAtomDef, SubscribeOptions, SubscriptionManager, type SyntaxFacts, type SyntaxMeta, type SyntaxPrimitive, type SyntaxStatement, TAG_MARKER_PREFIX, type TagCategoryPropertyDocument, type TagParseResult, type TagPropertyDocument, type TagRefPrimitive, TestableBlockConfig, type TextPrimitive, ThrowError, ThrowErrorAction, TimeSpan, TimerPolarity, TimerState, TwoPassEffortResolutionProcess, TypedMemoryReference, UNITS, type UnitDef$1 as UnitDef, type UnitMatch, UnitRegistry, UnitSet, UnitsDialect, UnregisterEventHandlerAction, Unsubscribe, UpdateNextPreviewAction, WaitingToStartBlock, WaitingToStartInjectorBehavior, WhiteboardScript, type WhiteboardScriptCompletionOptions, type WhiteboardScriptSnippet, WodDialect, YogaDialect, addAliasToEffort, applyTemplateDefaults, buildStaticLookups, buildTooltip, bundledEfforts, calculateDuration, calculateElapsed, canonicalizeType, checkCalcLine, classifyStatements, closeCurrentSpan, collapseUnresolvedChoices, commonFixtureSet, compareStatement, compileLineForm, composeDivUnit, composeMulUnit, computeColumnLabel, computeLabel, computeWorkloadRollups, convertScalar, createAnalyticsEngineForBlock, createCalcEngine, createCalcStack, createCompiler, createDialectStack, createDisciplinesTable, createEffortTable, createLineLocator, createPolicy as createMetricPresentationPolicy, createMockClock, createParser, createProfileTable, createRpeLabelsTable, dailySessionLoads, dayBucket, dialectRegistry, dialectStack, diffStatement, documentToEffort, documentToEquipment, documentToTag, effortToDocument, equipmentToDocument, extractEffortData, extractMetrics, extractStatements, extractStatementsRaw, extractSyntaxFacts, findBestFuzzyMatch, findTagContributionCycles, findUnresolvedChoices, fixtureBackSquat, fixtureBurpee, fixturePlank, fixtureRowing, fixtureRunning, fixtureUserCustom, fixtureUserOverride, formatDuration, formatDurationCompact, formatDurationSmart, formatRuntimeLogLine, formatRuntimeLogRule, formatRuntimeTimestamp, formatSecondsHHMMSS, formatSecondsMMSS, formatTime, formatTimeHHMMSS, formatTimeMMSS, formatTimePrecise, formatTimestamp, metricsToLabel as fragmentsToLabel, fullFixtureSet, fuseUnits, fuseUnitsInMetrics, getAnalyticsFromLogs, getAnalyticsFromRuntime, getHints, getUnit, hasHint, hintMetric, hintsToContainer, inferDim, isCastSubscription, isChoiceResolved, isTimeLikeMetric, isWithinThreshold, levenshteinDistance, metricPresentation, mutateTimerSpans, normalizeForFuzzy, openSpan, outputNodeId, outputNodeIds, padRuntimeLogEvent, padRuntimeLogSubject, parseCalcLine, parseEffortFile, parseEquipmentFile, parseExpression, parseMetricLine, parseScript, printCalculation, readNestedSection, readTimer, realtimeProcessorRegistry, renderMetric, resolveDominantOrigin, resolveFusedEffortReferences, resolveSoundProfile, resolveTagContributions, roundToTenth, snippetCompletions, startSpan, strategyRegistry, summaryProcessorRegistry, tagCategoryRecordToDocument, tagCategoryToDocument, tagContributionMetrics, tagMarkerSlug, tagMarkerSlugs, tagMarkerType, tagRecordToDocument, tagToDocument, toStoredOutputStatement, validateOutputUnit, parser as whiteboardParser, whiteboardScript, whiteboardScriptCompletion, whiteboardScriptCompletionSource, whiteboardScriptLanguage, whiteboardScriptSnippets, writeChoiceSelection };
|
|
5554
|
+
export { AGGREGATE_BUILTINS, AUTHORITATIVE_CASTS, AbortSessionAction, type ActionDescriptor, type ActionPrimitive, AmrapLogicStrategy, AnalyticsContext, AnalyticsEngine, type AnalyticsProfileContext, type AnalyticsResult, AnalyticsTransformer, BUILTIN_CALCS, BUNDLED_EFFORT_COUNT, BehaviorContext, BehaviorEventListener, BehaviorEventType, BlockBuilder, BlockContext, BlockLifecycleOptions, ButtonBehavior, ButtonConfig, COMPLETION_PROPERTY_KEYS, COMPLETION_SECTIONS, CONSUMED_HINTS, CONSUMED_HINT_KEYS, CONTEXT_ATOMS, type CalcAnalysis, CalculationDefinition as CalcDefinition, type CalcDiagnostic, CalcEngine, type CalcEngineDeps, CalcLine, CalcParseError, CalcRegistrationError, CalcScope, type CalcStack, type CalcStackOptions, type UnitDef as CalcUnitDef, CalcUnitError, CalculationDefinition, CalculationRegistry, CardioDialect, ChildSelectionBehavior, type ChildSelectionConfig, type ChildSelectionLoopCondition, ChildrenStrategy, ChoiceGroupMetric, ClearChildrenAction, ClimbDialect, type ClimbGradeMetricValue, type ClimbGradeSystem, ClimbMetricType, CompileAndPushBlockAction, type CompiledLineForm, CompletionDecision, CompletionTimestampBehavior, type CompletionValueOption, type CompletionValueSource, CompositeEffortRegistry, type CompositeEffortRegistryOptions, CompositeEquipmentRegistry, CompositePropertyRegistry, type ControlsConfig, type CountdownMode, CountdownTimerBehavior, type CountdownTimerConfig, CountupTimerBehavior, type CountupTimerConfig, type CreateAnalyticsEngineOptions, type CreateAnalyticsEngineResult, CrossFitDialect, DAY, DEFAULT_UNRESOLVED_EFFORT_MET, type DayRollup, DialectStack, DimVector, type Dimension, type DurationPrimitive, EFFORT_DATA_METRIC_TYPE, EffortBlock, type EffortBlockConfig, EffortFallbackStrategy, type EffortPrimitive, EffortRegistrySource, EffortResolutionOptions, EffortResolver, EffortResolverOptions, EffortStorageAdapter, EmitEventAction, EmitSystemOutputAction, type EquipmentParseResult, EquipmentStorageAdapter, ErrorAction, EventBus, EventCallback, EventHandlerOptions, type EventHandlerRegistration, ExecutionContext, type ExecutionSnapshot, type ExecutionStatus, ExitBehavior, type ExitConfig, ExprNode, FixtureSyntaxError, type FuzzyCandidate, GenericGroupStrategy, GenericLoopStrategy, GenericTimerStrategy, HabitsDialect, type HeadingPrimitive, IAnalyticsEngine, type IAnalyticsProfile, IAnchorValue, IBehaviorContext, IBlockContext, type ICastSubscription, IEffort, IEffortRegistry, IEffortResolver, IEquipment, IEquipmentRegistry, IEvent, IEventBus, IEventHandler, IJitCompiler, ILookupTable, IMemoryLocation, IMemoryReference, type IMetricPresentationPolicy, INowProvider, type IProfileSource, IRealtimeProcessor, IRuntimeAction, IRuntimeActionable, IRuntimeBehavior, IRuntimeBlock, type IRuntimeBlockStrategy, IRuntimeClock, type IRuntimeEventProvider, type IRuntimeFactory, IRuntimeMemory, IRuntimeStack, type IRuntimeSubscription, IScriptRuntime, ISummaryProcessor, InMemoryEffortRegistry, IntervalLogicStrategy, JitCompiler, LabelingBehavior, type LabelingConfig, type LapPrimitive, type LineFormScope, type LineLocator, type LiteralKind, LocalEventProvider, LocalRuntimeSubscription, type LogLevel, type LoggableOutput, LookupRegistry, MAX_TAG_CONTRIBUTION_DEPTH, type MatchMode, MdTimerRuntime, type MemoryEntry, MemoryTag, MemoryTypeEnum, type MetricLine, type MetricObjectPrimitive, type MetricPresentationSurface, type MetricPresentationToken, MetricPromotionBehavior, type MetricPromotionConfig, type MetricRenderKind, type MetricTone, MetricVisibility, type MockClock, NextAction, NextEvent, NextEventHandler, OutputEmitter, OutputListener, PRODUCTION_STRATEGIES, PROPERTY_KEY_TO_METRIC_TYPE, type ParseOptions, type ParseReferences, type ParseResult, type ParserConfig, PopBlockAction, ProjectionResult, type PromotionRule, type PropertyEntity, type PropertyPrimitive, PropertyRuleInput, type PropertyStorageAdapter, PushBlockAction, PushRestBlockAction, type QuantityPrimitive, REFERENCE_PAIR_KEYS, REST_EXCLUSION, RPE_LABELS, RUNTIME_LOG_SUBJECT_WIDTH, ReferenceIndex, ReferenceResolutionDefaults, RegisterEventHandlerAction, Registry, ReportOutputBehavior, type ReportOutputConfig, ReportOutputStrategy, ResolvedEffort, type ResolvedEffortData, type ResolvedTagContributions, RestBlock, type RestBlockConfig, type RoundSchemePrimitive, RoundsMetric, type RoundsPrimitive, RuntimeAdapter, RuntimeBlock, type RuntimeBlockOptions, RuntimeBuilder, type RuntimeButton, RuntimeClock, type RuntimeController, type RuntimeControls, RuntimeError, RuntimeFactory, type RuntimeLogEntry, RuntimeLogger, RuntimeMemory, type RuntimeMemoryLocation, RuntimeObservers, RuntimeStack, RuntimeStackOptions, SOUND_PLAY_EVENT, SOUND_PROFILE_METRIC, STANDARD_UNITS, STORE_CALCS, STREAM_ATOMS, STRUCTURAL_EFFORT_WORDS, ScriptRuntime, type SegmentWithMetadata, SessionRootBlock, type SessionRootConfig, SessionRootStrategy, SnapshotClock, SoundProfile, SoundProfileBehavior, type SoundProfileBehaviorConfig, SoundStrategy, type SourceInput, type SpanList, SpanTrackingBehavior, StackListener, StackObserver, StackSnapshot, StandardAnalyticsProfile, StartSessionAction, type StartSessionOptions, StartWorkoutAction, type StartWorkoutOptions, type StatementMetricDiff, type StaticEnv, type StreamAtomDef, SubscribeOptions, SubscriptionManager, type SyntaxFacts, type SyntaxMeta, type SyntaxPrimitive, type SyntaxStatement, TAG_MARKER_PREFIX, type TagCategoryPropertyDocument, type TagParseResult, type TagPropertyDocument, type TagRefPrimitive, TestableBlockConfig, type TextPrimitive, ThrowError, ThrowErrorAction, TimeSpan, TimerPolarity, TimerState, TwoPassEffortResolutionProcess, TypedMemoryReference, UNITS, type UnitDef$1 as UnitDef, type UnitMatch, UnitRegistry, UnitSet, UnitsDialect, UnregisterEventHandlerAction, Unsubscribe, UpdateNextPreviewAction, WaitingToStartBlock, WaitingToStartInjectorBehavior, type WhiteboardEnterAction, WhiteboardScript, type WhiteboardScriptCompletionOptions, type WhiteboardScriptSnippet, WodDialect, YogaDialect, addAliasToEffort, applyTemplateDefaults, buildStaticLookups, buildTooltip, bundledEfforts, calculateDuration, calculateElapsed, canonicalizeType, checkCalcLine, classifyStatements, closeCurrentSpan, collapseUnresolvedChoices, commonFixtureSet, compareStatement, compileLineForm, composeDivUnit, composeMulUnit, computeColumnLabel, computeLabel, computeWhiteboardEnterAction, computeWorkloadRollups, convertScalar, createAnalyticsEngineForBlock, createCalcEngine, createCalcStack, createCompiler, createDialectStack, createDisciplinesTable, createEffortTable, createLineLocator, createPolicy as createMetricPresentationPolicy, createMockClock, createParser, createProfileTable, createRpeLabelsTable, dailySessionLoads, dayBucket, dedupePresentedLabels, dialectRegistry, dialectStack, diffStatement, documentToEffort, documentToEquipment, documentToTag, effortToDocument, equipmentToDocument, extractEffortData, extractMetrics, extractStatements, extractStatementsRaw, extractSyntaxFacts, findBestFuzzyMatch, findTagContributionCycles, findUnresolvedChoices, fixtureBackSquat, fixtureBurpee, fixturePlank, fixtureRowing, fixtureRunning, fixtureUserCustom, fixtureUserOverride, formatDuration, formatDurationCompact, formatDurationSmart, formatRuntimeLogLine, formatRuntimeLogRule, formatRuntimeTimestamp, formatSecondsHHMMSS, formatSecondsMMSS, formatTime, formatTimeHHMMSS, formatTimeMMSS, formatTimePrecise, formatTimestamp, metricsToLabel as fragmentsToLabel, fullFixtureSet, fuseUnits, fuseUnitsInMetrics, getAnalyticsFromLogs, getAnalyticsFromRuntime, getHints, getUnit, hasHint, hintMetric, hintsToContainer, inferDim, isCastSubscription, isChoiceResolved, isRoundsHeaderLine, isTimeLikeMetric, isWithinThreshold, levenshteinDistance, metricPresentation, mutateTimerSpans, normalizeForFuzzy, openSpan, outputNodeId, outputNodeIds, padRuntimeLogEvent, padRuntimeLogSubject, parseCalcLine, parseEffortFile, parseEquipmentFile, parseExpression, parseMetricLine, parseScript, printCalculation, readNestedSection, readTimer, realtimeProcessorRegistry, renderMetric, resolveDominantOrigin, resolveFusedEffortReferences, resolveSoundProfile, resolveTagContributions, roundToTenth, snippetCompletions, startSpan, strategyRegistry, summaryProcessorRegistry, tagCategoryRecordToDocument, tagCategoryToDocument, tagContributionMetrics, tagMarkerSlug, tagMarkerSlugs, tagMarkerType, tagRecordToDocument, tagToDocument, toStoredOutputStatement, validateOutputUnit, parser as whiteboardParser, whiteboardScript, whiteboardScriptCompletion, whiteboardScriptCompletionSource, whiteboardScriptLanguage, whiteboardScriptSnippets, writeChoiceSelection };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { IMetric, MetricContainer, MetricOrigin, MetricType, IDialect, ICodeStatement, DialectAnalysis, TagIndex, ParsedCodeStatement, TagTypeRecord, Tag, TagMetricContribution, IOutputStatement, OutputStatementType, BlockKey, TagReferenceMetadata, ScriptBlock, FenceDialect, Segment, AnalyticsGroup, StoredOutputStatement, OutputStatement, TimeSpan as TimeSpan$1 } from '@bitcobblers/wod-wiki-core';
|
|
2
2
|
export { ParseError } from '@bitcobblers/wod-wiki-core';
|
|
3
|
-
import { R as ReferenceIndex, a as ReferenceResolutionDefaults, W as WhiteboardScript, I as IEquipment, b as IEffort, c as IEffortResolver, d as IEffortRegistry, E as EffortResolverOptions, e as EffortResolutionOptions, f as ResolvedEffort, g as EffortRegistrySource, h as IEquipmentRegistry, i as EquipmentStorageAdapter, j as EffortStorageAdapter, k as IRuntimeActionable, l as IEventBus, m as IRuntimeStack, n as IRuntimeClock, o as IJitCompiler, p as INowProvider, q as RuntimeStackOptions, r as RuntimeError, A as AnalyticsContext, s as IEvent, t as IRuntimeAction, O as OutputListener, U as Unsubscribe, u as IAnalyticsEngine, P as ProjectionResult, v as IRuntimeBlock, w as IBehaviorContext, B as BehaviorEventType, x as BehaviorEventListener, S as SubscribeOptions, y as Unsubscribe$1, z as OutputOptions, M as MemoryTag, C as IMemoryLocation, D as IRuntimeBehavior, F as IBlockContext, G as MetricVisibility, H as BlockLifecycleOptions, J as CompletionDecision, T as TimeSpan, K as IRuntimeMemory, L as TypedMemoryReference, N as MemorySearchCriteria, Q as IMemoryReference, V as RuntimeStackLogger, X as StackObserver, Y as StackSnapshot, Z as StackListener, _ as MemoryTypeEnum, $ as IAnchorValue, a0 as TimerPolarity, a1 as SoundProfile, a2 as ButtonConfig, a3 as IEventHandler, a4 as HandlerScope, a5 as IScriptRuntime, a6 as TestableBlockConfig, a7 as IRuntimeOptions, a8 as ScriptRuntime, a9 as EventHandlerOptions, aa as EventCallback, ab as TimerState, ac as CalculationDefinition, ad as PropertyRuleInput, ae as IRealtimeProcessor, af as ISummaryProcessor, ag as DimVector, ah as CalcLine, ai as ExprNode, aj as CalcScope, ak as ILookupTable, al as LookupRegistry, am as CalcRegistrationDiagnostic } from './ScriptOutlineProjection-
|
|
4
|
-
export { an as ABSENT, ao as BinaryOp, ap as ButtonVariant, aq as ButtonsState, ar as CalcEvalError, as as CalcNode, at as CalcOrigin, au as CalcVariant, av as ChildrenStatusState, aw as CompiledPropertySummaries, ax as CompletionState, ay as DEFAULT_RESOLVER_OPTIONS, az as DEFAULT_RUNTIME_OPTIONS, aA as DEFAULT_SOUND_PROFILE, aB as DIM_COUNT, aC as DIM_ENERGY, aD as DIM_LENGTH, aE as DIM_MASS, aF as DIM_TIME, aG as DIM_ZERO, aH as DISCIPLINE_FACTORS, aI as DisplayState, aJ as EFFORT_DISCIPLINES, aK as EFFORT_REGISTRY_ORIGINS, aL as EffortBaseAttributes, aM as EffortDerivation, aN as EffortDiscipline, aO as EffortMaterializer, aP as EffortResolvedFrom, aQ as EvalContext, aR as FenceDialect, aS as FragmentDisplayState, aT as FragmentState, aU as IAnalyticsProcessorDescriptor, aV as INTENSITY_TIERS, aW as IScript, aX as IntensityTier, aY as InterceptMode, aZ as LiveRoundSplitRow, a_ as LiveSessionTelemetryFrame, a$ as LiveSummaryMetric, b0 as LookupFieldDef, b1 as LookupLayer, b2 as MemoryLocation, b3 as MemoryType, b4 as MemoryTypeMap, b5 as MemoryValueOf, b6 as NAMED_COMPOUNDS, b7 as ProjectedRepTarget, b8 as ProjectedSecondaryTimer, b9 as PropertySourceLayer, ba as ReferenceCatalog, bb as ResolvedReferences, bc as RoundState, bd as RuntimeState, be as SEED_PRECEDENCE_RANK, bf as ScriptOutlineNode, bg as ScriptOutlineStatus, bh as ScriptRuntimeDependencies, bi as SeedPrecedenceTier, bj as SerializedTimerSpan, bk as SessionClockFrame, bl as SessionClockInputSignal, bm as SessionClockProjectionOptions, bn as SessionExecutionStatus, bo as SessionVisualPolarity, bp as ShakeOutQueueOptions, bq as ShakeOutResult, br as SkippedDependencyDiagnostic, bs as SoundRule, bt as SoundTriggerAnchor, bu as SoundTriggerPoint, bv as StackEvent, bw as StackedDashboardWidgetDescriptor, bx as TimerDirection, by as VISIBILITY_ICONS, bz as VISIBILITY_LABELS, bA as Val, bB as addDim, bC as compilePropertySummaryCalcs, bD as compilePropertySummaryCalcsWithDiagnostics, bE as compoundName, bF as createBrowserRuntimeNow, bG as createReferenceIndex, bH as dedupeEntitiesByPrecedence, bI as dimEquals, bJ as disciplineFactorFor, bK as evaluate, bL as extractPropertyRulesFromMeta, bM as extractStatementRefs, bN as extractTagPropertyRules, bO as filterTagsByVisibility, bP as formatDim, bQ as formatSoundTrigger, bR as frozenNow, bS as getMetricVisibility, bT as getRuntimeNowMs, bU as interpolateSessionClockFrame, bV as isDimensionless, bW as isEffortDiscipline, bX as isFragmentTag, bY as isRequiredCountdownLocked, bZ as num, b_ as observeSessionClockInputs, b$ as parseSoundTrigger, c0 as projectLiveSessionTelemetry, c1 as projectScriptOutline, c2 as projectSessionClock, c3 as resolveEntityRank, c4 as resolveEntityTier, c5 as resolveProfileRules, c6 as resolvePropertyDashboardWidgets, c7 as resolveSourceRank, c8 as resolveSourceTier, c9 as resolveVisualPolarity, ca as runMetricShakeOutQueue, cb as slugifyRefLabel, cc as str, cd as subDim, ce as synthesizeWorkoutFormat, cf as truthy, cg as wallClockNow } from './ScriptOutlineProjection-
|
|
3
|
+
import { R as ReferenceIndex, a as ReferenceResolutionDefaults, W as WhiteboardScript, I as IEquipment, b as IEffort, c as IEffortResolver, d as IEffortRegistry, E as EffortResolverOptions, e as EffortResolutionOptions, f as ResolvedEffort, g as EffortRegistrySource, h as IEquipmentRegistry, i as EquipmentStorageAdapter, j as EffortStorageAdapter, k as IRuntimeActionable, l as IEventBus, m as IRuntimeStack, n as IRuntimeClock, o as IJitCompiler, p as INowProvider, q as RuntimeStackOptions, r as RuntimeError, A as AnalyticsContext, s as IEvent, t as IRuntimeAction, O as OutputListener, U as Unsubscribe, u as IAnalyticsEngine, P as ProjectionResult, v as IRuntimeBlock, w as IBehaviorContext, B as BehaviorEventType, x as BehaviorEventListener, S as SubscribeOptions, y as Unsubscribe$1, z as OutputOptions, M as MemoryTag, C as IMemoryLocation, D as IRuntimeBehavior, F as IBlockContext, G as MetricVisibility, H as BlockLifecycleOptions, J as CompletionDecision, T as TimeSpan, K as IRuntimeMemory, L as TypedMemoryReference, N as MemorySearchCriteria, Q as IMemoryReference, V as RuntimeStackLogger, X as StackObserver, Y as StackSnapshot, Z as StackListener, _ as MemoryTypeEnum, $ as IAnchorValue, a0 as TimerPolarity, a1 as SoundProfile, a2 as ButtonConfig, a3 as IEventHandler, a4 as HandlerScope, a5 as IScriptRuntime, a6 as TestableBlockConfig, a7 as IRuntimeOptions, a8 as ScriptRuntime, a9 as EventHandlerOptions, aa as EventCallback, ab as TimerState, ac as CalculationDefinition, ad as PropertyRuleInput, ae as IRealtimeProcessor, af as ISummaryProcessor, ag as DimVector, ah as CalcLine, ai as ExprNode, aj as CalcScope, ak as ILookupTable, al as LookupRegistry, am as CalcRegistrationDiagnostic } from './ScriptOutlineProjection-BFdSOLog.js';
|
|
4
|
+
export { an as ABSENT, ao as BinaryOp, ap as ButtonVariant, aq as ButtonsState, ar as CalcEvalError, as as CalcNode, at as CalcOrigin, au as CalcVariant, av as ChildrenStatusState, aw as CompiledPropertySummaries, ax as CompletionState, ay as DEFAULT_RESOLVER_OPTIONS, az as DEFAULT_RUNTIME_OPTIONS, aA as DEFAULT_SOUND_PROFILE, aB as DIM_COUNT, aC as DIM_ENERGY, aD as DIM_LENGTH, aE as DIM_MASS, aF as DIM_TIME, aG as DIM_ZERO, aH as DISCIPLINE_FACTORS, aI as DisplayState, aJ as EFFORT_DISCIPLINES, aK as EFFORT_REGISTRY_ORIGINS, aL as EffortBaseAttributes, aM as EffortDerivation, aN as EffortDiscipline, aO as EffortMaterializer, aP as EffortResolvedFrom, aQ as EvalContext, aR as FenceDialect, aS as FragmentDisplayState, aT as FragmentState, aU as IAnalyticsProcessorDescriptor, aV as INTENSITY_TIERS, aW as IScript, aX as IntensityTier, aY as InterceptMode, aZ as LiveRoundSplitRow, a_ as LiveSessionTelemetryFrame, a$ as LiveSummaryMetric, b0 as LookupFieldDef, b1 as LookupLayer, b2 as MemoryLocation, b3 as MemoryType, b4 as MemoryTypeMap, b5 as MemoryValueOf, b6 as NAMED_COMPOUNDS, b7 as ProjectedRepTarget, b8 as ProjectedSecondaryTimer, b9 as PropertySourceLayer, ba as ReferenceCatalog, bb as ResolvedReferences, bc as RoundState, bd as RuntimeState, be as SEED_PRECEDENCE_RANK, bf as ScriptOutlineNode, bg as ScriptOutlineStatus, bh as ScriptRuntimeDependencies, bi as SeedPrecedenceTier, bj as SerializedTimerSpan, bk as SessionClockFrame, bl as SessionClockInputSignal, bm as SessionClockProjectionOptions, bn as SessionExecutionStatus, bo as SessionVisualPolarity, bp as ShakeOutQueueOptions, bq as ShakeOutResult, br as SkippedDependencyDiagnostic, bs as SoundRule, bt as SoundTriggerAnchor, bu as SoundTriggerPoint, bv as StackEvent, bw as StackedDashboardWidgetDescriptor, bx as TimerDirection, by as VISIBILITY_ICONS, bz as VISIBILITY_LABELS, bA as Val, bB as addDim, bC as compilePropertySummaryCalcs, bD as compilePropertySummaryCalcsWithDiagnostics, bE as compoundName, bF as createBrowserRuntimeNow, bG as createReferenceIndex, bH as dedupeEntitiesByPrecedence, bI as dimEquals, bJ as disciplineFactorFor, bK as evaluate, bL as extractPropertyRulesFromMeta, bM as extractStatementRefs, bN as extractTagPropertyRules, bO as filterTagsByVisibility, bP as formatDim, bQ as formatSoundTrigger, bR as frozenNow, bS as getMetricVisibility, bT as getRuntimeNowMs, bU as interpolateSessionClockFrame, bV as isDimensionless, bW as isEffortDiscipline, bX as isFragmentTag, bY as isRequiredCountdownLocked, bZ as num, b_ as observeSessionClockInputs, b$ as parseSoundTrigger, c0 as projectLiveSessionTelemetry, c1 as projectScriptOutline, c2 as projectSessionClock, c3 as resolveEntityRank, c4 as resolveEntityTier, c5 as resolveProfileRules, c6 as resolvePropertyDashboardWidgets, c7 as resolveSourceRank, c8 as resolveSourceTier, c9 as resolveVisualPolarity, ca as runMetricShakeOutQueue, cb as slugifyRefLabel, cc as str, cd as subDim, ce as synthesizeWorkoutFormat, cf as truthy, cg as wallClockNow } from './ScriptOutlineProjection-BFdSOLog.js';
|
|
5
5
|
import { Tree } from '@lezer/common';
|
|
6
6
|
import { LanguageSupport, LRLanguage } from '@codemirror/language';
|
|
7
|
-
import { CompletionSource, Completion } from '@codemirror/autocomplete';
|
|
7
|
+
import { CompletionSection, CompletionSource, Completion } from '@codemirror/autocomplete';
|
|
8
8
|
import { Extension } from '@codemirror/state';
|
|
9
9
|
import { LRParser } from '@lezer/lr';
|
|
10
10
|
|
|
@@ -262,16 +262,19 @@ declare function createPolicy(): IMetricPresentationPolicy;
|
|
|
262
262
|
declare const metricPresentation: IMetricPresentationPolicy;
|
|
263
263
|
|
|
264
264
|
declare function isTimeLikeMetric(type: MetricType | string): boolean;
|
|
265
|
+
/** Collapse adjacent duplicate token labels (WW-079, e.g. "Thrusters" + "Thrusters"). */
|
|
266
|
+
declare function dedupePresentedLabels(labels: readonly string[]): string[];
|
|
265
267
|
/**
|
|
266
268
|
* Compute the display label for a metric on a given surface.
|
|
267
269
|
* All per-type formatting rules live here — nowhere else.
|
|
268
270
|
*/
|
|
269
271
|
declare function computeLabel(metric: IMetric, _surface: MetricPresentationSurface): string;
|
|
270
272
|
/**
|
|
271
|
-
* Build a tooltip string for a metric
|
|
272
|
-
*
|
|
273
|
+
* Build a tooltip string for a metric. Athlete-facing surfaces render a concise
|
|
274
|
+
* `ColumnLabel: value` tooltip without developer internals; `debug` keeps
|
|
275
|
+
* Type/Value/Origin/Block/Time details.
|
|
273
276
|
*/
|
|
274
|
-
declare function buildTooltip(metric: IMetric): string;
|
|
277
|
+
declare function buildTooltip(metric: IMetric, surface?: MetricPresentationSurface): string;
|
|
275
278
|
declare function computeColumnLabel(type: MetricType | string): string;
|
|
276
279
|
|
|
277
280
|
/**
|
|
@@ -811,11 +814,18 @@ interface CompletionValueOption {
|
|
|
811
814
|
label?: string;
|
|
812
815
|
/** Optional aliases (e.g. "swing", "kbs") matched alongside label and value. */
|
|
813
816
|
aliases?: readonly string[];
|
|
817
|
+
/** Equipment slugs associated with this effort definition (for matching & annotations). */
|
|
818
|
+
equipment?: readonly string[];
|
|
814
819
|
/** Short annotation shown after the label; the provider supplies a default. */
|
|
815
820
|
detail?: string;
|
|
816
821
|
/** Longer description shown in the completion info panel. */
|
|
817
822
|
info?: string;
|
|
823
|
+
/** Optional ranking boost (-99..99) applied by hosts with scoped context. */
|
|
824
|
+
boost?: number;
|
|
825
|
+
/** Optional section header grouping for the completion menu. */
|
|
826
|
+
section?: string | CompletionSection;
|
|
818
827
|
}
|
|
828
|
+
declare const COMPLETION_SECTIONS: Readonly<Record<string, CompletionSection>>;
|
|
819
829
|
/** Sync-or-async catalog callback; called per completion query, never cached globally. */
|
|
820
830
|
type CompletionValueSource = () => readonly CompletionValueOption[] | Promise<readonly CompletionValueOption[]>;
|
|
821
831
|
/** Options for the Whiteboard Script completion provider. Pure — captured per extension. */
|
|
@@ -824,7 +834,7 @@ interface WhiteboardScriptCompletionOptions {
|
|
|
824
834
|
sport?: string;
|
|
825
835
|
/** Effort catalog — offered for bare efforts and `effort:` property values. */
|
|
826
836
|
efforts?: CompletionValueSource;
|
|
827
|
-
/** Equipment catalog — offered for `equipment:` property values. */
|
|
837
|
+
/** Equipment catalog — offered for `equipment:` property values and compositional lines. */
|
|
828
838
|
equipment?: CompletionValueSource;
|
|
829
839
|
/** Sound profile catalog — offered for `sound:` property values. */
|
|
830
840
|
sounds?: CompletionValueSource;
|
|
@@ -832,20 +842,18 @@ interface WhiteboardScriptCompletionOptions {
|
|
|
832
842
|
tags?: CompletionValueSource;
|
|
833
843
|
/** Unit set for this section, including dialect extensions. Defaults to the standard registry. */
|
|
834
844
|
units?: UnitSet;
|
|
845
|
+
/** Preferred unit tokens (e.g. `['kg', 'm']` from notebook scope) boosted above generic units. */
|
|
846
|
+
preferredUnits?: () => readonly string[];
|
|
847
|
+
/** Inline effort creation hook surfaced as a `+ Create` option when no catalog effort matches. */
|
|
848
|
+
onCreateEffort?: (raw: string) => void | Promise<void>;
|
|
849
|
+
/** Inline tag creation hook surfaced as a `+ Create` option when no catalog tag matches. */
|
|
850
|
+
onCreateTag?: (slug: string) => void | Promise<void>;
|
|
835
851
|
}
|
|
836
852
|
/** Property keys offered at `Identifier` positions: reference keys + typed metric properties. */
|
|
837
853
|
declare const COMPLETION_PROPERTY_KEYS: readonly string[];
|
|
838
854
|
/**
|
|
839
855
|
* Syntax-aware Whiteboard Script completion source.
|
|
840
856
|
*
|
|
841
|
-
* Slots (driven by the Lezer tree and line shape, never a global word list):
|
|
842
|
-
* - empty statement → structure snippets, structure keywords, effort catalog, dialect words
|
|
843
|
-
* - effort word → structure keywords, effort catalog, dialect words
|
|
844
|
-
* - after a quantity number → configured standard/dialect units (canonical + aliases), mass-only after `@`
|
|
845
|
-
* - `Identifier` line start → property keys (effort, equipment, rpe, rir, intensity, load, volume, work, sound)
|
|
846
|
-
* - `key: value` → catalog values for effort/equipment/sound
|
|
847
|
-
* - after `#` → tag slugs
|
|
848
|
-
*
|
|
849
857
|
* Pure: all host data arrives via {@link WhiteboardScriptCompletionOptions} closures — no module state.
|
|
850
858
|
*/
|
|
851
859
|
declare function whiteboardScriptCompletionSource(options?: WhiteboardScriptCompletionOptions): CompletionSource;
|
|
@@ -896,6 +904,34 @@ declare function applyTemplateDefaults(template: string): string;
|
|
|
896
904
|
/** Snippet completions using CodeMirror's snippet apply. */
|
|
897
905
|
declare function snippetCompletions(): Completion[];
|
|
898
906
|
|
|
907
|
+
/**
|
|
908
|
+
* Edit plan returned by {@link computeWhiteboardEnterAction} for pressing
|
|
909
|
+
* Enter inside a Whiteboard Script line. Columns are 0-based offsets into `lineText`.
|
|
910
|
+
*/
|
|
911
|
+
interface WhiteboardEnterAction {
|
|
912
|
+
/** Start column offset within the current line to replace (`0..lineText.length`). */
|
|
913
|
+
readonly replaceFromCol: number;
|
|
914
|
+
/** End column offset within the current line to replace (`0..lineText.length`). */
|
|
915
|
+
readonly replaceToCol: number;
|
|
916
|
+
/** Exact replacement text (always starts with `'\n'`). */
|
|
917
|
+
readonly insert: string;
|
|
918
|
+
/** Cursor offset relative to `replaceFromCol` after inserting `insert`. */
|
|
919
|
+
readonly cursorOffset: number;
|
|
920
|
+
}
|
|
921
|
+
/**
|
|
922
|
+
* True when `lineContent` is a structural container / rounds header line
|
|
923
|
+
* (e.g. `(3)`, `(3 rounds)`, `(21-15-9)`, `(10) :60 EMOM`, `(8) :20 Work`,
|
|
924
|
+
* `3 rounds`, `9-7-5`, `10:00 AMRAP`, `5x5`) without a leaf movement payload
|
|
925
|
+
* (`(3) 10 Push-ups`, `5x5 Back Squat @100kg`, `(21-15-9) Thruster`).
|
|
926
|
+
*/
|
|
927
|
+
declare function isRoundsHeaderLine(lineContent: string): boolean;
|
|
928
|
+
/**
|
|
929
|
+
* Computes the single-line newline/indentation edit for pressing Enter inside
|
|
930
|
+
* a Whiteboard Script line. Pure and synchronous; suitable for headless tests
|
|
931
|
+
* and CodeMirror commands alike.
|
|
932
|
+
*/
|
|
933
|
+
declare function computeWhiteboardEnterAction(lineText: string, fromCol: number, toCol?: number, unit?: string): WhiteboardEnterAction;
|
|
934
|
+
|
|
899
935
|
declare const parser: LRParser;
|
|
900
936
|
|
|
901
937
|
/**
|
|
@@ -5515,4 +5551,4 @@ declare function diffStatement(expected: MetricLine[], actual: readonly IMetric[
|
|
|
5515
5551
|
*/
|
|
5516
5552
|
declare function compareStatement(expectations: MetricLine[], actual: readonly IMetric[], mode: MatchMode): string[];
|
|
5517
5553
|
|
|
5518
|
-
export { AGGREGATE_BUILTINS, AUTHORITATIVE_CASTS, AbortSessionAction, type ActionDescriptor, type ActionPrimitive, AmrapLogicStrategy, AnalyticsContext, AnalyticsEngine, type AnalyticsProfileContext, type AnalyticsResult, AnalyticsTransformer, BUILTIN_CALCS, BUNDLED_EFFORT_COUNT, BehaviorContext, BehaviorEventListener, BehaviorEventType, BlockBuilder, BlockContext, BlockLifecycleOptions, ButtonBehavior, ButtonConfig, COMPLETION_PROPERTY_KEYS, CONSUMED_HINTS, CONSUMED_HINT_KEYS, CONTEXT_ATOMS, type CalcAnalysis, CalculationDefinition as CalcDefinition, type CalcDiagnostic, CalcEngine, type CalcEngineDeps, CalcLine, CalcParseError, CalcRegistrationError, CalcScope, type CalcStack, type CalcStackOptions, type UnitDef as CalcUnitDef, CalcUnitError, CalculationDefinition, CalculationRegistry, CardioDialect, ChildSelectionBehavior, type ChildSelectionConfig, type ChildSelectionLoopCondition, ChildrenStrategy, ChoiceGroupMetric, ClearChildrenAction, ClimbDialect, type ClimbGradeMetricValue, type ClimbGradeSystem, ClimbMetricType, CompileAndPushBlockAction, type CompiledLineForm, CompletionDecision, CompletionTimestampBehavior, type CompletionValueOption, type CompletionValueSource, CompositeEffortRegistry, type CompositeEffortRegistryOptions, CompositeEquipmentRegistry, CompositePropertyRegistry, type ControlsConfig, type CountdownMode, CountdownTimerBehavior, type CountdownTimerConfig, CountupTimerBehavior, type CountupTimerConfig, type CreateAnalyticsEngineOptions, type CreateAnalyticsEngineResult, CrossFitDialect, DAY, DEFAULT_UNRESOLVED_EFFORT_MET, type DayRollup, DialectStack, DimVector, type Dimension, type DurationPrimitive, EFFORT_DATA_METRIC_TYPE, EffortBlock, type EffortBlockConfig, EffortFallbackStrategy, type EffortPrimitive, EffortRegistrySource, EffortResolutionOptions, EffortResolver, EffortResolverOptions, EffortStorageAdapter, EmitEventAction, EmitSystemOutputAction, type EquipmentParseResult, EquipmentStorageAdapter, ErrorAction, EventBus, EventCallback, EventHandlerOptions, type EventHandlerRegistration, ExecutionContext, type ExecutionSnapshot, type ExecutionStatus, ExitBehavior, type ExitConfig, ExprNode, FixtureSyntaxError, type FuzzyCandidate, GenericGroupStrategy, GenericLoopStrategy, GenericTimerStrategy, HabitsDialect, type HeadingPrimitive, IAnalyticsEngine, type IAnalyticsProfile, IAnchorValue, IBehaviorContext, IBlockContext, type ICastSubscription, IEffort, IEffortRegistry, IEffortResolver, IEquipment, IEquipmentRegistry, IEvent, IEventBus, IEventHandler, IJitCompiler, ILookupTable, IMemoryLocation, IMemoryReference, type IMetricPresentationPolicy, INowProvider, type IProfileSource, IRealtimeProcessor, IRuntimeAction, IRuntimeActionable, IRuntimeBehavior, IRuntimeBlock, type IRuntimeBlockStrategy, IRuntimeClock, type IRuntimeEventProvider, type IRuntimeFactory, IRuntimeMemory, IRuntimeStack, type IRuntimeSubscription, IScriptRuntime, ISummaryProcessor, InMemoryEffortRegistry, IntervalLogicStrategy, JitCompiler, LabelingBehavior, type LabelingConfig, type LapPrimitive, type LineFormScope, type LineLocator, type LiteralKind, LocalEventProvider, LocalRuntimeSubscription, type LogLevel, type LoggableOutput, LookupRegistry, MAX_TAG_CONTRIBUTION_DEPTH, type MatchMode, MdTimerRuntime, type MemoryEntry, MemoryTag, MemoryTypeEnum, type MetricLine, type MetricObjectPrimitive, type MetricPresentationSurface, type MetricPresentationToken, MetricPromotionBehavior, type MetricPromotionConfig, type MetricRenderKind, type MetricTone, MetricVisibility, type MockClock, NextAction, NextEvent, NextEventHandler, OutputEmitter, OutputListener, PRODUCTION_STRATEGIES, PROPERTY_KEY_TO_METRIC_TYPE, type ParseOptions, type ParseReferences, type ParseResult, type ParserConfig, PopBlockAction, ProjectionResult, type PromotionRule, type PropertyEntity, type PropertyPrimitive, PropertyRuleInput, type PropertyStorageAdapter, PushBlockAction, PushRestBlockAction, type QuantityPrimitive, REFERENCE_PAIR_KEYS, REST_EXCLUSION, RPE_LABELS, RUNTIME_LOG_SUBJECT_WIDTH, ReferenceIndex, ReferenceResolutionDefaults, RegisterEventHandlerAction, Registry, ReportOutputBehavior, type ReportOutputConfig, ReportOutputStrategy, ResolvedEffort, type ResolvedEffortData, type ResolvedTagContributions, RestBlock, type RestBlockConfig, type RoundSchemePrimitive, RoundsMetric, type RoundsPrimitive, RuntimeAdapter, RuntimeBlock, type RuntimeBlockOptions, RuntimeBuilder, type RuntimeButton, RuntimeClock, type RuntimeController, type RuntimeControls, RuntimeError, RuntimeFactory, type RuntimeLogEntry, RuntimeLogger, RuntimeMemory, type RuntimeMemoryLocation, RuntimeObservers, RuntimeStack, RuntimeStackOptions, SOUND_PLAY_EVENT, SOUND_PROFILE_METRIC, STANDARD_UNITS, STORE_CALCS, STREAM_ATOMS, STRUCTURAL_EFFORT_WORDS, ScriptRuntime, type SegmentWithMetadata, SessionRootBlock, type SessionRootConfig, SessionRootStrategy, SnapshotClock, SoundProfile, SoundProfileBehavior, type SoundProfileBehaviorConfig, SoundStrategy, type SourceInput, type SpanList, SpanTrackingBehavior, StackListener, StackObserver, StackSnapshot, StandardAnalyticsProfile, StartSessionAction, type StartSessionOptions, StartWorkoutAction, type StartWorkoutOptions, type StatementMetricDiff, type StaticEnv, type StreamAtomDef, SubscribeOptions, SubscriptionManager, type SyntaxFacts, type SyntaxMeta, type SyntaxPrimitive, type SyntaxStatement, TAG_MARKER_PREFIX, type TagCategoryPropertyDocument, type TagParseResult, type TagPropertyDocument, type TagRefPrimitive, TestableBlockConfig, type TextPrimitive, ThrowError, ThrowErrorAction, TimeSpan, TimerPolarity, TimerState, TwoPassEffortResolutionProcess, TypedMemoryReference, UNITS, type UnitDef$1 as UnitDef, type UnitMatch, UnitRegistry, UnitSet, UnitsDialect, UnregisterEventHandlerAction, Unsubscribe, UpdateNextPreviewAction, WaitingToStartBlock, WaitingToStartInjectorBehavior, WhiteboardScript, type WhiteboardScriptCompletionOptions, type WhiteboardScriptSnippet, WodDialect, YogaDialect, addAliasToEffort, applyTemplateDefaults, buildStaticLookups, buildTooltip, bundledEfforts, calculateDuration, calculateElapsed, canonicalizeType, checkCalcLine, classifyStatements, closeCurrentSpan, collapseUnresolvedChoices, commonFixtureSet, compareStatement, compileLineForm, composeDivUnit, composeMulUnit, computeColumnLabel, computeLabel, computeWorkloadRollups, convertScalar, createAnalyticsEngineForBlock, createCalcEngine, createCalcStack, createCompiler, createDialectStack, createDisciplinesTable, createEffortTable, createLineLocator, createPolicy as createMetricPresentationPolicy, createMockClock, createParser, createProfileTable, createRpeLabelsTable, dailySessionLoads, dayBucket, dialectRegistry, dialectStack, diffStatement, documentToEffort, documentToEquipment, documentToTag, effortToDocument, equipmentToDocument, extractEffortData, extractMetrics, extractStatements, extractStatementsRaw, extractSyntaxFacts, findBestFuzzyMatch, findTagContributionCycles, findUnresolvedChoices, fixtureBackSquat, fixtureBurpee, fixturePlank, fixtureRowing, fixtureRunning, fixtureUserCustom, fixtureUserOverride, formatDuration, formatDurationCompact, formatDurationSmart, formatRuntimeLogLine, formatRuntimeLogRule, formatRuntimeTimestamp, formatSecondsHHMMSS, formatSecondsMMSS, formatTime, formatTimeHHMMSS, formatTimeMMSS, formatTimePrecise, formatTimestamp, metricsToLabel as fragmentsToLabel, fullFixtureSet, fuseUnits, fuseUnitsInMetrics, getAnalyticsFromLogs, getAnalyticsFromRuntime, getHints, getUnit, hasHint, hintMetric, hintsToContainer, inferDim, isCastSubscription, isChoiceResolved, isTimeLikeMetric, isWithinThreshold, levenshteinDistance, metricPresentation, mutateTimerSpans, normalizeForFuzzy, openSpan, outputNodeId, outputNodeIds, padRuntimeLogEvent, padRuntimeLogSubject, parseCalcLine, parseEffortFile, parseEquipmentFile, parseExpression, parseMetricLine, parseScript, printCalculation, readNestedSection, readTimer, realtimeProcessorRegistry, renderMetric, resolveDominantOrigin, resolveFusedEffortReferences, resolveSoundProfile, resolveTagContributions, roundToTenth, snippetCompletions, startSpan, strategyRegistry, summaryProcessorRegistry, tagCategoryRecordToDocument, tagCategoryToDocument, tagContributionMetrics, tagMarkerSlug, tagMarkerSlugs, tagMarkerType, tagRecordToDocument, tagToDocument, toStoredOutputStatement, validateOutputUnit, parser as whiteboardParser, whiteboardScript, whiteboardScriptCompletion, whiteboardScriptCompletionSource, whiteboardScriptLanguage, whiteboardScriptSnippets, writeChoiceSelection };
|
|
5554
|
+
export { AGGREGATE_BUILTINS, AUTHORITATIVE_CASTS, AbortSessionAction, type ActionDescriptor, type ActionPrimitive, AmrapLogicStrategy, AnalyticsContext, AnalyticsEngine, type AnalyticsProfileContext, type AnalyticsResult, AnalyticsTransformer, BUILTIN_CALCS, BUNDLED_EFFORT_COUNT, BehaviorContext, BehaviorEventListener, BehaviorEventType, BlockBuilder, BlockContext, BlockLifecycleOptions, ButtonBehavior, ButtonConfig, COMPLETION_PROPERTY_KEYS, COMPLETION_SECTIONS, CONSUMED_HINTS, CONSUMED_HINT_KEYS, CONTEXT_ATOMS, type CalcAnalysis, CalculationDefinition as CalcDefinition, type CalcDiagnostic, CalcEngine, type CalcEngineDeps, CalcLine, CalcParseError, CalcRegistrationError, CalcScope, type CalcStack, type CalcStackOptions, type UnitDef as CalcUnitDef, CalcUnitError, CalculationDefinition, CalculationRegistry, CardioDialect, ChildSelectionBehavior, type ChildSelectionConfig, type ChildSelectionLoopCondition, ChildrenStrategy, ChoiceGroupMetric, ClearChildrenAction, ClimbDialect, type ClimbGradeMetricValue, type ClimbGradeSystem, ClimbMetricType, CompileAndPushBlockAction, type CompiledLineForm, CompletionDecision, CompletionTimestampBehavior, type CompletionValueOption, type CompletionValueSource, CompositeEffortRegistry, type CompositeEffortRegistryOptions, CompositeEquipmentRegistry, CompositePropertyRegistry, type ControlsConfig, type CountdownMode, CountdownTimerBehavior, type CountdownTimerConfig, CountupTimerBehavior, type CountupTimerConfig, type CreateAnalyticsEngineOptions, type CreateAnalyticsEngineResult, CrossFitDialect, DAY, DEFAULT_UNRESOLVED_EFFORT_MET, type DayRollup, DialectStack, DimVector, type Dimension, type DurationPrimitive, EFFORT_DATA_METRIC_TYPE, EffortBlock, type EffortBlockConfig, EffortFallbackStrategy, type EffortPrimitive, EffortRegistrySource, EffortResolutionOptions, EffortResolver, EffortResolverOptions, EffortStorageAdapter, EmitEventAction, EmitSystemOutputAction, type EquipmentParseResult, EquipmentStorageAdapter, ErrorAction, EventBus, EventCallback, EventHandlerOptions, type EventHandlerRegistration, ExecutionContext, type ExecutionSnapshot, type ExecutionStatus, ExitBehavior, type ExitConfig, ExprNode, FixtureSyntaxError, type FuzzyCandidate, GenericGroupStrategy, GenericLoopStrategy, GenericTimerStrategy, HabitsDialect, type HeadingPrimitive, IAnalyticsEngine, type IAnalyticsProfile, IAnchorValue, IBehaviorContext, IBlockContext, type ICastSubscription, IEffort, IEffortRegistry, IEffortResolver, IEquipment, IEquipmentRegistry, IEvent, IEventBus, IEventHandler, IJitCompiler, ILookupTable, IMemoryLocation, IMemoryReference, type IMetricPresentationPolicy, INowProvider, type IProfileSource, IRealtimeProcessor, IRuntimeAction, IRuntimeActionable, IRuntimeBehavior, IRuntimeBlock, type IRuntimeBlockStrategy, IRuntimeClock, type IRuntimeEventProvider, type IRuntimeFactory, IRuntimeMemory, IRuntimeStack, type IRuntimeSubscription, IScriptRuntime, ISummaryProcessor, InMemoryEffortRegistry, IntervalLogicStrategy, JitCompiler, LabelingBehavior, type LabelingConfig, type LapPrimitive, type LineFormScope, type LineLocator, type LiteralKind, LocalEventProvider, LocalRuntimeSubscription, type LogLevel, type LoggableOutput, LookupRegistry, MAX_TAG_CONTRIBUTION_DEPTH, type MatchMode, MdTimerRuntime, type MemoryEntry, MemoryTag, MemoryTypeEnum, type MetricLine, type MetricObjectPrimitive, type MetricPresentationSurface, type MetricPresentationToken, MetricPromotionBehavior, type MetricPromotionConfig, type MetricRenderKind, type MetricTone, MetricVisibility, type MockClock, NextAction, NextEvent, NextEventHandler, OutputEmitter, OutputListener, PRODUCTION_STRATEGIES, PROPERTY_KEY_TO_METRIC_TYPE, type ParseOptions, type ParseReferences, type ParseResult, type ParserConfig, PopBlockAction, ProjectionResult, type PromotionRule, type PropertyEntity, type PropertyPrimitive, PropertyRuleInput, type PropertyStorageAdapter, PushBlockAction, PushRestBlockAction, type QuantityPrimitive, REFERENCE_PAIR_KEYS, REST_EXCLUSION, RPE_LABELS, RUNTIME_LOG_SUBJECT_WIDTH, ReferenceIndex, ReferenceResolutionDefaults, RegisterEventHandlerAction, Registry, ReportOutputBehavior, type ReportOutputConfig, ReportOutputStrategy, ResolvedEffort, type ResolvedEffortData, type ResolvedTagContributions, RestBlock, type RestBlockConfig, type RoundSchemePrimitive, RoundsMetric, type RoundsPrimitive, RuntimeAdapter, RuntimeBlock, type RuntimeBlockOptions, RuntimeBuilder, type RuntimeButton, RuntimeClock, type RuntimeController, type RuntimeControls, RuntimeError, RuntimeFactory, type RuntimeLogEntry, RuntimeLogger, RuntimeMemory, type RuntimeMemoryLocation, RuntimeObservers, RuntimeStack, RuntimeStackOptions, SOUND_PLAY_EVENT, SOUND_PROFILE_METRIC, STANDARD_UNITS, STORE_CALCS, STREAM_ATOMS, STRUCTURAL_EFFORT_WORDS, ScriptRuntime, type SegmentWithMetadata, SessionRootBlock, type SessionRootConfig, SessionRootStrategy, SnapshotClock, SoundProfile, SoundProfileBehavior, type SoundProfileBehaviorConfig, SoundStrategy, type SourceInput, type SpanList, SpanTrackingBehavior, StackListener, StackObserver, StackSnapshot, StandardAnalyticsProfile, StartSessionAction, type StartSessionOptions, StartWorkoutAction, type StartWorkoutOptions, type StatementMetricDiff, type StaticEnv, type StreamAtomDef, SubscribeOptions, SubscriptionManager, type SyntaxFacts, type SyntaxMeta, type SyntaxPrimitive, type SyntaxStatement, TAG_MARKER_PREFIX, type TagCategoryPropertyDocument, type TagParseResult, type TagPropertyDocument, type TagRefPrimitive, TestableBlockConfig, type TextPrimitive, ThrowError, ThrowErrorAction, TimeSpan, TimerPolarity, TimerState, TwoPassEffortResolutionProcess, TypedMemoryReference, UNITS, type UnitDef$1 as UnitDef, type UnitMatch, UnitRegistry, UnitSet, UnitsDialect, UnregisterEventHandlerAction, Unsubscribe, UpdateNextPreviewAction, WaitingToStartBlock, WaitingToStartInjectorBehavior, type WhiteboardEnterAction, WhiteboardScript, type WhiteboardScriptCompletionOptions, type WhiteboardScriptSnippet, WodDialect, YogaDialect, addAliasToEffort, applyTemplateDefaults, buildStaticLookups, buildTooltip, bundledEfforts, calculateDuration, calculateElapsed, canonicalizeType, checkCalcLine, classifyStatements, closeCurrentSpan, collapseUnresolvedChoices, commonFixtureSet, compareStatement, compileLineForm, composeDivUnit, composeMulUnit, computeColumnLabel, computeLabel, computeWhiteboardEnterAction, computeWorkloadRollups, convertScalar, createAnalyticsEngineForBlock, createCalcEngine, createCalcStack, createCompiler, createDialectStack, createDisciplinesTable, createEffortTable, createLineLocator, createPolicy as createMetricPresentationPolicy, createMockClock, createParser, createProfileTable, createRpeLabelsTable, dailySessionLoads, dayBucket, dedupePresentedLabels, dialectRegistry, dialectStack, diffStatement, documentToEffort, documentToEquipment, documentToTag, effortToDocument, equipmentToDocument, extractEffortData, extractMetrics, extractStatements, extractStatementsRaw, extractSyntaxFacts, findBestFuzzyMatch, findTagContributionCycles, findUnresolvedChoices, fixtureBackSquat, fixtureBurpee, fixturePlank, fixtureRowing, fixtureRunning, fixtureUserCustom, fixtureUserOverride, formatDuration, formatDurationCompact, formatDurationSmart, formatRuntimeLogLine, formatRuntimeLogRule, formatRuntimeTimestamp, formatSecondsHHMMSS, formatSecondsMMSS, formatTime, formatTimeHHMMSS, formatTimeMMSS, formatTimePrecise, formatTimestamp, metricsToLabel as fragmentsToLabel, fullFixtureSet, fuseUnits, fuseUnitsInMetrics, getAnalyticsFromLogs, getAnalyticsFromRuntime, getHints, getUnit, hasHint, hintMetric, hintsToContainer, inferDim, isCastSubscription, isChoiceResolved, isRoundsHeaderLine, isTimeLikeMetric, isWithinThreshold, levenshteinDistance, metricPresentation, mutateTimerSpans, normalizeForFuzzy, openSpan, outputNodeId, outputNodeIds, padRuntimeLogEvent, padRuntimeLogSubject, parseCalcLine, parseEffortFile, parseEquipmentFile, parseExpression, parseMetricLine, parseScript, printCalculation, readNestedSection, readTimer, realtimeProcessorRegistry, renderMetric, resolveDominantOrigin, resolveFusedEffortReferences, resolveSoundProfile, resolveTagContributions, roundToTenth, snippetCompletions, startSpan, strategyRegistry, summaryProcessorRegistry, tagCategoryRecordToDocument, tagCategoryToDocument, tagContributionMetrics, tagMarkerSlug, tagMarkerSlugs, tagMarkerType, tagRecordToDocument, tagToDocument, toStoredOutputStatement, validateOutputUnit, parser as whiteboardParser, whiteboardScript, whiteboardScriptCompletion, whiteboardScriptCompletionSource, whiteboardScriptLanguage, whiteboardScriptSnippets, writeChoiceSelection };
|