@superdoc-dev/mcp 0.6.0 → 0.6.1
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 +21 -21
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -51891,7 +51891,7 @@ var init_remark_gfm_BhnWr3yf_es = __esm(() => {
|
|
|
51891
51891
|
emptyOptions2 = {};
|
|
51892
51892
|
});
|
|
51893
51893
|
|
|
51894
|
-
// ../../packages/superdoc/dist/chunks/SuperConverter-
|
|
51894
|
+
// ../../packages/superdoc/dist/chunks/SuperConverter-SvCYq2KK.es.js
|
|
51895
51895
|
function getExtensionConfigField(extension$1, field, context = { name: "" }) {
|
|
51896
51896
|
const fieldValue = extension$1.config[field];
|
|
51897
51897
|
if (typeof fieldValue === "function")
|
|
@@ -105833,7 +105833,7 @@ var isRegExp = (value) => {
|
|
|
105833
105833
|
if (id)
|
|
105834
105834
|
return trackedChanges.filter(({ mark }) => mark.attrs.id === id);
|
|
105835
105835
|
return trackedChanges;
|
|
105836
|
-
}, DERIVED_ID_LENGTH = 24, groupedCache, SDT_NODE_NAMES, SDT_BLOCK_NAME = "structuredContentBlock", SDT_INLINE_NAME = "structuredContent", SDT_NODE_TYPES, VALID_CONTROL_TYPES, VALID_LOCK_MODES, VALID_APPEARANCES, FIELD_LIKE_SDT_TYPES, liveDocumentCountsCache, BIBLIOGRAPHY_NAMESPACE_URI = "http://schemas.openxmlformats.org/officeDocument/2006/bibliography", CUSTOM_XML_RELATIONSHIP_TYPE = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml", CUSTOM_XML_PROPS_RELATIONSHIP_TYPE = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps", DEFAULT_SELECTED_STYLE = "/APA.XSL", DEFAULT_STYLE_NAME = "APA", DEFAULT_VERSION = "6", API_TO_OOXML_SOURCE_TYPE, OOXML_TO_API_SOURCE_TYPE, SIMPLE_FIELD_TO_XML_TAG, XML_TAG_TO_SIMPLE_FIELD, import_lib2, FONT_FAMILY_FALLBACKS, DEFAULT_GENERIC_FALLBACK = "sans-serif", DEFAULT_FONT_SIZE_PT = 10, CURRENT_APP_VERSION = "1.
|
|
105836
|
+
}, DERIVED_ID_LENGTH = 24, groupedCache, SDT_NODE_NAMES, SDT_BLOCK_NAME = "structuredContentBlock", SDT_INLINE_NAME = "structuredContent", SDT_NODE_TYPES, VALID_CONTROL_TYPES, VALID_LOCK_MODES, VALID_APPEARANCES, FIELD_LIKE_SDT_TYPES, liveDocumentCountsCache, BIBLIOGRAPHY_NAMESPACE_URI = "http://schemas.openxmlformats.org/officeDocument/2006/bibliography", CUSTOM_XML_RELATIONSHIP_TYPE = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml", CUSTOM_XML_PROPS_RELATIONSHIP_TYPE = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps", DEFAULT_SELECTED_STYLE = "/APA.XSL", DEFAULT_STYLE_NAME = "APA", DEFAULT_VERSION = "6", API_TO_OOXML_SOURCE_TYPE, OOXML_TO_API_SOURCE_TYPE, SIMPLE_FIELD_TO_XML_TAG, XML_TAG_TO_SIMPLE_FIELD, import_lib2, FONT_FAMILY_FALLBACKS, DEFAULT_GENERIC_FALLBACK = "sans-serif", DEFAULT_FONT_SIZE_PT = 10, CURRENT_APP_VERSION = "1.34.0", collectRunDefaultProperties = (runProps, { allowOverrideTypeface = true, allowOverrideSize = true, themeResolver, state }) => {
|
|
105837
105837
|
if (!runProps?.elements?.length || !state)
|
|
105838
105838
|
return;
|
|
105839
105839
|
const fontsNode = runProps.elements.find((el) => el.name === "w:rFonts");
|
|
@@ -105867,7 +105867,7 @@ var isRegExp = (value) => {
|
|
|
105867
105867
|
state.kern = kernNode.attributes["w:val"];
|
|
105868
105868
|
}
|
|
105869
105869
|
}, SuperConverter;
|
|
105870
|
-
var
|
|
105870
|
+
var init_SuperConverter_SvCYq2KK_es = __esm(() => {
|
|
105871
105871
|
init_rolldown_runtime_Bg48TavK_es();
|
|
105872
105872
|
init_jszip_C49i9kUs_es();
|
|
105873
105873
|
init_xml_js_CqGKpaft_es();
|
|
@@ -144044,7 +144044,7 @@ var init_SuperConverter_CzwJ7ds9_es = __esm(() => {
|
|
|
144044
144044
|
};
|
|
144045
144045
|
});
|
|
144046
144046
|
|
|
144047
|
-
// ../../packages/superdoc/dist/chunks/create-headless-toolbar-
|
|
144047
|
+
// ../../packages/superdoc/dist/chunks/create-headless-toolbar-CAjlOJ3Q.es.js
|
|
144048
144048
|
function parseSizeUnit(val = "0") {
|
|
144049
144049
|
const length = val.toString() || "0";
|
|
144050
144050
|
const value = Number.parseFloat(length);
|
|
@@ -154054,8 +154054,8 @@ var CSS_DIMENSION_REGEX, DOM_SIZE_UNITS, Extension = class Extension2 {
|
|
|
154054
154054
|
}
|
|
154055
154055
|
};
|
|
154056
154056
|
};
|
|
154057
|
-
var
|
|
154058
|
-
|
|
154057
|
+
var init_create_headless_toolbar_CAjlOJ3Q_es = __esm(() => {
|
|
154058
|
+
init_SuperConverter_SvCYq2KK_es();
|
|
154059
154059
|
init_uuid_qzgm05fK_es();
|
|
154060
154060
|
init_constants_DrU4EASo_es();
|
|
154061
154061
|
init_dist_B8HfvhaK_es();
|
|
@@ -208782,7 +208782,7 @@ var init_remark_gfm_eZN6yzWQ_es = __esm(() => {
|
|
|
208782
208782
|
init_remark_gfm_BhnWr3yf_es();
|
|
208783
208783
|
});
|
|
208784
208784
|
|
|
208785
|
-
// ../../packages/superdoc/dist/chunks/src-
|
|
208785
|
+
// ../../packages/superdoc/dist/chunks/src-C5nJLlXh.es.js
|
|
208786
208786
|
function deleteProps(obj, propOrProps) {
|
|
208787
208787
|
const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
|
|
208788
208788
|
const removeNested = (target, pathParts, index2 = 0) => {
|
|
@@ -209565,7 +209565,7 @@ function prosemirrorToYXmlFragment(doc$12, xmlFragment) {
|
|
|
209565
209565
|
}
|
|
209566
209566
|
function getSuperdocVersion() {
|
|
209567
209567
|
try {
|
|
209568
|
-
return "1.
|
|
209568
|
+
return "1.34.0";
|
|
209569
209569
|
} catch {
|
|
209570
209570
|
return "unknown";
|
|
209571
209571
|
}
|
|
@@ -280172,7 +280172,7 @@ var Node$13 = class Node$14 {
|
|
|
280172
280172
|
domAvailabilityCache = false;
|
|
280173
280173
|
return false;
|
|
280174
280174
|
}
|
|
280175
|
-
}, summaryVersion = "1.
|
|
280175
|
+
}, summaryVersion = "1.34.0", nodeKeys, markKeys, transformListsInCopiedContent = (html3) => {
|
|
280176
280176
|
const container = document.createElement("div");
|
|
280177
280177
|
container.innerHTML = html3;
|
|
280178
280178
|
const result = [];
|
|
@@ -281347,7 +281347,7 @@ var Node$13 = class Node$14 {
|
|
|
281347
281347
|
return () => {};
|
|
281348
281348
|
const handle3 = setInterval(callback, intervalMs);
|
|
281349
281349
|
return () => clearInterval(handle3);
|
|
281350
|
-
}, HISTORY_UNSAFE_OPS, CANONICAL_COMMENT_IGNORED_KEYS, INITIAL_HASH, ROUND_CONSTANTS, V1_COVERAGE, V2_COVERAGE, SNAPSHOT_VERSION_V2 = "sd-diff-snapshot/v2", PAYLOAD_VERSION_V1 = "sd-diff-payload/v1", PAYLOAD_VERSION_V2 = "sd-diff-payload/v2", ENGINE_ID = "super-editor", STAGED_CONVERTER_KEYS, DiffServiceError, TC_LEVEL_MIN = 1, TC_LEVEL_MAX = 9, ALLOWED_WRAP_ATTRS, WRAP_TYPES_SUPPORTING_SIDE, WRAP_TYPES_SUPPORTING_DISTANCES, RELATIVE_HEIGHT_MIN = 0, RELATIVE_HEIGHT_MAX = 4294967295, FORBIDDEN_RAW_PATCH_NAMES, CONTROL_TYPE_SDT_PR_ELEMENTS, DEFAULT_CHECKBOX_SYMBOL_FONT2 = "MS Gothic", DEFAULT_CHECKBOX_CHECKED_HEX2 = "2612", DEFAULT_CHECKBOX_UNCHECKED_HEX2 = "2610", VARIANT_ORDER, KIND_ORDER, HEADER_RELATIONSHIP_TYPE3 = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/header", FOOTER_RELATIONSHIP_TYPE3 = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer", DOCUMENT_RELS_PATH2 = "word/_rels/document.xml.rels", HEADER_FILE_PATTERN2, FOOTER_FILE_PATTERN2, SPECIAL_NOTE_TYPES, BOOKMARK_SCAN_REVISION_PREFIX = "bookmark-scan:", import_lib4, CUSTOM_XML_DATA_RELATIONSHIP_TYPE = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml", CUSTOM_XML_PROPS_RELATIONSHIP_TYPE2 = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps", CUSTOM_XML_DATASTORE_NAMESPACE = "http://schemas.openxmlformats.org/officeDocument/2006/customXml", SETTINGS_PART, RESTART_POLICY_TO_OOXML, VALID_DISPLAYS, REFERENCE_BLOCK_PREFIX, CAPTION_STYLE_NAMES, CAPTION_PARAGRAPH_STYLE_ID = "Caption", CAPTION_FORMAT_TO_OOXML, DOCUMENT_STAT_FIELD_TYPES, TOA_LEADER_REVERSE_MAP, EDGE_NODE_TYPES, CONTENT_TYPES_PART_ID = "[Content_Types].xml", CONTENT_TYPES_NS = "http://schemas.openxmlformats.org/package/2006/content-types", contentTypesPartDescriptor, empty_exports, init_empty, CURRENT_APP_VERSION2 = "1.
|
|
281350
|
+
}, HISTORY_UNSAFE_OPS, CANONICAL_COMMENT_IGNORED_KEYS, INITIAL_HASH, ROUND_CONSTANTS, V1_COVERAGE, V2_COVERAGE, SNAPSHOT_VERSION_V2 = "sd-diff-snapshot/v2", PAYLOAD_VERSION_V1 = "sd-diff-payload/v1", PAYLOAD_VERSION_V2 = "sd-diff-payload/v2", ENGINE_ID = "super-editor", STAGED_CONVERTER_KEYS, DiffServiceError, TC_LEVEL_MIN = 1, TC_LEVEL_MAX = 9, ALLOWED_WRAP_ATTRS, WRAP_TYPES_SUPPORTING_SIDE, WRAP_TYPES_SUPPORTING_DISTANCES, RELATIVE_HEIGHT_MIN = 0, RELATIVE_HEIGHT_MAX = 4294967295, FORBIDDEN_RAW_PATCH_NAMES, CONTROL_TYPE_SDT_PR_ELEMENTS, DEFAULT_CHECKBOX_SYMBOL_FONT2 = "MS Gothic", DEFAULT_CHECKBOX_CHECKED_HEX2 = "2612", DEFAULT_CHECKBOX_UNCHECKED_HEX2 = "2610", VARIANT_ORDER, KIND_ORDER, HEADER_RELATIONSHIP_TYPE3 = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/header", FOOTER_RELATIONSHIP_TYPE3 = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer", DOCUMENT_RELS_PATH2 = "word/_rels/document.xml.rels", HEADER_FILE_PATTERN2, FOOTER_FILE_PATTERN2, SPECIAL_NOTE_TYPES, BOOKMARK_SCAN_REVISION_PREFIX = "bookmark-scan:", import_lib4, CUSTOM_XML_DATA_RELATIONSHIP_TYPE = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml", CUSTOM_XML_PROPS_RELATIONSHIP_TYPE2 = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps", CUSTOM_XML_DATASTORE_NAMESPACE = "http://schemas.openxmlformats.org/officeDocument/2006/customXml", SETTINGS_PART, RESTART_POLICY_TO_OOXML, VALID_DISPLAYS, REFERENCE_BLOCK_PREFIX, CAPTION_STYLE_NAMES, CAPTION_PARAGRAPH_STYLE_ID = "Caption", CAPTION_FORMAT_TO_OOXML, DOCUMENT_STAT_FIELD_TYPES, TOA_LEADER_REVERSE_MAP, EDGE_NODE_TYPES, CONTENT_TYPES_PART_ID = "[Content_Types].xml", CONTENT_TYPES_NS = "http://schemas.openxmlformats.org/package/2006/content-types", contentTypesPartDescriptor, empty_exports, init_empty, CURRENT_APP_VERSION2 = "1.34.0", PIXELS_PER_INCH2 = 96, MAX_HEIGHT_BUFFER_PX = 50, MAX_WIDTH_BUFFER_PX = 20, cloneExtensionInstance = (extension2) => {
|
|
281351
281351
|
const extensionLike = extension2;
|
|
281352
281352
|
const config3 = extensionLike?.config;
|
|
281353
281353
|
const ExtensionCtor = extensionLike?.constructor;
|
|
@@ -297169,13 +297169,13 @@ menclose::after {
|
|
|
297169
297169
|
return;
|
|
297170
297170
|
console.log(...args$1);
|
|
297171
297171
|
}, 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;
|
|
297172
|
-
var
|
|
297172
|
+
var init_src_C5nJLlXh_es = __esm(() => {
|
|
297173
297173
|
init_rolldown_runtime_Bg48TavK_es();
|
|
297174
|
-
|
|
297174
|
+
init_SuperConverter_SvCYq2KK_es();
|
|
297175
297175
|
init_jszip_C49i9kUs_es();
|
|
297176
297176
|
init_xml_js_CqGKpaft_es();
|
|
297177
297177
|
init_uuid_qzgm05fK_es();
|
|
297178
|
-
|
|
297178
|
+
init_create_headless_toolbar_CAjlOJ3Q_es();
|
|
297179
297179
|
init_constants_DrU4EASo_es();
|
|
297180
297180
|
init_dist_B8HfvhaK_es();
|
|
297181
297181
|
init_unified_Dsuw2be5_es();
|
|
@@ -334891,11 +334891,11 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
334891
334891
|
];
|
|
334892
334892
|
});
|
|
334893
334893
|
|
|
334894
|
-
// ../../packages/superdoc/dist/chunks/create-super-doc-ui-
|
|
334894
|
+
// ../../packages/superdoc/dist/chunks/create-super-doc-ui-Bgxw65Gk.es.js
|
|
334895
334895
|
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;
|
|
334896
|
-
var
|
|
334897
|
-
|
|
334898
|
-
|
|
334896
|
+
var init_create_super_doc_ui_Bgxw65Gk_es = __esm(() => {
|
|
334897
|
+
init_SuperConverter_SvCYq2KK_es();
|
|
334898
|
+
init_create_headless_toolbar_CAjlOJ3Q_es();
|
|
334899
334899
|
MOD_ALIASES = new Set([
|
|
334900
334900
|
"Mod",
|
|
334901
334901
|
"Meta",
|
|
@@ -334937,16 +334937,16 @@ var init_zipper_yaJVJ4z9_es = __esm(() => {
|
|
|
334937
334937
|
|
|
334938
334938
|
// ../../packages/superdoc/dist/super-editor.es.js
|
|
334939
334939
|
var init_super_editor_es = __esm(() => {
|
|
334940
|
-
|
|
334941
|
-
|
|
334940
|
+
init_src_C5nJLlXh_es();
|
|
334941
|
+
init_SuperConverter_SvCYq2KK_es();
|
|
334942
334942
|
init_jszip_C49i9kUs_es();
|
|
334943
334943
|
init_xml_js_CqGKpaft_es();
|
|
334944
|
-
|
|
334944
|
+
init_create_headless_toolbar_CAjlOJ3Q_es();
|
|
334945
334945
|
init_constants_DrU4EASo_es();
|
|
334946
334946
|
init_dist_B8HfvhaK_es();
|
|
334947
334947
|
init_unified_Dsuw2be5_es();
|
|
334948
334948
|
init_DocxZipper_CZMPWpOp_es();
|
|
334949
|
-
|
|
334949
|
+
init_create_super_doc_ui_Bgxw65Gk_es();
|
|
334950
334950
|
init_ui_C5PAS9hY_es();
|
|
334951
334951
|
init_eventemitter3_BnGqBE_Q_es();
|
|
334952
334952
|
init_errors_CNaD6vcg_es();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superdoc-dev/mcp",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=20"
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"@types/bun": "^1.3.8",
|
|
20
20
|
"@types/node": "22.19.2",
|
|
21
21
|
"typescript": "^5.9.2",
|
|
22
|
+
"@superdoc/document-api": "0.0.1",
|
|
22
23
|
"@superdoc/super-editor": "0.0.1",
|
|
23
|
-
"superdoc": "1.
|
|
24
|
-
"@superdoc/document-api": "0.0.1"
|
|
24
|
+
"superdoc": "1.34.0"
|
|
25
25
|
},
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|