@netless/window-manager 0.4.33 → 0.4.34
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 +10 -0
- package/dist/index.cjs.js +7 -7
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +6 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +7 -7
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/App/AppProxy.ts +4 -0
- package/src/AppManager.ts +1 -0
package/dist/index.es.js
CHANGED
@@ -1471,6 +1471,10 @@ class AppProxy {
|
|
1471
1471
|
});
|
1472
1472
|
if (this.isAddApp && this.box) {
|
1473
1473
|
this.store.updateAppState(appId, AppAttributes.ZIndex, this.box.zIndex);
|
1474
|
+
this.store.updateAppState(appId, AppAttributes.Size, {
|
1475
|
+
width: this.box.intrinsicWidth,
|
1476
|
+
height: this.box.intrinsicHeight
|
1477
|
+
});
|
1474
1478
|
this.boxManager.focusBox({ appId }, false);
|
1475
1479
|
}
|
1476
1480
|
} catch (error) {
|
@@ -2656,6 +2660,7 @@ class AppManager {
|
|
2656
2660
|
}
|
2657
2661
|
}
|
2658
2662
|
async onReconnected() {
|
2663
|
+
this.attributesUpdateCallback(this.attributes.apps);
|
2659
2664
|
const appProxies = Array.from(this.appProxies.values());
|
2660
2665
|
const reconnected = appProxies.map((appProxy) => {
|
2661
2666
|
return appProxy.onReconnected();
|
@@ -15097,7 +15102,7 @@ const reconnectRefresher = new ReconnectRefresher({ emitter });
|
|
15097
15102
|
const _WindowManager = class extends InvisiblePlugin {
|
15098
15103
|
constructor(context) {
|
15099
15104
|
super(context);
|
15100
|
-
this.version = "0.4.
|
15105
|
+
this.version = "0.4.34";
|
15101
15106
|
this.dependencies = { "dependencies": { "@juggle/resize-observer": "^3.3.1", "@netless/telebox-insider": "0.2.26", "emittery": "^0.9.2", "lodash": "^4.17.21", "p-retry": "^4.6.1", "side-effect-manager": "^0.1.5", "uuid": "^7.0.3", "video.js": ">=7" }, "peerDependencies": { "white-web-sdk": "^2.16.0" }, "devDependencies": { "@netless/app-docs-viewer": "^0.2.9", "@netless/app-media-player": "0.1.0-beta.5", "@rollup/plugin-commonjs": "^20.0.0", "@rollup/plugin-node-resolve": "^13.0.4", "@rollup/plugin-url": "^6.1.0", "@sveltejs/vite-plugin-svelte": "^1.0.0-next.22", "@tsconfig/svelte": "^2.0.1", "@types/debug": "^4.1.7", "@types/lodash": "^4.14.182", "@types/lodash-es": "^4.17.4", "@types/uuid": "^8.3.1", "@typescript-eslint/eslint-plugin": "^4.30.0", "@typescript-eslint/parser": "^4.30.0", "@vitest/ui": "^0.14.1", "cypress": "^8.7.0", "dotenv": "^10.0.0", "eslint": "^7.32.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-svelte3": "^3.2.0", "jsdom": "^19.0.0", "less": "^4.1.1", "prettier": "^2.3.2", "prettier-plugin-svelte": "^2.4.0", "rollup-plugin-analyzer": "^4.0.0", "rollup-plugin-styles": "^3.14.1", "svelte": "^3.42.4", "typescript": "^4.5.5", "vite": "^2.5.3", "vitest": "^0.14.1", "white-web-sdk": "2.16.10" } };
|
15102
15107
|
this.emitter = callbacks$1;
|
15103
15108
|
this.viewMode = ViewMode.Broadcaster;
|