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
@@ -125,7 +125,7 @@
125
125
  opacity: 1;
126
126
  }
127
127
  .fcr-member-window-pin {
128
- display: flex;
128
+ display: none;
129
129
  justify-content: center;
130
130
  align-items: center;
131
131
  position: absolute;
@@ -135,12 +135,13 @@
135
135
  height: 26px;
136
136
  border-radius: var(--fcr_cornerradius_xs);
137
137
  background-color: var(--fcr_ui_scene_view_toast);
138
- opacity: 0;
139
- transition: opacity 0.2s;
138
+ /* opacity: 0; */
139
+ /* transition: opacity 0.2s; */
140
140
  z-index: 3;
141
141
  }
142
142
  .fcr-member-window-pin-show {
143
- opacity: 1;
143
+ /* opacity: 1; */
144
+ display: flex;
144
145
  }
145
146
  .fcr-member-board:hover .fcr-user-window-actions-top,
146
147
  .fcr-member-window:hover .fcr-user-window-actions-top {
@@ -160,6 +161,11 @@
160
161
  margin-left: 0px;
161
162
  display: flex;
162
163
  }
164
+
165
+ .fcr-member-window-members-sharebtn-large {
166
+ height: 24px;
167
+ margin-right: 6px;
168
+ }
163
169
  /* fcr-member-window-action start */
164
170
 
165
171
  .fcr-user-window-actions {
@@ -199,7 +205,7 @@
199
205
  overflow: hidden;
200
206
  }
201
207
  .fcr-user-window-actions-bottom-layout-info {
202
- border-radius: var(--fcr_cornerradius_xxs);
208
+ border-radius: var(--fcr_cornerradius_xs);
203
209
  background-color: var(--fcr_ui_scene_view_toast);
204
210
  display: inline-flex;
205
211
  align-items: center;
@@ -218,13 +224,12 @@
218
224
  }
219
225
  .fcr-member-window-gallery .fcr-user-window-actions-bottom {
220
226
  height: 24px;
221
- border-radius: var(--fcr_cornerradius_s);
222
227
  font-size: 12px;
223
228
  }
224
229
 
225
230
  .fcr-user-window-actions-tag {
226
231
  height: 18px;
227
- border-radius: var(--fcr_cornerradius_xxs);
232
+ border-radius: var(--fcr_cornerradius_xs);
228
233
  display: inline-flex;
229
234
  align-items: center;
230
235
  white-space: nowrap;
@@ -232,14 +237,14 @@
232
237
 
233
238
  .fcr-member-window-gallery .fcr-user-window-actions-tag {
234
239
  height: 24px;
235
- border-radius: var(--fcr_cornerradius_s);
240
+ border-radius: var(--fcr_cornerradius_xs);
236
241
  }
237
242
 
238
243
  .fcr-user-window-actions-tag-host {
239
244
  color: var(--fcr_ui_scene_white10);
240
245
  background: linear-gradient(90deg, #4262ff, #7c79ff);
241
246
  padding: 0 8px;
242
- margin-right: 10px;
247
+ /* margin-right: 10px; */
243
248
  }
244
249
 
245
250
  .fcr-user-window-actions-tag-host:has(svg) {
@@ -306,6 +311,10 @@
306
311
  text-overflow: ellipsis;
307
312
  }
308
313
 
314
+ .fcr-user-window-actions-bottom .fcr-user-window-actions-name.ml-5 {
315
+ margin-left: 5px;
316
+ }
317
+
309
318
  .fcr-user-window-actions-name-isme {
310
319
  font-weight: normal;
311
320
  }
@@ -321,6 +330,10 @@
321
330
  display: block;
322
331
  }
323
332
 
333
+ .member-window-actions__more-actions {
334
+ padding: 0;
335
+ }
336
+
324
337
  /* .fcr-member-window-gallery .fcr-user-window-actions-name {
325
338
  padding: 0 4px;
326
339
  } */
@@ -571,14 +571,15 @@ var MemberWindowActions = exports.MemberWindowActions = (0, _mobxReact.observer)
571
571
  className: (0, _classnames["default"])('fcr-user-window-actions-bottom-layout'),
572
572
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
573
573
  className: (0, _classnames["default"])('fcr-member-window-members-sharebtn', {
574
- 'fcr-member-window-members-sharebtn-show': hasScreenSharing
574
+ 'fcr-member-window-members-sharebtn-show': hasScreenSharing,
575
+ 'fcr-member-window-members-sharebtn-large': windowSize === 'large'
575
576
  }),
576
577
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
577
578
  type: _type.FcrIconType.FCR_MOBILE_SHARESCREEN,
578
579
  colors: {
579
580
  iconPrimary: 'var(--fcr_ui_scene_white10)'
580
581
  },
581
- size: 18
582
+ size: windowSize === 'large' ? 24 : 18
582
583
  })
