@superdoc-dev/cli 0.5.0-next.17 → 0.5.0-next.18
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 +9 -8
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -63334,7 +63334,7 @@ var init_remark_gfm_z_sDF4ss_es = __esm(() => {
|
|
|
63334
63334
|
emptyOptions2 = {};
|
|
63335
63335
|
});
|
|
63336
63336
|
|
|
63337
|
-
// ../../packages/superdoc/dist/chunks/SuperConverter-
|
|
63337
|
+
// ../../packages/superdoc/dist/chunks/SuperConverter-C5AwlcXn.es.js
|
|
63338
63338
|
function getExtensionConfigField(extension$1, field, context = { name: "" }) {
|
|
63339
63339
|
const fieldValue = extension$1.config[field];
|
|
63340
63340
|
if (typeof fieldValue === "function")
|
|
@@ -113375,9 +113375,10 @@ var isRegExp = (value) => {
|
|
|
113375
113375
|
const exportStrategy = typeof threadingProfile === "string" ? threadingProfile : "word";
|
|
113376
113376
|
const profile = typeof threadingProfile === "string" ? null : threadingProfile;
|
|
113377
113377
|
const hasThreadedComments = comments.some((comment) => comment.threadingParentCommentId || comment.parentCommentId);
|
|
113378
|
+
const hasResolvedComments = comments.some((comment) => comment.resolvedTime || comment.isDone);
|
|
113378
113379
|
const shouldGenerateCommentsExtended = profile ? profile.defaultStyle === "commentsExtended" || profile.mixed || comments.some((comment) => resolveThreadingStyle(comment, profile) === "commentsExtended") : exportStrategy !== "google-docs";
|
|
113379
113380
|
const shouldIncludeForThreads = hasThreadedComments;
|
|
113380
|
-
if (!shouldGenerateCommentsExtended && !shouldIncludeForThreads)
|
|
113381
|
+
if (!shouldGenerateCommentsExtended && !shouldIncludeForThreads && !hasResolvedComments)
|
|
113381
113382
|
return null;
|
|
113382
113383
|
const xmlCopy = carbonCopy(commentsExtendedXml);
|
|
113383
113384
|
const commentsEx = comments.map((comment) => {
|
|
@@ -113986,7 +113987,7 @@ var isRegExp = (value) => {
|
|
|
113986
113987
|
state.kern = kernNode.attributes["w:val"];
|
|
113987
113988
|
}
|
|
113988
113989
|
}, SuperConverter;
|
|
113989
|
-
var
|
|
113990
|
+
var init_SuperConverter_C5AwlcXn_es = __esm(() => {
|
|
113990
113991
|
init_rolldown_runtime_B2q5OVn9_es();
|
|
113991
113992
|
init_jszip_ChlR43oI_es();
|
|
113992
113993
|
init_xml_js_40FWvL78_es();
|
|
@@ -172502,7 +172503,7 @@ var init_remark_gfm_CjV8kaUy_es = __esm(() => {
|
|
|
172502
172503
|
init_remark_gfm_z_sDF4ss_es();
|
|
172503
172504
|
});
|
|
172504
172505
|
|
|
172505
|
-
// ../../packages/superdoc/dist/chunks/src-
|
|
172506
|
+
// ../../packages/superdoc/dist/chunks/src-BsYkmXvk.es.js
|
|
172506
172507
|
function deleteProps(obj, propOrProps) {
|
|
172507
172508
|
const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
|
|
172508
172509
|
const removeNested = (target, pathParts, index2 = 0) => {
|
|
@@ -253911,9 +253912,9 @@ var Node$13 = class Node$14 {
|
|
|
253911
253912
|
return;
|
|
253912
253913
|
console.log(...args$1);
|
|
253913
253914
|
}, 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;
|
|
253914
|
-
var
|
|
253915
|
+
var init_src_BsYkmXvk_es = __esm(() => {
|
|
253915
253916
|
init_rolldown_runtime_B2q5OVn9_es();
|
|
253916
|
-
|
|
253917
|
+
init_SuperConverter_C5AwlcXn_es();
|
|
253917
253918
|
init_jszip_ChlR43oI_es();
|
|
253918
253919
|
init_uuid_qzgm05fK_es();
|
|
253919
253920
|
init_constants_Qqwopz80_es();
|
|
@@ -287863,8 +287864,8 @@ var init_zipper_YmNpPIyc_es = __esm(() => {
|
|
|
287863
287864
|
|
|
287864
287865
|
// ../../packages/superdoc/dist/super-editor.es.js
|
|
287865
287866
|
var init_super_editor_es = __esm(() => {
|
|
287866
|
-
|
|
287867
|
-
|
|
287867
|
+
init_src_BsYkmXvk_es();
|
|
287868
|
+
init_SuperConverter_C5AwlcXn_es();
|
|
287868
287869
|
init_jszip_ChlR43oI_es();
|
|
287869
287870
|
init_xml_js_40FWvL78_es();
|
|
287870
287871
|
init_constants_Qqwopz80_es();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superdoc-dev/cli",
|
|
3
|
-
"version": "0.5.0-next.
|
|
3
|
+
"version": "0.5.0-next.18",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"superdoc": "./dist/index.js"
|
|
@@ -25,20 +25,20 @@
|
|
|
25
25
|
"@types/ws": "^8.5.13",
|
|
26
26
|
"typescript": "^5.9.2",
|
|
27
27
|
"@superdoc/document-api": "0.0.1",
|
|
28
|
-
"@superdoc/
|
|
28
|
+
"@superdoc/super-editor": "0.0.1",
|
|
29
29
|
"superdoc": "1.23.0",
|
|
30
|
-
"@superdoc/
|
|
30
|
+
"@superdoc/pm-adapter": "0.0.0"
|
|
31
31
|
},
|
|
32
32
|
"module": "src/index.ts",
|
|
33
33
|
"publishConfig": {
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
36
|
"optionalDependencies": {
|
|
37
|
-
"@superdoc-dev/cli-darwin-arm64": "0.5.0-next.
|
|
38
|
-
"@superdoc-dev/cli-darwin-x64": "0.5.0-next.
|
|
39
|
-
"@superdoc-dev/cli-linux-x64": "0.5.0-next.
|
|
40
|
-
"@superdoc-dev/cli-linux-arm64": "0.5.0-next.
|
|
41
|
-
"@superdoc-dev/cli-windows-x64": "0.5.0-next.
|
|
37
|
+
"@superdoc-dev/cli-darwin-arm64": "0.5.0-next.18",
|
|
38
|
+
"@superdoc-dev/cli-darwin-x64": "0.5.0-next.18",
|
|
39
|
+
"@superdoc-dev/cli-linux-x64": "0.5.0-next.18",
|
|
40
|
+
"@superdoc-dev/cli-linux-arm64": "0.5.0-next.18",
|
|
41
|
+
"@superdoc-dev/cli-windows-x64": "0.5.0-next.18"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"predev": "node scripts/ensure-superdoc-build.js",
|