fcr-ui-scene 3.8.1-beta → 3.8.1

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 (226) hide show
  1. package/lib/base.js +2 -2
  2. package/lib/creator/provider-initializer.browser.js +8 -7
  3. package/lib/creator/provider-initializer.electron.js +8 -8
  4. package/lib/electron/asar-validation.d.ts +12 -0
  5. package/lib/electron/asar-validation.js +115 -0
  6. package/lib/electron/bootstrap-sdk.js +20 -12
  7. package/lib/electron/default-options.js +2 -1
  8. package/lib/electron/env.d.ts +1 -0
  9. package/lib/electron/env.js +6 -4
  10. package/lib/electron/exit-codes.js +11 -11
  11. package/lib/electron/hang-detection/manager.js +4 -4
  12. package/lib/electron/ipc-protocol.js +12 -12
  13. package/lib/electron/process-manager/event-manager.js +30 -30
  14. package/lib/electron/process-manager/index.js +88 -88
  15. package/lib/electron/process-manager/state-manager.js +57 -57
  16. package/lib/electron/process-manager/types.js +16 -16
  17. package/lib/electron/sdk-helper.js +3 -3
  18. package/lib/electron/window-proxy/browser-window-proxy.js +13 -13
  19. package/lib/electron/window-proxy/main-process-handler.js +14 -14
  20. package/lib/fragments/annotation/style.css +9 -9
  21. package/lib/fragments/annotation/toolbar/components/item/style.css +45 -45
  22. package/lib/fragments/annotation/toolbar/components/panel/style.css +24 -24
  23. package/lib/fragments/annotation/toolbar/components/tips/style.css +19 -19
  24. package/lib/fragments/annotation/toolbar/style.css +55 -55
  25. package/lib/fragments/whiteboard/cursor.css +77 -77
  26. package/lib/fragments/whiteboard/style.css +4 -4
  27. package/lib/global.css +62 -62
  28. package/lib/global.d.ts +27 -27
  29. package/lib/index.js +9 -1
  30. package/lib/modules/action-bar/components/chat/index.css +88 -88
  31. package/lib/modules/action-bar/components/more/index.css +114 -114
  32. package/lib/modules/action-bar/components/notification-bar/components/interpreter/index.css +58 -58
  33. package/lib/modules/action-bar/components/notification-bar/components/virtual-image/index.css +56 -56
  34. package/lib/modules/action-bar/components/notification-bar/index.css +74 -74
  35. package/lib/modules/action-bar/components/participants/index.css +21 -21
  36. package/lib/modules/action-bar/components/record/index.css +39 -39
  37. package/lib/modules/action-bar/components/trigger-output-language/index.css +86 -86
  38. package/lib/modules/action-bar/components/trigger-subscribe-language/guide-tooltip/index.css +22 -22
  39. package/lib/modules/action-bar/index.css +358 -358
  40. package/lib/modules/action-bar/main-scene/store.base.d.ts +3 -2
  41. package/lib/modules/action-bar/main-scene/store.base.js +29 -57
  42. package/lib/modules/action-bar/main-scene/view.js +3 -3
  43. package/lib/modules/audio-stream/index.js +3 -3
  44. package/lib/modules/caption/draggable-container/index.css +10 -10
  45. package/lib/modules/caption/view.css +158 -158
  46. package/lib/modules/chat/components/chat-bar/index.css +89 -89
  47. package/lib/modules/chat/components/chat-select/index.css +185 -185
  48. package/lib/modules/chat/index.css +124 -124
  49. package/lib/modules/components/apps/app-item/index.css +49 -49
  50. package/lib/modules/components/apps/index.css +9 -9
  51. package/lib/modules/components/caption-menu/index.css +58 -58
  52. package/lib/modules/components/caption-menu/steps/index.css +73 -73
  53. package/lib/modules/components/control-bar/components/loading/index.css +76 -76
  54. package/lib/modules/components/control-bar/components/progress/style.css +51 -51
  55. package/lib/modules/components/control-bar/components/switch-theme/index.css +101 -101
  56. package/lib/modules/components/control-bar/index.css +99 -99
  57. package/lib/modules/components/device-control/index.css +177 -177
  58. package/lib/modules/components/leave-meeting/components/index.css +151 -151
  59. package/lib/modules/components/leave-meeting/style.css +9 -9
  60. package/lib/modules/components/member-window/components/member-actions/store.js +22 -22
  61. package/lib/modules/components/member-window/index.css +502 -502
  62. package/lib/modules/components/security-menu/index.css +42 -42
  63. package/lib/modules/components/tab-frame/index.css +40 -40
  64. package/lib/modules/components/toolbar/components/item/style.css +94 -94
  65. package/lib/modules/components/toolbar/components/panel/style.css +86 -86
  66. package/lib/modules/components/toolbar/style.css +85 -85
  67. package/lib/modules/connection-gateway/components/computer/index.css +12 -12
  68. package/lib/modules/connection-gateway/components/phone/components/callinfo/index.css +36 -36
  69. package/lib/modules/connection-gateway/components/phone/components/calling/index.css +72 -72
  70. package/lib/modules/connection-gateway/components/phone/components/remeber/index.css +10 -10
  71. package/lib/modules/connection-gateway/components/phone/components/useing/index.css +46 -46
  72. package/lib/modules/connection-gateway/components/phone/index.css +49 -49
  73. package/lib/modules/connection-gateway/index.css +6 -6
  74. package/lib/modules/control-bar/components/meeting-details/index.css +133 -133
  75. package/lib/modules/control-bar/components/more-actions/index.css +103 -103
  76. package/lib/modules/control-bar/components/share-audio/index.css +90 -90
  77. package/lib/modules/control-bar/components/share-state-nav/index.css +79 -79
  78. package/lib/modules/control-bar/index.css +340 -340
  79. package/lib/modules/control-bar/index.js +4 -4
  80. package/lib/modules/device-pretest/index.css +123 -123
  81. package/lib/modules/dialog/components/confirm/index.css +24 -24
  82. package/lib/modules/dialog/components/dialog-container/index.css +112 -112
  83. package/lib/modules/dialog/dialogs/confirm/index.css +24 -24
  84. package/lib/modules/dialog/dialogs/connection-gateway/tabs.d.ts +1 -0
  85. package/lib/modules/dialog/dialogs/connection-gateway/tabs.js +27 -14
  86. package/lib/modules/dialog/dialogs/device-setting/index.css +26 -26
  87. package/lib/modules/dialog/dialogs/interpreter/index.css +30 -30
  88. package/lib/modules/dialog/dialogs/mute-all/index.css +20 -20
  89. package/lib/modules/dialog/dialogs/system-preference/index.css +52 -52
  90. package/lib/modules/dialog/dialogs/widget/index.js +4 -4
  91. package/lib/modules/dialog/index.css +56 -56
  92. package/lib/modules/event-toast/index.css +25 -25
  93. package/lib/modules/interpreter/action/add-btn/index.css +4 -4
  94. package/lib/modules/interpreter/action/delete-btn/index.css +14 -14
  95. package/lib/modules/interpreter/action/switch-btn/index.css +3 -3
  96. package/lib/modules/interpreter/dialog-content/index.css +33 -33
  97. package/lib/modules/interpreter/footer/index.css +11 -11
  98. package/lib/modules/interpreter/index.css +4 -4
  99. package/lib/modules/interpreter/interpreter-list/index.css +8 -8
  100. package/lib/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/index.css +46 -46
  101. package/lib/modules/interpreter/interpreter-list/interpreter-item/components/pick-user/index.css +46 -46
  102. package/lib/modules/interpreter/interpreter-list/interpreter-item/index.css +32 -32
  103. package/lib/modules/interpreter/loading-wrapper/index.css +53 -53
  104. package/lib/modules/invite/components/pstn-invite.js +1 -1
  105. package/lib/modules/invite/components/voip-invite.css +26 -26
  106. package/lib/modules/invite/index.css +331 -331
  107. package/lib/modules/layout/components/CommonVideoRenderer.js +4 -4
  108. package/lib/modules/layout/components/index.css +653 -653
  109. package/lib/modules/layout/index.css +59 -59
  110. package/lib/modules/layout/store.base.js +5 -5
  111. package/lib/modules/layout/type.js +5 -5
  112. package/lib/modules/notification/index.css +77 -77
  113. package/lib/modules/notification/interpreter-status/index.css +76 -76
  114. package/lib/modules/participant/components/confirm-input/index.css +4 -4
  115. package/lib/modules/participant/components/participants/components/footer/components/drop-menu/index.css +83 -83
  116. package/lib/modules/participant/components/participants/components/render-user/components/attendee/index.css +87 -87
  117. package/lib/modules/participant/index.css +102 -102
  118. package/lib/modules/participant/store.base.js +175 -175
  119. package/lib/modules/pc-audio-connect/index.css +12 -12
  120. package/lib/modules/pc-audio-connect/main-scene/index.d.ts +2 -1
  121. package/lib/modules/pc-audio-connect/main-scene/index.js +5 -4
  122. package/lib/modules/pc-audio-connect/main-scene/store.d.ts +3 -0
  123. package/lib/modules/pc-audio-connect/main-scene/store.js +44 -7
  124. package/lib/modules/phone-audio-connect/components/callinfo/index.css +36 -36
  125. package/lib/modules/phone-audio-connect/components/calling/index.css +72 -72
  126. package/lib/modules/phone-audio-connect/components/remeber/index.css +10 -10
  127. package/lib/modules/phone-audio-connect/components/useing/index.css +46 -46
  128. package/lib/modules/phone-audio-connect/index.css +56 -56
  129. package/lib/modules/secondary-window/store.js +7 -7
  130. package/lib/modules/setting/audio-settings/index.css +195 -195
  131. package/lib/modules/setting/audio-whiteList/audio-device-adaptation.js +14 -14
  132. package/lib/modules/setting/audio-whiteList/audio-whiteList-manager.js +6 -6
  133. package/lib/modules/setting/caption_and_transcribing/index.css +88 -88
  134. package/lib/modules/setting/general-settings/index.css +41 -41
  135. package/lib/modules/setting/index.css +112 -112
  136. package/lib/modules/setting/minutes-settings/index.css +65 -65
  137. package/lib/modules/setting/state/index.css +207 -207
  138. package/lib/modules/setting/storage-settings/index.css +91 -91
  139. package/lib/modules/setting/translate-settings/index.css +47 -47
  140. package/lib/modules/setting/video-settings/index.css +357 -357
  141. package/lib/modules/share-screen/components/control-bar/index.css +75 -75
  142. package/lib/modules/share-screen/components/selection/index.css +73 -73
  143. package/lib/modules/share-screen/components/share-state-bar/index.css +76 -76
  144. package/lib/modules/share-screen/index.js +10 -10
  145. package/lib/modules/share-screen/store.base.js +2 -2
  146. package/lib/modules/state-bar/assets/fcr_grid_big.svg +3 -3
  147. package/lib/modules/state-bar/assets/fcr_listontop_big.svg +3 -3
  148. package/lib/modules/state-bar/index.css +706 -706
  149. package/lib/modules/state-bar/main-scene/store.base.js +2 -2
  150. package/lib/modules/state-bar/meeting-detail.css +137 -137
  151. package/lib/modules/state-bar/meeting-network-state.css +150 -150
  152. package/lib/modules/state-bar/waiting-scene/store.base.js +2 -2
  153. package/lib/modules/subtitles-history/components/settings/index.css +5 -5
  154. package/lib/modules/subtitles-history/index.css +129 -129
  155. package/lib/modules/video-window/components/members/index.css +51 -51
  156. package/lib/modules/video-window/components/speaking/index.css +86 -86
  157. package/lib/modules/video-window/components/topControl/index.css +35 -35
  158. package/lib/modules/video-window/index.css +21 -21
  159. package/lib/modules/video-window/popover-watcher.js +3 -3
  160. package/lib/modules/video-window/store.js +10 -10
  161. package/lib/modules/waiting-room-layout/index.css +96 -96
  162. package/lib/modules/whiteboard/components/control-bar/index.css +52 -52
  163. package/lib/modules/whiteboard/components/loading/index.css +76 -76
  164. package/lib/modules/whiteboard/components/multi-window/index.css +63 -63
  165. package/lib/modules/whiteboard/components/pagination/index.css +228 -228
  166. package/lib/modules/whiteboard/components/progress/style.css +51 -51
  167. package/lib/modules/whiteboard/components/switch-theme/index.css +99 -99
  168. package/lib/modules/whiteboard/components/toolbar/style.css +591 -591
  169. package/lib/modules/whiteboard/style.css +140 -140
  170. package/lib/modules/widget/index.css +9 -9
  171. package/lib/modules/widget/index.d.ts +1 -0
  172. package/lib/modules/widget/index.js +16 -1
  173. package/lib/modules/widget/store.base.d.ts +1 -0
  174. package/lib/modules/widget/store.base.js +12 -0
  175. package/lib/modules/widget/store.electron.js +5 -0
  176. package/lib/modules/widget/web-widget.d.ts +6 -1
  177. package/lib/modules/widget/web-widget.js +66 -22
  178. package/lib/object-manager.js +8 -8
  179. package/lib/plugins/module-dev-plugin.js +11 -11
  180. package/lib/providers/ability-provider.js +17 -17
  181. package/lib/providers/app-list-provider.d.ts +1 -1
  182. package/lib/providers/app-list-provider.js +9 -7
  183. package/lib/providers/board-share/bar-control/base.d.ts +1 -1
  184. package/lib/providers/board-share/bar-control/browser.d.ts +1 -1
  185. package/lib/providers/board-share/bar-control/electron.d.ts +1 -1
  186. package/lib/providers/board-share/struct.js +6 -6
  187. package/lib/providers/device-stream-provider.d.ts +1 -1
  188. package/lib/providers/dialog/provider.base.js +2 -2
  189. package/lib/providers/dialog/type.js +3 -3
  190. package/lib/providers/multi-display-provider.js +4 -4
  191. package/lib/providers/privilege-provider.js +7 -7
  192. package/lib/providers/screen-share/provider.base.js +23 -23
  193. package/lib/providers/screen-share/stream-state-sync.js +18 -18
  194. package/lib/providers/screen-share/struct.js +24 -24
  195. package/lib/providers/widget-provider.d.ts +13 -2
  196. package/lib/providers/widget-provider.js +60 -9
  197. package/lib/providers/window/main-window.js +2 -2
  198. package/lib/providers/window/provider.js +5 -5
  199. package/lib/providers/window/renderer-window.js +2 -2
  200. package/lib/scenes/main-scene.js +1 -0
  201. package/lib/schema.js +26 -26
  202. package/lib/shared-data/app-list-data.d.ts +0 -3
  203. package/lib/shared-data/app-list-data.js +3 -30
  204. package/lib/shared-data/meeting-time.js +8 -8
  205. package/lib/shared-data/setting.js +3 -3
  206. package/lib/shared-data/video-window.d.ts +1 -1
  207. package/lib/shared-data/video-window.js +1 -1
  208. package/lib/shared-data/widget-data.d.ts +0 -1
  209. package/lib/type.d.ts +1 -0
  210. package/lib/type.js +23 -21
  211. package/lib/ui-scene-switch.js +2 -2
  212. package/lib/utilities/constant.js +6 -6
  213. package/lib/utilities/renderer.js +8 -8
  214. package/lib/utilities/shared-storage.js +2 -2
  215. package/lib/utilities/tools.js +14 -14
  216. package/package.json +83 -79
  217. package/public/assets/fcr_chat_reddot.svg +5 -5
  218. package/public/assets/fcr_grid_big.svg +3 -3
  219. package/public/assets/fcr_leave2.svg +58 -58
  220. package/public/assets/fcr_listontop_big.svg +3 -3
  221. package/public/assets/step-gradient.svg +10 -10
  222. package/public/fragment.html +10 -10
  223. package/public/index.html +107 -183
  224. package/public/index.vite.html +109 -0
  225. package/public/js/init.js +75 -0
  226. package/public/{meeting-manager.js → js/meeting-manager.js} +405 -405
