@netless/window-manager 1.0.0-canary.15 → 1.0.0-canary.18

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
@@ -15,6 +15,7 @@ import type { AppProxy } from "./App";
15
15
  import type { PublicEvent } from "./callback";
16
16
  import type Emittery from "emittery";
17
17
  import type { PageController, AddPageParams, PageState } from "./Page";
18
+ import { Val } from "value-enhancer";
18
19
  export declare type WindowMangerAttributes = {
19
20
  modelValue?: string;
20
21
  boxState: TELE_BOX_STATE;
@@ -108,6 +109,7 @@ export declare class WindowManager extends InvisiblePlugin<WindowMangerAttribute
108
109
  appManager?: AppManager;
109
110
  cursorManager?: CursorManager;
110
111
  viewMode: ViewMode;
112
+ viewMode$: Val<ViewMode, any>;
111
113
  isReplay: boolean;
112
114
  private _pageState?;
113
115
  private boxManager?;
@@ -241,6 +243,11 @@ export declare class WindowManager extends InvisiblePlugin<WindowMangerAttribute
241
243
  /** @inner */
242
244
  _refresh(): void;
243
245
  setContainerSizeRatio(ratio: number): void;
246
+ createPPTHandler(): {
247
+ onPageJumpTo: (_pptUUID: string, index: number) => void;
248
+ onPageToNext: () => void;
249
+ onPageToPrev: () => void;
250
+ };
244
251
  private isDynamicPPT;
245
252
  private ensureAttributes;
246
253
  }