@widget-js/core 24.1.1-beta.44 → 24.1.1-beta.47
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/index.cjs +14 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +25 -2
- package/dist/index.d.ts +25 -2
- package/dist/index.js +14 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -938,6 +938,9 @@ var Page = class _Page {
|
|
|
938
938
|
packageName;
|
|
939
939
|
height;
|
|
940
940
|
maxWidth;
|
|
941
|
+
/**
|
|
942
|
+
* @deprecated
|
|
943
|
+
*/
|
|
941
944
|
webviewTag;
|
|
942
945
|
maxHeight;
|
|
943
946
|
minWidth;
|
|
@@ -2631,6 +2634,11 @@ var BrowserWindowApiImpl = class extends BaseApi {
|
|
|
2631
2634
|
if (options.x != void 0 || options.y != void 0) {
|
|
2632
2635
|
await this.setPosition({ x: options.x, y: options.y });
|
|
2633
2636
|
}
|
|
2637
|
+
if (options.skipTaskbar) {
|
|
2638
|
+
await this.setSkipTaskbar(true);
|
|
2639
|
+
} else if (options.skipTaskbar === false) {
|
|
2640
|
+
await this.setSkipTaskbar(false);
|
|
2641
|
+
}
|
|
2634
2642
|
}
|
|
2635
2643
|
async setProxy(config) {
|
|
2636
2644
|
return await this.invokeMethod("setProxy", config);
|
|
@@ -2638,6 +2646,9 @@ var BrowserWindowApiImpl = class extends BaseApi {
|
|
|
2638
2646
|
getSize() {
|
|
2639
2647
|
return this.invokeMethod("getSize");
|
|
2640
2648
|
}
|
|
2649
|
+
setSkipTaskbar(skip) {
|
|
2650
|
+
return this.invokeMethod("setSkipTaskbar", skip);
|
|
2651
|
+
}
|
|
2641
2652
|
};
|
|
2642
2653
|
var BrowserWindowApi = new BrowserWindowApiImpl();
|
|
2643
2654
|
|
|
@@ -3186,6 +3197,9 @@ var SystemApiImpl = class extends BaseApi {
|
|
|
3186
3197
|
isMonitorStarted() {
|
|
3187
3198
|
return this.invokeMethod("isMonitorStarted");
|
|
3188
3199
|
}
|
|
3200
|
+
getUptime() {
|
|
3201
|
+
return this.invokeMethod("getUptime");
|
|
3202
|
+
}
|
|
3189
3203
|
};
|
|
3190
3204
|
var SystemApi = new SystemApiImpl();
|
|
3191
3205
|
|