@netless/window-manager 0.4.11-canary.1 → 0.4.12
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/CHANGELOG.md +11 -3
- package/dist/AppManager.d.ts +3 -1
- package/dist/AppProxy.d.ts +1 -1
- package/dist/InternalEmitter.d.ts +1 -0
- package/dist/Utils/AppCreateQueue.d.ts +2 -0
- package/dist/constants.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +3 -3
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +5 -5
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/src/AppManager.ts +25 -11
- package/src/AppProxy.ts +4 -2
- package/src/InternalEmitter.ts +1 -0
- package/src/PageState.ts +5 -5
- package/src/Utils/AppCreateQueue.ts +16 -7
- package/src/Utils/RoomHacker.ts +3 -3
- package/src/constants.ts +1 -0
- package/src/index.ts +8 -4
package/CHANGELOG.md
CHANGED
@@ -1,11 +1,19 @@
|
|
1
|
-
## 0.
|
1
|
+
## 0.4.12
|
2
2
|
|
3
|
-
1.
|
3
|
+
1. 升级 `@netless/telebox-insider` 到 `0.2.26`
|
4
|
+
2. 修复回放时 `seek` app 状态错误的问题
|
4
5
|
|
5
|
-
## 0.4.11
|
6
|
+
## 0.4.11
|
6
7
|
|
7
8
|
1. 升级 `@netless/app-docs-viewer` 到 `0.2.8`
|
8
9
|
2. 同步注册的 url 的 src 到远端
|
10
|
+
3. 添加 `pageState` 和 `pageStateChange` 事件
|
11
|
+
4. 修复 manager 设置初始化 scenePath 错误的问题
|
12
|
+
5. 添加 `containerSizeRatio` 到 `manager` 实例
|
13
|
+
|
14
|
+
## 0.3.27
|
15
|
+
|
16
|
+
1. 修复在同时调用多次 `addApp` 时, 先添加的课件不显示的问题
|
9
17
|
|
10
18
|
## 0.4.10
|
11
19
|
|
package/dist/AppManager.d.ts
CHANGED
@@ -34,7 +34,8 @@ export declare class AppManager {
|
|
34
34
|
*/
|
35
35
|
private onRootDirRemoved;
|
36
36
|
private onReadonlyChanged;
|
37
|
-
private
|
37
|
+
private onPlayerSeekStart;
|
38
|
+
private onPlayerSeekDone;
|
38
39
|
private createRootDirScenesCallback;
|
39
40
|
private onSceneChange;
|
40
41
|
private emitMainViewScenesChange;
|
@@ -62,6 +63,7 @@ export declare class AppManager {
|
|
62
63
|
resetMaximized(): void;
|
63
64
|
resetMinimized(): void;
|
64
65
|
private onAppDelete;
|
66
|
+
private closeAll;
|
65
67
|
bindMainView(divElement: HTMLDivElement, disableCameraTransform: boolean): void;
|
66
68
|
setMainViewFocusPath(scenePath?: string): boolean | undefined;
|
67
69
|
private resetScenePath;
|
package/dist/AppProxy.d.ts
CHANGED
@@ -39,7 +39,7 @@ export declare class AppProxy {
|
|
39
39
|
private setupApp;
|
40
40
|
private fixMobileSize;
|
41
41
|
private afterSetupApp;
|
42
|
-
onSeek(time: number): void
|
42
|
+
onSeek(time: number): Promise<void>;
|
43
43
|
onReconnected(): Promise<void>;
|
44
44
|
getAppInitState: (id: string) => AppInitState | undefined;
|
45
45
|
emitAppSceneStateChange(sceneState: SceneState): void;
|
package/dist/constants.d.ts
CHANGED
package/dist/index.d.ts
CHANGED
@@ -115,6 +115,7 @@ export declare class WindowManager extends InvisiblePlugin<WindowMangerAttribute
|
|
115
115
|
private boxManager?;
|
116
116
|
private static params?;
|
117
117
|
private containerResizeObserver?;
|
118
|
+
containerSizeRatio: number;
|
118
119
|
constructor(context: InvisiblePluginContext);
|
119
120
|
static mount(params: MountParams): Promise<WindowManager>;
|
120
121
|
private static initManager;
|