@netless/window-manager 0.4.0-canary.27 → 0.4.0-canary.28
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/AppManager.d.ts +1 -0
- package/dist/Helper.d.ts +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.es.js +3 -3
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +3 -3
- package/dist/index.umd.js.map +1 -1
- package/docs/api.md +9 -0
- package/package.json +2 -2
- package/src/AppManager.ts +8 -4
- package/src/Helper.ts +12 -1
- package/src/index.ts +13 -20
package/dist/AppManager.d.ts
CHANGED
@@ -61,6 +61,7 @@ export declare class AppManager {
|
|
61
61
|
private _setMainViewScenePath;
|
62
62
|
private updateSceneIndex;
|
63
63
|
setMainViewSceneIndex(index: number): Promise<void>;
|
64
|
+
private dispatchSetMainViewScenePath;
|
64
65
|
getAppInitPath(appId: string): string | undefined;
|
65
66
|
safeDispatchMagixEvent(event: string, payload: any): void;
|
66
67
|
private boxEventListener;
|
package/dist/Helper.d.ts
CHANGED
package/dist/index.d.ts
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
import Emittery from "emittery";
|
2
2
|
import { AppManager } from "./AppManager";
|
3
3
|
import { CursorManager } from "./Cursor";
|
4
|
+
import { InvisiblePlugin, ViewMode } from "white-web-sdk";
|
4
5
|
import { ReconnectRefresher } from "./ReconnectRefresher";
|
5
6
|
import "./style.css";
|
6
7
|
import "@netless/telebox-insider/dist/style.css";
|
7
8
|
import type { TELE_BOX_STATE } from "./BoxManager";
|
8
9
|
import type { Apps, Position } from "./AttributesDelegate";
|
9
|
-
import { InvisiblePlugin, ViewMode } from "white-web-sdk";
|
10
10
|
import type { Displayer, SceneDefinition, View, Room, InvisiblePluginContext, Camera, AnimationMode, CameraBound, Point, Rectangle, ViewVisionMode, CameraState, Player } from "white-web-sdk";
|
11
11
|
import type { AppListeners } from "./AppListener";
|
12
12
|
import type { NetlessApp, RegisterParams } from "./typings";
|
@@ -244,8 +244,8 @@ export declare class WindowManager extends InvisiblePlugin<WindowMangerAttribute
|
|
244
244
|
safeSetAttributes(attributes: any): void;
|
245
245
|
safeUpdateAttributes(keys: string[], value: any): void;
|
246
246
|
setPrefersColorScheme(scheme: TeleBoxColorScheme): void;
|
247
|
+
cleanCurrentScene(): void;
|
247
248
|
private isDynamicPPT;
|
248
|
-
private static checkVersion;
|
249
249
|
private ensureAttributes;
|
250
250
|
}
|
251
251
|
export * from "./typings";
|