fcr-ui-scene 3.4.0 → 3.4.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 (324) hide show
  1. package/lib/ scenes/base.d.ts +10 -0
  2. package/lib/ scenes/base.js +75 -0
  3. package/lib/ scenes/main-scene.d.ts +43 -0
  4. package/lib/ scenes/main-scene.js +368 -0
  5. package/lib/ scenes/waiting-scene.d.ts +31 -0
  6. package/lib/ scenes/waiting-scene.js +119 -0
  7. package/lib/common/device-store.d.ts +1 -2
  8. package/lib/common/device-store.js +169 -153
  9. package/lib/common/device-stream-store.d.ts +5 -29
  10. package/lib/common/device-stream-store.js +47 -93
  11. package/lib/common/room-store.js +4 -4
  12. package/lib/common/security-store.d.ts +6 -16
  13. package/lib/common/security-store.js +16 -17
  14. package/lib/common/type.d.ts +8 -0
  15. package/lib/common/type.js +6 -0
  16. package/lib/creator.js +3 -3
  17. package/lib/electron/app.js +21 -5
  18. package/lib/electron/bootstrap-sdk.js +1 -2
  19. package/lib/electron/injections.d.ts +1 -1
  20. package/lib/error-fallback.css +62 -0
  21. package/lib/error-fallback.d.ts +2 -0
  22. package/lib/error-fallback.js +19 -0
  23. package/lib/modules/Interpreter/action/delete-btn/index.d.ts +1 -1
  24. package/lib/modules/Interpreter/action/edit-btn/index.d.ts +0 -1
  25. package/lib/modules/Interpreter/action/edit-btn/index.js +0 -2
  26. package/lib/modules/Interpreter/action/switch-btn/index.css +3 -0
  27. package/lib/modules/Interpreter/action/switch-btn/index.d.ts +2 -4
  28. package/lib/modules/Interpreter/action/switch-btn/index.js +3 -3
  29. package/lib/modules/Interpreter/footer/index.css +4 -3
  30. package/lib/modules/Interpreter/index.d.ts +2 -17
  31. package/lib/modules/Interpreter/index.js +2 -18
  32. package/lib/modules/Interpreter/interpreter-list/index.css +5 -1
  33. package/lib/modules/Interpreter/interpreter-list/index.d.ts +1 -0
  34. package/lib/modules/Interpreter/interpreter-list/index.js +3 -1
  35. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/index.css +0 -6
  36. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/index.d.ts +1 -1
  37. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-user/index.css +1 -3
  38. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-user/index.d.ts +1 -6
  39. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-user/index.js +55 -81
  40. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-user/option-Item.d.ts +6 -0
  41. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-user/option-Item.js +58 -0
  42. package/lib/modules/Interpreter/interpreter-list/interpreter-item/index.d.ts +1 -1
  43. package/lib/modules/Interpreter/store.d.ts +36 -29
  44. package/lib/modules/Interpreter/store.js +575 -606
  45. package/lib/modules/Interpreter/type.d.ts +41 -0
  46. package/lib/modules/Interpreter/type.js +20 -0
  47. package/lib/modules/Interpreter/utils.d.ts +12 -0
  48. package/lib/modules/Interpreter/utils.js +139 -0
  49. package/lib/modules/Interpreter/view.d.ts +0 -1
  50. package/lib/modules/Interpreter/view.js +3 -5
  51. package/lib/modules/action-bar/action-bar-collapes-items.d.ts +1 -1
  52. package/lib/modules/action-bar/action-bar-collapes-items.js +11 -11
  53. package/lib/modules/action-bar/apps/useInterpreter.js +4 -2
  54. package/lib/modules/action-bar/components/apps/app-item/index.css +35 -0
  55. package/lib/modules/action-bar/components/apps/app-item/index.d.ts +12 -0
  56. package/lib/modules/action-bar/components/apps/app-item/index.js +61 -0
  57. package/lib/modules/action-bar/components/apps/appitems.d.ts +5 -0
  58. package/lib/modules/action-bar/components/apps/appitems.js +45 -0
  59. package/lib/modules/action-bar/components/apps/index.css +8 -0
  60. package/lib/modules/action-bar/components/apps/index.d.ts +4 -0
  61. package/lib/modules/action-bar/components/apps/index.js +57 -0
  62. package/lib/modules/action-bar/components/apps/useAppItemOptions.d.ts +9 -0
  63. package/lib/modules/action-bar/components/apps/useAppItemOptions.js +29 -0
  64. package/lib/modules/action-bar/components/apps/useBeautyBackground.d.ts +10 -0
  65. package/lib/modules/action-bar/components/apps/useBeautyBackground.js +36 -0
  66. package/lib/modules/action-bar/components/apps/useInterpreter.d.ts +14 -0
  67. package/lib/modules/action-bar/components/apps/useInterpreter.js +37 -0
  68. package/lib/modules/action-bar/components/apps/useLiveStreaming.d.ts +16 -0
  69. package/lib/modules/action-bar/components/apps/useLiveStreaming.js +41 -0
  70. package/lib/modules/action-bar/components/board/index.d.ts +4 -0
  71. package/lib/modules/action-bar/components/board/index.js +34 -0
  72. package/lib/modules/action-bar/components/breakout-room/index.d.ts +4 -0
  73. package/lib/modules/action-bar/components/breakout-room/index.js +32 -0
  74. package/lib/modules/action-bar/components/chat/index.css +80 -0
  75. package/lib/modules/action-bar/components/chat/index.d.ts +5 -0
  76. package/lib/modules/action-bar/components/chat/index.js +154 -0
  77. package/lib/modules/action-bar/components/device/index.css +162 -0
  78. package/lib/modules/action-bar/components/device/index.d.ts +8 -0
  79. package/lib/modules/action-bar/components/device/index.js +611 -0
  80. package/lib/modules/action-bar/components/interpreter/index.d.ts +6 -0
  81. package/lib/modules/action-bar/components/interpreter/index.js +41 -0
  82. package/lib/modules/action-bar/components/item.d.ts +27 -0
  83. package/lib/modules/action-bar/components/item.js +164 -0
  84. package/lib/modules/action-bar/components/leave/assign-host.d.ts +10 -0
  85. package/lib/modules/action-bar/components/leave/assign-host.js +64 -0
  86. package/lib/modules/action-bar/components/leave/index.css +126 -0
  87. package/lib/modules/action-bar/components/leave/index.d.ts +3 -0
  88. package/lib/modules/action-bar/components/leave/index.js +159 -0
  89. package/lib/modules/action-bar/components/leave/leave-meeting.d.ts +18 -0
  90. package/lib/modules/action-bar/components/leave/leave-meeting.js +153 -0
  91. package/lib/modules/action-bar/components/live-streaming/index.d.ts +4 -0
  92. package/lib/modules/action-bar/components/live-streaming/index.js +39 -0
  93. package/lib/modules/action-bar/components/more/index.css +114 -0
  94. package/lib/modules/action-bar/components/more/index.d.ts +5 -0
  95. package/lib/modules/action-bar/components/more/index.js +83 -0
  96. package/lib/modules/action-bar/components/more/poppover-content.d.ts +8 -0
  97. package/lib/modules/action-bar/components/more/poppover-content.js +400 -0
  98. package/lib/modules/action-bar/components/participants/index.css +21 -0
  99. package/lib/modules/action-bar/components/participants/index.d.ts +5 -0
  100. package/lib/modules/action-bar/components/participants/index.js +83 -0
  101. package/lib/modules/action-bar/components/record/index.css +39 -0
  102. package/lib/modules/action-bar/components/record/index.d.ts +5 -0
  103. package/lib/modules/action-bar/components/record/index.js +166 -0
  104. package/lib/modules/action-bar/components/record/stop-record-dialog.d.ts +5 -0
  105. package/lib/modules/action-bar/components/record/stop-record-dialog.js +48 -0
  106. package/lib/modules/action-bar/components/respond/index.d.ts +4 -0
  107. package/lib/modules/action-bar/components/respond/index.js +32 -0
  108. package/lib/modules/action-bar/components/screen-share/index.d.ts +4 -0
  109. package/lib/modules/action-bar/components/screen-share/index.js +106 -0
  110. package/lib/modules/action-bar/components/screen-share/submenu.d.ts +1 -0
  111. package/lib/modules/action-bar/components/screen-share/submenu.js +154 -0
  112. package/lib/modules/action-bar/components/security/index.d.ts +4 -0
  113. package/lib/modules/action-bar/components/security/index.js +58 -0
  114. package/lib/modules/action-bar/components/settings/index.d.ts +4 -0
  115. package/lib/modules/action-bar/components/settings/index.js +42 -0
  116. package/lib/modules/action-bar/index.css +23 -1
  117. package/lib/modules/action-bar/index.d.ts +2 -22
  118. package/lib/modules/action-bar/index.dev.js +37 -16
  119. package/lib/modules/action-bar/notification-bar/components/interpreter/index.css +58 -0
  120. package/lib/modules/action-bar/notification-bar/components/interpreter/index.d.ts +8 -0
  121. package/lib/modules/action-bar/notification-bar/components/interpreter/index.js +100 -0
  122. package/lib/modules/action-bar/notification-bar/components/virtual-image/index.css +56 -0
  123. package/lib/modules/action-bar/notification-bar/components/virtual-image/index.d.ts +5 -0
  124. package/lib/modules/action-bar/notification-bar/components/virtual-image/index.js +33 -0
  125. package/lib/modules/action-bar/notification-bar/dome.png +0 -0
  126. package/lib/modules/action-bar/notification-bar/fcr_translateswitch.png +0 -0
  127. package/lib/modules/action-bar/notification-bar/index.css +74 -0
  128. package/lib/modules/action-bar/notification-bar/index.d.ts +2 -0
  129. package/lib/modules/action-bar/notification-bar/index.js +99 -0
  130. package/lib/modules/action-bar/screen-share/index.js +5 -0
  131. package/lib/modules/action-bar/security/index.js +1 -0
  132. package/lib/modules/action-bar/smaller.js +2 -2
  133. package/lib/modules/action-bar/store.d.ts +6 -7
  134. package/lib/modules/action-bar/store.js +114 -128
  135. package/lib/modules/action-bar/trigger-input-language-room/fcr_translateswitch.png +0 -0
  136. package/lib/modules/action-bar/trigger-input-language-room/index.css +86 -0
  137. package/lib/modules/action-bar/trigger-input-language-room/index.d.ts +15 -0
  138. package/lib/modules/action-bar/trigger-input-language-room/index.js +220 -0
  139. package/lib/modules/action-bar/trigger-output-language-room/constant.d.ts +10 -0
  140. package/lib/modules/action-bar/trigger-output-language-room/constant.js +8 -0
  141. package/lib/modules/action-bar/trigger-output-language-room/guide-tooltip/index.css +22 -0
  142. package/lib/modules/action-bar/trigger-output-language-room/guide-tooltip/index.d.ts +14 -0
  143. package/lib/modules/action-bar/trigger-output-language-room/guide-tooltip/index.js +75 -0
  144. package/lib/modules/action-bar/trigger-output-language-room/index.d.ts +4 -0
  145. package/lib/modules/action-bar/trigger-output-language-room/index.js +98 -0
  146. package/lib/modules/action-bar/trigger-output-language-room/trigger-language-room.d.ts +5 -0
  147. package/lib/modules/action-bar/trigger-output-language-room/trigger-language-room.js +66 -0
  148. package/lib/modules/action-bar/trigger-output-language-room/trigger-main-room.d.ts +5 -0
  149. package/lib/modules/action-bar/trigger-output-language-room/trigger-main-room.js +36 -0
  150. package/lib/modules/action-bar/trigger-output-language-room/useChangeOutputRoomTool.d.ts +12 -0
  151. package/lib/modules/action-bar/trigger-output-language-room/useChangeOutputRoomTool.js +138 -0
  152. package/lib/modules/action-bar/view.js +6 -6
  153. package/lib/modules/audio-stream/index.d.ts +2 -15
  154. package/lib/modules/audio-stream/index.js +1 -3
  155. package/lib/modules/chat/chat-bar/index.css +5 -0
  156. package/lib/modules/chat/chat-bar/index.js +16 -14
  157. package/lib/modules/chat/chat-select/index.css +6 -3
  158. package/lib/modules/chat/chat.js +7 -6
  159. package/lib/modules/chat/index.css +10 -0
  160. package/lib/modules/chat/index.d.ts +2 -12
  161. package/lib/modules/chat/index.dev.js +14 -3
  162. package/lib/modules/chat/index.js +7 -20
  163. package/lib/modules/chat/message-list.js +1 -0
  164. package/lib/modules/chat/store.js +1 -1
  165. package/lib/modules/components/device-control/components/audio-menu/index.js +4 -4
  166. package/lib/modules/components/device-control/index.css +3 -0
  167. package/lib/modules/components/dialog-container/component/body.d.ts +7 -0
  168. package/lib/modules/components/dialog-container/component/body.js +46 -0
  169. package/lib/modules/components/dialog-container/index.css +78 -0
  170. package/lib/modules/components/dialog-container/index.d.ts +11 -0
  171. package/lib/modules/components/dialog-container/index.js +110 -0
  172. package/lib/modules/components/member-window/index.css +419 -0
  173. package/lib/modules/components/member-window/index.d.ts +76 -0
  174. package/lib/modules/components/member-window/index.js +888 -0
  175. package/lib/modules/components/security-menu/index.css +9 -0
  176. package/lib/modules/components/security-menu/index.js +74 -23
  177. package/lib/modules/components/tab-frame/index.css +40 -0
  178. package/lib/modules/components/tab-frame/index.d.ts +12 -0
  179. package/lib/modules/components/tab-frame/index.js +57 -0
  180. package/lib/modules/connection-gateway/components/computer/index.css +1 -0
  181. package/lib/modules/connection-gateway/components/phone/index.css +1 -1
  182. package/lib/modules/connection-gateway/index.d.ts +2 -9
  183. package/lib/modules/connection-gateway/store.d.ts +3 -11
  184. package/lib/modules/connection-gateway/store.js +1 -17
  185. package/lib/modules/connection-gateway/view.js +21 -4
  186. package/lib/modules/control-bar/components/cloud-recording-buttons.js +1 -1
  187. package/lib/modules/control-bar/index.d.ts +2 -16
  188. package/lib/modules/control-bar/index.js +10 -19
  189. package/lib/modules/control-bar/store.d.ts +3 -16
  190. package/lib/modules/control-bar/store.js +23 -5
  191. package/lib/modules/control-bar/view.js +17 -10
  192. package/lib/modules/device-pretest/settings/virtual-background-setting.js +1 -1
  193. package/lib/modules/dialog/components/Interpreter/electron.js +3 -25
  194. package/lib/modules/dialog/components/Interpreter/index.js +14 -43
  195. package/lib/modules/dialog/components/chat/electron.d.ts +1 -1
  196. package/lib/modules/dialog/components/chat/electron.js +6 -13
  197. package/lib/modules/dialog/components/chat/index.d.ts +1 -4
  198. package/lib/modules/dialog/components/chat/index.js +35 -41
  199. package/lib/modules/dialog/components/confirm/index.js +6 -7
  200. package/lib/modules/dialog/components/connection-gateway/electron.d.ts +1 -1
  201. package/lib/modules/dialog/components/connection-gateway/electron.js +9 -28
  202. package/lib/modules/dialog/components/connection-gateway/index.d.ts +0 -1
  203. package/lib/modules/dialog/components/connection-gateway/index.js +11 -56
  204. package/lib/modules/dialog/components/control-bar/index.js +6 -7
  205. package/lib/modules/dialog/components/device-setting/electron.js +4 -26
  206. package/lib/modules/dialog/components/device-setting/index.js +13 -41
  207. package/lib/modules/dialog/components/invite/index.js +16 -35
  208. package/lib/modules/dialog/components/live-streaming/index.js +18 -53
  209. package/lib/modules/dialog/components/participant/electron.js +4 -17
  210. package/lib/modules/dialog/components/participant/index.js +35 -26
  211. package/lib/modules/dialog/components/remove-admit-waiting-room/electron.js +3 -6
  212. package/lib/modules/dialog/components/remove-admit-waiting-room/index.d.ts +1 -1
  213. package/lib/modules/dialog/components/remove-admit-waiting-room/index.js +4 -14
  214. package/lib/modules/dialog/components/share-screen-selection/index.js +20 -5
  215. package/lib/modules/dialog/components/system-preference/electron.js +5 -8
  216. package/lib/modules/dialog/components/system-preference/index.js +4 -15
  217. package/lib/modules/dialog/components/toast/index.js +8 -12
  218. package/lib/modules/dialog/dialogs.js +2 -1
  219. package/lib/modules/dialog/hooks/useElectron.d.ts +6 -0
  220. package/lib/modules/dialog/hooks/useElectron.js +51 -9
  221. package/lib/modules/dialog/index.css +0 -2
  222. package/lib/modules/dialog/index.d.ts +2 -17
  223. package/lib/modules/dialog/store.d.ts +7 -39
  224. package/lib/modules/dialog/store.js +53 -152
  225. package/lib/modules/dialog/types/index.d.ts +59 -0
  226. package/lib/modules/event-confirm/view.js +4 -1
  227. package/lib/modules/invite/view.d.ts +4 -0
  228. package/lib/modules/invite/view.js +18 -22
  229. package/lib/modules/invite/voip-invite.js +3 -3
  230. package/lib/modules/layout/components/Aside.js +11 -1
  231. package/lib/modules/layout/components/Carousel.js +1 -1
  232. package/lib/modules/layout/components/Layout.js +7 -4
  233. package/lib/modules/layout/components/index.css +6 -1
  234. package/lib/modules/layout/index.js +8 -7
  235. package/lib/modules/layout/member-window/index.css +22 -9
  236. package/lib/modules/layout/member-window/index.js +16 -3
  237. package/lib/modules/layout/store.d.ts +1 -1
  238. package/lib/modules/layout/store.js +1 -7
  239. package/lib/modules/layout/video-window-datasource.js +11 -3
  240. package/lib/modules/notification/index.css +1 -0
  241. package/lib/modules/participant/attendee/index.css +1 -0
  242. package/lib/modules/participant/attendee/index.js +2 -1
  243. package/lib/modules/participant/components/drop-menu/index.css +1 -0
  244. package/lib/modules/participant/components/drop-menu/index.js +9 -9
  245. package/lib/modules/participant/index.css +5 -0
  246. package/lib/modules/participant/index.d.ts +2 -17
  247. package/lib/modules/participant/index.dev.js +38 -27
  248. package/lib/modules/participant/store.d.ts +4 -17
  249. package/lib/modules/participant/store.js +13 -13
  250. package/lib/modules/setting/audio-settings/audio-settings.js +13 -10
  251. package/lib/modules/setting/audio-settings/index.css +26 -1
  252. package/lib/modules/setting/general-settings/index.css +1 -1
  253. package/lib/modules/setting/index.css +2 -1
  254. package/lib/modules/setting/index.d.ts +2 -15
  255. package/lib/modules/setting/index.dev.js +19 -10
  256. package/lib/modules/setting/store.d.ts +5 -18
  257. package/lib/modules/setting/store.js +48 -20
  258. package/lib/modules/setting/translate-settings/index.css +3 -1
  259. package/lib/modules/setting/video-settings/index.css +5 -2
  260. package/lib/modules/share-screen/index.dev.js +20 -19
  261. package/lib/modules/share-screen/selection/index.css +2 -0
  262. package/lib/modules/share-screen/selection/index.js +83 -97
  263. package/lib/modules/share-screen/store.js +16 -36
  264. package/lib/modules/sound-effect/index.d.ts +2 -13
  265. package/lib/modules/sound-effect/index.js +1 -2
  266. package/lib/modules/state-bar/index.css +13 -2
  267. package/lib/modules/state-bar/index.d.ts +1 -5
  268. package/lib/modules/state-bar/index.dev.js +1 -1
  269. package/lib/modules/state-bar/index.js +0 -27
  270. package/lib/modules/state-bar/layout-config.js +1 -1
  271. package/lib/modules/state-bar/meeting-network-state.css +1 -1
  272. package/lib/modules/state-bar/recording.js +7 -4
  273. package/lib/modules/state-bar/view.js +1 -1
  274. package/lib/modules/video-window/index.d.ts +2 -2
  275. package/lib/modules/video-window/store.d.ts +2 -1
  276. package/lib/modules/video-window/store.js +2 -2
  277. package/lib/modules/waiting-room-layout/index.css +1 -3
  278. package/lib/modules/waiting-room-layout/index.d.ts +3 -1
  279. package/lib/modules/waiting-room-layout/index.js +10 -3
  280. package/lib/modules/whiteboard/index.d.ts +2 -13
  281. package/lib/modules/whiteboard/index.js +4 -5
  282. package/lib/providers/device-privilege-provider.d.ts +30 -0
  283. package/lib/providers/device-privilege-provider.js +386 -0
  284. package/lib/providers/device-provider.d.ts +246 -0
  285. package/lib/providers/device-provider.js +1741 -0
  286. package/lib/providers/device-stream-provider.d.ts +36 -0
  287. package/lib/providers/device-stream-provider.js +460 -0
  288. package/lib/providers/event-provider.d.ts +108 -0
  289. package/lib/providers/event-provider.js +288 -0
  290. package/lib/providers/interpreter-provider.d.ts +25 -0
  291. package/lib/providers/interpreter-provider.js +151 -0
  292. package/lib/providers/local-storage-provider.d.ts +8 -0
  293. package/lib/providers/local-storage-provider.js +31 -0
  294. package/lib/providers/monitor-provider.d.ts +15 -0
  295. package/lib/providers/monitor-provider.js +29 -0
  296. package/lib/providers/privilege-provider.d.ts +216 -0
  297. package/lib/providers/privilege-provider.js +966 -0
  298. package/lib/providers/renderer-provider.d.ts +43 -0
  299. package/lib/providers/renderer-provider.js +245 -0
  300. package/lib/providers/room-provider.d.ts +79 -0
  301. package/lib/providers/room-provider.js +439 -0
  302. package/lib/providers/session-provider.d.ts +26 -0
  303. package/lib/providers/session-provider.js +49 -0
  304. package/lib/runtime.d.ts +1 -1
  305. package/lib/scenes/base.d.ts +10 -0
  306. package/lib/scenes/base.js +75 -0
  307. package/lib/scenes/main-scene.d.ts +48 -0
  308. package/lib/scenes/main-scene.js +390 -0
  309. package/lib/scenes/waiting-scene.d.ts +31 -0
  310. package/lib/scenes/waiting-scene.js +129 -0
  311. package/lib/shared-data-source/config.d.ts +16 -0
  312. package/lib/shared-data-source/config.js +21 -0
  313. package/lib/type.d.ts +26 -1
  314. package/lib/ui-manager.d.ts +3 -0
  315. package/lib/ui-manager.js +154 -233
  316. package/lib/ui-node.d.ts +25 -0
  317. package/lib/ui-node.js +156 -0
  318. package/lib/utilities/constant.d.ts +15 -15
  319. package/lib/utilities/constant.js +15 -15
  320. package/lib/utilities/tools.d.ts +2 -0
  321. package/lib/utilities/tools.js +42 -10
  322. package/package.json +12 -11
  323. package/public/assets/fcr_leave2.svg +58 -0
  324. package/public/index.html +150 -13
