fcr-ui-scene 3.4.1 → 3.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (567) hide show
  1. package/lib/base.d.ts +40 -5
  2. package/lib/base.js +237 -22
  3. package/lib/common/device-store.d.ts +14 -23
  4. package/lib/common/device-store.js +252 -361
  5. package/lib/common/device-stream-store.d.ts +14 -8
  6. package/lib/common/device-stream-store.js +116 -254
  7. package/lib/common/event-store.d.ts +10 -35
  8. package/lib/common/event-store.js +13 -64
  9. package/lib/common/security-store.d.ts +39 -47
  10. package/lib/common/security-store.js +379 -335
  11. package/lib/creator.d.ts +1 -1
  12. package/lib/creator.js +4 -9
  13. package/lib/electron/app.js +4 -2
  14. package/lib/electron/bootstrap-dev.js +0 -7
  15. package/lib/electron/bootstrap-sdk.js +10 -0
  16. package/lib/electron/injections.d.ts +2 -0
  17. package/lib/electron/injections.js +17 -2
  18. package/lib/electron/logger.d.ts +0 -4
  19. package/lib/electron/logger.js +2 -5
  20. package/lib/electron/main.js +1 -1
  21. package/lib/electron/plugins/devtool-shortcut.js +10 -1
  22. package/lib/electron/plugins/meeting-state.js +1 -1
  23. package/lib/electron/preload.js +3 -1
  24. package/lib/fragments/control-bar/cloud-recording-buttons.js +1 -1
  25. package/lib/fragments/control-bar/control-bar-store.d.ts +1 -44
  26. package/lib/fragments/control-bar/control-bar-store.js +80 -457
  27. package/lib/fragments/control-bar/device/index.js +3 -5
  28. package/lib/fragments/control-bar/index.css +10 -15
  29. package/lib/fragments/control-bar/index.js +0 -24
  30. package/lib/fragments/control-bar/more-actions/index.css +0 -53
  31. package/lib/fragments/control-bar/more-actions/index.js +38 -73
  32. package/lib/fragments/control-bar/security-content/index.css +0 -75
  33. package/lib/fragments/control-bar/security-content/index.js +19 -105
  34. package/lib/fragments/control-bar/share-state-nav/index.js +1 -1
  35. package/lib/fragments/control-bar/view.js +8 -23
  36. package/lib/fragments/live-streaming/store.d.ts +1 -1
  37. package/lib/fragments/live-streaming/store.js +1 -1
  38. package/lib/fragments/live-streaming/view.js +2 -4
  39. package/lib/fragments/share-screen-selection/selection-store.d.ts +1 -1
  40. package/lib/fragments/share-screen-selection/selection-store.js +1 -1
  41. package/lib/fragments/share-screen-selection/view.js +20 -20
  42. package/lib/fragments/toolbar/components/eraser-picker.js +1 -1
  43. package/lib/fragments/toolbar/components/pen-picker.js +1 -1
  44. package/lib/fragments/toolbar/components/shape-picker.js +1 -1
  45. package/lib/fragments/toolbar/components/wrapper.js +1 -1
  46. package/lib/fragments/toolbar/hooks.js +1 -1
  47. package/lib/fragments/toolbar/store.d.ts +1 -1
  48. package/lib/global.css +5 -0
  49. package/lib/index.d.ts +1 -0
  50. package/lib/index.js +7 -4
  51. package/lib/login-confirm-dialog.d.ts +1 -0
  52. package/lib/login-confirm-dialog.js +7 -2
  53. package/lib/modules/Interpreter/action/delete-btn/index.d.ts +2 -2
  54. package/lib/modules/Interpreter/action/edit-btn/index.js +2 -2
  55. package/lib/modules/Interpreter/action/switch-btn/index.js +5 -5
  56. package/lib/modules/Interpreter/dialog-content/index.d.ts +2 -2
  57. package/lib/modules/Interpreter/dialog-content/index.js +4 -4
  58. package/lib/modules/Interpreter/index.d.ts +11 -4
  59. package/lib/modules/Interpreter/index.js +23 -8
  60. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/index.d.ts +2 -2
  61. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/index.js +3 -3
  62. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-user/index.d.ts +2 -2
  63. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-user/index.js +14 -14
  64. package/lib/modules/Interpreter/interpreter-list/interpreter-item/index.d.ts +2 -2
  65. package/lib/modules/Interpreter/interpreter-list/interpreter-item/index.js +2 -2
  66. package/lib/modules/Interpreter/store.d.ts +23 -84
  67. package/lib/modules/Interpreter/store.js +204 -1216
  68. package/lib/modules/Interpreter/type.d.ts +12 -29
  69. package/lib/modules/Interpreter/type.js +2 -10
  70. package/lib/modules/Interpreter/utils.d.ts +1 -5
  71. package/lib/modules/Interpreter/utils.js +28 -86
  72. package/lib/modules/Interpreter/view.js +19 -3
  73. package/lib/modules/action-bar/action-bar-collapes-items.d.ts +1 -4
  74. package/lib/modules/action-bar/action-bar-collapes-items.js +21 -38
  75. package/lib/modules/action-bar/chat/index.js +8 -8
  76. package/lib/modules/action-bar/components/apps/app-item/index.css +1 -2
  77. package/lib/modules/action-bar/components/apps/app-item/index.d.ts +1 -10
  78. package/lib/modules/action-bar/components/apps/appitems.d.ts +1 -3
  79. package/lib/modules/action-bar/components/apps/index.css +2 -2
  80. package/lib/modules/action-bar/components/apps/index.js +2 -3
  81. package/lib/modules/action-bar/components/collapse/index.d.ts +8 -0
  82. package/lib/modules/action-bar/components/collapse/index.js +222 -0
  83. package/lib/modules/action-bar/components/interpreter/index.d.ts +1 -5
  84. package/lib/modules/action-bar/components/item/index.d.ts +9 -0
  85. package/lib/modules/action-bar/components/item/index.js +164 -0
  86. package/lib/modules/action-bar/components/leave/assign-host.d.ts +1 -8
  87. package/lib/modules/action-bar/components/leave/assign-host.js +1 -1
  88. package/lib/modules/action-bar/components/leave/index.js +9 -24
  89. package/lib/modules/action-bar/components/leave/leave-meeting.d.ts +1 -16
  90. package/lib/modules/action-bar/components/more/index.js +13 -9
  91. package/lib/modules/action-bar/components/more/poppover-content.d.ts +1 -4
  92. package/lib/modules/action-bar/components/more/poppover-content.js +28 -5
  93. package/lib/modules/action-bar/components/notification-bar/assets/dome.png +0 -0
  94. package/lib/modules/action-bar/components/notification-bar/assets/fcr_translateswitch.png +0 -0
  95. package/lib/modules/action-bar/components/notification-bar/components/interpreter/index.css +58 -0
  96. package/lib/modules/action-bar/components/notification-bar/components/interpreter/index.d.ts +8 -0
  97. package/lib/modules/action-bar/components/notification-bar/components/interpreter/index.js +100 -0
  98. package/lib/modules/action-bar/components/notification-bar/components/virtual-image/index.css +56 -0
  99. package/lib/modules/action-bar/components/notification-bar/components/virtual-image/index.d.ts +5 -0
  100. package/lib/modules/action-bar/components/notification-bar/components/virtual-image/index.js +33 -0
  101. package/lib/modules/action-bar/components/notification-bar/index.css +74 -0
  102. package/lib/modules/action-bar/components/notification-bar/index.d.ts +2 -0
  103. package/lib/modules/action-bar/components/notification-bar/index.js +99 -0
  104. package/lib/modules/action-bar/components/participants/index.js +2 -2
  105. package/lib/modules/action-bar/components/placement/index.d.ts +4 -0
  106. package/lib/modules/action-bar/components/placement/index.js +18 -0
  107. package/lib/modules/action-bar/components/record/stop-record-dialog.d.ts +1 -3
  108. package/lib/modules/action-bar/components/screen-share/submenu.js +25 -2
  109. package/lib/modules/action-bar/components/security/index.js +3 -1
  110. package/lib/modules/action-bar/components/smaller/index.d.ts +1 -0
  111. package/lib/modules/action-bar/components/smaller/index.js +52 -0
  112. package/lib/modules/action-bar/components/trigger-input-language-room/fcr_translateswitch.png +0 -0
  113. package/lib/modules/action-bar/components/trigger-input-language-room/index.css +86 -0
  114. package/lib/modules/action-bar/components/trigger-input-language-room/index.d.ts +3 -0
  115. package/lib/modules/action-bar/components/trigger-input-language-room/index.js +215 -0
  116. package/lib/modules/action-bar/components/trigger-output-language/fcr_translateswitch.png +0 -0
  117. package/lib/modules/action-bar/components/trigger-output-language/index.css +86 -0
  118. package/lib/modules/action-bar/components/trigger-output-language/index.d.ts +2 -0
  119. package/lib/modules/action-bar/components/trigger-output-language/index.js +230 -0
  120. package/lib/modules/action-bar/components/trigger-output-language-room/constant.d.ts +10 -0
  121. package/lib/modules/action-bar/components/trigger-output-language-room/constant.js +8 -0
  122. package/lib/modules/action-bar/components/trigger-output-language-room/guide-tooltip/index.css +22 -0
  123. package/lib/modules/action-bar/components/trigger-output-language-room/guide-tooltip/index.d.ts +3 -0
  124. package/lib/modules/action-bar/components/trigger-output-language-room/guide-tooltip/index.js +75 -0
  125. package/lib/modules/action-bar/components/trigger-output-language-room/index.d.ts +8 -0
  126. package/lib/modules/action-bar/components/trigger-output-language-room/index.js +98 -0
  127. package/lib/modules/action-bar/components/trigger-output-language-room/trigger-language-room.d.ts +5 -0
  128. package/lib/modules/action-bar/components/trigger-output-language-room/trigger-language-room.js +66 -0
  129. package/lib/modules/action-bar/components/trigger-output-language-room/trigger-main-room.d.ts +5 -0
  130. package/lib/modules/action-bar/components/trigger-output-language-room/trigger-main-room.js +37 -0
  131. package/lib/modules/action-bar/components/trigger-output-language-room/useChangeOutputRoomTool.d.ts +12 -0
  132. package/lib/modules/action-bar/components/trigger-output-language-room/useChangeOutputRoomTool.js +138 -0
  133. package/lib/modules/action-bar/components/trigger-subscribe-language/guide-tooltip/index.css +22 -0
  134. package/lib/modules/action-bar/components/trigger-subscribe-language/guide-tooltip/index.d.ts +3 -0
  135. package/lib/modules/action-bar/components/trigger-subscribe-language/guide-tooltip/index.js +70 -0
  136. package/lib/modules/action-bar/components/trigger-subscribe-language/index.d.ts +5 -0
  137. package/lib/modules/action-bar/components/trigger-subscribe-language/index.js +209 -0
  138. package/lib/modules/action-bar/device/index.css +2 -7
  139. package/lib/modules/action-bar/device/index.js +24 -22
  140. package/lib/modules/action-bar/enums.d.ts +23 -0
  141. package/lib/modules/action-bar/enums.js +35 -0
  142. package/lib/modules/action-bar/index.d.ts +36 -6
  143. package/lib/modules/action-bar/index.dev.d.ts +0 -1
  144. package/lib/modules/action-bar/index.dev.js +94 -121
  145. package/lib/modules/action-bar/index.js +46 -18
  146. package/lib/modules/action-bar/leave/assign-host.d.ts +0 -3
  147. package/lib/modules/action-bar/leave/assign-host.js +4 -2
  148. package/lib/modules/action-bar/leave/index.css +0 -10
  149. package/lib/modules/action-bar/leave/index.js +34 -84
  150. package/lib/modules/action-bar/leave/leave-meeting.d.ts +1 -13
  151. package/lib/modules/action-bar/leave/leave-meeting.js +19 -37
  152. package/lib/modules/action-bar/live-streaming/index.js +3 -3
  153. package/lib/modules/action-bar/more/index.js +6 -9
  154. package/lib/modules/action-bar/more/poppover-content.js +16 -37
  155. package/lib/modules/action-bar/participants/index.css +0 -12
  156. package/lib/modules/action-bar/participants/index.js +16 -23
  157. package/lib/modules/action-bar/record/index.js +4 -4
  158. package/lib/modules/action-bar/screen-share/index.js +5 -14
  159. package/lib/modules/action-bar/screen-share/submenu.js +26 -20
  160. package/lib/modules/action-bar/security/drop-menu.js +22 -137
  161. package/lib/modules/action-bar/security/index.js +6 -12
  162. package/lib/modules/action-bar/settings/index.js +4 -4
  163. package/lib/modules/action-bar/smaller.js +5 -5
  164. package/lib/modules/action-bar/store.d.ts +84 -98
  165. package/lib/modules/action-bar/store.js +567 -707
  166. package/lib/modules/action-bar/types.d.ts +94 -0
  167. package/lib/modules/action-bar/types.js +6 -0
  168. package/lib/modules/action-bar/view.d.ts +1 -2
  169. package/lib/modules/action-bar/view.js +11 -11
  170. package/lib/modules/audio-stream/index.d.ts +22 -10
  171. package/lib/modules/audio-stream/index.js +78 -82
  172. package/lib/modules/chat/chat-bar/index.css +0 -6
  173. package/lib/modules/chat/chat-bar/index.d.ts +3 -3
  174. package/lib/modules/chat/chat-bar/index.js +39 -51
  175. package/lib/modules/chat/chat-room-store.d.ts +135 -0
  176. package/lib/modules/chat/chat-room-store.js +954 -0
  177. package/lib/modules/chat/chat-select/index.css +7 -27
  178. package/lib/modules/chat/chat-select/index.d.ts +1 -1
  179. package/lib/modules/chat/chat-select/index.js +4 -18
  180. package/lib/modules/chat/chat.d.ts +2 -1
  181. package/lib/modules/chat/chat.js +128 -196
  182. package/lib/modules/chat/components/chat-action/index.d.ts +1 -0
  183. package/lib/modules/chat/components/chat-action/index.js +28 -0
  184. package/lib/modules/chat/components/chat-bar/index.css +85 -0
  185. package/lib/modules/chat/components/chat-bar/index.d.ts +3 -0
  186. package/lib/modules/chat/components/chat-bar/index.js +145 -0
  187. package/lib/modules/chat/components/chat-select/index.css +185 -0
  188. package/lib/modules/chat/components/chat-select/index.d.ts +3 -0
  189. package/lib/modules/chat/components/chat-select/index.js +237 -0
  190. package/lib/modules/chat/components/message-list/index.d.ts +4 -0
  191. package/lib/modules/chat/components/message-list/index.js +650 -0
  192. package/lib/modules/chat/index.d.ts +13 -5
  193. package/lib/modules/chat/index.dev.d.ts +0 -1
  194. package/lib/modules/chat/index.dev.js +71 -72
  195. package/lib/modules/chat/index.js +45 -22
  196. package/lib/modules/chat/message-list.js +51 -68
  197. package/lib/modules/chat/mock.d.ts +1 -1
  198. package/lib/modules/chat/store.d.ts +17 -162
  199. package/lib/modules/chat/store.js +95 -963
  200. package/lib/modules/chat/types.d.ts +70 -0
  201. package/lib/modules/chat/types.js +17 -0
  202. package/lib/modules/chat/view.d.ts +10 -0
  203. package/lib/modules/chat/view.js +372 -0
  204. package/lib/modules/components/device-control/components/audio-menu/index.js +2 -2
  205. package/lib/modules/components/device-control/components/microphone/index.js +7 -7
  206. package/lib/modules/components/device-control/store.d.ts +11 -12
  207. package/lib/modules/components/device-control/store.js +46 -49
  208. package/lib/modules/components/dialog-container/component/body.js +2 -1
  209. package/lib/modules/components/dialog-container/index.d.ts +2 -2
  210. package/lib/modules/components/leave-meeting/components/assign-host.d.ts +3 -0
  211. package/lib/modules/components/leave-meeting/components/assign-host.js +70 -0
  212. package/lib/modules/components/leave-meeting/components/index.css +125 -0
  213. package/lib/modules/components/leave-meeting/index.d.ts +4 -0
  214. package/lib/modules/components/leave-meeting/index.js +147 -0
  215. package/lib/modules/components/leave-meeting/store.d.ts +31 -0
  216. package/lib/modules/components/leave-meeting/store.js +292 -0
  217. package/lib/modules/components/member-window/index.d.ts +1 -1
  218. package/lib/modules/components/member-window/index.js +12 -6
  219. package/lib/modules/components/security-menu/index.d.ts +2 -0
  220. package/lib/modules/components/security-menu/index.js +34 -35
  221. package/lib/modules/components/tab-frame/index.d.ts +2 -2
  222. package/lib/modules/components/tab-frame/index.js +26 -5
  223. package/lib/modules/connection-gateway/components/computer/index.js +4 -4
  224. package/lib/modules/connection-gateway/components/phone/components/callinfo/index.d.ts +1 -1
  225. package/lib/modules/connection-gateway/components/phone/index.js +2 -2
  226. package/lib/modules/connection-gateway/components/tabs/index.js +1 -2
  227. package/lib/modules/connection-gateway/enums.d.ts +4 -0
  228. package/lib/modules/connection-gateway/enums.js +12 -0
  229. package/lib/modules/connection-gateway/index.d.ts +13 -4
  230. package/lib/modules/connection-gateway/index.js +25 -15
  231. package/lib/modules/connection-gateway/store.d.ts +22 -18
  232. package/lib/modules/connection-gateway/store.js +60 -36
  233. package/lib/modules/connection-gateway/types.d.ts +4 -0
  234. package/lib/modules/connection-gateway/types.js +6 -0
  235. package/lib/modules/connection-gateway/view.js +2 -2
  236. package/lib/modules/control-bar/components/meeting-details/index.js +30 -25
  237. package/lib/modules/control-bar/components/more-actions/index.css +18 -0
  238. package/lib/modules/control-bar/components/more-actions/index.d.ts +1 -5
  239. package/lib/modules/control-bar/components/more-actions/index.js +58 -9
  240. package/lib/modules/control-bar/components/share-state-nav/index.d.ts +1 -7
  241. package/lib/modules/control-bar/components/share-state-nav/index.js +2 -1
  242. package/lib/modules/control-bar/components/stop-live-streaming/stop-button.d.ts +1 -1
  243. package/lib/modules/control-bar/components/stop-live-streaming/stop-button.js +2 -2
  244. package/lib/modules/control-bar/components/transfer-position-icon/index.d.ts +1 -10
  245. package/lib/modules/control-bar/components/transfer-position-icon/index.js +7 -12
  246. package/lib/modules/control-bar/enums.d.ts +21 -0
  247. package/lib/modules/control-bar/enums.js +31 -0
  248. package/lib/modules/control-bar/index.d.ts +30 -7
  249. package/lib/modules/control-bar/index.js +46 -27
  250. package/lib/modules/control-bar/store.d.ts +38 -26
  251. package/lib/modules/control-bar/store.js +172 -282
  252. package/lib/modules/control-bar/types.d.ts +20 -0
  253. package/lib/modules/control-bar/types.js +6 -0
  254. package/lib/modules/control-bar/view.js +68 -34
  255. package/lib/modules/device-pretest/index.js +4 -4
  256. package/lib/modules/device-pretest/settings/video-settings-basic.js +1 -1
  257. package/lib/modules/device-pretest/store.d.ts +8 -9
  258. package/lib/modules/device-pretest/store.js +52 -36
  259. package/lib/modules/dialog/components/Interpreter/electron.js +21 -15
  260. package/lib/modules/dialog/components/Interpreter/index.js +2 -2
  261. package/lib/modules/dialog/components/chat/electron.d.ts +1 -1
  262. package/lib/modules/dialog/components/chat/electron.js +19 -10
  263. package/lib/modules/dialog/components/chat/index.js +2 -2
  264. package/lib/modules/dialog/components/confirm/electron.d.ts +1 -1
  265. package/lib/modules/dialog/components/confirm/electron.js +68 -38
  266. package/lib/modules/dialog/components/confirm/index.js +1 -1
  267. package/lib/modules/dialog/components/connection-gateway/electron.d.ts +1 -1
  268. package/lib/modules/dialog/components/connection-gateway/electron.js +8 -10
  269. package/lib/modules/dialog/components/connection-gateway/index.css +2 -0
  270. package/lib/modules/dialog/components/connection-gateway/index.d.ts +3 -1
  271. package/lib/modules/dialog/components/connection-gateway/index.js +20 -7
  272. package/lib/modules/dialog/components/connection-gateway/tabs.d.ts +6 -0
  273. package/lib/modules/dialog/components/connection-gateway/tabs.js +44 -0
  274. package/lib/modules/dialog/components/control-bar/index.d.ts +5 -1
  275. package/lib/modules/dialog/components/control-bar/index.js +122 -9
  276. package/lib/modules/dialog/components/device-setting/electron.js +6 -2
  277. package/lib/modules/dialog/components/device-setting/index.js +2 -2
  278. package/lib/modules/dialog/components/dialog-container/component/body.d.ts +7 -0
  279. package/lib/modules/dialog/components/dialog-container/component/body.js +77 -0
  280. package/lib/modules/dialog/components/dialog-container/index.css +81 -0
  281. package/lib/modules/dialog/components/dialog-container/index.d.ts +16 -0
  282. package/lib/modules/dialog/components/dialog-container/index.js +112 -0
  283. package/lib/modules/dialog/components/invite/index.js +32 -7
  284. package/lib/modules/dialog/components/live-streaming/index.js +9 -5
  285. package/lib/modules/dialog/components/participant/electron.js +11 -5
  286. package/lib/modules/dialog/components/participant/index.js +4 -3
  287. package/lib/modules/dialog/components/share-screen-selection/index.js +9 -5
  288. package/lib/modules/dialog/components/system-preference/electron.js +1 -1
  289. package/lib/modules/dialog/components/toast/index.js +1 -1
  290. package/lib/modules/dialog/components/video-window/index.d.ts +2 -0
  291. package/lib/modules/dialog/components/video-window/index.js +148 -0
  292. package/lib/modules/dialog/components/whiteboard/index.js +2 -2
  293. package/lib/modules/dialog/dialogs.d.ts +2 -5
  294. package/lib/modules/dialog/dialogs.js +2 -157
  295. package/lib/modules/dialog/hooks/useElectron.d.ts +3 -25
  296. package/lib/modules/dialog/hooks/useElectron.js +91 -35
  297. package/lib/modules/dialog/index.d.ts +30 -4
  298. package/lib/modules/dialog/index.js +62 -6
  299. package/lib/modules/dialog/store.d.ts +46 -12
  300. package/lib/modules/dialog/store.js +121 -65
  301. package/lib/modules/dialog/types/index.d.ts +14 -3
  302. package/lib/modules/event-confirm/index.css +1 -1
  303. package/lib/modules/event-confirm/index.d.ts +13 -6
  304. package/lib/modules/event-confirm/index.js +28 -11
  305. package/lib/modules/event-confirm/store.d.ts +9 -3
  306. package/lib/modules/event-confirm/store.js +16 -7
  307. package/lib/modules/event-confirm/view.js +5 -1
  308. package/lib/modules/event-toast/index.d.ts +7 -6
  309. package/lib/modules/event-toast/index.js +19 -8
  310. package/lib/modules/event-toast/store.d.ts +8 -3
  311. package/lib/modules/event-toast/store.js +15 -6
  312. package/lib/modules/invite/components/error-tips.d.ts +4 -0
  313. package/lib/modules/invite/components/error-tips.js +18 -0
  314. package/lib/modules/invite/components/pstn-invite.d.ts +2 -0
  315. package/lib/modules/invite/components/pstn-invite.js +297 -0
  316. package/lib/modules/invite/components/voip-invite.d.ts +1 -0
  317. package/lib/modules/invite/components/voip-invite.js +276 -0
  318. package/lib/modules/invite/enums.d.ts +22 -0
  319. package/lib/modules/invite/enums.js +33 -0
  320. package/lib/modules/invite/index.d.ts +7 -8
  321. package/lib/modules/invite/index.js +17 -15
  322. package/lib/modules/invite/pstn-invite.js +9 -7
  323. package/lib/modules/invite/store.d.ts +11 -26
  324. package/lib/modules/invite/store.js +55 -25
  325. package/lib/modules/invite/types.d.ts +14 -0
  326. package/lib/modules/invite/types.js +6 -0
  327. package/lib/modules/invite/view.d.ts +0 -4
  328. package/lib/modules/invite/view.js +7 -11
  329. package/lib/modules/invite/voip-invite.js +6 -5
  330. package/lib/modules/layout/components/Aside.js +34 -17
  331. package/lib/modules/layout/components/Carousel.js +1 -1
  332. package/lib/modules/layout/components/Gallery.js +1 -1
  333. package/lib/modules/layout/components/index.d.ts +1 -1
  334. package/lib/modules/layout/components/index.js +4 -4
  335. package/lib/modules/layout/components/who-is-speaking.d.ts +2 -0
  336. package/lib/modules/layout/components/who-is-speaking.js +60 -0
  337. package/lib/modules/layout/index.d.ts +26 -4
  338. package/lib/modules/layout/index.dev.d.ts +0 -1
  339. package/lib/modules/layout/index.dev.js +312 -386
  340. package/lib/modules/layout/index.js +25 -10
  341. package/lib/modules/layout/member-window/index.css +18 -116
  342. package/lib/modules/layout/member-window/index.d.ts +3 -10
  343. package/lib/modules/layout/member-window/index.js +115 -227
  344. package/lib/modules/layout/store.d.ts +61 -71
  345. package/lib/modules/layout/store.js +311 -573
  346. package/lib/modules/layout/view.d.ts +2 -0
  347. package/lib/modules/layout/view.js +127 -2
  348. package/lib/modules/live-streaming/index.d.ts +15 -7
  349. package/lib/modules/live-streaming/index.dev.js +13 -13
  350. package/lib/modules/live-streaming/index.js +20 -15
  351. package/lib/modules/live-streaming/store.d.ts +21 -14
  352. package/lib/modules/live-streaming/store.js +84 -144
  353. package/lib/modules/live-streaming/view.js +2 -2
  354. package/lib/modules/notification/index.d.ts +9 -11
  355. package/lib/modules/notification/index.js +21 -14
  356. package/lib/modules/notification/interpreter-status/index.js +1 -2
  357. package/lib/modules/notification/store.d.ts +5 -11
  358. package/lib/modules/notification/store.js +12 -62
  359. package/lib/modules/notification/view.d.ts +5 -3
  360. package/lib/modules/notification/view.js +8 -5
  361. package/lib/modules/offscreen-pulling/index.js +1 -1
  362. package/lib/modules/participant/attendee/index.css +51 -0
  363. package/lib/modules/participant/attendee/index.d.ts +5 -8
  364. package/lib/modules/participant/attendee/index.js +15 -61
  365. package/lib/modules/participant/components/attendee/components/microphone-indicator/index.d.ts +6 -0
  366. package/lib/modules/participant/components/attendee/components/microphone-indicator/index.js +28 -0
  367. package/lib/modules/participant/components/attendee/components/user-avatar/index.d.ts +7 -0
  368. package/lib/modules/participant/components/attendee/components/user-avatar/index.js +39 -0
  369. package/lib/modules/participant/components/attendee/index.css +69 -0
  370. package/lib/modules/participant/components/attendee/index.d.ts +4 -0
  371. package/lib/modules/participant/components/attendee/index.js +337 -0
  372. package/lib/modules/participant/components/can-moveable/index.d.ts +1 -0
  373. package/lib/modules/participant/components/can-moveable/index.js +68 -0
  374. package/lib/modules/participant/components/drop-menu/index.js +8 -8
  375. package/lib/modules/participant/components/footer/buttons.d.ts +2 -3
  376. package/lib/modules/participant/components/footer/buttons.js +2 -3
  377. package/lib/modules/participant/components/footer/index.js +2 -2
  378. package/lib/modules/participant/components/mute-all/index.d.ts +3 -4
  379. package/lib/modules/participant/components/mute-all/index.js +31 -44
  380. package/lib/modules/participant/components/operate-waitingroom-member/index.d.ts +2 -0
  381. package/lib/modules/participant/components/operate-waitingroom-member/index.js +48 -0
  382. package/lib/modules/participant/components/participants/index.js +27 -50
  383. package/lib/modules/participant/components/user-action/index.d.ts +17 -0
  384. package/lib/modules/participant/components/user-action/index.js +169 -0
  385. package/lib/modules/participant/index.d.ts +34 -7
  386. package/lib/modules/participant/index.dev.d.ts +0 -1
  387. package/lib/modules/participant/index.dev.js +87 -116
  388. package/lib/modules/participant/index.js +39 -13
  389. package/lib/modules/participant/member-list-data-source.d.ts +4 -1
  390. package/lib/modules/participant/member-list-data-source.js +58 -31
  391. package/lib/modules/participant/room-control-drop-menu/index.css +0 -37
  392. package/lib/modules/participant/store.d.ts +58 -25
  393. package/lib/modules/participant/store.js +321 -298
  394. package/lib/modules/participant/type.d.ts +45 -1
  395. package/lib/modules/participant/type.js +15 -1
  396. package/lib/modules/pc-audio-connect/index.css +12 -0
  397. package/lib/modules/pc-audio-connect/index.d.ts +22 -0
  398. package/lib/modules/pc-audio-connect/index.js +68 -0
  399. package/lib/modules/pc-audio-connect/store.d.ts +46 -0
  400. package/lib/modules/pc-audio-connect/store.js +301 -0
  401. package/lib/modules/pc-audio-connect/types.d.ts +0 -0
  402. package/lib/modules/pc-audio-connect/types.js +1 -0
  403. package/lib/modules/pc-audio-connect/view.d.ts +3 -0
  404. package/lib/modules/pc-audio-connect/view.js +66 -0
  405. package/lib/modules/phone-audio-connect/components/callinfo/index.css +36 -0
  406. package/lib/modules/phone-audio-connect/components/callinfo/index.d.ts +10 -0
  407. package/lib/modules/phone-audio-connect/components/callinfo/index.js +77 -0
  408. package/lib/modules/phone-audio-connect/components/calling/index.css +72 -0
  409. package/lib/modules/phone-audio-connect/components/calling/index.d.ts +7 -0
  410. package/lib/modules/phone-audio-connect/components/calling/index.js +58 -0
  411. package/lib/modules/phone-audio-connect/components/remeber/index.css +10 -0
  412. package/lib/modules/phone-audio-connect/components/remeber/index.d.ts +5 -0
  413. package/lib/modules/phone-audio-connect/components/remeber/index.js +24 -0
  414. package/lib/modules/phone-audio-connect/components/useing/index.css +46 -0
  415. package/lib/modules/phone-audio-connect/components/useing/index.d.ts +3 -0
  416. package/lib/modules/phone-audio-connect/components/useing/index.js +36 -0
  417. package/lib/modules/phone-audio-connect/enums.d.ts +4 -0
  418. package/lib/modules/phone-audio-connect/enums.js +12 -0
  419. package/lib/modules/phone-audio-connect/index.css +56 -0
  420. package/lib/modules/phone-audio-connect/index.d.ts +16 -0
  421. package/lib/modules/phone-audio-connect/index.js +63 -0
  422. package/lib/modules/phone-audio-connect/store.d.ts +46 -0
  423. package/lib/modules/phone-audio-connect/store.js +320 -0
  424. package/lib/modules/phone-audio-connect/types.d.ts +4 -0
  425. package/lib/modules/phone-audio-connect/types.js +6 -0
  426. package/lib/modules/phone-audio-connect/view.d.ts +3 -0
  427. package/lib/modules/phone-audio-connect/view.js +184 -0
  428. package/lib/modules/setting/audio-settings/audio-settings.js +5 -5
  429. package/lib/modules/setting/index.d.ts +25 -5
  430. package/lib/modules/setting/index.dev.d.ts +0 -1
  431. package/lib/modules/setting/index.dev.js +120 -81
  432. package/lib/modules/setting/index.js +35 -9
  433. package/lib/modules/setting/minutes-settings/minutes-settings.js +1 -1
  434. package/lib/modules/setting/state/index.js +3 -3
  435. package/lib/modules/setting/store.d.ts +48 -14
  436. package/lib/modules/setting/store.js +105 -114
  437. package/lib/modules/setting/translate-settings/translate-settings.js +3 -3
  438. package/lib/modules/setting/video-settings/video-settings-basic.js +19 -22
  439. package/lib/modules/setting/view.js +6 -35
  440. package/lib/modules/share-screen/components/selection/index.css +70 -0
  441. package/lib/modules/share-screen/components/selection/index.d.ts +2 -0
  442. package/lib/modules/share-screen/components/selection/index.js +267 -0
  443. package/lib/modules/share-screen/components/share-state-bar/index.css +76 -0
  444. package/lib/modules/share-screen/components/share-state-bar/index.d.ts +4 -0
  445. package/lib/modules/share-screen/components/share-state-bar/index.js +98 -0
  446. package/lib/modules/share-screen/index.d.ts +15 -18
  447. package/lib/modules/share-screen/index.dev.d.ts +0 -1
  448. package/lib/modules/share-screen/index.dev.js +90 -91
  449. package/lib/modules/share-screen/index.js +22 -22
  450. package/lib/modules/share-screen/selection/index.css +0 -4
  451. package/lib/modules/share-screen/selection/index.js +129 -126
  452. package/lib/modules/share-screen/share-state-bar/index.js +1 -1
  453. package/lib/modules/share-screen/store.d.ts +36 -32
  454. package/lib/modules/share-screen/store.js +250 -219
  455. package/lib/modules/share-screen/types.d.ts +27 -0
  456. package/lib/modules/share-screen/types.js +6 -0
  457. package/lib/modules/share-screen/view.js +1 -1
  458. package/lib/modules/sound-effect/index.d.ts +9 -4
  459. package/lib/modules/sound-effect/index.js +72 -40
  460. package/lib/modules/sound-effect/sound-effect-player.js +1 -1
  461. package/lib/modules/state-bar/index.d.ts +16 -13
  462. package/lib/modules/state-bar/index.dev.d.ts +0 -1
  463. package/lib/modules/state-bar/index.dev.js +78 -83
  464. package/lib/modules/state-bar/index.js +23 -7
  465. package/lib/modules/state-bar/meeting-details.js +24 -12
  466. package/lib/modules/state-bar/meeting-network-state.js +1 -1
  467. package/lib/modules/state-bar/store.d.ts +20 -10
  468. package/lib/modules/state-bar/store.js +84 -87
  469. package/lib/modules/state-bar/view.js +2 -2
  470. package/lib/modules/video-window/deviceState/index.d.ts +2 -2
  471. package/lib/modules/video-window/deviceState/index.js +4 -6
  472. package/lib/modules/video-window/index.css +1 -4
  473. package/lib/modules/video-window/index.d.ts +33 -6
  474. package/lib/modules/video-window/index.js +63 -15
  475. package/lib/modules/video-window/members/index.css +1 -0
  476. package/lib/modules/video-window/members/index.js +25 -11
  477. package/lib/modules/video-window/store.d.ts +58 -27
  478. package/lib/modules/video-window/store.js +166 -161
  479. package/lib/modules/waiting-room-layout/index.d.ts +11 -4
  480. package/lib/modules/waiting-room-layout/index.js +26 -13
  481. package/lib/modules/waiting-room-layout/store.d.ts +6 -3
  482. package/lib/modules/waiting-room-layout/store.js +17 -15
  483. package/lib/modules/whiteboard/components/control-bar/store.d.ts +4 -4
  484. package/lib/modules/whiteboard/components/control-bar/store.js +8 -8
  485. package/lib/modules/whiteboard/index.d.ts +20 -14
  486. package/lib/modules/whiteboard/index.js +250 -223
  487. package/lib/modules/whiteboard/view.d.ts +2 -0
  488. package/lib/modules/whiteboard/view.js +49 -0
  489. package/lib/plugins/browser-runtime-plugin.js +5 -1
  490. package/lib/providers/chat-provider.d.ts +71 -0
  491. package/lib/providers/chat-provider.js +91 -0
  492. package/lib/providers/device-privilege-provider.d.ts +52 -6
  493. package/lib/providers/device-privilege-provider.js +212 -183
  494. package/lib/providers/device-provider.d.ts +203 -45
  495. package/lib/providers/device-provider.js +486 -398
  496. package/lib/providers/device-stream-provider.d.ts +12 -13
  497. package/lib/providers/device-stream-provider.js +86 -193
  498. package/lib/providers/dialog-provider.d.ts +135 -0
  499. package/lib/providers/dialog-provider.js +204 -0
  500. package/lib/providers/event-provider.d.ts +1 -21
  501. package/lib/providers/event-provider.js +19 -57
  502. package/lib/providers/interpreter-provider.d.ts +218 -7
  503. package/lib/providers/interpreter-provider.js +1072 -80
  504. package/lib/providers/local-storage-provider.d.ts +9 -0
  505. package/lib/providers/message-provider.d.ts +69 -0
  506. package/lib/providers/message-provider.js +98 -0
  507. package/lib/providers/monitor-provider.d.ts +5 -0
  508. package/lib/providers/phone-audio-provider.d.ts +131 -0
  509. package/lib/providers/phone-audio-provider.js +515 -0
  510. package/lib/providers/privilege-provider.d.ts +325 -12
  511. package/lib/providers/privilege-provider.js +111 -295
  512. package/lib/providers/renderer-provider.d.ts +46 -4
  513. package/lib/providers/renderer-provider.js +57 -60
  514. package/lib/providers/room-provider.d.ts +113 -6
  515. package/lib/providers/room-provider.js +667 -87
  516. package/lib/providers/screen-share-provider.d.ts +65 -0
  517. package/lib/providers/screen-share-provider.js +238 -0
  518. package/lib/providers/session-provider.d.ts +30 -0
  519. package/lib/runtime.d.ts +2 -0
  520. package/lib/scenes/main-scene.d.ts +41 -3
  521. package/lib/scenes/main-scene.js +407 -246
  522. package/lib/scenes/waiting-scene.d.ts +34 -4
  523. package/lib/scenes/waiting-scene.js +163 -56
  524. package/lib/shared-data-source/chat-data.d.ts +14 -0
  525. package/lib/shared-data-source/chat-data.js +130 -0
  526. package/lib/shared-data-source/device-privilege-data.d.ts +8 -0
  527. package/lib/shared-data-source/device-privilege-data.js +25 -0
  528. package/lib/shared-data-source/interpreter.d.ts +63 -0
  529. package/lib/shared-data-source/interpreter.js +248 -0
  530. package/lib/shared-data-source/layout-data.d.ts +29 -0
  531. package/lib/shared-data-source/layout-data.js +181 -0
  532. package/lib/shared-data-source/pin-data.d.ts +9 -0
  533. package/lib/shared-data-source/pin-data.js +24 -0
  534. package/lib/shared-data-source/setting.d.ts +32 -0
  535. package/lib/shared-data-source/setting.js +153 -0
  536. package/lib/shared-data-source/speaker-spotlight.d.ts +5 -0
  537. package/lib/shared-data-source/speaker-spotlight.js +15 -0
  538. package/lib/shared-data-source/video-window.d.ts +161 -0
  539. package/lib/shared-data-source/video-window.js +1202 -0
  540. package/lib/shared-data-source/waiting-room.d.ts +19 -0
  541. package/lib/shared-data-source/waiting-room.js +158 -0
  542. package/lib/translations/enUS.d.ts +43 -17
  543. package/lib/translations/enUS.js +59 -33
  544. package/lib/translations/zhCN.d.ts +43 -17
  545. package/lib/translations/zhCN.js +57 -31
  546. package/lib/type.d.ts +270 -25
  547. package/lib/type.js +67 -2
  548. package/lib/ui-manager.d.ts +20 -16
  549. package/lib/ui-manager.js +59 -795
  550. package/lib/ui-scene.d.ts +6 -1
  551. package/lib/ui-scene.js +372 -42
  552. package/lib/utilities/constant.d.ts +63 -86
  553. package/lib/utilities/constant.js +151 -175
  554. package/lib/utilities/copyText.js +8 -7
  555. package/lib/utilities/extract.d.ts +1 -1
  556. package/lib/utilities/privilege.d.ts +4 -0
  557. package/lib/utilities/privilege.js +31 -0
  558. package/lib/utilities/setting-config-storage.d.ts +12 -0
  559. package/lib/utilities/setting-config-storage.js +102 -0
  560. package/lib/utilities/tools.d.ts +35 -3
  561. package/lib/utilities/tools.js +104 -2
  562. package/lib/utilities/video-track-render-context.d.ts +3 -4
  563. package/lib/utilities/video-track-render-context.js +1 -1
  564. package/package.json +5 -5
  565. package/public/assets/full-screen-error-boundary-img.png +0 -0
  566. package/public/assets/leave-meeting.png +0 -0
  567. package/public/index.html +24 -14
