@superdoc-dev/cli 0.5.0-next.72 → 0.5.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 +10 -3
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -204645,7 +204645,7 @@ var init_remark_gfm_eZN6yzWQ_es = __esm(() => {
|
|
|
204645
204645
|
init_remark_gfm_BhnWr3yf_es();
|
|
204646
204646
|
});
|
|
204647
204647
|
|
|
204648
|
-
// ../../packages/superdoc/dist/chunks/src-
|
|
204648
|
+
// ../../packages/superdoc/dist/chunks/src-Bbl2qm0W.es.js
|
|
204649
204649
|
function deleteProps(obj, propOrProps) {
|
|
204650
204650
|
const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
|
|
204651
204651
|
const removeNested = (target, pathParts, index2 = 0) => {
|
|
@@ -257489,6 +257489,9 @@ function getCommentHighlightThreadIds(target) {
|
|
|
257489
257489
|
return [];
|
|
257490
257490
|
return threadIds.split(",").map((threadId) => threadId.trim()).filter(Boolean);
|
|
257491
257491
|
}
|
|
257492
|
+
function isDirectSingleCommentHighlightHit(target) {
|
|
257493
|
+
return getCommentHighlightThreadIds(target).length === 1;
|
|
257494
|
+
}
|
|
257492
257495
|
function resolveTrackChangeThreadId(target) {
|
|
257493
257496
|
if (!(target instanceof Element))
|
|
257494
257497
|
return null;
|
|
@@ -257561,6 +257564,8 @@ function getActiveCommentThreadId(editor) {
|
|
|
257561
257564
|
function shouldIgnoreRepeatClickOnActiveComment(target, clientX, clientY, activeThreadId) {
|
|
257562
257565
|
if (!activeThreadId)
|
|
257563
257566
|
return false;
|
|
257567
|
+
if (isDirectSingleCommentHighlightHit(target))
|
|
257568
|
+
return false;
|
|
257564
257569
|
return resolveCommentThreadIdNearPointer(target, clientX, clientY) === activeThreadId;
|
|
257565
257570
|
}
|
|
257566
257571
|
function isInRegisteredSurface(event) {
|
|
@@ -285011,6 +285016,8 @@ var Node$13 = class Node$14 {
|
|
|
285011
285016
|
return true;
|
|
285012
285017
|
}
|
|
285013
285018
|
#handleSingleCommentHighlightClick(event, target, editor) {
|
|
285019
|
+
if (isDirectSingleCommentHighlightHit(target))
|
|
285020
|
+
return false;
|
|
285014
285021
|
const clickedThreadId = resolveCommentThreadIdNearPointer(target, event.clientX, event.clientY);
|
|
285015
285022
|
if (!clickedThreadId)
|
|
285016
285023
|
return false;
|
|
@@ -287353,7 +287360,7 @@ var Node$13 = class Node$14 {
|
|
|
287353
287360
|
return;
|
|
287354
287361
|
console.log(...args$1);
|
|
287355
287362
|
}, 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;
|
|
287356
|
-
var
|
|
287363
|
+
var init_src_Bbl2qm0W_es = __esm(() => {
|
|
287357
287364
|
init_rolldown_runtime_Bg48TavK_es();
|
|
287358
287365
|
init_SuperConverter_DKPcCGTm_es();
|
|
287359
287366
|
init_jszip_C49i9kUs_es();
|
|
@@ -321927,7 +321934,7 @@ var init_zipper_DbkgrypV_es = __esm(() => {
|
|
|
321927
321934
|
|
|
321928
321935
|
// ../../packages/superdoc/dist/super-editor.es.js
|
|
321929
321936
|
var init_super_editor_es = __esm(() => {
|
|
321930
|
-
|
|
321937
|
+
init_src_Bbl2qm0W_es();
|
|
321931
321938
|
init_SuperConverter_DKPcCGTm_es();
|
|
321932
321939
|
init_jszip_C49i9kUs_es();
|
|
321933
321940
|
init_xml_js_CqGKpaft_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.73",
|
|
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/super-editor": "0.0.1",
|
|
28
29
|
"@superdoc/pm-adapter": "0.0.0",
|
|
29
|
-
"superdoc": "1.25.0"
|
|
30
|
-
"@superdoc/super-editor": "0.0.1"
|
|
30
|
+
"superdoc": "1.25.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-
|
|
39
|
-
"@superdoc-dev/cli-
|
|
40
|
-
"@superdoc-dev/cli-
|
|
41
|
-
"@superdoc-dev/cli-
|
|
37
|
+
"@superdoc-dev/cli-darwin-arm64": "0.5.0-next.73",
|
|
38
|
+
"@superdoc-dev/cli-linux-x64": "0.5.0-next.73",
|
|
39
|
+
"@superdoc-dev/cli-darwin-x64": "0.5.0-next.73",
|
|
40
|
+
"@superdoc-dev/cli-linux-arm64": "0.5.0-next.73",
|
|
41
|
+
"@superdoc-dev/cli-windows-x64": "0.5.0-next.73"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"predev": "node scripts/ensure-superdoc-build.js",
|