@@ -27,11 +27,20 @@
27
27
  font-weight: 700;
28
28
  color: var(--fcr_ui_scene_icontext1);
29
29
  }
30
+ .fcr-device-settings-audio__switch-wrapper {
31
+ padding: 0 10px 0 12px;
32
+ display: flex;
33
+ align-items: center;
34
+ justify-content: space-between;
35
+ }
36
+ .fcr-device-settings-audio__switch-wrapper-switch {
37
+ flex-shrink: 0;
38
+ }
30
39
 
31
40
  .fcr-device-settings-audio__switch-title {
32
41
  padding: 0 10px 0 12px;
33
42
  font-size: 12px;
34
- line-height: 32px;
43
+ line-height: 18px;
35
44
  color: var(--fcr_ui_scene_icontext1);
36
45
  display: flex;
37
46
  align-items: center;
@@ -79,6 +88,9 @@
79
88
  align-items: center;
80
89
  column-gap: 22px;
81
90
  }
91
+ .fcr-device-settings-audio__form-item .fcr-slider.is-disabled {
92
+ border: none;
93
+ }
82
94
 
83
95
  .fcr-device-settings-audio__form-label {
84
96
  font-size: 12px;
@@ -108,6 +120,11 @@
108
120
  padding-bottom: 10px;
109
121
  }
