@netless/window-manager 0.4.3 → 0.4.4
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.d.ts +6 -1
- package/dist/index.es.js +2 -2
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/docs/api.md +9 -0
- package/package.json +1 -1
- package/src/View/ViewManager.ts +10 -2
- package/src/index.ts +29 -43
package/dist/index.d.ts
CHANGED
@@ -8,7 +8,7 @@ import "@netless/telebox-insider/dist/style.css";
|
|
8
8
|
import type { LoadAppEvent } from "./Register";
|
9
9
|
import type { TELE_BOX_STATE } from "./BoxManager";
|
10
10
|
import type { Apps, Position } from "./AttributesDelegate";
|
11
|
-
import type { Displayer, SceneDefinition, View, Room, InvisiblePluginContext, Camera, AnimationMode, CameraBound, Point, Rectangle, ViewVisionMode, CameraState, Player } from "white-web-sdk";
|
11
|
+
import type { Displayer, SceneDefinition, View, Room, InvisiblePluginContext, Camera, AnimationMode, CameraBound, Point, Rectangle, ViewVisionMode, CameraState, Player, ImageInformation } from "white-web-sdk";
|
12
12
|
import type { AppListeners } from "./AppListener";
|
13
13
|
import type { NetlessApp, RegisterParams } from "./typings";
|
14
14
|
import type { TeleBoxColorScheme, TeleBoxState } from "@netless/telebox-insider";
|
@@ -258,6 +258,11 @@ export declare class WindowManager extends InvisiblePlugin<WindowMangerAttribute
|
|
258
258
|
copy(): void;
|
259
259
|
paste(): void;
|
260
260
|
duplicate(): void;
|
261
|
+
insertText(x: number, y: number, text: string): string;
|
262
|
+
insertImage(info: ImageInformation): void;
|
263
|
+
completeImageUpload(uuid: string, url: string): void;
|
264
|
+
lockImage(uuid: string, locked: boolean): void;
|
265
|
+
lockImages(locked: boolean): void;
|
261
266
|
private isDynamicPPT;
|
262
267
|
private ensureAttributes;
|
263
268
|
}
|