@superdoc-dev/mcp 0.3.0-next.72 → 0.3.0-next.73
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 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -199725,7 +199725,7 @@ var init_remark_gfm_eZN6yzWQ_es = __esm(() => {
|
|
|
199725
199725
|
init_remark_gfm_BhnWr3yf_es();
|
|
199726
199726
|
});
|
|
199727
199727
|
|
|
199728
|
-
// ../../packages/superdoc/dist/chunks/src-
|
|
199728
|
+
// ../../packages/superdoc/dist/chunks/src-BLxaw1d3.es.js
|
|
199729
199729
|
function deleteProps(obj, propOrProps) {
|
|
199730
199730
|
const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
|
|
199731
199731
|
const removeNested = (target, pathParts, index2 = 0) => {
|
|
@@ -284856,7 +284856,10 @@ menclose::after {
|
|
|
284856
284856
|
const attrs = block.attrs;
|
|
284857
284857
|
if (!attrs)
|
|
284858
284858
|
return false;
|
|
284859
|
-
const
|
|
284859
|
+
const directionContext = attrs.directionContext;
|
|
284860
|
+
if (directionContext?.inlineDirection != null)
|
|
284861
|
+
return directionContext.inlineDirection === "rtl";
|
|
284862
|
+
const directionAttr = attrs.direction ?? attrs.dir;
|
|
284860
284863
|
if (typeof directionAttr === "string" && directionAttr.toLowerCase() === "rtl")
|
|
284861
284864
|
return true;
|
|
284862
284865
|
return false;
|
|
@@ -293033,7 +293036,7 @@ menclose::after {
|
|
|
293033
293036
|
return;
|
|
293034
293037
|
console.log(...args$1);
|
|
293035
293038
|
}, 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;
|
|
293036
|
-
var
|
|
293039
|
+
var init_src_BLxaw1d3_es = __esm(() => {
|
|
293037
293040
|
init_rolldown_runtime_Bg48TavK_es();
|
|
293038
293041
|
init_SuperConverter_BecdrRIX_es();
|
|
293039
293042
|
init_jszip_C49i9kUs_es();
|
|
@@ -330927,7 +330930,7 @@ var init_zipper_BxRAi0_5_es = __esm(() => {
|
|
|
330927
330930
|
|
|
330928
330931
|
// ../../packages/superdoc/dist/super-editor.es.js
|
|
330929
330932
|
var init_super_editor_es = __esm(() => {
|
|
330930
|
-
|
|
330933
|
+
init_src_BLxaw1d3_es();
|
|
330931
330934
|
init_SuperConverter_BecdrRIX_es();
|
|
330932
330935
|
init_jszip_C49i9kUs_es();
|
|
330933
330936
|
init_xml_js_CqGKpaft_es();
|
|
@@ -469144,7 +469147,12 @@ function jsonSchemaPropertyToZod(prop) {
|
|
|
469144
469147
|
return exports_external.enum(values2).describe(desc ?? "");
|
|
469145
469148
|
}
|
|
469146
469149
|
}
|
|
469147
|
-
|
|
469150
|
+
const variants = prop.oneOf ?? prop.anyOf ?? prop.allOf;
|
|
469151
|
+
if (variants) {
|
|
469152
|
+
const allObjectVariants = variants.every((v) => v?.type === "object");
|
|
469153
|
+
if (allObjectVariants) {
|
|
469154
|
+
return desc ? exports_external.looseObject({}).describe(desc) : exports_external.looseObject({});
|
|
469155
|
+
}
|
|
469148
469156
|
return desc ? exports_external.unknown().describe(desc) : exports_external.unknown();
|
|
469149
469157
|
}
|
|
469150
469158
|
switch (type) {
|
|
@@ -469158,7 +469166,7 @@ function jsonSchemaPropertyToZod(prop) {
|
|
|
469158
469166
|
case "array":
|
|
469159
469167
|
return desc ? exports_external.array(exports_external.unknown()).describe(desc) : exports_external.array(exports_external.unknown());
|
|
469160
469168
|
case "object":
|
|
469161
|
-
return desc ? exports_external.
|
|
469169
|
+
return desc ? exports_external.looseObject({}).describe(desc) : exports_external.looseObject({});
|
|
469162
469170
|
default:
|
|
469163
469171
|
return desc ? exports_external.unknown().describe(desc) : exports_external.unknown();
|
|
469164
469172
|
}
|