@netless/window-manager 1.0.0-canary.7 → 1.0.0-canary.8
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/App/AppContext.d.ts +2 -1
- package/dist/App/AppProxy.d.ts +1 -1
- package/dist/App/WhiteboardView.d.ts +4 -3
- package/dist/index.cjs.js +9 -9
- package/dist/index.es.js +13 -13
- package/dist/index.umd.js +9 -9
- package/package.json +1 -1
- package/src/App/AppContext.ts +11 -11
- package/src/App/AppProxy.ts +1 -1
- package/src/App/WhiteboardView.ts +4 -6
package/dist/App/AppContext.d.ts
CHANGED
@@ -34,12 +34,13 @@ export declare class AppContext<TAttributes = any, TMagixEventPayloads = any, TA
|
|
34
34
|
_viewWrapper?: HTMLElement;
|
35
35
|
constructor(manager: AppManager, boxManager: BoxManager, appId: string, appProxy: AppProxy, appOptions?: TAppOptions | (() => TAppOptions) | undefined);
|
36
36
|
get displayer(): import("white-web-sdk").Displayer<import("white-web-sdk").DisplayerCallbacks>;
|
37
|
+
get destroyed(): boolean;
|
37
38
|
/** @deprecated Use context.storage.state instead. */
|
38
39
|
getAttributes: () => TAttributes | undefined;
|
39
40
|
getScenes: () => SceneDefinition[] | undefined;
|
40
41
|
get view(): View | undefined;
|
41
42
|
createWhiteBoardView: (size?: number | undefined) => WhiteBoardView;
|
42
|
-
private
|
43
|
+
private ensurePageSize;
|
43
44
|
getInitScenePath: () => string | undefined;
|
44
45
|
/** Get App writable status. */
|
45
46
|
get isWritable(): boolean;
|
package/dist/App/AppProxy.d.ts
CHANGED
@@ -2,14 +2,15 @@ import type { ReadonlyVal } from "value-enhancer";
|
|
2
2
|
import type { AddPageParams, PageController, PageState } from "../Page";
|
3
3
|
import type { AppProxy } from "./AppProxy";
|
4
4
|
import type { AppContext } from "./AppContext";
|
5
|
-
import type { Camera } from "white-web-sdk";
|
5
|
+
import type { Camera, View } from "white-web-sdk";
|
6
6
|
export declare class WhiteBoardView implements PageController {
|
7
|
+
view: View;
|
7
8
|
protected appContext: AppContext;
|
8
9
|
protected appProxy: AppProxy;
|
9
10
|
private removeViewWrapper;
|
11
|
+
ensureSize: (size: number) => void;
|
10
12
|
readonly pageState$: ReadonlyVal<PageState>;
|
11
|
-
constructor(appContext: AppContext, appProxy: AppProxy, removeViewWrapper: () => void);
|
12
|
-
get view(): import("white-web-sdk").View | undefined;
|
13
|
+
constructor(view: View, appContext: AppContext, appProxy: AppProxy, removeViewWrapper: () => void, ensureSize: (size: number) => void);
|
13
14
|
get pageState(): PageState;
|
14
15
|
moveCamera(camera: Camera): void;
|
15
16
|
nextPage: () => Promise<boolean>;
|