@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 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>;