@netless/window-manager 1.0.13-test.15 → 1.0.13-test.16

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
@@ -327,6 +327,11 @@ type EmitterEvent = {
327
327
  changePageState: undefined;
328
328
  writableChange: boolean;
329
329
  containerSizeRatioUpdate: number;
330
+ wrapperRectChange: {
331
+ width: number;
332
+ height: number;
333
+ origin?: string;
334
+ };
330
335
  boxesStatusChange: Map<string, TeleBoxState>;
331
336
  lastNotMinimizedBoxesStatusChange: Map<string, NotMinimizedBoxState>;
332
337
  };
@@ -771,6 +776,8 @@ declare class MainViewProxy {
771
776
  private mainViewIsAddListener;
772
777
  private mainViewResizeObserver?;
773
778
  private isForcingMainViewDivElement;
779
+ private wrapperRectWorkaroundFrame;
780
+ private pendingWrapperRectChange?;
774
781
  private mainView;
775
782
  private store;
776
783
  private viewMode;
@@ -785,6 +792,8 @@ declare class MainViewProxy {
785
792
  private get didRelease();
786
793
  private moveCameraSizeByAttributes;
787
794
  private refreshScreenSizeIfStale;
795
+ private onWrapperRectChange;
796
+ private runWrapperRectWorkaround;
788
797
  private forceSyncMainViewDivElement;
789
798
  start(): void;
790
799
  addCameraReaction: () => void;