@bitcobblers/wod-wiki-ui 0.7.38 → 0.8.39

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.
@@ -1,3 +1,3 @@
1
- export { DefaultFrontmatterWidget, activeCursorSection, addRuntimePanel, blockContentId, configureOverlayActions, cursorFocusExtension, dispatchAddRuntimePanel, dispatchExpandRuntimePanel, dispatchGutterHighlights, dispatchRemoveRuntimePanel, editingWidgetsField, editorPreset, editorTheme, embedPreviewDecorations, expandRuntimePanel, fenceCompletion, findQueryBlockSection, findWorkoutErrors, forceSectionParse, frontmatterPreview, frontmatterPreviewField, getCursorFocusState, getOverlayActions, gutterHighlightsField, gutterUnified, handleFenceAutoWrap, inlineButtonDecoration, lineIdsExtension, linkOpen, markdownSyntaxHiding, markdownTablePreview, navigationFacet, previewDecorations, queryBlockPreview, removeRuntimePanel, runtimePanelField, saveBlockQuerySource, sectionAtPos, sectionField, sectionGeometry, sessionQueryInsert, sessionQueryWql, setGutterHighlights, smartIncrement, toggleWidgetEdit, urlAtPos, widgetBlockPreview, wodAutoWrap, wodAutocompletion, wodEditorKeymap, wodLinter, wodOverlayPanel, workoutLintSource, wrapInTimeFence } from '../chunk-3ANAQJ6S.mjs';
1
+ export { DefaultFrontmatterWidget, activeCursorSection, addRuntimePanel, blockContentId, configureOverlayActions, cursorFocusExtension, dispatchAddRuntimePanel, dispatchExpandRuntimePanel, dispatchGutterHighlights, dispatchRemoveRuntimePanel, editingWidgetsField, editorPreset, editorTheme, embedPreviewDecorations, expandRuntimePanel, fenceCompletion, findQueryBlockSection, findWorkoutErrors, forceSectionParse, frontmatterPreview, frontmatterPreviewField, getCursorFocusState, getOverlayActions, gutterHighlightsField, gutterUnified, handleFenceAutoWrap, inlineButtonDecoration, lineIdsExtension, linkOpen, markdownSyntaxHiding, markdownTablePreview, navigationFacet, previewDecorations, queryBlockPreview, removeRuntimePanel, runtimePanelField, saveBlockQuerySource, sectionAtPos, sectionField, sectionGeometry, sessionQueryInsert, sessionQueryWql, setGutterHighlights, smartIncrement, toggleWidgetEdit, urlAtPos, widgetBlockPreview, wodAutoWrap, wodAutocompletion, wodEditorKeymap, wodLinter, wodOverlayPanel, workoutLintSource, wrapInTimeFence } from '../chunk-5JJK5ONN.mjs';
2
2
  //# sourceMappingURL=index.mjs.map
3
3
  //# sourceMappingURL=index.mjs.map
package/dist/index.cjs CHANGED
@@ -1322,7 +1322,7 @@ function RowsResultsChrome({
1322
1322
  return;
1323
1323
  }
1324
1324
  let cancelled = false;
1325
- const wideQuery = wodWikiWql.parseQuery(`rows:{block:${blockContentId2}}`);
1325
+ const wideQuery = wodWikiWql.parseQuery(`rows:all{block:${blockContentId2}}`);
1326
1326
  if (!wodWikiWql.isRowsQuery(wideQuery)) return;
1327
1327
  void executor.runRows(wideQuery).then((res) => {
1328
1328
  if (!cancelled) setWideResult(res);
@@ -1795,7 +1795,7 @@ function clausesToWql(clauses) {
1795
1795
  const filterBraces = filterParts.length > 0 ? `{${filterParts.join(", ")}}` : "";
1796
1796
  const source = clauseValue(clauses, "source", "notes");
1797
1797
  if (source === "rows") {
1798
- const output = clauseValue(clauses, "output", "");
1798
+ const output = clauseValue(clauses, "output", "") || "all";
1799
1799
  const timeClause2 = clauses.find((c) => c.type === "time");
1800
1800
  let timeStr2 = "";
1801
1801
  if (timeClause2 && timeClause2.value && timeClause2.value !== "all") {
@@ -1921,6 +1921,7 @@ function wqlToClauses(wql2) {
1921
1921
  const headMatch2 = RESTORE_FIND_HEAD_RE.exec(primaryText);
1922
1922
  if (!headMatch2) return null;
1923
1923
  const targetValue = headMatch2[1];
1924
+ if (!wodWikiWql.WQL_FIND_TARGETS.includes(targetValue)) return null;
1924
1925
  const rest2 = primaryText.slice(headMatch2[0].length).trim();
1925
1926
  const filterClauses2 = restoreFilters(rest2);
1926
1927
  if (!filterClauses2) return null;
@@ -4639,7 +4640,7 @@ function dispatchExpandRuntimePanel(view, sectionId, expanded) {
4639
4640
 
4640
4641
  // src/extensions/sessionQueryBlock.ts
4641
4642
  function sessionQueryWql(resultId) {
4642
- return `rows:{result:${resultId}}`;
4643
+ return `rows:all{result:${resultId}}`;
4643
4644
  }
4644
4645
  function sessionQueryInsert(state, blockId, resultId, runBlock) {
4645
4646
  const sections = state.field(sectionField).sections;
@@ -10785,13 +10786,13 @@ function editorPreset(optionsOrDialect = "markdown") {
10785
10786
  }
10786
10787
 
10787
10788
  // src/version.ts
10788
- var VERSION = "0.7.38";
10789
- var GIT_SHA = "172cc75";
10790
- var BUILD_TIME = "2026-08-25T23:00:14.937Z";
10789
+ var VERSION = "0.8.39";
10790
+ var GIT_SHA = "3c19185";
10791
+ var BUILD_TIME = "2026-08-26T00:07:31.934Z";
10791
10792
  var SEMVER = {
10792
- version: "0.7.38",
10793
- gitSha: "172cc75",
10794
- buildTime: "2026-08-25T23:00:14.937Z"
10793
+ version: "0.8.39",
10794
+ gitSha: "3c19185",
10795
+ buildTime: "2026-08-26T00:07:31.934Z"
10795
10796
  };
10796
10797
 
10797
10798
  exports.AGG_OPTIONS = AGG_OPTIONS;