@netless/forge-slide 1.1.0-beta.2 → 1.1.0-beta.3
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/slide.esm.js +5 -0
- package/dist/slide.esm.js.map +2 -2
- package/dist/slide.js +5 -0
- package/dist/slide.js.map +2 -2
- package/package.json +3 -3
package/dist/slide.esm.js
CHANGED
|
@@ -65179,6 +65179,8 @@ var Camera = class extends EventEmitter7 {
|
|
|
65179
65179
|
this.emit("userViewModeChange", userId, this.requestUserMap(userId).get(WhiteboardKeys.cameraMode), value.oldValue);
|
|
65180
65180
|
}
|
|
65181
65181
|
}
|
|
65182
|
+
} else if (value.action === "delete") {
|
|
65183
|
+
debugger;
|
|
65182
65184
|
}
|
|
65183
65185
|
}
|
|
65184
65186
|
});
|
|
@@ -67514,6 +67516,7 @@ var WhiteboardApplication = class _WhiteboardApplication extends AbstractApplica
|
|
|
67514
67516
|
_WhiteboardApplication.instanceCount.set(this.appId, (_WhiteboardApplication.instanceCount.get(this.appId) ?? 0) + 1);
|
|
67515
67517
|
log4(`whiteboard ${this.appId} initialize. instance count: ${_WhiteboardApplication.instanceCount.get(this.appId) ?? 0}`, {}, "info");
|
|
67516
67518
|
this.appDoc.transact(() => {
|
|
67519
|
+
console.warn("initialize whiteboard application");
|
|
67517
67520
|
this.permissions = new WhiteboardPermissions(this.writableManager, this.userManager, (userId) => {
|
|
67518
67521
|
return this.userMap(userId);
|
|
67519
67522
|
});
|
|
@@ -67712,6 +67715,8 @@ var WhiteboardApplication = class _WhiteboardApplication extends AbstractApplica
|
|
|
67712
67715
|
this.rootElement.appendChild(this.liveCursor.container);
|
|
67713
67716
|
this.getMap("attrs").observe(this.handleViewportUpdate);
|
|
67714
67717
|
this.writableManager().on("writableChanged", this.handleWritableChanged);
|
|
67718
|
+
console.warn("initialize whiteboard application end");
|
|
67719
|
+
console.log(this.appDoc.toJSON());
|
|
67715
67720
|
}, "whiteboard-initialize");
|
|
67716
67721
|
}
|
|
67717
67722
|
clearElements() {
|