@@ -24,7 +24,6 @@ Object.defineProperty(exports, "__esModule", {
24
24
  });
25
25
  exports["default"] = exports.StoreContext = void 0;
26
26
  var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
27
- require("core-js/modules/es.array.concat.js");
28
27
  require("core-js/modules/es.array.filter.js");
29
28
  require("core-js/modules/es.array.find.js");
30
29
  require("core-js/modules/es.array.for-each.js");
@@ -94,6 +93,7 @@ require("core-js/modules/esnext.weak-map.delete-all.js");
94
93
  require("core-js/modules/esnext.weak-map.emplace.js");
95
94
  require("core-js/modules/web.dom-collections.for-each.js");
96
95
  require("core-js/modules/web.dom-collections.iterator.js");
96
+ var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
97
97
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
98
98
  var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
99
99
  var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
@@ -101,11 +101,11 @@ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/creat
101
101
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
102
102
  var _fcrCore = require("fcr-core");
103
103
  var _type = require("fcr-core/lib/type");
104
- var _constant = require("../../utilities/constant");
105
104
  var _logger = require("agora-foundation/lib/logger");
106
105
  var _type2 = require("agora-rte-sdk/lib/type");
107
106
  var _attendee = require("agora-ui-foundation/lib/components/participants/attendee");
