@midscene/android 0.30.3-beta-20251011064436.0 → 0.30.3-beta-20251011125638.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/index.mjs +1 -2
- package/dist/lib/index.js +1 -2
- package/package.json +4 -4
package/dist/es/index.mjs
CHANGED
|
@@ -47,14 +47,13 @@ class AndroidDevice {
|
|
|
47
47
|
paramSchema: z.object({
|
|
48
48
|
value: z.string().describe('The final that should be filled in the input box. No matter what modifications are required, just provide the final value to replace the existing input value. Giving a blank string means clear the input field.'),
|
|
49
49
|
autoDismissKeyboard: z.boolean().optional().describe('If true, the keyboard will be dismissed after the input is completed. Do not set it unless the user asks you to do so.'),
|
|
50
|
-
append: z.boolean().optional().describe('If true, append the value to the existing content instead of replacing it. Default is false.'),
|
|
51
50
|
locate: getMidsceneLocationSchema().describe('The input field to be filled').optional()
|
|
52
51
|
}),
|
|
53
52
|
call: async (param)=>{
|
|
54
53
|
var _this_options;
|
|
55
54
|
const element = param.locate;
|
|
56
55
|
if (element) {
|
|
57
|
-
|
|
56
|
+
await this.clearInput(element);
|
|
58
57
|
if (!param || !param.value) return;
|
|
59
58
|
}
|
|
60
59
|
const autoDismissKeyboard = param.autoDismissKeyboard ?? (null == (_this_options = this.options) ? void 0 : _this_options.autoDismissKeyboard);
|
package/dist/lib/index.js
CHANGED
|
@@ -93,14 +93,13 @@ class AndroidDevice {
|
|
|
93
93
|
paramSchema: core_namespaceObject.z.object({
|
|
94
94
|
value: core_namespaceObject.z.string().describe('The final that should be filled in the input box. No matter what modifications are required, just provide the final value to replace the existing input value. Giving a blank string means clear the input field.'),
|
|
95
95
|
autoDismissKeyboard: core_namespaceObject.z.boolean().optional().describe('If true, the keyboard will be dismissed after the input is completed. Do not set it unless the user asks you to do so.'),
|
|
96
|
-
append: core_namespaceObject.z.boolean().optional().describe('If true, append the value to the existing content instead of replacing it. Default is false.'),
|
|
97
96
|
locate: (0, core_namespaceObject.getMidsceneLocationSchema)().describe('The input field to be filled').optional()
|
|
98
97
|
}),
|
|
99
98
|
call: async (param)=>{
|
|
100
99
|
var _this_options;
|
|
101
100
|
const element = param.locate;
|
|
102
101
|
if (element) {
|
|
103
|
-
|
|
102
|
+
await this.clearInput(element);
|
|
104
103
|
if (!param || !param.value) return;
|
|
105
104
|
}
|
|
106
105
|
const autoDismissKeyboard = param.autoDismissKeyboard ?? (null == (_this_options = this.options) ? void 0 : _this_options.autoDismissKeyboard);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midscene/android",
|
|
3
|
-
"version": "0.30.3-beta-
|
|
3
|
+
"version": "0.30.3-beta-20251011125638.0",
|
|
4
4
|
"description": "Android automation library for Midscene",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Android UI automation",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"appium-adb": "12.12.1",
|
|
30
|
-
"@midscene/shared": "0.30.3-beta-
|
|
31
|
-
"@midscene/core": "0.30.3-beta-
|
|
30
|
+
"@midscene/shared": "0.30.3-beta-20251011125638.0",
|
|
31
|
+
"@midscene/core": "0.30.3-beta-20251011125638.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@rslib/core": "^0.11.2",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"typescript": "^5.8.3",
|
|
38
38
|
"tsx": "^4.19.2",
|
|
39
39
|
"vitest": "3.0.5",
|
|
40
|
-
"@midscene/playground": "0.30.3-beta-
|
|
40
|
+
"@midscene/playground": "0.30.3-beta-20251011125638.0"
|
|
41
41
|
},
|
|
42
42
|
"license": "MIT",
|
|
43
43
|
"scripts": {
|