@bitcobblers/wod-wiki-ui 0.37.2140 → 0.39.2142
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-SNG34RG2.mjs → chunk-UKDB5MUI.mjs} +17 -8
- package/dist/chunk-UKDB5MUI.mjs.map +1 -0
- package/dist/extensions/index.cjs +15 -6
- package/dist/extensions/index.cjs.map +1 -1
- package/dist/extensions/index.mjs +1 -1
- package/dist/index.cjs +21 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.mjs +8 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
- package/dist/chunk-SNG34RG2.mjs.map +0 -1
|
@@ -714,8 +714,9 @@ var wodAutoWrap = view.EditorView.domEventHandlers({
|
|
|
714
714
|
beforeinput: handleFenceAutoWrap
|
|
715
715
|
});
|
|
716
716
|
var wodEditorKeymap = view.keymap.of([
|
|
717
|
+
// Mod-Shift-W is browser "close window" — Mod-Alt-W is the free wrap chord.
|
|
717
718
|
{
|
|
718
|
-
key: "Mod-
|
|
719
|
+
key: "Mod-Alt-w",
|
|
719
720
|
run: wrapInTimeFence
|
|
720
721
|
}
|
|
721
722
|
]);
|
|
@@ -4594,7 +4595,7 @@ var TARGET_OPTIONS = wodWikiWql.WQL_FIND_TARGETS.map((t) => ({
|
|
|
4594
4595
|
value: t,
|
|
4595
4596
|
label: t.charAt(0).toUpperCase() + t.slice(1),
|
|
4596
4597
|
description: {
|
|
4597
|
-
note: "Find notes across journal,
|
|
4598
|
+
note: "Find notes across journal, notebooks and playground",
|
|
4598
4599
|
block: "Find fenced workout/dashboard regions",
|
|
4599
4600
|
effort: "Find registered movements and benchmarks",
|
|
4600
4601
|
session: "Find completed workout sessions",
|
|
@@ -4607,7 +4608,7 @@ var SOURCE_OPTIONS = wodWikiWql.WQL_SOURCE_VALUES.map((s) => ({
|
|
|
4607
4608
|
label: s.charAt(0).toUpperCase() + s.slice(1),
|
|
4608
4609
|
description: {
|
|
4609
4610
|
journal: "Daily journal notes",
|
|
4610
|
-
feeds: "
|
|
4611
|
+
feeds: "Notebook notes",
|
|
4611
4612
|
guides: "Static guide pages",
|
|
4612
4613
|
playground: "Playground scratch pages",
|
|
4613
4614
|
dashboards: "Dashboard notes",
|
|
@@ -4644,9 +4645,10 @@ var CLEAR_ONLY_TYPES = { source: true, time: true };
|
|
|
4644
4645
|
var CLAUSE_META = {
|
|
4645
4646
|
kind: { label: "Kind", inputType: "radio", placeholder: "find, measure\u2026", placeholderText: "Find | Measure", icon: "\u{1F9ED}", description: "Find things or measure numbers" },
|
|
4646
4647
|
target: { label: "Find", inputType: "select", placeholder: "note, block, effort\u2026", placeholderText: ": [target]", icon: "\u{1F3AF}", description: "What to find \u2014 singular", prefix: ":" },
|
|
4647
|
-
source: { label: "Where stored", inputType: "select", placeholder: "journal,
|
|
4648
|
+
source: { label: "Where stored", inputType: "select", placeholder: "journal, notebooks\u2026", placeholderText: "source: [scope]", icon: "\u{1F310}", description: "Storage scope \u2014 all sources means no scope", prefix: "source:" },
|
|
4648
4649
|
text: { label: "Contains", inputType: "freetext", placeholder: "Text query...", placeholderText: "text: [query]", icon: "\u{1F50D}", description: "Raw text substring search", prefix: "text:" },
|
|
4649
|
-
catalog: { label: "
|
|
4650
|
+
catalog: { label: "Notebook", inputType: "select", placeholder: "Pick notebook...", placeholderText: "catalog: [id]", icon: "\u{1F4D3}", description: "Filter by notebook", prefix: "catalog:" },
|
|
4651
|
+
notebook: { label: "Notebook", inputType: "select", placeholder: "Pick notebook...", placeholderText: "notebook: [id]", icon: "\u{1F4D3}", description: "Filter by notebook", prefix: "notebook:" },
|
|
4650
4652
|
tag: { label: "Tag", inputType: "select", placeholder: "Pick tag...", placeholderText: "tags: [tag]", icon: "\u{1F3F7}", description: "Filter by note/workout tags", prefix: "tags:" },
|
|
4651
4653
|
effort: { label: "Effort", inputType: "select", placeholder: "Pick effort...", placeholderText: "effort: [movement]", icon: "\u{1F4AA}", description: "Filter by movement/workout", prefix: "effort:" },
|
|
4652
4654
|
domain: { label: "Domain", inputType: "select", placeholder: "crossfit, parkour, swimming\u2026", placeholderText: "domain: [discipline]", icon: "\u{1F310}", description: "Filter by sport/training domain", prefix: "domain:" },
|
|
@@ -4936,6 +4938,7 @@ function InlineClauseEditor({
|
|
|
4936
4938
|
var MULTI_VALUE_TYPES = {
|
|
4937
4939
|
tag: true,
|
|
4938
4940
|
catalog: true,
|
|
4941
|
+
notebook: true,
|
|
4939
4942
|
effort: true,
|
|
4940
4943
|
domain: true,
|
|
4941
4944
|
format: true,
|
|
@@ -4990,7 +4993,13 @@ var builtinBindings = {
|
|
|
4990
4993
|
load: async () => [],
|
|
4991
4994
|
cache: "static",
|
|
4992
4995
|
open: false,
|
|
4993
|
-
emptyText: "No
|
|
4996
|
+
emptyText: "No notebooks in the static corpus"
|
|
4997
|
+
},
|
|
4998
|
+
notebook: {
|
|
4999
|
+
load: async () => [],
|
|
5000
|
+
cache: "static",
|
|
5001
|
+
open: false,
|
|
5002
|
+
emptyText: "No notebooks in the static corpus"
|
|
4994
5003
|
},
|
|
4995
5004
|
intensity: {
|
|
4996
5005
|
load: async () => canonicalSuggestionItems(wodWikiWql.WQL_INTENSITY_TIERS),
|