583
584
  }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
584
585
  className: "fcr-user-window-actions-bottom-layout-info",
@@ -654,7 +655,9 @@ var MemberWindowActions = exports.MemberWindowActions = (0, _mobxReact.observer)
654
655
  })
655
656
  }) : null]
656
657
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
657
- className: "fcr-user-window-actions-name",
658
+ className: (0, _classnames["default"])('fcr-user-window-actions-name', {
659
+ 'ml-5': isManager || isShowInterpreterTag
660
+ }),
658
661
  children: suffixedName
659
662
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
660
663
  className: "fcr-user-window-actions-name-isme",
@@ -699,6 +702,16 @@ var MemberWindowActions = exports.MemberWindowActions = (0, _mobxReact.observer)
699
702
  trigger: "click",
700
703
  visible: isShowDropMenu,
701
704
  onVisibleChange: onVisibleChange,
705
+ overlayInnerStyle: {
706
+ border: 0,
707
+ boxShadow: '0px 0px 15px var(--fcr_web_light_dropup_m)',
708
+ borderRadius: 'var(--fcr_cornerradius_l)',
709
+ minWidth: '210px',
710
+ maxWidth: '300px',
711
+ width: 'fit-content'
712
+ },
713
+ overlayClassName: "member-window-actions__more-actions",
714
+ mouseEnterDelay: 0,
702
715
  content: /*#__PURE__*/(0, _jsxRuntime.jsx)(_participantsMore.FcrParticipantsMoreActions, {
703
716
  userType: userType,
704
717
  hasPinnedStream: hasPinnedStream,
@@ -33,7 +33,7 @@ export interface LayoutStoreParams {
33
33
  mediaControl: FcrDesktopMediaControl;
34
34
  securityStore: FcrSecurityStore;
35
35
  chatRoomControl: FcrChatRoomControl;
36
- whiteBoardControl: FcrWhiteboardControl;
36
+ whiteboardControl: FcrWhiteboardControl;
37
37
  privilegeControl: FcrPrivilegeControl;
38
38
  interpreterControl: FcrInterpreterControl;
39
39
  roomControl: FcrBaseRoomControl;
@@ -244,7 +244,7 @@ var LayoutStore = exports["default"] = /*#__PURE__*/function () {
244
244
  this._userControl = params.userControl;
245
245
  this._streamControl = params.streamControl;
246
246
  this._chatRoomControl = chatRoomControl;
247
- this._whiteBoardControl = params.whiteBoardControl;
247
+ this._whiteBoardControl = params.whiteboardControl;
248
248
  this._privilegeControl = params.privilegeControl;
249
249
  this._interpreterControl = interpreterControl;
250
250
  this._roomControl = roomControl;
@@ -1136,12 +1136,6 @@ var LayoutStore = exports["default"] = /*#__PURE__*/function () {
1136
1136
  shouldHideNonVideoParticipants = _ref10.shouldHideNonVideoParticipants;
1137
1137
  this.shouldHideNonVideoParticipants = shouldHideNonVideoParticipants;
1138
1138
  this.enableSpotlight = spotlightEnabled;
1139
- if (shouldHideNonVideoParticipants) {
1140
- this._uiEventStore.showToast({
1141
- type: 'info',
1142
- message: (0, _i18n.transI18n)('fmt_internalsetting_other_hide_no_video_toast')
1143
- });
1144
- }
1145
1139
  }
1146
1140
  if (action === _constant.UIAction.WHITEBOARD_CHANGED) {
1147
1141
  var _ref11 = payload,
@@ -674,22 +674,30 @@ var FcrUIVideoWindowDataSource = exports.FcrUIVideoWindowDataSource = /*#__PURE_
674
674
  var handleStreamInfoUpdated = function handleStreamInfoUpdated(stream, list, limitCount, placement) {
675
675
  var existedUserStream = list[_this4._findItemIndexWithWindowId(stream.streamId, list)];
676
676
  if (existedUserStream) {
677
+ var oldSortingPriority = existedUserStream.sortingPriority;
677
678
  if (param.connectorType === _fcrCore.FcrRoomConnectorType.PSTN) {
678
679
  existedUserStream.setAudioStream(stream);
679
680
  } else {
680
681
  existedUserStream.setVideoStream(stream);
681
682
  }
682
- var index = _this4._insertByPriority(existedUserStream, list, limitCount);
683
- _this4._observer.notifyObservers(placement === 'main-list' ? 'onMainListUpdated' : 'onFoldListUpdated', index);
683
+ var newSortingPriority = existedUserStream.sortingPriority;
684
+ if (oldSortingPriority !== newSortingPriority) {
685
+ var index = _this4._insertByPriority(existedUserStream, list, limitCount);
686
+ _this4._observer.notifyObservers(placement === 'main-list' ? 'onMainListUpdated' : 'onFoldListUpdated', index);
687
+ }
684
688
  }
685
689
  };
686
690
  var handleUserInfoUpdated = function handleUserInfoUpdated(user, list, limitCount, placement) {
687
691
  var modifiedItems = [];
688
692
  list.forEach(function (item) {
689
693
  if (item.userId === user.userId) {
694
+ var oldSortingPriority = item.sortingPriority;
690
695
  item.setVideoStreamOwnerInfo(user);
691
696
  item.setAudioStreamOwnerInfo(user);
692
- modifiedItems.push(item);
697
+ var newSortingPriority = item.sortingPriority;
698
+ if (oldSortingPriority !== newSortingPriority) {
699
+ modifiedItems.push(item);
700
+ }
693
701
  }
694
702
  });
695
703
  modifiedItems.forEach(function (item) {
@@ -3,6 +3,7 @@
3
3
  border-radius: 10px;
4
4
  position: relative;
5
5
  z-index: 9999;
6
+ padding: 13px 0 0 10px;
6
7
  }
7
8
 
8
9
  .waiting-room-confirm-dialog .fcr-dialog-body {
@@ -14,4 +14,5 @@
14
14
  }
15
15
  .attendee__more-actions {
16
16
  max-width: 300px;
17
+ padding: 0;
17
18
  }
@@ -423,7 +423,8 @@ var ParticipantAttendee = exports.ParticipantAttendee = (0, _mobxReact.observer)
423
423
  userId: userId
424
424
  }), videoDeviceType !== 'none' && activeTab === _constant.RoomType.MAIN_ROOM && /*#__PURE__*/(0, _jsxRuntime.jsx)(_cameraState.CameraState, {
425
425
  isCameraMuted: !hasVideo,
426
- size: 28
426
+ size: 28,
427
+ renderIconType: 'surface'
427
428
  })]
428
429
  }), userActions()]
429
430
  }, userId);