110
122
 
123
+ .fcr-device-settings-audio__section-reduce-noise .fcr-radio-label {
124
+ white-space: pre-wrap;
125
+ line-height: 16px;
126
+ }
127
+
111
128
  .fcr-device-settings-audio__section-pro-audio {
112
129
  padding-bottom: 10px;
113
130
  }
@@ -141,4 +158,12 @@
141
158
  .fcr-microphone-detection .fcr-button {
142
159
  flex-shrink: 0;
143
160
  border-radius: var(--fcr_cornerradius_xs);
161
+ padding: 0 4px;
162
+ }
163
+ .fcr-speaker-detection .fcr-button p,
164
+ .fcr-microphone-detection .fcr-button p {
165
+ width: 100px;
166
+ overflow: hidden;
167
+ text-overflow: ellipsis;
168
+ white-space: nowrap;
144
169
  }
@@ -3,7 +3,7 @@
3
3
  margin-bottom: 10px;
4
4
  border-radius: var(--fcr_cornerradius_s);
5
5
  width: 100%;
6
- padding: 0 10px 10px;
6
+ padding: 10px;
7
7
  background: var(--fcr_mobile_ui_scene_color_popup_block5);
8
8
  }
9
9
 
@@ -46,7 +46,8 @@
46
46
  border-radius: var(--fcr_cornerradius_xs);
