@superdoc-dev/cli 0.8.0-next.24 → 0.8.0-next.25
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 +7 -8
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -207171,7 +207171,7 @@ var init_remark_gfm_eZN6yzWQ_es = __esm(() => {
|
|
|
207171
207171
|
init_remark_gfm_BhnWr3yf_es();
|
|
207172
207172
|
});
|
|
207173
207173
|
|
|
207174
|
-
// ../../packages/superdoc/dist/chunks/src-
|
|
207174
|
+
// ../../packages/superdoc/dist/chunks/src-B2eovI4l.es.js
|
|
207175
207175
|
function deleteProps(obj, propOrProps) {
|
|
207176
207176
|
const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
|
|
207177
207177
|
const removeNested = (target, pathParts, index2 = 0) => {
|
|
@@ -296136,7 +296136,7 @@ menclose::after {
|
|
|
296136
296136
|
return;
|
|
296137
296137
|
console.log(...args$1);
|
|
296138
296138
|
}, 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;
|
|
296139
|
-
var
|
|
296139
|
+
var init_src_B2eovI4l_es = __esm(() => {
|
|
296140
296140
|
init_rolldown_runtime_Bg48TavK_es();
|
|
296141
296141
|
init_SuperConverter_lmyr0gmB_es();
|
|
296142
296142
|
init_jszip_C49i9kUs_es();
|
|
@@ -299655,15 +299655,14 @@ ${err.toString()}`);
|
|
|
299655
299655
|
const currentTrackedChanges = pluginState.trackedChanges;
|
|
299656
299656
|
if (trackedChangeMeta)
|
|
299657
299657
|
pluginState.trackedChanges = handleTrackedChangeTransaction(trackedChangeMeta, currentTrackedChanges, newEditorState, editor);
|
|
299658
|
-
|
|
299659
|
-
if (!tr.docChanged && tr.selectionSet || trChangedActiveComment) {
|
|
299658
|
+
if (!tr.docChanged && tr.selectionSet) {
|
|
299660
299659
|
const { selection } = tr;
|
|
299661
299660
|
let currentActiveThread = getActiveCommentId(newEditorState.doc, selection);
|
|
299662
|
-
if (trChangedActiveComment)
|
|
299663
|
-
currentActiveThread = meta2.activeThreadId;
|
|
299664
299661
|
if (meta2?.type === "setCursorById" && meta2.preferredActiveThreadId && selectionContainsThread(newEditorState.doc, selection, meta2.preferredActiveThreadId))
|
|
299665
299662
|
currentActiveThread = meta2.preferredActiveThreadId;
|
|
299666
|
-
|
|
299663
|
+
const previousSelectionId = pluginState.activeThreadId;
|
|
299664
|
+
const isNonCollapsedClear = currentActiveThread == null && selection && selection.$from.pos !== selection.$to.pos;
|
|
299665
|
+
if (previousSelectionId !== currentActiveThread && !isNonCollapsedClear) {
|
|
299667
299666
|
pluginState.activeThreadId = currentActiveThread;
|
|
299668
299667
|
const update = {
|
|
299669
299668
|
type: comments_module_events.SELECTED,
|
|
@@ -333039,7 +333038,7 @@ var init_zipper_DbkgrypV_es = __esm(() => {
|
|
|
333039
333038
|
|
|
333040
333039
|
// ../../packages/superdoc/dist/super-editor.es.js
|
|
333041
333040
|
var init_super_editor_es = __esm(() => {
|
|
333042
|
-
|
|
333041
|
+
init_src_B2eovI4l_es();
|
|
333043
333042
|
init_SuperConverter_lmyr0gmB_es();
|
|
333044
333043
|
init_jszip_C49i9kUs_es();
|
|
333045
333044
|
init_xml_js_CqGKpaft_es();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superdoc-dev/cli",
|
|
3
|
-
"version": "0.8.0-next.
|
|
3
|
+
"version": "0.8.0-next.25",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"superdoc": "./dist/index.js"
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"@types/node": "22.19.2",
|
|
25
25
|
"@types/ws": "^8.5.13",
|
|
26
26
|
"typescript": "^5.9.2",
|
|
27
|
-
"@superdoc/document-api": "0.0.1",
|
|
28
27
|
"@superdoc/pm-adapter": "0.0.0",
|
|
28
|
+
"@superdoc/document-api": "0.0.1",
|
|
29
29
|
"@superdoc/super-editor": "0.0.1",
|
|
30
30
|
"superdoc": "1.29.0"
|
|
31
31
|
},
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
36
|
"optionalDependencies": {
|
|
37
|
-
"@superdoc-dev/cli-darwin-arm64": "0.8.0-next.
|
|
38
|
-
"@superdoc-dev/cli-darwin-x64": "0.8.0-next.
|
|
39
|
-
"@superdoc-dev/cli-
|
|
40
|
-
"@superdoc-dev/cli-linux-arm64": "0.8.0-next.
|
|
41
|
-
"@superdoc-dev/cli-
|
|
37
|
+
"@superdoc-dev/cli-darwin-arm64": "0.8.0-next.25",
|
|
38
|
+
"@superdoc-dev/cli-darwin-x64": "0.8.0-next.25",
|
|
39
|
+
"@superdoc-dev/cli-linux-x64": "0.8.0-next.25",
|
|
40
|
+
"@superdoc-dev/cli-linux-arm64": "0.8.0-next.25",
|
|
41
|
+
"@superdoc-dev/cli-windows-x64": "0.8.0-next.25"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"predev": "node scripts/ensure-superdoc-build.js",
|