@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.
- package/dist/es/component/playground/playground-constants.mjs +4 -0
- package/dist/es/component/playground/playground-utils.mjs +1 -0
- package/dist/lib/component/playground/playground-constants.js +4 -0
- package/dist/lib/component/playground/playground-utils.js +1 -0
- package/dist/types/component/playground/playground-constants.d.ts +4 -0
- package/dist/types/component/playground/playground-types.d.ts +1 -1
- package/package.json +4 -4
|
@@ -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,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.
|
|
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/
|
|
74
|
-
"@midscene/
|
|
75
|
-
"@midscene/playground": "0.27.
|
|
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": {
|