47
47
  width: 100%;
48
48
  height: 44px;
49
- padding-left: 14px;
49
+ padding: 0px 14px;
50
+ white-space: nowrap;
50
51
  font-size: 14px;
51
52
  line-height: 1;
52
53
  color: var(--fcr_ui_scene_icontext1);
@@ -1,22 +1,9 @@
1
- import { FcrDesktopMediaControl, FcrBaseRoomControl, FcrStreamControl } from 'fcr-core';
2
1
  import { UIModule } from '../../base';
3
2
  import './index.css';
4
- import { FcrUIEventStore } from '../../common/event-store';
5
- import { FcrMonitorControl } from 'fcr-core';
6
- import { FcrUISceneConfig } from '../../type';
7
- import { FcrDeviceStore } from '../../common/device-store';
3
+ import { StoreConfig } from '../../type';
8
4
  export declare class SettingUIModule extends UIModule {
9
5
  private _store;
10
- constructor(args: {
11
- mediaControl: FcrDesktopMediaControl;
12
- config: FcrUISceneConfig;
13
- uiEventStore: FcrUIEventStore;
14
- monitorControl: FcrMonitorControl;
15
- streamControl: FcrStreamControl;
16
- roomControl: FcrBaseRoomControl;
17
- deviceStore: FcrDeviceStore;
18
- parameters?: Record<string, unknown>;
19
- });
6
+ constructor(args: StoreConfig);
20
7
  getComponent(): import("react/jsx-runtime").JSX.Element;
21
8
  protected onUnload(): void;
22
9
  }
@@ -9,16 +9,16 @@ var _reactDom = _interopRequireDefault(require("react-dom"));
9
9
  var _root = require("react-hot-loader/root");
10
10
  var _hooks = require("../../utilities/hooks");
11
11
  var _eventStore = require("../../common/event-store");
12
- var _securityStore = require("../../common/security-store");
13
12
  var _type = require("../../type");
14
13
  var _deviceStore = require("../../common/device-store");
14
+ var _roomStore = require("../../common/room-store");
15
15
  var _jsxRuntime = require("react/jsx-runtime");
16
16
  var App = (0, _root.hot)(function () {
17
17
  return null;
18
18
  });
19
19
  _reactDom["default"].render(/*#__PURE__*/(0, _jsxRuntime.jsx)(App, {}), document.querySelector('#root'));
