@bitcobblers/wod-wiki-lang 0.1.8 → 0.2.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-F2TOS4AF.mjs → chunk-PFQDVQQO.mjs} +3 -9
- package/dist/chunk-PFQDVQQO.mjs.map +1 -0
- package/dist/index.cjs +51 -72
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +95 -96
- package/dist/index.d.ts +95 -96
- package/dist/index.mjs +9 -68
- package/dist/index.mjs.map +1 -1
- package/dist/react.mjs +2 -2
- package/package.json +2 -2
- package/dist/chunk-F2TOS4AF.mjs.map +0 -1
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __export = (target, all) => {
|
|
3
|
-
for (var name in all)
|
|
4
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
5
|
-
};
|
|
6
|
-
|
|
7
1
|
// src/runtime/INowProvider.ts
|
|
8
2
|
var wallClockNow = {
|
|
9
3
|
now: () => /* @__PURE__ */ new Date(),
|
|
@@ -74,6 +68,6 @@ var formatDurationSmart = (ms) => {
|
|
|
74
68
|
return formatTimeMMSS(ms);
|
|
75
69
|
};
|
|
76
70
|
|
|
77
|
-
export {
|
|
78
|
-
//# sourceMappingURL=chunk-
|
|
79
|
-
//# sourceMappingURL=chunk-
|
|
71
|
+
export { createBrowserRuntimeNow, formatDurationSmart, frozenNow, getRuntimeNowMs, wallClockNow };
|
|
72
|
+
//# sourceMappingURL=chunk-PFQDVQQO.mjs.map
|
|
73
|
+
//# sourceMappingURL=chunk-PFQDVQQO.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/runtime/INowProvider.ts","../src/runtime/browserRuntimeNow.ts","../src/utils/formatTime.ts"],"names":[],"mappings":";AAYO,IAAM,YAAA,GAA6B;AAAA,EACtC,GAAA,EAAK,sBAAM,IAAI,IAAA,EAAK;AAAA,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,GAAsB,CAAC,EAAA,KAAuB;AACzD,EAAA,IAAI,EAAA,KAAO,UAAa,EAAA,KAAO,IAAA,IAAQ,CAAC,MAAA,CAAO,QAAA,CAAS,EAAE,CAAA,EAAG;AAC3D,IAAA,OAAO,OAAA;AAAA,EACT;AACA,EAAA,MAAM,KAAA,GAAQ,IAAA,CAAK,GAAA,CAAI,EAAE,CAAA;AACzB,EAAA,MAAM,YAAA,GAAe,IAAA,CAAK,KAAA,CAAM,KAAA,GAAQ,GAAI,CAAA;AAC5C,EAAA,IAAI,gBAAgB,IAAA,EAAM;AACxB,IAAA,OAAO,iBAAiB,EAAE,CAAA;AAAA,EAC5B;AACA,EAAA,OAAO,eAAe,EAAE,CAAA;AAC1B","file":"chunk-PFQDVQQO.mjs","sourcesContent":["/**\n * INowProvider — the only seam for \"what time is it\" in the runtime.\n * Events, actions, and behaviors that need a timestamp take a now-fn\n * in their constructor; the runtime passes its single provider down.\n * Tests pass a frozen clock so the timeline is deterministic.\n */\nexport interface INowProvider {\n now(): Date;\n nowMs(): number;\n}\n\n/** Default provider: reads wall clock. */\nexport const wallClockNow: INowProvider = {\n now: () => new Date(),\n nowMs: () => Date.now(),\n};\n\n/** A provider that always returns the same Date (for tests). */\nexport function frozenNow(at: Date): INowProvider {\n return { now: () => at, nowMs: () => at.getTime() };\n}\n","import type { INowProvider } from './INowProvider';\n\ndeclare global {\n interface Window {\n __chromecast_senderClockTimeMs?: () => number;\n }\n}\n\n/**\n * Returns the canonical \"now\" used for runtime timer interpolation.\n *\n * Browser workbench: falls back to Date.now().\n * Chromecast receiver: uses sender-synchronized clock when available.\n */\nexport function getRuntimeNowMs(): number {\n if (typeof window !== 'undefined') {\n const senderClock = window.__chromecast_senderClockTimeMs;\n if (typeof senderClock === 'function') {\n try {\n const value = senderClock();\n if (Number.isFinite(value)) {\n return value;\n }\n } catch {\n // Ignore sender clock failures and fall back to Date.now().\n }\n }\n }\n\n return Date.now();\n}\n\n/** Creates an INowProvider that reads the browser sender-clock when available. */\nexport function createBrowserRuntimeNow(): INowProvider {\n return {\n now: () => new Date(getRuntimeNowMs()),\n nowMs: () => getRuntimeNowMs(),\n };\n}\n","/**\n * Canonical time formatting utilities\n * Consolidates 15+ inline formatter implementations across the codebase\n * \n * All formatters handle edge cases: null, undefined, negative numbers, non-finite values\n */\n\n/**\n * Formats milliseconds to MM:SS format\n * e.g., 65432 → \"01:05\" (~65 seconds)\n */\nexport const formatTimeMMSS = (ms: number): string => {\n if (ms === undefined || ms === null || !Number.isFinite(ms)) {\n return '--:--';\n }\n const isNegative = ms < 0;\n const absMs = Math.abs(ms);\n const totalSeconds = Math.floor(absMs / 1000);\n const minutes = Math.floor(totalSeconds / 60);\n const seconds = totalSeconds % 60;\n const sign = isNegative ? '-' : '';\n return `${sign}${minutes.toString().padStart(2, '0')}:${seconds.toString().padStart(2, '0')}`;\n};\n\n/**\n * Formats milliseconds to HH:MM:SS format\n * e.g., 3665432 → \"01:01:05\" (~1 hour, 1 minute, 5 seconds)\n */\nexport const formatTimeHHMMSS = (ms: number): string => {\n if (ms === undefined || ms === null || !Number.isFinite(ms)) {\n return '--:--:--';\n }\n const isNegative = ms < 0;\n const absMs = Math.abs(ms);\n const totalSeconds = Math.floor(absMs / 1000);\n const hours = Math.floor(totalSeconds / 3600);\n const minutes = Math.floor((totalSeconds % 3600) / 60);\n const seconds = totalSeconds % 60;\n const sign = isNegative ? '-' : '';\n return `${sign}${hours.toString().padStart(2, '0')}:${minutes.toString().padStart(2, '0')}:${seconds.toString().padStart(2, '0')}`;\n};\n\n/**\n * Formats milliseconds to MM:SS.ms format (with centisecond precision)\n * e.g., 65432 → \"01:05.43\" (~65.4 seconds)\n */\nexport const formatTimePrecise = (ms: number): string => {\n if (ms === undefined || ms === null || !Number.isFinite(ms)) {\n return '--:--.--';\n }\n const isNegative = ms < 0;\n const absMs = Math.abs(ms);\n const totalSeconds = Math.floor(absMs / 1000);\n const minutes = Math.floor(totalSeconds / 60);\n const seconds = totalSeconds % 60;\n const centiseconds = Math.floor((absMs % 1000) / 10);\n const sign = isNegative ? '-' : '';\n return `${sign}${minutes.toString().padStart(2, '0')}:${seconds.toString().padStart(2, '0')}.${centiseconds.toString().padStart(2, '0')}`;\n};\n\n/**\n * Formats seconds to MM:SS format\n * NOTE: Input is SECONDS, not milliseconds (unlike the ms variants above)\n * e.g., 65 → \"01:05\"\n * \n * Use this ONLY for callers that have seconds-based time values\n */\nexport const formatSecondsMMSS = (seconds: number): string => {\n if (seconds === undefined || seconds === null || !Number.isFinite(seconds)) {\n return '--:--';\n }\n const isNegative = seconds < 0;\n const absSeconds = Math.abs(seconds);\n const mins = Math.floor(absSeconds / 60);\n const secs = Math.floor(absSeconds % 60);\n const sign = isNegative ? '-' : '';\n return `${sign}${mins.toString().padStart(2, '0')}:${secs.toString().padStart(2, '0')}`;\n};\n\n/**\n * Formats seconds to HH:MM:SS format\n * NOTE: Input is SECONDS, not milliseconds\n * e.g., 3665 → \"01:01:05\"\n */\nexport const formatSecondsHHMMSS = (seconds: number): string => {\n if (seconds === undefined || seconds === null || !Number.isFinite(seconds)) {\n return '--:--:--';\n }\n const isNegative = seconds < 0;\n const absSeconds = Math.abs(seconds);\n const hours = Math.floor(absSeconds / 3600);\n const mins = Math.floor((absSeconds % 3600) / 60);\n const secs = Math.floor(absSeconds % 60);\n const sign = isNegative ? '-' : '';\n return `${sign}${hours.toString().padStart(2, '0')}:${mins.toString().padStart(2, '0')}:${secs.toString().padStart(2, '0')}`;\n};\n\n/**\n * Smart duration formatter: chooses MM:SS or HH:MM:SS based on total duration\n * If duration >= 1 hour: returns HH:MM:SS, else MM:SS\n * Input: milliseconds\n */\nexport const formatDurationSmart = (ms: number): string => {\n if (ms === undefined || ms === null || !Number.isFinite(ms)) {\n return '--:--';\n }\n const absMs = Math.abs(ms);\n const totalSeconds = Math.floor(absMs / 1000);\n if (totalSeconds >= 3600) {\n return formatTimeHHMMSS(ms);\n }\n return formatTimeMMSS(ms);\n};\n\n/**\n * Compact duration format: M:SS.m or MM:SS depending on magnitude\n * e.g., 5432 → \"5:43\", 65432 → \"01:05\"\n * Input: milliseconds\n * \n * Use this only for space-constrained UIs\n */\nexport const formatDurationCompact = (ms: number): string => {\n if (ms === undefined || ms === null || !Number.isFinite(ms)) {\n return '--:--';\n }\n const absMs = Math.abs(ms);\n const totalSeconds = Math.floor(absMs / 1000);\n const minutes = Math.floor(totalSeconds / 60);\n const seconds = totalSeconds % 60;\n \n // If minutes < 10, use compact format without leading zero\n if (minutes < 10) {\n return `${minutes}:${seconds.toString().padStart(2, '0')}`;\n }\n \n // Otherwise use standard MM:SS\n return formatTimeMMSS(ms);\n};\n\n/**\n * Formats a timestamp (Date or number) into HH:MM:SS format\n * e.g., new Date('2024-01-01T12:34:56Z') → \"12:34:56\"\n * Returns 'running' if date is undefined.\n */\nexport const formatTimestamp = (date?: Date | number): string => {\n if (!date) return 'running';\n const dateObj = typeof date === 'number' ? new Date(date) : date;\n return dateObj.toLocaleTimeString('en-US', {\n hour12: false,\n hour: '2-digit',\n minute: '2-digit',\n second: '2-digit'\n });\n};\n"]}
|
package/dist/index.cjs
CHANGED
|
@@ -6,12 +6,6 @@ var language = require('@codemirror/language');
|
|
|
6
6
|
var common = require('@lezer/common');
|
|
7
7
|
var uuid = require('uuid');
|
|
8
8
|
|
|
9
|
-
var __defProp = Object.defineProperty;
|
|
10
|
-
var __export = (target, all) => {
|
|
11
|
-
for (var name2 in all)
|
|
12
|
-
__defProp(target, name2, { get: all[name2], enumerable: true });
|
|
13
|
-
};
|
|
14
|
-
|
|
15
9
|
// src/registry/Registry.ts
|
|
16
10
|
var Registry = class {
|
|
17
11
|
items = /* @__PURE__ */ new Map();
|
|
@@ -12788,65 +12782,6 @@ function normalizeName(value) {
|
|
|
12788
12782
|
return value.trim().toLowerCase();
|
|
12789
12783
|
}
|
|
12790
12784
|
|
|
12791
|
-
// src/analytics/calc/index.ts
|
|
12792
|
-
var calc_exports = {};
|
|
12793
|
-
__export(calc_exports, {
|
|
12794
|
-
ABSENT: () => ABSENT,
|
|
12795
|
-
AGGREGATE_BUILTINS: () => AGGREGATE_BUILTINS,
|
|
12796
|
-
AUTHORITATIVE_CASTS: () => AUTHORITATIVE_CASTS,
|
|
12797
|
-
BUILTIN_CALCS: () => BUILTIN_CALCS,
|
|
12798
|
-
CONTEXT_ATOMS: () => CONTEXT_ATOMS,
|
|
12799
|
-
CalcEngine: () => CalcEngine,
|
|
12800
|
-
CalcEvalError: () => CalcEvalError,
|
|
12801
|
-
CalcParseError: () => CalcParseError,
|
|
12802
|
-
CalcRegistrationError: () => CalcRegistrationError,
|
|
12803
|
-
CalcUnitError: () => CalcUnitError,
|
|
12804
|
-
CalculationRegistry: () => CalculationRegistry,
|
|
12805
|
-
DIM_COUNT: () => DIM_COUNT,
|
|
12806
|
-
DIM_ENERGY: () => DIM_ENERGY,
|
|
12807
|
-
DIM_LENGTH: () => DIM_LENGTH,
|
|
12808
|
-
DIM_MASS: () => DIM_MASS,
|
|
12809
|
-
DIM_TIME: () => DIM_TIME,
|
|
12810
|
-
DIM_ZERO: () => DIM_ZERO,
|
|
12811
|
-
LookupRegistry: () => LookupRegistry,
|
|
12812
|
-
NAMED_COMPOUNDS: () => NAMED_COMPOUNDS,
|
|
12813
|
-
REST_EXCLUSION: () => REST_EXCLUSION,
|
|
12814
|
-
RPE_LABELS: () => RPE_LABELS,
|
|
12815
|
-
STORE_CALCS: () => STORE_CALCS,
|
|
12816
|
-
STREAM_ATOMS: () => STREAM_ATOMS,
|
|
12817
|
-
UNITS: () => UNITS,
|
|
12818
|
-
addDim: () => addDim,
|
|
12819
|
-
buildStaticLookups: () => buildStaticLookups,
|
|
12820
|
-
checkCalcLine: () => checkCalcLine,
|
|
12821
|
-
compileLineForm: () => compileLineForm,
|
|
12822
|
-
composeDivUnit: () => composeDivUnit,
|
|
12823
|
-
composeMulUnit: () => composeMulUnit,
|
|
12824
|
-
compoundName: () => compoundName,
|
|
12825
|
-
convertScalar: () => convertScalar,
|
|
12826
|
-
createCalcEngine: () => createCalcEngine,
|
|
12827
|
-
createCalcStack: () => createCalcStack,
|
|
12828
|
-
createDisciplinesTable: () => createDisciplinesTable,
|
|
12829
|
-
createEffortTable: () => createEffortTable,
|
|
12830
|
-
createProfileTable: () => createProfileTable,
|
|
12831
|
-
createRpeLabelsTable: () => createRpeLabelsTable,
|
|
12832
|
-
dimEquals: () => dimEquals,
|
|
12833
|
-
evaluate: () => evaluate,
|
|
12834
|
-
formatDim: () => formatDim,
|
|
12835
|
-
getUnit: () => getUnit,
|
|
12836
|
-
inferDim: () => inferDim,
|
|
12837
|
-
isDimensionless: () => isDimensionless,
|
|
12838
|
-
num: () => num,
|
|
12839
|
-
outputNodeId: () => outputNodeId,
|
|
12840
|
-
outputNodeIds: () => outputNodeIds,
|
|
12841
|
-
parseCalcLine: () => parseCalcLine,
|
|
12842
|
-
parseExpression: () => parseExpression,
|
|
12843
|
-
printCalculation: () => printCalculation,
|
|
12844
|
-
str: () => str,
|
|
12845
|
-
subDim: () => subDim,
|
|
12846
|
-
truthy: () => truthy,
|
|
12847
|
-
validateOutputUnit: () => validateOutputUnit
|
|
12848
|
-
});
|
|
12849
|
-
|
|
12850
12785
|
// src/analytics/calc/lineform.ts
|
|
12851
12786
|
var SCOPE_RE = /^(segment|workout|store)\b/;
|
|
12852
12787
|
function compileLineForm(src, defaultScope) {
|
|
@@ -13279,15 +13214,18 @@ function toStoredOutputStatement(output) {
|
|
|
13279
13214
|
}
|
|
13280
13215
|
|
|
13281
13216
|
// src/version.ts
|
|
13282
|
-
var VERSION = "0.
|
|
13283
|
-
var GIT_SHA = "
|
|
13284
|
-
var BUILD_TIME = "2026-08-18T18:
|
|
13217
|
+
var VERSION = "0.2.18";
|
|
13218
|
+
var GIT_SHA = "c8d6c87";
|
|
13219
|
+
var BUILD_TIME = "2026-08-18T18:39:33.177Z";
|
|
13285
13220
|
var SEMVER = {
|
|
13286
|
-
version: "0.
|
|
13287
|
-
gitSha: "
|
|
13288
|
-
buildTime: "2026-08-18T18:
|
|
13221
|
+
version: "0.2.18",
|
|
13222
|
+
gitSha: "c8d6c87",
|
|
13223
|
+
buildTime: "2026-08-18T18:39:33.177Z"
|
|
13289
13224
|
};
|
|
13290
13225
|
|
|
13226
|
+
exports.ABSENT = ABSENT;
|
|
13227
|
+
exports.AGGREGATE_BUILTINS = AGGREGATE_BUILTINS;
|
|
13228
|
+
exports.AUTHORITATIVE_CASTS = AUTHORITATIVE_CASTS;
|
|
13291
13229
|
exports.AbortSessionAction = AbortSessionAction;
|
|
13292
13230
|
exports.AnalyticsEngine = AnalyticsEngine;
|
|
13293
13231
|
exports.AnalyticsTransformer = AnalyticsTransformer;
|
|
@@ -13298,7 +13236,12 @@ exports.BehaviorContext = BehaviorContext;
|
|
|
13298
13236
|
exports.BlockContext = BlockContext;
|
|
13299
13237
|
exports.CONSUMED_HINTS = CONSUMED_HINTS;
|
|
13300
13238
|
exports.CONSUMED_HINT_KEYS = CONSUMED_HINT_KEYS;
|
|
13239
|
+
exports.CONTEXT_ATOMS = CONTEXT_ATOMS;
|
|
13301
13240
|
exports.CalcEngine = CalcEngine;
|
|
13241
|
+
exports.CalcEvalError = CalcEvalError;
|
|
13242
|
+
exports.CalcParseError = CalcParseError;
|
|
13243
|
+
exports.CalcRegistrationError = CalcRegistrationError;
|
|
13244
|
+
exports.CalcUnitError = CalcUnitError;
|
|
13302
13245
|
exports.CalculateBlockProcessor = CalculateBlockProcessor;
|
|
13303
13246
|
exports.CalculationRegistry = CalculationRegistry;
|
|
13304
13247
|
exports.CardioDialect = CardioDialect;
|
|
@@ -13310,6 +13253,8 @@ exports.CrossFitDialect = CrossFitDialect;
|
|
|
13310
13253
|
exports.DAY = DAY;
|
|
13311
13254
|
exports.DEFAULT_RESOLVER_OPTIONS = DEFAULT_RESOLVER_OPTIONS;
|
|
13312
13255
|
exports.DEFAULT_UNRESOLVED_EFFORT_MET = DEFAULT_UNRESOLVED_EFFORT_MET;
|
|
13256
|
+
exports.DIM_COUNT = DIM_COUNT;
|
|
13257
|
+
exports.DIM_ENERGY = DIM_ENERGY;
|
|
13313
13258
|
exports.DIM_LENGTH = DIM_LENGTH;
|
|
13314
13259
|
exports.DIM_MASS = DIM_MASS;
|
|
13315
13260
|
exports.DIM_TIME = DIM_TIME;
|
|
@@ -13337,6 +13282,7 @@ exports.LookupRegistry = LookupRegistry;
|
|
|
13337
13282
|
exports.MdTimerRuntime = MdTimerRuntime;
|
|
13338
13283
|
exports.MemoryLocation = MemoryLocation;
|
|
13339
13284
|
exports.MemoryTypeEnum = MemoryTypeEnum;
|
|
13285
|
+
exports.NAMED_COMPOUNDS = NAMED_COMPOUNDS;
|
|
13340
13286
|
exports.NextAction = NextAction;
|
|
13341
13287
|
exports.NextEvent = NextEvent;
|
|
13342
13288
|
exports.NextEventHandler = NextEventHandler;
|
|
@@ -13347,6 +13293,8 @@ exports.PlaySoundAction = PlaySoundAction;
|
|
|
13347
13293
|
exports.PopBlockAction = PopBlockAction;
|
|
13348
13294
|
exports.PushBlockAction = PushBlockAction;
|
|
13349
13295
|
exports.PushRestBlockAction = PushRestBlockAction;
|
|
13296
|
+
exports.REST_EXCLUSION = REST_EXCLUSION;
|
|
13297
|
+
exports.RPE_LABELS = RPE_LABELS;
|
|
13350
13298
|
exports.RegisterEventHandlerAction = RegisterEventHandlerAction;
|
|
13351
13299
|
exports.Registry = Registry;
|
|
13352
13300
|
exports.RestBlock = RestBlock;
|
|
@@ -13362,6 +13310,7 @@ exports.RuntimeStack = RuntimeStack;
|
|
|
13362
13310
|
exports.SEMVER = SEMVER;
|
|
13363
13311
|
exports.STANDARD_UNITS = STANDARD_UNITS;
|
|
13364
13312
|
exports.STORE_CALCS = STORE_CALCS;
|
|
13313
|
+
exports.STREAM_ATOMS = STREAM_ATOMS;
|
|
13365
13314
|
exports.ScriptRuntime = ScriptRuntime;
|
|
13366
13315
|
exports.SessionRootBlock = SessionRootBlock;
|
|
13367
13316
|
exports.SnapshotClock = SnapshotClock;
|
|
@@ -13374,6 +13323,7 @@ exports.ThrowErrorAction = ThrowErrorAction;
|
|
|
13374
13323
|
exports.TimeSpan = TimeSpan;
|
|
13375
13324
|
exports.TwoPassEffortResolutionProcess = TwoPassEffortResolutionProcess;
|
|
13376
13325
|
exports.TypedMemoryReference = TypedMemoryReference;
|
|
13326
|
+
exports.UNITS = UNITS;
|
|
13377
13327
|
exports.UnitRegistry = UnitRegistry;
|
|
13378
13328
|
exports.UnitSet = UnitSet;
|
|
13379
13329
|
exports.UnitsDialect = UnitsDialect;
|
|
@@ -13386,29 +13336,43 @@ exports.WaitingToStartBlock = WaitingToStartBlock;
|
|
|
13386
13336
|
exports.WhiteboardScript = WhiteboardScript;
|
|
13387
13337
|
exports.WodDialect = WodDialect;
|
|
13388
13338
|
exports.YogaDialect = YogaDialect;
|
|
13339
|
+
exports.addDim = addDim;
|
|
13340
|
+
exports.buildStaticLookups = buildStaticLookups;
|
|
13389
13341
|
exports.buildTooltip = buildTooltip;
|
|
13390
13342
|
exports.bundledEfforts = bundledEfforts;
|
|
13391
|
-
exports.calc = calc_exports;
|
|
13392
13343
|
exports.calculateElapsed = calculateElapsed;
|
|
13344
|
+
exports.checkCalcLine = checkCalcLine;
|
|
13393
13345
|
exports.classifyStatements = classifyStatements;
|
|
13394
13346
|
exports.closeCurrentSpan = closeCurrentSpan;
|
|
13347
|
+
exports.collapseUnresolvedChoices = collapseUnresolvedChoices;
|
|
13395
13348
|
exports.commonFixtureSet = commonFixtureSet;
|
|
13349
|
+
exports.compileLineForm = compileLineForm;
|
|
13350
|
+
exports.composeDivUnit = composeDivUnit;
|
|
13351
|
+
exports.composeMulUnit = composeMulUnit;
|
|
13352
|
+
exports.compoundName = compoundName;
|
|
13396
13353
|
exports.computeColumnLabel = computeColumnLabel;
|
|
13397
13354
|
exports.computeLabel = computeLabel;
|
|
13398
13355
|
exports.computeWorkloadRollups = computeWorkloadRollups;
|
|
13356
|
+
exports.convertScalar = convertScalar;
|
|
13399
13357
|
exports.createAnalyticsEngineForBlock = createAnalyticsEngineForBlock;
|
|
13400
13358
|
exports.createBrowserRuntimeNow = createBrowserRuntimeNow;
|
|
13401
13359
|
exports.createCalcEngine = createCalcEngine;
|
|
13360
|
+
exports.createCalcStack = createCalcStack;
|
|
13402
13361
|
exports.createCompiler = createCompiler;
|
|
13403
13362
|
exports.createDialectStack = createDialectStack;
|
|
13363
|
+
exports.createDisciplinesTable = createDisciplinesTable;
|
|
13364
|
+
exports.createEffortTable = createEffortTable;
|
|
13404
13365
|
exports.createLineLocator = createLineLocator;
|
|
13405
13366
|
exports.createMetricPresentationPolicy = createPolicy;
|
|
13406
13367
|
exports.createMockClock = createMockClock;
|
|
13407
13368
|
exports.createParser = createParser;
|
|
13369
|
+
exports.createProfileTable = createProfileTable;
|
|
13370
|
+
exports.createRpeLabelsTable = createRpeLabelsTable;
|
|
13408
13371
|
exports.dailySessionLoads = dailySessionLoads;
|
|
13409
13372
|
exports.dayBucket = dayBucket;
|
|
13410
13373
|
exports.dialectRegistry = dialectRegistry;
|
|
13411
13374
|
exports.dialectStack = dialectStack;
|
|
13375
|
+
exports.dimEquals = dimEquals;
|
|
13412
13376
|
exports.disciplineFactorFor = disciplineFactorFor;
|
|
13413
13377
|
exports.evaluate = evaluate;
|
|
13414
13378
|
exports.evaluateCalculateDefinitions = evaluateCalculateDefinitions;
|
|
@@ -13419,6 +13383,7 @@ exports.extractStatementsRaw = extractStatementsRaw;
|
|
|
13419
13383
|
exports.extractSyntaxFacts = extractSyntaxFacts;
|
|
13420
13384
|
exports.filterTagsByVisibility = filterTagsByVisibility;
|
|
13421
13385
|
exports.findBestFuzzyMatch = findBestFuzzyMatch;
|
|
13386
|
+
exports.findUnresolvedChoices = findUnresolvedChoices;
|
|
13422
13387
|
exports.fixtureBackSquat = fixtureBackSquat;
|
|
13423
13388
|
exports.fixtureBurpee = fixtureBurpee;
|
|
13424
13389
|
exports.fixturePlank = fixturePlank;
|
|
@@ -13426,6 +13391,7 @@ exports.fixtureRowing = fixtureRowing;
|
|
|
13426
13391
|
exports.fixtureRunning = fixtureRunning;
|
|
13427
13392
|
exports.fixtureUserCustom = fixtureUserCustom;
|
|
13428
13393
|
exports.fixtureUserOverride = fixtureUserOverride;
|
|
13394
|
+
exports.formatDim = formatDim;
|
|
13429
13395
|
exports.formatDuration = formatDuration;
|
|
13430
13396
|
exports.fragmentsToLabel = metricsToLabel;
|
|
13431
13397
|
exports.frozenNow = frozenNow;
|
|
@@ -13437,10 +13403,14 @@ exports.getAnalyticsFromRuntime = getAnalyticsFromRuntime;
|
|
|
13437
13403
|
exports.getHints = getHints;
|
|
13438
13404
|
exports.getMetricVisibility = getMetricVisibility;
|
|
13439
13405
|
exports.getRuntimeNowMs = getRuntimeNowMs;
|
|
13406
|
+
exports.getUnit = getUnit;
|
|
13440
13407
|
exports.hasHint = hasHint;
|
|
13441
13408
|
exports.hintMetric = hintMetric;
|
|
13442
13409
|
exports.hintsToContainer = hintsToContainer;
|
|
13410
|
+
exports.inferDim = inferDim;
|
|
13443
13411
|
exports.isCastSubscription = isCastSubscription;
|
|
13412
|
+
exports.isChoiceResolved = isChoiceResolved;
|
|
13413
|
+
exports.isDimensionless = isDimensionless;
|
|
13444
13414
|
exports.isEffortDiscipline = isEffortDiscipline;
|
|
13445
13415
|
exports.isFragmentTag = isFragmentTag;
|
|
13446
13416
|
exports.isTimeLikeMetric = isTimeLikeMetric;
|
|
@@ -13449,22 +13419,31 @@ exports.levenshteinDistance = levenshteinDistance;
|
|
|
13449
13419
|
exports.metricPresentation = metricPresentation;
|
|
13450
13420
|
exports.mutateTimerSpans = mutateTimerSpans;
|
|
13451
13421
|
exports.normalizeForFuzzy = normalizeForFuzzy;
|
|
13422
|
+
exports.num = num;
|
|
13452
13423
|
exports.openSpan = openSpan;
|
|
13424
|
+
exports.outputNodeId = outputNodeId;
|
|
13425
|
+
exports.outputNodeIds = outputNodeIds;
|
|
13453
13426
|
exports.parseCalcLine = parseCalcLine;
|
|
13454
13427
|
exports.parseCalculateBlock = parseCalculateBlock;
|
|
13455
13428
|
exports.parseExpression = parseExpression;
|
|
13456
13429
|
exports.parseScript = parseScript;
|
|
13430
|
+
exports.printCalculation = printCalculation;
|
|
13457
13431
|
exports.readTimer = readTimer;
|
|
13458
13432
|
exports.realtimeProcessorRegistry = realtimeProcessorRegistry;
|
|
13459
13433
|
exports.resolveDominantOrigin = resolveDominantOrigin;
|
|
13460
13434
|
exports.sharedParser = sharedParser;
|
|
13461
13435
|
exports.startSpan = startSpan;
|
|
13436
|
+
exports.str = str;
|
|
13462
13437
|
exports.strategyRegistry = strategyRegistry;
|
|
13438
|
+
exports.subDim = subDim;
|
|
13463
13439
|
exports.summaryProcessorRegistry = summaryProcessorRegistry;
|
|
13464
13440
|
exports.toStoredOutputStatement = toStoredOutputStatement;
|
|
13441
|
+
exports.truthy = truthy;
|
|
13442
|
+
exports.validateOutputUnit = validateOutputUnit;
|
|
13465
13443
|
exports.wallClockNow = wallClockNow;
|
|
13466
13444
|
exports.whiteboardParser = parser;
|
|
13467
13445
|
exports.whiteboardScript = whiteboardScript;
|
|
13468
13446
|
exports.whiteboardScriptLanguage = whiteboardScriptLanguage;
|
|
13447
|
+
exports.writeChoiceSelection = writeChoiceSelection;
|
|
13469
13448
|
//# sourceMappingURL=index.cjs.map
|
|
13470
13449
|
//# sourceMappingURL=index.cjs.map
|