@netless/window-manager 1.0.13-test.1 → 1.0.13-test.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/dist/index.d.ts +5 -0
- package/dist/index.js +14 -14
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +82 -16
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/AppListener.ts +1 -20
- package/src/AppManager.ts +25 -4
- package/src/AttributesDelegate.ts +7 -5
- package/src/Utils/Common.ts +1 -1
- package/src/Utils/RoomHacker.ts +8 -1
- package/src/Utils/log.ts +37 -0
- package/src/View/MainView.ts +10 -5
- package/src/index.ts +9 -3
package/dist/index.d.ts
CHANGED
|
@@ -435,6 +435,7 @@ type ISize = Size & {
|
|
|
435
435
|
declare class AttributesDelegate {
|
|
436
436
|
private context;
|
|
437
437
|
static readonly kind = "AttributesDelegate";
|
|
438
|
+
private setMainViewCameraConsole;
|
|
438
439
|
constructor(context: StoreContext);
|
|
439
440
|
setContext(context: StoreContext): void;
|
|
440
441
|
get attributes(): any;
|
|
@@ -772,6 +773,7 @@ declare class MainViewProxy {
|
|
|
772
773
|
private store;
|
|
773
774
|
private viewMode;
|
|
774
775
|
private sideEffectManager;
|
|
776
|
+
private playgroundSizeChangeListenerLocalConsole;
|
|
775
777
|
constructor(manager: AppManager);
|
|
776
778
|
private syncCamera;
|
|
777
779
|
private startListenWritableChange;
|
|
@@ -938,6 +940,8 @@ declare class AppManager {
|
|
|
938
940
|
private onAppDelete;
|
|
939
941
|
private closeAll;
|
|
940
942
|
bindMainView(divElement: HTMLDivElement, disableCameraTransform: boolean): void;
|
|
943
|
+
private hasRoot;
|
|
944
|
+
private getRectByDivElement;
|
|
941
945
|
setMainViewFocusPath(scenePath?: string): boolean | undefined;
|
|
942
946
|
private resetScenePath;
|
|
943
947
|
addApp(params: AddAppParams, isDynamicPPT: boolean): Promise<string | undefined>;
|
|
@@ -1310,6 +1314,7 @@ declare class WindowManager extends InvisiblePlugin<WindowMangerAttributes, any>
|
|
|
1310
1314
|
private _roomLogger?;
|
|
1311
1315
|
get Logger(): Logger | undefined;
|
|
1312
1316
|
constructor(context: InvisiblePluginContext);
|
|
1317
|
+
private visibleStateListener;
|
|
1313
1318
|
static onCreate(manager: WindowManager): void;
|
|
1314
1319
|
static mount(params: MountParams, extendClass?: ExtendClass$1): Promise<WindowManager>;
|
|
1315
1320
|
private static initManager;
|