@superdoc-dev/cli 0.14.0-next.6 → 0.15.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 +7 -7
package/dist/index.js
CHANGED
|
@@ -67793,7 +67793,7 @@ var init_remark_gfm_BhnWr3yf_es = __esm(() => {
|
|
|
67793
67793
|
emptyOptions2 = {};
|
|
67794
67794
|
});
|
|
67795
67795
|
|
|
67796
|
-
// ../../packages/superdoc/dist/chunks/SuperConverter-
|
|
67796
|
+
// ../../packages/superdoc/dist/chunks/SuperConverter-_qjy7QBM.es.js
|
|
67797
67797
|
function getExtensionConfigField(extension$1, field, context = { name: "" }) {
|
|
67798
67798
|
const fieldValue = extension$1.config[field];
|
|
67799
67799
|
if (typeof fieldValue === "function")
|
|
@@ -122687,7 +122687,7 @@ var isRegExp = (value) => {
|
|
|
122687
122687
|
if (id2)
|
|
122688
122688
|
return trackedChanges.filter(({ mark }) => mark.attrs.id === id2);
|
|
122689
122689
|
return trackedChanges;
|
|
122690
|
-
}, 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.
|
|
122690
|
+
}, 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.37.0", SUPERDOC_DOCUMENT_ORIGIN_PROPERTY = "SuperdocDocumentOrigin", STORED_DOCUMENT_ORIGINS, collectRunDefaultProperties = (runProps, { allowOverrideTypeface = true, allowOverrideSize = true, themeResolver, state }) => {
|
|
122691
122691
|
if (!runProps?.elements?.length || !state)
|
|
122692
122692
|
return;
|
|
122693
122693
|
const fontsNode = runProps.elements.find((el) => el.name === "w:rFonts");
|
|
@@ -122721,7 +122721,7 @@ var isRegExp = (value) => {
|
|
|
122721
122721
|
state.kern = kernNode.attributes["w:val"];
|
|
122722
122722
|
}
|
|
122723
122723
|
}, SuperConverter;
|
|
122724
|
-
var
|
|
122724
|
+
var init_SuperConverter__qjy7QBM_es = __esm(() => {
|
|
122725
122725
|
init_rolldown_runtime_Bg48TavK_es();
|
|
122726
122726
|
init_jszip_C49i9kUs_es();
|
|
122727
122727
|
init_xml_js_CqGKpaft_es();
|
|
@@ -161035,7 +161035,7 @@ var init_SuperConverter_DA0uKCdy_es = __esm(() => {
|
|
|
161035
161035
|
};
|
|
161036
161036
|
});
|
|
161037
161037
|
|
|
161038
|
-
// ../../packages/superdoc/dist/chunks/create-headless-toolbar-
|
|
161038
|
+
// ../../packages/superdoc/dist/chunks/create-headless-toolbar-CeMgVejU.es.js
|
|
161039
161039
|
function parseSizeUnit(val = "0") {
|
|
161040
161040
|
const length3 = val.toString() || "0";
|
|
161041
161041
|
const value = Number.parseFloat(length3);
|
|
@@ -171267,8 +171267,8 @@ var CSS_DIMENSION_REGEX, DOM_SIZE_UNITS, normalizeActorId = (value) => {
|
|
|
171267
171267
|
}
|
|
171268
171268
|
};
|
|
171269
171269
|
};
|
|
171270
|
-
var
|
|
171271
|
-
|
|
171270
|
+
var init_create_headless_toolbar_CeMgVejU_es = __esm(() => {
|
|
171271
|
+
init_SuperConverter__qjy7QBM_es();
|
|
171272
171272
|
init_uuid_qzgm05fK_es();
|
|
171273
171273
|
init_constants_DrU4EASo_es();
|
|
171274
171274
|
init_dist_B8HfvhaK_es();
|
|
@@ -220478,7 +220478,7 @@ var init_remark_gfm_eZN6yzWQ_es = __esm(() => {
|
|
|
220478
220478
|
init_remark_gfm_BhnWr3yf_es();
|
|
220479
220479
|
});
|
|
220480
220480
|
|
|
220481
|
-
// ../../packages/superdoc/dist/chunks/src-
|
|
220481
|
+
// ../../packages/superdoc/dist/chunks/src-CcSPT34Y.es.js
|
|
220482
220482
|
function deleteProps(obj, propOrProps) {
|
|
220483
220483
|
const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
|
|
220484
220484
|
const removeNested = (target, pathParts, index2 = 0) => {
|
|
@@ -221319,7 +221319,7 @@ function prosemirrorToYXmlFragment(doc$12, xmlFragment) {
|
|
|
221319
221319
|
}
|
|
221320
221320
|
function getSuperdocVersion() {
|
|
221321
221321
|
try {
|
|
221322
|
-
return "1.
|
|
221322
|
+
return "1.37.0";
|
|
221323
221323
|
} catch {
|
|
221324
221324
|
return "unknown";
|
|
221325
221325
|
}
|
|
@@ -296002,7 +296002,7 @@ var Node$13 = class Node$14 {
|
|
|
296002
296002
|
domAvailabilityCache = false;
|
|
296003
296003
|
return false;
|
|
296004
296004
|
}
|
|
296005
|
-
}, summaryVersion = "1.
|
|
296005
|
+
}, summaryVersion = "1.37.0", nodeKeys, markKeys, transformListsInCopiedContent = (html3) => {
|
|
296006
296006
|
const container = document.createElement("div");
|
|
296007
296007
|
container.innerHTML = html3;
|
|
296008
296008
|
const result = [];
|
|
@@ -297187,7 +297187,7 @@ var Node$13 = class Node$14 {
|
|
|
297187
297187
|
return () => {};
|
|
297188
297188
|
const handle3 = setInterval(callback, intervalMs);
|
|
297189
297189
|
return () => clearInterval(handle3);
|
|
297190
|
-
}, 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.
|
|
297190
|
+
}, 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) => {
|
|
297191
297191
|
if (!isTrackedReviewMark(mark2))
|
|
297192
297192
|
return null;
|
|
297193
297193
|
const id2 = typeof mark2.attrs?.id === "string" ? mark2.attrs.id : "";
|
|
@@ -317433,13 +317433,13 @@ menclose::after {
|
|
|
317433
317433
|
return;
|
|
317434
317434
|
console.log(...args$1);
|
|
317435
317435
|
}, 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;
|
|
317436
|
-
var
|
|
317436
|
+
var init_src_CcSPT34Y_es = __esm(() => {
|
|
317437
317437
|
init_rolldown_runtime_Bg48TavK_es();
|
|
317438
|
-
|
|
317438
|
+
init_SuperConverter__qjy7QBM_es();
|
|
317439
317439
|
init_jszip_C49i9kUs_es();
|
|
317440
317440
|
init_xml_js_CqGKpaft_es();
|
|
317441
317441
|
init_uuid_qzgm05fK_es();
|
|
317442
|
-
|
|
317442
|
+
init_create_headless_toolbar_CeMgVejU_es();
|
|
317443
317443
|
init_constants_DrU4EASo_es();
|
|
317444
317444
|
init_dist_B8HfvhaK_es();
|
|
317445
317445
|
init_unified_Dsuw2be5_es();
|
|
@@ -351537,11 +351537,11 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
351537
351537
|
]);
|
|
351538
351538
|
});
|
|
351539
351539
|
|
|
351540
|
-
// ../../packages/superdoc/dist/chunks/create-super-doc-ui-
|
|
351540
|
+
// ../../packages/superdoc/dist/chunks/create-super-doc-ui-C9QfOVVZ.es.js
|
|
351541
351541
|
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;
|
|
351542
|
-
var
|
|
351543
|
-
|
|
351544
|
-
|
|
351542
|
+
var init_create_super_doc_ui_C9QfOVVZ_es = __esm(() => {
|
|
351543
|
+
init_SuperConverter__qjy7QBM_es();
|
|
351544
|
+
init_create_headless_toolbar_CeMgVejU_es();
|
|
351545
351545
|
MOD_ALIASES = new Set([
|
|
351546
351546
|
"Mod",
|
|
351547
351547
|
"Meta",
|
|
@@ -351583,16 +351583,16 @@ var init_zipper_yaJVJ4z9_es = __esm(() => {
|
|
|
351583
351583
|
|
|
351584
351584
|
// ../../packages/superdoc/dist/super-editor.es.js
|
|
351585
351585
|
var init_super_editor_es = __esm(() => {
|
|
351586
|
-
|
|
351587
|
-
|
|
351586
|
+
init_src_CcSPT34Y_es();
|
|
351587
|
+
init_SuperConverter__qjy7QBM_es();
|
|
351588
351588
|
init_jszip_C49i9kUs_es();
|
|
351589
351589
|
init_xml_js_CqGKpaft_es();
|
|
351590
|
-
|
|
351590
|
+
init_create_headless_toolbar_CeMgVejU_es();
|
|
351591
351591
|
init_constants_DrU4EASo_es();
|
|
351592
351592
|
init_dist_B8HfvhaK_es();
|
|
351593
351593
|
init_unified_Dsuw2be5_es();
|
|
351594
351594
|
init_DocxZipper_CZMPWpOp_es();
|
|
351595
|
-
|
|
351595
|
+
init_create_super_doc_ui_C9QfOVVZ_es();
|
|
351596
351596
|
init_ui_C5PAS9hY_es();
|
|
351597
351597
|
init_eventemitter3_BnGqBE_Q_es();
|
|
351598
351598
|
init_errors_CNaD6vcg_es();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superdoc-dev/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0-next.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"superdoc": "./dist/index.js"
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"typescript": "^5.9.2",
|
|
27
27
|
"@superdoc/document-api": "0.0.1",
|
|
28
28
|
"@superdoc/pm-adapter": "0.0.0",
|
|
29
|
-
"superdoc": "1.
|
|
29
|
+
"superdoc": "1.37.0",
|
|
30
30
|
"@superdoc/super-editor": "0.0.1"
|
|
31
31
|
},
|
|
32
32
|
"module": "src/index.ts",
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
36
|
"optionalDependencies": {
|
|
37
|
-
"@superdoc-dev/cli-darwin-arm64": "0.
|
|
38
|
-
"@superdoc-dev/cli-darwin-x64": "0.
|
|
39
|
-
"@superdoc-dev/cli-linux-x64": "0.
|
|
40
|
-
"@superdoc-dev/cli-
|
|
41
|
-
"@superdoc-dev/cli-
|
|
37
|
+
"@superdoc-dev/cli-darwin-arm64": "0.15.0-next.1",
|
|
38
|
+
"@superdoc-dev/cli-darwin-x64": "0.15.0-next.1",
|
|
39
|
+
"@superdoc-dev/cli-linux-x64": "0.15.0-next.1",
|
|
40
|
+
"@superdoc-dev/cli-linux-arm64": "0.15.0-next.1",
|
|
41
|
+
"@superdoc-dev/cli-windows-x64": "0.15.0-next.1"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"predev": "node scripts/ensure-superdoc-build.js",
|