@@ -31,6 +31,7 @@
31
31
  background-color: transparent;
32
32
  padding: 0px 4px;
33
33
  width: auto !important;
34
+ border-radius: var(--fcr_cornerradius_xxs);
34
35
  }
35
36
  .room-control-options-watermark-btn--active {
36
37
  background-color: #ffffff;
@@ -52,7 +52,7 @@ var RoomControlDropMenu = exports.RoomControlDropMenu = (0, _mobxReact.observer)
52
52
  hasRevokeHostPermission = _useContext.hasRevokeHostPermission;
53
53
  var allActions = [{
54
54
  title: /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
55
- defaultChecked: false,
55
+ checked: false,
56
56
  label: t('fmt_security_buttons_allhandsdown'),
57
57
  styleType: "white"
58
58
  }),
@@ -61,7 +61,7 @@ var RoomControlDropMenu = exports.RoomControlDropMenu = (0, _mobxReact.observer)
61
61
  classNames: 'room-control-drop-with-under-line'
62
62
  }, {
63
63
  title: /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
64
- defaultChecked: allowJoinWithMuteAudio,
64
+ checked: allowJoinWithMuteAudio,
65
65
  label: t('fmt_security_options_silence'),
66
66
  styleType: "white"
67
67
  }),
@@ -72,7 +72,7 @@ var RoomControlDropMenu = exports.RoomControlDropMenu = (0, _mobxReact.observer)
72
72
  }
