@superdoc-dev/cli 0.17.0-next.50 → 0.17.0-next.51
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 +82 -29
- 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-8tQYSE1r.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.44.
|
|
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.1", 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_8tQYSE1r_es = __esm(() => {
|
|
137012
137012
|
init_rolldown_runtime_Bg48TavK_es();
|
|
137013
137013
|
init_jszip_C49i9kUs_es();
|
|
137014
137014
|
init_xml_js_CqGKpaft_es();
|
|
@@ -166019,7 +166019,7 @@ var init_SuperConverter_kpyJINN6_es = __esm(() => {
|
|
|
166019
166019
|
};
|
|
166020
166020
|
});
|
|
166021
166021
|
|
|
166022
|
-
// ../../packages/superdoc/dist/chunks/create-headless-toolbar-
|
|
166022
|
+
// ../../packages/superdoc/dist/chunks/create-headless-toolbar-J9k_n61d.es.js
|
|
166023
166023
|
function parseSizeUnit(val = "0") {
|
|
166024
166024
|
const length3 = val.toString() || "0";
|
|
166025
166025
|
const value = Number.parseFloat(length3);
|
|
@@ -176840,9 +176840,9 @@ var CSS_DIMENSION_REGEX, DOM_SIZE_UNITS, MARK_KEYS, STEP_OP_CATALOG_UNFROZEN2, P
|
|
|
176840
176840
|
}
|
|
176841
176841
|
};
|
|
176842
176842
|
};
|
|
176843
|
-
var
|
|
176843
|
+
var init_create_headless_toolbar_J9k_n61d_es = __esm(() => {
|
|
176844
176844
|
init_rolldown_runtime_Bg48TavK_es();
|
|
176845
|
-
|
|
176845
|
+
init_SuperConverter_8tQYSE1r_es();
|
|
176846
176846
|
init_jszip_C49i9kUs_es();
|
|
176847
176847
|
init_uuid_B2wVPhPi_es();
|
|
176848
176848
|
init_constants_D9qj59G2_es();
|
|
@@ -226935,7 +226935,7 @@ var init_remark_gfm_DCND_V_3_es = __esm(() => {
|
|
|
226935
226935
|
init_remark_gfm_BUJjZJLy_es();
|
|
226936
226936
|
});
|
|
226937
226937
|
|
|
226938
|
-
// ../../packages/superdoc/dist/chunks/src-
|
|
226938
|
+
// ../../packages/superdoc/dist/chunks/src-D32RsXxf.es.js
|
|
226939
226939
|
function deleteProps(obj, propOrProps) {
|
|
226940
226940
|
const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
|
|
226941
226941
|
const removeNested = (target, pathParts, index2 = 0) => {
|
|
@@ -227079,7 +227079,7 @@ function prosemirrorToYXmlFragment(doc$12, xmlFragment) {
|
|
|
227079
227079
|
}
|
|
227080
227080
|
function getSuperdocVersion() {
|
|
227081
227081
|
try {
|
|
227082
|
-
return "1.44.
|
|
227082
|
+
return "1.44.1";
|
|
227083
227083
|
} catch {
|
|
227084
227084
|
return "unknown";
|
|
227085
227085
|
}
|
|
@@ -261932,6 +261932,7 @@ function wrapRangeInAnchor(editor, target, id2) {
|
|
|
261932
261932
|
const { absFrom, absTo } = resolveSelectionTarget(editor, target);
|
|
261933
261933
|
if (absFrom >= absTo)
|
|
261934
261934
|
throw new DocumentApiAdapterError("INVALID_TARGET", "metadata.attach requires a non-empty text range.");
|
|
261935
|
+
assertNoOverlappingMetadataAnchor(editor, absFrom, absTo);
|
|
261935
261936
|
const nodeType = editor.schema.nodes[SDT_INLINE_NAME];
|
|
261936
261937
|
if (!nodeType)
|
|
261937
261938
|
throw new DocumentApiAdapterError("CAPABILITY_UNAVAILABLE", "Inline content-control node is not available.");
|
|
@@ -261948,7 +261949,8 @@ function wrapRangeInAnchor(editor, target, id2) {
|
|
|
261948
261949
|
const selectedContent = parentRun.content.cut($from.parentOffset, $to.parentOffset);
|
|
261949
261950
|
const leftContent = parentRun.content.cut(0, $from.parentOffset);
|
|
261950
261951
|
const rightContent = parentRun.content.cut($to.parentOffset);
|
|
261951
|
-
const
|
|
261952
|
+
const sdtContent = runType.create(parentRun.attrs, selectedContent, parentRun.marks);
|
|
261953
|
+
const sdtNode = nodeType.create(attrs, sdtContent);
|
|
261952
261954
|
const replacement = [];
|
|
261953
261955
|
if (leftContent.size > 0)
|
|
261954
261956
|
replacement.push(runType.create(parentRun.attrs, leftContent, parentRun.marks));
|
|
@@ -261969,8 +261971,13 @@ function unwrapAnchor(editor, id2) {
|
|
|
261969
261971
|
const anchor = findAnchorsById(editor, id2)[0];
|
|
261970
261972
|
if (!anchor)
|
|
261971
261973
|
return false;
|
|
261974
|
+
const { selection } = editor.state;
|
|
261972
261975
|
const { tr } = editor.state;
|
|
261973
|
-
|
|
261976
|
+
const from$1 = anchor.pos;
|
|
261977
|
+
const to = from$1 + anchor.node.nodeSize;
|
|
261978
|
+
tr.replaceWith(from$1, to, anchor.node.content);
|
|
261979
|
+
if (selection.from < to && from$1 < selection.to)
|
|
261980
|
+
tr.setSelection(TextSelection.create(tr.doc, tr.mapping.map(from$1, -1)));
|
|
261974
261981
|
dispatchTransaction2(editor, tr);
|
|
261975
261982
|
clearIndexCache(editor);
|
|
261976
261983
|
return true;
|
|
@@ -262006,6 +262013,30 @@ function rangesOverlap$1(aFrom, aTo, bFrom, bTo) {
|
|
|
262006
262013
|
return aFrom <= bTo && bFrom <= aTo;
|
|
262007
262014
|
return aFrom < bTo && bFrom < aTo;
|
|
262008
262015
|
}
|
|
262016
|
+
function isMetadataAnchorNode(metadataIds, node3) {
|
|
262017
|
+
const tag = node3.attrs?.tag;
|
|
262018
|
+
if (typeof tag !== "string" || tag.length === 0)
|
|
262019
|
+
return false;
|
|
262020
|
+
if (node3.attrs?.alias === "Anchored metadata")
|
|
262021
|
+
return true;
|
|
262022
|
+
return metadataIds.has(tag) && node3.attrs?.appearance === "hidden";
|
|
262023
|
+
}
|
|
262024
|
+
function findOverlappingMetadataAnchor(editor, absFrom, absTo) {
|
|
262025
|
+
const convertedXml = getConvertedXml2(editor);
|
|
262026
|
+
const metadataIds = new Set(listMetadataParts(convertedXml).flatMap((part) => part.entries.map((entry) => entry.id)));
|
|
262027
|
+
return findAllSdtNodes(editor.state.doc).find((sdt) => {
|
|
262028
|
+
if (sdt.kind !== "inline")
|
|
262029
|
+
return false;
|
|
262030
|
+
if (!isMetadataAnchorNode(metadataIds, sdt.node))
|
|
262031
|
+
return false;
|
|
262032
|
+
return rangesOverlap$1(sdt.pos + 1, sdt.pos + sdt.node.nodeSize - 1, absFrom, absTo);
|
|
262033
|
+
});
|
|
262034
|
+
}
|
|
262035
|
+
function assertNoOverlappingMetadataAnchor(editor, absFrom, absTo) {
|
|
262036
|
+
if (!findOverlappingMetadataAnchor(editor, absFrom, absTo))
|
|
262037
|
+
return;
|
|
262038
|
+
throw new DocumentApiAdapterError("INVALID_TARGET", "metadata.attach does not support overlapping metadata anchors.");
|
|
262039
|
+
}
|
|
262009
262040
|
function anchorOverlaps(editor, id2, within$1) {
|
|
262010
262041
|
const anchor = findAnchorsById(editor, id2)[0];
|
|
262011
262042
|
if (!anchor)
|
|
@@ -262117,8 +262148,9 @@ function metadataAttachWrapper(editor, input2, options) {
|
|
|
262117
262148
|
rejectTrackedMode("metadata.attach", options);
|
|
262118
262149
|
const id2 = input2.id ?? v4_default();
|
|
262119
262150
|
const convertedXml = getConvertedXml2(editor);
|
|
262151
|
+
let resolvedTarget;
|
|
262120
262152
|
try {
|
|
262121
|
-
resolveSelectionTarget(editor, input2.target);
|
|
262153
|
+
resolvedTarget = resolveSelectionTarget(editor, input2.target);
|
|
262122
262154
|
} catch (error3) {
|
|
262123
262155
|
const message = error3 instanceof Error ? error3.message : String(error3);
|
|
262124
262156
|
if (error3 instanceof DocumentApiAdapterError) {
|
|
@@ -262129,6 +262161,16 @@ function metadataAttachWrapper(editor, input2, options) {
|
|
|
262129
262161
|
}
|
|
262130
262162
|
if (hasPayloadEntry(convertedXml, id2) || hasAnchor(editor, id2))
|
|
262131
262163
|
return failure("INVALID_INPUT", `Anchored metadata id "${id2}" already exists.`);
|
|
262164
|
+
try {
|
|
262165
|
+
assertNoOverlappingMetadataAnchor(editor, resolvedTarget.absFrom, resolvedTarget.absTo);
|
|
262166
|
+
} catch (error3) {
|
|
262167
|
+
const message = error3 instanceof Error ? error3.message : String(error3);
|
|
262168
|
+
if (error3 instanceof DocumentApiAdapterError) {
|
|
262169
|
+
if (error3.code === "TARGET_NOT_FOUND" || error3.code === "INVALID_TARGET")
|
|
262170
|
+
return failure(error3.code, message);
|
|
262171
|
+
}
|
|
262172
|
+
throw error3;
|
|
262173
|
+
}
|
|
262132
262174
|
const preview = writeEntry(editor, input2.namespace, id2, input2.payload, true);
|
|
262133
262175
|
if (options?.dryRun) {
|
|
262134
262176
|
checkRevision(editor, options.expectedRevision);
|
|
@@ -262139,11 +262181,22 @@ function metadataAttachWrapper(editor, input2, options) {
|
|
|
262139
262181
|
partName: preview.partName
|
|
262140
262182
|
};
|
|
262141
262183
|
}
|
|
262142
|
-
|
|
262143
|
-
|
|
262144
|
-
|
|
262145
|
-
|
|
262146
|
-
|
|
262184
|
+
let receipt2;
|
|
262185
|
+
try {
|
|
262186
|
+
receipt2 = executeDomainCommand(editor, () => {
|
|
262187
|
+
wrapRangeInAnchor(editor, input2.target, id2);
|
|
262188
|
+
writeEntry(editor, input2.namespace, id2, input2.payload, false);
|
|
262189
|
+
return true;
|
|
262190
|
+
}, { expectedRevision: options?.expectedRevision });
|
|
262191
|
+
} catch (error3) {
|
|
262192
|
+
const message = error3 instanceof Error ? error3.message : String(error3);
|
|
262193
|
+
if (error3 instanceof DocumentApiAdapterError) {
|
|
262194
|
+
if (error3.code === "TARGET_NOT_FOUND" || error3.code === "INVALID_TARGET")
|
|
262195
|
+
return failure(error3.code, message);
|
|
262196
|
+
}
|
|
262197
|
+
throw error3;
|
|
262198
|
+
}
|
|
262199
|
+
if (receipt2.steps[0]?.effect !== "changed")
|
|
262147
262200
|
return failure("INVALID_TARGET", "metadata.attach did not change the document.");
|
|
262148
262201
|
const entry = findEntry(getConvertedXml2(editor), id2);
|
|
262149
262202
|
return {
|
|
@@ -306083,7 +306136,7 @@ var Node$13 = class Node$14 {
|
|
|
306083
306136
|
domAvailabilityCache = false;
|
|
306084
306137
|
return false;
|
|
306085
306138
|
}
|
|
306086
|
-
}, summaryVersion = "1.44.
|
|
306139
|
+
}, summaryVersion = "1.44.1", nodeKeys, markKeys, transformListsInCopiedContent = (html3) => {
|
|
306087
306140
|
const container = document.createElement("div");
|
|
306088
306141
|
container.innerHTML = html3;
|
|
306089
306142
|
const result = [];
|
|
@@ -307269,7 +307322,7 @@ var Node$13 = class Node$14 {
|
|
|
307269
307322
|
return () => {};
|
|
307270
307323
|
const handle3 = setInterval(callback, intervalMs);
|
|
307271
307324
|
return () => clearInterval(handle3);
|
|
307272
|
-
}, 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.
|
|
307325
|
+
}, 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.1", 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) => {
|
|
307273
307326
|
if (!isTrackedReviewMark(mark2))
|
|
307274
307327
|
return null;
|
|
307275
307328
|
const id2 = typeof mark2.attrs?.id === "string" ? mark2.attrs.id : "";
|
|
@@ -328156,13 +328209,13 @@ menclose::after {
|
|
|
328156
328209
|
return;
|
|
328157
328210
|
console.log(...args$1);
|
|
328158
328211
|
}, 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;
|
|
328159
|
-
var
|
|
328212
|
+
var init_src_D32RsXxf_es = __esm(() => {
|
|
328160
328213
|
init_rolldown_runtime_Bg48TavK_es();
|
|
328161
|
-
|
|
328214
|
+
init_SuperConverter_8tQYSE1r_es();
|
|
328162
328215
|
init_jszip_C49i9kUs_es();
|
|
328163
328216
|
init_xml_js_CqGKpaft_es();
|
|
328164
328217
|
init_uuid_B2wVPhPi_es();
|
|
328165
|
-
|
|
328218
|
+
init_create_headless_toolbar_J9k_n61d_es();
|
|
328166
328219
|
init_constants_D9qj59G2_es();
|
|
328167
328220
|
init_unified_BDuVPlMu_es();
|
|
328168
328221
|
init_remark_gfm_BUJjZJLy_es();
|
|
@@ -371469,11 +371522,11 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
371469
371522
|
]);
|
|
371470
371523
|
});
|
|
371471
371524
|
|
|
371472
|
-
// ../../packages/superdoc/dist/chunks/create-super-doc-ui-
|
|
371525
|
+
// ../../packages/superdoc/dist/chunks/create-super-doc-ui-CtI0KsfE.es.js
|
|
371473
371526
|
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;
|
|
371474
|
-
var
|
|
371475
|
-
|
|
371476
|
-
|
|
371527
|
+
var init_create_super_doc_ui_CtI0KsfE_es = __esm(() => {
|
|
371528
|
+
init_SuperConverter_8tQYSE1r_es();
|
|
371529
|
+
init_create_headless_toolbar_J9k_n61d_es();
|
|
371477
371530
|
DEFAULT_TEXT_ALIGN_OPTIONS = [
|
|
371478
371531
|
{
|
|
371479
371532
|
label: "Left",
|
|
@@ -371764,15 +371817,15 @@ var init_zipper_BxRAi0_5_es = __esm(() => {
|
|
|
371764
371817
|
|
|
371765
371818
|
// ../../packages/superdoc/dist/super-editor.es.js
|
|
371766
371819
|
var init_super_editor_es = __esm(() => {
|
|
371767
|
-
|
|
371768
|
-
|
|
371820
|
+
init_src_D32RsXxf_es();
|
|
371821
|
+
init_SuperConverter_8tQYSE1r_es();
|
|
371769
371822
|
init_jszip_C49i9kUs_es();
|
|
371770
371823
|
init_xml_js_CqGKpaft_es();
|
|
371771
|
-
|
|
371824
|
+
init_create_headless_toolbar_J9k_n61d_es();
|
|
371772
371825
|
init_constants_D9qj59G2_es();
|
|
371773
371826
|
init_unified_BDuVPlMu_es();
|
|
371774
371827
|
init_DocxZipper_BzS208BW_es();
|
|
371775
|
-
|
|
371828
|
+
init_create_super_doc_ui_CtI0KsfE_es();
|
|
371776
371829
|
init_ui_CGB3qmy3_es();
|
|
371777
371830
|
init_eventemitter3_UwU_CLPU_es();
|
|
371778
371831
|
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.51",
|
|
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.20.0",
|
|
30
|
-
"@superdoc/super-editor": "0.0.1",
|
|
31
29
|
"@superdoc/document-api": "0.1.0-alpha.0",
|
|
32
|
-
"superdoc": "1.
|
|
30
|
+
"@superdoc-dev/sdk": "1.20.1",
|
|
31
|
+
"@superdoc/super-editor": "0.0.1",
|
|
32
|
+
"superdoc": "1.44.1"
|
|
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-windows-x64": "0.17.0-next.
|
|
43
|
-
"@superdoc-dev/cli-linux-
|
|
39
|
+
"@superdoc-dev/cli-darwin-arm64": "0.17.0-next.51",
|
|
40
|
+
"@superdoc-dev/cli-darwin-x64": "0.17.0-next.51",
|
|
41
|
+
"@superdoc-dev/cli-linux-x64": "0.17.0-next.51",
|
|
42
|
+
"@superdoc-dev/cli-windows-x64": "0.17.0-next.51",
|
|
43
|
+
"@superdoc-dev/cli-linux-arm64": "0.17.0-next.51"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
46
|
"predev": "node scripts/ensure-superdoc-build.js",
|