@lvce-editor/test-worker 13.5.0 → 13.6.0

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/api.d.ts CHANGED
@@ -494,6 +494,9 @@ interface Preview {
494
494
  readonly handleClick: (hdId: string) => Promise<void>;
495
495
  readonly handleInput: (hdId: string, value: string) => Promise<void>;
496
496
  readonly handleKeyDown: (hdId: string, key: string, code: string) => Promise<void>;
497
+ readonly handleMouseDown: (hdId: string, clientX: number, clientY: number) => Promise<void>;
498
+ readonly handleMouseMove: (hdId: string, value: string, clientX: number, clientY: number) => Promise<void>;
499
+ readonly handleMouseUp: (hdId: string, value: string, clientX: number, clientY: number) => Promise<void>;
497
500
  readonly open: (uri: string) => Promise<void>;
498
501
  readonly setUri: (uri: string) => Promise<void>;
499
502
  readonly waitForClick: () => Promise<void>;
@@ -3321,6 +3321,15 @@ const handleClick = async hdId => {
3321
3321
  const handleInput$3 = async (hdId, value) => {
3322
3322
  await invoke('Preview.handleInput', hdId, value);
3323
3323
  };
3324
+ const handleMouseDown = async (hdId, clientX, clientY) => {
3325
+ await invoke('Preview.handleMouseDown', hdId, clientX, clientY);
3326
+ };
3327
+ const handleMouseUp = async (hdId, value, clientX, clientY) => {
3328
+ await invoke('Preview.handleMouseUp', hdId, value, clientX, clientY);
3329
+ };
3330
+ const handleMouseMove = async (hdId, value, clientX, clientY) => {
3331
+ await invoke('Preview.handleMouseMove', hdId, value, clientX, clientY);
3332
+ };
3324
3333
  const handleKeyDown = async (hdId, key, code) => {
3325
3334
  await invoke('Preview.handleKeyDown', hdId, key, code);
3326
3335
  };
@@ -3335,6 +3344,9 @@ const Preview = {
3335
3344
  handleClick,
3336
3345
  handleInput: handleInput$3,
3337
3346
  handleKeyDown,
3347
+ handleMouseDown,
3348
+ handleMouseMove,
3349
+ handleMouseUp,
3338
3350
  open: open$2,
3339
3351
  setUri,
3340
3352
  waitForClick
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/test-worker",
3
- "version": "13.5.0",
3
+ "version": "13.6.0",
4
4
  "description": "Test Worker",
5
5
  "repository": {
6
6
  "type": "git",