@wailsio/runtime 3.0.0-alpha.74 → 3.0.0-alpha.75
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/drag.js +39 -5
- package/dist/event_types.js +24 -4
- package/dist/index.js +2 -1
- package/dist/ios.js +28 -0
- package/dist/runtime.js +1 -0
- package/dist/system.js +21 -8
- package/package.json +1 -1
- package/types/event_types.d.ts +239 -434
- package/types/index.d.ts +2 -1
- package/types/ios.d.ts +13 -0
- package/types/runtime.d.ts +1 -0
package/dist/drag.js
CHANGED
|
@@ -29,12 +29,46 @@ window._wails.setResizable = (value) => {
|
|
|
29
29
|
setResize();
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
window.
|
|
32
|
+
// Defer attaching mouse listeners until we know we're not on mobile.
|
|
33
|
+
let dragInitDone = false;
|
|
34
|
+
function isMobile() {
|
|
35
|
+
var _a, _b;
|
|
36
|
+
const os = (_b = (_a = window._wails) === null || _a === void 0 ? void 0 : _a.environment) === null || _b === void 0 ? void 0 : _b.OS;
|
|
37
|
+
if (os === "ios" || os === "android")
|
|
38
|
+
return true;
|
|
39
|
+
// Fallback heuristic if environment not yet set
|
|
40
|
+
const ua = navigator.userAgent || navigator.vendor || window.opera || "";
|
|
41
|
+
return /android|iphone|ipad|ipod|iemobile|wpdesktop/i.test(ua);
|
|
37
42
|
}
|
|
43
|
+
function tryInitDragHandlers() {
|
|
44
|
+
if (dragInitDone)
|
|
45
|
+
return;
|
|
46
|
+
if (isMobile())
|
|
47
|
+
return;
|
|
48
|
+
window.addEventListener('mousedown', update, { capture: true });
|
|
49
|
+
window.addEventListener('mousemove', update, { capture: true });
|
|
50
|
+
window.addEventListener('mouseup', update, { capture: true });
|
|
51
|
+
for (const ev of ['click', 'contextmenu', 'dblclick']) {
|
|
52
|
+
window.addEventListener(ev, suppressEvent, { capture: true });
|
|
53
|
+
}
|
|
54
|
+
dragInitDone = true;
|
|
55
|
+
}
|
|
56
|
+
// Attempt immediate init (in case environment already present)
|
|
57
|
+
tryInitDragHandlers();
|
|
58
|
+
// Also attempt on DOM ready
|
|
59
|
+
document.addEventListener('DOMContentLoaded', tryInitDragHandlers, { once: true });
|
|
60
|
+
// As a last resort, poll for environment for a short period
|
|
61
|
+
let dragEnvPolls = 0;
|
|
62
|
+
const dragEnvPoll = window.setInterval(() => {
|
|
63
|
+
if (dragInitDone) {
|
|
64
|
+
window.clearInterval(dragEnvPoll);
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
tryInitDragHandlers();
|
|
68
|
+
if (++dragEnvPolls > 100) {
|
|
69
|
+
window.clearInterval(dragEnvPoll);
|
|
70
|
+
}
|
|
71
|
+
}, 50);
|
|
38
72
|
function suppressEvent(event) {
|
|
39
73
|
// Suppress click events while resizing or dragging.
|
|
40
74
|
if (dragging || resizing) {
|
package/dist/event_types.js
CHANGED
|
@@ -200,6 +200,30 @@ export const Types = Object.freeze({
|
|
|
200
200
|
WindowFocusOut: "linux:WindowFocusOut",
|
|
201
201
|
WindowLoadChanged: "linux:WindowLoadChanged",
|
|
202
202
|
}),
|
|
203
|
+
iOS: Object.freeze({
|
|
204
|
+
ApplicationDidBecomeActive: "ios:ApplicationDidBecomeActive",
|
|
205
|
+
ApplicationDidEnterBackground: "ios:ApplicationDidEnterBackground",
|
|
206
|
+
ApplicationDidFinishLaunching: "ios:ApplicationDidFinishLaunching",
|
|
207
|
+
ApplicationDidReceiveMemoryWarning: "ios:ApplicationDidReceiveMemoryWarning",
|
|
208
|
+
ApplicationWillEnterForeground: "ios:ApplicationWillEnterForeground",
|
|
209
|
+
ApplicationWillResignActive: "ios:ApplicationWillResignActive",
|
|
210
|
+
ApplicationWillTerminate: "ios:ApplicationWillTerminate",
|
|
211
|
+
WindowDidLoad: "ios:WindowDidLoad",
|
|
212
|
+
WindowWillAppear: "ios:WindowWillAppear",
|
|
213
|
+
WindowDidAppear: "ios:WindowDidAppear",
|
|
214
|
+
WindowWillDisappear: "ios:WindowWillDisappear",
|
|
215
|
+
WindowDidDisappear: "ios:WindowDidDisappear",
|
|
216
|
+
WindowSafeAreaInsetsChanged: "ios:WindowSafeAreaInsetsChanged",
|
|
217
|
+
WindowOrientationChanged: "ios:WindowOrientationChanged",
|
|
218
|
+
WindowTouchBegan: "ios:WindowTouchBegan",
|
|
219
|
+
WindowTouchMoved: "ios:WindowTouchMoved",
|
|
220
|
+
WindowTouchEnded: "ios:WindowTouchEnded",
|
|
221
|
+
WindowTouchCancelled: "ios:WindowTouchCancelled",
|
|
222
|
+
WebViewDidStartNavigation: "ios:WebViewDidStartNavigation",
|
|
223
|
+
WebViewDidFinishNavigation: "ios:WebViewDidFinishNavigation",
|
|
224
|
+
WebViewDidFailNavigation: "ios:WebViewDidFailNavigation",
|
|
225
|
+
WebViewDecidePolicyForNavigationAction: "ios:WebViewDecidePolicyForNavigationAction",
|
|
226
|
+
}),
|
|
203
227
|
Common: Object.freeze({
|
|
204
228
|
ApplicationOpenedWithFile: "common:ApplicationOpenedWithFile",
|
|
205
229
|
ApplicationStarted: "common:ApplicationStarted",
|
|
@@ -230,7 +254,3 @@ export const Types = Object.freeze({
|
|
|
230
254
|
WindowDropZoneFilesDropped: "common:WindowDropZoneFilesDropped",
|
|
231
255
|
}),
|
|
232
256
|
});
|
|
233
|
-
export const Windows = Types.Windows;
|
|
234
|
-
export const Mac = Types.Mac;
|
|
235
|
-
export const Linux = Types.Linux;
|
|
236
|
-
export const Common = Types.Common;
|
package/dist/index.js
CHANGED
|
@@ -22,9 +22,10 @@ import * as Events from "./events.js";
|
|
|
22
22
|
import * as Flags from "./flags.js";
|
|
23
23
|
import * as Screens from "./screens.js";
|
|
24
24
|
import * as System from "./system.js";
|
|
25
|
+
import * as IOS from "./ios.js";
|
|
25
26
|
import Window from "./window.js";
|
|
26
27
|
import * as WML from "./wml.js";
|
|
27
|
-
export { Application, Browser, Call, Clipboard, Dialogs, Events, Flags, Screens, System, Window, WML };
|
|
28
|
+
export { Application, Browser, Call, Clipboard, Dialogs, Events, Flags, Screens, System, IOS, Window, WML };
|
|
28
29
|
/**
|
|
29
30
|
* An internal utility consumed by the binding generator.
|
|
30
31
|
*
|
package/dist/ios.js
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/*
|
|
2
|
+
_ __ _ __
|
|
3
|
+
| | / /___ _(_) /____
|
|
4
|
+
| | /| / / __ `/ / / ___/
|
|
5
|
+
| |/ |/ / /_/ / / (__ )
|
|
6
|
+
|__/|__/\__,_/_/_/____/
|
|
7
|
+
The electron alternative for Go
|
|
8
|
+
(c) Lea Anthony 2019-present
|
|
9
|
+
*/
|
|
10
|
+
import { newRuntimeCaller, objectNames } from "./runtime.js";
|
|
11
|
+
const call = newRuntimeCaller(objectNames.IOS);
|
|
12
|
+
// Method IDs
|
|
13
|
+
const HapticsImpact = 0;
|
|
14
|
+
const DeviceInfo = 1;
|
|
15
|
+
export var Haptics;
|
|
16
|
+
(function (Haptics) {
|
|
17
|
+
function Impact(style = "medium") {
|
|
18
|
+
return call(HapticsImpact, { style });
|
|
19
|
+
}
|
|
20
|
+
Haptics.Impact = Impact;
|
|
21
|
+
})(Haptics || (Haptics = {}));
|
|
22
|
+
export var Device;
|
|
23
|
+
(function (Device) {
|
|
24
|
+
function Info() {
|
|
25
|
+
return call(DeviceInfo);
|
|
26
|
+
}
|
|
27
|
+
Device.Info = Info;
|
|
28
|
+
})(Device || (Device = {}));
|
package/dist/runtime.js
CHANGED
package/dist/system.js
CHANGED
|
@@ -14,14 +14,20 @@ const SystemEnvironment = 1;
|
|
|
14
14
|
const SystemCapabilities = 2;
|
|
15
15
|
const ApplicationFilesDroppedWithContext = 100; // New method ID for enriched drop event
|
|
16
16
|
const _invoke = (function () {
|
|
17
|
-
var _a, _b, _c, _d, _e;
|
|
17
|
+
var _a, _b, _c, _d, _e, _f;
|
|
18
18
|
try {
|
|
19
|
+
// Windows WebView2
|
|
19
20
|
if ((_b = (_a = window.chrome) === null || _a === void 0 ? void 0 : _a.webview) === null || _b === void 0 ? void 0 : _b.postMessage) {
|
|
20
21
|
return window.chrome.webview.postMessage.bind(window.chrome.webview);
|
|
21
22
|
}
|
|
23
|
+
// macOS/iOS WKWebView
|
|
22
24
|
else if ((_e = (_d = (_c = window.webkit) === null || _c === void 0 ? void 0 : _c.messageHandlers) === null || _d === void 0 ? void 0 : _d['external']) === null || _e === void 0 ? void 0 : _e.postMessage) {
|
|
23
25
|
return window.webkit.messageHandlers['external'].postMessage.bind(window.webkit.messageHandlers['external']);
|
|
24
26
|
}
|
|
27
|
+
// Android WebView - uses addJavascriptInterface which exposes window.wails.invoke
|
|
28
|
+
else if ((_f = window.wails) === null || _f === void 0 ? void 0 : _f.invoke) {
|
|
29
|
+
return (msg) => window.wails.invoke(typeof msg === 'string' ? msg : JSON.stringify(msg));
|
|
30
|
+
}
|
|
25
31
|
}
|
|
26
32
|
catch (e) { }
|
|
27
33
|
console.warn('\n%c⚠️ Browser Environment Detected %c\n\n%cOnly UI previews are available in the browser. For full functionality, please run the application in desktop mode.\nMore information at: https://v3.wails.io/learn/build/#using-a-browser-for-development\n', 'background: #ffffff; color: #000000; font-weight: bold; padding: 4px 8px; border-radius: 4px; border: 2px solid #000000;', 'background: transparent;', 'color: #ffffff; font-style: italic; font-weight: bold;');
|
|
@@ -60,7 +66,8 @@ export function Environment() {
|
|
|
60
66
|
* @return True if the operating system is Windows, otherwise false.
|
|
61
67
|
*/
|
|
62
68
|
export function IsWindows() {
|
|
63
|
-
|
|
69
|
+
var _a, _b;
|
|
70
|
+
return ((_b = (_a = window._wails) === null || _a === void 0 ? void 0 : _a.environment) === null || _b === void 0 ? void 0 : _b.OS) === "windows";
|
|
64
71
|
}
|
|
65
72
|
/**
|
|
66
73
|
* Checks if the current operating system is Linux.
|
|
@@ -68,7 +75,8 @@ export function IsWindows() {
|
|
|
68
75
|
* @returns Returns true if the current operating system is Linux, false otherwise.
|
|
69
76
|
*/
|
|
70
77
|
export function IsLinux() {
|
|
71
|
-
|
|
78
|
+
var _a, _b;
|
|
79
|
+
return ((_b = (_a = window._wails) === null || _a === void 0 ? void 0 : _a.environment) === null || _b === void 0 ? void 0 : _b.OS) === "linux";
|
|
72
80
|
}
|
|
73
81
|
/**
|
|
74
82
|
* Checks if the current environment is a macOS operating system.
|
|
@@ -76,7 +84,8 @@ export function IsLinux() {
|
|
|
76
84
|
* @returns True if the environment is macOS, false otherwise.
|
|
77
85
|
*/
|
|
78
86
|
export function IsMac() {
|
|
79
|
-
|
|
87
|
+
var _a, _b;
|
|
88
|
+
return ((_b = (_a = window._wails) === null || _a === void 0 ? void 0 : _a.environment) === null || _b === void 0 ? void 0 : _b.OS) === "darwin";
|
|
80
89
|
}
|
|
81
90
|
/**
|
|
82
91
|
* Checks if the current environment architecture is AMD64.
|
|
@@ -84,7 +93,8 @@ export function IsMac() {
|
|
|
84
93
|
* @returns True if the current environment architecture is AMD64, false otherwise.
|
|
85
94
|
*/
|
|
86
95
|
export function IsAMD64() {
|
|
87
|
-
|
|
96
|
+
var _a, _b;
|
|
97
|
+
return ((_b = (_a = window._wails) === null || _a === void 0 ? void 0 : _a.environment) === null || _b === void 0 ? void 0 : _b.Arch) === "amd64";
|
|
88
98
|
}
|
|
89
99
|
/**
|
|
90
100
|
* Checks if the current architecture is ARM.
|
|
@@ -92,7 +102,8 @@ export function IsAMD64() {
|
|
|
92
102
|
* @returns True if the current architecture is ARM, false otherwise.
|
|
93
103
|
*/
|
|
94
104
|
export function IsARM() {
|
|
95
|
-
|
|
105
|
+
var _a, _b;
|
|
106
|
+
return ((_b = (_a = window._wails) === null || _a === void 0 ? void 0 : _a.environment) === null || _b === void 0 ? void 0 : _b.Arch) === "arm";
|
|
96
107
|
}
|
|
97
108
|
/**
|
|
98
109
|
* Checks if the current environment is ARM64 architecture.
|
|
@@ -100,7 +111,8 @@ export function IsARM() {
|
|
|
100
111
|
* @returns Returns true if the environment is ARM64 architecture, otherwise returns false.
|
|
101
112
|
*/
|
|
102
113
|
export function IsARM64() {
|
|
103
|
-
|
|
114
|
+
var _a, _b;
|
|
115
|
+
return ((_b = (_a = window._wails) === null || _a === void 0 ? void 0 : _a.environment) === null || _b === void 0 ? void 0 : _b.Arch) === "arm64";
|
|
104
116
|
}
|
|
105
117
|
/**
|
|
106
118
|
* Reports whether the app is being run in debug mode.
|
|
@@ -108,7 +120,8 @@ export function IsARM64() {
|
|
|
108
120
|
* @returns True if the app is being run in debug mode.
|
|
109
121
|
*/
|
|
110
122
|
export function IsDebug() {
|
|
111
|
-
|
|
123
|
+
var _a, _b;
|
|
124
|
+
return Boolean((_b = (_a = window._wails) === null || _a === void 0 ? void 0 : _a.environment) === null || _b === void 0 ? void 0 : _b.Debug);
|
|
112
125
|
}
|
|
113
126
|
/**
|
|
114
127
|
* Handles file drops originating from platform-specific code (e.g., macOS native drag-and-drop).
|
package/package.json
CHANGED
package/types/event_types.d.ts
CHANGED
|
@@ -1,440 +1,245 @@
|
|
|
1
1
|
export declare const Types: Readonly<{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
2
|
+
Windows: Readonly<{
|
|
3
|
+
APMPowerSettingChange: "windows:APMPowerSettingChange";
|
|
4
|
+
APMPowerStatusChange: "windows:APMPowerStatusChange";
|
|
5
|
+
APMResumeAutomatic: "windows:APMResumeAutomatic";
|
|
6
|
+
APMResumeSuspend: "windows:APMResumeSuspend";
|
|
7
|
+
APMSuspend: "windows:APMSuspend";
|
|
8
|
+
ApplicationStarted: "windows:ApplicationStarted";
|
|
9
|
+
SystemThemeChanged: "windows:SystemThemeChanged";
|
|
10
|
+
WebViewNavigationCompleted: "windows:WebViewNavigationCompleted";
|
|
11
|
+
WindowActive: "windows:WindowActive";
|
|
12
|
+
WindowBackgroundErase: "windows:WindowBackgroundErase";
|
|
13
|
+
WindowClickActive: "windows:WindowClickActive";
|
|
14
|
+
WindowClosing: "windows:WindowClosing";
|
|
15
|
+
WindowDidMove: "windows:WindowDidMove";
|
|
16
|
+
WindowDidResize: "windows:WindowDidResize";
|
|
17
|
+
WindowDPIChanged: "windows:WindowDPIChanged";
|
|
18
|
+
WindowDragDrop: "windows:WindowDragDrop";
|
|
19
|
+
WindowDragEnter: "windows:WindowDragEnter";
|
|
20
|
+
WindowDragLeave: "windows:WindowDragLeave";
|
|
21
|
+
WindowDragOver: "windows:WindowDragOver";
|
|
22
|
+
WindowEndMove: "windows:WindowEndMove";
|
|
23
|
+
WindowEndResize: "windows:WindowEndResize";
|
|
24
|
+
WindowFullscreen: "windows:WindowFullscreen";
|
|
25
|
+
WindowHide: "windows:WindowHide";
|
|
26
|
+
WindowInactive: "windows:WindowInactive";
|
|
27
|
+
WindowKeyDown: "windows:WindowKeyDown";
|
|
28
|
+
WindowKeyUp: "windows:WindowKeyUp";
|
|
29
|
+
WindowKillFocus: "windows:WindowKillFocus";
|
|
30
|
+
WindowNonClientHit: "windows:WindowNonClientHit";
|
|
31
|
+
WindowNonClientMouseDown: "windows:WindowNonClientMouseDown";
|
|
32
|
+
WindowNonClientMouseLeave: "windows:WindowNonClientMouseLeave";
|
|
33
|
+
WindowNonClientMouseMove: "windows:WindowNonClientMouseMove";
|
|
34
|
+
WindowNonClientMouseUp: "windows:WindowNonClientMouseUp";
|
|
35
|
+
WindowPaint: "windows:WindowPaint";
|
|
36
|
+
WindowRestore: "windows:WindowRestore";
|
|
37
|
+
WindowSetFocus: "windows:WindowSetFocus";
|
|
38
|
+
WindowShow: "windows:WindowShow";
|
|
39
|
+
WindowStartMove: "windows:WindowStartMove";
|
|
40
|
+
WindowStartResize: "windows:WindowStartResize";
|
|
41
|
+
WindowUnFullscreen: "windows:WindowUnFullscreen";
|
|
42
|
+
WindowZOrderChanged: "windows:WindowZOrderChanged";
|
|
43
|
+
WindowMinimise: "windows:WindowMinimise";
|
|
44
|
+
WindowUnMinimise: "windows:WindowUnMinimise";
|
|
45
|
+
WindowMaximise: "windows:WindowMaximise";
|
|
46
|
+
WindowUnMaximise: "windows:WindowUnMaximise";
|
|
47
47
|
}>;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
48
|
+
Mac: Readonly<{
|
|
49
|
+
ApplicationDidBecomeActive: "mac:ApplicationDidBecomeActive";
|
|
50
|
+
ApplicationDidChangeBackingProperties: "mac:ApplicationDidChangeBackingProperties";
|
|
51
|
+
ApplicationDidChangeEffectiveAppearance: "mac:ApplicationDidChangeEffectiveAppearance";
|
|
52
|
+
ApplicationDidChangeIcon: "mac:ApplicationDidChangeIcon";
|
|
53
|
+
ApplicationDidChangeOcclusionState: "mac:ApplicationDidChangeOcclusionState";
|
|
54
|
+
ApplicationDidChangeScreenParameters: "mac:ApplicationDidChangeScreenParameters";
|
|
55
|
+
ApplicationDidChangeStatusBarFrame: "mac:ApplicationDidChangeStatusBarFrame";
|
|
56
|
+
ApplicationDidChangeStatusBarOrientation: "mac:ApplicationDidChangeStatusBarOrientation";
|
|
57
|
+
ApplicationDidChangeTheme: "mac:ApplicationDidChangeTheme";
|
|
58
|
+
ApplicationDidFinishLaunching: "mac:ApplicationDidFinishLaunching";
|
|
59
|
+
ApplicationDidHide: "mac:ApplicationDidHide";
|
|
60
|
+
ApplicationDidResignActive: "mac:ApplicationDidResignActive";
|
|
61
|
+
ApplicationDidUnhide: "mac:ApplicationDidUnhide";
|
|
62
|
+
ApplicationDidUpdate: "mac:ApplicationDidUpdate";
|
|
63
|
+
ApplicationShouldHandleReopen: "mac:ApplicationShouldHandleReopen";
|
|
64
|
+
ApplicationWillBecomeActive: "mac:ApplicationWillBecomeActive";
|
|
65
|
+
ApplicationWillFinishLaunching: "mac:ApplicationWillFinishLaunching";
|
|
66
|
+
ApplicationWillHide: "mac:ApplicationWillHide";
|
|
67
|
+
ApplicationWillResignActive: "mac:ApplicationWillResignActive";
|
|
68
|
+
ApplicationWillTerminate: "mac:ApplicationWillTerminate";
|
|
69
|
+
ApplicationWillUnhide: "mac:ApplicationWillUnhide";
|
|
70
|
+
ApplicationWillUpdate: "mac:ApplicationWillUpdate";
|
|
71
|
+
MenuDidAddItem: "mac:MenuDidAddItem";
|
|
72
|
+
MenuDidBeginTracking: "mac:MenuDidBeginTracking";
|
|
73
|
+
MenuDidClose: "mac:MenuDidClose";
|
|
74
|
+
MenuDidDisplayItem: "mac:MenuDidDisplayItem";
|
|
75
|
+
MenuDidEndTracking: "mac:MenuDidEndTracking";
|
|
76
|
+
MenuDidHighlightItem: "mac:MenuDidHighlightItem";
|
|
77
|
+
MenuDidOpen: "mac:MenuDidOpen";
|
|
78
|
+
MenuDidPopUp: "mac:MenuDidPopUp";
|
|
79
|
+
MenuDidRemoveItem: "mac:MenuDidRemoveItem";
|
|
80
|
+
MenuDidSendAction: "mac:MenuDidSendAction";
|
|
81
|
+
MenuDidSendActionToItem: "mac:MenuDidSendActionToItem";
|
|
82
|
+
MenuDidUpdate: "mac:MenuDidUpdate";
|
|
83
|
+
MenuWillAddItem: "mac:MenuWillAddItem";
|
|
84
|
+
MenuWillBeginTracking: "mac:MenuWillBeginTracking";
|
|
85
|
+
MenuWillDisplayItem: "mac:MenuWillDisplayItem";
|
|
86
|
+
MenuWillEndTracking: "mac:MenuWillEndTracking";
|
|
87
|
+
MenuWillHighlightItem: "mac:MenuWillHighlightItem";
|
|
88
|
+
MenuWillOpen: "mac:MenuWillOpen";
|
|
89
|
+
MenuWillPopUp: "mac:MenuWillPopUp";
|
|
90
|
+
MenuWillRemoveItem: "mac:MenuWillRemoveItem";
|
|
91
|
+
MenuWillSendAction: "mac:MenuWillSendAction";
|
|
92
|
+
MenuWillSendActionToItem: "mac:MenuWillSendActionToItem";
|
|
93
|
+
MenuWillUpdate: "mac:MenuWillUpdate";
|
|
94
|
+
WebViewDidCommitNavigation: "mac:WebViewDidCommitNavigation";
|
|
95
|
+
WebViewDidFinishNavigation: "mac:WebViewDidFinishNavigation";
|
|
96
|
+
WebViewDidReceiveServerRedirectForProvisionalNavigation: "mac:WebViewDidReceiveServerRedirectForProvisionalNavigation";
|
|
97
|
+
WebViewDidStartProvisionalNavigation: "mac:WebViewDidStartProvisionalNavigation";
|
|
98
|
+
WindowDidBecomeKey: "mac:WindowDidBecomeKey";
|
|
99
|
+
WindowDidBecomeMain: "mac:WindowDidBecomeMain";
|
|
100
|
+
WindowDidBeginSheet: "mac:WindowDidBeginSheet";
|
|
101
|
+
WindowDidChangeAlpha: "mac:WindowDidChangeAlpha";
|
|
102
|
+
WindowDidChangeBackingLocation: "mac:WindowDidChangeBackingLocation";
|
|
103
|
+
WindowDidChangeBackingProperties: "mac:WindowDidChangeBackingProperties";
|
|
104
|
+
WindowDidChangeCollectionBehavior: "mac:WindowDidChangeCollectionBehavior";
|
|
105
|
+
WindowDidChangeEffectiveAppearance: "mac:WindowDidChangeEffectiveAppearance";
|
|
106
|
+
WindowDidChangeOcclusionState: "mac:WindowDidChangeOcclusionState";
|
|
107
|
+
WindowDidChangeOrderingMode: "mac:WindowDidChangeOrderingMode";
|
|
108
|
+
WindowDidChangeScreen: "mac:WindowDidChangeScreen";
|
|
109
|
+
WindowDidChangeScreenParameters: "mac:WindowDidChangeScreenParameters";
|
|
110
|
+
WindowDidChangeScreenProfile: "mac:WindowDidChangeScreenProfile";
|
|
111
|
+
WindowDidChangeScreenSpace: "mac:WindowDidChangeScreenSpace";
|
|
112
|
+
WindowDidChangeScreenSpaceProperties: "mac:WindowDidChangeScreenSpaceProperties";
|
|
113
|
+
WindowDidChangeSharingType: "mac:WindowDidChangeSharingType";
|
|
114
|
+
WindowDidChangeSpace: "mac:WindowDidChangeSpace";
|
|
115
|
+
WindowDidChangeSpaceOrderingMode: "mac:WindowDidChangeSpaceOrderingMode";
|
|
116
|
+
WindowDidChangeTitle: "mac:WindowDidChangeTitle";
|
|
117
|
+
WindowDidChangeToolbar: "mac:WindowDidChangeToolbar";
|
|
118
|
+
WindowDidDeminiaturize: "mac:WindowDidDeminiaturize";
|
|
119
|
+
WindowDidEndSheet: "mac:WindowDidEndSheet";
|
|
120
|
+
WindowDidEnterFullScreen: "mac:WindowDidEnterFullScreen";
|
|
121
|
+
WindowDidEnterVersionBrowser: "mac:WindowDidEnterVersionBrowser";
|
|
122
|
+
WindowDidExitFullScreen: "mac:WindowDidExitFullScreen";
|
|
123
|
+
WindowDidExitVersionBrowser: "mac:WindowDidExitVersionBrowser";
|
|
124
|
+
WindowDidExpose: "mac:WindowDidExpose";
|
|
125
|
+
WindowDidFocus: "mac:WindowDidFocus";
|
|
126
|
+
WindowDidMiniaturize: "mac:WindowDidMiniaturize";
|
|
127
|
+
WindowDidMove: "mac:WindowDidMove";
|
|
128
|
+
WindowDidOrderOffScreen: "mac:WindowDidOrderOffScreen";
|
|
129
|
+
WindowDidOrderOnScreen: "mac:WindowDidOrderOnScreen";
|
|
130
|
+
WindowDidResignKey: "mac:WindowDidResignKey";
|
|
131
|
+
WindowDidResignMain: "mac:WindowDidResignMain";
|
|
132
|
+
WindowDidResize: "mac:WindowDidResize";
|
|
133
|
+
WindowDidUpdate: "mac:WindowDidUpdate";
|
|
134
|
+
WindowDidUpdateAlpha: "mac:WindowDidUpdateAlpha";
|
|
135
|
+
WindowDidUpdateCollectionBehavior: "mac:WindowDidUpdateCollectionBehavior";
|
|
136
|
+
WindowDidUpdateCollectionProperties: "mac:WindowDidUpdateCollectionProperties";
|
|
137
|
+
WindowDidUpdateShadow: "mac:WindowDidUpdateShadow";
|
|
138
|
+
WindowDidUpdateTitle: "mac:WindowDidUpdateTitle";
|
|
139
|
+
WindowDidUpdateToolbar: "mac:WindowDidUpdateToolbar";
|
|
140
|
+
WindowDidZoom: "mac:WindowDidZoom";
|
|
141
|
+
WindowFileDraggingEntered: "mac:WindowFileDraggingEntered";
|
|
142
|
+
WindowFileDraggingExited: "mac:WindowFileDraggingExited";
|
|
143
|
+
WindowFileDraggingPerformed: "mac:WindowFileDraggingPerformed";
|
|
144
|
+
WindowHide: "mac:WindowHide";
|
|
145
|
+
WindowMaximise: "mac:WindowMaximise";
|
|
146
|
+
WindowUnMaximise: "mac:WindowUnMaximise";
|
|
147
|
+
WindowMinimise: "mac:WindowMinimise";
|
|
148
|
+
WindowUnMinimise: "mac:WindowUnMinimise";
|
|
149
|
+
WindowShouldClose: "mac:WindowShouldClose";
|
|
150
|
+
WindowShow: "mac:WindowShow";
|
|
151
|
+
WindowWillBecomeKey: "mac:WindowWillBecomeKey";
|
|
152
|
+
WindowWillBecomeMain: "mac:WindowWillBecomeMain";
|
|
153
|
+
WindowWillBeginSheet: "mac:WindowWillBeginSheet";
|
|
154
|
+
WindowWillChangeOrderingMode: "mac:WindowWillChangeOrderingMode";
|
|
155
|
+
WindowWillClose: "mac:WindowWillClose";
|
|
156
|
+
WindowWillDeminiaturize: "mac:WindowWillDeminiaturize";
|
|
157
|
+
WindowWillEnterFullScreen: "mac:WindowWillEnterFullScreen";
|
|
158
|
+
WindowWillEnterVersionBrowser: "mac:WindowWillEnterVersionBrowser";
|
|
159
|
+
WindowWillExitFullScreen: "mac:WindowWillExitFullScreen";
|
|
160
|
+
WindowWillExitVersionBrowser: "mac:WindowWillExitVersionBrowser";
|
|
161
|
+
WindowWillFocus: "mac:WindowWillFocus";
|
|
162
|
+
WindowWillMiniaturize: "mac:WindowWillMiniaturize";
|
|
163
|
+
WindowWillMove: "mac:WindowWillMove";
|
|
164
|
+
WindowWillOrderOffScreen: "mac:WindowWillOrderOffScreen";
|
|
165
|
+
WindowWillOrderOnScreen: "mac:WindowWillOrderOnScreen";
|
|
166
|
+
WindowWillResignMain: "mac:WindowWillResignMain";
|
|
167
|
+
WindowWillResize: "mac:WindowWillResize";
|
|
168
|
+
WindowWillUnfocus: "mac:WindowWillUnfocus";
|
|
169
|
+
WindowWillUpdate: "mac:WindowWillUpdate";
|
|
170
|
+
WindowWillUpdateAlpha: "mac:WindowWillUpdateAlpha";
|
|
171
|
+
WindowWillUpdateCollectionBehavior: "mac:WindowWillUpdateCollectionBehavior";
|
|
172
|
+
WindowWillUpdateCollectionProperties: "mac:WindowWillUpdateCollectionProperties";
|
|
173
|
+
WindowWillUpdateShadow: "mac:WindowWillUpdateShadow";
|
|
174
|
+
WindowWillUpdateTitle: "mac:WindowWillUpdateTitle";
|
|
175
|
+
WindowWillUpdateToolbar: "mac:WindowWillUpdateToolbar";
|
|
176
|
+
WindowWillUpdateVisibility: "mac:WindowWillUpdateVisibility";
|
|
177
|
+
WindowWillUseStandardFrame: "mac:WindowWillUseStandardFrame";
|
|
178
|
+
WindowZoomIn: "mac:WindowZoomIn";
|
|
179
|
+
WindowZoomOut: "mac:WindowZoomOut";
|
|
180
|
+
WindowZoomReset: "mac:WindowZoomReset";
|
|
181
181
|
}>;
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
182
|
+
Linux: Readonly<{
|
|
183
|
+
ApplicationStartup: "linux:ApplicationStartup";
|
|
184
|
+
SystemThemeChanged: "linux:SystemThemeChanged";
|
|
185
|
+
WindowDeleteEvent: "linux:WindowDeleteEvent";
|
|
186
|
+
WindowDidMove: "linux:WindowDidMove";
|
|
187
|
+
WindowDidResize: "linux:WindowDidResize";
|
|
188
|
+
WindowFocusIn: "linux:WindowFocusIn";
|
|
189
|
+
WindowFocusOut: "linux:WindowFocusOut";
|
|
190
|
+
WindowLoadChanged: "linux:WindowLoadChanged";
|
|
191
191
|
}>;
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
192
|
+
iOS: Readonly<{
|
|
193
|
+
ApplicationDidBecomeActive: "ios:ApplicationDidBecomeActive";
|
|
194
|
+
ApplicationDidEnterBackground: "ios:ApplicationDidEnterBackground";
|
|
195
|
+
ApplicationDidFinishLaunching: "ios:ApplicationDidFinishLaunching";
|
|
196
|
+
ApplicationDidReceiveMemoryWarning: "ios:ApplicationDidReceiveMemoryWarning";
|
|
197
|
+
ApplicationWillEnterForeground: "ios:ApplicationWillEnterForeground";
|
|
198
|
+
ApplicationWillResignActive: "ios:ApplicationWillResignActive";
|
|
199
|
+
ApplicationWillTerminate: "ios:ApplicationWillTerminate";
|
|
200
|
+
WindowDidLoad: "ios:WindowDidLoad";
|
|
201
|
+
WindowWillAppear: "ios:WindowWillAppear";
|
|
202
|
+
WindowDidAppear: "ios:WindowDidAppear";
|
|
203
|
+
WindowWillDisappear: "ios:WindowWillDisappear";
|
|
204
|
+
WindowDidDisappear: "ios:WindowDidDisappear";
|
|
205
|
+
WindowSafeAreaInsetsChanged: "ios:WindowSafeAreaInsetsChanged";
|
|
206
|
+
WindowOrientationChanged: "ios:WindowOrientationChanged";
|
|
207
|
+
WindowTouchBegan: "ios:WindowTouchBegan";
|
|
208
|
+
WindowTouchMoved: "ios:WindowTouchMoved";
|
|
209
|
+
WindowTouchEnded: "ios:WindowTouchEnded";
|
|
210
|
+
WindowTouchCancelled: "ios:WindowTouchCancelled";
|
|
211
|
+
WebViewDidStartNavigation: "ios:WebViewDidStartNavigation";
|
|
212
|
+
WebViewDidFinishNavigation: "ios:WebViewDidFinishNavigation";
|
|
213
|
+
WebViewDidFailNavigation: "ios:WebViewDidFailNavigation";
|
|
214
|
+
WebViewDecidePolicyForNavigationAction: "ios:WebViewDecidePolicyForNavigationAction";
|
|
215
|
+
}>;
|
|
216
|
+
Common: Readonly<{
|
|
217
|
+
ApplicationOpenedWithFile: "common:ApplicationOpenedWithFile";
|
|
218
|
+
ApplicationStarted: "common:ApplicationStarted";
|
|
219
|
+
ApplicationLaunchedWithUrl: "common:ApplicationLaunchedWithUrl";
|
|
220
|
+
ThemeChanged: "common:ThemeChanged";
|
|
221
|
+
WindowClosing: "common:WindowClosing";
|
|
222
|
+
WindowDidMove: "common:WindowDidMove";
|
|
223
|
+
WindowDidResize: "common:WindowDidResize";
|
|
224
|
+
WindowDPIChanged: "common:WindowDPIChanged";
|
|
225
|
+
WindowFilesDropped: "common:WindowFilesDropped";
|
|
226
|
+
WindowFocus: "common:WindowFocus";
|
|
227
|
+
WindowFullscreen: "common:WindowFullscreen";
|
|
228
|
+
WindowHide: "common:WindowHide";
|
|
229
|
+
WindowLostFocus: "common:WindowLostFocus";
|
|
230
|
+
WindowMaximise: "common:WindowMaximise";
|
|
231
|
+
WindowMinimise: "common:WindowMinimise";
|
|
232
|
+
WindowToggleFrameless: "common:WindowToggleFrameless";
|
|
233
|
+
WindowRestore: "common:WindowRestore";
|
|
234
|
+
WindowRuntimeReady: "common:WindowRuntimeReady";
|
|
235
|
+
WindowShow: "common:WindowShow";
|
|
236
|
+
WindowUnFullscreen: "common:WindowUnFullscreen";
|
|
237
|
+
WindowUnMaximise: "common:WindowUnMaximise";
|
|
238
|
+
WindowUnMinimise: "common:WindowUnMinimise";
|
|
239
|
+
WindowZoom: "common:WindowZoom";
|
|
240
|
+
WindowZoomIn: "common:WindowZoomIn";
|
|
241
|
+
WindowZoomOut: "common:WindowZoomOut";
|
|
242
|
+
WindowZoomReset: "common:WindowZoomReset";
|
|
243
|
+
WindowDropZoneFilesDropped: "common:WindowDropZoneFilesDropped";
|
|
220
244
|
}>;
|
|
221
|
-
}>;
|
|
222
|
-
export declare const Windows: Readonly<{
|
|
223
|
-
readonly APMPowerSettingChange: "windows:APMPowerSettingChange";
|
|
224
|
-
readonly APMPowerStatusChange: "windows:APMPowerStatusChange";
|
|
225
|
-
readonly APMResumeAutomatic: "windows:APMResumeAutomatic";
|
|
226
|
-
readonly APMResumeSuspend: "windows:APMResumeSuspend";
|
|
227
|
-
readonly APMSuspend: "windows:APMSuspend";
|
|
228
|
-
readonly ApplicationStarted: "windows:ApplicationStarted";
|
|
229
|
-
readonly SystemThemeChanged: "windows:SystemThemeChanged";
|
|
230
|
-
readonly WebViewNavigationCompleted: "windows:WebViewNavigationCompleted";
|
|
231
|
-
readonly WindowActive: "windows:WindowActive";
|
|
232
|
-
readonly WindowBackgroundErase: "windows:WindowBackgroundErase";
|
|
233
|
-
readonly WindowClickActive: "windows:WindowClickActive";
|
|
234
|
-
readonly WindowClosing: "windows:WindowClosing";
|
|
235
|
-
readonly WindowDidMove: "windows:WindowDidMove";
|
|
236
|
-
readonly WindowDidResize: "windows:WindowDidResize";
|
|
237
|
-
readonly WindowDPIChanged: "windows:WindowDPIChanged";
|
|
238
|
-
readonly WindowDragDrop: "windows:WindowDragDrop";
|
|
239
|
-
readonly WindowDragEnter: "windows:WindowDragEnter";
|
|
240
|
-
readonly WindowDragLeave: "windows:WindowDragLeave";
|
|
241
|
-
readonly WindowDragOver: "windows:WindowDragOver";
|
|
242
|
-
readonly WindowEndMove: "windows:WindowEndMove";
|
|
243
|
-
readonly WindowEndResize: "windows:WindowEndResize";
|
|
244
|
-
readonly WindowFullscreen: "windows:WindowFullscreen";
|
|
245
|
-
readonly WindowHide: "windows:WindowHide";
|
|
246
|
-
readonly WindowInactive: "windows:WindowInactive";
|
|
247
|
-
readonly WindowKeyDown: "windows:WindowKeyDown";
|
|
248
|
-
readonly WindowKeyUp: "windows:WindowKeyUp";
|
|
249
|
-
readonly WindowKillFocus: "windows:WindowKillFocus";
|
|
250
|
-
readonly WindowNonClientHit: "windows:WindowNonClientHit";
|
|
251
|
-
readonly WindowNonClientMouseDown: "windows:WindowNonClientMouseDown";
|
|
252
|
-
readonly WindowNonClientMouseLeave: "windows:WindowNonClientMouseLeave";
|
|
253
|
-
readonly WindowNonClientMouseMove: "windows:WindowNonClientMouseMove";
|
|
254
|
-
readonly WindowNonClientMouseUp: "windows:WindowNonClientMouseUp";
|
|
255
|
-
readonly WindowPaint: "windows:WindowPaint";
|
|
256
|
-
readonly WindowRestore: "windows:WindowRestore";
|
|
257
|
-
readonly WindowSetFocus: "windows:WindowSetFocus";
|
|
258
|
-
readonly WindowShow: "windows:WindowShow";
|
|
259
|
-
readonly WindowStartMove: "windows:WindowStartMove";
|
|
260
|
-
readonly WindowStartResize: "windows:WindowStartResize";
|
|
261
|
-
readonly WindowUnFullscreen: "windows:WindowUnFullscreen";
|
|
262
|
-
readonly WindowZOrderChanged: "windows:WindowZOrderChanged";
|
|
263
|
-
readonly WindowMinimise: "windows:WindowMinimise";
|
|
264
|
-
readonly WindowUnMinimise: "windows:WindowUnMinimise";
|
|
265
|
-
readonly WindowMaximise: "windows:WindowMaximise";
|
|
266
|
-
readonly WindowUnMaximise: "windows:WindowUnMaximise";
|
|
267
|
-
}>;
|
|
268
|
-
export declare const Mac: Readonly<{
|
|
269
|
-
readonly ApplicationDidBecomeActive: "mac:ApplicationDidBecomeActive";
|
|
270
|
-
readonly ApplicationDidChangeBackingProperties: "mac:ApplicationDidChangeBackingProperties";
|
|
271
|
-
readonly ApplicationDidChangeEffectiveAppearance: "mac:ApplicationDidChangeEffectiveAppearance";
|
|
272
|
-
readonly ApplicationDidChangeIcon: "mac:ApplicationDidChangeIcon";
|
|
273
|
-
readonly ApplicationDidChangeOcclusionState: "mac:ApplicationDidChangeOcclusionState";
|
|
274
|
-
readonly ApplicationDidChangeScreenParameters: "mac:ApplicationDidChangeScreenParameters";
|
|
275
|
-
readonly ApplicationDidChangeStatusBarFrame: "mac:ApplicationDidChangeStatusBarFrame";
|
|
276
|
-
readonly ApplicationDidChangeStatusBarOrientation: "mac:ApplicationDidChangeStatusBarOrientation";
|
|
277
|
-
readonly ApplicationDidChangeTheme: "mac:ApplicationDidChangeTheme";
|
|
278
|
-
readonly ApplicationDidFinishLaunching: "mac:ApplicationDidFinishLaunching";
|
|
279
|
-
readonly ApplicationDidHide: "mac:ApplicationDidHide";
|
|
280
|
-
readonly ApplicationDidResignActive: "mac:ApplicationDidResignActive";
|
|
281
|
-
readonly ApplicationDidUnhide: "mac:ApplicationDidUnhide";
|
|
282
|
-
readonly ApplicationDidUpdate: "mac:ApplicationDidUpdate";
|
|
283
|
-
readonly ApplicationShouldHandleReopen: "mac:ApplicationShouldHandleReopen";
|
|
284
|
-
readonly ApplicationWillBecomeActive: "mac:ApplicationWillBecomeActive";
|
|
285
|
-
readonly ApplicationWillFinishLaunching: "mac:ApplicationWillFinishLaunching";
|
|
286
|
-
readonly ApplicationWillHide: "mac:ApplicationWillHide";
|
|
287
|
-
readonly ApplicationWillResignActive: "mac:ApplicationWillResignActive";
|
|
288
|
-
readonly ApplicationWillTerminate: "mac:ApplicationWillTerminate";
|
|
289
|
-
readonly ApplicationWillUnhide: "mac:ApplicationWillUnhide";
|
|
290
|
-
readonly ApplicationWillUpdate: "mac:ApplicationWillUpdate";
|
|
291
|
-
readonly MenuDidAddItem: "mac:MenuDidAddItem";
|
|
292
|
-
readonly MenuDidBeginTracking: "mac:MenuDidBeginTracking";
|
|
293
|
-
readonly MenuDidClose: "mac:MenuDidClose";
|
|
294
|
-
readonly MenuDidDisplayItem: "mac:MenuDidDisplayItem";
|
|
295
|
-
readonly MenuDidEndTracking: "mac:MenuDidEndTracking";
|
|
296
|
-
readonly MenuDidHighlightItem: "mac:MenuDidHighlightItem";
|
|
297
|
-
readonly MenuDidOpen: "mac:MenuDidOpen";
|
|
298
|
-
readonly MenuDidPopUp: "mac:MenuDidPopUp";
|
|
299
|
-
readonly MenuDidRemoveItem: "mac:MenuDidRemoveItem";
|
|
300
|
-
readonly MenuDidSendAction: "mac:MenuDidSendAction";
|
|
301
|
-
readonly MenuDidSendActionToItem: "mac:MenuDidSendActionToItem";
|
|
302
|
-
readonly MenuDidUpdate: "mac:MenuDidUpdate";
|
|
303
|
-
readonly MenuWillAddItem: "mac:MenuWillAddItem";
|
|
304
|
-
readonly MenuWillBeginTracking: "mac:MenuWillBeginTracking";
|
|
305
|
-
readonly MenuWillDisplayItem: "mac:MenuWillDisplayItem";
|
|
306
|
-
readonly MenuWillEndTracking: "mac:MenuWillEndTracking";
|
|
307
|
-
readonly MenuWillHighlightItem: "mac:MenuWillHighlightItem";
|
|
308
|
-
readonly MenuWillOpen: "mac:MenuWillOpen";
|
|
309
|
-
readonly MenuWillPopUp: "mac:MenuWillPopUp";
|
|
310
|
-
readonly MenuWillRemoveItem: "mac:MenuWillRemoveItem";
|
|
311
|
-
readonly MenuWillSendAction: "mac:MenuWillSendAction";
|
|
312
|
-
readonly MenuWillSendActionToItem: "mac:MenuWillSendActionToItem";
|
|
313
|
-
readonly MenuWillUpdate: "mac:MenuWillUpdate";
|
|
314
|
-
readonly WebViewDidCommitNavigation: "mac:WebViewDidCommitNavigation";
|
|
315
|
-
readonly WebViewDidFinishNavigation: "mac:WebViewDidFinishNavigation";
|
|
316
|
-
readonly WebViewDidReceiveServerRedirectForProvisionalNavigation: "mac:WebViewDidReceiveServerRedirectForProvisionalNavigation";
|
|
317
|
-
readonly WebViewDidStartProvisionalNavigation: "mac:WebViewDidStartProvisionalNavigation";
|
|
318
|
-
readonly WindowDidBecomeKey: "mac:WindowDidBecomeKey";
|
|
319
|
-
readonly WindowDidBecomeMain: "mac:WindowDidBecomeMain";
|
|
320
|
-
readonly WindowDidBeginSheet: "mac:WindowDidBeginSheet";
|
|
321
|
-
readonly WindowDidChangeAlpha: "mac:WindowDidChangeAlpha";
|
|
322
|
-
readonly WindowDidChangeBackingLocation: "mac:WindowDidChangeBackingLocation";
|
|
323
|
-
readonly WindowDidChangeBackingProperties: "mac:WindowDidChangeBackingProperties";
|
|
324
|
-
readonly WindowDidChangeCollectionBehavior: "mac:WindowDidChangeCollectionBehavior";
|
|
325
|
-
readonly WindowDidChangeEffectiveAppearance: "mac:WindowDidChangeEffectiveAppearance";
|
|
326
|
-
readonly WindowDidChangeOcclusionState: "mac:WindowDidChangeOcclusionState";
|
|
327
|
-
readonly WindowDidChangeOrderingMode: "mac:WindowDidChangeOrderingMode";
|
|
328
|
-
readonly WindowDidChangeScreen: "mac:WindowDidChangeScreen";
|
|
329
|
-
readonly WindowDidChangeScreenParameters: "mac:WindowDidChangeScreenParameters";
|
|
330
|
-
readonly WindowDidChangeScreenProfile: "mac:WindowDidChangeScreenProfile";
|
|
331
|
-
readonly WindowDidChangeScreenSpace: "mac:WindowDidChangeScreenSpace";
|
|
332
|
-
readonly WindowDidChangeScreenSpaceProperties: "mac:WindowDidChangeScreenSpaceProperties";
|
|
333
|
-
readonly WindowDidChangeSharingType: "mac:WindowDidChangeSharingType";
|
|
334
|
-
readonly WindowDidChangeSpace: "mac:WindowDidChangeSpace";
|
|
335
|
-
readonly WindowDidChangeSpaceOrderingMode: "mac:WindowDidChangeSpaceOrderingMode";
|
|
336
|
-
readonly WindowDidChangeTitle: "mac:WindowDidChangeTitle";
|
|
337
|
-
readonly WindowDidChangeToolbar: "mac:WindowDidChangeToolbar";
|
|
338
|
-
readonly WindowDidDeminiaturize: "mac:WindowDidDeminiaturize";
|
|
339
|
-
readonly WindowDidEndSheet: "mac:WindowDidEndSheet";
|
|
340
|
-
readonly WindowDidEnterFullScreen: "mac:WindowDidEnterFullScreen";
|
|
341
|
-
readonly WindowDidEnterVersionBrowser: "mac:WindowDidEnterVersionBrowser";
|
|
342
|
-
readonly WindowDidExitFullScreen: "mac:WindowDidExitFullScreen";
|
|
343
|
-
readonly WindowDidExitVersionBrowser: "mac:WindowDidExitVersionBrowser";
|
|
344
|
-
readonly WindowDidExpose: "mac:WindowDidExpose";
|
|
345
|
-
readonly WindowDidFocus: "mac:WindowDidFocus";
|
|
346
|
-
readonly WindowDidMiniaturize: "mac:WindowDidMiniaturize";
|
|
347
|
-
readonly WindowDidMove: "mac:WindowDidMove";
|
|
348
|
-
readonly WindowDidOrderOffScreen: "mac:WindowDidOrderOffScreen";
|
|
349
|
-
readonly WindowDidOrderOnScreen: "mac:WindowDidOrderOnScreen";
|
|
350
|
-
readonly WindowDidResignKey: "mac:WindowDidResignKey";
|
|
351
|
-
readonly WindowDidResignMain: "mac:WindowDidResignMain";
|
|
352
|
-
readonly WindowDidResize: "mac:WindowDidResize";
|
|
353
|
-
readonly WindowDidUpdate: "mac:WindowDidUpdate";
|
|
354
|
-
readonly WindowDidUpdateAlpha: "mac:WindowDidUpdateAlpha";
|
|
355
|
-
readonly WindowDidUpdateCollectionBehavior: "mac:WindowDidUpdateCollectionBehavior";
|
|
356
|
-
readonly WindowDidUpdateCollectionProperties: "mac:WindowDidUpdateCollectionProperties";
|
|
357
|
-
readonly WindowDidUpdateShadow: "mac:WindowDidUpdateShadow";
|
|
358
|
-
readonly WindowDidUpdateTitle: "mac:WindowDidUpdateTitle";
|
|
359
|
-
readonly WindowDidUpdateToolbar: "mac:WindowDidUpdateToolbar";
|
|
360
|
-
readonly WindowDidZoom: "mac:WindowDidZoom";
|
|
361
|
-
readonly WindowFileDraggingEntered: "mac:WindowFileDraggingEntered";
|
|
362
|
-
readonly WindowFileDraggingExited: "mac:WindowFileDraggingExited";
|
|
363
|
-
readonly WindowFileDraggingPerformed: "mac:WindowFileDraggingPerformed";
|
|
364
|
-
readonly WindowHide: "mac:WindowHide";
|
|
365
|
-
readonly WindowMaximise: "mac:WindowMaximise";
|
|
366
|
-
readonly WindowUnMaximise: "mac:WindowUnMaximise";
|
|
367
|
-
readonly WindowMinimise: "mac:WindowMinimise";
|
|
368
|
-
readonly WindowUnMinimise: "mac:WindowUnMinimise";
|
|
369
|
-
readonly WindowShouldClose: "mac:WindowShouldClose";
|
|
370
|
-
readonly WindowShow: "mac:WindowShow";
|
|
371
|
-
readonly WindowWillBecomeKey: "mac:WindowWillBecomeKey";
|
|
372
|
-
readonly WindowWillBecomeMain: "mac:WindowWillBecomeMain";
|
|
373
|
-
readonly WindowWillBeginSheet: "mac:WindowWillBeginSheet";
|
|
374
|
-
readonly WindowWillChangeOrderingMode: "mac:WindowWillChangeOrderingMode";
|
|
375
|
-
readonly WindowWillClose: "mac:WindowWillClose";
|
|
376
|
-
readonly WindowWillDeminiaturize: "mac:WindowWillDeminiaturize";
|
|
377
|
-
readonly WindowWillEnterFullScreen: "mac:WindowWillEnterFullScreen";
|
|
378
|
-
readonly WindowWillEnterVersionBrowser: "mac:WindowWillEnterVersionBrowser";
|
|
379
|
-
readonly WindowWillExitFullScreen: "mac:WindowWillExitFullScreen";
|
|
380
|
-
readonly WindowWillExitVersionBrowser: "mac:WindowWillExitVersionBrowser";
|
|
381
|
-
readonly WindowWillFocus: "mac:WindowWillFocus";
|
|
382
|
-
readonly WindowWillMiniaturize: "mac:WindowWillMiniaturize";
|
|
383
|
-
readonly WindowWillMove: "mac:WindowWillMove";
|
|
384
|
-
readonly WindowWillOrderOffScreen: "mac:WindowWillOrderOffScreen";
|
|
385
|
-
readonly WindowWillOrderOnScreen: "mac:WindowWillOrderOnScreen";
|
|
386
|
-
readonly WindowWillResignMain: "mac:WindowWillResignMain";
|
|
387
|
-
readonly WindowWillResize: "mac:WindowWillResize";
|
|
388
|
-
readonly WindowWillUnfocus: "mac:WindowWillUnfocus";
|
|
389
|
-
readonly WindowWillUpdate: "mac:WindowWillUpdate";
|
|
390
|
-
readonly WindowWillUpdateAlpha: "mac:WindowWillUpdateAlpha";
|
|
391
|
-
readonly WindowWillUpdateCollectionBehavior: "mac:WindowWillUpdateCollectionBehavior";
|
|
392
|
-
readonly WindowWillUpdateCollectionProperties: "mac:WindowWillUpdateCollectionProperties";
|
|
393
|
-
readonly WindowWillUpdateShadow: "mac:WindowWillUpdateShadow";
|
|
394
|
-
readonly WindowWillUpdateTitle: "mac:WindowWillUpdateTitle";
|
|
395
|
-
readonly WindowWillUpdateToolbar: "mac:WindowWillUpdateToolbar";
|
|
396
|
-
readonly WindowWillUpdateVisibility: "mac:WindowWillUpdateVisibility";
|
|
397
|
-
readonly WindowWillUseStandardFrame: "mac:WindowWillUseStandardFrame";
|
|
398
|
-
readonly WindowZoomIn: "mac:WindowZoomIn";
|
|
399
|
-
readonly WindowZoomOut: "mac:WindowZoomOut";
|
|
400
|
-
readonly WindowZoomReset: "mac:WindowZoomReset";
|
|
401
|
-
}>;
|
|
402
|
-
export declare const Linux: Readonly<{
|
|
403
|
-
readonly ApplicationStartup: "linux:ApplicationStartup";
|
|
404
|
-
readonly SystemThemeChanged: "linux:SystemThemeChanged";
|
|
405
|
-
readonly WindowDeleteEvent: "linux:WindowDeleteEvent";
|
|
406
|
-
readonly WindowDidMove: "linux:WindowDidMove";
|
|
407
|
-
readonly WindowDidResize: "linux:WindowDidResize";
|
|
408
|
-
readonly WindowFocusIn: "linux:WindowFocusIn";
|
|
409
|
-
readonly WindowFocusOut: "linux:WindowFocusOut";
|
|
410
|
-
readonly WindowLoadChanged: "linux:WindowLoadChanged";
|
|
411
|
-
}>;
|
|
412
|
-
export declare const Common: Readonly<{
|
|
413
|
-
readonly ApplicationOpenedWithFile: "common:ApplicationOpenedWithFile";
|
|
414
|
-
readonly ApplicationStarted: "common:ApplicationStarted";
|
|
415
|
-
readonly ApplicationLaunchedWithUrl: "common:ApplicationLaunchedWithUrl";
|
|
416
|
-
readonly ThemeChanged: "common:ThemeChanged";
|
|
417
|
-
readonly WindowClosing: "common:WindowClosing";
|
|
418
|
-
readonly WindowDidMove: "common:WindowDidMove";
|
|
419
|
-
readonly WindowDidResize: "common:WindowDidResize";
|
|
420
|
-
readonly WindowDPIChanged: "common:WindowDPIChanged";
|
|
421
|
-
readonly WindowFilesDropped: "common:WindowFilesDropped";
|
|
422
|
-
readonly WindowFocus: "common:WindowFocus";
|
|
423
|
-
readonly WindowFullscreen: "common:WindowFullscreen";
|
|
424
|
-
readonly WindowHide: "common:WindowHide";
|
|
425
|
-
readonly WindowLostFocus: "common:WindowLostFocus";
|
|
426
|
-
readonly WindowMaximise: "common:WindowMaximise";
|
|
427
|
-
readonly WindowMinimise: "common:WindowMinimise";
|
|
428
|
-
readonly WindowToggleFrameless: "common:WindowToggleFrameless";
|
|
429
|
-
readonly WindowRestore: "common:WindowRestore";
|
|
430
|
-
readonly WindowRuntimeReady: "common:WindowRuntimeReady";
|
|
431
|
-
readonly WindowShow: "common:WindowShow";
|
|
432
|
-
readonly WindowUnFullscreen: "common:WindowUnFullscreen";
|
|
433
|
-
readonly WindowUnMaximise: "common:WindowUnMaximise";
|
|
434
|
-
readonly WindowUnMinimise: "common:WindowUnMinimise";
|
|
435
|
-
readonly WindowZoom: "common:WindowZoom";
|
|
436
|
-
readonly WindowZoomIn: "common:WindowZoomIn";
|
|
437
|
-
readonly WindowZoomOut: "common:WindowZoomOut";
|
|
438
|
-
readonly WindowZoomReset: "common:WindowZoomReset";
|
|
439
|
-
readonly WindowDropZoneFilesDropped: "common:WindowDropZoneFilesDropped";
|
|
440
245
|
}>;
|
package/types/index.d.ts
CHANGED
|
@@ -10,9 +10,10 @@ import * as Events from "./events.js";
|
|
|
10
10
|
import * as Flags from "./flags.js";
|
|
11
11
|
import * as Screens from "./screens.js";
|
|
12
12
|
import * as System from "./system.js";
|
|
13
|
+
import * as IOS from "./ios.js";
|
|
13
14
|
import Window from "./window.js";
|
|
14
15
|
import * as WML from "./wml.js";
|
|
15
|
-
export { Application, Browser, Call, Clipboard, Dialogs, Events, Flags, Screens, System, Window, WML };
|
|
16
|
+
export { Application, Browser, Call, Clipboard, Dialogs, Events, Flags, Screens, System, IOS, Window, WML };
|
|
16
17
|
/**
|
|
17
18
|
* An internal utility consumed by the binding generator.
|
|
18
19
|
*
|
package/types/ios.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare namespace Haptics {
|
|
2
|
+
type ImpactStyle = "light" | "medium" | "heavy" | "soft" | "rigid";
|
|
3
|
+
function Impact(style?: ImpactStyle): Promise<void>;
|
|
4
|
+
}
|
|
5
|
+
export declare namespace Device {
|
|
6
|
+
interface Info {
|
|
7
|
+
model: string;
|
|
8
|
+
systemName: string;
|
|
9
|
+
systemVersion: string;
|
|
10
|
+
isSimulator: boolean;
|
|
11
|
+
}
|
|
12
|
+
function Info(): Promise<Info>;
|
|
13
|
+
}
|