@netless/window-manager 1.0.0-canary.10 → 1.0.0-canary.13
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/dist/App/AppProxy.d.ts +4 -3
- package/dist/App/WhiteboardView.d.ts +1 -1
- package/dist/index.cjs.js +10 -10
- package/dist/index.es.js +51 -42
- package/dist/index.umd.js +10 -10
- package/package.json +3 -3
- package/pnpm-lock.yaml +6 -10
- package/src/App/AppProxy.ts +8 -3
- package/src/App/WhiteboardView.ts +2 -1
- package/src/AppManager.ts +2 -0
- package/src/BoxManager.ts +11 -7
- package/src/View/CameraSynchronizer.ts +3 -2
- package/src/index.ts +7 -8
package/dist/App/AppProxy.d.ts
CHANGED
@@ -29,8 +29,8 @@ export declare class AppProxy implements PageRemoveService {
|
|
29
29
|
status: "normal" | "destroyed";
|
30
30
|
private stateKey;
|
31
31
|
_pageState: AppPageStateImpl;
|
32
|
-
appResult?: NetlessApp
|
33
|
-
appContext?: AppContext
|
32
|
+
appResult?: NetlessApp;
|
33
|
+
appContext?: AppContext;
|
34
34
|
private sideEffectManager;
|
35
35
|
private valManager;
|
36
36
|
private fullPath$;
|
@@ -80,9 +80,10 @@ export declare class AppProxy implements PageRemoveService {
|
|
80
80
|
storeCamera: (camera: ICamera) => void;
|
81
81
|
storeSize: (size: ISize) => void;
|
82
82
|
updateSize: (width: number, height: number) => void;
|
83
|
-
moveCamera: (camera: Camera) => void;
|
83
|
+
moveCamera: (camera: Partial<Camera>) => void;
|
84
84
|
destroy(needCloseBox: boolean, cleanAttrs: boolean, skipUpdate: boolean, error?: Error): Promise<void>;
|
85
85
|
private addCameraReaction;
|
86
86
|
private addSizeReaction;
|
87
|
+
onFocus: () => void;
|
87
88
|
close(): Promise<void>;
|
88
89
|
}
|
@@ -13,7 +13,7 @@ export declare class WhiteBoardView implements PageController {
|
|
13
13
|
readonly pageState$: ReadonlyVal<PageState>;
|
14
14
|
constructor(view: View, appContext: AppContext, appProxy: AppProxy, removeViewWrapper: () => void, ensureSize: (size: number) => void);
|
15
15
|
get pageState(): PageState;
|
16
|
-
moveCamera(camera: Camera): void;
|
16
|
+
moveCamera(camera: Partial<Camera>): void;
|
17
17
|
nextPage: () => Promise<boolean>;
|
18
18
|
prevPage: () => Promise<boolean>;
|
19
19
|
jumpPage: (index: number) => Promise<boolean>;
|