@@ -229,10 +229,10 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
229
229
  (0, _defineProperty2["default"])(this, "getAllowedOperations", (0, _mobxUtils.computedFn)(function (targetRole, isSelf) {
230
230
  return _this._privilegeProvider.getAllowedOperations(targetRole, isSelf);
231
231
  }));
232
- /**
233
- * 格式化用户数据为UI显示格式
234
- * @param user 原始用户数据
235
- * @returns 格式化后的用户数据
232
+ /**
233
+ * 格式化用户数据为UI显示格式
234
+ * @param user 原始用户数据
235
+ * @returns 格式化后的用户数据
236
236
  */
237
237
  (0, _defineProperty2["default"])(this, "_formatUser", function (user) {
238
238
  try {
@@ -1099,9 +1099,9 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
1099
1099
  }, {
1100
1100
  key: "_getDefaultUserData",
1101
1101
  value:
1102
- /**
1103
- * 获取默认用户数据(用于错误处理)
1104
- * @returns 默认用户数据
1102
+ /**
1103
+ * 获取默认用户数据(用于错误处理)
1104
+ * @returns 默认用户数据
1105
1105
  */
1106
1106
  function _getDefaultUserData() {
1107
1107
  return {
@@ -1125,11 +1125,11 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
1125
1125
  };
1126
1126
  }
1127
1127
 
1128
- /**
1129
- * 获取用户基础信息
1130
- * @param user 用户数据
1131
- * @param isSelf 是否为当前用户
1132
- * @returns 基础信息对象
1128
+ /**
1129
+ * 获取用户基础信息
1130
+ * @param user 用户数据
1131
+ * @param isSelf 是否为当前用户
1132
+ * @returns 基础信息对象
1133
1133
  */
1134
1134
  }, {
1135
1135
  key: "_getUserBaseInfo",
@@ -1148,12 +1148,12 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
1148
1148
  };
1149
1149
  }
1150
1150
 
1151
- /**
1152
- * 获取用户设备信息
1153
- * @param user 用户数据
1154
- * @param userStreams 用户流数据
1155
- * @param isSelf 是否为当前用户
1156
- * @returns 设备信息对象
1151
+ /**
1152
+ * 获取用户设备信息
1153
+ * @param user 用户数据
1154
+ * @param userStreams 用户流数据
1155
+ * @param isSelf 是否为当前用户
1156
+ * @returns 设备信息对象
1157
1157
  */
1158
1158
  }, {
1159
1159
  key: "_getUserDeviceInfo",
@@ -1172,11 +1172,11 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
1172
1172
  }