73
73
  }, {
74
74
  title: /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
75
- defaultChecked: false,
75
+ checked: false,
76
76
  label: t('fmt_security_options_playnotification'),
77
77
  styleType: "white"
78
78
  }),
@@ -83,7 +83,7 @@ var RoomControlDropMenu = exports.RoomControlDropMenu = (0, _mobxReact.observer)
83
83
  }
84
84
  }, {
85
85
  title: /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
86
- defaultChecked: isLockRoomEnabled,
86
+ checked: isLockRoomEnabled,
87
87
  label: t('fmt_screenshare_controlbar_security_list_lock'),
88
88
  styleType: "white"
89
89
  }),
@@ -94,7 +94,7 @@ var RoomControlDropMenu = exports.RoomControlDropMenu = (0, _mobxReact.observer)
94
94
  }
95
95
  }, {
96
96
  title: /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
97
- defaultChecked: isWaitingRoomEnabled,
97
+ checked: isWaitingRoomEnabled,
98
98
  label: t('fmt_screenshare_options_allow'),
99
99
  styleType: "white"
100
100
  }),
@@ -110,7 +110,7 @@ var RoomControlDropMenu = exports.RoomControlDropMenu = (0, _mobxReact.observer)
110
110
  type: 'title'
111
111
  }, {
112
112
  title: /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
113
- defaultChecked: allowUnmuteSelfAudio,
113
+ checked: allowUnmuteSelfAudio,
114
114
  label: t('fmt_screenshare_controlbar_security_list_participant_unmute'),
115
115
  styleType: "white"
116
116
  }),
@@ -121,7 +121,7 @@ var RoomControlDropMenu = exports.RoomControlDropMenu = (0, _mobxReact.observer)
121
121
  }
122
122
  }, {
123
123
  title: /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
124
- defaultChecked: allowUnmuteSelfVideo,
124
+ checked: allowUnmuteSelfVideo,
125
125
  label: t('fmt_security_options_openvideo'),
126
126
  styleType: "white"
127
127
  }),
@@ -132,7 +132,7 @@ var RoomControlDropMenu = exports.RoomControlDropMenu = (0, _mobxReact.observer)
132
132
  }
133
133
  }, {
134
134
  title: /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
135
- defaultChecked: allowChangeSelfName,
135
+ checked: allowChangeSelfName,
136
136
  label: t('fmt_additional_label_change_name_self'),
137
137
  styleType: "white"
138
138
  }),
@@ -159,7 +159,7 @@ var RoomControlDropMenu = exports.RoomControlDropMenu = (0, _mobxReact.observer)
159
159
  if (hasRevokeHostPermission) {
160
160
  allActions.unshift({
161
161
  title: /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
162
- defaultChecked: false,
162
+ checked: false,
163
163
  label: t('fmt_security_options_restract'),
164
164
  styleType: "white"
165
165
  }),
@@ -2,6 +2,7 @@
2
2
  display: flex;
3
3
  flex-wrap: wrap;
4
4
  justify-content: center;
5
+ flex-direction: column;
5
6
  width: 100%;
6
7
  min-width: 320px;
7
8
  flex: 1;
@@ -82,3 +83,7 @@
82
83
  display: flex;
83
84
  flex: 1;
84
85
  }
86
+
87
+ .participants-container .fcr-tabs {
88
+ margin: 0 15px;
89
+ }
@@ -1,27 +1,12 @@
1
- import { FcrCoreEngine } from 'fcr-core';
2
1
  import { UIModule } from '../../base';
