@bitcobblers/wod-wiki-lang 0.53.2204 → 0.55.2206
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/{browserRuntimeNow-JnK2JvJg.d.cts → ScriptOutlineProjection-BnS5Xkgf.d.cts} +160 -1
- package/dist/{browserRuntimeNow-JnK2JvJg.d.ts → ScriptOutlineProjection-BnS5Xkgf.d.ts} +160 -1
- package/dist/chunk-XDMS3U3W.mjs +1172 -0
- package/dist/chunk-XDMS3U3W.mjs.map +1 -0
- package/dist/index.cjs +672 -79
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +18 -4
- package/dist/index.d.ts +18 -4
- package/dist/index.mjs +114 -537
- package/dist/index.mjs.map +1 -1
- package/dist/react.cjs +808 -37
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.cts +33 -3
- package/dist/react.d.ts +33 -3
- package/dist/react.mjs +114 -15
- package/dist/react.mjs.map +1 -1
- package/package.json +2 -2
- package/dist/chunk-27K5HAHU.mjs +0 -164
- package/dist/chunk-27K5HAHU.mjs.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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, 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,
|
|
4
|
-
export {
|
|
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-BnS5Xkgf.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-BnS5Xkgf.cjs';
|
|
5
5
|
import { Tree } from '@lezer/common';
|
|
6
6
|
import { LanguageSupport, LRLanguage } from '@codemirror/language';
|
|
7
7
|
import { CompletionSource, Completion } from '@codemirror/autocomplete';
|
|
@@ -1432,6 +1432,7 @@ declare class OutputEmitter {
|
|
|
1432
1432
|
stack: IRuntimeStack;
|
|
1433
1433
|
script: WhiteboardScript;
|
|
1434
1434
|
}): void;
|
|
1435
|
+
private _bindEngineClock;
|
|
1435
1436
|
private _requireClock;
|
|
1436
1437
|
/**
|
|
1437
1438
|
* Add an output statement, run it through analytics enrichment, buffer it,
|
|
@@ -1473,6 +1474,8 @@ declare class OutputEmitter {
|
|
|
1473
1474
|
private emitLiveAnalytics;
|
|
1474
1475
|
/** Ephemeral Tier-2 (running-total) snapshot for live display; never persisted. */
|
|
1475
1476
|
getLiveAnalytics(): IOutputStatement[];
|
|
1477
|
+
/** Typed live Summary Metric projections directly from AnalyticsEngine. */
|
|
1478
|
+
getLiveProjections(): readonly ProjectionResult[];
|
|
1476
1479
|
dispose(): void;
|
|
1477
1480
|
/**
|
|
1478
1481
|
* Emit a `'load'` output for every statement in the script.
|
|
@@ -1791,9 +1794,11 @@ declare class SnapshotClock implements IRuntimeClock {
|
|
|
1791
1794
|
* - `start()`/`stop()`: Control methods that return timestamps for event creation
|
|
1792
1795
|
*/
|
|
1793
1796
|
declare class RuntimeClock implements IRuntimeClock {
|
|
1797
|
+
private readonly _now;
|
|
1794
1798
|
private _spans;
|
|
1799
|
+
constructor(_now?: INowProvider);
|
|
1795
1800
|
/**
|
|
1796
|
-
* Current
|
|
1801
|
+
* Current clock time as a Date (from injected `INowProvider`, defaulting to wall clock).
|
|
1797
1802
|
*/
|
|
1798
1803
|
get currentDate(): Date;
|
|
1799
1804
|
now(): Date;
|
|
@@ -2231,6 +2236,7 @@ interface CountupTimerConfig {
|
|
|
2231
2236
|
label?: string;
|
|
2232
2237
|
/** Timer role for display priority */
|
|
2233
2238
|
role?: 'primary' | 'secondary' | 'hidden' | 'auto';
|
|
2239
|
+
polarity?: TimerPolarity;
|
|
2234
2240
|
}
|
|
2235
2241
|
/**
|
|
2236
2242
|
* CountupTimerBehavior manages the full lifecycle of a count-up timer.
|
|
@@ -2288,6 +2294,8 @@ interface CountdownTimerConfig {
|
|
|
2288
2294
|
* `timer:skip-attempt` event instead of advancing the block.
|
|
2289
2295
|
*/
|
|
2290
2296
|
required?: boolean;
|
|
2297
|
+
/** Semantic Work vs Rest polarity stored in TimerState. */
|
|
2298
|
+
polarity?: TimerPolarity;
|
|
2291
2299
|
}
|
|
2292
2300
|
/**
|
|
2293
2301
|
* CountdownTimerBehavior manages the full lifecycle of a count-down timer.
|
|
@@ -2730,6 +2738,7 @@ interface TimerConfig {
|
|
|
2730
2738
|
durationMs?: number;
|
|
2731
2739
|
label?: string;
|
|
2732
2740
|
role?: 'primary' | 'secondary' | 'hidden' | 'auto';
|
|
2741
|
+
polarity?: 'work' | 'rest';
|
|
2733
2742
|
}
|
|
2734
2743
|
interface TimerCompletionConfig {
|
|
2735
2744
|
completesBlock?: boolean;
|
|
@@ -4631,11 +4640,16 @@ declare class AnalyticsEngine implements IAnalyticsEngine {
|
|
|
4631
4640
|
private outputHistory;
|
|
4632
4641
|
/** Emits a live 'analytics' snapshot per segment so the UI updates in real time. */
|
|
4633
4642
|
private _onLiveOutput?;
|
|
4643
|
+
private _liveProjections;
|
|
4634
4644
|
/**
|
|
4635
4645
|
* Signature of the last live projection emission. Used by finalize() to avoid
|
|
4636
4646
|
* re-emitting the same projections at session end. Timestamps are ignored.
|
|
4637
4647
|
*/
|
|
4638
4648
|
private _lastLiveProjectionSignature?;
|
|
4649
|
+
private _now;
|
|
4650
|
+
constructor(now?: INowProvider);
|
|
4651
|
+
setNowProvider(now: INowProvider): void;
|
|
4652
|
+
getLiveProjections(): readonly ProjectionResult[];
|
|
4639
4653
|
/**
|
|
4640
4654
|
* Wire a sink for live analytics outputs. The sink receives the FULL
|
|
4641
4655
|
* projection snapshot (a replaceable, ephemeral set) each time projections
|
|
@@ -5477,4 +5491,4 @@ declare function diffStatement(expected: MetricLine[], actual: readonly IMetric[
|
|
|
5477
5491
|
*/
|
|
5478
5492
|
declare function compareStatement(expectations: MetricLine[], actual: readonly IMetric[], mode: MatchMode): string[];
|
|
5479
5493
|
|
|
5480
|
-
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, 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 };
|
|
5494
|
+
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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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, 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,
|
|
4
|
-
export {
|
|
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-BnS5Xkgf.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-BnS5Xkgf.js';
|
|
5
5
|
import { Tree } from '@lezer/common';
|
|
6
6
|
import { LanguageSupport, LRLanguage } from '@codemirror/language';
|
|
7
7
|
import { CompletionSource, Completion } from '@codemirror/autocomplete';
|
|
@@ -1432,6 +1432,7 @@ declare class OutputEmitter {
|
|
|
1432
1432
|
stack: IRuntimeStack;
|
|
1433
1433
|
script: WhiteboardScript;
|
|
1434
1434
|
}): void;
|
|
1435
|
+
private _bindEngineClock;
|
|
1435
1436
|
private _requireClock;
|
|
1436
1437
|
/**
|
|
1437
1438
|
* Add an output statement, run it through analytics enrichment, buffer it,
|
|
@@ -1473,6 +1474,8 @@ declare class OutputEmitter {
|
|
|
1473
1474
|
private emitLiveAnalytics;
|
|
1474
1475
|
/** Ephemeral Tier-2 (running-total) snapshot for live display; never persisted. */
|
|
1475
1476
|
getLiveAnalytics(): IOutputStatement[];
|
|
1477
|
+
/** Typed live Summary Metric projections directly from AnalyticsEngine. */
|
|
1478
|
+
getLiveProjections(): readonly ProjectionResult[];
|
|
1476
1479
|
dispose(): void;
|
|
1477
1480
|
/**
|
|
1478
1481
|
* Emit a `'load'` output for every statement in the script.
|
|
@@ -1791,9 +1794,11 @@ declare class SnapshotClock implements IRuntimeClock {
|
|
|
1791
1794
|
* - `start()`/`stop()`: Control methods that return timestamps for event creation
|
|
1792
1795
|
*/
|
|
1793
1796
|
declare class RuntimeClock implements IRuntimeClock {
|
|
1797
|
+
private readonly _now;
|
|
1794
1798
|
private _spans;
|
|
1799
|
+
constructor(_now?: INowProvider);
|
|
1795
1800
|
/**
|
|
1796
|
-
* Current
|
|
1801
|
+
* Current clock time as a Date (from injected `INowProvider`, defaulting to wall clock).
|
|
1797
1802
|
*/
|
|
1798
1803
|
get currentDate(): Date;
|
|
1799
1804
|
now(): Date;
|
|
@@ -2231,6 +2236,7 @@ interface CountupTimerConfig {
|
|
|
2231
2236
|
label?: string;
|
|
2232
2237
|
/** Timer role for display priority */
|
|
2233
2238
|
role?: 'primary' | 'secondary' | 'hidden' | 'auto';
|
|
2239
|
+
polarity?: TimerPolarity;
|
|
2234
2240
|
}
|
|
2235
2241
|
/**
|
|
2236
2242
|
* CountupTimerBehavior manages the full lifecycle of a count-up timer.
|
|
@@ -2288,6 +2294,8 @@ interface CountdownTimerConfig {
|
|
|
2288
2294
|
* `timer:skip-attempt` event instead of advancing the block.
|
|
2289
2295
|
*/
|
|
2290
2296
|
required?: boolean;
|
|
2297
|
+
/** Semantic Work vs Rest polarity stored in TimerState. */
|
|
2298
|
+
polarity?: TimerPolarity;
|
|
2291
2299
|
}
|
|
2292
2300
|
/**
|
|
2293
2301
|
* CountdownTimerBehavior manages the full lifecycle of a count-down timer.
|
|
@@ -2730,6 +2738,7 @@ interface TimerConfig {
|
|
|
2730
2738
|
durationMs?: number;
|
|
2731
2739
|
label?: string;
|
|
2732
2740
|
role?: 'primary' | 'secondary' | 'hidden' | 'auto';
|
|
2741
|
+
polarity?: 'work' | 'rest';
|
|
2733
2742
|
}
|
|
2734
2743
|
interface TimerCompletionConfig {
|
|
2735
2744
|
completesBlock?: boolean;
|
|
@@ -4631,11 +4640,16 @@ declare class AnalyticsEngine implements IAnalyticsEngine {
|
|
|
4631
4640
|
private outputHistory;
|
|
4632
4641
|
/** Emits a live 'analytics' snapshot per segment so the UI updates in real time. */
|
|
4633
4642
|
private _onLiveOutput?;
|
|
4643
|
+
private _liveProjections;
|
|
4634
4644
|
/**
|
|
4635
4645
|
* Signature of the last live projection emission. Used by finalize() to avoid
|
|
4636
4646
|
* re-emitting the same projections at session end. Timestamps are ignored.
|
|
4637
4647
|
*/
|
|
4638
4648
|
private _lastLiveProjectionSignature?;
|
|
4649
|
+
private _now;
|
|
4650
|
+
constructor(now?: INowProvider);
|
|
4651
|
+
setNowProvider(now: INowProvider): void;
|
|
4652
|
+
getLiveProjections(): readonly ProjectionResult[];
|
|
4639
4653
|
/**
|
|
4640
4654
|
* Wire a sink for live analytics outputs. The sink receives the FULL
|
|
4641
4655
|
* projection snapshot (a replaceable, ephemeral set) each time projections
|
|
@@ -5477,4 +5491,4 @@ declare function diffStatement(expected: MetricLine[], actual: readonly IMetric[
|
|
|
5477
5491
|
*/
|
|
5478
5492
|
declare function compareStatement(expectations: MetricLine[], actual: readonly IMetric[], mode: MatchMode): string[];
|
|
5479
5493
|
|
|
5480
|
-
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, 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 };
|
|
5494
|
+
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 };
|