@netless/appliance-plugin 1.1.30-beta.0 → 1.1.30

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.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-GdF83s93.js");exports.ActiveContainerType=e.ActiveContainerType;exports.ApplianceMultiPlugin=e.ApplianceMultiPlugin;exports.ApplianceNames=e.ApplianceNames;exports.ApplianceSigleWrapper=e.ApplianceSigleWrapper;exports.ApplianceSinglePlugin=e.ApplianceSinglePlugin;exports.Cursor_Hover_Id=e.Cursor_Hover_Id;exports.ECanvasShowType=e.ECanvasShowType;exports.EDataType=e.EDataType;exports.EForceStopReason=e.EForceStopReason;exports.EImageType=e.EImageType;exports.EMatrixrRelationType=e.EMatrixrRelationType;exports.EOperationType=e.EOperationType;exports.EPostMessageType=e.EPostMessageType;exports.ERenderFilterType=e.ERenderFilterType;exports.ESVGType=e.ESVGType;exports.EScaleType=e.EScaleType;exports.EStrokeType=e.EStrokeType;exports.EToolsKey=e.EToolsKey;exports.ElayerType=e.ElayerType;exports.EmitEventType=e.EmitEventType;exports.EventMessageType=e.EventMessageType;exports.EvevtWorkState=e.EvevtWorkState;exports.EvevtWorkType=e.EvevtWorkType;exports.InternalMsgEmitterType=e.InternalMsgEmitterType;exports.Main_View_Id=e.Main_View_Id;exports.Plugin=e.Plugin;exports.ShapeType=e.ShapeType;exports.Task_Time_Interval=e.Task_Time_Interval;exports.fullWorkerUrl=e.fullWorker;exports.subWorkerUrl=e.subWorker;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-bnjZuIEN.js");exports.ActiveContainerType=e.ActiveContainerType;exports.ApplianceMultiPlugin=e.ApplianceMultiPlugin;exports.ApplianceNames=e.ApplianceNames;exports.ApplianceSigleWrapper=e.ApplianceSigleWrapper;exports.ApplianceSinglePlugin=e.ApplianceSinglePlugin;exports.Cursor_Hover_Id=e.Cursor_Hover_Id;exports.ECanvasShowType=e.ECanvasShowType;exports.EDataType=e.EDataType;exports.EForceStopReason=e.EForceStopReason;exports.EImageType=e.EImageType;exports.EMatrixrRelationType=e.EMatrixrRelationType;exports.EOperationType=e.EOperationType;exports.EPostMessageType=e.EPostMessageType;exports.ERenderFilterType=e.ERenderFilterType;exports.ESVGType=e.ESVGType;exports.EScaleType=e.EScaleType;exports.EStrokeType=e.EStrokeType;exports.EToolsKey=e.EToolsKey;exports.ElayerType=e.ElayerType;exports.EmitEventType=e.EmitEventType;exports.EventMessageType=e.EventMessageType;exports.EvevtWorkState=e.EvevtWorkState;exports.EvevtWorkType=e.EvevtWorkType;exports.InternalMsgEmitterType=e.InternalMsgEmitterType;exports.Main_View_Id=e.Main_View_Id;exports.Plugin=e.Plugin;exports.ShapeType=e.ShapeType;exports.Task_Time_Interval=e.Task_Time_Interval;exports.fullWorkerUrl=e.fullWorker;exports.subWorkerUrl=e.subWorker;
@@ -1,4 +1,4 @@
1
- import { af as s, a9 as p, ac as r, ab as t, aa as i, a4 as l, Z as n, b as E, ag as T, t as o, j as y, ak as v, a as g, al as c, d as S, u, w as k, c as m, ai as M, E as _, ah as d, v as A, aj as I, ae as W, Y as P, am as b, ad as f, a6 as h, a7 as w, a8 as C } from "./index-OkrVupZ5.mjs";
1
+ import { af as s, a9 as p, ac as r, ab as t, aa as i, a4 as l, Z as n, b as E, ag as T, t as o, j as y, ak as v, a as g, al as c, d as S, u, w as k, c as m, ai as M, E as _, ah as d, v as A, aj as I, ae as W, Y as P, am as b, ad as f, a6 as h, a7 as w, a8 as C } from "./index-DNtpxjD9.mjs";
2
2
  export {
3
3
  s as ActiveContainerType,
4
4
  p as ApplianceMultiPlugin,
@@ -1,54 +0,0 @@
1
- import { Plugin } from "../../core/plugin";
2
- export type autdrawRect = {
3
- centerX: number;
4
- centerY: number;
5
- width: number;
6
- height: number;
7
- };
8
- export type PointX = number;
9
- export type PointY = number;
10
- export type PointTimer = number;
11
- export type AutdrawInk = [Array<PointX>, Array<PointY>, Array<PointTimer>];
12
- export type BatchDrawInfo = {
13
- rect: {
14
- centerX: number;
15
- centerY: number;
16
- width: number;
17
- height: number;
18
- };
19
- ink: AutdrawInk[];
20
- };
21
- export type AutoDrawOptions = {
22
- hostServer: string;
23
- container: HTMLDivElement;
24
- delay?: number;
25
- };
26
- export declare class AutoDrawPlugin extends Plugin {
27
- readonly kind = "autoDraw";
28
- private localStorage;
29
- private excludeStorage;
30
- private timer?;
31
- private hostServer;
32
- private iconsContainer;
33
- private icons;
34
- private iconRect?;
35
- private isActive;
36
- private viewId;
37
- private scenePath?;
38
- private delay;
39
- constructor(options: AutoDrawOptions);
40
- get collector(): import("../../collector").Collector | undefined;
41
- onDestroy(): void;
42
- onCreate(): void;
43
- private onSetToolkey;
44
- private syncStorage;
45
- private getOwnStorage;
46
- private batchLocalDraw;
47
- private computAutoDraw;
48
- private buildHTML;
49
- private onClickIcon;
50
- private sceneChange;
51
- private localEvent;
52
- mount(): void;
53
- unMount(): void;
54
- }
@@ -270,7 +270,7 @@ export declare class MasterControlForWorker extends MasterController {
270
270
  }): void;
271
271
  insertBackgroundSVG(viewId: string, svgInfo: ISVGUrlInformation): void;
272
272
  insertBackgroundMarkMap(viewId: string, svgInfo: ISVGMarkmapInformation): Promise<MarkmapId | undefined>;
273
- updateBackgroundMarkMap(viewId: string, scenePath: string, markmapId: string, svgInfo: ISVGMarkmapInformation): Promise<void>;
273
+ updateBackgroundMarkMap(viewId: string, markmapId: string, svgInfo: ISVGMarkmapInformation): Promise<void>;
274
274
  insertImage(viewId: string, imageInfo: ImageInformation): void;
275
275
  lockImage(viewId: string, uuid: string, locked: boolean): void;
276
276
  completeImageUpload(viewId: string, uuid: string, src: string): void;