@netless/appliance-plugin 1.1.10 → 1.1.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-B5am5t.js → fullWorker-DxZdUl.js} +76 -76
- package/cdn/{subWorker-BNBv5T.js → subWorker-5GNo7p.js} +76 -76
- package/dist/appliance-plugin.js +1 -1
- package/dist/appliance-plugin.mjs +1 -1
- package/dist/core/types.d.ts +1 -0
- package/dist/core/vNodeManager.d.ts +1 -1
- package/dist/fullWorker.js +76 -76
- package/dist/{index-vs0uTdYT.js → index-BTfw__T5.js} +1 -1
- package/dist/index-CzXLwKrb.js +1 -0
- package/dist/{index-DCVJNFKI.mjs → index-DKv5OrcQ.mjs} +4333 -4258
- package/dist/{index-BxY7kerI.mjs → index-DWoZQBgi.mjs} +1 -1
- package/dist/plugin/baseApplianceManager.d.ts +6 -0
- package/dist/plugin/types.d.ts +3 -1
- package/dist/subWorker.js +76 -76
- package/package.json +1 -1
- package/dist/index-C2jNkleW.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var te = Object.defineProperty;
|
|
2
2
|
var se = (L, t, e) => t in L ? te(L, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : L[t] = e;
|
|
3
3
|
var u = (L, t, e) => se(L, typeof t != "symbol" ? t + "" : t, e);
|
|
4
|
-
import { D as R, E as W, a as f, b as g, g as F, t as A, c as h, S as j, d as N, e as $, i as oe, C as U, f as re, h as T, M, V as ie, j as X, T as H, k as P, l as q, m as B, n as ae, o as G, p as V, q as ce } from "./index-
|
|
4
|
+
import { D as R, E as W, a as f, b as g, g as F, t as A, c as h, S as j, d as N, e as $, i as oe, C as U, f as re, h as T, M, V as ie, j as X, T as H, k as P, l as q, m as B, n as ae, o as G, p as V, q as ce } from "./index-DKv5OrcQ.mjs";
|
|
5
5
|
import { Scene as Y, Group as Q } from "spritejs";
|
|
6
6
|
import { cloneDeep as J, xor as ne, isNumber as K, isEqual as Z } from "lodash";
|
|
7
7
|
import "lineclip";
|
|
@@ -30,6 +30,8 @@ export declare abstract class BaseApplianceManager {
|
|
|
30
30
|
collector?: Collector;
|
|
31
31
|
hasSwitchToSelectorEffect?: boolean;
|
|
32
32
|
snapshootStateMap?: Map<string, unknown>;
|
|
33
|
+
_disableDeviceInputs?: boolean;
|
|
34
|
+
_disableEraseImage?: boolean;
|
|
33
35
|
priority: PriorityType;
|
|
34
36
|
effectResolve?: (value: boolean) => void;
|
|
35
37
|
readonly hotkeyManager: HotkeyManager;
|
|
@@ -43,6 +45,10 @@ export declare abstract class BaseApplianceManager {
|
|
|
43
45
|
readonly miniMapManager: MiniMapManagerImpl;
|
|
44
46
|
readonly pluginManager: PluginManager;
|
|
45
47
|
constructor(params: BaseApplianceManagerProps);
|
|
48
|
+
get disableEraseImage(): boolean;
|
|
49
|
+
set disableEraseImage(bol: boolean);
|
|
50
|
+
get disableDeviceInputs(): boolean;
|
|
51
|
+
set disableDeviceInputs(bol: boolean);
|
|
46
52
|
setPriority(priority: PriorityType): void;
|
|
47
53
|
hasOffscreenCanvas(): boolean;
|
|
48
54
|
bindPlugin(plugin: AppliancePluginLike): void;
|
package/dist/plugin/types.d.ts
CHANGED
|
@@ -128,11 +128,13 @@ export type ApplianceAdaptor = {
|
|
|
128
128
|
logger?: Logger;
|
|
129
129
|
cursorAdapter?: CursorAdapter;
|
|
130
130
|
};
|
|
131
|
-
export type canBindMethodType = keyof Omit<AppliancePluginInstance, 'displayer' | 'windowManager' | 'injectMethodToObject' | 'callbacksOn' | 'callbacksOnce' | 'callbacksOff' | '_injectTargetObject' | 'createMiniMap' | 'destroyMiniMap' | 'filterRenderByUid' | 'cancelFilterRender' | 'addListener' | 'removeListener' | 'usePlugin'>;
|
|
131
|
+
export type canBindMethodType = keyof Omit<AppliancePluginInstance, 'displayer' | 'windowManager' | 'disableDeviceInputs' | 'disableEraseImage' | 'injectMethodToObject' | 'callbacksOn' | 'callbacksOnce' | 'callbacksOff' | '_injectTargetObject' | 'createMiniMap' | 'destroyMiniMap' | 'filterRenderByUid' | 'cancelFilterRender' | 'addListener' | 'removeListener' | 'usePlugin'>;
|
|
132
132
|
export interface AppliancePluginInstance {
|
|
133
133
|
readonly displayer: Displayer;
|
|
134
134
|
readonly currentManager?: ApplianceManagerLike;
|
|
135
135
|
readonly windowManager?: WindowManager;
|
|
136
|
+
disableDeviceInputs: boolean;
|
|
137
|
+
disableEraseImage: boolean;
|
|
136
138
|
/**
|
|
137
139
|
* 获取某个场景里包含所有元素的矩形
|
|
138
140
|
*/
|