@netless/window-manager 1.0.0-canary.57 → 1.0.0-canary.58
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/{index.cjs.js → index.js} +1920 -1266
- package/dist/{index.es.js → index.mjs} +1918 -1247
- package/dist/index.umd.js +1912 -1258
- package/dist/src/View/ViewSync.d.ts +2 -1
- package/dist/src/index.d.ts +4 -0
- package/dist/src/typings.d.ts +1 -1
- package/dist/style.css +14 -0
- package/package.json +6 -6
- package/pnpm-lock.yaml +161 -129
- package/src/App/AppProxy.ts +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/ScrollMode.ts +4 -3
- package/src/View/ViewSync.ts +4 -1
- 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 +11 -0
- package/src/style.css +14 -0
- package/src/typings.ts +1 -1
@@ -1,5 +1,6 @@
|
|
1
|
+
import { Val } from "value-enhancer";
|
1
2
|
import type { View } from "white-web-sdk";
|
2
|
-
import type {
|
3
|
+
import type { ReadonlyVal } from "value-enhancer";
|
3
4
|
import type { ICamera, ISize } from "../AttributesDelegate";
|
4
5
|
import type { TeleBoxRect } from "@netless/telebox-insider";
|
5
6
|
import type { ManagerViewMode } from "../typings";
|
package/dist/src/index.d.ts
CHANGED
@@ -279,6 +279,10 @@ export declare class WindowManager extends InvisiblePlugin<WindowMangerAttribute
|
|
279
279
|
setContainerStyle(style: string): void;
|
280
280
|
setStageStyle(style: string): void;
|
281
281
|
setBaseSize(size: Size): void;
|
282
|
+
/**
|
283
|
+
* 切换 focus 到指定的 app, 并且把这个 app 放到最前面
|
284
|
+
*/
|
285
|
+
focusApp(appId: string): void;
|
282
286
|
createPPTHandler(): {
|
283
287
|
onPageJumpTo: (_pptUUID: string, index: number) => void;
|
284
288
|
onPageToNext: () => void;
|
package/dist/src/typings.d.ts
CHANGED
@@ -76,7 +76,7 @@ export declare type RegisterParams<AppOptions = any, SetupResult = any, Attribut
|
|
76
76
|
contentStyles?: string;
|
77
77
|
};
|
78
78
|
export declare type AppListenerKeys = keyof AppEmitterEvent;
|
79
|
-
export declare type ApplianceIcons = Partial<Record
|
79
|
+
export declare type ApplianceIcons = Partial<Record<`${ApplianceNames}` | string, string>>;
|
80
80
|
export declare type Writeable<T> = {
|
81
81
|
-readonly [P in keyof T]: T[P];
|
82
82
|
};
|
package/dist/style.css
CHANGED
@@ -119,6 +119,20 @@
|
|
119
119
|
margin-top: 3px;
|
120
120
|
}
|
121
121
|
|
122
|
+
.netless-window-manager-cursor-pencilEraser-image {
|
123
|
+
margin-left: -22px;
|
124
|
+
margin-top: 3px;
|
125
|
+
}
|
126
|
+
|
127
|
+
.netless-window-manager-laserPointer-pencilEraser-offset {
|
128
|
+
margin-left: -18px;
|
129
|
+
}
|
130
|
+
|
131
|
+
.netless-window-manager-pencilEraser-3-offset {
|
132
|
+
margin-top: -14px;
|
133
|
+
margin-left: -6px;
|
134
|
+
}
|
135
|
+
|
122
136
|
.netless-window-manager-cursor-name {
|
123
137
|
width: 100%;
|
124
138
|
height: 48px;
|
package/package.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
{
|
2
2
|
"name": "@netless/window-manager",
|
3
|
-
"version": "1.0.0-canary.
|
3
|
+
"version": "1.0.0-canary.58",
|
4
4
|
"description": "",
|
5
|
-
"main": "dist/index.
|
6
|
-
"module": "dist/index.
|
5
|
+
"main": "dist/index.js",
|
6
|
+
"module": "dist/index.mjs",
|
7
7
|
"types": "dist/src/index.d.ts",
|
8
8
|
"repository": "netless-io/window-manager",
|
9
9
|
"scripts": {
|
@@ -64,9 +64,9 @@
|
|
64
64
|
"rollup-plugin-styles": "^3.14.1",
|
65
65
|
"svelte": "^3.42.4",
|
66
66
|
"typescript": "^4.5.5",
|
67
|
-
"vite": "^
|
68
|
-
"vite-plugin-dts": "^1.
|
69
|
-
"vitest": "^0.
|
67
|
+
"vite": "^3.1.3",
|
68
|
+
"vite-plugin-dts": "^1.5.0",
|
69
|
+
"vitest": "^0.23.4",
|
70
70
|
"white-web-sdk": "^2.16.35"
|
71
71
|
}
|
72
72
|
}
|