@bitcobblers/wod-wiki-lang 0.37.2139 → 0.38.2141
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-Xsaghuya.d.cts → browserRuntimeNow-M4hQ_DTl.d.cts} +25 -1
- package/dist/{browserRuntimeNow-Xsaghuya.d.ts → browserRuntimeNow-M4hQ_DTl.d.ts} +25 -1
- package/dist/index.cjs +61 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +56 -14
- package/dist/index.mjs.map +1 -1
- package/dist/react.d.cts +2 -2
- package/dist/react.d.ts +2 -2
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IMetric, MetricContainer, MetricOrigin, MetricType, IDialect, ICodeStatement, DialectAnalysis, ParsedCodeStatement, IOutputStatement, OutputStatementType, BlockKey, ScriptBlock, FenceDialect, Segment, AnalyticsGroup, StoredOutputStatement, OutputStatement } 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 EffortStorageAdapter, i as IRuntimeActionable, j as IEventBus, k as IRuntimeStack, l as IRuntimeClock, m as IJitCompiler, n as INowProvider, o as RuntimeStackOptions, p as RuntimeError, A as AnalyticsContext, q as IEvent, r as IRuntimeAction, O as OutputListener, U as Unsubscribe, s as IAnalyticsEngine, t as IRuntimeBlock, u as IBehaviorContext, B as BehaviorEventType, v as BehaviorEventListener, S as SubscribeOptions, w as Unsubscribe$1, x as OutputOptions, M as MemoryTag, y as IMemoryLocation, z as IRuntimeBehavior, C as IBlockContext, D as MetricVisibility, F as BlockLifecycleOptions, G as CompletionDecision, T as TimeSpan, H as IRuntimeMemory, J as TypedMemoryReference, K as MemorySearchCriteria, L as IMemoryReference, N as RuntimeStackLogger, P as StackObserver, Q as StackSnapshot, V as StackListener, X as MemoryTypeEnum, Y as IAnchorValue, Z as ButtonConfig, _ as IEventHandler, $ as HandlerScope, a0 as IScriptRuntime, a1 as TestableBlockConfig, a2 as IRuntimeOptions, a3 as ScriptRuntime, a4 as EventHandlerOptions, a5 as EventCallback, a6 as TimerState, a7 as IRealtimeProcessor, a8 as ISummaryProcessor, a9 as ProjectionResult } from './browserRuntimeNow-
|
|
4
|
-
export { aa as ButtonVariant, ab as ButtonsState, ac as
|
|
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 EffortStorageAdapter, i as IRuntimeActionable, j as IEventBus, k as IRuntimeStack, l as IRuntimeClock, m as IJitCompiler, n as INowProvider, o as RuntimeStackOptions, p as RuntimeError, A as AnalyticsContext, q as IEvent, r as IRuntimeAction, O as OutputListener, U as Unsubscribe, s as IAnalyticsEngine, t as IRuntimeBlock, u as IBehaviorContext, B as BehaviorEventType, v as BehaviorEventListener, S as SubscribeOptions, w as Unsubscribe$1, x as OutputOptions, M as MemoryTag, y as IMemoryLocation, z as IRuntimeBehavior, C as IBlockContext, D as MetricVisibility, F as BlockLifecycleOptions, G as CompletionDecision, T as TimeSpan, H as IRuntimeMemory, J as TypedMemoryReference, K as MemorySearchCriteria, L as IMemoryReference, N as RuntimeStackLogger, P as StackObserver, Q as StackSnapshot, V as StackListener, X as MemoryTypeEnum, Y as IAnchorValue, Z as ButtonConfig, _ as IEventHandler, $ as HandlerScope, a0 as IScriptRuntime, a1 as TestableBlockConfig, a2 as IRuntimeOptions, a3 as ScriptRuntime, a4 as EventHandlerOptions, a5 as EventCallback, a6 as TimerState, a7 as IRealtimeProcessor, a8 as ISummaryProcessor, a9 as ProjectionResult } from './browserRuntimeNow-M4hQ_DTl.cjs';
|
|
4
|
+
export { aa as ButtonVariant, ab as ButtonsState, ac as CATALOG_PRECEDENCE_RANK, ad as CatalogPrecedenceTier, ae as ChildrenStatusState, af as CompletionState, ag as DEFAULT_RESOLVER_OPTIONS, ah as DEFAULT_RUNTIME_OPTIONS, ai as DISCIPLINE_FACTORS, aj as DisplayState, ak as EFFORT_DISCIPLINES, al as EFFORT_REGISTRY_ORIGINS, am as EffortBaseAttributes, an as EffortDerivation, ao as EffortDiscipline, ap as EffortMaterializer, aq as EffortResolvedFrom, ar as EquipmentStorageAdapter, as as FenceDialect, at as FragmentDisplayState, au as FragmentState, av as IAnalyticsProcessorDescriptor, aw as IEquipmentRegistry, ax as INTENSITY_TIERS, ay as IScript, az as IntensityTier, aA as InterceptMode, aB as MemoryLocation, aC as MemoryType, aD as MemoryTypeMap, aE as MemoryValueOf, aF as ReferenceCatalog, aG as ResolvedReferences, aH as RoundState, aI as RuntimeState, aJ as ScriptRuntimeDependencies, aK as StackEvent, aL as TimerDirection, aM as VISIBILITY_ICONS, aN as VISIBILITY_LABELS, aO as createBrowserRuntimeNow, aP as createReferenceIndex, aQ as dedupeEntitiesByPrecedence, aR as disciplineFactorFor, aS as extractStatementRefs, aT as filterTagsByVisibility, aU as frozenNow, aV as getMetricVisibility, aW as getRuntimeNowMs, aX as isEffortDiscipline, aY as isFragmentTag, aZ as resolveEntityRank, a_ as resolveEntityTier, a$ as resolveSourceRank, b0 as resolveSourceTier, b1 as slugifyRefLabel, b2 as wallClockNow } from './browserRuntimeNow-M4hQ_DTl.cjs';
|
|
5
5
|
import { Tree } from '@lezer/common';
|
|
6
6
|
import { LanguageSupport, LRLanguage } from '@codemirror/language';
|
|
7
7
|
import { LRParser } from '@lezer/lr';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IMetric, MetricContainer, MetricOrigin, MetricType, IDialect, ICodeStatement, DialectAnalysis, ParsedCodeStatement, IOutputStatement, OutputStatementType, BlockKey, ScriptBlock, FenceDialect, Segment, AnalyticsGroup, StoredOutputStatement, OutputStatement } 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 EffortStorageAdapter, i as IRuntimeActionable, j as IEventBus, k as IRuntimeStack, l as IRuntimeClock, m as IJitCompiler, n as INowProvider, o as RuntimeStackOptions, p as RuntimeError, A as AnalyticsContext, q as IEvent, r as IRuntimeAction, O as OutputListener, U as Unsubscribe, s as IAnalyticsEngine, t as IRuntimeBlock, u as IBehaviorContext, B as BehaviorEventType, v as BehaviorEventListener, S as SubscribeOptions, w as Unsubscribe$1, x as OutputOptions, M as MemoryTag, y as IMemoryLocation, z as IRuntimeBehavior, C as IBlockContext, D as MetricVisibility, F as BlockLifecycleOptions, G as CompletionDecision, T as TimeSpan, H as IRuntimeMemory, J as TypedMemoryReference, K as MemorySearchCriteria, L as IMemoryReference, N as RuntimeStackLogger, P as StackObserver, Q as StackSnapshot, V as StackListener, X as MemoryTypeEnum, Y as IAnchorValue, Z as ButtonConfig, _ as IEventHandler, $ as HandlerScope, a0 as IScriptRuntime, a1 as TestableBlockConfig, a2 as IRuntimeOptions, a3 as ScriptRuntime, a4 as EventHandlerOptions, a5 as EventCallback, a6 as TimerState, a7 as IRealtimeProcessor, a8 as ISummaryProcessor, a9 as ProjectionResult } from './browserRuntimeNow-
|
|
4
|
-
export { aa as ButtonVariant, ab as ButtonsState, ac as
|
|
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 EffortStorageAdapter, i as IRuntimeActionable, j as IEventBus, k as IRuntimeStack, l as IRuntimeClock, m as IJitCompiler, n as INowProvider, o as RuntimeStackOptions, p as RuntimeError, A as AnalyticsContext, q as IEvent, r as IRuntimeAction, O as OutputListener, U as Unsubscribe, s as IAnalyticsEngine, t as IRuntimeBlock, u as IBehaviorContext, B as BehaviorEventType, v as BehaviorEventListener, S as SubscribeOptions, w as Unsubscribe$1, x as OutputOptions, M as MemoryTag, y as IMemoryLocation, z as IRuntimeBehavior, C as IBlockContext, D as MetricVisibility, F as BlockLifecycleOptions, G as CompletionDecision, T as TimeSpan, H as IRuntimeMemory, J as TypedMemoryReference, K as MemorySearchCriteria, L as IMemoryReference, N as RuntimeStackLogger, P as StackObserver, Q as StackSnapshot, V as StackListener, X as MemoryTypeEnum, Y as IAnchorValue, Z as ButtonConfig, _ as IEventHandler, $ as HandlerScope, a0 as IScriptRuntime, a1 as TestableBlockConfig, a2 as IRuntimeOptions, a3 as ScriptRuntime, a4 as EventHandlerOptions, a5 as EventCallback, a6 as TimerState, a7 as IRealtimeProcessor, a8 as ISummaryProcessor, a9 as ProjectionResult } from './browserRuntimeNow-M4hQ_DTl.js';
|
|
4
|
+
export { aa as ButtonVariant, ab as ButtonsState, ac as CATALOG_PRECEDENCE_RANK, ad as CatalogPrecedenceTier, ae as ChildrenStatusState, af as CompletionState, ag as DEFAULT_RESOLVER_OPTIONS, ah as DEFAULT_RUNTIME_OPTIONS, ai as DISCIPLINE_FACTORS, aj as DisplayState, ak as EFFORT_DISCIPLINES, al as EFFORT_REGISTRY_ORIGINS, am as EffortBaseAttributes, an as EffortDerivation, ao as EffortDiscipline, ap as EffortMaterializer, aq as EffortResolvedFrom, ar as EquipmentStorageAdapter, as as FenceDialect, at as FragmentDisplayState, au as FragmentState, av as IAnalyticsProcessorDescriptor, aw as IEquipmentRegistry, ax as INTENSITY_TIERS, ay as IScript, az as IntensityTier, aA as InterceptMode, aB as MemoryLocation, aC as MemoryType, aD as MemoryTypeMap, aE as MemoryValueOf, aF as ReferenceCatalog, aG as ResolvedReferences, aH as RoundState, aI as RuntimeState, aJ as ScriptRuntimeDependencies, aK as StackEvent, aL as TimerDirection, aM as VISIBILITY_ICONS, aN as VISIBILITY_LABELS, aO as createBrowserRuntimeNow, aP as createReferenceIndex, aQ as dedupeEntitiesByPrecedence, aR as disciplineFactorFor, aS as extractStatementRefs, aT as filterTagsByVisibility, aU as frozenNow, aV as getMetricVisibility, aW as getRuntimeNowMs, aX as isEffortDiscipline, aY as isFragmentTag, aZ as resolveEntityRank, a_ as resolveEntityTier, a$ as resolveSourceRank, b0 as resolveSourceTier, b1 as slugifyRefLabel, b2 as wallClockNow } from './browserRuntimeNow-M4hQ_DTl.js';
|
|
5
5
|
import { Tree } from '@lezer/common';
|
|
6
6
|
import { LanguageSupport, LRLanguage } from '@codemirror/language';
|
|
7
7
|
import { LRParser } from '@lezer/lr';
|
package/dist/index.mjs
CHANGED
|
@@ -2958,6 +2958,42 @@ function whiteboardScript() {
|
|
|
2958
2958
|
|
|
2959
2959
|
// src/effort-registry/types.ts
|
|
2960
2960
|
var EFFORT_REGISTRY_ORIGINS = ["bundled", "user"];
|
|
2961
|
+
var CATALOG_PRECEDENCE_RANK = {
|
|
2962
|
+
core: 0,
|
|
2963
|
+
community: 1,
|
|
2964
|
+
imported: 2,
|
|
2965
|
+
user: 3
|
|
2966
|
+
};
|
|
2967
|
+
function resolveSourceTier(sourceIdOrMetaKey, explicitTier) {
|
|
2968
|
+
if (explicitTier) return explicitTier;
|
|
2969
|
+
if (!sourceIdOrMetaKey) return "core";
|
|
2970
|
+
if (sourceIdOrMetaKey === "user") return "user";
|
|
2971
|
+
const id = sourceIdOrMetaKey.startsWith("seed:") ? sourceIdOrMetaKey.slice(5) : sourceIdOrMetaKey;
|
|
2972
|
+
if (id === "core" || id === "efforts" || id === "equipment") return "core";
|
|
2973
|
+
if (id === "community" || id.startsWith("community-") || id === "common") return "community";
|
|
2974
|
+
return "imported";
|
|
2975
|
+
}
|
|
2976
|
+
function resolveSourceRank(sourceIdOrMetaKey, explicitTier) {
|
|
2977
|
+
return CATALOG_PRECEDENCE_RANK[resolveSourceTier(sourceIdOrMetaKey, explicitTier)];
|
|
2978
|
+
}
|
|
2979
|
+
function resolveEntityTier(entity) {
|
|
2980
|
+
if (entity.registrySource === "user") return "user";
|
|
2981
|
+
return resolveSourceTier(entity.sourceId);
|
|
2982
|
+
}
|
|
2983
|
+
function resolveEntityRank(entity) {
|
|
2984
|
+
return CATALOG_PRECEDENCE_RANK[resolveEntityTier(entity)];
|
|
2985
|
+
}
|
|
2986
|
+
function dedupeEntitiesByPrecedence(entities) {
|
|
2987
|
+
const bySlug = /* @__PURE__ */ new Map();
|
|
2988
|
+
for (const entity of entities) {
|
|
2989
|
+
const key = entity.slug.toLowerCase();
|
|
2990
|
+
const prior = bySlug.get(key);
|
|
2991
|
+
if (!prior || resolveEntityRank(entity) >= resolveEntityRank(prior)) {
|
|
2992
|
+
bySlug.set(key, entity);
|
|
2993
|
+
}
|
|
2994
|
+
}
|
|
2995
|
+
return Array.from(bySlug.values());
|
|
2996
|
+
}
|
|
2961
2997
|
var INTENSITY_TIERS = ["low", "moderate", "high"];
|
|
2962
2998
|
var DEFAULT_RESOLVER_OPTIONS = {
|
|
2963
2999
|
defaultMet: 5,
|
|
@@ -3811,13 +3847,10 @@ var CompositeEffortRegistry = class {
|
|
|
3811
3847
|
*/
|
|
3812
3848
|
async loadBundled(customBundled) {
|
|
3813
3849
|
this.bundledEfforts.clear();
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
} else {
|
|
3819
|
-
const seed = this.initialBundled ?? bundledEfforts;
|
|
3820
|
-
for (const effort of seed) {
|
|
3850
|
+
const source = customBundled ?? this.initialBundled ?? bundledEfforts;
|
|
3851
|
+
for (const effort of source) {
|
|
3852
|
+
const prior = this.bundledEfforts.get(effort.slug);
|
|
3853
|
+
if (!prior || resolveEntityRank(effort) >= resolveEntityRank(prior)) {
|
|
3821
3854
|
this.bundledEfforts.set(effort.slug, effort);
|
|
3822
3855
|
}
|
|
3823
3856
|
}
|
|
@@ -3851,8 +3884,8 @@ var CompositeEffortRegistry = class {
|
|
|
3851
3884
|
if (normalizeForFuzzy(alias) === normalized) return effort;
|
|
3852
3885
|
}
|
|
3853
3886
|
}
|
|
3854
|
-
|
|
3855
|
-
|
|
3887
|
+
const bundled = Array.from(this.bundledEfforts.values()).filter((effort) => !this.userEfforts.has(effort.slug)).sort((a, b) => resolveEntityRank(b) - resolveEntityRank(a));
|
|
3888
|
+
for (const effort of bundled) {
|
|
3856
3889
|
if (normalizeForFuzzy(effort.label) === normalized) return effort;
|
|
3857
3890
|
for (const alias of effort.aliases) {
|
|
3858
3891
|
if (normalizeForFuzzy(alias) === normalized) return effort;
|
|
@@ -3952,6 +3985,7 @@ async function addAliasToEffort(registry, targetSlug, newAlias) {
|
|
|
3952
3985
|
return updatedUserEffort;
|
|
3953
3986
|
}
|
|
3954
3987
|
function buildExactIndex(entities) {
|
|
3988
|
+
const deduped = dedupeEntitiesByPrecedence(entities);
|
|
3955
3989
|
const byKey = /* @__PURE__ */ new Map();
|
|
3956
3990
|
const add = (key, entity) => {
|
|
3957
3991
|
if (!key) return;
|
|
@@ -3962,7 +3996,7 @@ function buildExactIndex(entities) {
|
|
|
3962
3996
|
byKey.set(key, [entity]);
|
|
3963
3997
|
}
|
|
3964
3998
|
};
|
|
3965
|
-
for (const entity of
|
|
3999
|
+
for (const entity of deduped) {
|
|
3966
4000
|
add(entity.slug.toLowerCase(), entity);
|
|
3967
4001
|
add(normalizeForFuzzy(entity.label), entity);
|
|
3968
4002
|
for (const alias of entity.aliases) add(normalizeForFuzzy(alias), entity);
|
|
@@ -3973,7 +4007,14 @@ function buildExactIndex(entities) {
|
|
|
3973
4007
|
const direct = byKey.get(key) ?? byKey.get(normalizeForFuzzy(key));
|
|
3974
4008
|
if (!direct || direct.length === 0) return { entity: null, ambiguous: [] };
|
|
3975
4009
|
if (direct.length === 1) return { entity: direct[0], ambiguous: [] };
|
|
3976
|
-
|
|
4010
|
+
let maxRank = -1;
|
|
4011
|
+
for (const candidate of direct) {
|
|
4012
|
+
const rank = resolveEntityRank(candidate);
|
|
4013
|
+
if (rank > maxRank) maxRank = rank;
|
|
4014
|
+
}
|
|
4015
|
+
const topTier = direct.filter((candidate) => resolveEntityRank(candidate) === maxRank);
|
|
4016
|
+
if (topTier.length === 1) return { entity: topTier[0], ambiguous: [] };
|
|
4017
|
+
return { entity: null, ambiguous: topTier };
|
|
3977
4018
|
}
|
|
3978
4019
|
};
|
|
3979
4020
|
}
|
|
@@ -3992,9 +4033,10 @@ function dedupeRefs(refs) {
|
|
|
3992
4033
|
return result;
|
|
3993
4034
|
}
|
|
3994
4035
|
function createReferenceIndex(catalog, materialize) {
|
|
4036
|
+
const dedupedEquipment = dedupeEntitiesByPrecedence(catalog.equipment ?? []);
|
|
3995
4037
|
const efforts = buildExactIndex(catalog.efforts ?? []);
|
|
3996
|
-
const equipment = buildExactIndex(
|
|
3997
|
-
const prefixCandidates =
|
|
4038
|
+
const equipment = buildExactIndex(dedupedEquipment);
|
|
4039
|
+
const prefixCandidates = dedupedEquipment.flatMap((entity) => [entity.label, ...entity.aliases].filter((name2) => !!name2 && !!name2.trim()).map((name2) => ({ lower: name2.trim().toLowerCase(), entity }))).sort((a, b) => b.lower.length - a.lower.length);
|
|
3998
4040
|
const materializer = materialize ?? ((effort) => ({
|
|
3999
4041
|
effort,
|
|
4000
4042
|
definition: effort,
|
|
@@ -14664,6 +14706,6 @@ function compareStatement(expectations, actual, mode) {
|
|
|
14664
14706
|
return diffs;
|
|
14665
14707
|
}
|
|
14666
14708
|
|
|
14667
|
-
export { ABSENT, AGGREGATE_BUILTINS, AUTHORITATIVE_CASTS, AbortSessionAction, AmrapLogicStrategy, AnalyticsEngine, AnalyticsTransformer, BUILTIN_CALCS, BUNDLED_EFFORT_COUNT, BehaviorContext, BlockBuilder, BlockContext, ButtonBehavior, CONSUMED_HINTS, CONSUMED_HINT_KEYS, CONTEXT_ATOMS, CalcEngine, CalcEvalError, CalcParseError, CalcRegistrationError, CalcUnitError, CalculateBlockProcessor, CalculationRegistry, CardioDialect, ChildSelectionBehavior, ChildrenStrategy, ChoiceGroupMetric, ClearChildrenAction, ClimbDialect, ClimbMetricType, CompileAndPushBlockAction, CompletionTimestampBehavior, CompositeEffortRegistry, CountdownTimerBehavior, CountupTimerBehavior, CrossFitDialect, DAY, DEFAULT_RESOLVER_OPTIONS, DEFAULT_RUNTIME_OPTIONS, DEFAULT_UNRESOLVED_EFFORT_MET, DIM_COUNT, DIM_ENERGY, DIM_LENGTH, DIM_MASS, DIM_TIME, DIM_ZERO, DISCIPLINE_FACTORS, DialectStack, EFFORT_DATA_METRIC_TYPE, EFFORT_DISCIPLINES, EFFORT_REGISTRY_ORIGINS, EffortBlock, EffortFallbackStrategy, EffortResolver, EmitEventAction, EmitSystemOutputAction, ErrorAction, EventBus, ExecutionContext, ExitBehavior, FixtureSyntaxError, GenericGroupStrategy, GenericLoopStrategy, GenericTimerStrategy, HabitsDialect, INTENSITY_TIERS, InMemoryEffortRegistry, IntervalLogicStrategy, JitCompiler, LabelingBehavior, LocalEventProvider, LocalRuntimeSubscription, LookupRegistry, MdTimerRuntime, MemoryLocation, MemoryTypeEnum, MetricPromotionBehavior, NAMED_COMPOUNDS, NextAction, NextEvent, NextEventHandler, OutputEmitter, PREDEFINED_SOUNDS, PRODUCTION_STRATEGIES, PlaySoundAction, PopBlockAction, PushBlockAction, PushRestBlockAction, REST_EXCLUSION, RPE_LABELS, RegisterEventHandlerAction, Registry, ReportOutputBehavior, ReportOutputStrategy, RestBlock, RoundsMetric, RuntimeAdapter, RuntimeBlock, RuntimeBuilder, RuntimeClock, RuntimeFactory, RuntimeLogger, RuntimeMemory, RuntimeObservers, RuntimeStack, STANDARD_UNITS, STORE_CALCS, STREAM_ATOMS, ScriptRuntime, SessionRootBlock, SessionRootStrategy, SnapshotClock, SoundCueBehavior, SoundStrategy, SpanTrackingBehavior, StandardAnalyticsProfile, StartSessionAction, StartWorkoutAction, SubscriptionManager, ThrowError, ThrowErrorAction, TimeSpan, TwoPassEffortResolutionProcess, TypedMemoryReference, UNITS, UnitRegistry, UnitSet, UnitsDialect, UnregisterEventHandlerAction, UpdateNextPreviewAction, VISIBILITY_ICONS, VISIBILITY_LABELS, WaitingToStartBlock, WaitingToStartInjectorBehavior, WhiteboardScript, WodDialect, YogaDialect, addAliasToEffort, addDim, buildStaticLookups, buildTooltip, bundledEfforts, calculateElapsed, canonicalizeType, checkCalcLine, classifyStatements, closeCurrentSpan, collapseUnresolvedChoices, commonFixtureSet, compareStatement, compileLineForm, composeDivUnit, composeMulUnit, compoundName, computeColumnLabel, computeLabel, computeWorkloadRollups, convertScalar, createAnalyticsEngineForBlock, createCalcEngine, createCalcStack, createCompiler, createDialectStack, createDisciplinesTable, createEffortTable, createLineLocator, createPolicy as createMetricPresentationPolicy, createMockClock, createParser, createProfileTable, createReferenceIndex, createRpeLabelsTable, dailySessionLoads, dayBucket, dialectRegistry, dialectStack, diffStatement, dimEquals, disciplineFactorFor, documentToEffort, documentToEquipment, effortToDocument, equipmentToDocument, evaluate, evaluateCalculateDefinitions, extractEffortData, extractMetrics, extractStatementRefs, extractStatements, extractStatementsRaw, extractSyntaxFacts, filterTagsByVisibility, findBestFuzzyMatch, findUnresolvedChoices, fixtureBackSquat, fixtureBurpee, fixturePlank, fixtureRowing, fixtureRunning, fixtureUserCustom, fixtureUserOverride, formatDim, formatDuration, metricsToLabel as fragmentsToLabel, fullFixtureSet, fuseUnits, fuseUnitsInMetrics, getAnalyticsFromLogs, getAnalyticsFromRuntime, getHints, getMetricVisibility, getUnit, hasHint, hintMetric, hintsToContainer, inferDim, isCastSubscription, isChoiceResolved, isDimensionless, isEffortDiscipline, isFragmentTag, isTimeLikeMetric, isWithinThreshold, levenshteinDistance, metricPresentation, mutateTimerSpans, normalizeForFuzzy, num, openSpan, outputNodeId, outputNodeIds, parseCalcLine, parseCalculateBlock, parseEffortFile, parseEquipmentFile, parseExpression, parseMetricLine, parseScript, printCalculation, readNestedSection, readTimer, realtimeProcessorRegistry, renderMetric, resolveDominantOrigin, slugifyRefLabel, startSpan, str, strategyRegistry, subDim, summaryProcessorRegistry, toStoredOutputStatement, truthy, validateOutputUnit, parser as whiteboardParser, whiteboardScript, whiteboardScriptLanguage, writeChoiceSelection };
|
|
14709
|
+
export { ABSENT, AGGREGATE_BUILTINS, AUTHORITATIVE_CASTS, AbortSessionAction, AmrapLogicStrategy, AnalyticsEngine, AnalyticsTransformer, BUILTIN_CALCS, BUNDLED_EFFORT_COUNT, BehaviorContext, BlockBuilder, BlockContext, ButtonBehavior, CATALOG_PRECEDENCE_RANK, CONSUMED_HINTS, CONSUMED_HINT_KEYS, CONTEXT_ATOMS, CalcEngine, CalcEvalError, CalcParseError, CalcRegistrationError, CalcUnitError, CalculateBlockProcessor, CalculationRegistry, CardioDialect, ChildSelectionBehavior, ChildrenStrategy, ChoiceGroupMetric, ClearChildrenAction, ClimbDialect, ClimbMetricType, CompileAndPushBlockAction, CompletionTimestampBehavior, CompositeEffortRegistry, CountdownTimerBehavior, CountupTimerBehavior, CrossFitDialect, DAY, DEFAULT_RESOLVER_OPTIONS, DEFAULT_RUNTIME_OPTIONS, DEFAULT_UNRESOLVED_EFFORT_MET, DIM_COUNT, DIM_ENERGY, DIM_LENGTH, DIM_MASS, DIM_TIME, DIM_ZERO, DISCIPLINE_FACTORS, DialectStack, EFFORT_DATA_METRIC_TYPE, EFFORT_DISCIPLINES, EFFORT_REGISTRY_ORIGINS, EffortBlock, EffortFallbackStrategy, EffortResolver, EmitEventAction, EmitSystemOutputAction, ErrorAction, EventBus, ExecutionContext, ExitBehavior, FixtureSyntaxError, GenericGroupStrategy, GenericLoopStrategy, GenericTimerStrategy, HabitsDialect, INTENSITY_TIERS, InMemoryEffortRegistry, IntervalLogicStrategy, JitCompiler, LabelingBehavior, LocalEventProvider, LocalRuntimeSubscription, LookupRegistry, MdTimerRuntime, MemoryLocation, MemoryTypeEnum, MetricPromotionBehavior, NAMED_COMPOUNDS, NextAction, NextEvent, NextEventHandler, OutputEmitter, PREDEFINED_SOUNDS, PRODUCTION_STRATEGIES, PlaySoundAction, PopBlockAction, PushBlockAction, PushRestBlockAction, REST_EXCLUSION, RPE_LABELS, RegisterEventHandlerAction, Registry, ReportOutputBehavior, ReportOutputStrategy, RestBlock, RoundsMetric, RuntimeAdapter, RuntimeBlock, RuntimeBuilder, RuntimeClock, RuntimeFactory, RuntimeLogger, RuntimeMemory, RuntimeObservers, RuntimeStack, STANDARD_UNITS, STORE_CALCS, STREAM_ATOMS, ScriptRuntime, SessionRootBlock, SessionRootStrategy, SnapshotClock, SoundCueBehavior, SoundStrategy, SpanTrackingBehavior, StandardAnalyticsProfile, StartSessionAction, StartWorkoutAction, SubscriptionManager, ThrowError, ThrowErrorAction, TimeSpan, TwoPassEffortResolutionProcess, TypedMemoryReference, UNITS, UnitRegistry, UnitSet, UnitsDialect, UnregisterEventHandlerAction, UpdateNextPreviewAction, VISIBILITY_ICONS, VISIBILITY_LABELS, WaitingToStartBlock, WaitingToStartInjectorBehavior, WhiteboardScript, WodDialect, YogaDialect, addAliasToEffort, addDim, buildStaticLookups, buildTooltip, bundledEfforts, calculateElapsed, canonicalizeType, checkCalcLine, classifyStatements, closeCurrentSpan, collapseUnresolvedChoices, commonFixtureSet, compareStatement, compileLineForm, composeDivUnit, composeMulUnit, compoundName, computeColumnLabel, computeLabel, computeWorkloadRollups, convertScalar, createAnalyticsEngineForBlock, createCalcEngine, createCalcStack, createCompiler, createDialectStack, createDisciplinesTable, createEffortTable, createLineLocator, createPolicy as createMetricPresentationPolicy, createMockClock, createParser, createProfileTable, createReferenceIndex, createRpeLabelsTable, dailySessionLoads, dayBucket, dedupeEntitiesByPrecedence, dialectRegistry, dialectStack, diffStatement, dimEquals, disciplineFactorFor, documentToEffort, documentToEquipment, effortToDocument, equipmentToDocument, evaluate, evaluateCalculateDefinitions, extractEffortData, extractMetrics, extractStatementRefs, extractStatements, extractStatementsRaw, extractSyntaxFacts, filterTagsByVisibility, findBestFuzzyMatch, findUnresolvedChoices, fixtureBackSquat, fixtureBurpee, fixturePlank, fixtureRowing, fixtureRunning, fixtureUserCustom, fixtureUserOverride, formatDim, formatDuration, metricsToLabel as fragmentsToLabel, fullFixtureSet, fuseUnits, fuseUnitsInMetrics, getAnalyticsFromLogs, getAnalyticsFromRuntime, getHints, getMetricVisibility, getUnit, hasHint, hintMetric, hintsToContainer, inferDim, isCastSubscription, isChoiceResolved, isDimensionless, isEffortDiscipline, isFragmentTag, isTimeLikeMetric, isWithinThreshold, levenshteinDistance, metricPresentation, mutateTimerSpans, normalizeForFuzzy, num, openSpan, outputNodeId, outputNodeIds, parseCalcLine, parseCalculateBlock, parseEffortFile, parseEquipmentFile, parseExpression, parseMetricLine, parseScript, printCalculation, readNestedSection, readTimer, realtimeProcessorRegistry, renderMetric, resolveDominantOrigin, resolveEntityRank, resolveEntityTier, resolveSourceRank, resolveSourceTier, slugifyRefLabel, startSpan, str, strategyRegistry, subDim, summaryProcessorRegistry, toStoredOutputStatement, truthy, validateOutputUnit, parser as whiteboardParser, whiteboardScript, whiteboardScriptLanguage, writeChoiceSelection };
|
|
14668
14710
|
//# sourceMappingURL=index.mjs.map
|
|
14669
14711
|
//# sourceMappingURL=index.mjs.map
|