@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.
- package/dist/App/WhiteboardView.d.ts +3 -1
- package/dist/BoxManager.d.ts +2 -4
- package/dist/BuiltinApps.d.ts +3 -0
- package/dist/Helper.d.ts +1 -1
- package/dist/callback.d.ts +5 -0
- package/dist/index.cjs.js +82 -12
- package/dist/index.d.ts +5 -1
- package/dist/index.es.js +1531 -657
- package/dist/index.umd.js +82 -12
- package/dist/src/App/AppContext.d.ts +78 -0
- package/dist/src/App/AppPageStateImpl.d.ts +21 -0
- package/dist/src/App/AppProxy.d.ts +98 -0
- package/dist/src/App/MagixEvent/index.d.ts +29 -0
- package/dist/src/App/Storage/StorageEvent.d.ts +8 -0
- package/dist/src/App/Storage/index.d.ts +39 -0
- package/dist/src/App/Storage/typings.d.ts +22 -0
- package/dist/src/App/Storage/utils.d.ts +5 -0
- package/dist/src/App/WhiteboardView.d.ts +27 -0
- package/dist/src/App/index.d.ts +4 -0
- package/dist/src/App/type.d.ts +21 -0
- package/dist/src/AppListener.d.ts +19 -0
- package/dist/src/AppManager.d.ts +107 -0
- package/dist/src/AttributesDelegate.d.ts +83 -0
- package/dist/src/BoxEmitter.d.ts +34 -0
- package/dist/src/BoxManager.d.ts +102 -0
- package/dist/src/BuiltinApps.d.ts +8 -0
- package/dist/src/Cursor/Cursor.d.ts +39 -0
- package/dist/src/Cursor/icons.d.ts +3 -0
- package/dist/src/Cursor/index.d.ts +46 -0
- package/dist/src/Helper.d.ts +19 -0
- package/dist/src/InternalEmitter.d.ts +38 -0
- package/dist/src/Page/PageController.d.ts +21 -0
- package/dist/src/Page/index.d.ts +3 -0
- package/dist/src/PageState.d.ts +9 -0
- package/dist/src/ReconnectRefresher.d.ts +24 -0
- package/dist/src/RedoUndo.d.ts +18 -0
- package/dist/src/Register/index.d.ts +28 -0
- package/dist/src/Register/loader.d.ts +4 -0
- package/dist/src/Register/storage.d.ts +8 -0
- package/dist/src/Utils/AppCreateQueue.d.ts +15 -0
- package/dist/src/Utils/Common.d.ts +23 -0
- package/dist/src/Utils/Reactive.d.ts +6 -0
- package/dist/src/Utils/RoomHacker.d.ts +3 -0
- package/dist/src/Utils/error.d.ts +27 -0
- package/dist/src/Utils/log.d.ts +1 -0
- package/dist/src/View/CameraSynchronizer.d.ts +17 -0
- package/dist/src/View/MainView.d.ts +59 -0
- package/dist/src/View/ViewManager.d.ts +13 -0
- package/dist/src/View/ViewSync.d.ts +24 -0
- package/dist/src/callback.d.ts +29 -0
- package/dist/src/constants.d.ts +51 -0
- package/dist/src/image.d.ts +19 -0
- package/dist/src/index.d.ts +267 -0
- package/dist/src/shim.d.ts +11 -0
- package/dist/src/typings.d.ts +88 -0
- package/dist/style.css +1 -1
- package/dist/typings.d.ts +6 -0
- package/docs/app-context.md +2 -2
- package/package.json +9 -4
- package/playwright.config.ts +28 -0
- package/pnpm-lock.yaml +514 -21
- package/src/App/AppContext.ts +2 -2
- package/src/App/AppProxy.ts +13 -7
- package/src/App/WhiteboardView.ts +19 -14
- package/src/BoxManager.ts +32 -36
- package/src/BuiltinApps.ts +5 -0
- package/src/Helper.ts +3 -2
- package/src/View/CameraSynchronizer.ts +3 -7
- package/src/callback.ts +1 -0
- package/src/index.ts +18 -5
- package/src/style.css +3 -41
- package/src/typings.ts +6 -0
- 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";
|