@wailsio/runtime 3.0.0-alpha.49 → 3.0.0-alpha.55
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/docs/assets/search.js +1 -1
- package/docs/classes/Events.WailsEvent.html +2 -2
- package/docs/functions/Application.Hide.html +1 -1
- package/docs/functions/Application.Quit.html +1 -1
- package/docs/functions/Application.Show.html +1 -1
- package/docs/functions/Browser.OpenURL.html +1 -1
- package/docs/functions/Call.ByID.html +1 -1
- package/docs/functions/Call.ByName.html +1 -1
- package/docs/functions/Call.Call.html +1 -1
- package/docs/functions/Call.Plugin.html +1 -1
- package/docs/functions/Clipboard.SetText.html +1 -1
- package/docs/functions/Clipboard.Text.html +1 -1
- package/docs/functions/Create.Any.html +1 -1
- package/docs/functions/Create.Array.html +1 -1
- package/docs/functions/Create.ByteSlice.html +1 -1
- package/docs/functions/Create.Map.html +1 -1
- package/docs/functions/Create.Nullable.html +1 -1
- package/docs/functions/Create.Struct.html +1 -1
- package/docs/functions/Dialogs.Error.html +1 -1
- package/docs/functions/Dialogs.Info.html +1 -1
- package/docs/functions/Dialogs.OpenFile.html +1 -1
- package/docs/functions/Dialogs.Question.html +1 -1
- package/docs/functions/Dialogs.SaveFile.html +1 -1
- package/docs/functions/Dialogs.Warning.html +1 -1
- package/docs/functions/Events.Emit.html +1 -1
- package/docs/functions/Events.Off.html +1 -1
- package/docs/functions/Events.OffAll.html +1 -1
- package/docs/functions/Events.On.html +1 -1
- package/docs/functions/Events.OnMultiple.html +1 -1
- package/docs/functions/Events.Once.html +1 -1
- package/docs/functions/Events.setup.html +1 -1
- package/docs/functions/Flags.GetFlag.html +1 -1
- package/docs/functions/Screens.GetAll.html +1 -1
- package/docs/functions/Screens.GetCurrent.html +1 -1
- package/docs/functions/Screens.GetPrimary.html +1 -1
- package/docs/functions/System.Capabilities.html +1 -1
- package/docs/functions/System.Environment.html +1 -1
- package/docs/functions/System.IsAMD64.html +1 -1
- package/docs/functions/System.IsARM.html +1 -1
- package/docs/functions/System.IsARM64.html +1 -1
- package/docs/functions/System.IsDarkMode.html +1 -1
- package/docs/functions/System.IsDebug.html +1 -1
- package/docs/functions/System.IsLinux.html +1 -1
- package/docs/functions/System.IsMac.html +1 -1
- package/docs/functions/System.IsWindows.html +1 -1
- package/docs/functions/System.invoke.html +1 -1
- package/docs/functions/WML.Enable.html +1 -1
- package/docs/functions/WML.Reload.html +1 -1
- package/docs/functions/init.html +1 -1
- package/docs/interfaces/Dialogs.Button.html +4 -4
- package/docs/interfaces/Dialogs.FileFilter.html +3 -3
- package/docs/interfaces/Dialogs.MessageDialogOptions.html +5 -5
- package/docs/interfaces/Dialogs.OpenFileDialogOptions.html +17 -17
- package/docs/interfaces/Dialogs.SaveFileDialogOptions.html +18 -18
- package/docs/interfaces/Screens.Rect.html +5 -5
- package/docs/interfaces/Screens.Screen.html +13 -13
- package/docs/interfaces/Screens.Size.html +3 -3
- package/docs/interfaces/System.EnvironmentInfo.html +6 -6
- package/docs/interfaces/System.OSInfo.html +5 -5
- package/docs/modules/Application.html +1 -1
- package/docs/modules/Browser.html +1 -1
- package/docs/modules/Call.html +1 -1
- package/docs/modules/Clipboard.html +1 -1
- package/docs/modules/Create.html +1 -1
- package/docs/modules/Dialogs.html +1 -1
- package/docs/modules/Events.html +1 -1
- package/docs/modules/Flags.html +1 -1
- package/docs/modules/Screens.html +1 -1
- package/docs/modules/System.html +1 -1
- package/docs/modules/WML.html +1 -1
- package/docs/variables/Events.Types.html +1 -1
- package/docs/variables/Window.html +1 -1
- package/package.json +1 -1
- package/src/event_types.js +16 -14
- package/types/event_types.d.ts +9 -7
- package/types/events.d.ts +9 -7
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Window | @wailsio/runtime</title><meta name="description" content="Documentation for @wailsio/runtime"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@wailsio/runtime</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@wailsio/runtime</a></li><li><a href="Window.html">Window</a></li></ul><h1>Variable Window<code class="tsd-tag ts-flagConst">Const</code> </h1></div><div class="tsd-signature"><span class="tsd-kind-variable">Window</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Window</span><span class="tsd-signature-symbol"> = ...</span></div><div class="tsd-comment tsd-typography"><p>The window within which the script is running.</p>
|
|
2
|
-
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/
|
|
2
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/b4c4cd8a/v3/internal/runtime/desktop/@wailsio/runtime/src/window.js#L636">window.js:636</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
package/package.json
CHANGED
package/src/event_types.js
CHANGED
|
@@ -28,8 +28,6 @@ export const EventTypes = {
|
|
|
28
28
|
WindowKeyDown: "windows:WindowKeyDown",
|
|
29
29
|
WindowKeyUp: "windows:WindowKeyUp",
|
|
30
30
|
WindowKillFocus: "windows:WindowKillFocus",
|
|
31
|
-
WindowMaximise: "windows:WindowMaximise",
|
|
32
|
-
WindowMinimise: "windows:WindowMinimise",
|
|
33
31
|
WindowNonClientHit: "windows:WindowNonClientHit",
|
|
34
32
|
WindowNonClientMouseDown: "windows:WindowNonClientMouseDown",
|
|
35
33
|
WindowNonClientMouseLeave: "windows:WindowNonClientMouseLeave",
|
|
@@ -42,9 +40,11 @@ export const EventTypes = {
|
|
|
42
40
|
WindowStartMove: "windows:WindowStartMove",
|
|
43
41
|
WindowStartResize: "windows:WindowStartResize",
|
|
44
42
|
WindowUnFullscreen: "windows:WindowUnFullscreen",
|
|
45
|
-
WindowUnMaximise: "windows:WindowUnMaximise",
|
|
46
|
-
WindowUnMinimise: "windows:WindowUnMinimise",
|
|
47
43
|
WindowZOrderChanged: "windows:WindowZOrderChanged",
|
|
44
|
+
WindowMinimise: "windows:WindowMinimise",
|
|
45
|
+
WindowUnMinimise: "windows:WindowUnMinimise",
|
|
46
|
+
WindowMaximise: "windows:WindowMaximise",
|
|
47
|
+
WindowUnMaximise: "windows:WindowUnMaximise",
|
|
48
48
|
},
|
|
49
49
|
Mac: {
|
|
50
50
|
ApplicationDidBecomeActive: "mac:ApplicationDidBecomeActive",
|
|
@@ -55,13 +55,13 @@ export const EventTypes = {
|
|
|
55
55
|
ApplicationDidChangeScreenParameters: "mac:ApplicationDidChangeScreenParameters",
|
|
56
56
|
ApplicationDidChangeStatusBarFrame: "mac:ApplicationDidChangeStatusBarFrame",
|
|
57
57
|
ApplicationDidChangeStatusBarOrientation: "mac:ApplicationDidChangeStatusBarOrientation",
|
|
58
|
-
ApplicationDidChangeTheme: "mac:ApplicationDidChangeTheme
|
|
58
|
+
ApplicationDidChangeTheme: "mac:ApplicationDidChangeTheme",
|
|
59
59
|
ApplicationDidFinishLaunching: "mac:ApplicationDidFinishLaunching",
|
|
60
60
|
ApplicationDidHide: "mac:ApplicationDidHide",
|
|
61
|
-
|
|
61
|
+
ApplicationDidResignActive: "mac:ApplicationDidResignActive",
|
|
62
62
|
ApplicationDidUnhide: "mac:ApplicationDidUnhide",
|
|
63
63
|
ApplicationDidUpdate: "mac:ApplicationDidUpdate",
|
|
64
|
-
ApplicationShouldHandleReopen: "mac:ApplicationShouldHandleReopen
|
|
64
|
+
ApplicationShouldHandleReopen: "mac:ApplicationShouldHandleReopen",
|
|
65
65
|
ApplicationWillBecomeActive: "mac:ApplicationWillBecomeActive",
|
|
66
66
|
ApplicationWillFinishLaunching: "mac:ApplicationWillFinishLaunching",
|
|
67
67
|
ApplicationWillHide: "mac:ApplicationWillHide",
|
|
@@ -138,15 +138,17 @@ export const EventTypes = {
|
|
|
138
138
|
WindowDidUpdateShadow: "mac:WindowDidUpdateShadow",
|
|
139
139
|
WindowDidUpdateTitle: "mac:WindowDidUpdateTitle",
|
|
140
140
|
WindowDidUpdateToolbar: "mac:WindowDidUpdateToolbar",
|
|
141
|
-
WindowDidZoom: "mac:WindowDidZoom
|
|
141
|
+
WindowDidZoom: "mac:WindowDidZoom",
|
|
142
142
|
WindowFileDraggingEntered: "mac:WindowFileDraggingEntered",
|
|
143
143
|
WindowFileDraggingExited: "mac:WindowFileDraggingExited",
|
|
144
144
|
WindowFileDraggingPerformed: "mac:WindowFileDraggingPerformed",
|
|
145
145
|
WindowHide: "mac:WindowHide",
|
|
146
|
-
|
|
147
|
-
WindowShouldClose: "mac:WindowShouldClose!",
|
|
148
|
-
WindowShow: "mac:WindowShow",
|
|
146
|
+
WindowMaximise: "mac:WindowMaximise",
|
|
149
147
|
WindowUnMaximise: "mac:WindowUnMaximise",
|
|
148
|
+
WindowMinimise: "mac:WindowMinimise",
|
|
149
|
+
WindowUnMinimise: "mac:WindowUnMinimise",
|
|
150
|
+
WindowShouldClose: "mac:WindowShouldClose",
|
|
151
|
+
WindowShow: "mac:WindowShow",
|
|
150
152
|
WindowWillBecomeKey: "mac:WindowWillBecomeKey",
|
|
151
153
|
WindowWillBecomeMain: "mac:WindowWillBecomeMain",
|
|
152
154
|
WindowWillBeginSheet: "mac:WindowWillBeginSheet",
|
|
@@ -174,9 +176,9 @@ export const EventTypes = {
|
|
|
174
176
|
WindowWillUpdateToolbar: "mac:WindowWillUpdateToolbar",
|
|
175
177
|
WindowWillUpdateVisibility: "mac:WindowWillUpdateVisibility",
|
|
176
178
|
WindowWillUseStandardFrame: "mac:WindowWillUseStandardFrame",
|
|
177
|
-
WindowZoomIn: "mac:WindowZoomIn
|
|
178
|
-
WindowZoomOut: "mac:WindowZoomOut
|
|
179
|
-
WindowZoomReset: "mac:WindowZoomReset
|
|
179
|
+
WindowZoomIn: "mac:WindowZoomIn",
|
|
180
|
+
WindowZoomOut: "mac:WindowZoomOut",
|
|
181
|
+
WindowZoomReset: "mac:WindowZoomReset",
|
|
180
182
|
},
|
|
181
183
|
Linux: {
|
|
182
184
|
ApplicationStartup: "linux:ApplicationStartup",
|
package/types/event_types.d.ts
CHANGED
|
@@ -28,8 +28,6 @@ export declare const EventTypes: {
|
|
|
28
28
|
WindowKeyDown: string,
|
|
29
29
|
WindowKeyUp: string,
|
|
30
30
|
WindowKillFocus: string,
|
|
31
|
-
WindowMaximise: string,
|
|
32
|
-
WindowMinimise: string,
|
|
33
31
|
WindowNonClientHit: string,
|
|
34
32
|
WindowNonClientMouseDown: string,
|
|
35
33
|
WindowNonClientMouseLeave: string,
|
|
@@ -42,9 +40,11 @@ export declare const EventTypes: {
|
|
|
42
40
|
WindowStartMove: string,
|
|
43
41
|
WindowStartResize: string,
|
|
44
42
|
WindowUnFullscreen: string,
|
|
45
|
-
WindowUnMaximise: string,
|
|
46
|
-
WindowUnMinimise: string,
|
|
47
43
|
WindowZOrderChanged: string,
|
|
44
|
+
WindowMinimise: string,
|
|
45
|
+
WindowUnMinimise: string,
|
|
46
|
+
WindowMaximise: string,
|
|
47
|
+
WindowUnMaximise: string,
|
|
48
48
|
},
|
|
49
49
|
Mac: {
|
|
50
50
|
ApplicationDidBecomeActive: string,
|
|
@@ -58,7 +58,7 @@ export declare const EventTypes: {
|
|
|
58
58
|
ApplicationDidChangeTheme: string,
|
|
59
59
|
ApplicationDidFinishLaunching: string,
|
|
60
60
|
ApplicationDidHide: string,
|
|
61
|
-
|
|
61
|
+
ApplicationDidResignActive: string,
|
|
62
62
|
ApplicationDidUnhide: string,
|
|
63
63
|
ApplicationDidUpdate: string,
|
|
64
64
|
ApplicationShouldHandleReopen: string,
|
|
@@ -143,10 +143,12 @@ export declare const EventTypes: {
|
|
|
143
143
|
WindowFileDraggingExited: string,
|
|
144
144
|
WindowFileDraggingPerformed: string,
|
|
145
145
|
WindowHide: string,
|
|
146
|
-
|
|
146
|
+
WindowMaximise: string,
|
|
147
|
+
WindowUnMaximise: string,
|
|
148
|
+
WindowMinimise: string,
|
|
149
|
+
WindowUnMinimise: string,
|
|
147
150
|
WindowShouldClose: string,
|
|
148
151
|
WindowShow: string,
|
|
149
|
-
WindowUnMaximise: string,
|
|
150
152
|
WindowWillBecomeKey: string,
|
|
151
153
|
WindowWillBecomeMain: string,
|
|
152
154
|
WindowWillBeginSheet: string,
|
package/types/events.d.ts
CHANGED
|
@@ -75,8 +75,6 @@ export const Types: {
|
|
|
75
75
|
WindowKeyDown: string;
|
|
76
76
|
WindowKeyUp: string;
|
|
77
77
|
WindowKillFocus: string;
|
|
78
|
-
WindowMaximise: string;
|
|
79
|
-
WindowMinimise: string;
|
|
80
78
|
WindowNonClientHit: string;
|
|
81
79
|
WindowNonClientMouseDown: string;
|
|
82
80
|
WindowNonClientMouseLeave: string;
|
|
@@ -89,9 +87,11 @@ export const Types: {
|
|
|
89
87
|
WindowStartMove: string;
|
|
90
88
|
WindowStartResize: string;
|
|
91
89
|
WindowUnFullscreen: string;
|
|
92
|
-
WindowUnMaximise: string;
|
|
93
|
-
WindowUnMinimise: string;
|
|
94
90
|
WindowZOrderChanged: string;
|
|
91
|
+
WindowMinimise: string;
|
|
92
|
+
WindowUnMinimise: string;
|
|
93
|
+
WindowMaximise: string;
|
|
94
|
+
WindowUnMaximise: string;
|
|
95
95
|
};
|
|
96
96
|
Mac: {
|
|
97
97
|
ApplicationDidBecomeActive: string;
|
|
@@ -105,7 +105,7 @@ export const Types: {
|
|
|
105
105
|
ApplicationDidChangeTheme: string;
|
|
106
106
|
ApplicationDidFinishLaunching: string;
|
|
107
107
|
ApplicationDidHide: string;
|
|
108
|
-
|
|
108
|
+
ApplicationDidResignActive: string;
|
|
109
109
|
ApplicationDidUnhide: string;
|
|
110
110
|
ApplicationDidUpdate: string;
|
|
111
111
|
ApplicationShouldHandleReopen: string;
|
|
@@ -190,10 +190,12 @@ export const Types: {
|
|
|
190
190
|
WindowFileDraggingExited: string;
|
|
191
191
|
WindowFileDraggingPerformed: string;
|
|
192
192
|
WindowHide: string;
|
|
193
|
-
|
|
193
|
+
WindowMaximise: string;
|
|
194
|
+
WindowUnMaximise: string;
|
|
195
|
+
WindowMinimise: string;
|
|
196
|
+
WindowUnMinimise: string;
|
|
194
197
|
WindowShouldClose: string;
|
|
195
198
|
WindowShow: string;
|
|
196
|
-
WindowUnMaximise: string;
|
|
197
199
|
WindowWillBecomeKey: string;
|
|
198
200
|
WindowWillBecomeMain: string;
|
|
199
201
|
WindowWillBeginSheet: string;
|