@netless/appliance-plugin 1.1.7-beta.1 → 1.1.7-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/cdn/cdn.js +1 -1
- package/cdn/{subWorker-XTl6EZ.js → fullWorker-DVsjhY.js} +10 -10
- package/cdn/{fullWorker-BGfri8.js → subWorker-DpBUJ4.js} +10 -10
- package/dist/appliance-plugin.js +1 -1
- package/dist/appliance-plugin.mjs +14 -14
- package/dist/core/tools/image.d.ts +1 -1
- package/dist/core/worker/base.d.ts +1 -1
- package/dist/core/worker/fullWorkerLocal.d.ts +1 -1
- package/dist/fullWorker.js +10 -10
- package/dist/index-BfA1zCo6.js +1 -0
- package/dist/{index-DfZ57j4r.mjs → index-C1JWy8hu.mjs} +5946 -4609
- package/dist/{index-TeQIkGn4.mjs → index-Cyvc5uZE.mjs} +315 -466
- package/dist/index-NGXrpqQu.js +1 -0
- package/dist/plugin/multi/applianceMultiManager.d.ts +0 -1
- package/dist/plugin/types.d.ts +2 -2
- package/dist/subWorker.js +10 -10
- package/package.json +1 -1
- package/dist/index-D3dyn50A.js +0 -1
- package/dist/index-oo0mEhB3.js +0 -1
|
@@ -7,7 +7,6 @@ export declare class ApplianceMultiManager extends BaseApplianceManager {
|
|
|
7
7
|
viewContainerManager: ViewContainerMultiManager;
|
|
8
8
|
constructor(params: BaseApplianceManagerProps);
|
|
9
9
|
init(): void;
|
|
10
|
-
destroy(): void;
|
|
11
10
|
activePlugin(): void;
|
|
12
11
|
activeWorker(): Promise<void>;
|
|
13
12
|
setWindowManager(windowManager: WindowManager): void;
|
package/dist/plugin/types.d.ts
CHANGED
|
@@ -128,7 +128,7 @@ 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' | '
|
|
131
|
+
export type canBindMethodType = keyof Omit<AppliancePluginInstance, 'displayer' | 'windowManager' | '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;
|
|
@@ -237,7 +237,7 @@ export interface AppliancePluginInstance {
|
|
|
237
237
|
* 使用插件
|
|
238
238
|
* @param plugin 插件
|
|
239
239
|
*/
|
|
240
|
-
|
|
240
|
+
usePlugin(plugin: Plugin): void;
|
|
241
241
|
}
|
|
242
242
|
export type Logger = {
|
|
243
243
|
readonly info: (...messages: any[]) => void;
|