108
107
  var _mobx = require("mobx");
108
+ var _constant = require("../../utilities/constant");
109
109
  var _decorator = require("agora-foundation/lib/decorator");
110
110
  var _mobxUtils = require("mobx-utils");
111
111
  var _memberListDataSource = require("./member-list-data-source");
@@ -113,13 +113,19 @@ var _type3 = require("./type");
113
113
  var _i18n = require("agora-ui-foundation/lib/i18n");
114
114
  var _i18n2 = require("../../hooks/i18n");
115
115
  var _type4 = require("fcr-core/lib/room-control/user-control/type");
116
+ var _type5 = require("fcr-core/lib/room-control/type");
116
117
  var _react = require("react");
117
118
  var _rename = _interopRequireDefault(require("./components/rename"));
118
- var _type5 = require("fcr-core/lib/room-control/privilege-control/type");
119
+ var _type6 = require("fcr-core/lib/room-control/privilege-control/type");
119
120
  var _env = require("agora-foundation/lib/utilities/env");
121
+ var _operateWaitingroomMember = require("./components/operate-waitingroom-member");
122
+ var _muteAll = require("./components/mute-all");
120
123
  var _jsxRuntime = require("react/jsx-runtime");
121
124
  var _ParticipantStore;
122
- var _initProto, _init__mainList, _init__participantsWindowActive, _init_currentPerspectiveType, _init_audioVolumeMap, _init_enableParticipantsJoinWithMute, _init_searchText, _init_currentModal, _init_localUserRole, _init_spotlightStreamId, _init_enableSpotlight, _init_mergeConfirmDialog, _init_mergeUserId, _init_activeTab, _init_isNewWaitingRoomUserEnter, _init_waitingRoomUserCount, _init_interpreterUsers, _init_interpreterState, _init_interpreterInputLanguageList, _init_newName, _init_refreshList, _setSpotlightStreamIdDecs, _setCurrentModalDecs, _openParticipantsWindowDecs, _setParticipantsWindowActiveDecs, _handlerSearchUserDecs, _closeRemoveAdmitWaitingRoomDialogDecs, _openRemoveAdmitWaitingRoomDialogDecs, _handlerUserActionDecs, _closeChangeNameDialogDecs, _moveToWaitingRoomByUserIdsDecs, _removeWaitingRoomUserDecs, _kickOutWaitingRoomAllMemberDecs, _moveToMainRoomAllMemberDecs, _handlerRoomControlActionDecs, _handleEventDecs, _moveToMainRoomByUserIdsDecs, _handleActiveTabDecs, _getInterpreterStateDecs, _initWaitingRoomUserListDecs, _kickOutUserDecs, _setAsAttendeeDecs, _onAudioVolumeUpdatedDecs, _handleRemoteUserJoinedDecs, _handleRemoteUserLeftDecs, _handleRemoteWaitingUserJoinedDecs, _handleRemoteWaitingUserLeftDecs, _handleUserInfoUpdatedDecs, _initUserListDecs, _refreshCurrentPerspectiveTypeDecs, _onPeerSessionReceivedDecs, _updateLocalUserRoleDecs, _getOutputLanguageDecs, _ref;
125
+ var _initProto, _init__mainList, _init__isChecked, _init__participantsWindowActive, _init_currentPerspectiveType, _init_audioVolumeMap, _init_enableParticipantsJoinWithMute, _init_searchText, _init_currentModal, _init_localUserRole, _init_mergeConfirmDialog, _init_mergeUserId, _init_activeTab, _init_interpreterInputLanguageList, _init_newName, _init_refreshList, _init_allowUnmute, _init_joinWithMuteAudio, _setCurrentModalDecs, _openParticipantsWindowDecs, _setParticipantsWindowActiveDecs, _handlerSearchUserDecs, _closeRemoveAdmitWaitingRoomDialogDecs, _openRemoveAdmitWaitingRoomDialogDecs, _setMuteAllDialogValueDecs, _openMuteAllDialogDecs, _handlerUserActionDecs, _closeChangeNameDialogDecs, _moveToWaitingRoomByUserIdsDecs, _removeWaitingRoomUserDecs, _kickOutWaitingRoomAllMemberDecs, _moveToMainRoomAllMemberDecs, _handlerRoomControlActionDecs, _handleEventDecs, _moveToMainRoomByUserIdsDecs, _handleActiveTabDecs, _initWaitingRoomUserListDecs, _kickOutUserDecs, _setAsAttendeeDecs, _onAudioVolumeUpdatedDecs, _updateUserBoardStateDecs, _handleRemoteUserJoinedDecs, _handleRemoteUserLeftDecs, _handleRemoteWaitingUserJoinedDecs, _handleRemoteWaitingUserLeftDecs, _handleUserInfoUpdatedDecs, _initUserListDecs, _refreshCurrentPerspectiveTypeDecs, _onPeerSessionReceivedDecs, _updateLocalUserRoleDecs, _getOutputLanguageDecs, _ref;
126
+ /**
127
+ * seconds
128
+ */
123
129
  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; }
124
130
  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; }
125
131
  function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
@@ -132,9 +138,6 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
132
138
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
133
139
  function _setFunctionName(e, t, n) { "symbol" == _typeof(t) && (t = (t = t.description) ? "[" + t + "]" : ""); try { Object.defineProperty(e, "name", { configurable: !0, value: n ? n + " " + t : t }); } catch (e) {} return e; }
134
140
  function _checkInRHS(e) { if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (null !== e ? _typeof(e) : "null")); return e; }
135
- /**
136
- * seconds
137
- */
138
141
  var SESSION_DURATION = 30;
139
142
  var _A = /*#__PURE__*/new WeakMap();
140
143
  var _B = /*#__PURE__*/new WeakMap();
