@midscene/ios 0.30.2-beta-20251010092125.0 → 0.30.3-beta-20251011064436.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/bin.mjs +2 -1
- package/dist/es/index.mjs +2 -1
- package/dist/lib/bin.js +2 -1
- package/dist/lib/index.js +2 -1
- package/package.json +5 -5
- package/static/index.html +1 -1
- package/static/static/js/{index.58f74ad1.js → index.d6090407.js} +4 -4
- package/static/static/js/index.d6090407.js.map +1 -0
- package/static/static/js/index.58f74ad1.js.map +0 -1
- /package/static/static/js/{index.58f74ad1.js.LICENSE.txt → index.d6090407.js.LICENSE.txt} +0 -0
package/dist/es/bin.mjs
CHANGED
|
@@ -12099,13 +12099,14 @@ class device_IOSDevice {
|
|
|
12099
12099
|
paramSchema: z.object({
|
|
12100
12100
|
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.'),
|
|
12101
12101
|
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.'),
|
|
12102
|
+
append: z.boolean().optional().describe('If true, append the value to the existing content instead of replacing it. Default is false.'),
|
|
12102
12103
|
locate: getMidsceneLocationSchema().describe('The input field to be filled').optional()
|
|
12103
12104
|
}),
|
|
12104
12105
|
call: async (param)=>{
|
|
12105
12106
|
var _this_options;
|
|
12106
12107
|
const element = param.locate;
|
|
12107
12108
|
if (element) {
|
|
12108
|
-
await this.clearInput(element);
|
|
12109
|
+
if (!param.append) await this.clearInput(element);
|
|
12109
12110
|
if (!param || !param.value) return;
|
|
12110
12111
|
}
|
|
12111
12112
|
const autoDismissKeyboard = param.autoDismissKeyboard ?? (null == (_this_options = this.options) ? void 0 : _this_options.autoDismissKeyboard);
|
package/dist/es/index.mjs
CHANGED
|
@@ -293,13 +293,14 @@ class IOSDevice {
|
|
|
293
293
|
paramSchema: z.object({
|
|
294
294
|
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.'),
|
|
295
295
|
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.'),
|
|
296
|
+
append: z.boolean().optional().describe('If true, append the value to the existing content instead of replacing it. Default is false.'),
|
|
296
297
|
locate: getMidsceneLocationSchema().describe('The input field to be filled').optional()
|
|
297
298
|
}),
|
|
298
299
|
call: async (param)=>{
|
|
299
300
|
var _this_options;
|
|
300
301
|
const element = param.locate;
|
|
301
302
|
if (element) {
|
|
302
|
-
await this.clearInput(element);
|
|
303
|
+
if (!param.append) await this.clearInput(element);
|
|
303
304
|
if (!param || !param.value) return;
|
|
304
305
|
}
|
|
305
306
|
const autoDismissKeyboard = param.autoDismissKeyboard ?? (null == (_this_options = this.options) ? void 0 : _this_options.autoDismissKeyboard);
|
package/dist/lib/bin.js
CHANGED
|
@@ -12237,13 +12237,14 @@ var __webpack_exports__ = {};
|
|
|
12237
12237
|
paramSchema: core_namespaceObject.z.object({
|
|
12238
12238
|
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.'),
|
|
12239
12239
|
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.'),
|
|
12240
|
+
append: core_namespaceObject.z.boolean().optional().describe('If true, append the value to the existing content instead of replacing it. Default is false.'),
|
|
12240
12241
|
locate: (0, core_namespaceObject.getMidsceneLocationSchema)().describe('The input field to be filled').optional()
|
|
12241
12242
|
}),
|
|
12242
12243
|
call: async (param)=>{
|
|
12243
12244
|
var _this_options;
|
|
12244
12245
|
const element = param.locate;
|
|
12245
12246
|
if (element) {
|
|
12246
|
-
await this.clearInput(element);
|
|
12247
|
+
if (!param.append) await this.clearInput(element);
|
|
12247
12248
|
if (!param || !param.value) return;
|
|
12248
12249
|
}
|
|
12249
12250
|
const autoDismissKeyboard = param.autoDismissKeyboard ?? (null == (_this_options = this.options) ? void 0 : _this_options.autoDismissKeyboard);
|
package/dist/lib/index.js
CHANGED
|
@@ -331,13 +331,14 @@ class IOSDevice {
|
|
|
331
331
|
paramSchema: core_namespaceObject.z.object({
|
|
332
332
|
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.'),
|
|
333
333
|
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.'),
|
|
334
|
+
append: core_namespaceObject.z.boolean().optional().describe('If true, append the value to the existing content instead of replacing it. Default is false.'),
|
|
334
335
|
locate: (0, core_namespaceObject.getMidsceneLocationSchema)().describe('The input field to be filled').optional()
|
|
335
336
|
}),
|
|
336
337
|
call: async (param)=>{
|
|
337
338
|
var _this_options;
|
|
338
339
|
const element = param.locate;
|
|
339
340
|
if (element) {
|
|
340
|
-
await this.clearInput(element);
|
|
341
|
+
if (!param.append) await this.clearInput(element);
|
|
341
342
|
if (!param || !param.value) return;
|
|
342
343
|
}
|
|
343
344
|
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/ios",
|
|
3
|
-
"version": "0.30.
|
|
3
|
+
"version": "0.30.3-beta-20251011064436.0",
|
|
4
4
|
"description": "iOS automation library for Midscene",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"iOS UI automation",
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@inquirer/prompts": "^7.8.6",
|
|
40
40
|
"open": "10.1.0",
|
|
41
|
-
"@midscene/
|
|
42
|
-
"@midscene/webdriver": "0.30.
|
|
43
|
-
"@midscene/
|
|
41
|
+
"@midscene/core": "0.30.3-beta-20251011064436.0",
|
|
42
|
+
"@midscene/webdriver": "0.30.3-beta-20251011064436.0",
|
|
43
|
+
"@midscene/shared": "0.30.3-beta-20251011064436.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@rslib/core": "^0.11.2",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"typescript": "^5.8.3",
|
|
50
50
|
"tsx": "^4.19.2",
|
|
51
51
|
"vitest": "3.0.5",
|
|
52
|
-
"@midscene/playground": "0.30.
|
|
52
|
+
"@midscene/playground": "0.30.3-beta-20251011064436.0"
|
|
53
53
|
},
|
|
54
54
|
"license": "MIT",
|
|
55
55
|
"scripts": {
|
package/static/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!doctype html><html><head><link rel="icon" href="/favicon.ico"><title>Midscene Playground</title><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><script defer src="/static/js/lib-react.f566a9ed.js"></script><script defer src="/static/js/657.5a5fe47b.js"></script><script defer src="/static/js/index.
|
|
1
|
+
<!doctype html><html><head><link rel="icon" href="/favicon.ico"><title>Midscene Playground</title><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><script defer src="/static/js/lib-react.f566a9ed.js"></script><script defer src="/static/js/657.5a5fe47b.js"></script><script defer src="/static/js/index.d6090407.js"></script><link href="/static/css/index.44466eb4.css" rel="stylesheet"></head><body><div id="root"></div></body></html>
|