1173
1173
  }
1174
1174
 
1175
- /**
1176
- * 获取普通用户(电脑客户端)的设备信息
1177
- * @param userStreams 用户流数据
1178
- * @param isSelf 是否为当前用户
1179
- * @returns 设备信息对象
1175
+ /**
1176
+ * 获取普通用户(电脑客户端)的设备信息
1177
+ * @param userStreams 用户流数据
1178
+ * @param isSelf 是否为当前用户
1179
+ * @returns 设备信息对象
1180
1180
  */
1181
1181
  }, {
1182
1182
  key: "_getNormalUserDeviceInfo",
@@ -1205,10 +1205,10 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
1205
1205
  }
1206
1206
  }
1207
1207
 
1208
- /**
1209
- * 获取PSTN电话用户的设备信息
1210
- * @param userStreams 用户流数据
1211
- * @returns 设备信息对象
1208
+ /**
1209
+ * 获取PSTN电话用户的设备信息
1210
+ * @param userStreams 用户流数据
1211
+ * @returns 设备信息对象
1212
1212
  */
1213
1213
  }, {
1214
1214
  key: "_getPstnUserDeviceInfo",
@@ -1223,10 +1223,10 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
1223
1223
  };
1224
1224
  }
1225
1225
 
1226
- /**
1227
- * 获取SIP/H323会议系统用户的设备信息
1228
- * @param userStreams 用户流数据
1229
- * @returns 设备信息对象
1226
+ /**
1227
+ * 获取SIP/H323会议系统用户的设备信息
1228
+ * @param userStreams 用户流数据
1229
+ * @returns 设备信息对象
1230
1230
  */
