@widget-js/core 24.1.1-beta.50 → 24.1.1-beta.54

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 CHANGED
@@ -1686,6 +1686,7 @@ var DeployedPage = class {
1686
1686
  width = 800;
1687
1687
  proxy;
1688
1688
  id;
1689
+ isIgnoreMouseEvents;
1689
1690
  };
1690
1691
 
1691
1692
  // src/model/SocialInfo.ts
@@ -2388,9 +2389,22 @@ var WidgetApiImpl = class extends BaseApi {
2388
2389
  async upgradePackage(packageName) {
2389
2390
  return await this.invokeMethod("upgradePackage", packageName);
2390
2391
  }
2392
+ /**
2393
+ * 阻止拖动窗口,只能用于悬浮窗口 DeployMode.OVERLAP
2394
+ * @param draggable
2395
+ */
2391
2396
  setMouseDraggable(draggable) {
2392
2397
  return this.invokeMethod("setMouseDraggable", draggable);
2393
2398
  }
2399
+ isIgnoreMouseEvents(widgetId) {
2400
+ return this.invokeMethod("isIgnoreMouseEvents", widgetId);
2401
+ }
2402
+ setIgnoreMouseEvents(widgetId, ignore) {
2403
+ return this.invokeMethod("setIgnoreMouseEvents", widgetId, ignore);
2404
+ }
2405
+ restartWidgets(mode) {
2406
+ return this.invokeMethod("restartWidgets", mode);
2407
+ }
2394
2408
  };
2395
2409
  var WidgetApi = new WidgetApiImpl();
2396
2410
 
@@ -3079,6 +3093,18 @@ var AppApiImpl = class extends BaseApi {
3079
3093
  setGridCellSize(size) {
3080
3094
  return this.invokeMethod("setGridCellSize", size);
3081
3095
  }
3096
+ exit() {
3097
+ return this.invokeMethod("exit");
3098
+ }
3099
+ openCheckUpdateWindow() {
3100
+ return this.invokeMethod(`openCheckUpdateWindow`);
3101
+ }
3102
+ openWidgetManagerWindow() {
3103
+ return this.invokeMethod(`openWidgetManagerWindow`);
3104
+ }
3105
+ openRuntimeInfoWindow() {
3106
+ return this.invokeMethod(`openRuntimeInfoWindow`);
3107
+ }
3082
3108
  };
3083
3109
  var AppApi = new AppApiImpl();
3084
3110
 
@@ -3341,11 +3367,11 @@ var MouseApiImpl = class extends BaseApi {
3341
3367
  getChannel() {
3342
3368
  return "channel::cn.widgetjs.core.mouse" /* MOUSE */;
3343
3369
  }
3344
- clearMouseHotspot() {
3345
- return this.invokeMethod("clearMouseHotspot");
3370
+ removeHotspot() {
3371
+ return this.invokeMethod("removeHotspot");
3346
3372
  }
3347
- createMouseHotspot(rect) {
3348
- return this.invokeMethod("createMouseHotspot", rect);
3373
+ createHotspot(rect) {
3374
+ return this.invokeMethod("createHotspot", rect);
3349
3375
  }
3350
3376
  };
3351
3377
  var MouseApi = new MouseApiImpl();