@hyext/types-ext-sdk-hy 3.11.4-beta.6 → 3.12.0-beta.2

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.
Files changed (2) hide show
  1. package/index.d.ts +14 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -5016,6 +5016,11 @@ namespace popup {
5016
5016
  * @returns 调用结果
5017
5017
  */
5018
5018
  function offNoticeHide(): Promise<void>;
5019
+ /**
5020
+ * 右上角小窗模式是否可用
5021
+ * @returns 调用结果
5022
+ */
5023
+ function rightTopWindowAvailable(): Promise<RightTopWindowAvailableRsp>;
5019
5024
  }
5020
5025
 
5021
5026
  /**
@@ -5028,7 +5033,7 @@ type SetModeRsp = {
5028
5033
 
5029
5034
  /**
5030
5035
  * 设置浮窗模式参数
5031
- * @property mode - 模式的枚举值, NORMAL-默认状态,所有浮窗初始化的时候都是这个状态,可以自由布局(默认), NOTICE-提示状态,这个状态下不能自由布局,显示/隐藏下沉到平台进行控制,进入提示状态会默认显示,退出提示状态时会默认隐藏, RIGHT_BOTTOM_BTN-右下角按钮状态,这个状态下不能自由布局,显示/隐藏下沉到平台进行控制,进入提示状态会默认显示,退出提示状态时会默认隐藏
5036
+ * @property mode - 模式的枚举值 NORMAL-默认状态,所有浮窗初始化的时候都是这个状态,可以自由布局(默认), NOTICE-提示状态,这个状态下不能自由布局,显示/隐藏下沉到平台进行控制,进入状态时显示,退出状态时隐藏, RIGHT_BOTTOM_BTN-右下角按钮状态,这个状态下不能自由布局,显示/隐藏下沉到平台进行控制,进入状态时显示,退出状态时隐藏, RIGHT_TOP_WINDOW-右上角小窗状态,这个状态下不能自由布局,显示/隐藏下沉到平台进行控制,进入状态时显示,退出状态时隐藏,
5032
5037
  * @property [key] - 权重key值
5033
5038
  * @property [width] - 宽度,单位是点/像素,仅在NOTICE模式下生效
5034
5039
  * @property [height] - 高度,单位是点/像素,仅在NOTICE模式下生效
@@ -5084,6 +5089,14 @@ type NoticeHideParams = {
5084
5089
  callback: NoticeHideCallback;
5085
5090
  };
5086
5091
 
5092
+ /**
5093
+ * 右上角小窗模式可用状态
5094
+ * @property isAvailable - 是否可用
5095
+ */
5096
+ type RightTopWindowAvailableRsp = {
5097
+ isAvailable: boolean;
5098
+ };
5099
+
5087
5100
  /**
5088
5101
  * 识别相关
5089
5102
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyext/types-ext-sdk-hy",
3
- "version": "3.11.4-beta.6",
3
+ "version": "3.12.0-beta.2",
4
4
  "description": "TypeScript definitions for @hyext/ext-sdk-hy",
5
5
  "types": "./index.d.ts",
6
6
  "main": "",