@netless/appliance-plugin 1.1.0-beta.1 → 1.1.1-beta.0
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/README.md +5 -5
- package/cdn/cdn.js +1 -1
- package/cdn/{fullWorker-CjGKnN.js → fullWorker-D2RITq.js} +26 -26
- package/cdn/{subWorker-DUJqv_.js → subWorker-UKUWKN.js} +26 -26
- package/dist/appliance-plugin.js +1 -1
- package/dist/appliance-plugin.mjs +1 -1
- package/dist/collector/base.d.ts +3 -0
- package/dist/collector/collector.d.ts +16 -1
- package/dist/collector/enum.d.ts +0 -3
- package/dist/collector/eventCollector.d.ts +1 -0
- package/dist/collector/magixEventCollector.d.ts +1 -0
- package/dist/collector/types.d.ts +38 -12
- package/dist/core/enum.d.ts +7 -1
- package/dist/core/mainEngine.d.ts +5 -4
- package/dist/core/renderCotrol.d.ts +66 -0
- package/dist/core/tools/eraser.d.ts +1 -1
- package/dist/core/tools/pencilEraser.d.ts +1 -1
- package/dist/core/types.d.ts +3 -1
- package/dist/core/utils/spriteNode.d.ts +0 -2
- package/dist/core/vNodeManager.d.ts +11 -3
- package/dist/fullWorker.js +26 -26
- package/dist/{index-C4KNxHht.mjs → index-BVcY9dXC.mjs} +334 -305
- package/dist/index-Bc02VTGL.js +1 -0
- package/dist/{index-CIJP6_Qj.mjs → index-DXSmA8_B.mjs} +5735 -5368
- package/dist/index-gKuc4bsw.js +1 -0
- package/dist/members/index.d.ts +1 -0
- package/dist/plugin/baseApplianceManager.d.ts +11 -2
- package/dist/plugin/types.d.ts +7 -1
- package/dist/subWorker.js +26 -26
- package/package.json +2 -2
- package/dist/index-C29o_HLi.js +0 -1
- package/dist/index-DmfRoAiB.js +0 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# appliance-plugin
|
|
2
2
|
|
|
3
|
-
[中文文档](https://github.com/
|
|
3
|
+
[中文文档](https://github.com/duty-os/appliance-plugin/blob/master/READMA.zh-CN.md)
|
|
4
4
|
|
|
5
5
|
The plug-in is attached to the plug-in mechanism of white-web-sdk to achieve a set of whiteboard teaching AIDS, state synchronization, playback, scene switching and other functions still rely on white-web-sdk or window-manager.
|
|
6
6
|
|
|
@@ -67,13 +67,13 @@ const subWorkerUrl = URL.createObjectURL(subWorkerBlob);
|
|
|
67
67
|
|
|
68
68
|
const whiteWebSdk = new WhiteWebSdk(...)
|
|
69
69
|
const room = await whiteWebSdk.joinRoom({
|
|
70
|
-
...
|
|
71
|
-
invisiblePlugins: [WindowManager, ApplianceMultiPlugin],
|
|
72
|
-
useMultiViews: true,
|
|
70
|
+
...
|
|
71
|
+
invisiblePlugins: [WindowManager, ApplianceMultiPlugin],
|
|
72
|
+
useMultiViews: true,
|
|
73
73
|
})
|
|
74
74
|
const manager = await WindowManager.mount({ room , container:elm, chessboard: true, cursor: true, supportAppliancePlugin: true});
|
|
75
75
|
if (manager) {
|
|
76
|
-
await manager.switchMainViewToWriter();
|
|
76
|
+
// await manager.switchMainViewToWriter();
|
|
77
77
|
await ApplianceMultiPlugin.getInstance(manager,
|
|
78
78
|
{
|
|
79
79
|
options: {
|
package/cdn/cdn.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r="/fullWorker-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r="/fullWorker-D2RITq.js",e="/subWorker-UKUWKN.js";exports.fullWorkerUrl=r;exports.subWorkerUrl=e;
|