1231
1231
  }, {
1232
1232
  key: "_getSipOrH323UserDeviceInfo",
@@ -1241,9 +1241,9 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
1241
1241
  };
1242
1242
  }
1243
1243
 
1244
- /**
1245
- * 获取默认设备信息
1246
- * @returns 默认设备信息对象
1244
+ /**
1245
+ * 获取默认设备信息
1246
+ * @returns 默认设备信息对象
1247
1247
  */
1248
1248
  }, {
1249
1249
  key: "_getDefaultDeviceInfo",
@@ -1257,11 +1257,11 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
1257
1257
  };
1258
1258
  }
1259
1259
 
1260
- /**
1261
- * 获取用户流状态信息
1262
- * @param user 用户数据
1263
- * @param userStreams 用户流数据
1264
- * @returns 流状态信息对象
1260
+ /**
1261
+ * 获取用户流状态信息
1262
+ * @param user 用户数据
1263
+ * @param userStreams 用户流数据
1264
+ * @returns 流状态信息对象
1265
1265
  */
1266
1266
  }, {
1267
1267
  key: "_getUserStreamInfo",
@@ -1279,11 +1279,11 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
1279
1279
  };
1280
1280
  }
1281
1281
 
1282
- /**
1283
- * 根据视频源类型查找流
1284
- * @param userStreams 用户流数组
1285
- * @param videoSourceType 视频源类型
1286
- * @returns 找到的流或undefined
1282
+ /**
1283
+ * 根据视频源类型查找流
1284
+ * @param userStreams 用户流数组
1285
+ * @param videoSourceType 视频源类型
1286
+ * @returns 找到的流或undefined
1287
1287
  */
