@netless/window-manager 1.0.13-test.1 → 1.0.13-test.11
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 +7 -0
- package/dist/index.js +14 -14
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +155 -16
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/AppListener.ts +1 -20
- package/src/AppManager.ts +29 -4
- package/src/AttributesDelegate.ts +7 -5
- package/src/BoxManager.ts +1 -0
- package/src/ContainerResizeObserver.ts +5 -0
- 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 +47 -5
- package/src/index.ts +29 -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;
|
|
@@ -780,6 +782,7 @@ declare class MainViewProxy {
|
|
|
780
782
|
private get mainViewSize();
|
|
781
783
|
private get didRelease();
|
|
782
784
|
private moveCameraSizeByAttributes;
|
|
785
|
+
private refreshScreenSizeIfStale;
|
|
783
786
|
start(): void;
|
|
784
787
|
addCameraReaction: () => void;
|
|
785
788
|
setCameraAndSize(): void;
|
|
@@ -938,6 +941,8 @@ declare class AppManager {
|
|
|
938
941
|
private onAppDelete;
|
|
939
942
|
private closeAll;
|
|
940
943
|
bindMainView(divElement: HTMLDivElement, disableCameraTransform: boolean): void;
|
|
944
|
+
private hasRoot;
|
|
945
|
+
private getRectByDivElement;
|
|
941
946
|
setMainViewFocusPath(scenePath?: string): boolean | undefined;
|
|
942
947
|
private resetScenePath;
|
|
943
948
|
addApp(params: AddAppParams, isDynamicPPT: boolean): Promise<string | undefined>;
|
|
@@ -1310,8 +1315,10 @@ declare class WindowManager extends InvisiblePlugin<WindowMangerAttributes, any>
|
|
|
1310
1315
|
private _roomLogger?;
|
|
1311
1316
|
get Logger(): Logger | undefined;
|
|
1312
1317
|
constructor(context: InvisiblePluginContext);
|
|
1318
|
+
private visibleStateListener;
|
|
1313
1319
|
static onCreate(manager: WindowManager): void;
|
|
1314
1320
|
static mount(params: MountParams, extendClass?: ExtendClass$1): Promise<WindowManager>;
|
|
1321
|
+
onMainViewScenePathChangeHandler: (scenePath: string) => void;
|
|
1315
1322
|
private static initManager;
|
|
1316
1323
|
private static initContainer;
|
|
1317
1324
|
static get registered(): Map<string, RegisterParams>;
|