@superdoc-dev/mcp 0.6.0-next.3 → 0.6.0-next.5
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 +14 -8
- 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-89KDSWz7.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) => {
|
|
@@ -210988,6 +210988,8 @@ function shouldProcessEqualAsModification$1(oldParagraph, newParagraph) {
|
|
|
210988
210988
|
return JSON.stringify(oldNormalized) !== JSON.stringify(newNormalized);
|
|
210989
210989
|
}
|
|
210990
210990
|
function paragraphComparator(oldParagraph, newParagraph) {
|
|
210991
|
+
if (oldParagraph?.depth !== newParagraph?.depth)
|
|
210992
|
+
return false;
|
|
210991
210993
|
const oldId = oldParagraph?.node?.attrs?.paraId;
|
|
210992
210994
|
const newId = newParagraph?.node?.attrs?.paraId;
|
|
210993
210995
|
if (oldId && newId && oldId === newId)
|
|
@@ -211030,6 +211032,8 @@ function buildModifiedParagraphDiff(oldParagraph, newParagraph) {
|
|
|
211030
211032
|
};
|
|
211031
211033
|
}
|
|
211032
211034
|
function canTreatAsModification(oldParagraph, newParagraph) {
|
|
211035
|
+
if (oldParagraph?.depth !== newParagraph?.depth)
|
|
211036
|
+
return false;
|
|
211033
211037
|
if (paragraphComparator(oldParagraph, newParagraph))
|
|
211034
211038
|
return true;
|
|
211035
211039
|
const oldText = oldParagraph.fullText;
|
|
@@ -258151,12 +258155,8 @@ function tableNodeToBlock(node2, { nextBlockId, positions, storyKey, trackedChan
|
|
|
258151
258155
|
const tableProperties = node2.attrs?.tableProperties;
|
|
258152
258156
|
if (tableProperties && typeof tableProperties === "object")
|
|
258153
258157
|
tableAttrs.tableProperties = tableProperties;
|
|
258154
|
-
const styleResolvedTableProps = effectiveStyleId && converterContext?.translatedLinkedStyles ? resolveTableProperties(effectiveStyleId, converterContext.translatedLinkedStyles) : undefined;
|
|
258155
258158
|
const inlineProps = rawTableProperties;
|
|
258156
|
-
|
|
258157
|
-
const inlineVisual = inlineProps?.rightToLeft ?? inlineProps?.bidiVisual;
|
|
258158
|
-
const styleVisual = styleProps?.rightToLeft ?? styleProps?.bidiVisual;
|
|
258159
|
-
tableAttrs.tableDirectionContext = resolveTableDirection({ rightToLeft: inlineVisual ?? styleVisual }, converterContext?.sectionDirectionContext ?? resolveSectionDirection(undefined));
|
|
258159
|
+
tableAttrs.tableDirectionContext = resolveTableDirection({ rightToLeft: inlineProps?.rightToLeft ?? inlineProps?.bidiVisual }, converterContext?.sectionDirectionContext ?? resolveSectionDirection(undefined));
|
|
258160
258160
|
let columnWidths = undefined;
|
|
258161
258161
|
const twipsToPixels$2 = (twips) => {
|
|
258162
258162
|
return twips / 1440 * 96;
|
|
@@ -295445,7 +295445,7 @@ menclose::after {
|
|
|
295445
295445
|
return;
|
|
295446
295446
|
console.log(...args$1);
|
|
295447
295447
|
}, 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;
|
|
295448
|
-
var
|
|
295448
|
+
var init_src_89KDSWz7_es = __esm(() => {
|
|
295449
295449
|
init_rolldown_runtime_Bg48TavK_es();
|
|
295450
295450
|
init_SuperConverter_CnwfJPj6_es();
|
|
295451
295451
|
init_jszip_C49i9kUs_es();
|
|
@@ -333664,7 +333664,7 @@ var init_zipper_BxRAi0_5_es = __esm(() => {
|
|
|
333664
333664
|
|
|
333665
333665
|
// ../../packages/superdoc/dist/super-editor.es.js
|
|
333666
333666
|
var init_super_editor_es = __esm(() => {
|
|
333667
|
-
|
|
333667
|
+
init_src_89KDSWz7_es();
|
|
333668
333668
|
init_SuperConverter_CnwfJPj6_es();
|
|
333669
333669
|
init_jszip_C49i9kUs_es();
|
|
333670
333670
|
init_xml_js_CqGKpaft_es();
|
|
@@ -454198,6 +454198,9 @@ function shouldProcessEqualAsModification3(oldParagraph, newParagraph) {
|
|
|
454198
454198
|
return JSON.stringify(oldNormalized) !== JSON.stringify(newNormalized);
|
|
454199
454199
|
}
|
|
454200
454200
|
function paragraphComparator2(oldParagraph, newParagraph) {
|
|
454201
|
+
if (oldParagraph?.depth !== newParagraph?.depth) {
|
|
454202
|
+
return false;
|
|
454203
|
+
}
|
|
454201
454204
|
const oldId = oldParagraph?.node?.attrs?.paraId;
|
|
454202
454205
|
const newId = newParagraph?.node?.attrs?.paraId;
|
|
454203
454206
|
if (oldId && newId && oldId === newId) {
|
|
@@ -454244,6 +454247,9 @@ function buildModifiedParagraphDiff2(oldParagraph, newParagraph) {
|
|
|
454244
454247
|
};
|
|
454245
454248
|
}
|
|
454246
454249
|
function canTreatAsModification2(oldParagraph, newParagraph) {
|
|
454250
|
+
if (oldParagraph?.depth !== newParagraph?.depth) {
|
|
454251
|
+
return false;
|
|
454252
|
+
}
|
|
454247
454253
|
if (paragraphComparator2(oldParagraph, newParagraph)) {
|
|
454248
454254
|
return true;
|
|
454249
454255
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superdoc-dev/mcp",
|
|
3
|
-
"version": "0.6.0-next.
|
|
3
|
+
"version": "0.6.0-next.5",
|
|
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/
|
|
22
|
+
"@superdoc/document-api": "0.0.1",
|
|
23
23
|
"superdoc": "1.33.1",
|
|
24
|
-
"@superdoc/
|
|
24
|
+
"@superdoc/super-editor": "0.0.1"
|
|
25
25
|
},
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|