3
- import { FcrSecurityStore } from '../../common/security-store';
4
- import { FcrUIEventStore } from '../../common/event-store';
5
- import { FcrDeviceStore } from '../../common/device-store';
6
- import { FcrDeviceStreamStore } from '../../common/device-stream-store';
7
- import { FcrPeerSessionControl } from 'fcr-core/lib/peer-session/type';
8
- import { FcrInterpreterControl } from 'fcr-core/lib/room-control/interpreter-control/types';
9
2
  import { FcrMainRoomControl } from 'fcr-core/lib/room-control/type';
10
3
  import { OperateWaitingRoomMemberDialogProps } from './attendee';
11
- import { FcrRoomStore } from '../../common/room-store';
12
4
  import './index.css';
5
+ import { StoreConfig } from '../../type';
13
6
  export declare class ParticipantUIModule extends UIModule {
14
7
  private _store;
15
- constructor(args: {
8
+ constructor(args: StoreConfig & {
16
9
  roomControl: FcrMainRoomControl;
17
- engine: FcrCoreEngine;
18
- peerSessionControl: FcrPeerSessionControl;
19
- securityStore: FcrSecurityStore;
20
- uiEventStore: FcrUIEventStore;
21
- deviceStore: FcrDeviceStore;
22
- deviceStreamStore: FcrDeviceStreamStore;
23
- interpreterControl: FcrInterpreterControl;
24
- roomStore: FcrRoomStore;
25
10
  });
26
11
  getComponent(): import("react/jsx-runtime").JSX.Element;
27
12
  getWaitingRoomDialog(params: OperateWaitingRoomMemberDialogProps): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,20 @@
1
1
  "use strict";
2
2
 
3
+ require("core-js/modules/es.symbol.js");
4
+ require("core-js/modules/es.array.filter.js");
5
+ require("core-js/modules/es.array.for-each.js");
6
+ require("core-js/modules/es.array.push.js");
7
+ require("core-js/modules/es.object.define-properties.js");
8
+ require("core-js/modules/es.object.define-property.js");
9
+ require("core-js/modules/es.object.get-own-property-descriptor.js");
10
+ require("core-js/modules/es.object.get-own-property-descriptors.js");
11
+ require("core-js/modules/es.object.keys.js");
12
+ require("core-js/modules/esnext.async-iterator.filter.js");
13
+ require("core-js/modules/esnext.async-iterator.for-each.js");
14
+ require("core-js/modules/esnext.iterator.constructor.js");
15
+ require("core-js/modules/esnext.iterator.filter.js");
16
+ require("core-js/modules/esnext.iterator.for-each.js");
17
+ require("core-js/modules/web.dom-collections.for-each.js");
3
18
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
19
  var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
5
20
  require("core-js/modules/es.array.iterator.js");
@@ -13,6 +28,7 @@ require("core-js/modules/web.url-search-params.js");
13
28
  require("core-js/modules/web.url-search-params.delete.js");
14
29
  require("core-js/modules/web.url-search-params.has.js");
15
30
  require("core-js/modules/web.url-search-params.size.js");
31
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
16
32
  var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
17
33
  var _reactDom = _interopRequireDefault(require("react-dom"));
18
34
  var _root = require("react-hot-loader/root");
@@ -25,14 +41,15 @@ var _dialog = require("../dialog");
25
41
  var _deviceStore = require("../../common/device-store");
26
42
  var _deviceStreamStore = require("../../common/device-stream-store");
27
43
  var _roomStore = require("../../common/room-store");
28
- var _remoteRenderer = require("../../common/remote-renderer");
29
44
  var _jsxRuntime = require("react/jsx-runtime");
45
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
46
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
30
47
  var App = (0, _root.hot)(function () {
31
48
  return null;
32
49
  });
33
50
  _reactDom["default"].render(/*#__PURE__*/(0, _jsxRuntime.jsx)(App, {}), document.querySelector('#root'));
34
51
  window.__DEV_ENGINE_IS_READY__.then(/*#__PURE__*/(0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee() {
35
- var engine, urlParams, isAssistant, roomId, token, roomControl, userName, deviceStore, uiEventStore, securityStore, dialogModule, deviceStreamStore, uiModule, App;
52
+ var engine, urlParams, isAssistant, roomId, token, roomControl, userName, deviceStore, uiEventStore, securityStore, config, dialogModule, deviceStreamStore, uiModule, App;
36
53
  return _regenerator["default"].wrap(function _callee$(_context) {
37
54
  while (1) switch (_context.prev = _context.next) {
38
55
  case 0:
@@ -57,36 +74,30 @@ window.__DEV_ENGINE_IS_READY__.then(/*#__PURE__*/(0, _asyncToGenerator2["default
57
74
  });
58
75
  case 12:
59
76
  uiEventStore = new _eventStore.FcrUIEventStore();
60
- securityStore = new _securityStore.FcrSecurityStore(roomControl.getPrivilegeControl(), roomControl.getUserControl(), roomControl.getStreamControl(), roomControl.getRoomSessionControl(), uiEventStore);
61
- dialogModule = new _dialog.DialogUIModule({
62
- uiEventStore: uiEventStore,
63
- userInfo: roomControl.getUserControl().getLocalUser(),
64
- securityStore: securityStore,
65
- userControl: roomControl.getUserControl(),
66
- chatRoomControl: roomControl.getChatRoomControl(),
67
- deviceStore: deviceStore,
68
- streamControl: roomControl.getStreamControl(),
69
- remoteVideoRenderManager: new _remoteRenderer.FcrRemoteVideoRenderManager(roomControl.getStreamControl())
70
- });
71
- deviceStreamStore = new _deviceStreamStore.FcrDeviceStreamStore({
77
+ securityStore = new _securityStore.FcrSecurityStore(roomControl.getPrivilegeControl(), roomControl.getUserControl(), roomControl.getStreamControl(), uiEventStore);
78
+ config = {
72
79
  mediaControl: engine.getDesktopMediaControl(),
73
80
  roomControl: roomControl,
74
81
  securityStore: securityStore,
75
82
  deviceStore: deviceStore,
76
83
  uiEventStore: uiEventStore,
77
- roomStore: new _roomStore.FcrRoomStore(uiEventStore, deviceStore, {}, engine)
78
- });
79
- uiModule = new _.ParticipantUIModule({
80
- roomControl: roomControl,
81
- engine: engine,
82
- peerSessionControl: engine.getPeerSessionControl(),
83
- securityStore: securityStore,
84
- uiEventStore: uiEventStore,
85
- deviceStore: deviceStore,
86
- deviceStreamStore: deviceStreamStore,
87
84
  roomStore: new _roomStore.FcrRoomStore(uiEventStore, deviceStore, {}, engine),
88
- interpreterControl: null
89
- });
85
+ streamControl: roomControl.getStreamControl(),
86
+ userControl: roomControl.getUserControl(),
87
+ privilegeControl: roomControl.getPrivilegeControl(),
88
+ interpreterControl: roomControl.getInterpreterControl(),
89
+ chatRoomControl: roomControl.getChatRoomControl(),
90
+ engine: null,
91
+ remoteVideoRenderManager: null,
92
+ config: null,
93
+ parameters: null,
94
+ deviceStreamStore: null
95
+ };
96
+ dialogModule = new _dialog.DialogUIModule(config);
97
+ deviceStreamStore = new _deviceStreamStore.FcrDeviceStreamStore(config);
98
+ uiModule = new _.ParticipantUIModule(_objectSpread(_objectSpread({}, config), {}, {
99
+ deviceStreamStore: deviceStreamStore
100
+ }));
90
101
  App = (0, _root.hot)(function () {
91
102
  (0, _hooks.useUnmount)(function () {
92
103
  uiModule.release();
@@ -98,7 +109,7 @@ window.__DEV_ENGINE_IS_READY__.then(/*#__PURE__*/(0, _asyncToGenerator2["default
98
109
  });
99
110
  });
100
111
  _reactDom["default"].render(/*#__PURE__*/(0, _jsxRuntime.jsx)(App, {}), document.querySelector('#root'));
101
- case 19:
112
+ case 20:
102
113
  case "end":
103
114
  return _context.stop();
104
115
  }
@@ -1,20 +1,15 @@
1
- import { FcrCoreEngine, FcrPrivilegeUserRole } from 'fcr-core';
2
- import { FcrPeerSessionControl } from 'fcr-core/lib/peer-session/type';
1
+ import { FcrPrivilegeUserRole } from 'fcr-core';
3
2
  import { FcrUserInfo, FcrUserRole } from 'fcr-core/lib/type';
4
3
  import { RoomType } from '../../utilities/constant';
5
4
  import { ParticipantActionType, User } from 'agora-ui-foundation/lib/components/participants/attendee';
6
- import { FcrSecurityStore } from '../../common/security-store';
7
5
  import { DialogKey, RoomControlType } from '../../utilities/constant';
8
- import { FcrUIEventStore } from '../../common/event-store';
9
- import { FcrDeviceStore } from '../../common/device-store';
10
- import { FcrDeviceStreamStore } from '../../common/device-stream-store';
11
6
  import { FcrUIMemberData } from './type';
12
7
  import { FcrUserKickedOutType } from 'fcr-core/lib/room-control/user-control/type';
13
8
  import { FcrMainRoomControl } from 'fcr-core/lib/room-control/type';
14
- import { FcrInterpreterControl, FcrInterpreterUserInfo, FcrLanguage } from 'fcr-core/lib/room-control/interpreter-control/types';
9
+ import { FcrInterpreterUserInfo, FcrLanguage } from 'fcr-core/lib/room-control/interpreter-control/types';
15
10
  import { OperateWaitingRoomMemberDialogProps } from './attendee';
16
- import { FcrRoomStore } from '../../common/room-store';
17
11
  import { ConfirmContentProps } from 'agora-ui-foundation/lib/components/confirm-content';
12
+ import { StoreConfig } from '../../type';
18
13
  export default class ParticipantStore {
19
14
  protected logger: import("agora-foundation/lib/logger").Logger;
20
15
  private _interpreterControl;
@@ -87,16 +82,8 @@ export default class ParticipantStore {
87
82
  get userList(): User[];
88
83
  get localMicVolume(): number;
89
84
  get hasRevokeHostPermission(): boolean;
90
- constructor({ roomControl, peerSessionControl, securityStore, uiEventStore, deviceStore, deviceStreamStore, interpreterControl, roomStore, }: {
85
+ constructor({ roomControl, securityStore, uiEventStore, deviceStore, deviceStreamStore, roomStore, engine, }: StoreConfig & {
91
86
  roomControl: FcrMainRoomControl;
92
- engine: FcrCoreEngine;
93
- peerSessionControl: FcrPeerSessionControl;
94
- securityStore: FcrSecurityStore;
95
- uiEventStore: FcrUIEventStore;
96
- deviceStore: FcrDeviceStore;
97
- deviceStreamStore: FcrDeviceStreamStore;
98
- interpreterControl: FcrInterpreterControl;
99
- roomStore: FcrRoomStore;
100
87
  });
101
88
  setSpotlightStreamId(streamId: string): void;
102
89
  release(): void;
@@ -161,13 +161,12 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
161
161
  function ParticipantStore(_ref2) {
162
162
  var _this = this;
163
163
  var _roomControl = _ref2.roomControl,
164
- peerSessionControl = _ref2.peerSessionControl,
165
164
  securityStore = _ref2.securityStore,
166
165
  uiEventStore = _ref2.uiEventStore,
167
166
  deviceStore = _ref2.deviceStore,
168
167
  deviceStreamStore = _ref2.deviceStreamStore,
169
- interpreterControl = _ref2.interpreterControl,
170
- roomStore = _ref2.roomStore;
168
+ roomStore = _ref2.roomStore,
169
+ engine = _ref2.engine;
171
170
  (0, _classCallCheck2["default"])(this, ParticipantStore);
172
171
  (0, _defineProperty2["default"])(this, _ref, (_initProto(this), (0, _logger.getLogger)()));
173
172
  (0, _defineProperty2["default"])(this, "_dataSource", new _memberListDataSource.FcrUIMemberListDataSourceImpl());
@@ -375,14 +374,14 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
375
374
  });
376
375
  this._roomControl = _roomControl;
377
376
  this._streamControl = _roomControl.getStreamControl();
378
- this._peerSessionControl = peerSessionControl;
377
+ this._peerSessionControl = engine.getPeerSessionControl();
379
378
  this._userControl = _roomControl.getUserControl();
380
379
  this._securityStore = securityStore;
381
380
  this._uiEventStore = uiEventStore;
382
381
  this._deviceStore = deviceStore;
383
382
  this._deviceStreamStore = deviceStreamStore;
384
383
  this._roomStore = roomStore;
385
- this._interpreterControl = interpreterControl;
384
+ this._interpreterControl = _roomControl.getInterpreterControl();
386
385
  this._uiEventStore.addObserver(this._eventObserver);
387
386
  this._userControl.addObserver(this._userObserver);
388
387
  this._streamControl.addObserver(this._streamsObserver);
@@ -679,14 +678,14 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
679
678
  }, {
680
679
  key: "release",
681
680
  value: function release() {
682
- this._uiEventStore.addObserver(this._eventObserver);
683
- this._userControl.addObserver(this._userObserver);
684
- this._streamControl.addObserver(this._streamsObserver);
685
- this._peerSessionControl.addObserver(this._peerSessionObserver);
686
- this._roomControl.getBoardControl().addObserver(this._whitebaordObderver);
687
- this._interpreterControl.addObserver(this._interpreterObserver);
688
- this._roomControl.getPrivilegeControl().addObserver(this._privilegeControlObserver);
689
- this._roomStore.addObserver(this._roomStoreObserver);
681
+ this._uiEventStore.removeObserver(this._eventObserver);
682
+ this._userControl.removeObserver(this._userObserver);
683
+ this._streamControl.removeObserver(this._streamsObserver);
684
+ this._peerSessionControl.removeObserver(this._peerSessionObserver);
685
+ this._roomControl.getBoardControl().removeObserver(this._whitebaordObderver);
686
+ this._interpreterControl.removeObserver(this._interpreterObserver);
687
+ this._roomControl.getPrivilegeControl().removeObserver(this._privilegeControlObserver);
688
+ this._roomStore.removeObserver(this._roomStoreObserver);
690
689
  this._disposers.forEach(function (disposer) {
691
690
  return disposer();
692
691
  });
@@ -951,6 +950,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
951
950
  onCancel: function onCancel() {
952
951
  _this5._closeChangeNameDialog();
953
952
  },
953
+ closable: false,
954
954
  height: 190
955
955
  });
956
956
  this._changeNameDialogKey.push(key);
@@ -202,9 +202,9 @@ var AudioSettings = exports.AudioSettings = (0, _mobxReact.observer)(function ()
202
202
  label: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
203
203
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
204
204
  children: item.label
205
- }), item.addition && /*#__PURE__*/(0, _jsxRuntime.jsxs)("span", {
205
+ }), item.addition && /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
206
206
  className: ns.e('radio-label-addition'),
207
- children: ["\uFF08", item.addition, "\uFF09"]
207
+ children: item.addition
208
208
  })]
209
209
  })
210
210
  }, item.value);
@@ -217,16 +217,19 @@ var AudioSettings = exports.AudioSettings = (0, _mobxReact.observer)(function ()
217
217
  className: ns.e('section-title'),
218
218
  children: t('fmt_setting_label_professional')
219
219
  }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
220
- className: ns.e('switch-title'),
220
+ className: ns.e('switch-wrapper'),
221
221
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
222
222
  children: t('fmt_setting_option_orinalvoise')
223
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_switch.FcrSwitch, {
224
- value: setting.audioVoiceChanger,
225
- onChange: function onChange(v) {
226
- return setSetting({
227
- audioVoiceChanger: v
228
- });
229
- }
223
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
224
+ className: ns.e('switch-wrapper-switch'),
225
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_switch.FcrSwitch, {
226
+ value: setting.audioVoiceChanger,
227
+ onChange: function onChange(v) {
228
+ return setSetting({
229
+ audioVoiceChanger: v
230
+ });
231
+ }
232
+ })
230
233
  })]
231
234
  }), setting.audioVoiceChanger && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
232
235
  className: ns.e('options-section'),