@bitcobblers/wod-wiki-ui 0.50.2191 → 0.51.2192
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-GM2PO7LK.mjs → chunk-EUVKOZZI.mjs} +44 -29
- package/dist/chunk-EUVKOZZI.mjs.map +1 -0
- package/dist/extensions/index.cjs +42 -27
- package/dist/extensions/index.cjs.map +1 -1
- package/dist/extensions/index.mjs +1 -1
- package/dist/index.cjs +48 -33
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.mjs +8 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
- package/dist/chunk-GM2PO7LK.mjs.map +0 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { DefaultFrontmatterWidget, activeCursorSection, addRuntimePanel, autocompleteTooltipTheme, blockContentId, configureOverlayActions, cursorFocusExtension, customCompletionSources, dispatchAddRuntimePanel, dispatchExpandRuntimePanel, dispatchGutterHighlights, dispatchRemoveRuntimePanel, editingWidgetsField, editorPreset, editorTheme, embedPreviewDecorations, expandRuntimePanel, fenceCompletion, findQueryBlockSection, findWorkoutErrors, forceSectionParse, frontmatterDetailed, frontmatterPreview, frontmatterPreviewField, frontmatterReferenceIndex, frontmatterSource, frontmatterSuggestions, frontmatterVisibility, getCursorFocusState, getOverlayActions, gutterHighlightsField, gutterUnified, handleFenceAutoWrap, inlineButtonDecoration, lineIdsExtension, linkOpen, linkPreview, markdownSyntaxHiding, markdownTablePreview, navigationFacet, nestedCompletion, nestedCompletionOptions, previewDecorations, queryBlockPreview, referenceIndexReload, registeredSectionWidgets, removeRuntimePanel, resolveCodeLanguage, runtimePanelField, saveBlockQuerySource, sectionAtPos, sectionField, sectionGeometry, sectionIdentity, sectionIdentityHistory, sectionMove, sectionRestore, sectionSaved, sessionQueryInsert, sessionQueryWql, setFrontmatterDetailed, setFrontmatterSource, setGutterHighlights, smartIncrement, toggleWidgetEdit, urlAtPos, widgetBlockPreview, wodAutoWrap, wodAutocompletion, wodCompletionSource, wodEditorKeymap, wodLinter, wodOverlayPanel, workoutLintSource, wrapInTimeFence } from '../chunk-
|
|
1
|
+
export { DefaultFrontmatterWidget, activeCursorSection, addRuntimePanel, autocompleteTooltipTheme, blockContentId, configureOverlayActions, cursorFocusExtension, customCompletionSources, dispatchAddRuntimePanel, dispatchExpandRuntimePanel, dispatchGutterHighlights, dispatchRemoveRuntimePanel, editingWidgetsField, editorPreset, editorTheme, embedPreviewDecorations, expandRuntimePanel, fenceCompletion, findQueryBlockSection, findWorkoutErrors, forceSectionParse, frontmatterDetailed, frontmatterPreview, frontmatterPreviewField, frontmatterReferenceIndex, frontmatterSource, frontmatterSuggestions, frontmatterVisibility, getCursorFocusState, getOverlayActions, gutterHighlightsField, gutterUnified, handleFenceAutoWrap, inlineButtonDecoration, lineIdsExtension, linkOpen, linkPreview, markdownSyntaxHiding, markdownTablePreview, navigationFacet, nestedCompletion, nestedCompletionOptions, previewDecorations, queryBlockPreview, referenceIndexReload, registeredSectionWidgets, removeRuntimePanel, resolveCodeLanguage, runtimePanelField, saveBlockQuerySource, sectionAtPos, sectionField, sectionGeometry, sectionIdentity, sectionIdentityHistory, sectionMove, sectionRestore, sectionSaved, sessionQueryInsert, sessionQueryWql, setFrontmatterDetailed, setFrontmatterSource, setGutterHighlights, smartIncrement, toggleWidgetEdit, urlAtPos, widgetBlockPreview, wodAutoWrap, wodAutocompletion, wodCompletionSource, wodEditorKeymap, wodLinter, wodOverlayPanel, workoutLintSource, wrapInTimeFence } from '../chunk-EUVKOZZI.mjs';
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
3
3
|
//# sourceMappingURL=index.mjs.map
|
package/dist/index.cjs
CHANGED
|
@@ -1783,35 +1783,50 @@ var OUTPUT_TYPE_DOT = {
|
|
|
1783
1783
|
compiler: "bg-muted-foreground/40",
|
|
1784
1784
|
analytics: "bg-type-analytics shadow-type-analytics/50"
|
|
1785
1785
|
};
|
|
1786
|
+
var EFFORT_TYPES = /* @__PURE__ */ new Set(["effort", "text", "action", "label"]);
|
|
1787
|
+
var LOAD_TYPES = /* @__PURE__ */ new Set([
|
|
1788
|
+
"resistance",
|
|
1789
|
+
"intensity",
|
|
1790
|
+
"load",
|
|
1791
|
+
"volume",
|
|
1792
|
+
"work",
|
|
1793
|
+
"power",
|
|
1794
|
+
"calculated",
|
|
1795
|
+
"totalwork",
|
|
1796
|
+
"totalvolume",
|
|
1797
|
+
"tis",
|
|
1798
|
+
"sessionload",
|
|
1799
|
+
"session-load",
|
|
1800
|
+
"calc.metminutes",
|
|
1801
|
+
"metminutes",
|
|
1802
|
+
"totalmetminutes"
|
|
1803
|
+
]);
|
|
1804
|
+
var ROUND_TYPES = /* @__PURE__ */ new Set(["rounds", "current-round", "increment"]);
|
|
1805
|
+
var DURATION_TYPES = /* @__PURE__ */ new Set(["duration", "time", "elapsed"]);
|
|
1806
|
+
var HINT_TYPES = /* @__PURE__ */ new Set(["hint", "custom", "system", "sound", "lap", "group", "diagnostic"]);
|
|
1786
1807
|
function extractMetricsByCategory(metrics) {
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
}),
|
|
1796
|
-
reps: list.filter((m) => String(m.type).toLowerCase() === "rep"),
|
|
1797
|
-
loads: list.filter((m) => {
|
|
1798
|
-
const t = String(m.type).toLowerCase();
|
|
1799
|
-
return t === "resistance" || t === "intensity" || t === "load" || t === "volume";
|
|
1800
|
-
}),
|
|
1801
|
-
rounds: list.filter((m) => {
|
|
1802
|
-
const t = String(m.type).toLowerCase();
|
|
1803
|
-
return t === "rounds" || t === "current-round" || t === "increment";
|
|
1804
|
-
}),
|
|
1805
|
-
durations: list.filter((m) => {
|
|
1806
|
-
const t = String(m.type).toLowerCase();
|
|
1807
|
-
return t === "duration" || t === "time" || t === "elapsed";
|
|
1808
|
-
}),
|
|
1809
|
-
distances: list.filter((m) => String(m.type).toLowerCase() === "distance"),
|
|
1810
|
-
hints: list.filter((m) => {
|
|
1811
|
-
const t = String(m.type).toLowerCase();
|
|
1812
|
-
return t === "hint" || t === "custom" || t === "system" || t === "sound" || t === "lap" || t === "group";
|
|
1813
|
-
})
|
|
1808
|
+
const result = {
|
|
1809
|
+
efforts: [],
|
|
1810
|
+
reps: [],
|
|
1811
|
+
loads: [],
|
|
1812
|
+
rounds: [],
|
|
1813
|
+
durations: [],
|
|
1814
|
+
distances: [],
|
|
1815
|
+
hints: []
|
|
1814
1816
|
};
|
|
1817
|
+
if (!metrics) return result;
|
|
1818
|
+
for (const m of metrics) {
|
|
1819
|
+
const t = String(m.type).toLowerCase();
|
|
1820
|
+
if (EFFORT_TYPES.has(t)) result.efforts.push(m);
|
|
1821
|
+
else if (t === "rep") result.reps.push(m);
|
|
1822
|
+
else if (LOAD_TYPES.has(t)) result.loads.push(m);
|
|
1823
|
+
else if (ROUND_TYPES.has(t)) result.rounds.push(m);
|
|
1824
|
+
else if (DURATION_TYPES.has(t)) result.durations.push(m);
|
|
1825
|
+
else if (t === "distance") result.distances.push(m);
|
|
1826
|
+
else if (HINT_TYPES.has(t) || typeof m.value !== "number") result.hints.push(m);
|
|
1827
|
+
else result.loads.push(m);
|
|
1828
|
+
}
|
|
1829
|
+
return result;
|
|
1815
1830
|
}
|
|
1816
1831
|
var DEFAULT_PRIMARY_FILTER = "type:segment";
|
|
1817
1832
|
var DEFAULT_OUTPUT_FILTERS = [
|
|
@@ -14411,13 +14426,13 @@ function editorPreset(optionsOrDialect = "markdown") {
|
|
|
14411
14426
|
}
|
|
14412
14427
|
|
|
14413
14428
|
// src/version.ts
|
|
14414
|
-
var VERSION = "0.
|
|
14415
|
-
var GIT_SHA = "
|
|
14416
|
-
var BUILD_TIME = "2026-11-
|
|
14429
|
+
var VERSION = "0.51.2192";
|
|
14430
|
+
var GIT_SHA = "a6c4434";
|
|
14431
|
+
var BUILD_TIME = "2026-11-03T22:35:05.950Z";
|
|
14417
14432
|
var SEMVER = {
|
|
14418
|
-
version: "0.
|
|
14419
|
-
gitSha: "
|
|
14420
|
-
buildTime: "2026-11-
|
|
14433
|
+
version: "0.51.2192",
|
|
14434
|
+
gitSha: "a6c4434",
|
|
14435
|
+
buildTime: "2026-11-03T22:35:05.950Z"
|
|
14421
14436
|
};
|
|
14422
14437
|
|
|
14423
14438
|
Object.defineProperty(exports, "CONTENT_GROUPING_DIMENSIONS", {
|