1288
1288
  }, {
1289
1289
  key: "_findStreamByVideoSourceType",
@@ -1293,11 +1293,11 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
1293
1293
  });
1294
1294
  }
1295
1295
 
1296
- /**
1297
- * 根据连接器类型查找流
1298
- * @param userStreams 用户流数组
1299
- * @param connectorType 连接器类型
1300
- * @returns 找到的流或undefined
1296
+ /**
1297
+ * 根据连接器类型查找流
1298
+ * @param userStreams 用户流数组
1299
+ * @param connectorType 连接器类型
1300
+ * @returns 找到的流或undefined
1301
1301
  */
1302
1302
  }, {
1303
1303
  key: "_findStreamByConnectorType",
@@ -1307,10 +1307,10 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
1307
1307
  });
1308
1308
  }
1309
1309
 
1310
- /**
1311
- * 查找SIP或H323流
1312
- * @param userStreams 用户流数组
1313
- * @returns 找到的流或undefined
1310
+ /**
1311
+ * 查找SIP或H323流
1312
+ * @param userStreams 用户流数组
1313
+ * @returns 找到的流或undefined
1314
1314
  */
1315
1315
  }, {
1316
1316
  key: "_findSipOrH323Stream",
@@ -1320,10 +1320,10 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
1320
1320
  });
1321
1321
  }
1322
1322
 
1323
- /**
1324
- * 检查流是否有音频发布并已启动
1325
- * @param stream 流信息
1326
- * @returns 是否有音频发布并已启动
1323
+ /**
1324
+ * 检查流是否有音频发布并已启动
1325
+ * @param stream 流信息
1326
+ * @returns 是否有音频发布并已启动
1327
1327
  */
1328
1328
  }, {
1329
1329
  key: "_hasAudioPublishedAndStarted",
@@ -1331,10 +1331,10 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
1331
1331
  return (stream === null || stream === void 0 ? void 0 : stream.audioSourceState) === _fcrCore.FcrMediaSourceState.OPEN;
1332
1332
  }
1333
1333
 
1334
- /**
1335
- * 检查流是否有视频发布并已启动
1336
- * @param stream 流信息
1337
- * @returns 是否有视频发布并已启动
1334
+ /**
1335
+ * 检查流是否有视频发布并已启动
1336
+ * @param stream 流信息
1337
+ * @returns 是否有视频发布并已启动
1338
1338
  */
1339
1339
  }, {
1340
1340
  key: "_hasVideoPublishedAndStarted",
@@ -1500,11 +1500,11 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
1500
1500
 
1501
1501
  // [所有其他方法的完整实现...]
1502
1502
 
1503
- /**
1504
- * 检查是否在会话持续时间内,避免重复发送请求
1505
- * @param userId 用户ID
1506
- * @param timestampMap 时间戳映射表
1507
- * @returns 如果在持续时间内返回true,否则返回false
1503
+ /**
1504
+ * 检查是否在会话持续时间内,避免重复发送请求
1505
+ * @param userId 用户ID
1506
+ * @param timestampMap 时间戳映射表
1507
+ * @returns 如果在持续时间内返回true,否则返回false
1508
1508
  */
1509
1509
  }, {
1510
1510
  key: "_isWithinSessionDuration",
@@ -1514,11 +1514,11 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
1514
1514
  return now - ((_timestampMap$get = timestampMap.get(userId)) !== null && _timestampMap$get !== void 0 ? _timestampMap$get : 0) <= _constant.SESSION_DURATION * 1000;
1515
1515
  }
1516
1516
 
1517
- /**
1518
- * 设置权限并更新UI状态
1519
- * 设置权限后需要同步更新UI状态
1520
- * @param setPrivilege 设置权限的函数
1521
- * @param uiState 要更新的UI状态
1517
+ /**
1518
+ * 设置权限并更新UI状态
1519
+ * 设置权限后需要同步更新UI状态
1520
+ * @param setPrivilege 设置权限的函数
1521
+ * @param uiState 要更新的UI状态
1522
1522
  */
1523
1523
  }, {
1524
1524
  key: "_setPrivilegeAndUpdateUI",
@@ -1527,10 +1527,10 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
1527
1527
  this._sharedSecurityDataSource.setCheckedStateMap(_objectSpread(_objectSpread({}, this.checkedStateMap), uiState));
1528
1528
  }
1529
1529
 
