@superdoc-dev/cli 0.17.0-next.52 → 0.17.0-next.53
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 +18 -5
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -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-K-HYiMBY.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) => {
|
|
@@ -328501,7 +328501,7 @@ menclose::after {
|
|
|
328501
328501
|
return;
|
|
328502
328502
|
console.log(...args$1);
|
|
328503
328503
|
}, 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;
|
|
328504
|
-
var
|
|
328504
|
+
var init_src_K_HYiMBY_es = __esm(() => {
|
|
328505
328505
|
init_rolldown_runtime_Bg48TavK_es();
|
|
328506
328506
|
init_SuperConverter_8tQYSE1r_es();
|
|
328507
328507
|
init_jszip_C49i9kUs_es();
|
|
@@ -337656,6 +337656,7 @@ ${err.toString()}`);
|
|
|
337656
337656
|
const editor = this.editor;
|
|
337657
337657
|
const isHeadless$1 = editor.options.isHeadless;
|
|
337658
337658
|
let shouldUpdate = true;
|
|
337659
|
+
let pendingSelectedNotification = null;
|
|
337659
337660
|
const pluginSpec = {
|
|
337660
337661
|
key: CommentsPluginKey,
|
|
337661
337662
|
state: {
|
|
@@ -337681,11 +337682,23 @@ ${err.toString()}`);
|
|
|
337681
337682
|
const previousActiveThreadId = pluginState.activeThreadId;
|
|
337682
337683
|
const newActiveThreadId = meta2.activeThreadId;
|
|
337683
337684
|
if (previousActiveThreadId !== newActiveThreadId) {
|
|
337685
|
+
const activeCommentId = newActiveThreadId ?? null;
|
|
337684
337686
|
const update = {
|
|
337685
337687
|
type: comments_module_events.SELECTED,
|
|
337686
|
-
activeCommentId
|
|
337688
|
+
activeCommentId
|
|
337687
337689
|
};
|
|
337688
|
-
|
|
337690
|
+
clearTimeout(pendingSelectedNotification);
|
|
337691
|
+
pendingSelectedNotification = setTimeout(() => {
|
|
337692
|
+
pendingSelectedNotification = null;
|
|
337693
|
+
if (editor.isDestroyed)
|
|
337694
|
+
return;
|
|
337695
|
+
const editorState = editor.state;
|
|
337696
|
+
if (!editorState)
|
|
337697
|
+
return;
|
|
337698
|
+
if ((CommentsPluginKey.getState(editorState)?.activeThreadId ?? null) !== activeCommentId)
|
|
337699
|
+
return;
|
|
337700
|
+
editor.emit("commentsUpdate", update);
|
|
337701
|
+
}, 0);
|
|
337689
337702
|
}
|
|
337690
337703
|
pluginState.activeThreadId = newActiveThreadId;
|
|
337691
337704
|
return {
|
|
@@ -372109,7 +372122,7 @@ var init_zipper_BxRAi0_5_es = __esm(() => {
|
|
|
372109
372122
|
|
|
372110
372123
|
// ../../packages/superdoc/dist/super-editor.es.js
|
|
372111
372124
|
var init_super_editor_es = __esm(() => {
|
|
372112
|
-
|
|
372125
|
+
init_src_K_HYiMBY_es();
|
|
372113
372126
|
init_SuperConverter_8tQYSE1r_es();
|
|
372114
372127
|
init_jszip_C49i9kUs_es();
|
|
372115
372128
|
init_xml_js_CqGKpaft_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.53",
|
|
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/document-api": "0.1.0-alpha.0",
|
|
30
|
-
"@superdoc/super-editor": "0.0.1",
|
|
31
29
|
"@superdoc-dev/sdk": "1.20.1",
|
|
32
|
-
"superdoc": "1.44.1"
|
|
30
|
+
"superdoc": "1.44.1",
|
|
31
|
+
"@superdoc/super-editor": "0.0.1",
|
|
32
|
+
"@superdoc/document-api": "0.1.0-alpha.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-x64": "0.17.0-next.
|
|
42
|
-
"@superdoc-dev/cli-
|
|
43
|
-
"@superdoc-dev/cli-
|
|
39
|
+
"@superdoc-dev/cli-darwin-arm64": "0.17.0-next.53",
|
|
40
|
+
"@superdoc-dev/cli-darwin-x64": "0.17.0-next.53",
|
|
41
|
+
"@superdoc-dev/cli-linux-x64": "0.17.0-next.53",
|
|
42
|
+
"@superdoc-dev/cli-windows-x64": "0.17.0-next.53",
|
|
43
|
+
"@superdoc-dev/cli-linux-arm64": "0.17.0-next.53"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
46
|
"predev": "node scripts/ensure-superdoc-build.js",
|