@netless/appliance-plugin 1.0.0-beta.10 → 1.0.0-beta.12
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/cdn/cdn.js +1 -1
- package/cdn/fullWorker-kDR8Un.js +453 -0
- package/cdn/subWorker-fkG5Nn.js +453 -0
- package/dist/appliance-plugin.js +1 -1
- package/dist/appliance-plugin.mjs +13 -13
- package/dist/core/enum.d.ts +8 -1
- package/dist/core/mainEngine.d.ts +3 -0
- package/dist/core/mainThread/base.d.ts +2 -2
- package/dist/core/mainThread/index.d.ts +2 -2
- package/dist/core/mainThread/snapshotThread.d.ts +3 -3
- package/dist/core/mainThread/subLocalThread.d.ts +16 -12
- package/dist/core/mainThread/subTopThread.d.ts +7 -7
- package/dist/core/mainThread/vNodeManager.d.ts +1 -0
- package/dist/core/msgEvent/base.d.ts +6 -2
- package/dist/core/msgEvent/copyNode/forMain.d.ts +1 -0
- package/dist/core/msgEvent/deleteNode/forMain.d.ts +1 -0
- package/dist/core/msgEvent/deleteNode/forMainThread.d.ts +1 -4
- package/dist/core/msgEvent/deleteNode/forWorker.d.ts +1 -4
- package/dist/core/msgEvent/index.d.ts +4 -0
- package/dist/core/msgEvent/rotateNode/forMain.d.ts +2 -1
- package/dist/core/msgEvent/scaleNode/forMain.d.ts +2 -1
- package/dist/core/msgEvent/setColor/forMain.d.ts +1 -0
- package/dist/core/msgEvent/setFont/forMain.d.ts +1 -0
- package/dist/core/msgEvent/setLock/forMain.d.ts +1 -0
- package/dist/core/msgEvent/setPoint/forMain.d.ts +1 -0
- package/dist/core/msgEvent/setShape/forMain.d.ts +1 -0
- package/dist/core/msgEvent/setZIndex/forMain.d.ts +1 -0
- package/dist/core/msgEvent/translateNode/forMain.d.ts +2 -1
- package/dist/core/tools/base.d.ts +1 -1
- package/dist/core/tools/text.d.ts +1 -8
- package/dist/core/types.d.ts +1 -1
- package/dist/core/worker/base.d.ts +20 -12
- package/dist/core/worker/fullWorkerLocal.d.ts +1 -0
- package/dist/core/worker/subWorkerLocal.d.ts +3 -0
- package/dist/core/worker/subWorkerTopLayer.d.ts +6 -6
- package/dist/core/worker/vNodeManager.d.ts +1 -0
- package/dist/core/worker/workerManager.d.ts +2 -1
- package/dist/fullWorker.js +566 -468
- package/dist/index-BHpx5UNa.js +1 -0
- package/dist/{index-CP5_CnSG.mjs → index-CW6jtvNM.mjs} +975 -944
- package/dist/index-GViHv6Ev.mjs +9088 -0
- package/dist/index-rH7eipCG.js +1 -0
- package/dist/plugin/single/applianceDisplayer.d.ts +0 -1
- package/dist/plugin/types.d.ts +6 -14
- package/dist/subWorker.js +566 -468
- package/package.json +1 -1
- package/cdn/fullWorker-DkNRgu.js +0 -468
- package/cdn/subWorker-BvxT1L.js +0 -468
- package/dist/index-B3tcgIQd.js +0 -1
- package/dist/index-BFpq0pIU.mjs +0 -8844
- package/dist/index-ChX1QimR.js +0 -1
package/dist/plugin/types.d.ts
CHANGED
|
@@ -196,12 +196,6 @@ export type AppliancePluginOptions = {
|
|
|
196
196
|
export interface AppliancePluginAttributes {
|
|
197
197
|
[key: string]: ISerializableStorageViewData | ISerializableEventData;
|
|
198
198
|
}
|
|
199
|
-
export declare enum DisplayStateEnum {
|
|
200
|
-
pedding = 0,
|
|
201
|
-
mounted = 1,
|
|
202
|
-
update = 2,
|
|
203
|
-
unmounted = 3
|
|
204
|
-
}
|
|
205
199
|
export declare enum EStrokeType {
|
|
206
200
|
Normal = "Normal",
|
|
207
201
|
Stroke = "Stroke",
|
|
@@ -289,19 +283,17 @@ export declare enum EmitEventType {
|
|
|
289
283
|
/** 设置是否锁定 */
|
|
290
284
|
SetLock = "SetLock",
|
|
291
285
|
/** 设置shape模型的配置项 */
|
|
292
|
-
SetShapeOpt = "SetShapeOpt"
|
|
286
|
+
SetShapeOpt = "SetShapeOpt",
|
|
287
|
+
/** 切换相机角度中 */
|
|
288
|
+
CameraChange = "CameraChange",
|
|
289
|
+
/** 激活方法动作 */
|
|
290
|
+
ActiveMethod = "ActiveMethod"
|
|
293
291
|
}
|
|
294
292
|
export declare enum InternalMsgEmitterType {
|
|
295
293
|
DisplayState = "DisplayState",
|
|
296
|
-
FloatBar = "FloatBar",
|
|
297
|
-
CanvasSelector = "CanvasSelector",
|
|
298
294
|
MainEngine = "MainEngine",
|
|
299
|
-
DisplayContainer = "DisplayContainer",
|
|
300
295
|
Cursor = "Cursor",
|
|
301
|
-
|
|
302
|
-
BindMainView = "BindMainView",
|
|
303
|
-
MountMainView = "MountMainView",
|
|
304
|
-
MountAppView = "MountAppView"
|
|
296
|
+
BindMainView = "BindMainView"
|
|
305
297
|
}
|
|
306
298
|
export type InternalEventValue = {
|
|
307
299
|
id: string;
|