1530
- /**
1531
- * 显示toast消息的辅助方法
1532
- * @param message 消息内容
1533
- * @param type 消息类型,默认为'normal'
1530
+ /**
1531
+ * 显示toast消息的辅助方法
1532
+ * @param message 消息内容
1533
+ * @param type 消息类型,默认为'normal'
1534
1534
  */
1535
1535
  }, {
1536
1536
  key: "_showToast",
@@ -1542,9 +1542,9 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
1542
1542
  });
1543
1543
  }
1544
1544
 
1545
- /**
1546
- * 打开对话框的辅助方法
1547
- * @param dialogKey 对话框键值
1545
+ /**
1546
+ * 打开对话框的辅助方法
1547
+ * @param dialogKey 对话框键值
1548
1548
  */
1549
1549
  }, {
1550
1550
  key: "_openDialog",
@@ -1552,11 +1552,11 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
1552
1552
  this._dialogProvider.openDialog(dialogKey, params);
1553
1553
  }
1554
1554
 
1555
- /**
1556
- * 更新流发布权限的辅助方法
1557
- * @param streamId 流ID
1558
- * @param audioPrivilege 音频权限
1559
- * @param videoPrivilege 视频权限
1555
+ /**
1556
+ * 更新流发布权限的辅助方法
1557
+ * @param streamId 流ID
1558
+ * @param audioPrivilege 音频权限
1559
+ * @param videoPrivilege 视频权限
1560
1560
  */
1561
1561
  }, {
1562
1562
  key: "_updateStreamPrivilege",
@@ -1567,10 +1567,10 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
1567
1567
  }));
1568
1568
  }
1569
1569
 
1570
- /**
1571
- * 获取用户的目标音频流
1572
- * @param userId 用户ID
1573
- * @returns 目标流信息,包含硬件设备流和普通客户端流
1570
+ /**
1571
+ * 获取用户的目标音频流
1572
+ * @param userId 用户ID
1573
+ * @returns 目标流信息,包含硬件设备流和普通客户端流
1574
1574
  */
1575
1575
  }, {
1576
1576
  key: "_getUserTargetAudioStreams",
@@ -1593,9 +1593,9 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
1593
1593
  };
1594
1594
  }
1595
1595
 
1596
- /**
1597
- * 静音指定用户的音频
1598
- * @param userId 用户ID
1596
+ /**
1597
+ * 静音指定用户的音频
1598
+ * @param userId 用户ID
1599
1599
  */
1600
1600
  }, {
1601
1601
  key: "_muteUserAudio",
@@ -1622,9 +1622,9 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
1622
1622
  }
1623
1623
  }
1624
1624
 
1625
- /**
1626
- * 取消静音指定用户的音频
1627
- * @param userId 用户ID
1625
+ /**
1626
+ * 取消静音指定用户的音频
1627
+ * @param userId 用户ID
1628
1628
  */
1629
1629
  }, {
1630
1630
  key: "_unmuteUserAudio",
@@ -1660,9 +1660,9 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
1660
1660
  });
1661
1661
  }
1662
1662
 
1663
- /**
1664
- * 静音指定用户的视频
1665
- * @param userId 用户ID
1663
+ /**
1664
+ * 静音指定用户的视频
1665
+ * @param userId 用户ID
1666
1666
  */
1667
1667
  }, {
1668
1668
  key: "_muteUserVideo",
@@ -1750,10 +1750,10 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
1750
1750
  this._showSetHostDialog(userId, _type.FcrUserRole.COHOST);
1751
1751
  }
1752
1752
 
1753
- /**
1754
- * 显示设置主持人/联席主持人对话框
1755
- * @param userId 用户ID
1756
- * @param type 角色类型
1753
+ /**
1754
+ * 显示设置主持人/联席主持人对话框
1755
+ * @param userId 用户ID
1756
+ * @param type 角色类型
1757
1757
  */
1758
1758
  }, {
1759
1759
  key: "_showSetHostDialog",
@@ -1794,10 +1794,10 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
1794
1794
  }, 'UPDATE_USER_ROLE');
1795
1795
  }
1796
1796
 
1797
- /**
1798
- * 获取角色显示名称
1799
- * @param type 角色类型
1800
- * @returns 角色显示名称
1797
+ /**
1798
+ * 获取角色显示名称
1799
+ * @param type 角色类型
1800
+ * @returns 角色显示名称
1801
1801
  */
1802
1802
  }, {
1803
1803
  key: "_getRoleDisplayName",
@@ -1805,10 +1805,10 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
1805
1805
  return type === _type.FcrUserRole.HOST ? (0, _i18n.transI18n)('fmt_role_host') : (0, _i18n.transI18n)('fmt_role_cohost');
1806
1806
  }
1807
1807
 
1808
- /**
1809
- * 处理设置主持人确认操作
1810
- * @param userId 用户ID
1811
- * @param type 角色类型
1808
+ /**
1809
+ * 处理设置主持人确认操作
1810
+ * @param userId 用户ID
1811
+ * @param type 角色类型
1812
1812
  */
1813
1813
  }, {
1814
1814
  key: "_handleSetHostConfirmation",
@@ -1846,9 +1846,9 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
1846
1846
  }
1847
1847
  return _handleSetHostConfirmation;
1848
1848
  }()
1849
- /**
1850
- * 处理设置主持人时的错误
1851
- * @param error 错误对象
1849
+ /**
1850
+ * 处理设置主持人时的错误
1851
+ * @param error 错误对象
1852
1852
  */
