@netless/window-manager 0.4.43 → 0.4.44
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 +4 -0
- package/dist/View/MainView.d.ts +3 -0
- package/dist/index.cjs.js +12 -12
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +75 -27
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +12 -12
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/typings.d.ts +1 -1
- package/package.json +1 -1
- package/src/Cursor/Cursor.svelte +6 -2
- package/src/Cursor/Cursor.ts +9 -2
- package/src/Cursor/icons.ts +6 -0
- package/src/View/MainView.ts +9 -2
- package/src/image/pencil-eraser-1.svg +3 -0
- package/src/image/pencil-eraser-2.svg +3 -0
- package/src/image/pencil-eraser-3.svg +3 -0
- package/src/index.ts +1 -0
- package/src/style.css +14 -0
- package/src/typings.ts +1 -1
package/CHANGELOG.md
CHANGED
package/dist/View/MainView.d.ts
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
import { ViewMode } from "white-web-sdk";
|
1
2
|
import type { Camera, Size, View } from "white-web-sdk";
|
2
3
|
import type { AppManager } from "../AppManager";
|
3
4
|
export declare class MainViewProxy {
|
@@ -7,6 +8,7 @@ export declare class MainViewProxy {
|
|
7
8
|
private mainViewIsAddListener;
|
8
9
|
private mainView;
|
9
10
|
private store;
|
11
|
+
private viewMode;
|
10
12
|
private sideEffectManager;
|
11
13
|
constructor(manager: AppManager);
|
12
14
|
private startListenWritableChange;
|
@@ -45,5 +47,6 @@ export declare class MainViewProxy {
|
|
45
47
|
moveCameraToContian(size: Size): void;
|
46
48
|
moveCamera(camera: Camera): void;
|
47
49
|
stop(): void;
|
50
|
+
setViewMode: (mode: ViewMode) => void;
|
48
51
|
destroy(): void;
|
49
52
|
}
|