@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.
- package/dist/{chunk-3ANAQJ6S.mjs → chunk-5JJK5ONN.mjs} +7 -6
- package/dist/chunk-5JJK5ONN.mjs.map +1 -0
- package/dist/extensions/index.cjs +4 -3
- package/dist/extensions/index.cjs.map +1 -1
- package/dist/extensions/index.mjs +1 -1
- package/dist/index.cjs +10 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.mjs +8 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
- package/dist/chunk-3ANAQJ6S.mjs.map +0 -1
|
@@ -1481,7 +1481,7 @@ function dispatchExpandRuntimePanel(view, sectionId, expanded) {
|
|
|
1481
1481
|
|
|
1482
1482
|
// src/extensions/sessionQueryBlock.ts
|
|
1483
1483
|
function sessionQueryWql(resultId) {
|
|
1484
|
-
return `rows:{result:${resultId}}`;
|
|
1484
|
+
return `rows:all{result:${resultId}}`;
|
|
1485
1485
|
}
|
|
1486
1486
|
function sessionQueryInsert(state, blockId, resultId, runBlock) {
|
|
1487
1487
|
const sections = state.field(sectionField).sections;
|
|
@@ -1830,7 +1830,7 @@ function RowsResultsChrome({
|
|
|
1830
1830
|
return;
|
|
1831
1831
|
}
|
|
1832
1832
|
let cancelled = false;
|
|
1833
|
-
const wideQuery = wodWikiWql.parseQuery(`rows:{block:${blockContentId2}}`);
|
|
1833
|
+
const wideQuery = wodWikiWql.parseQuery(`rows:all{block:${blockContentId2}}`);
|
|
1834
1834
|
if (!wodWikiWql.isRowsQuery(wideQuery)) return;
|
|
1835
1835
|
void executor.runRows(wideQuery).then((res) => {
|
|
1836
1836
|
if (!cancelled) setWideResult(res);
|
|
@@ -2950,7 +2950,7 @@ function clausesToWql(clauses) {
|
|
|
2950
2950
|
const filterBraces = filterParts.length > 0 ? `{${filterParts.join(", ")}}` : "";
|
|
2951
2951
|
const source = clauseValue(clauses, "source", "notes");
|
|
2952
2952
|
if (source === "rows") {
|
|
2953
|
-
const output = clauseValue(clauses, "output", "");
|
|
2953
|
+
const output = clauseValue(clauses, "output", "") || "all";
|
|
2954
2954
|
const timeClause2 = clauses.find((c) => c.type === "time");
|
|
2955
2955
|
let timeStr2 = "";
|
|
2956
2956
|
if (timeClause2 && timeClause2.value && timeClause2.value !== "all") {
|
|
@@ -3076,6 +3076,7 @@ function wqlToClauses(wql2) {
|
|
|
3076
3076
|
const headMatch2 = RESTORE_FIND_HEAD_RE.exec(primaryText);
|
|
3077
3077
|
if (!headMatch2) return null;
|
|
3078
3078
|
const targetValue = headMatch2[1];
|
|
3079
|
+
if (!wodWikiWql.WQL_FIND_TARGETS.includes(targetValue)) return null;
|
|
3079
3080
|
const rest2 = primaryText.slice(headMatch2[0].length).trim();
|
|
3080
3081
|
const filterClauses2 = restoreFilters(rest2);
|
|
3081
3082
|
if (!filterClauses2) return null;
|