@@ -153,20 +156,26 @@ var _N = /*#__PURE__*/new WeakMap();
153
156
  var _O = /*#__PURE__*/new WeakMap();
154
157
  var _P = /*#__PURE__*/new WeakMap();
155
158
  var _Q = /*#__PURE__*/new WeakMap();
156
- var _R = /*#__PURE__*/new WeakMap();
157
- var _S = /*#__PURE__*/new WeakMap();
158
- var _T = /*#__PURE__*/new WeakMap();
159
- _ref = (_setSpotlightStreamIdDecs = [_mobx.action, _mobx.action.bound], _setCurrentModalDecs = [_mobx.action, _mobx.action.bound], _openParticipantsWindowDecs = [_mobx.action, _mobx.action.bound], _setParticipantsWindowActiveDecs = [_mobx.action, _mobx.action.bound], _handlerSearchUserDecs = [_mobx.action, _mobx.action.bound], _closeRemoveAdmitWaitingRoomDialogDecs = [_mobx.action, _mobx.action.bound], _openRemoveAdmitWaitingRoomDialogDecs = [_mobx.action, _mobx.action.bound], _handlerUserActionDecs = [_mobx.action, _mobx.action.bound], _closeChangeNameDialogDecs = [_mobx.action, _mobx.action.bound], _moveToWaitingRoomByUserIdsDecs = [_mobx.action, _mobx.action.bound], _removeWaitingRoomUserDecs = [_mobx.action, _mobx.action.bound], _kickOutWaitingRoomAllMemberDecs = [_mobx.action, _mobx.action.bound], _moveToMainRoomAllMemberDecs = [_mobx.action, _mobx.action.bound], _handlerRoomControlActionDecs = [_mobx.action, _mobx.action.bound], _handleEventDecs = [_mobx.action, _mobx.action.bound], _moveToMainRoomByUserIdsDecs = [_mobx.action, _mobx.action.bound], _handleActiveTabDecs = [_mobx.action, _mobx.action.bound], _getInterpreterStateDecs = [_mobx.action, _mobx.action.bound], _initWaitingRoomUserListDecs = [_mobx.action, _mobx.action.bound], _kickOutUserDecs = [_mobx.action, _mobx.action.bound], _setAsAttendeeDecs = [_mobx.action, _mobx.action.bound], _onAudioVolumeUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleRemoteUserJoinedDecs = [_mobx.action, _mobx.action.bound], _handleRemoteUserLeftDecs = [_mobx.action, _mobx.action.bound], _handleRemoteWaitingUserJoinedDecs = [_mobx.action, _mobx.action.bound], _handleRemoteWaitingUserLeftDecs = [_mobx.action, _mobx.action.bound], _handleUserInfoUpdatedDecs = [_mobx.action, _mobx.action.bound], _initUserListDecs = [_mobx.action, _mobx.action.bound], _refreshCurrentPerspectiveTypeDecs = [_mobx.action, _mobx.action.bound], _onPeerSessionReceivedDecs = [_mobx.action, _mobx.action.bound], _updateLocalUserRoleDecs = [_mobx.action, _mobx.action.bound], _getOutputLanguageDecs = [_mobx.action, _mobx.action.bound], "logger");
159
+ _ref = (_setCurrentModalDecs = [_mobx.action, _mobx.action.bound], _openParticipantsWindowDecs = [_mobx.action, _mobx.action.bound], _setParticipantsWindowActiveDecs = [_mobx.action, _mobx.action.bound], _handlerSearchUserDecs = [_mobx.action, _mobx.action.bound], _closeRemoveAdmitWaitingRoomDialogDecs = [_mobx.action, _mobx.action.bound], _openRemoveAdmitWaitingRoomDialogDecs = [_mobx.action, _mobx.action.bound], _setMuteAllDialogValueDecs = [_mobx.action, _mobx.action.bound], _openMuteAllDialogDecs = [_mobx.action, _mobx.action.bound], _handlerUserActionDecs = [_mobx.action, _mobx.action.bound], _closeChangeNameDialogDecs = [_mobx.action, _mobx.action.bound], _moveToWaitingRoomByUserIdsDecs = [_mobx.action, _mobx.action.bound], _removeWaitingRoomUserDecs = [_mobx.action, _mobx.action.bound], _kickOutWaitingRoomAllMemberDecs = [_mobx.action, _mobx.action.bound], _moveToMainRoomAllMemberDecs = [_mobx.action, _mobx.action.bound], _handlerRoomControlActionDecs = [_mobx.action, _mobx.action.bound], _handleEventDecs = [_mobx.action, _mobx.action.bound], _moveToMainRoomByUserIdsDecs = [_mobx.action, _mobx.action.bound], _handleActiveTabDecs = [_mobx.action, _mobx.action.bound], _initWaitingRoomUserListDecs = [_mobx.action, _mobx.action.bound], _kickOutUserDecs = [_mobx.action, _mobx.action.bound], _setAsAttendeeDecs = [_mobx.action, _mobx.action.bound], _onAudioVolumeUpdatedDecs = [_mobx.action, _mobx.action.bound], _updateUserBoardStateDecs = [_mobx.action, _mobx.action.bound], _handleRemoteUserJoinedDecs = [_mobx.action, _mobx.action.bound], _handleRemoteUserLeftDecs = [_mobx.action, _mobx.action.bound], _handleRemoteWaitingUserJoinedDecs = [_mobx.action, _mobx.action.bound], _handleRemoteWaitingUserLeftDecs = [_mobx.action, _mobx.action.bound], _handleUserInfoUpdatedDecs = [_mobx.action, _mobx.action.bound], _initUserListDecs = [_mobx.action, _mobx.action.bound], _refreshCurrentPerspectiveTypeDecs = [_mobx.action, _mobx.action.bound], _onPeerSessionReceivedDecs = [_mobx.action, _mobx.action.bound], _updateLocalUserRoleDecs = [_mobx.action, _mobx.action.bound], _getOutputLanguageDecs = [_mobx.action, _mobx.action.bound], "logger");
160
160
  var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
161
161
  function ParticipantStore(_ref2) {
162
- var _this = this;
162
+ var _this = this,
163
+ _this$_roomStore;
163
164
  var _roomControl = _ref2.roomControl,
164
165
  securityStore = _ref2.securityStore,
165
166
  uiEventStore = _ref2.uiEventStore,
166
167
  deviceStore = _ref2.deviceStore,
167
168
  deviceStreamStore = _ref2.deviceStreamStore,
168
169
  roomStore = _ref2.roomStore,
169
- engine = _ref2.engine;
170
+ sessionProvider = _ref2.sessionProvider,
171
+ sharedSpeakerSpotlightDataSource = _ref2.sharedSpeakerSpotlightDataSource,
172
+ sharedPinDataSource = _ref2.sharedPinDataSource,
173
+ sharedLayoutDataSource = _ref2.sharedLayoutDataSource,
174
+ sharedInterpreterDataSource = _ref2.sharedInterpreterDataSource,
175
+ sharedSettingDataSource = _ref2.sharedSettingDataSource,
176
+ sharedWaitingRoomDataSource = _ref2.sharedWaitingRoomDataSource,
177
+ chatProvider = _ref2.chatProvider,
178
+ sharedVideoWindowDataSource = _ref2.sharedVideoWindowDataSource;
170
179
  (0, _classCallCheck2["default"])(this, ParticipantStore);
171
180
  (0, _defineProperty2["default"])(this, _ref, (_initProto(this), (0, _logger.getLogger)()));
172
181
  (0, _defineProperty2["default"])(this, "_dataSource", new _memberListDataSource.FcrUIMemberListDataSourceImpl());
@@ -194,15 +203,6 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
194
203
  onUserInfoUpdated: this._handleUserInfoUpdated.bind(this),
195
204
  onUserPropertiesUpdated: this._handleUserPropertiesUpdated.bind(this)
196
205
  });
197
- (0, _defineProperty2["default"])(this, "_interpreterObserver", {
198
- onInterpreterUsersUpdated: function onInterpreterUsersUpdated(roomId, users) {
199
- _this.interpreterUsers = users;
200
- },
201
- onInterpreterStateUpdated: function onInterpreterStateUpdated() {
202
- _this.interpreterState = _this.getInterpreterState();
203
- _this.interpreterUsers = _this._interpreterControl.getInterpreterUserList();
204
- }
205
- });
206
206
  (0, _defineProperty2["default"])(this, "_waitingRoomUserObserver", {
207
207
  onRemoteUsersJoined: this._handleRemoteWaitingUserJoined.bind(this),
208
208
  onRemoteUsersLeft: this._handleRemoteWaitingUserLeft.bind(this)
@@ -214,7 +214,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
214
214
  var waitingRoomUserControl = room.getUserControl();
215
215
  _this._waitingRoomUserControl = waitingRoomUserControl;
216
216
  waitingRoomUserControl.addObserver(_this._waitingRoomUserObserver);
217
- _this.waitingRoomUserCount = _this._getWaitingRoomUserCount();
217
+ // this.waitingRoomUserCount = this._getWaitingRoomUserCount() as number;
218
218
  _this._initWaitingRoomUserList();
219
219
  }
220
220
  });
@@ -222,7 +222,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
222
222
  onSecurityInfoUpdated: function onSecurityInfoUpdated(roomId, event) {
223
223
  var _event$securityInfo$i;
224
224
  _this.refreshList = Math.random();
225
- if (((_event$securityInfo$i = event.securityInfo.info) === null || _event$securityInfo$i === void 0 ? void 0 : _event$securityInfo$i.action) === _type5.FcrSecurityAction.ChangeName) {
225
+ if (((_event$securityInfo$i = event.securityInfo.info) === null || _event$securityInfo$i === void 0 ? void 0 : _event$securityInfo$i.action) === _type6.FcrSecurityAction.ChangeName) {
226
226
  if (!event.securityInfo.enable) {
227
227
  _this._closeChangeNameDialog();
228
228
  }
@@ -234,33 +234,31 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
234
234
  });
235
235
  (0, _defineProperty2["default"])(this, "_whitebaordObderver", {
236
236
  onActive: function onActive(ownerId, operatorUser) {
237
- _this._updateUserBoardState(operatorUser);
237
+ _this._updateUserBoardState();
238
238
  },
239
239
  onInactive: function onInactive(reason, operatorUser) {
240
- _this._updateUserBoardState(operatorUser);
240
+ _this._updateUserBoardState();
241
241
  }
242
242
  });
243
243
  _classPrivateFieldInitSpec(this, _A, _init__mainList(this, []));
244
- _classPrivateFieldInitSpec(this, _B, _init__participantsWindowActive(this, false));
245
- _classPrivateFieldInitSpec(this, _C, _init_currentPerspectiveType(this, 'attendee'));
246
- _classPrivateFieldInitSpec(this, _D, _init_audioVolumeMap(this, new Map()));
247
- _classPrivateFieldInitSpec(this, _E, _init_enableParticipantsJoinWithMute(this, false));
248
- _classPrivateFieldInitSpec(this, _F, _init_searchText(this, ''));
249
- _classPrivateFieldInitSpec(this, _G, _init_currentModal(this, 'modal'));
250
- _classPrivateFieldInitSpec(this, _H, _init_localUserRole(this));
251
- _classPrivateFieldInitSpec(this, _I, _init_spotlightStreamId(this, ''));
252
- _classPrivateFieldInitSpec(this, _J, _init_enableSpotlight(this, true));
253
- _classPrivateFieldInitSpec(this, _K, _init_mergeConfirmDialog(this, false));
254
- _classPrivateFieldInitSpec(this, _L, _init_mergeUserId(this, ''));
255
- _classPrivateFieldInitSpec(this, _M, _init_activeTab(this, _constant.RoomType.MAIN_ROOM));
256
- _classPrivateFieldInitSpec(this, _N, _init_isNewWaitingRoomUserEnter(this, false));
257
- _classPrivateFieldInitSpec(this, _O, _init_waitingRoomUserCount(this, 0));
258
- _classPrivateFieldInitSpec(this, _P, _init_interpreterUsers(this, []));
259
- // 翻译官列表
260
- _classPrivateFieldInitSpec(this, _Q, _init_interpreterState(this));
261
- _classPrivateFieldInitSpec(this, _R, _init_interpreterInputLanguageList(this, []));
262
- _classPrivateFieldInitSpec(this, _S, _init_newName(this, ''));
263
- _classPrivateFieldInitSpec(this, _T, _init_refreshList(this, Math.random()));
244
+ _classPrivateFieldInitSpec(this, _B, _init__isChecked(this, {}));
245
+ _classPrivateFieldInitSpec(this, _C, _init__participantsWindowActive(this, false));
246
+ _classPrivateFieldInitSpec(this, _D, _init_currentPerspectiveType(this, 'attendee'));
247
+ _classPrivateFieldInitSpec(this, _E, _init_audioVolumeMap(this, new Map()));
248
+ _classPrivateFieldInitSpec(this, _F, _init_enableParticipantsJoinWithMute(this, false));
249
+ _classPrivateFieldInitSpec(this, _G, _init_searchText(this, ''));
250
+ _classPrivateFieldInitSpec(this, _H, _init_currentModal(this, 'modal'));
251
+ _classPrivateFieldInitSpec(this, _I, _init_localUserRole(this));
252
+ // @observable accessor spotlightStreamId: string = '';
253
+ // @observable accessor enableSpotlight: boolean = true;
254
+ _classPrivateFieldInitSpec(this, _J, _init_mergeConfirmDialog(this, false));
255
+ _classPrivateFieldInitSpec(this, _K, _init_mergeUserId(this, ''));
256
+ _classPrivateFieldInitSpec(this, _L, _init_activeTab(this, _type5.FcrRoomType.Mainroom));
257
+ _classPrivateFieldInitSpec(this, _M, _init_interpreterInputLanguageList(this, []));
258
+ _classPrivateFieldInitSpec(this, _N, _init_newName(this, ''));
259
+ _classPrivateFieldInitSpec(this, _O, _init_refreshList(this, Math.random()));
260
+ _classPrivateFieldInitSpec(this, _P, _init_allowUnmute(this, false));
261
+ _classPrivateFieldInitSpec(this, _Q, _init_joinWithMuteAudio(this, false));
264
262
  (0, _defineProperty2["default"])(this, "allowedOperations", (0, _mobxUtils.computedFn)(function (userId, userRole) {
265
263
  var _this$_localUser;
266
264
  return _this.getAllowedOperations(userRole, userId === ((_this$_localUser = _this._localUser) === null || _this$_localUser === void 0 ? void 0 : _this$_localUser.userId));
@@ -373,30 +371,41 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
373
371
  };
374
372
  });
375
373
  this._roomControl = _roomControl;
374
+ this._chatProvider = chatProvider;
376
375
  this._streamControl = _roomControl.getStreamControl();
377
- this._peerSessionControl = engine.getPeerSessionControl();
376
+ this._peerSessionControl = sessionProvider;
378
377
  this._userControl = _roomControl.getUserControl();
378
+ this._sharedWaitingRoomDataSource = sharedWaitingRoomDataSource;
379
379
  this._securityStore = securityStore;
380
380
  this._uiEventStore = uiEventStore;
381
381
  this._deviceStore = deviceStore;
382
382
  this._deviceStreamStore = deviceStreamStore;
383
383
  this._roomStore = roomStore;
384
- this._interpreterControl = _roomControl.getInterpreterControl();
384
+ this._sharedSpeakerSpotlightDataSource = sharedSpeakerSpotlightDataSource;
385
+ this._sharedPinDataSource = sharedPinDataSource;
386
+ this._sharedLayoutDataSource = sharedLayoutDataSource;
387
+ this._sharedSettingDataSource = sharedSettingDataSource;
388
+ this._sharedVideoWindowDataSource = sharedVideoWindowDataSource;
389
+ this.allowUnmute = this._securityStore.allowUnmuteSelfAudio();
390
+ this.joinWithMuteAudio = this._securityStore.allowJoinWithMuteAudio();
385
391
  this._uiEventStore.addObserver(this._eventObserver);
386
392
  this._userControl.addObserver(this._userObserver);
387
393
  this._streamControl.addObserver(this._streamsObserver);
388
394
  this._peerSessionControl.addObserver(this._peerSessionObserver);
389
395
  this._roomControl.getBoardControl().addObserver(this._whitebaordObderver);
390
396
  this._roomControl.getPrivilegeControl().addObserver(this._privilegeControlObserver);
391
- this._interpreterControl.addObserver(this._interpreterObserver);
392
- this._roomStore.addObserver(this._roomStoreObserver);
397
+ (_this$_roomStore = this._roomStore) === null || _this$_roomStore === void 0 || _this$_roomStore.addObserver(this._roomStoreObserver);
398
+ this._sharedInterpreterDataSource = sharedInterpreterDataSource;
393
399
  this._initUserList();
394
400
  this._updateUserBoardState();
395
- this.interpreterUsers = this._interpreterControl.getInterpreterUserList();
396
- this.interpreterState = this.getInterpreterState();
397
401
  this._getOutputLanguage();
398
402
  this.localUserRole = this._localUser.userRole;
399
403
  }
