@superdoc-dev/mcp 0.3.0-next.101 → 0.3.0-next.102
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/index.js +15 -6
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -200676,7 +200676,7 @@ var init_remark_gfm_eZN6yzWQ_es = __esm(() => {
|
|
|
200676
200676
|
init_remark_gfm_BhnWr3yf_es();
|
|
200677
200677
|
});
|
|
200678
200678
|
|
|
200679
|
-
// ../../packages/superdoc/dist/chunks/src-
|
|
200679
|
+
// ../../packages/superdoc/dist/chunks/src-Db2DJZym.es.js
|
|
200680
200680
|
function deleteProps(obj, propOrProps) {
|
|
200681
200681
|
const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
|
|
200682
200682
|
const removeNested = (target, pathParts, index2 = 0) => {
|
|
@@ -259018,6 +259018,13 @@ function findRenderedTrackedChangeElementsStrict(host, entityId, escapeAttrValue
|
|
|
259018
259018
|
const storySelector = `${baseSelector}[data-story-key="${escapeAttrValue$1(storyKey)}"]`;
|
|
259019
259019
|
return Array.from(host.querySelectorAll(storySelector));
|
|
259020
259020
|
}
|
|
259021
|
+
function findRenderedContentControlElements(host, entityId, escapeAttrValue$1, _storyKey) {
|
|
259022
|
+
if (!host || !entityId)
|
|
259023
|
+
return [];
|
|
259024
|
+
const id2 = escapeAttrValue$1(entityId);
|
|
259025
|
+
const selector = `.${DOM_CLASS_NAMES.INLINE_SDT_WRAPPER}[data-sdt-id="${id2}"][data-sdt-type="structuredContent"],.${DOM_CLASS_NAMES.BLOCK_SDT}[data-sdt-id="${id2}"][data-sdt-type="structuredContent"]`;
|
|
259026
|
+
return Array.from(host.querySelectorAll(selector));
|
|
259027
|
+
}
|
|
259021
259028
|
function elementsToRangeRects(elements) {
|
|
259022
259029
|
const result = [];
|
|
259023
259030
|
for (const element3 of elements) {
|
|
@@ -295173,7 +295180,7 @@ menclose::after {
|
|
|
295173
295180
|
return;
|
|
295174
295181
|
console.log(...args$1);
|
|
295175
295182
|
}, HEADER_FOOTER_INIT_BUDGET_MS = 200, MAX_ZOOM_WARNING_THRESHOLD = 10, MAX_SELECTION_RECTS_PER_USER = 100, SEMANTIC_RESIZE_DEBOUNCE_MS = 120, MIN_SEMANTIC_CONTENT_WIDTH_PX = 1, GLOBAL_PERFORMANCE, PresentationEditor, ICONS, TEXTS, tableActionsOptions;
|
|
295176
|
-
var
|
|
295183
|
+
var init_src_Db2DJZym_es = __esm(() => {
|
|
295177
295184
|
init_rolldown_runtime_Bg48TavK_es();
|
|
295178
295185
|
init_SuperConverter_ByqzBuoW_es();
|
|
295179
295186
|
init_jszip_C49i9kUs_es();
|
|
@@ -328050,6 +328057,8 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
328050
328057
|
elements = findRenderedTrackedChangeElementsStrict(host, entityId, escapeAttrValue, storyKey);
|
|
328051
328058
|
else if (entityType === "comment")
|
|
328052
328059
|
elements = findRenderedCommentElements(host, entityId, storyKey);
|
|
328060
|
+
else if (entityType === "contentControl")
|
|
328061
|
+
elements = findRenderedContentControlElements(host, entityId, escapeAttrValue, storyKey);
|
|
328053
328062
|
else
|
|
328054
328063
|
return [];
|
|
328055
328064
|
return elementsToRangeRects(elements);
|
|
@@ -333248,9 +333257,9 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
333248
333257
|
];
|
|
333249
333258
|
});
|
|
333250
333259
|
|
|
333251
|
-
// ../../packages/superdoc/dist/chunks/create-super-doc-ui-
|
|
333260
|
+
// ../../packages/superdoc/dist/chunks/create-super-doc-ui-ohqFuGuC.es.js
|
|
333252
333261
|
var MOD_ALIASES, ALT_ALIASES, CTRL_ALIASES, SHIFT_ALIASES, BUILTIN_CONTEXT_MENU_GROUPS, BUILTIN_GROUP_ORDER, RESERVED_PROXY_PROPERTY_NAMES, ALL_TOOLBAR_COMMAND_IDS, EMPTY_ACTIVE_IDS;
|
|
333253
|
-
var
|
|
333262
|
+
var init_create_super_doc_ui_ohqFuGuC_es = __esm(() => {
|
|
333254
333263
|
init_SuperConverter_ByqzBuoW_es();
|
|
333255
333264
|
init_create_headless_toolbar_CaWsmmol_es();
|
|
333256
333265
|
MOD_ALIASES = new Set([
|
|
@@ -333294,7 +333303,7 @@ var init_zipper_BxRAi0_5_es = __esm(() => {
|
|
|
333294
333303
|
|
|
333295
333304
|
// ../../packages/superdoc/dist/super-editor.es.js
|
|
333296
333305
|
var init_super_editor_es = __esm(() => {
|
|
333297
|
-
|
|
333306
|
+
init_src_Db2DJZym_es();
|
|
333298
333307
|
init_SuperConverter_ByqzBuoW_es();
|
|
333299
333308
|
init_jszip_C49i9kUs_es();
|
|
333300
333309
|
init_xml_js_CqGKpaft_es();
|
|
@@ -333303,7 +333312,7 @@ var init_super_editor_es = __esm(() => {
|
|
|
333303
333312
|
init_dist_B8HfvhaK_es();
|
|
333304
333313
|
init_unified_Dsuw2be5_es();
|
|
333305
333314
|
init_DocxZipper_Bphhij1P_es();
|
|
333306
|
-
|
|
333315
|
+
init_create_super_doc_ui_ohqFuGuC_es();
|
|
333307
333316
|
init_ui_CGB3qmy3_es();
|
|
333308
333317
|
init_eventemitter3_UwU_CLPU_es();
|
|
333309
333318
|
init_errors_C_DoKMoN_es();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superdoc-dev/mcp",
|
|
3
|
-
"version": "0.3.0-next.
|
|
3
|
+
"version": "0.3.0-next.102",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=20"
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"@types/node": "22.19.2",
|
|
21
21
|
"typescript": "^5.9.2",
|
|
22
22
|
"@superdoc/document-api": "0.0.1",
|
|
23
|
-
"superdoc": "
|
|
24
|
-
"
|
|
23
|
+
"@superdoc/super-editor": "0.0.1",
|
|
24
|
+
"superdoc": "1.32.0"
|
|
25
25
|
},
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|