@midscene/visualizer 0.27.6 → 0.27.7-beta-20250902060833.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.
@@ -53,6 +53,10 @@ const apiMetadata = {
53
53
  group: 'interaction',
54
54
  title: 'Click an element'
55
55
  },
56
+ aiDoubleClick: {
57
+ group: 'interaction',
58
+ title: 'Double-click an element'
59
+ },
56
60
  aiHover: {
57
61
  group: 'interaction',
58
62
  title: 'Hover over an element'
@@ -101,6 +101,7 @@ const getPlaceholderForType = (type)=>{
101
101
  if ('aiQuery' === type) return 'What do you want to query?';
102
102
  if ('aiAssert' === type) return 'What do you want to assert?';
103
103
  if ('aiTap' === type) return 'What element do you want to tap?';
104
+ if ('aiDoubleClick' === type) return 'What element do you want to double-click?';
104
105
  if ('aiHover' === type) return 'What element do you want to hover over?';
105
106
  if ('aiInput' === type) return 'Format: <value> | <element>\nExample: hello world | search box';
106
107
  if ('aiRightClick' === type) return 'What element do you want to right-click?';
@@ -99,6 +99,10 @@ const apiMetadata = {
99
99
  group: 'interaction',
100
100
  title: 'Click an element'
101
101
  },
102
+ aiDoubleClick: {
103
+ group: 'interaction',
104
+ title: 'Double-click an element'
105
+ },
102
106
  aiHover: {
103
107
  group: 'interaction',
104
108
  title: 'Hover over an element'
@@ -141,6 +141,7 @@ const getPlaceholderForType = (type)=>{
141
141
  if ('aiQuery' === type) return 'What do you want to query?';
142
142
  if ('aiAssert' === type) return 'What do you want to assert?';
143
143
  if ('aiTap' === type) return 'What element do you want to tap?';
144
+ if ('aiDoubleClick' === type) return 'What element do you want to double-click?';
144
145
  if ('aiHover' === type) return 'What element do you want to hover over?';
145
146
  if ('aiInput' === type) return 'Format: <value> | <element>\nExample: hello world | search box';
146
147
  if ('aiRightClick' === type) return 'What element do you want to right-click?';
@@ -16,6 +16,10 @@ export declare const apiMetadata: {
16
16
  group: string;
17
17
  title: string;
18
18
  };
19
+ aiDoubleClick: {
20
+ group: string;
21
+ title: string;
22
+ };
19
23
  aiHover: {
20
24
  group: string;
21
25
  title: string;
@@ -16,4 +16,4 @@ export interface StaticPlaygroundProps {
16
16
  context: WebUIContext | null;
17
17
  }
18
18
  export type ServiceModeType = 'Server' | 'In-Browser' | 'In-Browser-Extension';
19
- export type RunType = 'aiAction' | 'aiQuery' | 'aiAssert' | 'aiTap' | 'aiHover' | 'aiInput' | 'aiRightClick' | 'aiKeyboardPress' | 'aiScroll' | 'aiLocate' | 'aiBoolean' | 'aiNumber' | 'aiString' | 'aiAsk' | 'aiWaitFor';
19
+ export type RunType = 'aiAction' | 'aiQuery' | 'aiAssert' | 'aiTap' | 'aiDoubleClick' | 'aiHover' | 'aiInput' | 'aiRightClick' | 'aiKeyboardPress' | 'aiScroll' | 'aiLocate' | 'aiBoolean' | 'aiNumber' | 'aiString' | 'aiAsk' | 'aiWaitFor';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@midscene/visualizer",
3
- "version": "0.27.6",
3
+ "version": "0.27.7-beta-20250902060833.0",
4
4
  "repository": "https://github.com/web-infra-dev/midscene",
5
5
  "homepage": "https://midscenejs.com/",
6
6
  "types": "./dist/types/index.d.ts",
@@ -70,9 +70,9 @@
70
70
  "antd": "^5.21.6",
71
71
  "buffer": "6.0.3",
72
72
  "dayjs": "^1.11.11",
73
- "@midscene/shared": "0.27.6",
74
- "@midscene/core": "0.27.6",
75
- "@midscene/playground": "0.27.6"
73
+ "@midscene/core": "0.27.7-beta-20250902060833.0",
74
+ "@midscene/shared": "0.27.7-beta-20250902060833.0",
75
+ "@midscene/playground": "0.27.7-beta-20250902060833.0"
76
76
  },
77
77
  "license": "MIT",
78
78
  "scripts": {