@bitcobblers/wod-wiki-ui 0.38.2141 → 0.39.2143
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
|
@@ -695,8 +695,9 @@ var wodAutoWrap = EditorView.domEventHandlers({
|
|
|
695
695
|
beforeinput: handleFenceAutoWrap
|
|
696
696
|
});
|
|
697
697
|
var wodEditorKeymap = keymap.of([
|
|
698
|
+
// Mod-Shift-W is browser "close window" — Mod-Alt-W is the free wrap chord.
|
|
698
699
|
{
|
|
699
|
-
key: "Mod-
|
|
700
|
+
key: "Mod-Alt-w",
|
|
700
701
|
run: wrapInTimeFence
|
|
701
702
|
}
|
|
702
703
|
]);
|
|
@@ -4597,7 +4598,7 @@ var TARGET_OPTIONS = WQL_FIND_TARGETS.map((t) => ({
|
|
|
4597
4598
|
value: t,
|
|
4598
4599
|
label: t.charAt(0).toUpperCase() + t.slice(1),
|
|
4599
4600
|
description: {
|
|
4600
|
-
note: "Find notes across journal,
|
|
4601
|
+
note: "Find notes across journal, notebooks and playground",
|
|
4601
4602
|
block: "Find fenced workout/dashboard regions",
|
|
4602
4603
|
effort: "Find registered movements and benchmarks",
|
|
4603
4604
|
session: "Find completed workout sessions",
|
|
@@ -4610,7 +4611,7 @@ var SOURCE_OPTIONS = WQL_SOURCE_VALUES.map((s) => ({
|
|
|
4610
4611
|
label: s.charAt(0).toUpperCase() + s.slice(1),
|
|
4611
4612
|
description: {
|
|
4612
4613
|
journal: "Daily journal notes",
|
|
4613
|
-
feeds: "
|
|
4614
|
+
feeds: "Notebook notes",
|
|
4614
4615
|
guides: "Static guide pages",
|
|
4615
4616
|
playground: "Playground scratch pages",
|
|
4616
4617
|
dashboards: "Dashboard notes",
|
|
@@ -4648,9 +4649,10 @@ var CLEAR_ONLY_TYPES = { source: true, time: true };
|
|
|
4648
4649
|
var CLAUSE_META = {
|
|
4649
4650
|
kind: { label: "Kind", inputType: "radio", placeholder: "find, measure\u2026", placeholderText: "Find | Measure", icon: "\u{1F9ED}", description: "Find things or measure numbers" },
|
|
4650
4651
|
target: { label: "Find", inputType: "select", placeholder: "note, block, effort\u2026", placeholderText: ": [target]", icon: "\u{1F3AF}", description: "What to find \u2014 singular", prefix: ":" },
|
|
4651
|
-
source: { label: "Where stored", inputType: "select", placeholder: "journal,
|
|
4652
|
+
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:" },
|
|
4652
4653
|
text: { label: "Contains", inputType: "freetext", placeholder: "Text query...", placeholderText: "text: [query]", icon: "\u{1F50D}", description: "Raw text substring search", prefix: "text:" },
|
|
4653
|
-
catalog: { label: "
|
|
4654
|
+
catalog: { label: "Notebook", inputType: "select", placeholder: "Pick notebook...", placeholderText: "catalog: [id]", icon: "\u{1F4D3}", description: "Filter by notebook", prefix: "catalog:" },
|
|
4655
|
+
notebook: { label: "Notebook", inputType: "select", placeholder: "Pick notebook...", placeholderText: "notebook: [id]", icon: "\u{1F4D3}", description: "Filter by notebook", prefix: "notebook:" },
|
|
4654
4656
|
tag: { label: "Tag", inputType: "select", placeholder: "Pick tag...", placeholderText: "tags: [tag]", icon: "\u{1F3F7}", description: "Filter by note/workout tags", prefix: "tags:" },
|
|
4655
4657
|
effort: { label: "Effort", inputType: "select", placeholder: "Pick effort...", placeholderText: "effort: [movement]", icon: "\u{1F4AA}", description: "Filter by movement/workout", prefix: "effort:" },
|
|
4656
4658
|
domain: { label: "Domain", inputType: "select", placeholder: "crossfit, parkour, swimming\u2026", placeholderText: "domain: [discipline]", icon: "\u{1F310}", description: "Filter by sport/training domain", prefix: "domain:" },
|
|
@@ -4940,6 +4942,7 @@ function InlineClauseEditor({
|
|
|
4940
4942
|
var MULTI_VALUE_TYPES = {
|
|
4941
4943
|
tag: true,
|
|
4942
4944
|
catalog: true,
|
|
4945
|
+
notebook: true,
|
|
4943
4946
|
effort: true,
|
|
4944
4947
|
domain: true,
|
|
4945
4948
|
format: true,
|
|
@@ -5029,7 +5032,13 @@ var builtinBindings = {
|
|
|
5029
5032
|
load: async () => [],
|
|
5030
5033
|
cache: "static",
|
|
5031
5034
|
open: false,
|
|
5032
|
-
emptyText: "No
|
|
5035
|
+
emptyText: "No notebooks in the static corpus"
|
|
5036
|
+
},
|
|
5037
|
+
notebook: {
|
|
5038
|
+
load: async () => [],
|
|
5039
|
+
cache: "static",
|
|
5040
|
+
open: false,
|
|
5041
|
+
emptyText: "No notebooks in the static corpus"
|
|
5033
5042
|
},
|
|
5034
5043
|
intensity: {
|
|
5035
5044
|
load: async () => canonicalSuggestionItems(WQL_INTENSITY_TIERS),
|
|
@@ -12658,5 +12667,5 @@ function editorPreset(optionsOrDialect = "markdown") {
|
|
|
12658
12667
|
}
|
|
12659
12668
|
|
|
12660
12669
|
export { AGG_OPTIONS, CANONICAL_BLOCK_TYPES, CLAUSE_META, ComposerRegistry, DEFAULT_DIAGNOSTICS_DEBOUNCE_MS, DEFAULT_OUTPUT_FILTERS, DEFAULT_PRIMARY_FILTER, DefaultFrontmatterWidget, EditorDialog, GROUPBY_OPTIONS, GoalRings, KIND_OPTIONS, METRIC_OPTIONS, MULTI_VALUE_TYPES, MetricBadge, OUTPUT_TYPE_CLASS, OUTPUT_TYPE_DOT, OutputFilterPills, OutputStatementsTable, PLANE_OPTIONS, ProposedMetricBadge, QueryBlockView, QueryValue, ROLLUP_OPTIONS, RowsResultsChrome, RowsTable, SERIES_COLORS, SOURCE_OPTIONS, SUGGESTION_BINDINGS, StackedBar, TARGET_OPTIONS, TIME_OPTIONS, TONE_CLASS, TokenSlotPill, TopList, UNIT_OPTIONS, WHERE_AGGREGATORS, WHERE_METRICS, WidgetChart, WidgetProblemBadge, WqlBars, WqlComposer, WqlDiagnosticsStrip, WqlEmptyState, WqlQueryInspectorModal, WqlTable, WqlTimeseries, ZoneDistribution, activeCursorSection, addRuntimePanel, blockTypesFromBlocks, canonicalSuggestionItems, catalogIdsFromBlocks, cn, compactNumber, composerRegistry, configureOverlayActions, cursorFocusExtension, dateRangeSlot, dispatchAddRuntimePanel, dispatchExpandRuntimePanel, dispatchGutterHighlights, dispatchRemoveRuntimePanel, editQueryClause, editingWidgetsField, editorPreset, editorTheme, embedPreviewDecorations, expandRuntimePanel, extractBlockQueries, extractMetricsByCategory, fenceCompletion, findQueryBlockSection, findWorkoutErrors, forceSectionParse, formatClockTime, formatMMSS, formatTimestamp, frontmatterPreview, frontmatterPreviewField, frontmatterReferenceIndex, frontmatterSuggestions, frontmatterVisibility, getClauseMeta, getCursorFocusState, getOverlayActions, getSuggestionBinding, gutterHighlightsField, gutterUnified, handleFenceAutoWrap, hashCode, inlineButtonDecoration, invalidateSuggestions, lineIdsExtension, linkOpen, linkPreview, loadSuggestions, markdownSyntaxHiding, markdownTablePreview, matchFilterTypeahead, mergeSeries, mergeSuggestionItems, mergeTagSuggestions, navigationFacet, normalizeOutputFilter, patchBlockQuery, presentBadges, previewDecorations, queryBlockPreview, readSessionRpe, referenceIndexReload, registerCustomCompletionSource, registeredSectionWidgets, removeRuntimePanel, resolveQueryDraft, runtimePanelField, saveBlockQuerySource, sectionAtPos, sectionField, sectionGeometry, sectionIdentity, sectionIdentityHistory, sectionMove, sectionRestore, sectionSaved, sessionQueryInsert, sessionQueryWql, setGutterHighlights, setSuggestionBinding, smartIncrement, summarizeAggregate, summarizeFind, summarizePipeline, tagsFromStaticBlocks, toChartResult, toggleWidgetEdit, tooltipTimestamp, unregisterCustomCompletionSource, urlAtPos, useChartShape, useComposerSlots, useSuggestions, useVisualViewportRect, useWqlStageCounts, widgetBlockPreview, wodAutoWrap, wodAutocompletion, wodEditorKeymap, wodLinter, wodOverlayPanel, workoutLintSource, wqlToPills, wrapInTimeFence };
|
|
12661
|
-
//# sourceMappingURL=chunk-
|
|
12662
|
-
//# sourceMappingURL=chunk-
|
|
12670
|
+
//# sourceMappingURL=chunk-UKDB5MUI.mjs.map
|
|
12671
|
+
//# sourceMappingURL=chunk-UKDB5MUI.mjs.map
|