@netless/window-manager 1.0.0-canary.6 → 1.0.0-canary.9
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/AppContext.d.ts +2 -1
- package/dist/App/AppProxy.d.ts +8 -3
- package/dist/App/WhiteboardView.d.ts +4 -3
- package/dist/AppManager.d.ts +2 -2
- package/dist/BoxManager.d.ts +1 -2
- package/dist/Page/PageController.d.ts +1 -0
- package/dist/View/CameraSynchronizer.d.ts +3 -4
- package/dist/View/MainView.d.ts +0 -1
- package/dist/index.cjs.js +10 -10
- package/dist/index.d.ts +3 -2
- package/dist/index.es.js +147 -161
- package/dist/index.umd.js +10 -10
- package/package.json +2 -2
- package/pnpm-lock.yaml +4 -4
- package/src/App/AppContext.ts +13 -12
- package/src/App/AppProxy.ts +94 -72
- package/src/App/AppViewSync.ts +2 -2
- package/src/App/WhiteboardView.ts +4 -6
- package/src/AppManager.ts +16 -18
- package/src/BoxManager.ts +2 -6
- package/src/Page/PageController.ts +1 -0
- package/src/View/CameraSynchronizer.ts +3 -20
- package/src/View/MainView.ts +15 -28
- package/src/index.ts +15 -2
- package/dist/View/ViewSync.d.ts +0 -7
- package/src/View/ViewSync.ts +0 -10
package/dist/index.d.ts
CHANGED
@@ -80,8 +80,8 @@ export declare type MountParams = {
|
|
80
80
|
container?: HTMLElement;
|
81
81
|
/** 白板高宽比例, 默认为 9 / 16 */
|
82
82
|
containerSizeRatio?: number;
|
83
|
-
/**
|
84
|
-
|
83
|
+
/** 是否高亮显示同步区域, 默认为 true */
|
84
|
+
highlightStage?: boolean;
|
85
85
|
collectorContainer?: HTMLElement;
|
86
86
|
collectorStyles?: Partial<CSSStyleDeclaration>;
|
87
87
|
overwriteStyles?: string;
|
@@ -144,6 +144,7 @@ export declare class WindowManager extends InvisiblePlugin<WindowMangerAttribute
|
|
144
144
|
setMainViewSceneIndex(index: number): Promise<void>;
|
145
145
|
nextPage(): Promise<boolean>;
|
146
146
|
prevPage(): Promise<boolean>;
|
147
|
+
jumpPage(index: number): Promise<boolean>;
|
147
148
|
addPage(params?: AddPageParams): Promise<void>;
|
148
149
|
/**
|
149
150
|
* 删除一页
|