@superdoc-dev/mcp 0.9.0-next.6 → 0.10.0-next.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 +4 -4
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-_qjy7QBM.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")
|
|
@@ -106785,7 +106785,7 @@ var isRegExp = (value) => {
|
|
|
106785
106785
|
if (id)
|
|
106786
106786
|
return trackedChanges.filter(({ mark }) => mark.attrs.id === id);
|
|
106787
106787
|
return trackedChanges;
|
|
106788
|
-
}, 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.
|
|
106788
|
+
}, 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.37.0", SUPERDOC_DOCUMENT_ORIGIN_PROPERTY = "SuperdocDocumentOrigin", STORED_DOCUMENT_ORIGINS, collectRunDefaultProperties = (runProps, { allowOverrideTypeface = true, allowOverrideSize = true, themeResolver, state }) => {
|
|
106789
106789
|
if (!runProps?.elements?.length || !state)
|
|
106790
106790
|
return;
|
|
106791
106791
|
const fontsNode = runProps.elements.find((el) => el.name === "w:rFonts");
|
|
@@ -106819,7 +106819,7 @@ var isRegExp = (value) => {
|
|
|
106819
106819
|
state.kern = kernNode.attributes["w:val"];
|
|
106820
106820
|
}
|
|
106821
106821
|
}, SuperConverter;
|
|
106822
|
-
var
|
|
106822
|
+
var init_SuperConverter__qjy7QBM_es = __esm(() => {
|
|
106823
106823
|
init_rolldown_runtime_Bg48TavK_es();
|
|
106824
106824
|
init_jszip_C49i9kUs_es();
|
|
106825
106825
|
init_xml_js_CqGKpaft_es();
|
|
@@ -145133,7 +145133,7 @@ var init_SuperConverter_DA0uKCdy_es = __esm(() => {
|
|
|
145133
145133
|
};
|
|
145134
145134
|
});
|
|
145135
145135
|
|
|
145136
|
-
// ../../packages/superdoc/dist/chunks/create-headless-toolbar-
|
|
145136
|
+
// ../../packages/superdoc/dist/chunks/create-headless-toolbar-CeMgVejU.es.js
|
|
145137
145137
|
function parseSizeUnit(val = "0") {
|
|
145138
145138
|
const length = val.toString() || "0";
|
|
145139
145139
|
const value = Number.parseFloat(length);
|
|
@@ -155365,8 +155365,8 @@ var CSS_DIMENSION_REGEX, DOM_SIZE_UNITS, normalizeActorId = (value) => {
|
|
|
155365
155365
|
}
|
|
155366
155366
|
};
|
|
155367
155367
|
};
|
|
155368
|
-
var
|
|
155369
|
-
|
|
155368
|
+
var init_create_headless_toolbar_CeMgVejU_es = __esm(() => {
|
|
155369
|
+
init_SuperConverter__qjy7QBM_es();
|
|
155370
155370
|
init_uuid_qzgm05fK_es();
|
|
155371
155371
|
init_constants_DrU4EASo_es();
|
|
155372
155372
|
init_dist_B8HfvhaK_es();
|
|
@@ -210097,7 +210097,7 @@ var init_remark_gfm_eZN6yzWQ_es = __esm(() => {
|
|
|
210097
210097
|
init_remark_gfm_BhnWr3yf_es();
|
|
210098
210098
|
});
|
|
210099
210099
|
|
|
210100
|
-
// ../../packages/superdoc/dist/chunks/src-
|
|
210100
|
+
// ../../packages/superdoc/dist/chunks/src-CcSPT34Y.es.js
|
|
210101
210101
|
function deleteProps(obj, propOrProps) {
|
|
210102
210102
|
const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
|
|
210103
210103
|
const removeNested = (target, pathParts, index2 = 0) => {
|
|
@@ -210938,7 +210938,7 @@ function prosemirrorToYXmlFragment(doc$12, xmlFragment) {
|
|
|
210938
210938
|
}
|
|
210939
210939
|
function getSuperdocVersion() {
|
|
210940
210940
|
try {
|
|
210941
|
-
return "1.
|
|
210941
|
+
return "1.37.0";
|
|
210942
210942
|
} catch {
|
|
210943
210943
|
return "unknown";
|
|
210944
210944
|
}
|
|
@@ -285488,7 +285488,7 @@ var Node$13 = class Node$14 {
|
|
|
285488
285488
|
domAvailabilityCache = false;
|
|
285489
285489
|
return false;
|
|
285490
285490
|
}
|
|
285491
|
-
}, summaryVersion = "1.
|
|
285491
|
+
}, summaryVersion = "1.37.0", nodeKeys, markKeys, transformListsInCopiedContent = (html3) => {
|
|
285492
285492
|
const container = document.createElement("div");
|
|
285493
285493
|
container.innerHTML = html3;
|
|
285494
285494
|
const result = [];
|
|
@@ -286673,7 +286673,7 @@ var Node$13 = class Node$14 {
|
|
|
286673
286673
|
return () => {};
|
|
286674
286674
|
const handle3 = setInterval(callback, intervalMs);
|
|
286675
286675
|
return () => clearInterval(handle3);
|
|
286676
|
-
}, 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.
|
|
286676
|
+
}, 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.37.0", PIXELS_PER_INCH2 = 96, MAX_HEIGHT_BUFFER_PX = 50, MAX_WIDTH_BUFFER_PX = 20, TRACKED_REVIEW_MARK_NAMES2, isTrackedReviewMark = (mark2) => Boolean(mark2?.type?.name && TRACKED_REVIEW_MARK_NAMES2.has(mark2.type.name)), trackedReviewMarkKey = (mark2) => {
|
|
286677
286677
|
if (!isTrackedReviewMark(mark2))
|
|
286678
286678
|
return null;
|
|
286679
286679
|
const id2 = typeof mark2.attrs?.id === "string" ? mark2.attrs.id : "";
|
|
@@ -306919,13 +306919,13 @@ menclose::after {
|
|
|
306919
306919
|
return;
|
|
306920
306920
|
console.log(...args$1);
|
|
306921
306921
|
}, 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, TRACKED_MARK_NAMES;
|
|
306922
|
-
var
|
|
306922
|
+
var init_src_CcSPT34Y_es = __esm(() => {
|
|
306923
306923
|
init_rolldown_runtime_Bg48TavK_es();
|
|
306924
|
-
|
|
306924
|
+
init_SuperConverter__qjy7QBM_es();
|
|
306925
306925
|
init_jszip_C49i9kUs_es();
|
|
306926
306926
|
init_xml_js_CqGKpaft_es();
|
|
306927
306927
|
init_uuid_qzgm05fK_es();
|
|
306928
|
-
|
|
306928
|
+
init_create_headless_toolbar_CeMgVejU_es();
|
|
306929
306929
|
init_constants_DrU4EASo_es();
|
|
306930
306930
|
init_dist_B8HfvhaK_es();
|
|
306931
306931
|
init_unified_Dsuw2be5_es();
|
|
@@ -341023,11 +341023,11 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
341023
341023
|
]);
|
|
341024
341024
|
});
|
|
341025
341025
|
|
|
341026
|
-
// ../../packages/superdoc/dist/chunks/create-super-doc-ui-
|
|
341026
|
+
// ../../packages/superdoc/dist/chunks/create-super-doc-ui-C9QfOVVZ.es.js
|
|
341027
341027
|
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;
|
|
341028
|
-
var
|
|
341029
|
-
|
|
341030
|
-
|
|
341028
|
+
var init_create_super_doc_ui_C9QfOVVZ_es = __esm(() => {
|
|
341029
|
+
init_SuperConverter__qjy7QBM_es();
|
|
341030
|
+
init_create_headless_toolbar_CeMgVejU_es();
|
|
341031
341031
|
MOD_ALIASES = new Set([
|
|
341032
341032
|
"Mod",
|
|
341033
341033
|
"Meta",
|
|
@@ -341069,16 +341069,16 @@ var init_zipper_yaJVJ4z9_es = __esm(() => {
|
|
|
341069
341069
|
|
|
341070
341070
|
// ../../packages/superdoc/dist/super-editor.es.js
|
|
341071
341071
|
var init_super_editor_es = __esm(() => {
|
|
341072
|
-
|
|
341073
|
-
|
|
341072
|
+
init_src_CcSPT34Y_es();
|
|
341073
|
+
init_SuperConverter__qjy7QBM_es();
|
|
341074
341074
|
init_jszip_C49i9kUs_es();
|
|
341075
341075
|
init_xml_js_CqGKpaft_es();
|
|
341076
|
-
|
|
341076
|
+
init_create_headless_toolbar_CeMgVejU_es();
|
|
341077
341077
|
init_constants_DrU4EASo_es();
|
|
341078
341078
|
init_dist_B8HfvhaK_es();
|
|
341079
341079
|
init_unified_Dsuw2be5_es();
|
|
341080
341080
|
init_DocxZipper_CZMPWpOp_es();
|
|
341081
|
-
|
|
341081
|
+
init_create_super_doc_ui_C9QfOVVZ_es();
|
|
341082
341082
|
init_ui_C5PAS9hY_es();
|
|
341083
341083
|
init_eventemitter3_BnGqBE_Q_es();
|
|
341084
341084
|
init_errors_CNaD6vcg_es();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superdoc-dev/mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0-next.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/
|
|
23
|
-
"superdoc": "1.
|
|
24
|
-
"@superdoc/
|
|
22
|
+
"@superdoc/super-editor": "0.0.1",
|
|
23
|
+
"superdoc": "1.37.0",
|
|
24
|
+
"@superdoc/document-api": "0.0.1"
|
|
25
25
|
},
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|