@netless/window-manager 1.0.0-canary.26 → 1.0.0-canary.27

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.
Files changed (73) hide show
  1. package/dist/App/WhiteboardView.d.ts +3 -1
  2. package/dist/BoxManager.d.ts +2 -4
  3. package/dist/BuiltinApps.d.ts +3 -0
  4. package/dist/Helper.d.ts +1 -1
  5. package/dist/callback.d.ts +5 -0
  6. package/dist/index.cjs.js +82 -12
  7. package/dist/index.d.ts +5 -1
  8. package/dist/index.es.js +1531 -657
  9. package/dist/index.umd.js +82 -12
  10. package/dist/src/App/AppContext.d.ts +78 -0
  11. package/dist/src/App/AppPageStateImpl.d.ts +21 -0
  12. package/dist/src/App/AppProxy.d.ts +98 -0
  13. package/dist/src/App/MagixEvent/index.d.ts +29 -0
  14. package/dist/src/App/Storage/StorageEvent.d.ts +8 -0
  15. package/dist/src/App/Storage/index.d.ts +39 -0
  16. package/dist/src/App/Storage/typings.d.ts +22 -0
  17. package/dist/src/App/Storage/utils.d.ts +5 -0
  18. package/dist/src/App/WhiteboardView.d.ts +27 -0
  19. package/dist/src/App/index.d.ts +4 -0
  20. package/dist/src/App/type.d.ts +21 -0
  21. package/dist/src/AppListener.d.ts +19 -0
  22. package/dist/src/AppManager.d.ts +107 -0
  23. package/dist/src/AttributesDelegate.d.ts +83 -0
  24. package/dist/src/BoxEmitter.d.ts +34 -0
  25. package/dist/src/BoxManager.d.ts +102 -0
  26. package/dist/src/BuiltinApps.d.ts +8 -0
  27. package/dist/src/Cursor/Cursor.d.ts +39 -0
  28. package/dist/src/Cursor/icons.d.ts +3 -0
  29. package/dist/src/Cursor/index.d.ts +46 -0
  30. package/dist/src/Helper.d.ts +19 -0
  31. package/dist/src/InternalEmitter.d.ts +38 -0
  32. package/dist/src/Page/PageController.d.ts +21 -0
  33. package/dist/src/Page/index.d.ts +3 -0
  34. package/dist/src/PageState.d.ts +9 -0
  35. package/dist/src/ReconnectRefresher.d.ts +24 -0
  36. package/dist/src/RedoUndo.d.ts +18 -0
  37. package/dist/src/Register/index.d.ts +28 -0
  38. package/dist/src/Register/loader.d.ts +4 -0
  39. package/dist/src/Register/storage.d.ts +8 -0
  40. package/dist/src/Utils/AppCreateQueue.d.ts +15 -0
  41. package/dist/src/Utils/Common.d.ts +23 -0
  42. package/dist/src/Utils/Reactive.d.ts +6 -0
  43. package/dist/src/Utils/RoomHacker.d.ts +3 -0
  44. package/dist/src/Utils/error.d.ts +27 -0
  45. package/dist/src/Utils/log.d.ts +1 -0
  46. package/dist/src/View/CameraSynchronizer.d.ts +17 -0
  47. package/dist/src/View/MainView.d.ts +59 -0
  48. package/dist/src/View/ViewManager.d.ts +13 -0
  49. package/dist/src/View/ViewSync.d.ts +24 -0
  50. package/dist/src/callback.d.ts +29 -0
  51. package/dist/src/constants.d.ts +51 -0
  52. package/dist/src/image.d.ts +19 -0
  53. package/dist/src/index.d.ts +267 -0
  54. package/dist/src/shim.d.ts +11 -0
  55. package/dist/src/typings.d.ts +88 -0
  56. package/dist/style.css +1 -1
  57. package/dist/typings.d.ts +6 -0
  58. package/docs/app-context.md +2 -2
  59. package/package.json +9 -4
  60. package/playwright.config.ts +28 -0
  61. package/pnpm-lock.yaml +514 -21
  62. package/src/App/AppContext.ts +2 -2
  63. package/src/App/AppProxy.ts +13 -7
  64. package/src/App/WhiteboardView.ts +19 -14
  65. package/src/BoxManager.ts +32 -36
  66. package/src/BuiltinApps.ts +5 -0
  67. package/src/Helper.ts +3 -2
  68. package/src/View/CameraSynchronizer.ts +3 -7
  69. package/src/callback.ts +1 -0
  70. package/src/index.ts +18 -5
  71. package/src/style.css +3 -41
  72. package/src/typings.ts +6 -0
  73. package/vite.config.js +5 -3
package/dist/index.d.ts CHANGED
@@ -93,6 +93,8 @@ export declare type MountParams = {
93
93
  collectorContainer?: HTMLElement;
94
94
  collectorStyles?: Partial<CSSStyleDeclaration>;
95
95
  overwriteStyles?: string;
96
+ containerStyle?: string;
97
+ stageStyle?: string;
96
98
  cursor?: boolean;
97
99
  debug?: boolean;
98
100
  disableCameraTransform?: boolean;
@@ -253,6 +255,8 @@ export declare class WindowManager extends InvisiblePlugin<WindowMangerAttribute
253
255
  /** @inner */
254
256
  _refresh(): void;
255
257
  setContainerSizeRatio(ratio: number): void;
258
+ setContainerStyle(style: string): void;
259
+ setStageStyle(style: string): void;
256
260
  createPPTHandler(): {
257
261
  onPageJumpTo: (_pptUUID: string, index: number) => void;
258
262
  onPageToNext: () => void;
@@ -262,5 +266,5 @@ export declare class WindowManager extends InvisiblePlugin<WindowMangerAttribute
262
266
  private ensureAttributes;
263
267
  }
264
268
  export * from "./typings";
265
- export { BuiltinApps } from "./BuiltinApps";
269
+ export { BuiltinApps, BuiltinAppsMap } from "./BuiltinApps";
266
270
  export type { PublicEvent } from "./callback";