appium-desktop-driver 1.2.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/LICENSE +202 -0
- package/README.md +609 -0
- package/ROADMAP.md +175 -0
- package/build/lib/commands/actions.d.ts +12 -0
- package/build/lib/commands/actions.d.ts.map +1 -0
- package/build/lib/commands/actions.js +242 -0
- package/build/lib/commands/actions.js.map +1 -0
- package/build/lib/commands/app.d.ts +18 -0
- package/build/lib/commands/app.d.ts.map +1 -0
- package/build/lib/commands/app.js +280 -0
- package/build/lib/commands/app.js.map +1 -0
- package/build/lib/commands/device.d.ts +11 -0
- package/build/lib/commands/device.d.ts.map +1 -0
- package/build/lib/commands/device.js +236 -0
- package/build/lib/commands/device.js.map +1 -0
- package/build/lib/commands/element.d.ts +16 -0
- package/build/lib/commands/element.d.ts.map +1 -0
- package/build/lib/commands/element.js +233 -0
- package/build/lib/commands/element.js.map +1 -0
- package/build/lib/commands/extension.d.ts +124 -0
- package/build/lib/commands/extension.d.ts.map +1 -0
- package/build/lib/commands/extension.js +715 -0
- package/build/lib/commands/extension.js.map +1 -0
- package/build/lib/commands/functions.d.ts +3 -0
- package/build/lib/commands/functions.d.ts.map +1 -0
- package/build/lib/commands/functions.js +194 -0
- package/build/lib/commands/functions.js.map +1 -0
- package/build/lib/commands/index.d.ts +178 -0
- package/build/lib/commands/index.d.ts.map +1 -0
- package/build/lib/commands/index.js +54 -0
- package/build/lib/commands/index.js.map +1 -0
- package/build/lib/commands/powershell.d.ts +6 -0
- package/build/lib/commands/powershell.d.ts.map +1 -0
- package/build/lib/commands/powershell.js +202 -0
- package/build/lib/commands/powershell.js.map +1 -0
- package/build/lib/commands/screen-recorder.d.ts +40 -0
- package/build/lib/commands/screen-recorder.d.ts.map +1 -0
- package/build/lib/commands/screen-recorder.js +183 -0
- package/build/lib/commands/screen-recorder.js.map +1 -0
- package/build/lib/commands/system.d.ts +4 -0
- package/build/lib/commands/system.d.ts.map +1 -0
- package/build/lib/commands/system.js +8 -0
- package/build/lib/commands/system.js.map +1 -0
- package/build/lib/constants.d.ts +3 -0
- package/build/lib/constants.d.ts.map +1 -0
- package/build/lib/constants.js +6 -0
- package/build/lib/constants.js.map +1 -0
- package/build/lib/constraints.d.ts +58 -0
- package/build/lib/constraints.d.ts.map +1 -0
- package/build/lib/constraints.js +60 -0
- package/build/lib/constraints.js.map +1 -0
- package/build/lib/driver.d.ts +36 -0
- package/build/lib/driver.d.ts.map +1 -0
- package/build/lib/driver.js +209 -0
- package/build/lib/driver.js.map +1 -0
- package/build/lib/enums.d.ts +89 -0
- package/build/lib/enums.d.ts.map +1 -0
- package/build/lib/enums.js +83 -0
- package/build/lib/enums.js.map +1 -0
- package/build/lib/mcp/appium-manager.d.ts +8 -0
- package/build/lib/mcp/appium-manager.d.ts.map +1 -0
- package/build/lib/mcp/appium-manager.js +160 -0
- package/build/lib/mcp/appium-manager.js.map +1 -0
- package/build/lib/mcp/config.d.ts +7 -0
- package/build/lib/mcp/config.d.ts.map +1 -0
- package/build/lib/mcp/config.js +14 -0
- package/build/lib/mcp/config.js.map +1 -0
- package/build/lib/mcp/constants.d.ts +3 -0
- package/build/lib/mcp/constants.d.ts.map +1 -0
- package/build/lib/mcp/constants.js +6 -0
- package/build/lib/mcp/constants.js.map +1 -0
- package/build/lib/mcp/errors.d.ts +2 -0
- package/build/lib/mcp/errors.d.ts.map +1 -0
- package/build/lib/mcp/errors.js +10 -0
- package/build/lib/mcp/errors.js.map +1 -0
- package/build/lib/mcp/index.d.ts +3 -0
- package/build/lib/mcp/index.d.ts.map +1 -0
- package/build/lib/mcp/index.js +113 -0
- package/build/lib/mcp/index.js.map +1 -0
- package/build/lib/mcp/session.d.ts +24 -0
- package/build/lib/mcp/session.d.ts.map +1 -0
- package/build/lib/mcp/session.js +77 -0
- package/build/lib/mcp/session.js.map +1 -0
- package/build/lib/mcp/tools/advanced.d.ts +4 -0
- package/build/lib/mcp/tools/advanced.d.ts.map +1 -0
- package/build/lib/mcp/tools/advanced.js +119 -0
- package/build/lib/mcp/tools/advanced.js.map +1 -0
- package/build/lib/mcp/tools/app.d.ts +4 -0
- package/build/lib/mcp/tools/app.d.ts.map +1 -0
- package/build/lib/mcp/tools/app.js +64 -0
- package/build/lib/mcp/tools/app.js.map +1 -0
- package/build/lib/mcp/tools/clipboard.d.ts +4 -0
- package/build/lib/mcp/tools/clipboard.d.ts.map +1 -0
- package/build/lib/mcp/tools/clipboard.js +41 -0
- package/build/lib/mcp/tools/clipboard.js.map +1 -0
- package/build/lib/mcp/tools/find.d.ts +4 -0
- package/build/lib/mcp/tools/find.d.ts.map +1 -0
- package/build/lib/mcp/tools/find.js +119 -0
- package/build/lib/mcp/tools/find.js.map +1 -0
- package/build/lib/mcp/tools/index.d.ts +4 -0
- package/build/lib/mcp/tools/index.d.ts.map +1 -0
- package/build/lib/mcp/tools/index.js +24 -0
- package/build/lib/mcp/tools/index.js.map +1 -0
- package/build/lib/mcp/tools/inspect.d.ts +4 -0
- package/build/lib/mcp/tools/inspect.d.ts.map +1 -0
- package/build/lib/mcp/tools/inspect.js +106 -0
- package/build/lib/mcp/tools/inspect.js.map +1 -0
- package/build/lib/mcp/tools/interact.d.ts +4 -0
- package/build/lib/mcp/tools/interact.d.ts.map +1 -0
- package/build/lib/mcp/tools/interact.js +121 -0
- package/build/lib/mcp/tools/interact.js.map +1 -0
- package/build/lib/mcp/tools/patterns.d.ts +4 -0
- package/build/lib/mcp/tools/patterns.d.ts.map +1 -0
- package/build/lib/mcp/tools/patterns.js +136 -0
- package/build/lib/mcp/tools/patterns.js.map +1 -0
- package/build/lib/mcp/tools/session.d.ts +4 -0
- package/build/lib/mcp/tools/session.d.ts.map +1 -0
- package/build/lib/mcp/tools/session.js +55 -0
- package/build/lib/mcp/tools/session.js.map +1 -0
- package/build/lib/mcp/tools/window.d.ts +4 -0
- package/build/lib/mcp/tools/window.d.ts.map +1 -0
- package/build/lib/mcp/tools/window.js +134 -0
- package/build/lib/mcp/tools/window.js.map +1 -0
- package/build/lib/powershell/common.d.ts +39 -0
- package/build/lib/powershell/common.d.ts.map +1 -0
- package/build/lib/powershell/common.js +121 -0
- package/build/lib/powershell/common.js.map +1 -0
- package/build/lib/powershell/conditions.d.ts +24 -0
- package/build/lib/powershell/conditions.d.ts.map +1 -0
- package/build/lib/powershell/conditions.js +131 -0
- package/build/lib/powershell/conditions.js.map +1 -0
- package/build/lib/powershell/converter.d.ts +3 -0
- package/build/lib/powershell/converter.d.ts.map +1 -0
- package/build/lib/powershell/converter.js +273 -0
- package/build/lib/powershell/converter.js.map +1 -0
- package/build/lib/powershell/core.d.ts +8 -0
- package/build/lib/powershell/core.d.ts.map +1 -0
- package/build/lib/powershell/core.js +30 -0
- package/build/lib/powershell/core.js.map +1 -0
- package/build/lib/powershell/elements.d.ts +70 -0
- package/build/lib/powershell/elements.d.ts.map +1 -0
- package/build/lib/powershell/elements.js +523 -0
- package/build/lib/powershell/elements.js.map +1 -0
- package/build/lib/powershell/index.d.ts +8 -0
- package/build/lib/powershell/index.d.ts.map +1 -0
- package/build/lib/powershell/index.js +24 -0
- package/build/lib/powershell/index.js.map +1 -0
- package/build/lib/powershell/regex.d.ts +19 -0
- package/build/lib/powershell/regex.d.ts.map +1 -0
- package/build/lib/powershell/regex.js +68 -0
- package/build/lib/powershell/regex.js.map +1 -0
- package/build/lib/powershell/types.d.ts +155 -0
- package/build/lib/powershell/types.d.ts.map +1 -0
- package/build/lib/powershell/types.js +141 -0
- package/build/lib/powershell/types.js.map +1 -0
- package/build/lib/util.d.ts +17 -0
- package/build/lib/util.d.ts.map +1 -0
- package/build/lib/util.js +76 -0
- package/build/lib/util.js.map +1 -0
- package/build/lib/winapi/types/index.d.ts +8 -0
- package/build/lib/winapi/types/index.d.ts.map +1 -0
- package/build/lib/winapi/types/index.js +24 -0
- package/build/lib/winapi/types/index.js.map +1 -0
- package/build/lib/winapi/types/input.d.ts +11 -0
- package/build/lib/winapi/types/input.d.ts.map +1 -0
- package/build/lib/winapi/types/input.js +12 -0
- package/build/lib/winapi/types/input.js.map +1 -0
- package/build/lib/winapi/types/keyeventf.d.ts +13 -0
- package/build/lib/winapi/types/keyeventf.d.ts.map +1 -0
- package/build/lib/winapi/types/keyeventf.js +14 -0
- package/build/lib/winapi/types/keyeventf.js.map +1 -0
- package/build/lib/winapi/types/mouseeventf.d.ts +34 -0
- package/build/lib/winapi/types/mouseeventf.d.ts.map +1 -0
- package/build/lib/winapi/types/mouseeventf.js +37 -0
- package/build/lib/winapi/types/mouseeventf.js.map +1 -0
- package/build/lib/winapi/types/scancode.d.ts +95 -0
- package/build/lib/winapi/types/scancode.d.ts.map +1 -0
- package/build/lib/winapi/types/scancode.js +96 -0
- package/build/lib/winapi/types/scancode.js.map +1 -0
- package/build/lib/winapi/types/systemmetric.d.ts +214 -0
- package/build/lib/winapi/types/systemmetric.d.ts.map +1 -0
- package/build/lib/winapi/types/systemmetric.js +215 -0
- package/build/lib/winapi/types/systemmetric.js.map +1 -0
- package/build/lib/winapi/types/virtualkey.d.ts +353 -0
- package/build/lib/winapi/types/virtualkey.d.ts.map +1 -0
- package/build/lib/winapi/types/virtualkey.js +354 -0
- package/build/lib/winapi/types/virtualkey.js.map +1 -0
- package/build/lib/winapi/types/xmousebutton.d.ts +7 -0
- package/build/lib/winapi/types/xmousebutton.d.ts.map +1 -0
- package/build/lib/winapi/types/xmousebutton.js +8 -0
- package/build/lib/winapi/types/xmousebutton.js.map +1 -0
- package/build/lib/winapi/user32.d.ts +56 -0
- package/build/lib/winapi/user32.d.ts.map +1 -0
- package/build/lib/winapi/user32.js +592 -0
- package/build/lib/winapi/user32.js.map +1 -0
- package/build/lib/xpath/core.d.ts +8 -0
- package/build/lib/xpath/core.d.ts.map +1 -0
- package/build/lib/xpath/core.js +593 -0
- package/build/lib/xpath/core.js.map +1 -0
- package/build/lib/xpath/functions.d.ts +4 -0
- package/build/lib/xpath/functions.d.ts.map +1 -0
- package/build/lib/xpath/functions.js +271 -0
- package/build/lib/xpath/functions.js.map +1 -0
- package/build/lib/xpath/index.d.ts +3 -0
- package/build/lib/xpath/index.d.ts.map +1 -0
- package/build/lib/xpath/index.js +19 -0
- package/build/lib/xpath/index.js.map +1 -0
- package/package.json +71 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"regex.js","sourceRoot":"","sources":["../../../lib/powershell/regex.ts"],"names":[],"mappings":";;;AAAA,qDAA6C;AAE7C,MAAM,8BAA8B,GAAG,QAAQ,CAAC;AAChD,MAAM,wBAAwB,GAAG,YAAY,CAAC;AAE9C,MAAa,SAAS;IACV,KAAK,CAAS;IAEtB,YAAY,KAAa;QACrB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACvB,CAAC;IAED,KAAK;QACD,IAAI,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,8BAA8B,CAAC,EAAE,CAAC;YACtD,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAC;QAClE,CAAC;QAED,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IAED,OAAO,CAAC,KAAc;QAClB,OAAO,MAAM,CAAC,IAAI,CAAC,KAAK,EAAE,EAAE,KAAK,CAAC,CAAC;IACvC,CAAC;CACJ;AAlBD,8BAkBC;AAED,MAAa,mBAAoB,SAAQ,SAAS;IAC9C,YAAY,KAAgB;QACxB,KAAK,CAAC,OAAO,KAAK,CAAC,KAAK,EAAE,gBAAgB,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IAClE,CAAC;CACJ;AAJD,kDAIC;AAED,MAAa,uBAAwB,SAAQ,SAAS;IAClD,YAAY,kBAA0B,EAAE,GAAG,MAAmB;QAC1D,sBAAsB,CAAC,kBAAkB,CAAC,CAAC;QAE3C,MAAM,QAAQ,GAAG,kBAAkB,CAAC,WAAW,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAC7D,MAAM,SAAS,GAAG,QAAQ,CAAC,GAAG,EAAE,IAAI,EAAE,C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AG,WAAW,CAAC,UAAU,CAAC,8BAA8B,EAAE,MAAM,8BAA8B,GAAG,OAAO,OAAO,CAAC,CAAC,CAAC;QAE3J,KAAK,CAAC,GAAG,WAAW,CAAC,UAAU,CAAC,8BAA8B,EAAE,EAAE,CAAC,IAAI,UAAU,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,qBAAqB,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,eAAe,WAAW,CAAC,WAAW,EAAE,CAAC,CAAC;IAC5M,CAAC;CACJ;AAbD,oDAaC;AAED,MAAa,kBAAmB,SAAQ,SAAS;IAC7C;QACI,KAAK,CAAC,4BAA4B,CAAC,CAAC;IACxC,CAAC;CACJ;AAJD,gDAIC;AAED,SAAS,sBAAsB,CAAC,SAAiB;IAC7C,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC;QAClC,MAAM,IAAI,oBAAM,CAAC,oBAAoB,CAAC,iFAAiF,CAAC,CAAC;IAC7H,CAAC;AACL,CAAC"}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import { Enum } from '../enums';
|
|
2
|
+
export declare const CultureInfoProperty: Readonly<{
|
|
3
|
+
readonly CULTURE: "culture";
|
|
4
|
+
}>;
|
|
5
|
+
export declare const AutomationHeadingLevelProperty: Readonly<{
|
|
6
|
+
readonly HEADING_LEVEL: "headinglevel";
|
|
7
|
+
}>;
|
|
8
|
+
export declare const PointProperty: Readonly<{
|
|
9
|
+
readonly CLICKABLE_POINT: "clickablepoint";
|
|
10
|
+
}>;
|
|
11
|
+
export declare const ControlTypeProperty: Readonly<{
|
|
12
|
+
readonly CONTROL_TYPE: "controltype";
|
|
13
|
+
}>;
|
|
14
|
+
export declare const AutomationElementProperty: Readonly<{
|
|
15
|
+
readonly LABELED_BY: "labeledby";
|
|
16
|
+
}>;
|
|
17
|
+
export declare const OrientationTypeProperty: Readonly<{
|
|
18
|
+
readonly ORIENTATION: "orientation";
|
|
19
|
+
}>;
|
|
20
|
+
export declare const RectProperty: Readonly<{
|
|
21
|
+
BOUNDING_RECTANGLE: "boundingrectangle";
|
|
22
|
+
}>;
|
|
23
|
+
export declare const Int32ArrayProperty: Readonly<{
|
|
24
|
+
RUNTIME_ID: "runtimeid";
|
|
25
|
+
}>;
|
|
26
|
+
export declare const Int32Property: Readonly<{
|
|
27
|
+
readonly SIZE_OF_SET: "sizeofset";
|
|
28
|
+
readonly POSITION_IN_SET: "positioninset";
|
|
29
|
+
readonly PROCESS_ID: "processid";
|
|
30
|
+
readonly NATIVE_WINDOW_HANDLE: "nativewindowhandle";
|
|
31
|
+
}>;
|
|
32
|
+
export declare const StringProperty: Readonly<{
|
|
33
|
+
readonly AUTOMATION_ID: "automationid";
|
|
34
|
+
readonly ITEM_TYPE: "itemtype";
|
|
35
|
+
readonly LOCALIZED_CONTROL_TYPE: "localizedcontroltype";
|
|
36
|
+
readonly NAME: "name";
|
|
37
|
+
readonly ACCELERATOR_KEY: "acceleratorkey";
|
|
38
|
+
readonly ACCESS_KEY: "accesskey";
|
|
39
|
+
readonly CLASS_NAME: "classname";
|
|
40
|
+
readonly HELP_TEXT: "helptext";
|
|
41
|
+
readonly FRAMEWORK_ID: "frameworkid";
|
|
42
|
+
readonly ITEM_STATUS: "itemstatus";
|
|
43
|
+
}>;
|
|
44
|
+
export declare const BooleanProperty: Readonly<{
|
|
45
|
+
readonly HAS_KEYBOARD_FOCUS: "haskeyboardfocus";
|
|
46
|
+
readonly IS_OFFSCREEN: "isoffscreen";
|
|
47
|
+
readonly IS_DIALOG: "isdialog";
|
|
48
|
+
readonly IS_CONTROL_ELEMENT: "iscontrolelement";
|
|
49
|
+
readonly IS_CONTENT_ELEMENT: "iscontentelement";
|
|
50
|
+
readonly IS_PASSWORD: "ispassword";
|
|
51
|
+
readonly IS_KEYBOARD_FOCUSABLE: "iskeyboardfocusable";
|
|
52
|
+
readonly IS_ENABLED: "isenabled";
|
|
53
|
+
readonly IS_REQUIRED_FOR_FORM: "isrequiredforform";
|
|
54
|
+
readonly IS_DOCK_PATTERN_AVAILABLE: "isdockpatternavailable";
|
|
55
|
+
readonly IS_EXPAND_COLLAPSE_PATTERN_AVAILABLE: "isexpandcollapsepatternavailable";
|
|
56
|
+
readonly IS_GRID_ITEM_PATTERN_AVAILABLE: "isgriditempatternavailable";
|
|
57
|
+
readonly IS_GRID_PATTERN_AVAILABLE: "isgridpatternavailable";
|
|
58
|
+
readonly IS_INVOKE_PATTERN_AVAILABLE: "isinvokepatternavailable";
|
|
59
|
+
readonly IS_MULTIPLE_VIEW_PATTERN_AVAILABLE: "ismultipleviewpatternavailable";
|
|
60
|
+
readonly IS_RANGE_VALUE_PATTERN_AVAILABLE: "israngevaluepatternavailable";
|
|
61
|
+
readonly IS_SELECTION_ITEM_PATTERN_AVAILABLE: "isselectionitempatternavailable";
|
|
62
|
+
readonly IS_SELECTION_PATTERN_AVAILABLE: "isselectionpatternavailable";
|
|
63
|
+
readonly IS_SCROLL_PATTERN_AVAILABLE: "isscrollpatternavailable";
|
|
64
|
+
readonly IS_SYNCHRONIZED_INPUT_PATTERN_AVAILABLE: "issynchronizedinputpatternavailable";
|
|
65
|
+
readonly IS_SCROLL_ITEM_PATTERN_AVAILABLE: "isscrollitempatternavailable";
|
|
66
|
+
readonly IS_VIRTUALIZED_ITEM_PATTERN_AVAILABLE: "isvirtualizeditempatternavailable";
|
|
67
|
+
readonly IS_ITEM_CONTAINER_PATTERN_AVAILABLE: "isitemcontainerpatternavailable";
|
|
68
|
+
readonly IS_TABLE_PATTERN_AVAILABLE: "istablepatternavailable";
|
|
69
|
+
readonly IS_TABLE_ITEM_PATTERN_AVAILABLE: "istableitempatternavailable";
|
|
70
|
+
readonly IS_TEXT_PATTERN_AVAILABLE: "istextpatternavailable";
|
|
71
|
+
readonly IS_TOGGLE_PATTERN_AVAILABLE: "istogglepatternavailable";
|
|
72
|
+
readonly IS_TRANSFORM_PATTERN_AVAILABLE: "istransformpatternavailable";
|
|
73
|
+
readonly IS_VALUE_PATTERN_AVAILABLE: "isvaluepatternavailable";
|
|
74
|
+
readonly IS_WINDOW_PATTERN_AVAILABLE: "iswindowpatternavailable";
|
|
75
|
+
}>;
|
|
76
|
+
export declare const Property: typeof CultureInfoProperty & typeof AutomationHeadingLevelProperty & typeof PointProperty & typeof ControlTypeProperty & typeof AutomationElementProperty & typeof OrientationTypeProperty & typeof RectProperty & typeof Int32Property & typeof Int32ArrayProperty & typeof StringProperty & typeof BooleanProperty;
|
|
77
|
+
export type CultureInfoProperty = Enum<typeof CultureInfoProperty>;
|
|
78
|
+
export type AutomationHeadingLevelProperty = Enum<typeof AutomationHeadingLevelProperty>;
|
|
79
|
+
export type PointProperty = Enum<typeof PointProperty>;
|
|
80
|
+
export type ControlTypeProperty = Enum<typeof ControlTypeProperty>;
|
|
81
|
+
export type AutomationElementProperty = Enum<typeof AutomationElementProperty>;
|
|
82
|
+
export type OrientationTypeProperty = Enum<typeof OrientationTypeProperty>;
|
|
83
|
+
export type RectProperty = Enum<typeof RectProperty>;
|
|
84
|
+
export type Int32ArrayProperty = Enum<typeof Int32ArrayProperty>;
|
|
85
|
+
export type Int32Property = Enum<typeof Int32Property>;
|
|
86
|
+
export type StringProperty = Enum<typeof StringProperty>;
|
|
87
|
+
export type BooleanProperty = Enum<typeof BooleanProperty>;
|
|
88
|
+
export type Property = CultureInfoProperty | AutomationHeadingLevelProperty | PointProperty | ControlTypeProperty | AutomationElementProperty | OrientationTypeProperty | RectProperty | Int32Property | Int32ArrayProperty | StringProperty | BooleanProperty;
|
|
89
|
+
export declare const OrientationType: Readonly<{
|
|
90
|
+
readonly NONE: "none";
|
|
91
|
+
readonly HORIZONTAL: "horizontal";
|
|
92
|
+
readonly VERTICAL: "vertical";
|
|
93
|
+
}>;
|
|
94
|
+
export type OrientationType = Enum<typeof OrientationType>;
|
|
95
|
+
export declare const AutomationHeadingLevel: Readonly<{
|
|
96
|
+
readonly NONE: "none";
|
|
97
|
+
readonly LEVEL1: "level1";
|
|
98
|
+
readonly LEVEL2: "level2";
|
|
99
|
+
readonly LEVEL3: "level3";
|
|
100
|
+
readonly LEVEL4: "level4";
|
|
101
|
+
readonly LEVEL5: "level5";
|
|
102
|
+
readonly LEVEL6: "level6";
|
|
103
|
+
readonly LEVEL7: "level7";
|
|
104
|
+
readonly LEVEL8: "level8";
|
|
105
|
+
readonly LEVEL9: "level9";
|
|
106
|
+
}>;
|
|
107
|
+
export type AutomationHeadingLevel = Enum<typeof AutomationHeadingLevel>;
|
|
108
|
+
export declare const ControlType: Readonly<{
|
|
109
|
+
readonly BUTTON: "button";
|
|
110
|
+
readonly CALENDAR: "calendar";
|
|
111
|
+
readonly CHECK_BOX: "checkbox";
|
|
112
|
+
readonly COMBO_BOX: "combobox";
|
|
113
|
+
readonly EDIT: "edit";
|
|
114
|
+
readonly HYPERLINK: "hyperlink";
|
|
115
|
+
readonly IMAGE: "image";
|
|
116
|
+
readonly LIST_ITEM: "listitem";
|
|
117
|
+
readonly LIST: "list";
|
|
118
|
+
readonly MENU: "menu";
|
|
119
|
+
readonly MENU_BAR: "menubar";
|
|
120
|
+
readonly MENU_ITEM: "menuitem";
|
|
121
|
+
readonly PROGRESS_BAR: "progressbar";
|
|
122
|
+
readonly RADIO_BUTTON: "radiobutton";
|
|
123
|
+
readonly SCROLL_BAR: "scrollbar";
|
|
124
|
+
readonly SLIDER: "slider";
|
|
125
|
+
readonly SPINNER: "spinner";
|
|
126
|
+
readonly STATUS_BAR: "statusbar";
|
|
127
|
+
readonly TAB: "tab";
|
|
128
|
+
readonly TAB_ITEM: "tabitem";
|
|
129
|
+
readonly TEXT: "text";
|
|
130
|
+
readonly TOOL_BAR: "toolbar";
|
|
131
|
+
readonly TOOL_TIP: "tooltip";
|
|
132
|
+
readonly TREE: "tree";
|
|
133
|
+
readonly TREE_ITEM: "treeitem";
|
|
134
|
+
readonly CUSTOM: "custom";
|
|
135
|
+
readonly GROUP: "group";
|
|
136
|
+
readonly THUMB: "thumb";
|
|
137
|
+
readonly DATA_GRID: "datagrid";
|
|
138
|
+
readonly DATA_ITEM: "dataitem";
|
|
139
|
+
readonly DOCUMENT: "document";
|
|
140
|
+
readonly SPLIT_BUTTON: "splitbutton";
|
|
141
|
+
readonly WINDOW: "window";
|
|
142
|
+
readonly PANE: "pane";
|
|
143
|
+
readonly HEADER: "header";
|
|
144
|
+
readonly HEADER_ITEM: "headeritem";
|
|
145
|
+
readonly TABLE: "table";
|
|
146
|
+
readonly TITLE_BAR: "titlebar";
|
|
147
|
+
readonly SEPARATOR: "separator";
|
|
148
|
+
}>;
|
|
149
|
+
export type ControlType = Enum<typeof ControlType>;
|
|
150
|
+
export declare const ExtraControlType: Readonly<{
|
|
151
|
+
readonly SEMANTIC_ZOOM: "semanticzoom";
|
|
152
|
+
readonly APP_BAR: "appbar";
|
|
153
|
+
}>;
|
|
154
|
+
export type ExtraControlType = Enum<typeof ExtraControlType>;
|
|
155
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../lib/powershell/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAEhC,eAAO,MAAM,mBAAmB;;EAErB,CAAC;AAEZ,eAAO,MAAM,8BAA8B;;EAEhC,CAAC;AAEZ,eAAO,MAAM,aAAa;;EAEf,CAAC;AAEZ,eAAO,MAAM,mBAAmB;;EAErB,CAAC;AAEZ,eAAO,MAAM,yBAAyB;;EAE3B,CAAC;AAEZ,eAAO,MAAM,uBAAuB;;EAEzB,CAAC;AAEZ,eAAO,MAAM,YAAY;;EAEvB,CAAC;AAEH,eAAO,MAAM,kBAAkB;;EAE7B,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;EAKf,CAAC;AAEZ,eAAO,MAAM,cAAc;;;;;;;;;;;EAWhB,CAAC;AAEZ,eAAO,MAAM,eAAe;;;;;;;;;;;;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AAO,MAAM,eAAe;;;;EAIjB,CAAC;AAEZ,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,OAAO,eAAe,CAAC,CAAC;AAE3D,eAAO,MAAM,sBAAsB;;;;;;;;;;;EAWxB,CAAC;AAEZ,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEzE,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwCb,CAAC;AAEZ,MAAM,MAAM,WAAW,GAAG,IAAI,CAAC,OAAO,WAAW,CAAC,CAAC;AAEnD,eAAO,MAAM,gBAAgB;;;EAGlB,CAAC;AAEZ,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ExtraControlType = exports.ControlType = exports.AutomationHeadingLevel = exports.OrientationType = exports.Property = exports.BooleanProperty = exports.StringProperty = exports.Int32Property = exports.Int32ArrayProperty = exports.RectProperty = exports.OrientationTypeProperty = exports.AutomationElementProperty = exports.ControlTypeProperty = exports.PointProperty = exports.AutomationHeadingLevelProperty = exports.CultureInfoProperty = void 0;
|
|
4
|
+
exports.CultureInfoProperty = Object.freeze({
|
|
5
|
+
CULTURE: 'culture',
|
|
6
|
+
});
|
|
7
|
+
exports.AutomationHeadingLevelProperty = Object.freeze({
|
|
8
|
+
HEADING_LEVEL: 'headinglevel',
|
|
9
|
+
});
|
|
10
|
+
exports.PointProperty = Object.freeze({
|
|
11
|
+
CLICKABLE_POINT: 'clickablepoint',
|
|
12
|
+
});
|
|
13
|
+
exports.ControlTypeProperty = Object.freeze({
|
|
14
|
+
CONTROL_TYPE: 'controltype',
|
|
15
|
+
});
|
|
16
|
+
exports.AutomationElementProperty = Object.freeze({
|
|
17
|
+
LABELED_BY: 'labeledby',
|
|
18
|
+
});
|
|
19
|
+
exports.OrientationTypeProperty = Object.freeze({
|
|
20
|
+
ORIENTATION: 'orientation',
|
|
21
|
+
});
|
|
22
|
+
exports.RectProperty = Object.freeze({
|
|
23
|
+
BOUNDING_RECTANGLE: 'boundingrectangle',
|
|
24
|
+
});
|
|
25
|
+
exports.Int32ArrayProperty = Object.freeze({
|
|
26
|
+
RUNTIME_ID: 'runtimeid',
|
|
27
|
+
});
|
|
28
|
+
exports.Int32Property = Object.freeze({
|
|
29
|
+
SIZE_OF_SET: 'sizeofset',
|
|
30
|
+
POSITION_IN_SET: 'positioninset',
|
|
31
|
+
PROCESS_ID: 'processid',
|
|
32
|
+
NATIVE_WINDOW_HANDLE: 'nativewindowhandle',
|
|
33
|
+
});
|
|
34
|
+
exports.StringProperty = Object.freeze({
|
|
35
|
+
AUTOMATION_ID: 'automationid',
|
|
36
|
+
ITEM_TYPE: 'itemtype',
|
|
37
|
+
LOCALIZED_CONTROL_TYPE: 'localizedcontroltype',
|
|
38
|
+
NAME: 'name',
|
|
39
|
+
ACCELERATOR_KEY: 'acceleratorkey',
|
|
40
|
+
ACCESS_KEY: 'accesskey',
|
|
41
|
+
CLASS_NAME: 'classname',
|
|
42
|
+
HELP_TEXT: 'helptext',
|
|
43
|
+
FRAMEWORK_ID: 'frameworkid',
|
|
44
|
+
ITEM_STATUS: 'itemstatus',
|
|
45
|
+
});
|
|
46
|
+
exports.BooleanProperty = Object.freeze({
|
|
47
|
+
HAS_KEYBOARD_FOCUS: 'haskeyboardfocus',
|
|
48
|
+
IS_OFFSCREEN: 'isoffscreen',
|
|
49
|
+
IS_DIALOG: 'isdialog',
|
|
50
|
+
IS_CONTROL_ELEMENT: 'iscontrolelement',
|
|
51
|
+
IS_CONTENT_ELEMENT: 'iscontentelement',
|
|
52
|
+
IS_PASSWORD: 'ispassword',
|
|
53
|
+
IS_KEYBOARD_FOCUSABLE: 'iskeyboardfocusable',
|
|
54
|
+
IS_ENABLED: 'isenabled',
|
|
55
|
+
IS_REQUIRED_FOR_FORM: 'isrequiredforform',
|
|
56
|
+
IS_DOCK_PATTERN_AVAILABLE: 'isdockpatternavailable',
|
|
57
|
+
IS_EXPAND_COLLAPSE_PATTERN_AVAILABLE: 'isexpandcollapsepatternavailable',
|
|
58
|
+
IS_GRID_ITEM_PATTERN_AVAILABLE: 'isgriditempatternavailable',
|
|
59
|
+
IS_GRID_PATTERN_AVAILABLE: 'isgridpatternavailable',
|
|
60
|
+
IS_INVOKE_PATTERN_AVAILABLE: 'isinvokepatternavailable',
|
|
61
|
+
IS_MULTIPLE_VIEW_PATTERN_AVAILABLE: 'ismultipleviewpatternavailable',
|
|
62
|
+
IS_RANGE_VALUE_PATTERN_AVAILABLE: 'israngevaluepatternavailable',
|
|
63
|
+
IS_SELECTION_ITEM_PATTERN_AVAILABLE: 'isselectionitempatternavailable',
|
|
64
|
+
IS_SELECTION_PATTERN_AVAILABLE: 'isselectionpatternavailable',
|
|
65
|
+
IS_SCROLL_PATTERN_AVAILABLE: 'isscrollpatternavailable',
|
|
66
|
+
IS_SYNCHRONIZED_INPUT_PATTERN_AVAILABLE: 'issynchronizedinputpatternavailable',
|
|
67
|
+
IS_SCROLL_ITEM_PATTERN_AVAILABLE: 'isscrollitempatternavailable',
|
|
68
|
+
IS_VIRTUALIZED_ITEM_PATTERN_AVAILABLE: 'isvirtualizeditempatternavailable',
|
|
69
|
+
IS_ITEM_CONTAINER_PATTERN_AVAILABLE: 'isitemcontainerpatternavailable',
|
|
70
|
+
IS_TABLE_PATTERN_AVAILABLE: 'istablepatternavailable',
|
|
71
|
+
IS_TABLE_ITEM_PATTERN_AVAILABLE: 'istableitempatternavailable',
|
|
72
|
+
IS_TEXT_PATTERN_AVAILABLE: 'istextpatternavailable',
|
|
73
|
+
IS_TOGGLE_PATTERN_AVAILABLE: 'istogglepatternavailable',
|
|
74
|
+
IS_TRANSFORM_PATTERN_AVAILABLE: 'istransformpatternavailable',
|
|
75
|
+
IS_VALUE_PATTERN_AVAILABLE: 'isvaluepatternavailable',
|
|
76
|
+
IS_WINDOW_PATTERN_AVAILABLE: 'iswindowpatternavailable',
|
|
77
|
+
});
|
|
78
|
+
exports.Property = Object.freeze(Object.assign({}, exports.CultureInfoProperty, exports.AutomationHeadingLevelProperty, exports.PointProperty, exports.ControlTypeProperty, exports.AutomationElementProperty, exports.OrientationTypeProperty, exports.RectProperty, exports.Int32Property, exports.Int32ArrayProperty, exports.StringProperty, exports.BooleanProperty));
|
|
79
|
+
exports.OrientationType = Object.freeze({
|
|
80
|
+
NONE: 'none',
|
|
81
|
+
HORIZONTAL: 'horizontal',
|
|
82
|
+
VERTICAL: 'vertical',
|
|
83
|
+
});
|
|
84
|
+
exports.AutomationHeadingLevel = Object.freeze({
|
|
85
|
+
NONE: 'none',
|
|
86
|
+
LEVEL1: 'level1',
|
|
87
|
+
LEVEL2: 'level2',
|
|
88
|
+
LEVEL3: 'level3',
|
|
89
|
+
LEVEL4: 'level4',
|
|
90
|
+
LEVEL5: 'level5',
|
|
91
|
+
LEVEL6: 'level6',
|
|
92
|
+
LEVEL7: 'level7',
|
|
93
|
+
LEVEL8: 'level8',
|
|
94
|
+
LEVEL9: 'level9',
|
|
95
|
+
});
|
|
96
|
+
exports.ControlType = Object.freeze({
|
|
97
|
+
BUTTON: 'button',
|
|
98
|
+
CALENDAR: 'calendar',
|
|
99
|
+
CHECK_BOX: 'checkbox',
|
|
100
|
+
COMBO_BOX: 'combobox',
|
|
101
|
+
EDIT: 'edit',
|
|
102
|
+
HYPERLINK: 'hyperlink',
|
|
103
|
+
IMAGE: 'image',
|
|
104
|
+
LIST_ITEM: 'listitem',
|
|
105
|
+
LIST: 'list',
|
|
106
|
+
MENU: 'menu',
|
|
107
|
+
MENU_BAR: 'menubar',
|
|
108
|
+
MENU_ITEM: 'menuitem',
|
|
109
|
+
PROGRESS_BAR: 'progressbar',
|
|
110
|
+
RADIO_BUTTON: 'radiobutton',
|
|
111
|
+
SCROLL_BAR: 'scrollbar',
|
|
112
|
+
SLIDER: 'slider',
|
|
113
|
+
SPINNER: 'spinner',
|
|
114
|
+
STATUS_BAR: 'statusbar',
|
|
115
|
+
TAB: 'tab',
|
|
116
|
+
TAB_ITEM: 'tabitem',
|
|
117
|
+
TEXT: 'text',
|
|
118
|
+
TOOL_BAR: 'toolbar',
|
|
119
|
+
TOOL_TIP: 'tooltip',
|
|
120
|
+
TREE: 'tree',
|
|
121
|
+
TREE_ITEM: 'treeitem',
|
|
122
|
+
CUSTOM: 'custom',
|
|
123
|
+
GROUP: 'group',
|
|
124
|
+
THUMB: 'thumb',
|
|
125
|
+
DATA_GRID: 'datagrid',
|
|
126
|
+
DATA_ITEM: 'dataitem',
|
|
127
|
+
DOCUMENT: 'document',
|
|
128
|
+
SPLIT_BUTTON: 'splitbutton',
|
|
129
|
+
WINDOW: 'window',
|
|
130
|
+
PANE: 'pane',
|
|
131
|
+
HEADER: 'header',
|
|
132
|
+
HEADER_ITEM: 'headeritem',
|
|
133
|
+
TABLE: 'table',
|
|
134
|
+
TITLE_BAR: 'titlebar',
|
|
135
|
+
SEPARATOR: 'separator',
|
|
136
|
+
});
|
|
137
|
+
exports.ExtraControlType = Object.freeze({
|
|
138
|
+
SEMANTIC_ZOOM: 'semanticzoom',
|
|
139
|
+
APP_BAR: 'appbar',
|
|
140
|
+
});
|
|
141
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../lib/powershell/types.ts"],"names":[],"mappings":";;;AAEa,QAAA,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC;IAC7C,OAAO,EAAE,SAAS;CACZ,CAAC,CAAC;AAEC,QAAA,8BAA8B,GAAG,MAAM,CAAC,MAAM,CAAC;IACxD,aAAa,EAAE,cAAc;CACvB,CAAC,CAAC;AAEC,QAAA,aAAa,GAAG,MAAM,CAAC,MAAM,CAAC;IACvC,eAAe,EAAE,gBAAgB;CAC3B,CAAC,CA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AAE,QAAQ;CACX,CAAC,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Resolves the path to the bundled ffmpeg binary from the ffmpeg-static package.
|
|
3
|
+
* Used by startRecordingScreen; no system PATH fallback.
|
|
4
|
+
*/
|
|
5
|
+
export declare function getBundledFfmpegPath(): string | null;
|
|
6
|
+
export declare function assertSupportedEasingFunction(value: string): void;
|
|
7
|
+
export declare function assertIntegerCap(capName: string, value: number, min: number): void;
|
|
8
|
+
export declare function isUwpAppId(appId: string): boolean;
|
|
9
|
+
export declare function sleep(ms: number): Promise<void>;
|
|
10
|
+
export declare function $(literals: TemplateStringsArray, ...substitutions: number[]): DeferredStringTemplate;
|
|
11
|
+
export declare class DeferredStringTemplate {
|
|
12
|
+
private literals;
|
|
13
|
+
private substitutions;
|
|
14
|
+
constructor(literals: TemplateStringsArray, substitutions: number[]);
|
|
15
|
+
format(...args: any[]): string;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=util.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../lib/util.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,wBAAgB,oBAAoB,IAAI,MAAM,GAAG,IAAI,CAQpD;AAMD,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,QAM1D;AAED,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,IAAI,CAMlF;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAEjD;AAED,wBAAgB,KAAK,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAE/C;AAED,wBAAgB,CAAC,CAAC,QAAQ,EAAE,oBAAoB,EAAE,GAAG,aAAa,EAAE,MAAM,EAAE,0BAQ3E;AAED,qBAAa,sBAAsB;IAC/B,OAAO,CAAC,QAAQ,CAAuB;IACvC,OAAO,CAAC,aAAa,CAAW;gBAEpB,QAAQ,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,EAAE;IAWnE,MAAM,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,MAAM;CAQjC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeferredStringTemplate = void 0;
|
|
4
|
+
exports.getBundledFfmpegPath = getBundledFfmpegPath;
|
|
5
|
+
exports.assertSupportedEasingFunction = assertSupportedEasingFunction;
|
|
6
|
+
exports.assertIntegerCap = assertIntegerCap;
|
|
7
|
+
exports.isUwpAppId = isUwpAppId;
|
|
8
|
+
exports.sleep = sleep;
|
|
9
|
+
exports.$ = $;
|
|
10
|
+
const base_driver_1 = require("@appium/base-driver");
|
|
11
|
+
/**
|
|
12
|
+
* Resolves the path to the bundled ffmpeg binary from the ffmpeg-static package.
|
|
13
|
+
* Used by startRecordingScreen; no system PATH fallback.
|
|
14
|
+
*/
|
|
15
|
+
function getBundledFfmpegPath() {
|
|
16
|
+
try {
|
|
17
|
+
const mod = require('ffmpeg-static');
|
|
18
|
+
const path = typeof mod === 'string' ? mod : mod?.default;
|
|
19
|
+
return typeof path === 'string' && path.length > 0 ? path : null;
|
|
20
|
+
}
|
|
21
|
+
catch {
|
|
22
|
+
return null;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
const SupportedEasingFunctions = Object.freeze([
|
|
26
|
+
'linear', 'ease', 'ease-in', 'ease-out', 'ease-in-out',
|
|
27
|
+
]);
|
|
28
|
+
function assertSupportedEasingFunction(value) {
|
|
29
|
+
const cubicBezierRegex = /^cubic-bezier\(\s*(0|1|0?\.\d+|\d+(\.\d+)?)\s*,\s*(-?0|-?1|-?0?\.\d+|-?\d+(\.\d+)?)\s*,\s*(0|1|0?\.\d+|\d+(\.\d+)?)\s*,\s*(-?0|-?1|-?0?\.\d+|-?\d+(\.\d+)?)\s*\)$/;
|
|
30
|
+
if (!SupportedEasingFunctions.includes(value) && !cubicBezierRegex.test(value)) {
|
|
31
|
+
throw new base_driver_1.errors.InvalidArgumentError(`Unsupported or invalid easing function '${value}' in appium:smoothPointerMove capability.`
|
|
32
|
+
+ `Supported functions are [${SupportedEasingFunctions.join[', ']}, cubic-bezier(x1,y1,x2,y2)].`);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
function assertIntegerCap(capName, value, min) {
|
|
36
|
+
if (!Number.isInteger(value) || value < min) {
|
|
37
|
+
throw new base_driver_1.errors.InvalidArgumentError(`Invalid capability '${capName}': must be an integer >= ${min} (got ${value}).`);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
function isUwpAppId(appId) {
|
|
41
|
+
return appId.includes('!') && appId.includes('_') && !(appId.includes('/') || appId.includes('\\'));
|
|
42
|
+
}
|
|
43
|
+
function sleep(ms) {
|
|
44
|
+
return new Promise((resolve) => setTimeout(resolve, Math.max(ms, 0)));
|
|
45
|
+
}
|
|
46
|
+
function $(literals, ...substitutions) {
|
|
47
|
+
substitutions.forEach((index) => {
|
|
48
|
+
if (!Number.isInteger(index) && index < 0) {
|
|
49
|
+
throw new base_driver_1.errors.InvalidArgumentError(`Indices must be positive integers starting from 0. Received: ${index}`);
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
return new DeferredStringTemplate(literals, substitutions);
|
|
53
|
+
}
|
|
54
|
+
class DeferredStringTemplate {
|
|
55
|
+
literals;
|
|
56
|
+
substitutions;
|
|
57
|
+
constructor(literals, substitutions) {
|
|
58
|
+
this.literals = literals;
|
|
59
|
+
this.substitutions = substitutions;
|
|
60
|
+
substitutions.forEach((index) => {
|
|
61
|
+
if (!Number.isInteger(index) || index < 0) {
|
|
62
|
+
throw new base_driver_1.errors.InvalidArgumentError(`Indices must be positive integers starting from 0. Received: ${index}`);
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
format(...args) {
|
|
67
|
+
const out = [];
|
|
68
|
+
for (let i = 0, k = 0; i < this.literals.length; i++, k++) {
|
|
69
|
+
out[k] = this.literals[i];
|
|
70
|
+
out[++k] = args[this.substitutions[i]]?.toString();
|
|
71
|
+
}
|
|
72
|
+
return out.join('');
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
exports.DeferredStringTemplate = DeferredStringTemplate;
|
|
76
|
+
//# sourceMappingURL=util.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"util.js","sourceRoot":"","sources":["../../lib/util.ts"],"names":[],"mappings":";;;AAMA,oDAQC;AAMD,sEAMC;AAED,4CAMC;AAED,gCAEC;AAED,sBAEC;AAED,cAQC;AApDD,qDAA6C;AAE7C;;;GAGG;AACH,SAAgB,oBAAoB;IAChC,IAAI,CAAC;QACD,MAAM,GAAG,GAAG,OAAO,CAAC,eAAe,CAA8C,CAAC;QAClF,MAAM,IAAI,GAAG,OAAO,GAAG,KAAK,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,OAAO,CAAC;QAC1D,OAAO,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC;IACrE,CAAC;IAAC,MAAM,CAAC;QACL,OAAO,IAAI,CAAC;IAChB,CAAC;AACL,CAAC;AAED,MAAM,wBAAwB,GAAG,MAAM,CAAC,MAAM,CAAC;IAC3C,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,aAAa;CACzD,CAAC,CAAC;AAEH,SAAgB,6BAA6B,CAAC,KAAa;IACvD,MAAM,gBAAgB,GAAG,mKAAmK,CAAC;IAC7L,IAAI,CAAC,wBAAwB,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,KAAK,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Ae,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./virtualkey"), exports);
|
|
18
|
+
__exportStar(require("./scancode"), exports);
|
|
19
|
+
__exportStar(require("./keyeventf"), exports);
|
|
20
|
+
__exportStar(require("./mouseeventf"), exports);
|
|
21
|
+
__exportStar(require("./input"), exports);
|
|
22
|
+
__exportStar(require("./systemmetric"), exports);
|
|
23
|
+
__exportStar(require("./xmousebutton"), exports);
|
|
24
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/winapi/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,6CAA2B;AAC3B,8CAA4B;AAC5B,gDAA8B;AAC9B,0CAAwB;AACxB,iDAA+B;AAC/B,iDAA+B"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Enum } from '../../enums';
|
|
2
|
+
export declare const InputType: Readonly<{
|
|
3
|
+
/** The event is a mouse event. Use the mi structure of the union. */
|
|
4
|
+
readonly INPUT_MOUSE: 0;
|
|
5
|
+
/** The event is a keyboard event. Use the ki structure of the union. */
|
|
6
|
+
readonly INPUT_KEYBOARD: 1;
|
|
7
|
+
/** The event is a hardware event. Use the hi structure of the union. */
|
|
8
|
+
readonly INPUT_HARDWARE: 2;
|
|
9
|
+
}>;
|
|
10
|
+
export type InputType = Enum<typeof InputType>;
|
|
11
|
+
//# sourceMappingURL=input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../../lib/winapi/types/input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAEnC,eAAO,MAAM,SAAS;IAClB,qEAAqE;;IAErE,wEAAwE;;IAExE,wEAAwE;;EAEjE,CAAC;AAEZ,MAAM,MAAM,SAAS,GAAG,IAAI,CAAC,OAAO,SAAS,CAAC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InputType = void 0;
|
|
4
|
+
exports.InputType = Object.freeze({
|
|
5
|
+
/** The event is a mouse event. Use the mi structure of the union. */
|
|
6
|
+
INPUT_MOUSE: 0,
|
|
7
|
+
/** The event is a keyboard event. Use the ki structure of the union. */
|
|
8
|
+
INPUT_KEYBOARD: 1,
|
|
9
|
+
/** The event is a hardware event. Use the hi structure of the union. */
|
|
10
|
+
INPUT_HARDWARE: 2,
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=input.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input.js","sourceRoot":"","sources":["../../../../lib/winapi/types/input.ts"],"names":[],"mappings":";;;AAEa,QAAA,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC;IACnC,qEAAqE;IACrE,WAAW,EAAE,CAAC;IACd,wEAAwE;IACxE,cAAc,EAAE,CAAC;IACjB,wEAAwE;IACxE,cAAc,EAAE,CAAC;CACX,CAAC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FlagsEnum } from '../../enums';
|
|
2
|
+
export declare const KeyEventFlags: Readonly<{
|
|
3
|
+
/** If specified, the wScan scan code consists of a sequence of two bytes, where the first byte has a value of 0xE0. See Extended-Key Flag for more info. */
|
|
4
|
+
readonly KEYEVENTF_EXTENDEDKEY: 1;
|
|
5
|
+
/** If specified, the key is being released. If not specified, the key is being pressed. */
|
|
6
|
+
readonly KEYEVENTF_KEYUP: 2;
|
|
7
|
+
/** If specified, wScan identifies the key and wVk is ignored. */
|
|
8
|
+
readonly KEYEVENTF_SCANCODE: 8;
|
|
9
|
+
/** If specified, the system synthesizes a VK_PACKET keystroke. The wVk parameter must be zero. This flag can only be combined with the KEYEVENTF_KEYUP flag. For more information, see the Remarks section. */
|
|
10
|
+
readonly KEYEVENTF_UNICODE: 4;
|
|
11
|
+
}>;
|
|
12
|
+
export type KeyEventFlags = FlagsEnum<typeof KeyEventFlags>;
|
|
13
|
+
//# sourceMappingURL=keyeventf.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keyeventf.d.ts","sourceRoot":"","sources":["../../../../lib/winapi/types/keyeventf.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,eAAO,MAAM,aAAa;IACtB,4JAA4J;;IAE5J,2FAA2F;;IAE3F,iEAAiE;;IAEjE,+MAA+M;;EAExM,CAAC;AAEZ,MAAM,MAAM,aAAa,GAAG,SAAS,CAAC,OAAO,aAAa,CAAC,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.KeyEventFlags = void 0;
|
|
4
|
+
exports.KeyEventFlags = Object.freeze({
|
|
5
|
+
/** If specified, the wScan scan code consists of a sequence of two bytes, where the first byte has a value of 0xE0. See Extended-Key Flag for more info. */
|
|
6
|
+
KEYEVENTF_EXTENDEDKEY: 0x0001,
|
|
7
|
+
/** If specified, the key is being released. If not specified, the key is being pressed. */
|
|
8
|
+
KEYEVENTF_KEYUP: 0x0002,
|
|
9
|
+
/** If specified, wScan identifies the key and wVk is ignored. */
|
|
10
|
+
KEYEVENTF_SCANCODE: 0x0008,
|
|
11
|
+
/** If specified, the system synthesizes a VK_PACKET keystroke. The wVk parameter must be zero. This flag can only be combined with the KEYEVENTF_KEYUP flag. For more information, see the Remarks section. */
|
|
12
|
+
KEYEVENTF_UNICODE: 0x0004,
|
|
13
|
+
});
|
|
14
|
+
//# sourceMappingURL=keyeventf.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keyeventf.js","sourceRoot":"","sources":["../../../../lib/winapi/types/keyeventf.ts"],"names":[],"mappings":";;;AAEa,QAAA,aAAa,GAAG,MAAM,CAAC,MAAM,CAAC;IACvC,4JAA4J;IAC5J,qBAAqB,EAAE,MAAM;IAC7B,2FAA2F;IAC3F,eAAe,EAAE,MAAM;IACvB,iEAAiE;IACjE,kBAAkB,EAAE,MAAM;IAC1B,+MAA+M;IAC/M,iBAAiB,EAAE,MAAM;CACnB,CAAC,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export declare const MouseEventFlags: Readonly<{
|
|
2
|
+
/** Movement occurred. */
|
|
3
|
+
readonly MOUSEEVENTF_MOVE: 1;
|
|
4
|
+
/** The left button was pressed. */
|
|
5
|
+
readonly MOUSEEVENTF_LEFTDOWN: 2;
|
|
6
|
+
/** The left button was released. */
|
|
7
|
+
readonly MOUSEEVENTF_LEFTUP: 4;
|
|
8
|
+
/** The right button was pressed. */
|
|
9
|
+
readonly MOUSEEVENTF_RIGHTDOWN: 8;
|
|
10
|
+
/** The right button was released. */
|
|
11
|
+
readonly MOUSEEVENTF_RIGHTUP: 16;
|
|
12
|
+
/** The middle button was pressed. */
|
|
13
|
+
readonly MOUSEEVENTF_MIDDLEDOWN: 32;
|
|
14
|
+
/** The middle button was released. */
|
|
15
|
+
readonly MOUSEEVENTF_MIDDLEUP: 64;
|
|
16
|
+
/** An X button was pressed. */
|
|
17
|
+
readonly MOUSEEVENTF_XDOWN: 128;
|
|
18
|
+
/** An X button was released. */
|
|
19
|
+
readonly MOUSEEVENTF_XUP: 256;
|
|
20
|
+
/** The wheel was moved, if the mouse has a wheel. The amount of movement is specified in mouseData. */
|
|
21
|
+
readonly MOUSEEVENTF_WHEEL: 2048;
|
|
22
|
+
/** The wheel was moved horizontally, if the mouse has a wheel. The amount of movement is specified in mouseData.
|
|
23
|
+
Windows XP/2000: This value is not supported. */
|
|
24
|
+
readonly MOUSEEVENTF_HWHEEL: 4096;
|
|
25
|
+
/** The WM_MOUSEMOVE messages will not be coalesced. The default behavior is to coalesce WM_MOUSEMOVE messages.
|
|
26
|
+
Windows XP/2000: This value is not supported. */
|
|
27
|
+
readonly MOUSEEVENTF_MOVE_NOCOALESCE: 8192;
|
|
28
|
+
/** Maps coordinates to the entire desktop. Must be used with MOUSEEVENTF_ABSOLUTE.*/
|
|
29
|
+
readonly MOUSEEVENTF_VIRTUALDESK: 16384;
|
|
30
|
+
/** The dx and dy members contain normalized absolute coordinates. If the flag is not set, dxand dy contain relative data (the change in position since the last reported position). This flag can be set, or not set, regardless of what kind of mouse or other pointing device, if any, is connected to the system. For further information about relative mouse motion, see the following Remarks section. */
|
|
31
|
+
readonly MOUSEEVENTF_ABSOLUTE: 32768;
|
|
32
|
+
}>;
|
|
33
|
+
export type MouseEventFlags = number;
|
|
34
|
+
//# sourceMappingURL=mouseeventf.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mouseeventf.d.ts","sourceRoot":"","sources":["../../../../lib/winapi/types/mouseeventf.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;IACxB,yBAAyB;;IAEzB,mCAAmC;;IAEnC,oCAAoC;;IAEpC,oCAAoC;;IAEpC,qCAAqC;;IAErC,qCAAqC;;IAErC,sCAAsC;;IAEtC,+BAA+B;;IAE/B,gCAAgC;;IAEhC,uGAAuG;;IAEvG;oDACgD;;IAEhD;oDACgD;;IAEhD,qFAAqF;;IAErF,gZAAgZ;;EAEzY,CAAC;AAEZ,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// import { FlagsEnum } from './enums';
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.MouseEventFlags = void 0;
|
|
5
|
+
exports.MouseEventFlags = Object.freeze({
|
|
6
|
+
/** Movement occurred. */
|
|
7
|
+
MOUSEEVENTF_MOVE: 0x0001,
|
|
8
|
+
/** The left button was pressed. */
|
|
9
|
+
MOUSEEVENTF_LEFTDOWN: 0x0002,
|
|
10
|
+
/** The left button was released. */
|
|
11
|
+
MOUSEEVENTF_LEFTUP: 0x0004,
|
|
12
|
+
/** The right button was pressed. */
|
|
13
|
+
MOUSEEVENTF_RIGHTDOWN: 0x0008,
|
|
14
|
+
/** The right button was released. */
|
|
15
|
+
MOUSEEVENTF_RIGHTUP: 0x0010,
|
|
16
|
+
/** The middle button was pressed. */
|
|
17
|
+
MOUSEEVENTF_MIDDLEDOWN: 0x0020,
|
|
18
|
+
/** The middle button was released. */
|
|
19
|
+
MOUSEEVENTF_MIDDLEUP: 0x0040,
|
|
20
|
+
/** An X button was pressed. */
|
|
21
|
+
MOUSEEVENTF_XDOWN: 0x0080,
|
|
22
|
+
/** An X button was released. */
|
|
23
|
+
MOUSEEVENTF_XUP: 0x0100,
|
|
24
|
+
/** The wheel was moved, if the mouse has a wheel. The amount of movement is specified in mouseData. */
|
|
25
|
+
MOUSEEVENTF_WHEEL: 0x0800,
|
|
26
|
+
/** The wheel was moved horizontally, if the mouse has a wheel. The amount of movement is specified in mouseData.
|
|
27
|
+
Windows XP/2000: This value is not supported. */
|
|
28
|
+
MOUSEEVENTF_HWHEEL: 0x1000,
|
|
29
|
+
/** The WM_MOUSEMOVE messages will not be coalesced. The default behavior is to coalesce WM_MOUSEMOVE messages.
|
|
30
|
+
Windows XP/2000: This value is not supported. */
|
|
31
|
+
MOUSEEVENTF_MOVE_NOCOALESCE: 0x2000,
|
|
32
|
+
/** Maps coordinates to the entire desktop. Must be used with MOUSEEVENTF_ABSOLUTE.*/
|
|
33
|
+
MOUSEEVENTF_VIRTUALDESK: 0x4000,
|
|
34
|
+
/** The dx and dy members contain normalized absolute coordinates. If the flag is not set, dxand dy contain relative data (the change in position since the last reported position). This flag can be set, or not set, regardless of what kind of mouse or other pointing device, if any, is connected to the system. For further information about relative mouse motion, see the following Remarks section. */
|
|
35
|
+
MOUSEEVENTF_ABSOLUTE: 0x8000,
|
|
36
|
+
});
|
|
37
|
+
//# sourceMappingURL=mouseeventf.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mouseeventf.js","sourceRoot":"","sources":["../../../../lib/winapi/types/mouseeventf.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAE1B,QAAA,eAAe,GAAG,MAAM,CAAC,MAAM,CAAC;IACzC,yBAAyB;IACzB,gBAAgB,EAAE,MAAM;IACxB,mCAAmC;IACnC,oBAAoB,EAAE,MAAM;IAC5B,oCAAoC;IACpC,kBAAkB,EAAE,MAAM;IAC1B,oCAAoC;IACpC,qBAAqB,EAAE,MAAM;IAC7B,qCAAqC;IACrC,mBAAmB,EAAE,MAAM;IAC3B,qCAAqC;IACrC,sBAAsB,EAAE,MAAM;IAC9B,sCAAsC;IACtC,oBAAoB,EAAE,MAAM;IAC5B,+BAA+B;IAC/B,iBAAiB,EAAE,MAAM;IACzB,gCAAgC;IAChC,eAAe,EAAE,MAAM;IACvB,uGAAuG;IACvG,iBAAiB,EAAE,MAAM;IACzB;oDACgD;IAChD,kBAAkB,EAAE,MAAM;IAC1B;oDACgD;IAChD,2BAA2B,EAAE,MAAM;IACnC,qFAAqF;IACrF,uBAAuB,EAAE,MAAM;IAC/B,gZAAgZ;IAChZ,oBAAoB,EAAE,MAAM;CACtB,CAAC,CAAC"}
|