404
+
405
+ // @action.bound
406
+ // setSpotlightStreamId(streamId: string) {
407
+ // this.spotlightStreamId = streamId;
408
+ // }
400
409
  return (0, _createClass2["default"])(ParticipantStore, [{
401
410
  key: "_localUser",
402
411
  get: function get() {
@@ -411,7 +420,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
411
420
  _classPrivateFieldSet(_A, this, v);
412
421
  }
413
422
  }, {
414
- key: "_participantsWindowActive",
423
+ key: "_isChecked",
415
424
  get: function get() {
416
425
  return _classPrivateFieldGet(_B, this);
417
426
  },
@@ -419,7 +428,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
419
428
  _classPrivateFieldSet(_B, this, v);
420
429
  }
421
430
  }, {
422
- key: "currentPerspectiveType",
431
+ key: "_participantsWindowActive",
423
432
  get: function get() {
424
433
  return _classPrivateFieldGet(_C, this);
425
434
  },
@@ -427,7 +436,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
427
436
  _classPrivateFieldSet(_C, this, v);
428
437
  }
429
438
  }, {
430
- key: "audioVolumeMap",
439
+ key: "currentPerspectiveType",
431
440
  get: function get() {
432
441
  return _classPrivateFieldGet(_D, this);
433
442
  },
@@ -435,7 +444,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
435
444
  _classPrivateFieldSet(_D, this, v);
436
445
  }
437
446
  }, {
438
- key: "enableParticipantsJoinWithMute",
447
+ key: "audioVolumeMap",
439
448
  get: function get() {
440
449
  return _classPrivateFieldGet(_E, this);
441
450
  },
@@ -443,7 +452,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
443
452
  _classPrivateFieldSet(_E, this, v);
444
453
  }
445
454
  }, {
446
- key: "searchText",
455
+ key: "enableParticipantsJoinWithMute",
447
456
  get: function get() {
448
457
  return _classPrivateFieldGet(_F, this);
449
458
  },
@@ -451,7 +460,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
451
460
  _classPrivateFieldSet(_F, this, v);
452
461
  }
453
462
  }, {
454
- key: "currentModal",
463
+ key: "searchText",
455
464
  get: function get() {
456
465
  return _classPrivateFieldGet(_G, this);
457
466
  },
@@ -459,7 +468,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
459
468
  _classPrivateFieldSet(_G, this, v);
460
469
  }
461
470
  }, {
462
- key: "localUserRole",
471
+ key: "currentModal",
463
472
  get: function get() {
464
473
  return _classPrivateFieldGet(_H, this);
465
474
  },
@@ -467,7 +476,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
467
476
  _classPrivateFieldSet(_H, this, v);
468
477
  }
469
478
  }, {
470
- key: "spotlightStreamId",
479
+ key: "localUserRole",
471
480
  get: function get() {
472
481
  return _classPrivateFieldGet(_I, this);
473
482
  },
@@ -475,7 +484,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
475
484
  _classPrivateFieldSet(_I, this, v);
476
485
  }
477
486
  }, {
478
- key: "enableSpotlight",
487
+ key: "mergeConfirmDialog",
479
488
  get: function get() {
480
489
  return _classPrivateFieldGet(_J, this);
481
490
  },
@@ -483,7 +492,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
483
492
  _classPrivateFieldSet(_J, this, v);
484
493
  }
485
494
  }, {
486
- key: "mergeConfirmDialog",
495
+ key: "mergeUserId",
487
496
  get: function get() {
488
497
  return _classPrivateFieldGet(_K, this);
489
498
  },
@@ -491,7 +500,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
491
500
  _classPrivateFieldSet(_K, this, v);
492
501
  }
493
502
  }, {
494
- key: "mergeUserId",
503
+ key: "activeTab",
495
504
  get: function get() {
496
505
  return _classPrivateFieldGet(_L, this);
497
506
  },
@@ -499,7 +508,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
499
508
  _classPrivateFieldSet(_L, this, v);
500
509
  }
501
510
  }, {
502
- key: "activeTab",
511
+ key: "interpreterInputLanguageList",
503
512
  get: function get() {
504
513
  return _classPrivateFieldGet(_M, this);
505
514
  },
@@ -507,7 +516,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
507
516
  _classPrivateFieldSet(_M, this, v);
508
517
  }
509
518
  }, {
510
- key: "isNewWaitingRoomUserEnter",
519
+ key: "newName",
511
520
  get: function get() {
512
521
  return _classPrivateFieldGet(_N, this);
513
522
  },
@@ -515,7 +524,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
515
524
  _classPrivateFieldSet(_N, this, v);
516
525
  }
517
526
  }, {
518
- key: "waitingRoomUserCount",
527
+ key: "refreshList",
519
528
  get: function get() {
520
529
  return _classPrivateFieldGet(_O, this);
521
530
  },
@@ -523,7 +532,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
523
532
  _classPrivateFieldSet(_O, this, v);
524
533
  }
525
534
  }, {
526
- key: "interpreterUsers",
535
+ key: "allowUnmute",
527
536
  get: function get() {
528
537
  return _classPrivateFieldGet(_P, this);
529
538
  },
@@ -531,7 +540,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
531
540
  _classPrivateFieldSet(_P, this, v);
532
541
  }
533
542
  }, {
534
- key: "interpreterState",
543
+ key: "joinWithMuteAudio",
535
544
  get: function get() {
536
545
  return _classPrivateFieldGet(_Q, this);
537
546
  },
@@ -539,38 +548,24 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
539
548
  _classPrivateFieldSet(_Q, this, v);
540
549
  }
541
550
  }, {
542
- key: "interpreterInputLanguageList",
543
- get: function get() {
544
- return _classPrivateFieldGet(_R, this);
545
- },
546
- set: function set(v) {
547
- _classPrivateFieldSet(_R, this, v);
548
- }
549
- }, {
550
- key: "newName",
551
- get: function get() {
552
- return _classPrivateFieldGet(_S, this);
553
- },
554
- set: function set(v) {
555
- _classPrivateFieldSet(_S, this, v);
556
- }
557
- }, {
558
- key: "refreshList",
551
+ key: "enableSpotlight",
559
552
  get: function get() {
560
- return _classPrivateFieldGet(_T, this);
561
- },
562
- set: function set(v) {
563
- _classPrivateFieldSet(_T, this, v);
553
+ return this._sharedSettingDataSource.setting.spotlightEnabled;
564
554
  }
565
555
  }, {
566
556
  key: "userListSource",
567
557
  get: function get() {
568
- if (this.activeTab === _constant.RoomType.MAIN_ROOM) {
558
+ if (this.activeTab === _type5.FcrRoomType.Mainroom) {
569
559
  return this._dataSource.list;
570
560
  } else {
571
561
  return this._waitingRoomDataSource.list;
572
562
  }
573
563
  }
564
+ }, {
565
+ key: "spotlightStreamId",
566
+ get: function get() {
567
+ return this._sharedVideoWindowDataSource.spotlightStreamId;
568
+ }
574
569
  }, {
575
570
  key: "mergeUserInfo",
576
571
  get: function get() {
@@ -671,9 +666,24 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
671
666
  return this._securityStore.hasRevokeHostPermission() && this.localUserRole !== _type.FcrUserRole.HOST;
672
667
  }
673
668
  }, {
674
- key: "setSpotlightStreamId",
675
- value: function setSpotlightStreamId(streamId) {
676
- this.spotlightStreamId = streamId;
669
+ key: "interpreterUsers",
670
+ get: function get() {
671
+ return this._sharedInterpreterDataSource.interpreterUsers;
672
+ }
673
+ }, {
674
+ key: "interpreterState",
675
+ get: function get() {
676
+ return this._sharedInterpreterDataSource.interpreterOff;
677
+ }
678
+ }, {
679
+ key: "waitingRoomUserCount",
680
+ get: function get() {
681
+ return this._sharedWaitingRoomDataSource.totalWaitingRoomUser;
682
+ }
683
+ }, {
684
+ key: "isNewWaitingRoomUserEnter",
685
+ get: function get() {
686
+ return this._sharedWaitingRoomDataSource.unReadState;
677
687
  }
678
688
  }, {
679
689
  key: "release",
@@ -683,7 +693,6 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
683
693
  this._streamControl.removeObserver(this._streamsObserver);
684
694
  this._peerSessionControl.removeObserver(this._peerSessionObserver);
685
695
  this._roomControl.getBoardControl().removeObserver(this._whitebaordObderver);
686
- this._interpreterControl.removeObserver(this._interpreterObserver);
687
696
  this._roomControl.getPrivilegeControl().removeObserver(this._privilegeControlObserver);
688
697
  this._roomStore.removeObserver(this._roomStoreObserver);
689
698
  this._disposers.forEach(function (disposer) {
@@ -718,7 +727,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
718
727
  }, {
719
728
  key: "closeParticipantsAside",
720
729
  value: function closeParticipantsAside() {
721
- this._uiEventStore.updateAside({
730
+ this._sharedLayoutDataSource.setAsideLayout({
722
731
  participant: false
723
732
  });
724
733
  }
@@ -750,7 +759,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
750
759
  }, {
751
760
  key: "openDialog",
752
761
  value: function openDialog() {
753
- this._dialogId = this._uiEventStore.openDialog(_constant.DialogKey.PARTICIPANT);
762
+ this._dialogId = this._uiEventStore.openDialog(_constant.FcrUIDialogKey.PARTICIPANT);
754
763
  }
755
764
  }, {
756
765
  key: "openConfirmDialog",
@@ -813,10 +822,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
813
822
  return stream.videoSourceType === _type2.AgoraRteVideoSourceType.CAMERA;
814
823
  })) === null || _this$userMap$get3 === void 0 ? void 0 : _this$userMap$get3.streamId;
815
824
  if (streamId) {
816
- this._uiEventStore.sendEvent(_constant.UIAction.VIDEO_WINDOW_PIN_ACTION, {
817
- action: _constant.VideoWindowPinType.REMOVE_PIN,
818
- streamId: streamId
819
- });
825
+ this._sharedVideoWindowDataSource.removePinToast(streamId, (0, _i18n.transI18n)('fmt_settings_tips_screenunlock'));
820
826
  }
821
827
  }
822
828
  }, {
@@ -827,10 +833,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
827
833
  return stream.videoSourceType === _type2.AgoraRteVideoSourceType.CAMERA;
828
834
  })) === null || _this$userMap$get4 === void 0 ? void 0 : _this$userMap$get4.streamId;
829
835
  if (streamId) {
830
- this._uiEventStore.sendEvent(_constant.UIAction.VIDEO_WINDOW_PIN_ACTION, {
831
- action: _constant.VideoWindowPinType.ADD_PIN,
832
- streamId: streamId
833
- });
836
+ this._sharedVideoWindowDataSource.addPinToast(streamId);
834
837
  }
835
838
  }
836
839
  }, {
@@ -840,18 +843,82 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
840
843
  }