20
20
  window.__DEV_ENGINE_IS_READY__.then(/*#__PURE__*/(0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee() {
21
- var engine, roomId, token, roomControl, userName, uiEventStore, securityStore, deviceStore, uiModule, App;
21
+ var engine, roomId, token, roomControl, userName, uiEventStore, deviceStore, config, uiModule, App;
22
22
  return _regenerator["default"].wrap(function _callee$(_context) {
23
23
  while (1) switch (_context.prev = _context.next) {
24
24
  case 0:
@@ -40,10 +40,21 @@ window.__DEV_ENGINE_IS_READY__.then(/*#__PURE__*/(0, _asyncToGenerator2["default
40
40
  });
41
41
  case 9:
42
42
  uiEventStore = new _eventStore.FcrUIEventStore();
43
- securityStore = new _securityStore.FcrSecurityStore(roomControl.getPrivilegeControl(), roomControl.getUserControl(), roomControl.getStreamControl(), roomControl.getRoomSessionControl(), uiEventStore);
44
43
  deviceStore = new _deviceStore.FcrDeviceStore(engine.getDesktopMediaControl(), uiEventStore);
45
- uiModule = new _.SettingUIModule({
44
+ config = {
46
45
  mediaControl: engine.getDesktopMediaControl(),
46
+ roomControl: roomControl,
47
+ securityStore: null,
48
+ deviceStore: deviceStore,
49
+ uiEventStore: uiEventStore,
50
+ roomStore: new _roomStore.FcrRoomStore(uiEventStore, deviceStore, {}, engine),
51
+ streamControl: roomControl.getStreamControl(),
52
+ userControl: roomControl.getUserControl(),
53
+ privilegeControl: roomControl.getPrivilegeControl(),
54
+ interpreterControl: roomControl.getInterpreterControl(),
55
+ chatRoomControl: roomControl.getChatRoomControl(),
56
+ engine: null,
57
+ remoteVideoRenderManager: null,
47
58
  config: {
48
59
  roomToken: '',
49
60
  userName: 'lxy',
@@ -52,12 +63,10 @@ window.__DEV_ENGINE_IS_READY__.then(/*#__PURE__*/(0, _asyncToGenerator2["default
52
63
  language: 'zh-CN',
53
64
  inviteLink: ''
54
65
  },
55
- uiEventStore: uiEventStore,
56
- deviceStore: deviceStore,
57
- monitorControl: engine.getMonitorControl(),
58
- streamControl: roomControl.getStreamControl(),
59
- roomControl: roomControl
60
- });
66
+ parameters: null,
67
+ deviceStreamStore: null
68
+ };
69
+ uiModule = new _.SettingUIModule(config);
61
70
  App = (0, _root.hot)(function () {
62
71
  (0, _hooks.useUnmount)(function () {
63
72
  uiModule.release();
@@ -1,14 +1,11 @@
1
- import { FcrAiDenoiseLevel, FcrDesktopMediaControl, FcrMonitorControl, FcrStreamControl } from 'fcr-core';
1
+ import { FcrAiDenoiseLevel } from 'fcr-core';
2
2
  import { FcrBeautyOptions } from 'fcr-core/lib/media-control/type';
3
3
  import { FcrPerformanceInfo } from 'fcr-core/lib/type';
4
4
  import { AgoraRtcNetworkStats } from 'agora-rte-sdk';
5
- import { FcrUIEventStore } from '../../common/event-store';
6
5
  import { HighlightElement } from '../../utilities/constant';
7
6
  import { DEFAULT_BEAUTY_VALUE } from 'agora-ui-foundation/lib/components/local-video-player';
8
- import { FcrUISceneConfig } from '../../type';
7
+ import { FcrUISceneConfig, StoreConfig } from '../../type';
9
8
  import { VirtualBackground } from '../device-pretest/assets/virtual-backdound-resources';
10
- import { FcrDeviceStore } from '../../common/device-store';
11
- import { FcrBaseRoomControl } from 'fcr-core/lib/room-control/type';
12
9
  export interface DeviceItem {
13
10
  text: string;
14
11
  value: string;
@@ -47,9 +44,6 @@ export interface CustomSetting {
47
44
  audioVoiceChanger: boolean;
48
45
  spotlightEnabled: boolean;
49
46
  }
50
- export interface StoreConfig {
51
- userName: string;
52
- }
53
47
  export { DEFAULT_BEAUTY_VALUE };
54
48
  export type BeautyKey = 'none' | 'smoothnessLevel' | 'lighteningLevel' | 'lighteningLevel';
55
49
  export default class SettingStore {
@@ -70,6 +64,7 @@ export default class SettingStore {
70
64
  private _volumeIndicationInterval;
71
65
  private _cameraTrack?;
72
66
  private _useDefaultAudioEchoCancellation;
67
+ private _streamInfoList;
73
68
  accessor loudestStreamVolumeLevel: number;
74
69
  accessor microphoneVolumeLevel: number;
75
70
  accessor isWifiConnected: boolean;
@@ -153,16 +148,7 @@ export default class SettingStore {
153
148
  get currentIsMirror(): boolean;
154
149
  get microphoneDetecting(): boolean;
155
150
  get speakerDetecting(): boolean;
156
- constructor({ mediaControl, config, uiEventStore, deviceStore, monitorControl, streamControl, roomControl, parameters, }: {
157
- mediaControl: FcrDesktopMediaControl;
158
- config: FcrUISceneConfig;
159
- uiEventStore: FcrUIEventStore;
160
- monitorControl: FcrMonitorControl;
161
- streamControl: FcrStreamControl;
162
- roomControl: FcrBaseRoomControl;
163
- deviceStore: FcrDeviceStore;
164
- parameters?: Record<string, unknown>;
165
- });
151
+ constructor({ mediaControl, config, uiEventStore, deviceStore, streamControl, roomControl, parameters, engine, }: StoreConfig);
166
152
  enableVirtualBackground(enable: boolean, source?: VirtualBackground): void;
167
153
  setEditBeautyKey(key: BeautyKey): void;
168
154
  enableBeautyEffect(enable: boolean): void;
@@ -207,6 +193,7 @@ export default class SettingStore {
207
193
  private _onRemoteAudioStatsUpdated;
208
194
  private _onLocalVideoStatsUpdated;
209
195
  private _onRemoteVideoStatsUpdated;
196
+ private _onStreamsAdded;
210
197
  private _onStreamsUpdated;
211
198
  private _onStreamsRemoved;
212
199
  private _onPerformanceUpdated;
@@ -99,9 +99,10 @@ var _config = require("./config");
99
99
  var _parameters = require("../../utilities/parameters");
100
100
  var _react = require("react");
101
101
  var _env = require("agora-foundation/lib/utilities/env");
102
+ var _i18n = require("agora-ui-foundation/lib/i18n");
102
103
  var _excluded = ["dialogId"];
103
104
  var _SettingStore;
104
- var _initProto, _init_loudestStreamVolumeLevel, _init_microphoneVolumeLevel, _init_isWifiConnected, _init_dialogConfig, _init_networkState, _init_performanceState, _init_localAudioStreamMap, _init_remoteAudioStreamMap, _init_localVideoStreamMap, _init_remoteVideoStreamMap, _init_systemMemorySize, _init_systemCpuDesc, _init_setting, _init_config, _init_getSystemInfoTimer, _setDialogConfigDecs, _setSettingDecs, _onEventDecs, _onNetworkStatsUpdatedDecs, _calculateSystemInfoDecs, _getSystemInformationDecs, _clearGetSystemInfoIntervalDecs, _closeDialogDecs, _onLocalAudioStatsUpdatedDecs, _onRemoteAudioStatsUpdatedDecs, _onLocalVideoStatsUpdatedDecs, _onRemoteVideoStatsUpdatedDecs, _onStreamsUpdatedDecs, _onStreamsRemovedDecs, _onPerformanceUpdatedDecs, _onAudioVolumeUpdatedDecs, _preHandleSettingDecs, _ref;
105
+ var _initProto, _init_loudestStreamVolumeLevel, _init_microphoneVolumeLevel, _init_isWifiConnected, _init_dialogConfig, _init_networkState, _init_performanceState, _init_localAudioStreamMap, _init_remoteAudioStreamMap, _init_localVideoStreamMap, _init_remoteVideoStreamMap, _init_systemMemorySize, _init_systemCpuDesc, _init_setting, _init_config, _init_getSystemInfoTimer, _setDialogConfigDecs, _setSettingDecs, _onEventDecs, _onNetworkStatsUpdatedDecs, _calculateSystemInfoDecs, _getSystemInformationDecs, _clearGetSystemInfoIntervalDecs, _closeDialogDecs, _onLocalAudioStatsUpdatedDecs, _onRemoteAudioStatsUpdatedDecs, _onLocalVideoStatsUpdatedDecs, _onRemoteVideoStatsUpdatedDecs, _onStreamsAddedDecs, _onStreamsUpdatedDecs, _onStreamsRemovedDecs, _onPerformanceUpdatedDecs, _onAudioVolumeUpdatedDecs, _preHandleSettingDecs, _ref;
105
106
  function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
106
107
  function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
107
108
  function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
@@ -142,7 +143,7 @@ var _L = /*#__PURE__*/new WeakMap();
142
143
  var _M = /*#__PURE__*/new WeakMap();
143
144
  var _N = /*#__PURE__*/new WeakMap();
144
145
  var _O = /*#__PURE__*/new WeakMap();
145
- _ref = (_setDialogConfigDecs = [_mobx.action, _mobx.action.bound], _setSettingDecs = [_mobx.action, _mobx.action.bound], _onEventDecs = [_mobx.action, _mobx.action.bound], _onNetworkStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _calculateSystemInfoDecs = [_mobx.action, _mobx.action.bound], _getSystemInformationDecs = [_mobx.action, _mobx.action.bound], _clearGetSystemInfoIntervalDecs = [_mobx.action, _mobx.action.bound], _closeDialogDecs = [_mobx.action, _mobx.action.bound], _onLocalAudioStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onRemoteAudioStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onLocalVideoStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onRemoteVideoStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onStreamsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onStreamsRemovedDecs = [_mobx.action, _mobx.action.bound], _onPerformanceUpdatedDecs = [_mobx.action, _mobx.action.bound], _onAudioVolumeUpdatedDecs = [_mobx.action, _mobx.action.bound], _preHandleSettingDecs = [_mobx.action, _mobx.action.bound], "logger");
146
+ _ref = (_setDialogConfigDecs = [_mobx.action, _mobx.action.bound], _setSettingDecs = [_mobx.action, _mobx.action.bound], _onEventDecs = [_mobx.action, _mobx.action.bound], _onNetworkStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _calculateSystemInfoDecs = [_mobx.action, _mobx.action.bound], _getSystemInformationDecs = [_mobx.action, _mobx.action.bound], _clearGetSystemInfoIntervalDecs = [_mobx.action, _mobx.action.bound], _closeDialogDecs = [_mobx.action, _mobx.action.bound], _onLocalAudioStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onRemoteAudioStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onLocalVideoStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onRemoteVideoStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onStreamsAddedDecs = [_mobx.action, _mobx.action.bound], _onStreamsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onStreamsRemovedDecs = [_mobx.action, _mobx.action.bound], _onPerformanceUpdatedDecs = [_mobx.action, _mobx.action.bound], _onAudioVolumeUpdatedDecs = [_mobx.action, _mobx.action.bound], _preHandleSettingDecs = [_mobx.action, _mobx.action.bound], "logger");
146
147
  var SettingStore = exports["default"] = /*#__PURE__*/function () {
147
148
  function SettingStore(_ref2) {
148
149
  var _defaultVideoGalleryS;
@@ -150,10 +151,10 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
150
151
  config = _ref2.config,
151
152
  uiEventStore = _ref2.uiEventStore,
152
153
  deviceStore = _ref2.deviceStore,
153
- monitorControl = _ref2.monitorControl,
154
154
  streamControl = _ref2.streamControl,
155
155
  roomControl = _ref2.roomControl,
156
- parameters = _ref2.parameters;
156
+ parameters = _ref2.parameters,
157
+ engine = _ref2.engine;
157
158
  (0, _classCallCheck2["default"])(this, SettingStore);
158
159
  (0, _defineProperty2["default"])(this, _ref, (_initProto(this), (0, _logger.getLogger)()));
159
160
  (0, _defineProperty2["default"])(this, "_disposers", []);
@@ -166,6 +167,7 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
166
167
  (0, _defineProperty2["default"])(this, "_streamVolumeMap", new Map());
167
168
  (0, _defineProperty2["default"])(this, "_volumeIndicationInterval", _schedule.AgoraScheduler.Duration.second(2));
168
169
  (0, _defineProperty2["default"])(this, "_useDefaultAudioEchoCancellation", true);
170
+ (0, _defineProperty2["default"])(this, "_streamInfoList", new Map());
169
171
  _classPrivateFieldInitSpec(this, _A, _init_loudestStreamVolumeLevel(this, 0));
170
172
  _classPrivateFieldInitSpec(this, _B, _init_microphoneVolumeLevel(this, 0));
171
173
  _classPrivateFieldInitSpec(this, _C, _init_isWifiConnected(this, false));
@@ -210,7 +212,7 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
210
212
  _classPrivateFieldInitSpec(this, _N, _init_config(this, undefined));
211
213
  _classPrivateFieldInitSpec(this, _O, _init_getSystemInfoTimer(this, null));
212
214
  this._mediaControl = mediaControl;
213
- this._monitorControl = monitorControl;
215
+ this._monitorControl = engine.getMonitorControl();
214
216
  this._streamControl = streamControl;
215
217
  this._roomControl = roomControl;
216
218
  this.config = config;
@@ -255,6 +257,7 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
255
257
  onRemoteVideoStatsUpdated: this._onRemoteVideoStatsUpdated,
256
258
  onStreamsRemoved: this._onStreamsRemoved,
257
259
  onStreamsUpdated: this._onStreamsUpdated,
260
+ onStreamsAdded: this._onStreamsAdded,
258
261
  onStreamVolumeIndicationUpdated: this._onAudioVolumeUpdated
259
262
  });
260
263
  this.startMicrophoneTest = this.startMicrophoneTest.bind(this);
@@ -580,6 +583,15 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
580
583
  return _this.setting;
581
584
  }, function (setting) {
582
585
  _this._uiEventStore.notifyCustomSettingsChanged(setting);
586
+ }), (0, _mobx.reaction)(function () {
587
+ return _this.setting.shouldHideNonVideoParticipants;
588
+ }, function (shouldHideNonVideoParticipants) {
589
+ if (shouldHideNonVideoParticipants) {
590
+ _this._uiEventStore.showToast({
591
+ type: 'normal',
592
+ message: (0, _i18n.transI18n)('fmt_internalsetting_other_hide_no_video_toast')
593
+ });
594
+ }
583
595
  }), (0, _mobx.reaction)(function () {
584
596
  return _this.dialogConfig.activeTab;
585
597
  }, function (activeTab) {
@@ -1023,7 +1035,7 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
1023
1035
  }, {
1024
1036
  key: "_onLocalVideoStatsUpdated",
1025
1037
  value: function _onLocalVideoStatsUpdated(roomId, streamId, stats) {
1026
- var streamInfo = this._streamControl.getStreamByStreamId(streamId);
1038
+ var streamInfo = this._streamInfoList.get(streamId);
1027
1039
  if (streamInfo) {
1028
1040
  // console.log('onLocalVideoStatsUpdated', streamId, stats, streamInfo);
1029
1041
  if (streamInfo.videoSourceState === _fcrCore.FcrMediaSourceState.OPEN) {
@@ -1037,7 +1049,7 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
1037
1049
  }, {
1038
1050
  key: "_onRemoteVideoStatsUpdated",
1039
1051
  value: function _onRemoteVideoStatsUpdated(roomId, streamId, stats) {
1040
- var streamInfo = this._streamControl.getStreamByStreamId(streamId);
1052
+ var streamInfo = this._streamInfoList.get(streamId);
1041
1053
  // console.log('onRemoteVideoStatsUpdated', streamId, stats, streamInfo);
1042
1054
  if ((streamInfo === null || streamInfo === void 0 ? void 0 : streamInfo.videoSourceState) === _fcrCore.FcrMediaSourceState.OPEN) {
1043
1055
  this.remoteVideoStreamMap.set(streamId, _objectSpread(_objectSpread({}, stats), {}, {
@@ -1047,14 +1059,29 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
1047
1059
  }
1048
1060
  }
1049
1061
  }, {
1050
- key: "_onStreamsUpdated",
1051
- value: function _onStreamsUpdated(roomId, events) {
1052
- // console.log('_onStreamsUpdated', events);
1062
+ key: "_onStreamsAdded",
1063
+ value: function _onStreamsAdded(roomId, events) {
1053
1064
  var _iterator = _createForOfIteratorHelper(events),
1054
1065
  _step;
1055
1066
  try {
1056
1067
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
1057
1068
  var event = _step.value;
1069
+ this._streamInfoList.set(event.modifiedStream.streamId, event.modifiedStream);
1070
+ }
1071
+ } catch (err) {
1072
+ _iterator.e(err);
1073
+ } finally {
1074
+ _iterator.f();
1075
+ }
1076
+ }
1077
+ }, {
1078
+ key: "_onStreamsUpdated",
1079
+ value: function _onStreamsUpdated(roomId, events) {
1080
+ var _iterator2 = _createForOfIteratorHelper(events),
1081
+ _step2;
1082
+ try {
1083
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
1084
+ var event = _step2.value;
1058
1085
  if (event.modifiedStream.audioSourceState !== _fcrCore.FcrMediaSourceState.OPEN) {
1059
1086
  this.localAudioStreamMap["delete"](event.modifiedStream.streamId);
1060
1087
  this.remoteAudioStreamMap["delete"](event.modifiedStream.streamId);
@@ -1064,32 +1091,33 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
1064
1091
  this.localVideoStreamMap["delete"](event.modifiedStream.streamId);
1065
1092
  this.remoteVideoStreamMap["delete"](event.modifiedStream.streamId);
1066
1093
  }
1094
+ this._streamInfoList.set(event.modifiedStream.streamId, event.modifiedStream);
1067
1095
  }
1068
1096
  } catch (err) {
1069
- _iterator.e(err);
1097
+ _iterator2.e(err);
1070
1098
  } finally {
1071
- _iterator.f();
1099
+ _iterator2.f();
1072
1100
  }
1073
1101
  }
1074
1102
  }, {
1075
1103
  key: "_onStreamsRemoved",
1076
1104
  value: function _onStreamsRemoved(roomId, events) {
1077
- // console.log('_onStreamsRemoved', events);
1078
- var _iterator2 = _createForOfIteratorHelper(events),
1079
- _step2;
1105
+ var _iterator3 = _createForOfIteratorHelper(events),
1106
+ _step3;
1080
1107
  try {
1081
- for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
1082
- var event = _step2.value;
1108
+ for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
1109
+ var event = _step3.value;
1083
1110
  this.localAudioStreamMap["delete"](event.modifiedStream.streamId);
1084
1111
  this.remoteAudioStreamMap["delete"](event.modifiedStream.streamId);
1085
1112
  this.localVideoStreamMap["delete"](event.modifiedStream.streamId);
1086
1113
  this.remoteVideoStreamMap["delete"](event.modifiedStream.streamId);
1087
1114
  this._streamVolumeMap["delete"](event.modifiedStream.streamId);
1115
+ this._streamInfoList["delete"](event.modifiedStream.streamId);
1088
1116
  }
1089
1117
  } catch (err) {
1090
- _iterator2.e(err);
1118
+ _iterator3.e(err);
1091
1119
  } finally {
1092
- _iterator2.f();
1120
+ _iterator3.f();
1093
1121
  }
1094
1122
  }
1095
1123
  }, {
@@ -1158,7 +1186,7 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
1158
1186
  }]);
1159
1187
  }();
1160
1188
  _SettingStore = SettingStore;
1161
- var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_SettingStore, [[_mobx.observable, 1, "loudestStreamVolumeLevel"], [_mobx.observable, 1, "microphoneVolumeLevel"], [_mobx.observable, 1, "isWifiConnected"], [_mobx.observable, 1, "dialogConfig"], [_mobx.observable, 1, "networkState"], [_mobx.observable, 1, "performanceState"], [_mobx.observable, 1, "localAudioStreamMap"], [_mobx.observable, 1, "remoteAudioStreamMap"], [_mobx.observable, 1, "localVideoStreamMap"], [_mobx.observable, 1, "remoteVideoStreamMap"], [_mobx.observable, 1, "systemMemorySize"], [_mobx.observable, 1, "systemCpuDesc"], [_mobx.observable, 1, "setting"], [_mobx.observable, 1, "config"], [_mobx.observable, 1, "getSystemInfoTimer"], [_mobx.computed, 3, "maxVideoSendInfo"], [_mobx.computed, 3, "maxVideoReceiveInfo"], [_mobx.computed, 3, "sendScreenShareInfo"], [_mobx.computed, 3, "receiveScreenShareInfo"], [_mobx.computed, 3, "microphoneVolumeDb"], [_mobx.computed, 3, "speakerVolumeDb"], [_mobx.computed, 3, "speakerTestVolumeLevel"], [_mobx.computed, 3, "microphoneTestVolumeLevel"], [_mobx.computed, 3, "speakerVolume"], [_mobx.computed, 3, "microphoneVolume"], [_mobx.computed, 3, "isLocalMirrorEnabled"], [_mobx.computed, 3, "isLocalEditBeautyOptions"], [_mobx.computed, 3, "currentBeautyKey"], [_mobx.computed, 3, "beautyOptions"], [_mobx.computed, 3, "cameraDeviceId"], [_mobx.computed, 3, "cameraEnabled"], [_mobx.computed, 3, "showForceOpenEffectDialog"], [_mobx.computed, 3, "currentVirtualBackgroundName"], [_mobx.computed, 3, "cameraDeviceList"], [_mobx.computed, 3, "microphoneDeviceId"], [_mobx.computed, 3, "speakerDeviceId"], [_mobx.computed, 3, "speakerDeviceList"], [_mobx.computed, 3, "microphoneDeviceList"], [_mobx.computed, 3, "enableBeauty"], [_mobx.computed, 3, "virtualBackgroundList"], [_mobx.computed, 3, "currentIsMirror"], [_mobx.computed, 3, "microphoneDetecting"], [_mobx.computed, 3, "speakerDetecting"], [_decorator.bound, 2, "enableVirtualBackground"], [_decorator.bound, 2, "setEditBeautyKey"], [_decorator.bound, 2, "enableBeautyEffect"], [_decorator.bound, 2, "_initReactions"], [_decorator.bound, 2, "setCameraDevice"], [_decorator.bound, 2, "setMicrophoneDevice"], [_decorator.bound, 2, "stopSpeakerTest"], [_decorator.bound, 2, "startSpeakerTest"], [_decorator.bound, 2, "setSpeakerDevice"], [_decorator.bound, 2, "setSpeakerVolume"], [_decorator.bound, 2, "setMicrophoneVolume"], [_decorator.bound, 2, "setVideoOrientation"], [_decorator.bound, 2, "setBeautyOptions"], [_decorator.bound, 2, "toggleLocalMirrorPreview"], [_decorator.bound, 2, "startVideo"], [_decorator.bound, 2, "stopVideo"], [_decorator.bound, 2, "handleForceOpenVideoEffect"], [_decorator.bound, 2, "handleCancelForceOpenVideoEffect"], [_decorator.bound, 2, "toggleLocalMirror"], [_decorator.bound, 2, "setSettingVideoOpened"], [_decorator.bound, 2, "_syncSystemInfo"], [_decorator.bound, 2, "startCameraTest"], [_decorator.bound, 2, "stopCameraTest"], [_setDialogConfigDecs, 18, "setDialogConfig"], [_setSettingDecs, 18, "setSetting"], [_onEventDecs, 18, "_onEvent"], [_onNetworkStatsUpdatedDecs, 18, "_onNetworkStatsUpdated"], [_calculateSystemInfoDecs, 18, "calculateSystemInfo"], [_getSystemInformationDecs, 18, "getSystemInformation"], [_clearGetSystemInfoIntervalDecs, 18, "clearGetSystemInfoInterval"], [_closeDialogDecs, 18, "closeDialog"], [_onLocalAudioStatsUpdatedDecs, 18, "_onLocalAudioStatsUpdated"], [_onRemoteAudioStatsUpdatedDecs, 18, "_onRemoteAudioStatsUpdated"], [_onLocalVideoStatsUpdatedDecs, 18, "_onLocalVideoStatsUpdated"], [_onRemoteVideoStatsUpdatedDecs, 18, "_onRemoteVideoStatsUpdated"], [_onStreamsUpdatedDecs, 18, "_onStreamsUpdated"], [_onStreamsRemovedDecs, 18, "_onStreamsRemoved"], [_onPerformanceUpdatedDecs, 18, "_onPerformanceUpdated"], [_decorator.bound, 2, "_handleCameraChanged"], [_decorator.bound, 2, "_handleCameraListUpdated"], [_onAudioVolumeUpdatedDecs, 18, "_onAudioVolumeUpdated"], [_preHandleSettingDecs, 18, "_preHandleSetting"]], []).e, 16);
1189
+ var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_SettingStore, [[_mobx.observable, 1, "loudestStreamVolumeLevel"], [_mobx.observable, 1, "microphoneVolumeLevel"], [_mobx.observable, 1, "isWifiConnected"], [_mobx.observable, 1, "dialogConfig"], [_mobx.observable, 1, "networkState"], [_mobx.observable, 1, "performanceState"], [_mobx.observable, 1, "localAudioStreamMap"], [_mobx.observable, 1, "remoteAudioStreamMap"], [_mobx.observable, 1, "localVideoStreamMap"], [_mobx.observable, 1, "remoteVideoStreamMap"], [_mobx.observable, 1, "systemMemorySize"], [_mobx.observable, 1, "systemCpuDesc"], [_mobx.observable, 1, "setting"], [_mobx.observable, 1, "config"], [_mobx.observable, 1, "getSystemInfoTimer"], [_mobx.computed, 3, "maxVideoSendInfo"], [_mobx.computed, 3, "maxVideoReceiveInfo"], [_mobx.computed, 3, "sendScreenShareInfo"], [_mobx.computed, 3, "receiveScreenShareInfo"], [_mobx.computed, 3, "microphoneVolumeDb"], [_mobx.computed, 3, "speakerVolumeDb"], [_mobx.computed, 3, "speakerTestVolumeLevel"], [_mobx.computed, 3, "microphoneTestVolumeLevel"], [_mobx.computed, 3, "speakerVolume"], [_mobx.computed, 3, "microphoneVolume"], [_mobx.computed, 3, "isLocalMirrorEnabled"], [_mobx.computed, 3, "isLocalEditBeautyOptions"], [_mobx.computed, 3, "currentBeautyKey"], [_mobx.computed, 3, "beautyOptions"], [_mobx.computed, 3, "cameraDeviceId"], [_mobx.computed, 3, "cameraEnabled"], [_mobx.computed, 3, "showForceOpenEffectDialog"], [_mobx.computed, 3, "currentVirtualBackgroundName"], [_mobx.computed, 3, "cameraDeviceList"], [_mobx.computed, 3, "microphoneDeviceId"], [_mobx.computed, 3, "speakerDeviceId"], [_mobx.computed, 3, "speakerDeviceList"], [_mobx.computed, 3, "microphoneDeviceList"], [_mobx.computed, 3, "enableBeauty"], [_mobx.computed, 3, "virtualBackgroundList"], [_mobx.computed, 3, "currentIsMirror"], [_mobx.computed, 3, "microphoneDetecting"], [_mobx.computed, 3, "speakerDetecting"], [_decorator.bound, 2, "enableVirtualBackground"], [_decorator.bound, 2, "setEditBeautyKey"], [_decorator.bound, 2, "enableBeautyEffect"], [_decorator.bound, 2, "_initReactions"], [_decorator.bound, 2, "setCameraDevice"], [_decorator.bound, 2, "setMicrophoneDevice"], [_decorator.bound, 2, "stopSpeakerTest"], [_decorator.bound, 2, "startSpeakerTest"], [_decorator.bound, 2, "setSpeakerDevice"], [_decorator.bound, 2, "setSpeakerVolume"], [_decorator.bound, 2, "setMicrophoneVolume"], [_decorator.bound, 2, "setVideoOrientation"], [_decorator.bound, 2, "setBeautyOptions"], [_decorator.bound, 2, "toggleLocalMirrorPreview"], [_decorator.bound, 2, "startVideo"], [_decorator.bound, 2, "stopVideo"], [_decorator.bound, 2, "handleForceOpenVideoEffect"], [_decorator.bound, 2, "handleCancelForceOpenVideoEffect"], [_decorator.bound, 2, "toggleLocalMirror"], [_decorator.bound, 2, "setSettingVideoOpened"], [_decorator.bound, 2, "_syncSystemInfo"], [_decorator.bound, 2, "startCameraTest"], [_decorator.bound, 2, "stopCameraTest"], [_setDialogConfigDecs, 18, "setDialogConfig"], [_setSettingDecs, 18, "setSetting"], [_onEventDecs, 18, "_onEvent"], [_onNetworkStatsUpdatedDecs, 18, "_onNetworkStatsUpdated"], [_calculateSystemInfoDecs, 18, "calculateSystemInfo"], [_getSystemInformationDecs, 18, "getSystemInformation"], [_clearGetSystemInfoIntervalDecs, 18, "clearGetSystemInfoInterval"], [_closeDialogDecs, 18, "closeDialog"], [_onLocalAudioStatsUpdatedDecs, 18, "_onLocalAudioStatsUpdated"], [_onRemoteAudioStatsUpdatedDecs, 18, "_onRemoteAudioStatsUpdated"], [_onLocalVideoStatsUpdatedDecs, 18, "_onLocalVideoStatsUpdated"], [_onRemoteVideoStatsUpdatedDecs, 18, "_onRemoteVideoStatsUpdated"], [_onStreamsAddedDecs, 18, "_onStreamsAdded"], [_onStreamsUpdatedDecs, 18, "_onStreamsUpdated"], [_onStreamsRemovedDecs, 18, "_onStreamsRemoved"], [_onPerformanceUpdatedDecs, 18, "_onPerformanceUpdated"], [_decorator.bound, 2, "_handleCameraChanged"], [_decorator.bound, 2, "_handleCameraListUpdated"], [_onAudioVolumeUpdatedDecs, 18, "_onAudioVolumeUpdated"], [_preHandleSettingDecs, 18, "_preHandleSetting"]], []).e, 16);
1162
1190
  _init_loudestStreamVolumeLevel = _applyDecs$e[0];
1163
1191
  _init_microphoneVolumeLevel = _applyDecs$e[1];
1164
1192
  _init_isWifiConnected = _applyDecs$e[2];
@@ -40,6 +40,8 @@
40
40
 
41
41
  .fcr-translate-settings__interpreter-mode {
42
42
  display: flex;
43
- justify-content: space-evenly;
44
43
  padding: 12px;
44
+ flex-direction: column;
45
+ height: 100px;
46
+ justify-content: space-between;
45
47
  }
@@ -57,7 +57,7 @@
57
57
  z-index: 10;
58
58
  right: 6px;
59
59
  bottom: 6px;
60
- border-radius: var(--fcr_cornerradius_s);
60
+ border-radius: var(--fcr_cornerradius_xs);
61
61
  background: var(--fcr_ui_scene_click);
62
62
  }
63
63
 
@@ -170,12 +170,13 @@
170
170
  .fcr-device-settings-video__tips {
171
171
  background-color: var(--fcr_mobile_ui_scene_color_popup_block5);
172
172
  border-radius: var(--fcr_cornerradius_s);
173
- height: 32px;
173
+ line-height: 14px;
174
174
  display: flex;
175
175
  align-items: center;
176
176
  justify-content: center;
177
177
  margin: 20px 0px;
178
178
  color: var(--fcr_ui_scene_icontext7);
179
+ padding: 10px;
179
180
  }
180
181
 
181
182
  .fcr-virtual-background-setting__virtual-list {
@@ -217,6 +218,7 @@
217
218
  justify-content: center;
218
219
  background-color: var(--fcr_web_ui_scene_fill4_popup);
219
220
  flex-direction: column;
221
+ padding: 0 10px;
220
222
  }
221
223
 
222
224
  .fcr-virtual-background-setting__virtual-item:not(:first-child):hover
@@ -302,6 +304,7 @@
302
304
  line-height: 12px;
303
305
  color: var(--fcr_ui_scene_icontext1);
304
306
  padding: 10px 0px 8px;
307
+ cursor: default;
305
308
  }
306
309
 
307
310
  .fcr-beauty-setting__card-title-disable {
@@ -15,14 +15,13 @@ var _eventStore = require("../../common/event-store");
15
15
  var _dialog = require("../dialog");
16
16
  var _deviceStore = require("../../common/device-store");
17
17
  var _roomStore = require("../../common/room-store");
18
- var _remoteRenderer = require("../../common/remote-renderer");
19
18
  var _jsxRuntime = require("react/jsx-runtime");
20
19
  var App = (0, _root.hot)(function () {
21
20
  return null;
22
21
  });
23
22
  _reactDom["default"].render(/*#__PURE__*/(0, _jsxRuntime.jsx)(App, {}), document.querySelector('#root'));
24
23
  window.__DEV_ENGINE_IS_READY__.then(/*#__PURE__*/(0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee() {
25
- var engine, roomId, token, roomControl, userName, deviceStore, uiEventStore, securityStore, dialogModule, uiModule, App;
24
+ var engine, roomId, token, roomControl, userName, deviceStore, uiEventStore, securityStore, config, dialogModule, uiModule, App;
26
25
  return _regenerator["default"].wrap(function _callee$(_context) {
27
26
  while (1) switch (_context.prev = _context.next) {
28
27
  case 0:
@@ -45,29 +44,31 @@ window.__DEV_ENGINE_IS_READY__.then(/*#__PURE__*/(0, _asyncToGenerator2["default
45
44
  });
46
45
  case 10:
47
46
  uiEventStore = new _eventStore.FcrUIEventStore();
48
- securityStore = new _securityStore.FcrSecurityStore(roomControl.getPrivilegeControl(), roomControl.getUserControl(), roomControl.getStreamControl(), roomControl.getRoomSessionControl(), uiEventStore);
49
- dialogModule = new _dialog.DialogUIModule({
50
- uiEventStore: uiEventStore,
51
- userInfo: roomControl.getUserControl().getLocalUser(),
47
+ securityStore = new _securityStore.FcrSecurityStore(roomControl.getPrivilegeControl(), roomControl.getUserControl(), roomControl.getStreamControl(), uiEventStore);
48
+ config = {
49
+ mediaControl: engine.getDesktopMediaControl(),
50
+ roomControl: roomControl,
52
51
  securityStore: securityStore,
53
- userControl: roomControl.getUserControl(),
54
- chatRoomControl: roomControl.getChatRoomControl(),
55
52
  deviceStore: deviceStore,
53
+ uiEventStore: uiEventStore,
54
+ roomStore: new _roomStore.FcrRoomStore(uiEventStore, deviceStore, {}, engine),
56
55
  streamControl: roomControl.getStreamControl(),
57
- remoteVideoRenderManager: new _remoteRenderer.FcrRemoteVideoRenderManager(roomControl.getStreamControl())
58
- });
56
+ userControl: roomControl.getUserControl(),
57
+ privilegeControl: roomControl.getPrivilegeControl(),
58
+ interpreterControl: roomControl.getInterpreterControl(),
59
+ chatRoomControl: roomControl.getChatRoomControl(),
60
+ engine: null,
61
+ remoteVideoRenderManager: null,
62
+ config: null,
63
+ parameters: null,
64
+ deviceStreamStore: null
65
+ };
66
+ dialogModule = new _dialog.DialogUIModule(config);
59
67
  uiModule = new _.ShareScreenUIModule({
60
68
  roomControl: roomControl,
61
69
  mediaControl: engine.getDesktopMediaControl(),
62
70
  deviceStore: deviceStore,
63
- deviceStreamStore: new _deviceStreamStore.FcrDeviceStreamStore({
64
- mediaControl: engine.getDesktopMediaControl(),
65
- roomControl: roomControl,
66
- securityStore: securityStore,
67
- deviceStore: deviceStore,
68
- uiEventStore: uiEventStore,
69
- roomStore: new _roomStore.FcrRoomStore(uiEventStore, deviceStore, {}, engine)
70
- }),
71
+ deviceStreamStore: new _deviceStreamStore.FcrDeviceStreamStore(config),
71
72
  securityStore: securityStore,
72
73
  uiEventStore: uiEventStore,
73
74
  config: {}
@@ -83,7 +84,7 @@ window.__DEV_ENGINE_IS_READY__.then(/*#__PURE__*/(0, _asyncToGenerator2["default
83
84
  });
84
85
  });
85
86
  _reactDom["default"].render(/*#__PURE__*/(0, _jsxRuntime.jsx)(App, {}), document.querySelector('#root'));
86
- case 16:
87
+ case 17:
87
88
  case "end":
88
89
  return _context.stop();
89
90
  }
@@ -20,6 +20,8 @@
20
20
  -webkit-app-region: no-drag;
21
21
  background-color: #fff;
22
22
  border-radius: var(--fcr_cornerradius_l);
23
+ display: flex;
24
+ flex-direction: column;
23
25
  }
24
26
 
25
27
  .share-selection-window__share-content {