@bitcobblers/wod-wiki-ui 0.59.2238 → 0.59.2243
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-67I27KXT.mjs → chunk-SV65J2NT.mjs} +22 -8
- package/dist/{chunk-67I27KXT.mjs.map → chunk-SV65J2NT.mjs.map} +1 -1
- package/dist/extensions/index.cjs +20 -6
- package/dist/extensions/index.cjs.map +1 -1
- package/dist/extensions/index.mjs +1 -1
- package/dist/index.cjs +26 -12
- 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
|
@@ -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-SV65J2NT.mjs';
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
3
3
|
//# sourceMappingURL=index.mjs.map
|
package/dist/index.cjs
CHANGED
|
@@ -12676,13 +12676,27 @@ function saveWidgetSource(view, sectionId, markdown2) {
|
|
|
12676
12676
|
message: "Unable to locate widget source in the editor."
|
|
12677
12677
|
};
|
|
12678
12678
|
}
|
|
12679
|
-
|
|
12680
|
-
|
|
12681
|
-
|
|
12682
|
-
|
|
12683
|
-
|
|
12679
|
+
const dispatchChange = () => {
|
|
12680
|
+
if (view.state.readOnly) return;
|
|
12681
|
+
const latest = findWidgetSection(view, sectionId);
|
|
12682
|
+
if (!latest || latest.contentFrom == null || latest.contentTo == null) return;
|
|
12683
|
+
view.dispatch({
|
|
12684
|
+
changes: {
|
|
12685
|
+
from: latest.contentFrom,
|
|
12686
|
+
to: latest.contentTo,
|
|
12687
|
+
insert: normalizeWidgetMarkdown(markdown2)
|
|
12688
|
+
}
|
|
12689
|
+
});
|
|
12690
|
+
};
|
|
12691
|
+
try {
|
|
12692
|
+
dispatchChange();
|
|
12693
|
+
} catch (err) {
|
|
12694
|
+
if (err instanceof Error && /update.*in progress/i.test(err.message)) {
|
|
12695
|
+
queueMicrotask(dispatchChange);
|
|
12696
|
+
} else {
|
|
12697
|
+
throw err;
|
|
12684
12698
|
}
|
|
12685
|
-
}
|
|
12699
|
+
}
|
|
12686
12700
|
return parsed;
|
|
12687
12701
|
}
|
|
12688
12702
|
function renderMissingWidget(widgetName) {
|
|
@@ -18323,13 +18337,13 @@ function editorPreset(optionsOrDialect = "markdown") {
|
|
|
18323
18337
|
}
|
|
18324
18338
|
|
|
18325
18339
|
// src/version.ts
|
|
18326
|
-
var VERSION = "0.59.
|
|
18327
|
-
var GIT_SHA = "
|
|
18328
|
-
var BUILD_TIME = "2026-11-
|
|
18340
|
+
var VERSION = "0.59.2243";
|
|
18341
|
+
var GIT_SHA = "4a45031";
|
|
18342
|
+
var BUILD_TIME = "2026-11-17T18:40:05.124Z";
|
|
18329
18343
|
var SEMVER = {
|
|
18330
|
-
version: "0.59.
|
|
18331
|
-
gitSha: "
|
|
18332
|
-
buildTime: "2026-11-
|
|
18344
|
+
version: "0.59.2243",
|
|
18345
|
+
gitSha: "4a45031",
|
|
18346
|
+
buildTime: "2026-11-17T18:40:05.124Z"
|
|
18333
18347
|
};
|
|
18334
18348
|
|
|
18335
18349
|
Object.defineProperty(exports, "CONTENT_GROUPING_DIMENSIONS", {
|