@bitcobblers/wod-wiki-ui 0.59.2243 → 0.59.2244
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-SV65J2NT.mjs → chunk-M3VS7H7Z.mjs} +38 -13
- package/dist/chunk-M3VS7H7Z.mjs.map +1 -0
- package/dist/extensions/index.cjs +36 -11
- package/dist/extensions/index.cjs.map +1 -1
- package/dist/extensions/index.d.cts +1 -1
- package/dist/extensions/index.d.ts +1 -1
- package/dist/extensions/index.mjs +1 -1
- package/dist/{index-eCc_R4QK.d.cts → index-C3DEUF-0.d.cts} +2 -2
- package/dist/{index-eCc_R4QK.d.ts → index-C3DEUF-0.d.ts} +2 -2
- package/dist/index.cjs +42 -17
- 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-SV65J2NT.mjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as AttachmentUrlResolver, B as ButtonAction, a as CursorFocusState, b as CustomCompletionSource, d as DefaultFrontmatterWidget, E as EditorDialect, e as EditorPresetOptions, f as EditorSection, g as EditorSectionSubtype, h as EditorSectionType, i as EmbedType, F as FrontmatterCatalogEntry, j as FrontmatterRefDiagnostic, k as FrontmatterReferenceProvider, l as FrontmatterReferenceRef, m as FrontmatterReferenceResolution, n as FrontmatterSuggestionCatalog, G as GeometryListener, o as INTERNAL_FRONTMATTER_KEYS, N as NavigationHook, p as NestedCompletionOptions, x as OverlayAction, y as QueryBlockPreviewOptions, z as RuntimePanelEntry, H as SectionIdentity, J as SectionRect, K as SectionState, W as WidgetConfig, L as WidgetProps, P as WidgetRegistry, U as activeCursorSection, V as addRuntimePanel, X as affiliateTagFacet, Y as applyAmazonAffiliateTag, Z as attachmentUrlFacet, _ as autocompleteTooltipTheme, $ as configureOverlayActions, a0 as cursorFocusExtension, a1 as customCompletionSources, a2 as dispatchAddRuntimePanel, a3 as dispatchExpandRuntimePanel, a4 as dispatchGutterHighlights, a5 as dispatchRemoveRuntimePanel, a6 as editingQuerySectionsField, a7 as editingWidgetsField, a8 as editorFocusField, a9 as editorFocusTracker, aa as editorPreset, ab as editorTheme, ac as embedPreviewDecorations, ad as expandRuntimePanel, af as fenceCompletion, ag as findQueryBlockSection, ah as findWorkoutErrors, ai as forceSectionParse, al as frontmatterDebugMode, am as frontmatterDetailed, an as frontmatterKeymap, ao as frontmatterPreview, ap as frontmatterPreviewField, aq as frontmatterReferenceIndex, ar as frontmatterSource, as as frontmatterSuggestions, at as frontmatterVisibility, au as getCursorFocusState, av as getOverlayActions, aw as gutterHighlightsField, ax as gutterUnified, ay as handleFenceAutoWrap, az as handleSmartUrlPaste, aA as inlineButtonDecoration, aB as insertMarkdownLinkCommand, aC as isAmazonRetailHost, aD as isEditorFocused, aE as isInternalFrontmatterKey, aF as isNavigableUrl, aG as lineIdsExtension, aH as linkOpen, aI as linkPreview, aJ as markdownSyntaxHiding, aK as markdownTablePreview, aL as navigationFacet, aM as nestedCompletion, aN as nestedCompletionOptions, aQ as previewDecorations, aR as queryBlockPreview, aS as referenceIndexReload, aT as registeredSectionWidgets, aU as removeRuntimePanel, aV as resolveCodeLanguage, aW as runtimePanelField, aX as saveBlockQuerySource, aY as sectionAtPos, aZ as sectionField, a_ as sectionGeometry, a$ as sectionIdentity, b0 as sectionIdentityHistory, b1 as sectionMove, b2 as sectionRestore, b3 as sectionSaved, b4 as sessionQueryFence, b5 as sessionQueryInsert, b6 as sessionQueryWql, b7 as setEditorFocused, b8 as setFrontmatterDetailed, b9 as setFrontmatterSource, ba as setGutterHighlights, bb as setQuerySourceEditing, bc as slashBlockCompletion, bd as smartIncrement, be as toggleInlineMarkdown, bf as toggleWidgetEdit, bg as urlAtPos, bh as widgetBlockPreview, bi as wodAutoWrap, bj as wodAutocompletion, bk as wodCompletionSource, bl as wodEditorKeymap, bm as wodLinter, bn as wodOverlayPanel, bo as workoutLintSource, bp as wrapInTimeFence } from '../index-
|
|
1
|
+
export { A as AttachmentUrlResolver, B as ButtonAction, a as CursorFocusState, b as CustomCompletionSource, d as DefaultFrontmatterWidget, E as EditorDialect, e as EditorPresetOptions, f as EditorSection, g as EditorSectionSubtype, h as EditorSectionType, i as EmbedType, F as FrontmatterCatalogEntry, j as FrontmatterRefDiagnostic, k as FrontmatterReferenceProvider, l as FrontmatterReferenceRef, m as FrontmatterReferenceResolution, n as FrontmatterSuggestionCatalog, G as GeometryListener, o as INTERNAL_FRONTMATTER_KEYS, N as NavigationHook, p as NestedCompletionOptions, x as OverlayAction, y as QueryBlockPreviewOptions, z as RuntimePanelEntry, H as SectionIdentity, J as SectionRect, K as SectionState, W as WidgetConfig, L as WidgetProps, P as WidgetRegistry, U as activeCursorSection, V as addRuntimePanel, X as affiliateTagFacet, Y as applyAmazonAffiliateTag, Z as attachmentUrlFacet, _ as autocompleteTooltipTheme, $ as configureOverlayActions, a0 as cursorFocusExtension, a1 as customCompletionSources, a2 as dispatchAddRuntimePanel, a3 as dispatchExpandRuntimePanel, a4 as dispatchGutterHighlights, a5 as dispatchRemoveRuntimePanel, a6 as editingQuerySectionsField, a7 as editingWidgetsField, a8 as editorFocusField, a9 as editorFocusTracker, aa as editorPreset, ab as editorTheme, ac as embedPreviewDecorations, ad as expandRuntimePanel, af as fenceCompletion, ag as findQueryBlockSection, ah as findWorkoutErrors, ai as forceSectionParse, al as frontmatterDebugMode, am as frontmatterDetailed, an as frontmatterKeymap, ao as frontmatterPreview, ap as frontmatterPreviewField, aq as frontmatterReferenceIndex, ar as frontmatterSource, as as frontmatterSuggestions, at as frontmatterVisibility, au as getCursorFocusState, av as getOverlayActions, aw as gutterHighlightsField, ax as gutterUnified, ay as handleFenceAutoWrap, az as handleSmartUrlPaste, aA as inlineButtonDecoration, aB as insertMarkdownLinkCommand, aC as isAmazonRetailHost, aD as isEditorFocused, aE as isInternalFrontmatterKey, aF as isNavigableUrl, aG as lineIdsExtension, aH as linkOpen, aI as linkPreview, aJ as markdownSyntaxHiding, aK as markdownTablePreview, aL as navigationFacet, aM as nestedCompletion, aN as nestedCompletionOptions, aQ as previewDecorations, aR as queryBlockPreview, aS as referenceIndexReload, aT as registeredSectionWidgets, aU as removeRuntimePanel, aV as resolveCodeLanguage, aW as runtimePanelField, aX as saveBlockQuerySource, aY as sectionAtPos, aZ as sectionField, a_ as sectionGeometry, a$ as sectionIdentity, b0 as sectionIdentityHistory, b1 as sectionMove, b2 as sectionRestore, b3 as sectionSaved, b4 as sessionQueryFence, b5 as sessionQueryInsert, b6 as sessionQueryWql, b7 as setEditorFocused, b8 as setFrontmatterDetailed, b9 as setFrontmatterSource, ba as setGutterHighlights, bb as setQuerySourceEditing, bc as slashBlockCompletion, bd as smartIncrement, be as toggleInlineMarkdown, bf as toggleWidgetEdit, bg as urlAtPos, bh as widgetBlockPreview, bi as wodAutoWrap, bj as wodAutocompletion, bk as wodCompletionSource, bl as wodEditorKeymap, bm as wodLinter, bn as wodOverlayPanel, bo as workoutLintSource, bp as wrapInTimeFence } from '../index-C3DEUF-0.cjs';
|
|
2
2
|
export { blockContentId } from '@bitcobblers/wod-wiki-core';
|
|
3
3
|
import '@codemirror/state';
|
|
4
4
|
import '@codemirror/view';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as AttachmentUrlResolver, B as ButtonAction, a as CursorFocusState, b as CustomCompletionSource, d as DefaultFrontmatterWidget, E as EditorDialect, e as EditorPresetOptions, f as EditorSection, g as EditorSectionSubtype, h as EditorSectionType, i as EmbedType, F as FrontmatterCatalogEntry, j as FrontmatterRefDiagnostic, k as FrontmatterReferenceProvider, l as FrontmatterReferenceRef, m as FrontmatterReferenceResolution, n as FrontmatterSuggestionCatalog, G as GeometryListener, o as INTERNAL_FRONTMATTER_KEYS, N as NavigationHook, p as NestedCompletionOptions, x as OverlayAction, y as QueryBlockPreviewOptions, z as RuntimePanelEntry, H as SectionIdentity, J as SectionRect, K as SectionState, W as WidgetConfig, L as WidgetProps, P as WidgetRegistry, U as activeCursorSection, V as addRuntimePanel, X as affiliateTagFacet, Y as applyAmazonAffiliateTag, Z as attachmentUrlFacet, _ as autocompleteTooltipTheme, $ as configureOverlayActions, a0 as cursorFocusExtension, a1 as customCompletionSources, a2 as dispatchAddRuntimePanel, a3 as dispatchExpandRuntimePanel, a4 as dispatchGutterHighlights, a5 as dispatchRemoveRuntimePanel, a6 as editingQuerySectionsField, a7 as editingWidgetsField, a8 as editorFocusField, a9 as editorFocusTracker, aa as editorPreset, ab as editorTheme, ac as embedPreviewDecorations, ad as expandRuntimePanel, af as fenceCompletion, ag as findQueryBlockSection, ah as findWorkoutErrors, ai as forceSectionParse, al as frontmatterDebugMode, am as frontmatterDetailed, an as frontmatterKeymap, ao as frontmatterPreview, ap as frontmatterPreviewField, aq as frontmatterReferenceIndex, ar as frontmatterSource, as as frontmatterSuggestions, at as frontmatterVisibility, au as getCursorFocusState, av as getOverlayActions, aw as gutterHighlightsField, ax as gutterUnified, ay as handleFenceAutoWrap, az as handleSmartUrlPaste, aA as inlineButtonDecoration, aB as insertMarkdownLinkCommand, aC as isAmazonRetailHost, aD as isEditorFocused, aE as isInternalFrontmatterKey, aF as isNavigableUrl, aG as lineIdsExtension, aH as linkOpen, aI as linkPreview, aJ as markdownSyntaxHiding, aK as markdownTablePreview, aL as navigationFacet, aM as nestedCompletion, aN as nestedCompletionOptions, aQ as previewDecorations, aR as queryBlockPreview, aS as referenceIndexReload, aT as registeredSectionWidgets, aU as removeRuntimePanel, aV as resolveCodeLanguage, aW as runtimePanelField, aX as saveBlockQuerySource, aY as sectionAtPos, aZ as sectionField, a_ as sectionGeometry, a$ as sectionIdentity, b0 as sectionIdentityHistory, b1 as sectionMove, b2 as sectionRestore, b3 as sectionSaved, b4 as sessionQueryFence, b5 as sessionQueryInsert, b6 as sessionQueryWql, b7 as setEditorFocused, b8 as setFrontmatterDetailed, b9 as setFrontmatterSource, ba as setGutterHighlights, bb as setQuerySourceEditing, bc as slashBlockCompletion, bd as smartIncrement, be as toggleInlineMarkdown, bf as toggleWidgetEdit, bg as urlAtPos, bh as widgetBlockPreview, bi as wodAutoWrap, bj as wodAutocompletion, bk as wodCompletionSource, bl as wodEditorKeymap, bm as wodLinter, bn as wodOverlayPanel, bo as workoutLintSource, bp as wrapInTimeFence } from '../index-
|
|
1
|
+
export { A as AttachmentUrlResolver, B as ButtonAction, a as CursorFocusState, b as CustomCompletionSource, d as DefaultFrontmatterWidget, E as EditorDialect, e as EditorPresetOptions, f as EditorSection, g as EditorSectionSubtype, h as EditorSectionType, i as EmbedType, F as FrontmatterCatalogEntry, j as FrontmatterRefDiagnostic, k as FrontmatterReferenceProvider, l as FrontmatterReferenceRef, m as FrontmatterReferenceResolution, n as FrontmatterSuggestionCatalog, G as GeometryListener, o as INTERNAL_FRONTMATTER_KEYS, N as NavigationHook, p as NestedCompletionOptions, x as OverlayAction, y as QueryBlockPreviewOptions, z as RuntimePanelEntry, H as SectionIdentity, J as SectionRect, K as SectionState, W as WidgetConfig, L as WidgetProps, P as WidgetRegistry, U as activeCursorSection, V as addRuntimePanel, X as affiliateTagFacet, Y as applyAmazonAffiliateTag, Z as attachmentUrlFacet, _ as autocompleteTooltipTheme, $ as configureOverlayActions, a0 as cursorFocusExtension, a1 as customCompletionSources, a2 as dispatchAddRuntimePanel, a3 as dispatchExpandRuntimePanel, a4 as dispatchGutterHighlights, a5 as dispatchRemoveRuntimePanel, a6 as editingQuerySectionsField, a7 as editingWidgetsField, a8 as editorFocusField, a9 as editorFocusTracker, aa as editorPreset, ab as editorTheme, ac as embedPreviewDecorations, ad as expandRuntimePanel, af as fenceCompletion, ag as findQueryBlockSection, ah as findWorkoutErrors, ai as forceSectionParse, al as frontmatterDebugMode, am as frontmatterDetailed, an as frontmatterKeymap, ao as frontmatterPreview, ap as frontmatterPreviewField, aq as frontmatterReferenceIndex, ar as frontmatterSource, as as frontmatterSuggestions, at as frontmatterVisibility, au as getCursorFocusState, av as getOverlayActions, aw as gutterHighlightsField, ax as gutterUnified, ay as handleFenceAutoWrap, az as handleSmartUrlPaste, aA as inlineButtonDecoration, aB as insertMarkdownLinkCommand, aC as isAmazonRetailHost, aD as isEditorFocused, aE as isInternalFrontmatterKey, aF as isNavigableUrl, aG as lineIdsExtension, aH as linkOpen, aI as linkPreview, aJ as markdownSyntaxHiding, aK as markdownTablePreview, aL as navigationFacet, aM as nestedCompletion, aN as nestedCompletionOptions, aQ as previewDecorations, aR as queryBlockPreview, aS as referenceIndexReload, aT as registeredSectionWidgets, aU as removeRuntimePanel, aV as resolveCodeLanguage, aW as runtimePanelField, aX as saveBlockQuerySource, aY as sectionAtPos, aZ as sectionField, a_ as sectionGeometry, a$ as sectionIdentity, b0 as sectionIdentityHistory, b1 as sectionMove, b2 as sectionRestore, b3 as sectionSaved, b4 as sessionQueryFence, b5 as sessionQueryInsert, b6 as sessionQueryWql, b7 as setEditorFocused, b8 as setFrontmatterDetailed, b9 as setFrontmatterSource, ba as setGutterHighlights, bb as setQuerySourceEditing, bc as slashBlockCompletion, bd as smartIncrement, be as toggleInlineMarkdown, bf as toggleWidgetEdit, bg as urlAtPos, bh as widgetBlockPreview, bi as wodAutoWrap, bj as wodAutocompletion, bk as wodCompletionSource, bl as wodEditorKeymap, bm as wodLinter, bn as wodOverlayPanel, bo as workoutLintSource, bp as wrapInTimeFence } from '../index-C3DEUF-0.js';
|
|
2
2
|
export { blockContentId } from '@bitcobblers/wod-wiki-core';
|
|
3
3
|
import '@codemirror/state';
|
|
4
4
|
import '@codemirror/view';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { DefaultFrontmatterWidget, INTERNAL_FRONTMATTER_KEYS, activeCursorSection, addRuntimePanel, affiliateTagFacet, applyAmazonAffiliateTag, attachmentUrlFacet, autocompleteTooltipTheme, blockContentId, configureOverlayActions, cursorFocusExtension, customCompletionSources, dispatchAddRuntimePanel, dispatchExpandRuntimePanel, dispatchGutterHighlights, dispatchRemoveRuntimePanel, editingQuerySectionsField, editingWidgetsField, editorFocusField, editorFocusTracker, editorPreset, editorTheme, embedPreviewDecorations, expandRuntimePanel, fenceCompletion, findQueryBlockSection, findWorkoutErrors, forceSectionParse, frontmatterDebugMode, frontmatterDetailed, frontmatterKeymap, frontmatterPreview, frontmatterPreviewField, frontmatterReferenceIndex, frontmatterSource, frontmatterSuggestions, frontmatterVisibility, getCursorFocusState, getOverlayActions, gutterHighlightsField, gutterUnified, handleFenceAutoWrap, handleSmartUrlPaste, inlineButtonDecoration, insertMarkdownLinkCommand, isAmazonRetailHost, isEditorFocused, isInternalFrontmatterKey, isNavigableUrl, lineIdsExtension, linkOpen, linkPreview, markdownSyntaxHiding, markdownTablePreview, navigationFacet, nestedCompletion, nestedCompletionOptions, previewDecorations, queryBlockPreview, referenceIndexReload, registeredSectionWidgets, removeRuntimePanel, resolveCodeLanguage, runtimePanelField, saveBlockQuerySource, sectionAtPos, sectionField, sectionGeometry, sectionIdentity, sectionIdentityHistory, sectionMove, sectionRestore, sectionSaved, sessionQueryFence, sessionQueryInsert, sessionQueryWql, setEditorFocused, setFrontmatterDetailed, setFrontmatterSource, setGutterHighlights, setQuerySourceEditing, slashBlockCompletion, smartIncrement, toggleInlineMarkdown, toggleWidgetEdit, urlAtPos, widgetBlockPreview, wodAutoWrap, wodAutocompletion, wodCompletionSource, wodEditorKeymap, wodLinter, wodOverlayPanel, workoutLintSource, wrapInTimeFence } from '../chunk-
|
|
1
|
+
export { DefaultFrontmatterWidget, INTERNAL_FRONTMATTER_KEYS, activeCursorSection, addRuntimePanel, affiliateTagFacet, applyAmazonAffiliateTag, attachmentUrlFacet, autocompleteTooltipTheme, blockContentId, configureOverlayActions, cursorFocusExtension, customCompletionSources, dispatchAddRuntimePanel, dispatchExpandRuntimePanel, dispatchGutterHighlights, dispatchRemoveRuntimePanel, editingQuerySectionsField, editingWidgetsField, editorFocusField, editorFocusTracker, editorPreset, editorTheme, embedPreviewDecorations, expandRuntimePanel, fenceCompletion, findQueryBlockSection, findWorkoutErrors, forceSectionParse, frontmatterDebugMode, frontmatterDetailed, frontmatterKeymap, frontmatterPreview, frontmatterPreviewField, frontmatterReferenceIndex, frontmatterSource, frontmatterSuggestions, frontmatterVisibility, getCursorFocusState, getOverlayActions, gutterHighlightsField, gutterUnified, handleFenceAutoWrap, handleSmartUrlPaste, inlineButtonDecoration, insertMarkdownLinkCommand, isAmazonRetailHost, isEditorFocused, isInternalFrontmatterKey, isNavigableUrl, lineIdsExtension, linkOpen, linkPreview, markdownSyntaxHiding, markdownTablePreview, navigationFacet, nestedCompletion, nestedCompletionOptions, previewDecorations, queryBlockPreview, referenceIndexReload, registeredSectionWidgets, removeRuntimePanel, resolveCodeLanguage, runtimePanelField, saveBlockQuerySource, sectionAtPos, sectionField, sectionGeometry, sectionIdentity, sectionIdentityHistory, sectionMove, sectionRestore, sectionSaved, sessionQueryFence, sessionQueryInsert, sessionQueryWql, setEditorFocused, setFrontmatterDetailed, setFrontmatterSource, setGutterHighlights, setQuerySourceEditing, slashBlockCompletion, smartIncrement, toggleInlineMarkdown, toggleWidgetEdit, urlAtPos, widgetBlockPreview, wodAutoWrap, wodAutocompletion, wodCompletionSource, wodEditorKeymap, wodLinter, wodOverlayPanel, workoutLintSource, wrapInTimeFence } from '../chunk-M3VS7H7Z.mjs';
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
3
3
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -193,10 +193,10 @@ interface SectionRect {
|
|
|
193
193
|
}
|
|
194
194
|
type GeometryListener = (rects: SectionRect[], docVersion: number) => void;
|
|
195
195
|
declare class SectionGeometryPlugin {
|
|
196
|
-
private view;
|
|
196
|
+
private readonly view;
|
|
197
197
|
rects: SectionRect[];
|
|
198
198
|
docVersion: number;
|
|
199
|
-
private listeners;
|
|
199
|
+
private readonly listeners;
|
|
200
200
|
private pendingNotify;
|
|
201
201
|
private resizeObserver;
|
|
202
202
|
constructor(view: EditorView);
|
|
@@ -193,10 +193,10 @@ interface SectionRect {
|
|
|
193
193
|
}
|
|
194
194
|
type GeometryListener = (rects: SectionRect[], docVersion: number) => void;
|
|
195
195
|
declare class SectionGeometryPlugin {
|
|
196
|
-
private view;
|
|
196
|
+
private readonly view;
|
|
197
197
|
rects: SectionRect[];
|
|
198
198
|
docVersion: number;
|
|
199
|
-
private listeners;
|
|
199
|
+
private readonly listeners;
|
|
200
200
|
private pendingNotify;
|
|
201
201
|
private resizeObserver;
|
|
202
202
|
constructor(view: EditorView);
|
package/dist/index.cjs
CHANGED
|
@@ -486,7 +486,10 @@ function WqlBars({ result, unit: unitProp }) {
|
|
|
486
486
|
}
|
|
487
487
|
}
|
|
488
488
|
),
|
|
489
|
-
/* @__PURE__ */ jsxRuntime.jsx(recharts.Bar, { dataKey: "value", radius: [4, 4, 0, 0], children: data2.map((d) =>
|
|
489
|
+
/* @__PURE__ */ jsxRuntime.jsx(recharts.Bar, { dataKey: "value", radius: [4, 4, 0, 0], children: data2.map((d) => (
|
|
490
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated -- Recharts Bar per-bar fill still uses Cell
|
|
491
|
+
/* @__PURE__ */ jsxRuntime.jsx(recharts.Cell, { fill: d.fill }, d.name)
|
|
492
|
+
)) })
|
|
490
493
|
] }) });
|
|
491
494
|
}
|
|
492
495
|
var MAX_ROWS = 12;
|
|
@@ -1104,7 +1107,10 @@ function ResponsiveDonut({ data: data2, unit }) {
|
|
|
1104
1107
|
paddingAngle: 2,
|
|
1105
1108
|
stroke: "hsl(var(--background))",
|
|
1106
1109
|
isAnimationActive: false,
|
|
1107
|
-
children: data2.map((d) =>
|
|
1110
|
+
children: data2.map((d) => (
|
|
1111
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated -- Recharts Pie per-slice fill still uses Cell
|
|
1112
|
+
/* @__PURE__ */ jsxRuntime.jsx(recharts.Cell, { fill: d.fill }, d.name)
|
|
1113
|
+
))
|
|
1108
1114
|
}
|
|
1109
1115
|
),
|
|
1110
1116
|
/* @__PURE__ */ jsxRuntime.jsx(recharts.Tooltip, { formatter: (value) => `${compactNumber(Number(value))}${unit}` })
|
|
@@ -3707,7 +3713,7 @@ function useSuggestions(type) {
|
|
|
3707
3713
|
}
|
|
3708
3714
|
let cancelled = false;
|
|
3709
3715
|
setLoading(true);
|
|
3710
|
-
loadSuggestions(type).then((result) => {
|
|
3716
|
+
void loadSuggestions(type).then((result) => {
|
|
3711
3717
|
if (cancelled) return;
|
|
3712
3718
|
setItems(result);
|
|
3713
3719
|
setLoading(false);
|
|
@@ -3734,7 +3740,7 @@ function parserValidValue(type, value) {
|
|
|
3734
3740
|
if (type === "groupby") {
|
|
3735
3741
|
if (!/^[a-zA-Z][\w-]*$/.test(v)) return false;
|
|
3736
3742
|
const probe = wodWikiWql.parseQuery(`sum:tis{} by {${v}}`);
|
|
3737
|
-
return !probe.error && probe.family === "aggregate" && probe.groupBy?.includes(v)
|
|
3743
|
+
return !probe.error && probe.family === "aggregate" && probe.groupBy?.includes(v);
|
|
3738
3744
|
}
|
|
3739
3745
|
return true;
|
|
3740
3746
|
}
|
|
@@ -4586,11 +4592,23 @@ function wqlEditorKeymap(onSubmit, onEscape, onSlotActivate) {
|
|
|
4586
4592
|
{ key: "PageDown", run: (view) => autocomplete.completionStatus(view.state) === "active" ? autocomplete.moveCompletionSelection(true, "page")(view) : commands.cursorPageDown(view) },
|
|
4587
4593
|
{
|
|
4588
4594
|
key: "Home",
|
|
4589
|
-
run: (view) =>
|
|
4595
|
+
run: (view) => {
|
|
4596
|
+
if (autocomplete.completionStatus(view.state) === "active") {
|
|
4597
|
+
view.dispatch({ effects: autocomplete.setSelectedCompletion(0) });
|
|
4598
|
+
return true;
|
|
4599
|
+
}
|
|
4600
|
+
return commands.cursorDocStart(view);
|
|
4601
|
+
}
|
|
4590
4602
|
},
|
|
4591
4603
|
{
|
|
4592
4604
|
key: "End",
|
|
4593
|
-
run: (view) =>
|
|
4605
|
+
run: (view) => {
|
|
4606
|
+
if (autocomplete.completionStatus(view.state) === "active") {
|
|
4607
|
+
view.dispatch({ effects: autocomplete.setSelectedCompletion(autocomplete.currentCompletions(view.state).length - 1) });
|
|
4608
|
+
return true;
|
|
4609
|
+
}
|
|
4610
|
+
return commands.cursorDocEnd(view);
|
|
4611
|
+
}
|
|
4594
4612
|
},
|
|
4595
4613
|
{
|
|
4596
4614
|
key: "Tab",
|
|
@@ -4620,7 +4638,14 @@ function wqlEditorKeymap(onSubmit, onEscape, onSlotActivate) {
|
|
|
4620
4638
|
},
|
|
4621
4639
|
// First Escape closes the popup; the second blurs back to the host
|
|
4622
4640
|
// (onEscape) or the editor itself — never two levels at once.
|
|
4623
|
-
{
|
|
4641
|
+
{
|
|
4642
|
+
key: "Escape",
|
|
4643
|
+
run: (view) => {
|
|
4644
|
+
if (view.compositionStarted || autocomplete.closeCompletion(view) || onEscape()) return true;
|
|
4645
|
+
view.contentDOM.blur();
|
|
4646
|
+
return true;
|
|
4647
|
+
}
|
|
4648
|
+
},
|
|
4624
4649
|
...commands.historyKeymap
|
|
4625
4650
|
];
|
|
4626
4651
|
}
|
|
@@ -9367,7 +9392,7 @@ function createFrontmatterSummary(entries, onShowDetails) {
|
|
|
9367
9392
|
summary.dataset.frontmatterSummary = "true";
|
|
9368
9393
|
summary.className = "divide-y divide-border/60";
|
|
9369
9394
|
const groups = [
|
|
9370
|
-
{ label: "Tags", entries: entries.filter(([key]) => TAG_CATEGORY_SUMMARY_KEYS[key.trim().toLowerCase()]
|
|
9395
|
+
{ label: "Tags", entries: entries.filter(([key]) => TAG_CATEGORY_SUMMARY_KEYS[key.trim().toLowerCase()]), hash: true },
|
|
9371
9396
|
{ label: "Aliases", entries: entries.filter(([key]) => isAliasProperty(key)), hash: false }
|
|
9372
9397
|
];
|
|
9373
9398
|
for (const group of groups) {
|
|
@@ -9388,7 +9413,7 @@ function createFrontmatterSummary(entries, onShowDetails) {
|
|
|
9388
9413
|
for (const value of values2) row.appendChild(createSummaryPill(value, group.hash));
|
|
9389
9414
|
summary.appendChild(row);
|
|
9390
9415
|
}
|
|
9391
|
-
const hidden = entries.filter(([key]) => TAG_CATEGORY_SUMMARY_KEYS[key.trim().toLowerCase()]
|
|
9416
|
+
const hidden = entries.filter(([key]) => !TAG_CATEGORY_SUMMARY_KEYS[key.trim().toLowerCase()] && !isAliasProperty(key));
|
|
9392
9417
|
const metricCount = hidden.filter(([key]) => {
|
|
9393
9418
|
const k = key.trim().toLowerCase();
|
|
9394
9419
|
return k.startsWith("metrics.") || k === "metrics";
|
|
@@ -10370,14 +10395,14 @@ var frontmatterDetailSync = view.EditorView.updateListener.of((update) => {
|
|
|
10370
10395
|
persistedDetailed.set(update.view.dom, current);
|
|
10371
10396
|
} else if (persistedDetailed.get(update.view.dom) === true && !current) {
|
|
10372
10397
|
queueMicrotask(() => {
|
|
10373
|
-
if (update.view.state.field(frontmatterDetailed)
|
|
10398
|
+
if (!update.view.state.field(frontmatterDetailed)) {
|
|
10374
10399
|
update.view.dispatch({ effects: setFrontmatterDetailed.of(true) });
|
|
10375
10400
|
}
|
|
10376
10401
|
});
|
|
10377
10402
|
}
|
|
10378
10403
|
} else if (persistedDetailed.get(update.view.dom) === true && !current) {
|
|
10379
10404
|
queueMicrotask(() => {
|
|
10380
|
-
if (update.view.state.field(frontmatterDetailed)
|
|
10405
|
+
if (!update.view.state.field(frontmatterDetailed)) {
|
|
10381
10406
|
update.view.dispatch({ effects: setFrontmatterDetailed.of(true) });
|
|
10382
10407
|
}
|
|
10383
10408
|
});
|
|
@@ -18337,13 +18362,13 @@ function editorPreset(optionsOrDialect = "markdown") {
|
|
|
18337
18362
|
}
|
|
18338
18363
|
|
|
18339
18364
|
// src/version.ts
|
|
18340
|
-
var VERSION = "0.59.
|
|
18341
|
-
var GIT_SHA = "
|
|
18342
|
-
var BUILD_TIME = "2026-11-
|
|
18365
|
+
var VERSION = "0.59.2244";
|
|
18366
|
+
var GIT_SHA = "969de0d";
|
|
18367
|
+
var BUILD_TIME = "2026-11-17T20:51:51.209Z";
|
|
18343
18368
|
var SEMVER = {
|
|
18344
|
-
version: "0.59.
|
|
18345
|
-
gitSha: "
|
|
18346
|
-
buildTime: "2026-11-
|
|
18369
|
+
version: "0.59.2244",
|
|
18370
|
+
gitSha: "969de0d",
|
|
18371
|
+
buildTime: "2026-11-17T20:51:51.209Z"
|
|
18347
18372
|
};
|
|
18348
18373
|
|
|
18349
18374
|
Object.defineProperty(exports, "CONTENT_GROUPING_DIMENSIONS", {
|