1853
1853
  )
1854
1854
  }, {
@@ -1886,9 +1886,9 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
1886
1886
  this._userControl.updateRemoteUserRole(userId, _type.FcrUserRole.PARTICIPANT);
1887
1887
  }
1888
1888
 
1889
- /**
1890
- * 将指定用户移动到等待房间
1891
- * @param userId 要移动的用户ID
1889
+ /**
1890
+ * 将指定用户移动到等待房间
1891
+ * @param userId 要移动的用户ID
1892
1892
  */
1893
1893
  }, {
1894
1894
  key: "_moveToWaitingRoomByUserId",
@@ -1957,10 +1957,10 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
1957
1957
  }
1958
1958
  return _moveToWaitingRoomByUserId;
1959
1959
  }()
1960
- /**
1961
- * 踢出用户的主入口方法
1962
- * 根据当前房间类型选择相应的处理逻辑
1963
- * @param userId 要踢出的用户ID
1960
+ /**
1961
+ * 踢出用户的主入口方法
1962
+ * 根据当前房间类型选择相应的处理逻辑
1963
+ * @param userId 要踢出的用户ID
1964
1964
  */
1965
1965
  )
1966
1966
  }, {
@@ -1985,9 +1985,9 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
1985
1985
  }
1986
1986
  }
1987
1987
 
1988
- /**
1989
- * 从主房间踢出用户
1990
- * @param userId 用户ID
1988
+ /**
1989
+ * 从主房间踢出用户
1990
+ * @param userId 用户ID
1991
1991
  */
1992
1992
  }, {
1993
1993
  key: "_kickOutUserFromMainRoom",
@@ -1997,9 +1997,9 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
1997
1997
  this.openConfirmDialog(dialogConfig, _struct.KICK_OUT_DIALOG_CONFIG.MAIN_ROOM.DIALOG_ID);
1998
1998
  }
1999
1999
 
2000
- /**
2001
- * 从等待房间踢出用户
2002
- * @param userId 用户ID
2000
+ /**
2001
+ * 从等待房间踢出用户
2002
+ * @param userId 用户ID
2003
2003
  */
2004
2004
  }, {
2005
2005
  key: "_kickOutUserFromWaitingRoom",
@@ -2009,10 +2009,10 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
2009
2009
  this.openRemoveAdmitWaitingRoomDialog(dialogConfig);
2010
2010
  }
2011
2011
 
2012
- /**
2013
- * 检查用户是否存在
2014
- * @param userId 用户ID
2015
- * @returns 用户是否存在
2012
+ /**
2013
+ * 检查用户是否存在
2014
+ * @param userId 用户ID
2015
+ * @returns 用户是否存在
2016
2016
  */
2017
2017
  }, {
2018
2018
  key: "_isUserExists",
@@ -2020,10 +2020,10 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
2020
2020
  return this.userMap.has(userId);
2021
2021
  }
2022
2022
 
2023
- /**
2024
- * 根据用户ID获取用户名
2025
- * @param userId 用户ID
2026
- * @returns 用户名,如果找不到则返回空字符串
2023
+ /**
2024
+ * 根据用户ID获取用户名
2025
+ * @param userId 用户ID
2026
+ * @returns 用户名,如果找不到则返回空字符串
2027
2027
  */
2028
2028
  }, {
2029
2029
  key: "_getUserNameById",
@@ -2032,11 +2032,11 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
2032
2032
  return ((_this$userMap$get4 = this.userMap.get(userId)) === null || _this$userMap$get4 === void 0 ? void 0 : _this$userMap$get4.userInfo.userName) || '';
2033
2033
  }
2034
2034
 
2035
- /**
2036
- * 创建主房间踢出用户的对话框配置
2037
- * @param userId 用户ID
2038
- * @param userName 用户名
2039
- * @returns 对话框配置对象
2035
+ /**
2036
+ * 创建主房间踢出用户的对话框配置
2037
+ * @param userId 用户ID
2038
+ * @param userName 用户名
2039
+ * @returns 对话框配置对象
2040
2040
  */
2041
2041
  }, {
2042
2042
  key: "_createMainRoomKickOutDialogConfig",
@@ -2055,11 +2055,11 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
2055
2055
  };
2056
2056
  }
2057
2057
 
2058
- /**
2059
- * 创建等待房间踢出用户的对话框配置
2060
- * @param userId 用户ID
2061
- * @param userName 用户名
2062
- * @returns 对话框配置对象
2058
+ /**
2059
+ * 创建等待房间踢出用户的对话框配置
2060
+ * @param userId 用户ID
2061
+ * @param userName 用户名
2062
+ * @returns 对话框配置对象
2063
2063
  */
2064
2064
  }, {
2065
2065
  key: "_createWaitingRoomKickOutDialogConfig",
@@ -2078,10 +2078,10 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
2078
2078
  };
2079
2079
  }
2080
2080
 
2081
- /**
2082
- * 执行踢出用户操作
2083
- * @param userId 用户ID
2084
- * @param kickOutType 踢出类型
2081
+ /**
2082
+ * 执行踢出用户操作
2083
+ * @param userId 用户ID
2084
+ * @param kickOutType 踢出类型
2085
2085
  */
