@superdoc-dev/cli 0.12.1-next.4 → 0.12.1-next.5
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 +12 -9
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -218978,7 +218978,7 @@ var init_remark_gfm_eZN6yzWQ_es = __esm(() => {
|
|
|
218978
218978
|
init_remark_gfm_BhnWr3yf_es();
|
|
218979
218979
|
});
|
|
218980
218980
|
|
|
218981
|
-
// ../../packages/superdoc/dist/chunks/src-
|
|
218981
|
+
// ../../packages/superdoc/dist/chunks/src-CZSemHps.es.js
|
|
218982
218982
|
function deleteProps(obj, propOrProps) {
|
|
218983
218983
|
const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
|
|
218984
218984
|
const removeNested = (target, pathParts, index2 = 0) => {
|
|
@@ -302627,19 +302627,22 @@ menclose::after {
|
|
|
302627
302627
|
this.#options.collaborationProvider = provider;
|
|
302628
302628
|
}
|
|
302629
302629
|
setup() {
|
|
302630
|
-
const
|
|
302631
|
-
if (!
|
|
302630
|
+
const awareness = this.#options.collaborationProvider?.awareness;
|
|
302631
|
+
if (!awareness || typeof awareness.on !== "function" || typeof awareness.off !== "function") {
|
|
302632
|
+
if (awareness)
|
|
302633
|
+
console.warn("[remote-cursors] provider.awareness is missing on/off methods; remote cursors will not be wired.");
|
|
302632
302634
|
return;
|
|
302635
|
+
}
|
|
302633
302636
|
this.#cleanupSubscriptions();
|
|
302634
302637
|
const handleAwarenessChange = () => {
|
|
302635
302638
|
this.#remoteCursorDirty = true;
|
|
302636
302639
|
this.scheduleUpdate();
|
|
302637
302640
|
};
|
|
302638
|
-
|
|
302639
|
-
|
|
302641
|
+
awareness.on("change", handleAwarenessChange);
|
|
302642
|
+
awareness.on("update", handleAwarenessChange);
|
|
302640
302643
|
this.#awarenessCleanup = () => {
|
|
302641
|
-
|
|
302642
|
-
|
|
302644
|
+
awareness.off?.("change", handleAwarenessChange);
|
|
302645
|
+
awareness.off?.("update", handleAwarenessChange);
|
|
302643
302646
|
};
|
|
302644
302647
|
const handleScroll = () => {
|
|
302645
302648
|
if (this.#remoteCursorState.size > 0) {
|
|
@@ -307486,7 +307489,7 @@ menclose::after {
|
|
|
307486
307489
|
return;
|
|
307487
307490
|
console.log(...args$1);
|
|
307488
307491
|
}, 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;
|
|
307489
|
-
var
|
|
307492
|
+
var init_src_CZSemHps_es = __esm(() => {
|
|
307490
307493
|
init_rolldown_runtime_Bg48TavK_es();
|
|
307491
307494
|
init_SuperConverter_opYK_HD4_es();
|
|
307492
307495
|
init_jszip_C49i9kUs_es();
|
|
@@ -345311,7 +345314,7 @@ var init_zipper_yaJVJ4z9_es = __esm(() => {
|
|
|
345311
345314
|
|
|
345312
345315
|
// ../../packages/superdoc/dist/super-editor.es.js
|
|
345313
345316
|
var init_super_editor_es = __esm(() => {
|
|
345314
|
-
|
|
345317
|
+
init_src_CZSemHps_es();
|
|
345315
345318
|
init_SuperConverter_opYK_HD4_es();
|
|
345316
345319
|
init_jszip_C49i9kUs_es();
|
|
345317
345320
|
init_xml_js_CqGKpaft_es();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superdoc-dev/cli",
|
|
3
|
-
"version": "0.12.1-next.
|
|
3
|
+
"version": "0.12.1-next.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"superdoc": "./dist/index.js"
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
36
|
"optionalDependencies": {
|
|
37
|
-
"@superdoc-dev/cli-darwin-arm64": "0.12.1-next.
|
|
38
|
-
"@superdoc-dev/cli-darwin-x64": "0.12.1-next.
|
|
39
|
-
"@superdoc-dev/cli-linux-arm64": "0.12.1-next.
|
|
40
|
-
"@superdoc-dev/cli-
|
|
41
|
-
"@superdoc-dev/cli-
|
|
37
|
+
"@superdoc-dev/cli-darwin-arm64": "0.12.1-next.5",
|
|
38
|
+
"@superdoc-dev/cli-darwin-x64": "0.12.1-next.5",
|
|
39
|
+
"@superdoc-dev/cli-linux-arm64": "0.12.1-next.5",
|
|
40
|
+
"@superdoc-dev/cli-linux-x64": "0.12.1-next.5",
|
|
41
|
+
"@superdoc-dev/cli-windows-x64": "0.12.1-next.5"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"predev": "node scripts/ensure-superdoc-build.js",
|