841
844
  }, {
842
845
  key: "openRemoveAdmitWaitingRoomDialog",
843
- value: function openRemoveAdmitWaitingRoomDialog(dialogKey, params) {
844
- this._uiEventStore.openDialog(dialogKey, '', {
845
- userId: params.userId,
846
- type: params.type,
846
+ value: function openRemoveAdmitWaitingRoomDialog(params) {
847
+ var _this5 = this;
848
+ var buttonTextMap = {
849
+ removeAll: (0, _i18n.transI18n)('fmt_waitingroom_sidebar_button_removeall'),
850
+ admitAll: (0, _i18n.transI18n)('fmt_waitingroom_sidebar_button_admitall'),
851
+ remove: (0, _i18n.transI18n)('fmt_waitingroom_sidebar_popup_button_remove')
852
+ };
853
+ this._isChecked[params.type] = false;
854
+ var key = this.openConfirmDialog({
847
855
  title: params.title,
848
- tooltip: params.tooltip
856
+ alignCenter: true,
857
+ content: /*#__PURE__*/(0, _jsxRuntime.jsx)(_operateWaitingroomMember.OperateWaitingRoomMemberDialog, {
858
+ type: params.type,
859
+ userId: params.userId,
860
+ tooltip: params.tooltip,
861
+ title: params.title,
862
+ onChecked: function onChecked(isChecked) {
863
+ _this5._isChecked[params.type] = isChecked;
864
+ }
865
+ }),
866
+ onOk: function onOk() {
867
+ if (params.type === 'remove') {
868
+ _this5.removeWaitingRoomUser(params.userId, _this5._isChecked[params.type] ? _type4.FcrUserKickedOutType.Forever : _type4.FcrUserKickedOutType.Once);
869
+ }
870
+ if (params.type === 'removeAll') {
871
+ _this5.kickOutWaitingRoomAllMember(_this5._isChecked[params.type] ? _type4.FcrUserKickedOutType.Forever : _type4.FcrUserKickedOutType.Once);
872
+ }
873
+ if (params.type === 'admitAll') {
874
+ _this5.moveToMainRoomAllMember();
875
+ }
876
+ _this5._uiEventStore.closeConfirm(key);
877
+ },
878
+ okText: buttonTextMap[params.type]
879
+ });
880
+ }
881
+ }, {
882
+ key: "setMuteAllDialogValue",
883
+ value: function setMuteAllDialogValue(allowUnmuteSelfAudio, allowJoinWithMuteAudio) {
884
+ this.allowUnmute = allowUnmuteSelfAudio;
885
+ this.joinWithMuteAudio = allowJoinWithMuteAudio;
886
+ }
887
+ }, {
888
+ key: "openMuteAllDialog",
889
+ value: function openMuteAllDialog(params) {
890
+ var _this6 = this;
891
+ this.openConfirmDialog({
892
+ title: (0, _i18n.transI18n)('fmt_attendies_options_muteall'),
893
+ content: /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
894
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_muteAll.MuteAllDialog, {
895
+ allowUnmuteSelfAudio: this.allowUnmuteSelfAudio,
896
+ allowJoinWithMuteAudio: this.allowJoinWithMuteAudio,
897
+ open: params.open,
898
+ setMuteAllDialogValue: this.setMuteAllDialogValue
899
+ })
900
+ }),
901
+ okButtonProps: {
902
+ styleType: 'danger',
903
+ shape: 'rounded'
904
+ },
905
+ cancelButtonProps: {
906
+ shape: 'rounded'
907
+ },
908
+ okText: (0, _i18n.transI18n)('fmt_attendies_button_muteall'),
909
+ cancelText: (0, _i18n.transI18n)('fmt_attendies_button_cancel'),
910
+ onOk: function onOk() {
911
+ _this6.handlerRoomControlAction(_constant.FcrUIRoomControlType.MUTE_ALL_AUDIO, {
912
+ allowUnmute: _this6.allowUnmute,
913
+ joinWithMuteAudio: _this6.joinWithMuteAudio
914
+ });
915
+ }
849
916
  });
850
917
  }
851
918
  }, {
852
919
  key: "handlerUserAction",
853
920
  value: function handlerUserAction(action, userId) {
854
- var _this5 = this;
921
+ var _this7 = this;
855
922
  switch (action) {
856
923
  case _attendee.ParticipantActionType.MUTE_AUDIO:
857
924
  this._muteUserAudio(userId);
@@ -869,17 +936,20 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
869
936
  this._privateChat(userId);
870
937
  break;
871
938
  case _attendee.ParticipantActionType.KICK_OUT:
872
- if (this.activeTab === _constant.RoomType.MAIN_ROOM) {
939
+ if (this.activeTab === _type5.FcrRoomType.Mainroom) {
873
940
  this._kickOutUser(userId);
874
941
  } else {
875
942
  var _this$userMap$get5;
876
- this.openRemoveAdmitWaitingRoomDialog(_constant.DialogKey.WAITING_ROOM_SINGLE_REMOVE, {
943
+ this.openRemoveAdmitWaitingRoomDialog({
877
944
  userId: userId,
878
945
  type: 'remove',
879
946
  title: (0, _i18n.transI18n)('fmt_waitingroom_sidebar_popup_removeall'),
880
947
  tooltip: (0, _i18n.transI18n)('fmt_waitingroom_sidebar_popup_label_remove', {
881
948
  reason1: (_this$userMap$get5 = this.userMap.get(userId)) === null || _this$userMap$get5 === void 0 ? void 0 : _this$userMap$get5.userInfo.userName
882
- })
949
+ }),
950
+ onChecked: function onChecked(isChecked) {
951
+ _this7._isChecked['remove'] = isChecked;
952
+ }
883
953
  });
884
954
  }
885
955
  break;
@@ -917,7 +987,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
917
987
  title: (0, _i18n.transI18n)('fmt_additional_option_rename_in_meeting'),
918
988
  content: /*#__PURE__*/(0, _jsxRuntime.jsx)(_rename["default"], {
919
989
  onChange: function onChange(value) {
920
- return _this5.newName = value;
990
+ return _this7.newName = value;
921
991
  }
922
992
  }),
923
993
  onOk: function () {
@@ -926,11 +996,11 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
926
996
  while (1) switch (_context.prev = _context.next) {
927
997
  case 0:
928
998
  _context.next = 2;
929
- return _this5._userControl.updateUserName(userId, _this5.newName);
999
+ return _this7._userControl.updateUserName(userId, _this7.newName);
930
1000
  case 2:
931
1001
  (0, _mobx.runInAction)(function () {
932
- _this5._closeChangeNameDialog();
933
- _this5._uiEventStore.showToast({
1002
+ _this7._closeChangeNameDialog();
1003
+ _this7._uiEventStore.showToast({
934
1004
  type: 'normal',
935
1005
  message: (0, _i18n.transI18n)('fmt_additional_tips_nickname_change_success')
936
1006
  });
@@ -948,7 +1018,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
948
1018
  }(),
949
1019
  alignCenter: true,
950
1020
  onCancel: function onCancel() {
951
- _this5._closeChangeNameDialog();
1021
+ _this7._closeChangeNameDialog();
952
1022
  },
953
1023
  closable: false,
954
1024
  height: 190
@@ -959,10 +1029,10 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
959
1029
  }, {
960
1030
  key: "_closeChangeNameDialog",
961
1031
  value: function _closeChangeNameDialog() {
962
- var _this6 = this;
1032
+ var _this8 = this;
963
1033
  if (this._changeNameDialogKey.length > 0) {
964
1034
  this._changeNameDialogKey.forEach(function (key) {
965
- _this6._uiEventStore.closeConfirm(key);
1035
+ _this8._uiEventStore.closeConfirm(key);
966
1036
  });
967
1037
  this._changeNameDialogKey = [];
968
1038
  }
@@ -1084,34 +1154,34 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
1084
1154
  key: "handlerRoomControlAction",
1085
1155
  value: function handlerRoomControlAction(action, data) {
1086
1156
  switch (action) {
1087
- case _constant.RoomControlType.MUTE_ALL_AUDIO:
1157
+ case _constant.FcrUIRoomControlType.MUTE_ALL_AUDIO:
1088
1158
  this._muteAllAudio(data.allowUnmute, data.joinWithMuteAudio);
1089
1159
  break;
1090
- case _constant.RoomControlType.UNMUTE_ALL_AUDIO:
1160
+ case _constant.FcrUIRoomControlType.UNMUTE_ALL_AUDIO:
1091
1161
  this._unmuteAllAudio();
1092
1162
  break;
1093
- case _constant.RoomControlType.ALLOW_ATTENDEE_TO_UNMUTE:
1163
+ case _constant.FcrUIRoomControlType.ALLOW_ATTENDEE_TO_UNMUTE:
1094
1164
  this._enableSelfUnmute(data);
1095
1165
  break;
1096
- case _constant.RoomControlType.ALLOW_ATTENDEE_TO_OPEN_CAMERA:
1166
+ case _constant.FcrUIRoomControlType.ALLOW_ATTENDEE_TO_OPEN_CAMERA:
1097
1167
  this._enableOpenVideo(data);
1098
1168
  break;
1099
- case _constant.RoomControlType.REVOKE_HOST:
1169
+ case _constant.FcrUIRoomControlType.REVOKE_HOST:
1100
1170
  this._revokeHost();
1101
1171
  break;
1102
- case _constant.RoomControlType.PLAY_JOIN_LEAVE_SOUND:
1172
+ case _constant.FcrUIRoomControlType.PLAY_JOIN_LEAVE_SOUND:
1103
1173
  this._playJoinLeaveSound();
1104
1174
  break;
1105
- case _constant.RoomControlType.LOCK_ROOM:
1175
+ case _constant.FcrUIRoomControlType.LOCK_ROOM:
1106
1176
  this._lockRoom(data);
1107
1177
  break;
1108
- case _constant.RoomControlType.ENABLE_WAITING_ROOM:
1178
+ case _constant.FcrUIRoomControlType.ENABLE_WAITING_ROOM:
1109
1179
  this._enableWaitingRoom(data);
1110
1180
  break;
1111
- case _constant.RoomControlType.RENAME:
1181
+ case _constant.FcrUIRoomControlType.RENAME:
1112
1182
  this._enableRename();
1113
1183
  break;
1114
- case _constant.RoomControlType.JOIN_WITH_MUTE_AUDIO:
1184
+ case _constant.FcrUIRoomControlType.JOIN_WITH_MUTE_AUDIO:
1115
1185
  this.enableJoinWithMuteAudio(data);
1116
1186
  break;
1117
1187
  }
@@ -1119,42 +1189,31 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
1119
1189
  }, {
1120
1190
  key: "_handleEvent",
1121
1191
  value: function _handleEvent(action, payload) {
1122
- if (action === _constant.UIAction.MAIN_LIST_CHANGED) {
1192
+ if (action === _constant.FcrUIAction.MAIN_LIST_CHANGED) {
1123
1193
  this._mainList = payload || [];
1124
1194
  }
1125
- if (action === _constant.UIAction.SPOTLIGHT_STREAM_CHANGED) {
1195
+ if (action === _constant.FcrUIAction.CUSTOM_SETTINGS_CHANGED) {
1126
1196
  var _ref6 = payload,
1127
- type = _ref6.type,
1128
- streamId = _ref6.streamId;
1129
- if (type === 'add') {
1130
- this.setSpotlightStreamId(streamId);
1131
- } else {
1132
- this.setSpotlightStreamId('');
1133
- }
1134
- }
1135
- if (action === _constant.UIAction.CUSTOM_SETTINGS_CHANGED) {
1136
- var _ref7 = payload,
1137
- spotlightEnabled = _ref7.spotlightEnabled;
1138
- this.enableSpotlight = spotlightEnabled;
1197
+ spotlightEnabled = _ref6.spotlightEnabled;
1198
+ // this.enableSpotlight = spotlightEnabled;
1139
1199
  }
1140
- if (action === _constant.UIAction.CHANGE_PARTICIPANT_TAB) {
1200
+ if (action === _constant.FcrUIAction.CHANGE_PARTICIPANT_TAB) {
1141
1201
  this.handleActiveTab(payload);
1142
1202
  }
1143
- if (action === _constant.UIAction.WAITING_ROOM_DESTROYED) {
1203
+ if (action === _constant.FcrUIAction.WAITING_ROOM_DESTROYED) {
1144
1204
  var _this$_waitingRoomUse3;
1145
1205
  (_this$_waitingRoomUse3 = this._waitingRoomUserControl) === null || _this$_waitingRoomUse3 === void 0 || _this$_waitingRoomUse3.removeObserver(this._waitingRoomUserObserver);
1146
1206
  this._waitingRoomControl = undefined;
1147
1207
  this._waitingRoomUserControl = undefined;
1148
- this.waitingRoomUserCount = 0;
1149
- this.handleActiveTab(_constant.RoomType.MAIN_ROOM);
1208
+ this.handleActiveTab(_type5.FcrRoomType.Mainroom);
1150
1209
  }
1151
- if (action === _constant.UIAction.START_SHARE_SCREEN) {
1210
+ if (action === _constant.FcrUIAction.START_SHARE_SCREEN) {
1152
1211
  this._screenSharingState = _fcrCore.FcrMediaSourceState.OPEN;
1153
1212
  }
1154
- if (action === _constant.UIAction.STOP_SHARE_SCREEN) {
1213
+ if (action === _constant.FcrUIAction.STOP_SHARE_SCREEN) {
1155
1214
  this._screenSharingState = _fcrCore.FcrMediaSourceState.CLOSE;
1156
1215
  }
1157
- if (action === _constant.UIAction.PARTICIPANT_ACTION) {
1216
+ if (action === _constant.FcrUIAction.PARTICIPANT_ACTION) {
1158
1217
  this.handlerUserAction(payload.action, payload.userId);
1159
1218
  }
1160
1219
  }
@@ -1169,16 +1228,12 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
1169
1228
  key: "handleActiveTab",
1170
1229
  value: function handleActiveTab(tab) {
1171
1230
  this.activeTab = tab;
1172
- this._uiEventStore.sendEvent(_constant.UIAction.CURRENT_PARTITIPANT_TAB, tab);
1173
- if (this.activeTab === _constant.RoomType.WAITING_ROOM) {
1174
- this.isNewWaitingRoomUserEnter = false;
1231
+ this.refreshList = Math.random();
1232
+ // this._uiEventStore.sendEvent(FcrUIAction.CURRENT_PARTITIPANT_TAB, tab);
1233
+ if (this.activeTab === _type5.FcrRoomType.Waitingroom) {
1234
+ this._sharedWaitingRoomDataSource.unReadState = false;
1175
1235
  }
1176
1236
  }
1177
- }, {
1178
- key: "getInterpreterState",
1179
- value: function getInterpreterState() {
1180
- return this._interpreterControl.getState().enable;
1181
- }
1182
1237
  }, {
1183
1238
  key: "_initWaitingRoomUserList",
1184
1239
  value: function _initWaitingRoomUserList() {
@@ -1200,7 +1255,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
1200
1255
  function _muteUserAudio(user) {
1201
1256
  var isSelf = user === this._localUser.userId;
1202
1257
  if (isSelf) {
1203
- this._deviceStreamStore.enableMicrophoneWithStream(false);
1258
+ this._deviceStreamStore.enableMicrophoneWithPreCheck(false);
1204
1259
  } else {
1205
1260
  var targetUsers = this._streamControl.getStreamsByUserId(user);
1206
1261
  var targetUser = targetUsers.find(function (user) {
@@ -1220,7 +1275,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
1220
1275
  value: function _unmuteUserAudio(userId) {
1221
1276
  var isSelf = userId === this._localUser.userId;
1222
1277
  if (isSelf) {
1223
- this._deviceStreamStore.enableMicrophoneWithStream(true);
1278
+ this._deviceStreamStore.enableMicrophoneWithPreCheck(true);
1224
1279
  } else {
1225
1280
  var _this$_unmuteAudioTim;
1226
1281
  var targetUsers = this._streamControl.getStreamsByUserId(userId);
@@ -1250,7 +1305,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
1250
1305
  value: function _muteUserVideo(user) {
1251
1306
  var isSelf = user === this._localUser.userId;
1252
1307
  if (isSelf) {
1253
- this._deviceStreamStore.enableCameraWithStream(false);
1308
+ this._deviceStreamStore.enableCameraWithPreCheck(false);
1254
1309
  } else {
1255
1310
  var targetUsers = this._streamControl.getStreamsByUserId(user);
1256
1311
  var targetUser = targetUsers.find(function (user) {
@@ -1272,13 +1327,13 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
1272
1327
  value: function _unmuteUserVideo(userId) {
1273
1328
  var isSelf = userId === this._localUser.userId;
1274
1329
  if (isSelf) {
1275
- this._deviceStreamStore.enableCameraWithStream(true);
1330
+ this._deviceStreamStore.enableCameraWithPreCheck(true);
1276
1331
  } else {
1277
1332
  var localUser = this._localUser;
1278
1333
  var targetUsers = this._streamControl.getStreamsByUserId(userId);
1279
1334
  var targetUser = targetUsers[0];
1280
1335
  if (localUser.userId === userId) {
1281
- this._deviceStreamStore.enableCameraWithStream(true);
1336
+ this._deviceStreamStore.enableCameraWithPreCheck(true);
1282
1337
  } else {
1283
1338
  var _this$_unmuteVideoTim;
1284
1339
  var now = Date.now();
@@ -1303,34 +1358,36 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
1303
1358
  if (!this._securityStore.permitPrivateChat(userId)) {
1304
1359
  return;
1305
1360
  }
1306
- this._uiEventStore.updateAside({
1307
- chat: true
1308
- });
1309
- this._uiEventStore.sendEvent(_constant.UIAction.TOGGLE_CHAT_ROOM_TAB, this.activeTab);
1361
+ if (this._sharedLayoutDataSource.chatRenderAt !== 'dialog') {
1362
+ this._sharedLayoutDataSource.setAsideLayout({
1363
+ chat: true
1364
+ });
1365
+ this._uiEventStore.sendEvent(_constant.FcrUIAction.TOGGLE_CHAT_ROOM_TAB, this.activeTab);
1366
+ }
1310
1367
  var userData = this.userListSource.find(function (u) {
1311
1368
  return u.userId === userId;
1312
1369
  });
1313
- userData && this._uiEventStore.notifyChatUpdateTarget(userData.userInfo, this.activeTab);
1370
+ userData && this._chatProvider.setPrivateChatTargetUser(userData.userInfo, this.activeTab);
1314
1371
  if ((0, _env.isElectron)() && this._screenSharingState === _fcrCore.FcrMediaSourceState.OPEN) {
1315
- this._uiEventStore.openDialog(_constant.DialogKey.CHAT);
1372
+ this._uiEventStore.openDialog(_constant.FcrUIDialogKey.CHAT);
1316
1373
  }
1317
1374
  }
1318
1375
  }, {
1319
1376
  key: "_kickOutUser",
1320
1377
  value: function _kickOutUser(userId) {
1321
- var _this7 = this,
1378
+ var _this9 = this,
1322
1379
  _this$userMap$get7;
1323
1380
  var dialogId = this.openConfirmDialog({
1324
1381
  title: '',
1325
1382
  onCancel: function onCancel() {
1326
- _this7._uiEventStore.closeConfirm(dialogId);
1383
+ _this9._uiEventStore.closeConfirm(dialogId);
1327
1384
  },
1328
1385
  content: (0, _i18n.transI18n)('fmt_uimanager_tips_Remove', {
1329
1386
  reason2: (_this$userMap$get7 = this.userMap.get(userId)) === null || _this$userMap$get7 === void 0 ? void 0 : _this$userMap$get7.userInfo.userName
1330
1387
  }),
1331
1388
  onOk: function onOk() {
1332
- _this7._userControl.kickOut(userId, _type4.FcrUserKickedOutType.Once);
1333
- _this7._uiEventStore.closeConfirm(dialogId);
1389
+ _this9._userControl.kickOut(userId, _type4.FcrUserKickedOutType.Once);
1390
+ _this9._uiEventStore.closeConfirm(dialogId);
1334
1391
  },
1335
1392
  height: 160
1336
1393
  }, 'KICK_OUT');
@@ -1339,7 +1396,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
1339
1396
  key: "_handleSetHostOrCoHost",
1340
1397
  value: function _handleSetHostOrCoHost(userId, type) {
1341
1398
  var _this$userMap$get8,
1342
- _this8 = this;
1399
+ _this10 = this;
1343
1400
  var username = (_this$userMap$get8 = this.userMap.get(userId)) === null || _this$userMap$get8 === void 0 ? void 0 : _this$userMap$get8.userInfo.userName;
1344
1401
  var targetRole = type === 'host' ? (0, _i18n.transI18n)('fmt_role_host') : (0, _i18n.transI18n)('fmt_role_cohost');
1345
1402
  var dialogId = this.openConfirmDialog({
@@ -1347,22 +1404,22 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
1347
1404
  reason1: targetRole
1348
1405
  }),
1349
1406
  onCancel: function onCancel() {
1350
- _this8._uiEventStore.closeConfirm(dialogId);
1407
+ _this10._uiEventStore.closeConfirm(dialogId);
1351
1408
  },
1352
1409
  content: (0, _i18n.transI18n)('fmt_uimanager_tips_designedas', {
1353
1410
  reason1: username,
1354
1411
  reason2: targetRole
1355
1412
  }),
1356
1413
  onOk: function onOk() {
1357
- if (!_this8.userMap.has(userId)) {
1358
- _this8._uiEventStore.showToast({
1414
+ if (!_this10.userMap.has(userId)) {
1415
+ _this10._uiEventStore.showToast({
1359
1416
  type: 'error',
1360
1417
  message: (0, _i18n.transI18n)('fmt_uimanager_tips_userleaft')
1361
1418
  });
1362
1419
  return;
1363
1420
  }
1364
- _this8._userControl.updateRemoteUserRole(userId, type === 'host' ? _type.FcrUserRole.HOST : _type.FcrUserRole.COHOST);
1365
- _this8._uiEventStore.closeConfirm(dialogId);
1421
+ _this10._userControl.updateRemoteUserRole(userId, type === 'host' ? _type.FcrUserRole.HOST : _type.FcrUserRole.COHOST);
1422
+ _this10._uiEventStore.closeConfirm(dialogId);
1366
1423
  },
1367
1424
  okText: (0, _i18n.transI18n)('fmt_uimanager_labels_Setas', {
1368
1425
  reason1: targetRole
@@ -1428,9 +1485,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
1428
1485
  }
1429
1486
  }, {
1430
1487
  key: "_playJoinLeaveSound",
1431
- value: function _playJoinLeaveSound() {
1432
- // TODO
1433
- }
1488
+ value: function _playJoinLeaveSound() {}
1434
1489
  }, {
1435
1490
  key: "_lockRoom",
1436
1491
  value: function _lockRoom(enable) {
@@ -1469,111 +1524,81 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
1469
1524
  }
1470
1525
  }, {
1471
1526
  key: "_updateUserBoardState",
1472
- value: function _updateUserBoardState(modifiedUser) {
1473
- var _this$_roomControl$ge = this._roomControl.getBoardControl().getBoardActiveInfo(),
1474
- isActive = _this$_roomControl$ge.isActive,
1475
- ownerUserId = _this$_roomControl$ge.ownerUserId;
1476
- if (!ownerUserId && !modifiedUser) return;
1477
- var ownerUser = this._userControl.getUser(ownerUserId);
1478
- var targetUser = modifiedUser || ownerUser;
1479
- this._dataSource.update(!isActive ? ownerUser : targetUser, !isActive ? isActive : ownerUserId === (targetUser === null || targetUser === void 0 ? void 0 : targetUser.userId) && isActive);
1527
+ value: function _updateUserBoardState() {
1528
+ var _boardInfo = this._roomControl.getBoardControl().getBoardActiveInfo();
1529
+ var isActive = _boardInfo.isActive,
1530
+ ownerUserId = _boardInfo.ownerUserId;
1531
+ this._dataSource.list.forEach(function (user) {
1532
+ var isBoardActive = isActive && user.userId === ownerUserId;
1533
+ user.setUserInfo(_objectSpread(_objectSpread({}, user.userInfo), {}, {
1534
+ isBoardActive: isBoardActive
1535
+ }));
1536
+ });
1537
+ this._dataSource.list = (0, _toConsumableArray2["default"])(this._dataSource.list);
1480
1538
  }
1481
1539
  }, {
1482
1540
  key: "_handleRemoteUserJoined",
1483
1541
  value: function _handleRemoteUserJoined(roomId, events) {
1484
- var _this9 = this;
1542
+ var _this11 = this;
1485
1543
  events.forEach(function (event) {
1486
1544
  var modifiedUser = event.modifiedUser;
1487
- _this9._dataSource.add(modifiedUser, _this9._streamControl.getStreamsByUserId(modifiedUser.userId), modifiedUser.userId === _this9._localUser.userId);
1488
- _this9._updateUserBoardState(modifiedUser);
1545
+ _this11._dataSource.add(modifiedUser, _this11._streamControl.getStreamsByUserId(modifiedUser.userId), modifiedUser.userId === _this11._localUser.userId);
1546
+ _this11._updateUserBoardState();
1489
1547
  });
1490
1548
  }
1491
1549
  }, {
1492
1550
  key: "_handleRemoteUserLeft",
1493
1551
  value: function _handleRemoteUserLeft(roomId, events) {
1494
- var _this10 = this;
1552
+ var _this12 = this;
1495
1553
  events.forEach(function (event) {
1496
1554
  var modifiedUser = event.modifiedUser;
1497
- _this10._dataSource["delete"](modifiedUser);
1498
- _this10._updateUserBoardState(modifiedUser);
1555
+ _this12._dataSource["delete"](modifiedUser);
1556
+ _this12._updateUserBoardState();
1499
1557
  });
1500
1558
  }
1501
1559
  }, {
1502
1560
  key: "_handleRemoteWaitingUserJoined",
1503
1561
  value: function _handleRemoteWaitingUserJoined(roomId, events) {
1504
- var _this11 = this;
1562
+ var _this13 = this;
1505
1563
  events.forEach(function (event) {
1506
1564
  var modifiedUser = event.modifiedUser;
1507
1565
  if (modifiedUser.userRole === _type.FcrUserRole.PARTICIPANT) {
1508
- _this11._waitingRoomDataSource.add(modifiedUser, _this11._streamControl.getStreamsByUserId(modifiedUser.userId), modifiedUser.userId === _this11._localUser.userId);
1566
+ _this13._waitingRoomDataSource.add(modifiedUser, _this13._streamControl.getStreamsByUserId(modifiedUser.userId), modifiedUser.userId === _this13._localUser.userId);
1509
1567
  // this._updateUserBoardState(modifiedUser);
1510
1568
  }
1511
1569
  });
1512
- if (this.activeTab === _constant.RoomType.MAIN_ROOM) {
1513
- this.isNewWaitingRoomUserEnter = true;
1514
- }
1515
- this.waitingRoomUserCount = this._getWaitingRoomUserCount();
1516
- }
1517
- }, {
1518
- key: "_getWaitingRoomUserCount",
1519
- value: function _getWaitingRoomUserCount() {
1520
- var _this$_waitingRoomUse4;
1521
- return (_this$_waitingRoomUse4 = this._waitingRoomUserControl) === null || _this$_waitingRoomUse4 === void 0 ? void 0 : _this$_waitingRoomUse4.getUserList().filter(function (user) {
1522
- return user.userRole === _type.FcrUserRole.PARTICIPANT;
1523
- }).length;
1570
+ // if (this.activeTab === FcrRoomType.Mainroom) {
1571
+ // this.isNewWaitingRoomUserEnter = true;
1572
+ // }
1573
+ // this.waitingRoomUserCount = this._getWaitingRoomUserCount() as number;
1524
1574
  }
1575
+
1576
+ // private _getWaitingRoomUserCount() {
1577
+ // return this._waitingRoomUserControl
1578
+ // ?.getUserList()
1579
+ // .filter((user) => user.userRole === FcrUserRole.PARTICIPANT).length;
1580
+ // }
1525
1581
  }, {
1526
1582
  key: "_handleRemoteWaitingUserLeft",
1527
1583
  value: function _handleRemoteWaitingUserLeft(roomId, events) {
1528
- var _this12 = this;
1584
+ var _this14 = this;
1529
1585
  events.forEach(function (event) {
1530
1586
  var modifiedUser = event.modifiedUser;
1531
- _this12._waitingRoomDataSource["delete"](modifiedUser);
1532
- _this12._updateUserBoardState(modifiedUser);
1587
+ _this14._waitingRoomDataSource["delete"](modifiedUser);
1588
+ // this._updateUserBoardState(modifiedUser);
1533
1589
  });
1534
- this.waitingRoomUserCount = this._getWaitingRoomUserCount();
1535
- if (this._getWaitingRoomUserCount() === 0) {
1536
- this.handleActiveTab(_constant.RoomType.MAIN_ROOM);
1537
- }
1590
+ // this.waitingRoomUserCount = this._getWaitingRoomUserCount() as number;
1591
+ // if (this._getWaitingRoomUserCount() === 0) {
1592
+ // this.handleActiveTab(FcrRoomType.Mainroom);
1593
+ // }
1538
1594
  }
1539
1595
  }, {
1540
1596
  key: "_handleUserInfoUpdated",
1541
1597
  value: function _handleUserInfoUpdated(roomId, event) {
1542
- var _this$userMap$get9;
1598
+ this.refreshList = Math.random();
1543
1599
  var targetUser = event.modifiedUser;
1544
- this._updateUserBoardState(targetUser);
1545
- this._dataSource.update(targetUser);
1546
- var originUser = (_this$userMap$get9 = this.userMap.get(targetUser.userId)) === null || _this$userMap$get9 === void 0 ? void 0 : _this$userMap$get9.userInfo;
1547
- var _this$_localUser3 = this._localUser,
1548
- localUserId = _this$_localUser3.userId,
1549
- localUserRole = _this$_localUser3.userRole;
1550
- var effectSelf = targetUser.userId === localUserId;
1551
- if ((originUser === null || originUser === void 0 ? void 0 : originUser.userRole) !== targetUser.userRole) {
1552
- // 参会者变管理
1553
- if (targetUser.userRole === _type.FcrUserRole.HOST || targetUser.userRole === _type.FcrUserRole.COHOST) {
1554
- var userTxt = targetUser.userRole === _type.FcrUserRole.HOST ? (0, _i18n.transI18n)('fmt_role_host') : (0, _i18n.transI18n)('fmt_role_cohost');
1555
- this._uiEventStore.showToast({
1556
- type: effectSelf ? 'info' : 'normal',
1557
- message: effectSelf ? "".concat((0, _i18n.transI18n)('fmt_uimanager_labels_designate')).concat(userTxt) : (0, _i18n.transI18n)('fmt_uimanager_labels_Becoming', {
1558
- reason1: "".concat(targetUser.userName, " ").concat(this._isHost(localUserRole) ? '' : (0, _i18n.transI18n)('fmt_pairicipant_label_Now')),
1559
- reason2: userTxt
1560
- })
1561
- });
1562
- }
1563
-
1564
- // 管理变参会者
1565
- if ((originUser === null || originUser === void 0 ? void 0 : originUser.userRole) === _type.FcrUserRole.COHOST && targetUser.userRole !== _type.FcrUserRole.COHOST) {
1566
- this._uiEventStore.showToast({
1567
- type: effectSelf ? 'error' : 'normal',
1568
- message: effectSelf ? (0, _i18n.transI18n)('fmt_additional_tips_cohostbeenrevoke') : this._isHost(localUserRole) ? (0, _i18n.transI18n)('fmt_additional_tips_cohostbeenrevoke', {
1569
- reason1: targetUser.userName
1570
- }) : (0, _i18n.transI18n)('fmt_additional_tips_nolongercohost', {
1571
- reason1: targetUser.userName
1572
- }),
1573
- duration: 3000
1574
- });
1575
- }
1576
- }
1600
+ this._dataSource.updateUserInfo(targetUser, true);
1601
+ var localUserRole = this._localUser.userRole;
1577
1602
  this._updateLocalUserRole(localUserRole);
1578
1603
  this._refreshCurrentPerspectiveType();
1579
1604
  }
@@ -1597,35 +1622,36 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
1597
1622
  }, {
1598
1623
  key: "_handleStreamsAdded",
1599
1624
  value: function _handleStreamsAdded(roomId, events) {
1600
- var _this13 = this;
1625
+ var _this15 = this;
1601
1626
  events.forEach(function (e) {
1602
1627
  var modifiedStream = e.modifiedStream;
1603
- _this13._dataSource.updateWithStreamAdd(modifiedStream);
1628
+ _this15._dataSource.updateWithStreamAdd(modifiedStream);
1604
1629
  });
1605
1630
  }
1606
1631
  }, {
1607
1632
  key: "_handleStreamsUpdated",
1608
1633
  value: function _handleStreamsUpdated(roomId, events) {
1609
- var _this14 = this;
1634
+ var _this16 = this;
1635
+ this.refreshList = Math.random();
1610
1636
  events.forEach(function (e) {
1611
1637
  var modifiedStream = e.modifiedStream;
1612
- _this14._dataSource.update(modifiedStream);
1638
+ _this16._dataSource.updateStreamInfo(modifiedStream);
1613
1639
  });
1614
1640
  }
1615
1641
  }, {
1616
1642
  key: "_handleStreamsRemoved",
1617
1643
  value: function _handleStreamsRemoved(roomId, events) {
1618
- var _this15 = this;
1644
+ var _this17 = this;
1619
1645
  events.forEach(function (e) {
1620
1646
  var modifiedStream = e.modifiedStream;
1621
- _this15._dataSource.updateWithStreamRemove(modifiedStream);
1647
+ _this17._dataSource.updateWithStreamRemove(modifiedStream);
1622
1648
  });
1623
1649
  }
1624
1650
  }, {
1625
1651
  key: "_refreshCurrentPerspectiveType",
1626
1652
  value: function _refreshCurrentPerspectiveType() {
1627
- var _this$_localUser4;
1628
- var localUserUid = (_this$_localUser4 = this._localUser) === null || _this$_localUser4 === void 0 ? void 0 : _this$_localUser4.userId;
1653
+ var _this$_localUser3;
1654
+ var localUserUid = (_this$_localUser3 = this._localUser) === null || _this$_localUser3 === void 0 ? void 0 : _this$_localUser3.userId;
1629
1655
  if (!localUserUid) {
1630
1656
  this.currentPerspectiveType = 'attendee';
1631
1657
  return;
@@ -1648,13 +1674,13 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
1648
1674
  }, {
1649
1675
  key: "_onPeerSessionReceived",
1650
1676
  value: function _onPeerSessionReceived(session) {
1651
- var _this$_localUser5,
1652
- _this16 = this;
1677
+ var _this$_localUser4,
1678
+ _this18 = this;
1653
1679
  if (session.sessionId && this._processedUserOpenDeviceRequests.has(session.sessionId)) {
1654
1680
  return;
1655
1681
  }
1656
1682
  this._processedUserOpenDeviceRequests.add(session.sessionId);
1657
- var localUserUid = (_this$_localUser5 = this._localUser) === null || _this$_localUser5 === void 0 ? void 0 : _this$_localUser5.userId;
1683
+ var localUserUid = (_this$_localUser4 = this._localUser) === null || _this$_localUser4 === void 0 ? void 0 : _this$_localUser4.userId;
1658
1684
  if (!localUserUid) {
1659
1685
  return;
1660
1686
  }
@@ -1673,8 +1699,8 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
1673
1699
  this._peerSessionControl.acceptPeerSession(session);
1674
1700
  return;
1675
1701
  }
1676
- var _ref8 = payload,
1677
- sender = _ref8.sender;
1702
+ var _ref7 = payload,
1703
+ sender = _ref7.sender;
1678
1704
  var dialogId = this.openConfirmDialog({
1679
1705
  width: 400,
1680
1706
  height: 166,
@@ -1685,13 +1711,13 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
1685
1711
  okText: (0, _i18n.transI18n)('fmt_additional_button_accept'),
1686
1712
  cancelText: (0, _i18n.transI18n)('fmt_additional_button_refuse'),
1687
1713
  onOk: function onOk() {
1688
- _this16._peerSessionControl.acceptPeerSession(session);
1689
- _this16._deviceStreamStore.enableCameraWithStream(true);
1690
- _this16._uiEventStore.closeConfirm(dialogId);
1714
+ _this18._peerSessionControl.acceptPeerSession(session);
1715
+ _this18._deviceStreamStore.enableCameraWithPreCheck(true);
1716
+ _this18._uiEventStore.closeConfirm(dialogId);
1691
1717
  },
1692
1718
  onCancel: function onCancel() {
1693
- _this16._peerSessionControl.rejectPeerSession(session);
1694
- _this16._uiEventStore.closeConfirm(dialogId);
1719
+ _this18._peerSessionControl.rejectPeerSession(session);
1720
+ _this18._uiEventStore.closeConfirm(dialogId);
1695
1721
  }
1696
1722
  }, _type3.FcrUISessionKey.REQUEST_OPEN_CAMERA);
1697
1723
  return;
@@ -1701,8 +1727,8 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
1701
1727
  this._peerSessionControl.acceptPeerSession(session);
1702
1728
  return;
1703
1729
  }
1704
- var _ref9 = payload,
1705
- _sender = _ref9.sender;
1730
+ var _ref8 = payload,
1731
+ _sender = _ref8.sender;
1706
1732
  var _dialogId = this.openConfirmDialog({
1707
1733
  title: (0, _i18n.transI18n)('fmt_attendies_tips_apply_audio_title', {
1708
1734
  reason1: (0, _i18n.transI18n)(_i18n2.userRoleI18nKey[_sender.userRole])
@@ -1711,13 +1737,13 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
1711
1737
  okText: (0, _i18n.transI18n)('fmt_device_label_audio_unmute'),
1712
1738
  cancelText: (0, _i18n.transI18n)('fmt_additional_options_Keepsilent'),
1713
1739
  onOk: function onOk() {
1714
- _this16._peerSessionControl.acceptPeerSession(session);
1715
- _this16._deviceStreamStore.enableMicrophoneWithStream(true);
1716
- _this16._uiEventStore.closeConfirm(_dialogId);
1740
+ _this18._peerSessionControl.acceptPeerSession(session);
1741
+ _this18._deviceStreamStore.enableMicrophoneWithPreCheck(true);
1742
+ _this18._uiEventStore.closeConfirm(_dialogId);
1717
1743
  },
1718
1744
  onCancel: function onCancel() {
1719
- _this16._peerSessionControl.rejectPeerSession(session);
1720
- _this16._uiEventStore.closeConfirm(_dialogId);
1745
+ _this18._peerSessionControl.rejectPeerSession(session);
1746
+ _this18._uiEventStore.closeConfirm(_dialogId);
1721
1747
  },
1722
1748
  width: 400,
1723
1749
  height: 166
@@ -1792,26 +1818,23 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
1792
1818
  }]);
1793
1819
  }();
1794
1820
  _ParticipantStore = ParticipantStore;
1795
- var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_ParticipantStore, [[_mobx.observable, 1, "_mainList"], [_mobx.observable, 1, "_participantsWindowActive"], [_mobx.observable, 1, "currentPerspectiveType"], [_mobx.observable, 1, "audioVolumeMap"], [_mobx.observable, 1, "enableParticipantsJoinWithMute"], [_mobx.observable, 1, "searchText"], [_mobx.observable, 1, "currentModal"], [_mobx.observable, 1, "localUserRole"], [_mobx.observable, 1, "spotlightStreamId"], [_mobx.observable, 1, "enableSpotlight"], [_mobx.observable, 1, "mergeConfirmDialog"], [_mobx.observable, 1, "mergeUserId"], [_mobx.observable, 1, "activeTab"], [_mobx.observable, 1, "isNewWaitingRoomUserEnter"], [_mobx.observable, 1, "waitingRoomUserCount"], [_mobx.observable, 1, "interpreterUsers"], [_mobx.observable, 1, "interpreterState"], [_mobx.observable, 1, "interpreterInputLanguageList"], [_mobx.observable, 1, "newName"], [_mobx.observable, 1, "refreshList"], [_mobx.computed, 3, "userListSource"], [_mobx.computed, 3, "mergeUserInfo"], [_mobx.computed, 3, "userMap"], [_mobx.computed, 3, "pinedStreamIds"], [_mobx.computed, 3, "hasPinnedStream"], [_mobx.computed, 3, "userList"], [_mobx.computed, 3, "localMicVolume"], [_mobx.computed, 3, "hasRevokeHostPermission"], [_setSpotlightStreamIdDecs, 18, "setSpotlightStreamId"], [_decorator.bound, 2, "hasMutePermission"], [_decorator.bound, 2, "hasWaitingRoomPermission"], [_decorator.bound, 2, "hasUnmutePermission"], [_decorator.bound, 2, "hasRequestStartAudioPermission"], [_setCurrentModalDecs, 18, "setCurrentModal"], [_decorator.bound, 2, "closeParticipantsAside"], [_openParticipantsWindowDecs, 18, "openParticipantsWindow"], [_setParticipantsWindowActiveDecs, 18, "setParticipantsWindowActive"], [_handlerSearchUserDecs, 18, "handlerSearchUser"], [_decorator.bound, 2, "onInvite"], [_decorator.bound, 2, "setMergeConfirmDialog"], [_decorator.bound, 2, "mergeConfirmDialogOk"], [_decorator.bound, 2, "removePin"], [_decorator.bound, 2, "addPin"], [_closeRemoveAdmitWaitingRoomDialogDecs, 18, "closeRemoveAdmitWaitingRoomDialog"], [_openRemoveAdmitWaitingRoomDialogDecs, 18, "openRemoveAdmitWaitingRoomDialog"], [_handlerUserActionDecs, 18, "handlerUserAction"], [_closeChangeNameDialogDecs, 18, "_closeChangeNameDialog"], [_moveToWaitingRoomByUserIdsDecs, 18, "_moveToWaitingRoomByUserIds"], [_removeWaitingRoomUserDecs, 18, "removeWaitingRoomUser"], [_kickOutWaitingRoomAllMemberDecs, 18, "kickOutWaitingRoomAllMember"], [_moveToMainRoomAllMemberDecs, 18, "moveToMainRoomAllMember"], [_decorator.bound, 2, "getMicStreamVolume"], [_handlerRoomControlActionDecs, 18, "handlerRoomControlAction"], [_handleEventDecs, 18, "_handleEvent"], [_moveToMainRoomByUserIdsDecs, 18, "moveToMainRoomByUserIds"], [_handleActiveTabDecs, 18, "handleActiveTab"], [_getInterpreterStateDecs, 18, "getInterpreterState"], [_initWaitingRoomUserListDecs, 18, "_initWaitingRoomUserList"], [_kickOutUserDecs, 18, "_kickOutUser"], [_setAsAttendeeDecs, 18, "_setAsAttendee"], [_onAudioVolumeUpdatedDecs, 18, "_onAudioVolumeUpdated"], [_handleRemoteUserJoinedDecs, 18, "_handleRemoteUserJoined"], [_handleRemoteUserLeftDecs, 18, "_handleRemoteUserLeft"], [_handleRemoteWaitingUserJoinedDecs, 18, "_handleRemoteWaitingUserJoined"], [_handleRemoteWaitingUserLeftDecs, 18, "_handleRemoteWaitingUserLeft"], [_handleUserInfoUpdatedDecs, 18, "_handleUserInfoUpdated"], [_initUserListDecs, 18, "_initUserList"], [_decorator.bound, 2, "_handleStreamsAdded"], [_decorator.bound, 2, "_handleStreamsUpdated"], [_decorator.bound, 2, "_handleStreamsRemoved"], [_refreshCurrentPerspectiveTypeDecs, 18, "_refreshCurrentPerspectiveType"], [_onPeerSessionReceivedDecs, 18, "_onPeerSessionReceived"], [_updateLocalUserRoleDecs, 18, "_updateLocalUserRole"], [_getOutputLanguageDecs, 18, "_getOutputLanguage"]], []).e, 21);
1821
+ var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_ParticipantStore, [[_mobx.observable, 1, "_mainList"], [_mobx.observable, 1, "_isChecked"], [_mobx.observable, 1, "_participantsWindowActive"], [_mobx.observable, 1, "currentPerspectiveType"], [_mobx.observable, 1, "audioVolumeMap"], [_mobx.observable, 1, "enableParticipantsJoinWithMute"], [_mobx.observable, 1, "searchText"], [_mobx.observable, 1, "currentModal"], [_mobx.observable, 1, "localUserRole"], [_mobx.observable, 1, "mergeConfirmDialog"], [_mobx.observable, 1, "mergeUserId"], [_mobx.observable, 1, "activeTab"], [_mobx.observable, 1, "interpreterInputLanguageList"], [_mobx.observable, 1, "newName"], [_mobx.observable, 1, "refreshList"], [_mobx.observable, 1, "allowUnmute"], [_mobx.observable, 1, "joinWithMuteAudio"], [_mobx.computed, 3, "enableSpotlight"], [_mobx.computed, 3, "userListSource"], [_mobx.computed, 3, "spotlightStreamId"], [_mobx.computed, 3, "mergeUserInfo"], [_mobx.computed, 3, "userMap"], [_mobx.computed, 3, "pinedStreamIds"], [_mobx.computed, 3, "hasPinnedStream"], [_mobx.computed, 3, "userList"], [_mobx.computed, 3, "localMicVolume"], [_mobx.computed, 3, "hasRevokeHostPermission"], [_mobx.computed, 3, "waitingRoomUserCount"], [_mobx.computed, 3, "isNewWaitingRoomUserEnter"], [_decorator.bound, 2, "hasMutePermission"], [_decorator.bound, 2, "hasWaitingRoomPermission"], [_decorator.bound, 2, "hasUnmutePermission"], [_decorator.bound, 2, "hasRequestStartAudioPermission"], [_setCurrentModalDecs, 18, "setCurrentModal"], [_decorator.bound, 2, "closeParticipantsAside"], [_openParticipantsWindowDecs, 18, "openParticipantsWindow"], [_setParticipantsWindowActiveDecs, 18, "setParticipantsWindowActive"], [_handlerSearchUserDecs, 18, "handlerSearchUser"], [_decorator.bound, 2, "onInvite"], [_decorator.bound, 2, "setMergeConfirmDialog"], [_decorator.bound, 2, "mergeConfirmDialogOk"], [_decorator.bound, 2, "removePin"], [_decorator.bound, 2, "addPin"], [_closeRemoveAdmitWaitingRoomDialogDecs, 18, "closeRemoveAdmitWaitingRoomDialog"], [_openRemoveAdmitWaitingRoomDialogDecs, 18, "openRemoveAdmitWaitingRoomDialog"], [_setMuteAllDialogValueDecs, 18, "setMuteAllDialogValue"], [_openMuteAllDialogDecs, 18, "openMuteAllDialog"], [_handlerUserActionDecs, 18, "handlerUserAction"], [_closeChangeNameDialogDecs, 18, "_closeChangeNameDialog"], [_moveToWaitingRoomByUserIdsDecs, 18, "_moveToWaitingRoomByUserIds"], [_removeWaitingRoomUserDecs, 18, "removeWaitingRoomUser"], [_kickOutWaitingRoomAllMemberDecs, 18, "kickOutWaitingRoomAllMember"], [_moveToMainRoomAllMemberDecs, 18, "moveToMainRoomAllMember"], [_decorator.bound, 2, "getMicStreamVolume"], [_handlerRoomControlActionDecs, 18, "handlerRoomControlAction"], [_handleEventDecs, 18, "_handleEvent"], [_moveToMainRoomByUserIdsDecs, 18, "moveToMainRoomByUserIds"], [_handleActiveTabDecs, 18, "handleActiveTab"], [_initWaitingRoomUserListDecs, 18, "_initWaitingRoomUserList"], [_kickOutUserDecs, 18, "_kickOutUser"], [_setAsAttendeeDecs, 18, "_setAsAttendee"], [_onAudioVolumeUpdatedDecs, 18, "_onAudioVolumeUpdated"], [_updateUserBoardStateDecs, 18, "_updateUserBoardState"], [_handleRemoteUserJoinedDecs, 18, "_handleRemoteUserJoined"], [_handleRemoteUserLeftDecs, 18, "_handleRemoteUserLeft"], [_handleRemoteWaitingUserJoinedDecs, 18, "_handleRemoteWaitingUserJoined"], [_handleRemoteWaitingUserLeftDecs, 18, "_handleRemoteWaitingUserLeft"], [_handleUserInfoUpdatedDecs, 18, "_handleUserInfoUpdated"], [_initUserListDecs, 18, "_initUserList"], [_decorator.bound, 2, "_handleStreamsAdded"], [_decorator.bound, 2, "_handleStreamsUpdated"], [_decorator.bound, 2, "_handleStreamsRemoved"], [_refreshCurrentPerspectiveTypeDecs, 18, "_refreshCurrentPerspectiveType"], [_onPeerSessionReceivedDecs, 18, "_onPeerSessionReceived"], [_updateLocalUserRoleDecs, 18, "_updateLocalUserRole"], [_getOutputLanguageDecs, 18, "_getOutputLanguage"]], []).e, 18);
1796
1822
  _init__mainList = _applyDecs$e[0];
1797
- _init__participantsWindowActive = _applyDecs$e[1];
1798
- _init_currentPerspectiveType = _applyDecs$e[2];
1799
- _init_audioVolumeMap = _applyDecs$e[3];
1800
- _init_enableParticipantsJoinWithMute = _applyDecs$e[4];
1801
- _init_searchText = _applyDecs$e[5];
1802
- _init_currentModal = _applyDecs$e[6];
1803
- _init_localUserRole = _applyDecs$e[7];
1804
- _init_spotlightStreamId = _applyDecs$e[8];
1805
- _init_enableSpotlight = _applyDecs$e[9];
1806
- _init_mergeConfirmDialog = _applyDecs$e[10];
1807
- _init_mergeUserId = _applyDecs$e[11];
1808
- _init_activeTab = _applyDecs$e[12];
1809
- _init_isNewWaitingRoomUserEnter = _applyDecs$e[13];
1810
- _init_waitingRoomUserCount = _applyDecs$e[14];
1811
- _init_interpreterUsers = _applyDecs$e[15];
1812
- _init_interpreterState = _applyDecs$e[16];
1813
- _init_interpreterInputLanguageList = _applyDecs$e[17];
1814
- _init_newName = _applyDecs$e[18];
1815
- _init_refreshList = _applyDecs$e[19];
1816
- _initProto = _applyDecs$e[20];
1823
+ _init__isChecked = _applyDecs$e[1];
1824
+ _init__participantsWindowActive = _applyDecs$e[2];
1825
+ _init_currentPerspectiveType = _applyDecs$e[3];
1826
+ _init_audioVolumeMap = _applyDecs$e[4];
1827
+ _init_enableParticipantsJoinWithMute = _applyDecs$e[5];
1828
+ _init_searchText = _applyDecs$e[6];
1829
+ _init_currentModal = _applyDecs$e[7];
1830
+ _init_localUserRole = _applyDecs$e[8];
1831
+ _init_mergeConfirmDialog = _applyDecs$e[9];
1832
+ _init_mergeUserId = _applyDecs$e[10];
1833
+ _init_activeTab = _applyDecs$e[11];
1834
+ _init_interpreterInputLanguageList = _applyDecs$e[12];
1835
+ _init_newName = _applyDecs$e[13];
1836
+ _init_refreshList = _applyDecs$e[14];
1837
+ _init_allowUnmute = _applyDecs$e[15];
1838
+ _init_joinWithMuteAudio = _applyDecs$e[16];
1839
+ _initProto = _applyDecs$e[17];
1817
1840
  var StoreContext = exports.StoreContext = /*#__PURE__*/(0, _react.createContext)(null);