@wailsio/runtime 3.0.0-alpha.18 → 3.0.0-alpha.20
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/package.json +1 -1
- package/src/drag.js +1 -0
- package/src/index.js +2 -0
- package/src/wml.js +0 -4
- package/types/events.d.ts +1 -9
package/package.json
CHANGED
package/src/drag.js
CHANGED
package/src/index.js
CHANGED
|
@@ -15,6 +15,7 @@ window._wails = window._wails || {};
|
|
|
15
15
|
import * as Application from "./application";
|
|
16
16
|
import * as Browser from "./browser";
|
|
17
17
|
import * as Clipboard from "./clipboard";
|
|
18
|
+
import * as ContextMenu from "./contextmenu";
|
|
18
19
|
import * as Flags from "./flags";
|
|
19
20
|
import * as Screens from "./screens";
|
|
20
21
|
import * as System from "./system";
|
|
@@ -23,6 +24,7 @@ import * as WML from './wml';
|
|
|
23
24
|
import * as Events from "./events";
|
|
24
25
|
import * as Dialogs from "./dialogs";
|
|
25
26
|
import * as Call from "./calls";
|
|
27
|
+
import * as Drag from "./drag";
|
|
26
28
|
import {invoke} from "./system";
|
|
27
29
|
|
|
28
30
|
|
package/src/wml.js
CHANGED
|
@@ -3,7 +3,6 @@ import {Emit, WailsEvent} from "./events";
|
|
|
3
3
|
import {Question} from "./dialogs";
|
|
4
4
|
import {Get} from "./window";
|
|
5
5
|
import {OpenURL} from "./browser";
|
|
6
|
-
import {debugLog} from "./log";
|
|
7
6
|
|
|
8
7
|
/**
|
|
9
8
|
* Sends an event with the given name and optional data.
|
|
@@ -145,9 +144,6 @@ function addWMLOpenBrowserListener() {
|
|
|
145
144
|
* @return {void}
|
|
146
145
|
*/
|
|
147
146
|
export function Reload() {
|
|
148
|
-
if(DEBUG) {
|
|
149
|
-
debugLog("Reloading WML");
|
|
150
|
-
}
|
|
151
147
|
addWMLEventListeners();
|
|
152
148
|
addWMLWindowListeners();
|
|
153
149
|
addWMLOpenBrowserListener();
|
package/types/events.d.ts
CHANGED
|
@@ -51,9 +51,6 @@ export const Types: {
|
|
|
51
51
|
SystemThemeChanged: string;
|
|
52
52
|
APMPowerStatusChange: string;
|
|
53
53
|
APMSuspend: string;
|
|
54
|
-
/**
|
|
55
|
-
* @typedef {import("./types").WailsEvent} WailsEvent
|
|
56
|
-
*/
|
|
57
54
|
APMResumeAutomatic: string;
|
|
58
55
|
APMResumeSuspend: string;
|
|
59
56
|
APMPowerSettingChange: string;
|
|
@@ -110,12 +107,7 @@ export const Types: {
|
|
|
110
107
|
WindowDidChangeEffectiveAppearance: string;
|
|
111
108
|
WindowDidChangeOcclusionState: string;
|
|
112
109
|
WindowDidChangeOrderingMode: string;
|
|
113
|
-
WindowDidChangeScreen: string;
|
|
114
|
-
* Removes the specified listener from the event listeners collection.
|
|
115
|
-
* If all listeners for the event are removed, the event key is deleted from the collection.
|
|
116
|
-
*
|
|
117
|
-
* @param {Object} listener - The listener to be removed.
|
|
118
|
-
*/
|
|
110
|
+
WindowDidChangeScreen: string;
|
|
119
111
|
WindowDidChangeScreenParameters: string;
|
|
120
112
|
WindowDidChangeScreenProfile: string;
|
|
121
113
|
WindowDidChangeScreenSpace: string;
|