2086
2086
  }, {
2087
2087
  key: "_executeKickOut",
@@ -2145,9 +2145,9 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
2145
2145
  }
2146
2146
  }
2147
2147
 
2148
- /**
2149
- * 设置等候室用户数量监听器
2150
- * 当等候室用户数量为0时 tab自动切换回主房间
2148
+ /**
2149
+ * 设置等候室用户数量监听器
2150
+ * 当等候室用户数量为0时 tab自动切换回主房间
2151
2151
  */
2152
2152
  }, {
2153
2153
  key: "_setupWaitingRoomUserCountListener",
@@ -2162,10 +2162,10 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
2162
2162
  }));
2163
2163
  }
2164
2164
 
2165
- /**
2166
- * 检查会话是否已经被处理过
2167
- * @param sessionId 会话ID
2168
- * @returns 是否已处理
2165
+ /**
2166
+ * 检查会话是否已经被处理过
2167
+ * @param sessionId 会话ID
2168
+ * @returns 是否已处理
2169
2169
  */
2170
2170
  }, {
2171
2171
  key: "_isSessionAlreadyProcessed",
@@ -2173,9 +2173,9 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
2173
2173
  return this._processedUserOpenDeviceRequests.has(sessionId);
2174
2174
  }
2175
2175
 
2176
- /**
2177
- * 验证本地用户信息
2178
- * @returns 验证是否通过
2176
+ /**
2177
+ * 验证本地用户信息
2178
+ * @returns 验证是否通过
2179
2179
  */
2180
2180
  }, {
2181
2181
  key: "_validateLocalUser",
@@ -2195,9 +2195,9 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
2195
2195
  return true;
2196
2196
  }
2197
2197
 
2198
- /**
2199
- * 处理设备请求
2200
- * @param session 对等会话
2198
+ /**
2199
+ * 处理设备请求
2200
+ * @param session 对等会话
2201
2201
  */
2202
2202
  }, {
2203
2203
  key: "_handleDeviceRequest",
@@ -2219,10 +2219,10 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
2219
2219
  }
2220
2220
  }
2221
2221
 
2222
- /**
2223
- * 处理摄像头开启请求
2224
- * @param session 对等会话
2225
- * @param sender 发送者信息
2222
+ /**
2223
+ * 处理摄像头开启请求
2224
+ * @param session 对等会话
2225
+ * @param sender 发送者信息
2226
2226
  */
2227
2227
  }, {
2228
2228
  key: "_handleCameraRequest",
@@ -2243,10 +2243,10 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
2243
2243
  this._showCameraRequestDialog(session, sender);
2244
2244
  }
2245
2245
 
2246
- /**
2247
- * 处理麦克风开启请求
2248
- * @param session 对等会话
2249
- * @param sender 发送者信息
2246
+ /**
2247
+ * 处理麦克风开启请求
2248
+ * @param session 对等会话
2249
+ * @param sender 发送者信息
2250
2250
  */
2251
2251
  }, {
2252
2252
  key: "_handleMicrophoneRequest",
@@ -2267,10 +2267,10 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
2267
2267
  this._showMicrophoneRequestDialog(session, sender);
2268
2268
  }
2269
2269
 
2270
- /**
2271
- * 显示摄像头请求确认对话框
2272
- * @param session 对等会话
2273
- * @param sender 发送者信息
2270
+ /**
2271
+ * 显示摄像头请求确认对话框
2272
+ * @param session 对等会话
2273
+ * @param sender 发送者信息
2274
2274
  */
2275
2275
  }, {
2276
2276
  key: "_showCameraRequestDialog",
@@ -2295,10 +2295,10 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
2295
2295
  }, _type2.FcrUISessionKey.REQUEST_OPEN_CAMERA);
2296
2296
  }
2297
2297
 
2298
- /**
2299
- * 显示麦克风请求确认对话框
2300
- * @param session 对等会话
2301
- * @param sender 发送者信息
2298
+ /**
2299
+ * 显示麦克风请求确认对话框
2300
+ * @param session 对等会话
2301
+ * @param sender 发送者信息
2302
2302
  */
2303
2303
  }, {
2304
2304
  key: "_showMicrophoneRequestDialog",
@@ -1,12 +1,12 @@
1
- .connector-computer {
2
- display: flex;
3
- align-items: center;
4
- justify-content: center;
5
- flex-direction: column;
6
- width: 100%;
7
- height: 350px;
8
- }
9
- .connector-computer .fcr-button {
10
- margin-bottom: 15px;
11
- width: 260px;
12
- }
1
+ .connector-computer {
2
+ display: flex;
3
+ align-items: center;
4
+ justify-content: center;
5
+ flex-direction: column;
6
+ width: 100%;
7
+ height: 350px;
8
+ }
9
+ .connector-computer .fcr-button {
10
+ margin-bottom: 15px;
11
+ width: 260px;
12
+ }
@@ -7,8 +7,9 @@ export declare class PcAudioConnectionUIModule extends UIModule {
7
7
  get store(): ConnectionGatewayStore;
8
8
  onNodeWillActive(): void;
9
9
  onNodeWillInactive(): void;
10
- getComponent(params?: {
10
+ getComponent(params: {
11
11
  phoneChildren: ReactNode;
12
12
  type: string;
13
+ contactsChildren: ReactNode;
13
14
  }): import("react/jsx-runtime").JSX.Element;
14
15
  }