@superdoc-dev/cli 0.17.0-next.48 → 0.17.0-next.49
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 +123 -22
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -68358,7 +68358,7 @@ var init_remark_gfm_BUJjZJLy_es = __esm(() => {
|
|
|
68358
68358
|
emptyOptions2 = {};
|
|
68359
68359
|
});
|
|
68360
68360
|
|
|
68361
|
-
// ../../packages/superdoc/dist/chunks/SuperConverter-
|
|
68361
|
+
// ../../packages/superdoc/dist/chunks/SuperConverter-SsIUcBUk.es.js
|
|
68362
68362
|
function getExtensionConfigField(extension$1, field, context = { name: "" }) {
|
|
68363
68363
|
const fieldValue = extension$1.config[field];
|
|
68364
68364
|
if (typeof fieldValue === "function")
|
|
@@ -136974,7 +136974,7 @@ Docs: https://docs.superdoc.dev/getting-started/fonts`);
|
|
|
136974
136974
|
return out;
|
|
136975
136975
|
}
|
|
136976
136976
|
return out;
|
|
136977
|
-
}, groupedCache, SDT_NODE_NAMES, SDT_BLOCK_NAME = "structuredContentBlock", SDT_INLINE_NAME = "structuredContent", SDT_NODE_TYPES, VALID_CONTROL_TYPES, VALID_LOCK_MODES2, 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.
|
|
136977
|
+
}, groupedCache, SDT_NODE_NAMES, SDT_BLOCK_NAME = "structuredContentBlock", SDT_INLINE_NAME = "structuredContent", SDT_NODE_TYPES, VALID_CONTROL_TYPES, VALID_LOCK_MODES2, 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.44.0", SUPERDOC_DOCUMENT_ORIGIN_PROPERTY = "SuperdocDocumentOrigin", STORED_DOCUMENT_ORIGINS, collectRunDefaultProperties = (runProps, { allowOverrideTypeface = true, allowOverrideSize = true, themeResolver, state }) => {
|
|
136978
136978
|
if (!runProps?.elements?.length || !state)
|
|
136979
136979
|
return;
|
|
136980
136980
|
const fontsNode = runProps.elements.find((el) => el.name === "w:rFonts");
|
|
@@ -137008,7 +137008,7 @@ Docs: https://docs.superdoc.dev/getting-started/fonts`);
|
|
|
137008
137008
|
state.kern = kernNode.attributes["w:val"];
|
|
137009
137009
|
}
|
|
137010
137010
|
}, SuperConverter;
|
|
137011
|
-
var
|
|
137011
|
+
var init_SuperConverter_SsIUcBUk_es = __esm(() => {
|
|
137012
137012
|
init_rolldown_runtime_Bg48TavK_es();
|
|
137013
137013
|
init_jszip_C49i9kUs_es();
|
|
137014
137014
|
init_xml_js_CqGKpaft_es();
|
|
@@ -166024,7 +166024,7 @@ var init_SuperConverter_C8jVt4Ml_es = __esm(() => {
|
|
|
166024
166024
|
};
|
|
166025
166025
|
});
|
|
166026
166026
|
|
|
166027
|
-
// ../../packages/superdoc/dist/chunks/create-headless-toolbar-
|
|
166027
|
+
// ../../packages/superdoc/dist/chunks/create-headless-toolbar-JMykgI82.es.js
|
|
166028
166028
|
function parseSizeUnit(val = "0") {
|
|
166029
166029
|
const length3 = val.toString() || "0";
|
|
166030
166030
|
const value = Number.parseFloat(length3);
|
|
@@ -176845,9 +176845,9 @@ var CSS_DIMENSION_REGEX, DOM_SIZE_UNITS, MARK_KEYS, STEP_OP_CATALOG_UNFROZEN2, P
|
|
|
176845
176845
|
}
|
|
176846
176846
|
};
|
|
176847
176847
|
};
|
|
176848
|
-
var
|
|
176848
|
+
var init_create_headless_toolbar_JMykgI82_es = __esm(() => {
|
|
176849
176849
|
init_rolldown_runtime_Bg48TavK_es();
|
|
176850
|
-
|
|
176850
|
+
init_SuperConverter_SsIUcBUk_es();
|
|
176851
176851
|
init_jszip_C49i9kUs_es();
|
|
176852
176852
|
init_uuid_B2wVPhPi_es();
|
|
176853
176853
|
init_constants_D9qj59G2_es();
|
|
@@ -226940,7 +226940,7 @@ var init_remark_gfm_DCND_V_3_es = __esm(() => {
|
|
|
226940
226940
|
init_remark_gfm_BUJjZJLy_es();
|
|
226941
226941
|
});
|
|
226942
226942
|
|
|
226943
|
-
// ../../packages/superdoc/dist/chunks/src-
|
|
226943
|
+
// ../../packages/superdoc/dist/chunks/src-CA6yipr-.es.js
|
|
226944
226944
|
function deleteProps(obj, propOrProps) {
|
|
226945
226945
|
const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
|
|
226946
226946
|
const removeNested = (target, pathParts, index2 = 0) => {
|
|
@@ -227084,7 +227084,7 @@ function prosemirrorToYXmlFragment(doc$12, xmlFragment) {
|
|
|
227084
227084
|
}
|
|
227085
227085
|
function getSuperdocVersion() {
|
|
227086
227086
|
try {
|
|
227087
|
-
return "1.
|
|
227087
|
+
return "1.44.0";
|
|
227088
227088
|
} catch {
|
|
227089
227089
|
return "unknown";
|
|
227090
227090
|
}
|
|
@@ -306088,7 +306088,7 @@ var Node$13 = class Node$14 {
|
|
|
306088
306088
|
domAvailabilityCache = false;
|
|
306089
306089
|
return false;
|
|
306090
306090
|
}
|
|
306091
|
-
}, summaryVersion = "1.
|
|
306091
|
+
}, summaryVersion = "1.44.0", nodeKeys, markKeys, transformListsInCopiedContent = (html3) => {
|
|
306092
306092
|
const container = document.createElement("div");
|
|
306093
306093
|
container.innerHTML = html3;
|
|
306094
306094
|
const result = [];
|
|
@@ -307274,7 +307274,7 @@ var Node$13 = class Node$14 {
|
|
|
307274
307274
|
return () => {};
|
|
307275
307275
|
const handle3 = setInterval(callback, intervalMs);
|
|
307276
307276
|
return () => clearInterval(handle3);
|
|
307277
|
-
}, 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, 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, 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.
|
|
307277
|
+
}, 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, 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, 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.44.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) => {
|
|
307278
307278
|
if (!isTrackedReviewMark(mark2))
|
|
307279
307279
|
return null;
|
|
307280
307280
|
const id2 = typeof mark2.attrs?.id === "string" ? mark2.attrs.id : "";
|
|
@@ -311703,6 +311703,95 @@ menclose::after {
|
|
|
311703
311703
|
ownIsEnd: boundary.ownIsEnd === undefined ? undefined : boundary.ownIsEnd && isLastSlice,
|
|
311704
311704
|
ownShowLabel: boundary.ownShowLabel === undefined ? undefined : boundary.ownShowLabel && isFirstSlice
|
|
311705
311705
|
};
|
|
311706
|
+
}, getCellBlockSegmentCount = (blockMeasure) => {
|
|
311707
|
+
if (blockMeasure.kind === "paragraph")
|
|
311708
|
+
return blockMeasure.lines?.length || 0;
|
|
311709
|
+
if (blockMeasure.kind === "table")
|
|
311710
|
+
return getEmbeddedTableSegmentCount(blockMeasure);
|
|
311711
|
+
if (blockMeasure.kind === "image" || blockMeasure.kind === "drawing")
|
|
311712
|
+
return blockMeasure.height > 0 ? 1 : 0;
|
|
311713
|
+
return 0;
|
|
311714
|
+
}, computeRenderedParagraphFlowHeight = (block, measure, localStartLine, localEndLine, isFirstBlock, isLastBlock, paddingTop) => {
|
|
311715
|
+
const lines = measure.lines ?? [];
|
|
311716
|
+
const renderedLocalEndLine = Math.min(localEndLine, lines.length);
|
|
311717
|
+
let renderedHeight = 0;
|
|
311718
|
+
for (let lineIdx = localStartLine;lineIdx < renderedLocalEndLine; lineIdx += 1)
|
|
311719
|
+
renderedHeight += lines[lineIdx]?.lineHeight ?? 0;
|
|
311720
|
+
const renderedEntireBlock = localStartLine === 0 && renderedLocalEndLine >= lines.length;
|
|
311721
|
+
if (renderedEntireBlock && measure.totalHeight && measure.totalHeight > renderedHeight)
|
|
311722
|
+
renderedHeight = measure.totalHeight;
|
|
311723
|
+
const beforeHeight = localStartLine === 0 ? effectiveTableCellSpacing(block.attrs?.spacing?.before, isFirstBlock, paddingTop) : 0;
|
|
311724
|
+
const spacingAfter = block.attrs?.spacing?.after;
|
|
311725
|
+
const afterHeight = renderedEntireBlock && !isLastBlock && typeof spacingAfter === "number" && spacingAfter > 0 ? spacingAfter : 0;
|
|
311726
|
+
return beforeHeight + renderedHeight + afterHeight;
|
|
311727
|
+
}, computeRenderedBlockFlowHeight = (block, blockMeasure, blockIndex, blockStartGlobal, blockEndGlobal, globalFromLine, globalToLine, blockCount, paddingTop) => {
|
|
311728
|
+
if (blockEndGlobal <= globalFromLine || blockStartGlobal >= globalToLine)
|
|
311729
|
+
return 0;
|
|
311730
|
+
if (blockMeasure.kind === "paragraph" && block.kind === "paragraph") {
|
|
311731
|
+
const blockLineCount = blockMeasure.lines?.length || 0;
|
|
311732
|
+
return computeRenderedParagraphFlowHeight(block, blockMeasure, Math.max(0, globalFromLine - blockStartGlobal), Math.min(blockLineCount, globalToLine - blockStartGlobal), blockIndex === 0, blockIndex === blockCount - 1, paddingTop);
|
|
311733
|
+
}
|
|
311734
|
+
if (blockMeasure.kind === "table")
|
|
311735
|
+
return computeCellVisibleHeight({
|
|
311736
|
+
blocks: [blockMeasure],
|
|
311737
|
+
width: 0,
|
|
311738
|
+
height: 0
|
|
311739
|
+
}, Math.max(0, globalFromLine - blockStartGlobal), Math.min(blockEndGlobal - blockStartGlobal, globalToLine - blockStartGlobal));
|
|
311740
|
+
if (blockMeasure.kind === "image" || blockMeasure.kind === "drawing") {
|
|
311741
|
+
if ((block.kind === "image" || block.kind === "drawing") && block.anchor?.isAnchored)
|
|
311742
|
+
return 0;
|
|
311743
|
+
return blockMeasure.height;
|
|
311744
|
+
}
|
|
311745
|
+
return 0;
|
|
311746
|
+
}, resolveCellAnchoredTop = (params$1) => {
|
|
311747
|
+
const offsetV = params$1.anchor?.offsetV ?? 0;
|
|
311748
|
+
const vRelativeFrom = params$1.anchor?.vRelativeFrom;
|
|
311749
|
+
if (vRelativeFrom !== undefined && vRelativeFrom !== "paragraph")
|
|
311750
|
+
return {
|
|
311751
|
+
top: offsetV,
|
|
311752
|
+
paragraphResolved: false
|
|
311753
|
+
};
|
|
311754
|
+
if (!params$1.anchorParagraphId)
|
|
311755
|
+
return {
|
|
311756
|
+
top: offsetV,
|
|
311757
|
+
paragraphResolved: false
|
|
311758
|
+
};
|
|
311759
|
+
let flowY = 0;
|
|
311760
|
+
let cumulativeLineCount = 0;
|
|
311761
|
+
const blockCount = Math.min(params$1.blockMeasures.length, params$1.cellBlocks.length);
|
|
311762
|
+
for (let i3 = 0;i3 < blockCount; i3 += 1) {
|
|
311763
|
+
const blockMeasure = params$1.blockMeasures[i3];
|
|
311764
|
+
const block = params$1.cellBlocks[i3];
|
|
311765
|
+
const blockSegmentCount = getCellBlockSegmentCount(blockMeasure);
|
|
311766
|
+
const blockStartGlobal = cumulativeLineCount;
|
|
311767
|
+
const blockEndGlobal = cumulativeLineCount + blockSegmentCount;
|
|
311768
|
+
if (block.kind === "paragraph" && block.id === params$1.anchorParagraphId) {
|
|
311769
|
+
if (blockStartGlobal < params$1.globalFromLine || blockStartGlobal >= params$1.globalToLine)
|
|
311770
|
+
return null;
|
|
311771
|
+
const firstLineHeight = blockMeasure.lines?.[0]?.lineHeight ?? 0;
|
|
311772
|
+
return {
|
|
311773
|
+
top: resolveAnchoredGraphicY({
|
|
311774
|
+
anchor: {
|
|
311775
|
+
vRelativeFrom,
|
|
311776
|
+
alignV: params$1.anchor?.alignV,
|
|
311777
|
+
offsetV
|
|
311778
|
+
},
|
|
311779
|
+
objectHeight: params$1.objectHeight,
|
|
311780
|
+
contentTop: 0,
|
|
311781
|
+
contentBottom: 0,
|
|
311782
|
+
anchorParagraphY: flowY,
|
|
311783
|
+
firstLineHeight
|
|
311784
|
+
}),
|
|
311785
|
+
paragraphResolved: true
|
|
311786
|
+
};
|
|
311787
|
+
}
|
|
311788
|
+
flowY += computeRenderedBlockFlowHeight(block, blockMeasure, i3, blockStartGlobal, blockEndGlobal, params$1.globalFromLine, params$1.globalToLine, blockCount, params$1.paddingTop);
|
|
311789
|
+
cumulativeLineCount = blockEndGlobal;
|
|
311790
|
+
}
|
|
311791
|
+
return {
|
|
311792
|
+
top: offsetV,
|
|
311793
|
+
paragraphResolved: false
|
|
311794
|
+
};
|
|
311706
311795
|
}, applyInlineStyles = (el, styles) => {
|
|
311707
311796
|
Object.entries(styles).forEach(([key2, value]) => {
|
|
311708
311797
|
if (value != null && value !== "" && key2 in el.style)
|
|
@@ -312047,7 +312136,19 @@ menclose::after {
|
|
|
312047
312136
|
const baseLeft = anchor.offsetH ?? 0;
|
|
312048
312137
|
const indentOffset = typeof tableIndent === "number" && Number.isFinite(tableIndent) ? tableIndent : 0;
|
|
312049
312138
|
const left$1 = anchor.hRelativeFrom === "column" ? baseLeft - x - indentOffset : baseLeft;
|
|
312050
|
-
const
|
|
312139
|
+
const resolvedTop = resolveCellAnchoredTop({
|
|
312140
|
+
anchor,
|
|
312141
|
+
anchorParagraphId: typeof anchoredBlock.attrs?.anchorParagraphId === "string" ? anchoredBlock.attrs.anchorParagraphId : undefined,
|
|
312142
|
+
cellBlocks,
|
|
312143
|
+
blockMeasures,
|
|
312144
|
+
globalFromLine,
|
|
312145
|
+
globalToLine,
|
|
312146
|
+
paddingTop,
|
|
312147
|
+
objectHeight
|
|
312148
|
+
});
|
|
312149
|
+
if (resolvedTop === null)
|
|
312150
|
+
continue;
|
|
312151
|
+
const top$1 = resolvedTop.top + (resolvedTop.paragraphResolved ? alignmentOffsetY : 0);
|
|
312051
312152
|
const behindDoc = anchor.behindDoc === true || anchoredBlock.wrap?.type === "None" && anchoredBlock.wrap?.behindDoc;
|
|
312052
312153
|
const zIndex = typeof anchoredBlock.zIndex === "number" ? anchoredBlock.zIndex : normalizeZIndex(anchoredBlock.attrs?.originalAttributes) ?? (behindDoc ? -1 : 1);
|
|
312053
312154
|
const wrap5 = anchoredBlock.wrap;
|
|
@@ -328060,13 +328161,13 @@ menclose::after {
|
|
|
328060
328161
|
return;
|
|
328061
328162
|
console.log(...args$1);
|
|
328062
328163
|
}, 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;
|
|
328063
|
-
var
|
|
328164
|
+
var init_src_CA6yipr_es = __esm(() => {
|
|
328064
328165
|
init_rolldown_runtime_Bg48TavK_es();
|
|
328065
|
-
|
|
328166
|
+
init_SuperConverter_SsIUcBUk_es();
|
|
328066
328167
|
init_jszip_C49i9kUs_es();
|
|
328067
328168
|
init_xml_js_CqGKpaft_es();
|
|
328068
328169
|
init_uuid_B2wVPhPi_es();
|
|
328069
|
-
|
|
328170
|
+
init_create_headless_toolbar_JMykgI82_es();
|
|
328070
328171
|
init_constants_D9qj59G2_es();
|
|
328071
328172
|
init_unified_BDuVPlMu_es();
|
|
328072
328173
|
init_remark_gfm_BUJjZJLy_es();
|
|
@@ -371373,11 +371474,11 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
371373
371474
|
]);
|
|
371374
371475
|
});
|
|
371375
371476
|
|
|
371376
|
-
// ../../packages/superdoc/dist/chunks/create-super-doc-ui-
|
|
371477
|
+
// ../../packages/superdoc/dist/chunks/create-super-doc-ui-DzAhRsHL.es.js
|
|
371377
371478
|
var DEFAULT_TEXT_ALIGN_OPTIONS, DEFAULT_LINE_HEIGHT_OPTIONS, DEFAULT_ZOOM_OPTIONS, DEFAULT_DOCUMENT_MODE_OPTIONS, DEFAULT_FONT_SIZE_OPTIONS, headlessToolbarConstants, 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, FONT_SIZE_OPTIONS;
|
|
371378
|
-
var
|
|
371379
|
-
|
|
371380
|
-
|
|
371479
|
+
var init_create_super_doc_ui_DzAhRsHL_es = __esm(() => {
|
|
371480
|
+
init_SuperConverter_SsIUcBUk_es();
|
|
371481
|
+
init_create_headless_toolbar_JMykgI82_es();
|
|
371381
371482
|
DEFAULT_TEXT_ALIGN_OPTIONS = [
|
|
371382
371483
|
{
|
|
371383
371484
|
label: "Left",
|
|
@@ -371668,15 +371769,15 @@ var init_zipper_BxRAi0_5_es = __esm(() => {
|
|
|
371668
371769
|
|
|
371669
371770
|
// ../../packages/superdoc/dist/super-editor.es.js
|
|
371670
371771
|
var init_super_editor_es = __esm(() => {
|
|
371671
|
-
|
|
371672
|
-
|
|
371772
|
+
init_src_CA6yipr_es();
|
|
371773
|
+
init_SuperConverter_SsIUcBUk_es();
|
|
371673
371774
|
init_jszip_C49i9kUs_es();
|
|
371674
371775
|
init_xml_js_CqGKpaft_es();
|
|
371675
|
-
|
|
371776
|
+
init_create_headless_toolbar_JMykgI82_es();
|
|
371676
371777
|
init_constants_D9qj59G2_es();
|
|
371677
371778
|
init_unified_BDuVPlMu_es();
|
|
371678
371779
|
init_DocxZipper_BzS208BW_es();
|
|
371679
|
-
|
|
371780
|
+
init_create_super_doc_ui_DzAhRsHL_es();
|
|
371680
371781
|
init_ui_CGB3qmy3_es();
|
|
371681
371782
|
init_eventemitter3_UwU_CLPU_es();
|
|
371682
371783
|
init_errors_C_DoKMoN_es();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superdoc-dev/cli",
|
|
3
|
-
"version": "0.17.0-next.
|
|
3
|
+
"version": "0.17.0-next.49",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"superdoc": "./dist/index.js"
|
|
@@ -26,21 +26,21 @@
|
|
|
26
26
|
"lib0": "^0.2.114",
|
|
27
27
|
"typescript": "^5.9.2",
|
|
28
28
|
"y-protocols": "^1.0.6",
|
|
29
|
-
"@superdoc-dev/sdk": "1.19.1",
|
|
30
|
-
"@superdoc/document-api": "0.1.0-alpha.0",
|
|
31
29
|
"@superdoc/super-editor": "0.0.1",
|
|
32
|
-
"superdoc": "1.
|
|
30
|
+
"@superdoc/document-api": "0.1.0-alpha.0",
|
|
31
|
+
"superdoc": "1.44.0",
|
|
32
|
+
"@superdoc-dev/sdk": "1.20.0"
|
|
33
33
|
},
|
|
34
34
|
"module": "src/index.ts",
|
|
35
35
|
"publishConfig": {
|
|
36
36
|
"access": "public"
|
|
37
37
|
},
|
|
38
38
|
"optionalDependencies": {
|
|
39
|
-
"@superdoc-dev/cli-darwin-arm64": "0.17.0-next.
|
|
40
|
-
"@superdoc-dev/cli-darwin-x64": "0.17.0-next.
|
|
41
|
-
"@superdoc-dev/cli-linux-
|
|
42
|
-
"@superdoc-dev/cli-
|
|
43
|
-
"@superdoc-dev/cli-
|
|
39
|
+
"@superdoc-dev/cli-darwin-arm64": "0.17.0-next.49",
|
|
40
|
+
"@superdoc-dev/cli-darwin-x64": "0.17.0-next.49",
|
|
41
|
+
"@superdoc-dev/cli-linux-arm64": "0.17.0-next.49",
|
|
42
|
+
"@superdoc-dev/cli-windows-x64": "0.17.0-next.49",
|
|
43
|
+
"@superdoc-dev/cli-linux-x64": "0.17.0-next.49"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
46
|
"predev": "node scripts/ensure-superdoc-build.js",
|