fcr-ui-scene 3.4.0 → 3.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (324) hide show
  1. package/lib/ scenes/base.d.ts +10 -0
  2. package/lib/ scenes/base.js +75 -0
  3. package/lib/ scenes/main-scene.d.ts +43 -0
  4. package/lib/ scenes/main-scene.js +368 -0
  5. package/lib/ scenes/waiting-scene.d.ts +31 -0
  6. package/lib/ scenes/waiting-scene.js +119 -0
  7. package/lib/common/device-store.d.ts +1 -2
  8. package/lib/common/device-store.js +169 -153
  9. package/lib/common/device-stream-store.d.ts +5 -29
  10. package/lib/common/device-stream-store.js +47 -93
  11. package/lib/common/room-store.js +4 -4
  12. package/lib/common/security-store.d.ts +6 -16
  13. package/lib/common/security-store.js +16 -17
  14. package/lib/common/type.d.ts +8 -0
  15. package/lib/common/type.js +6 -0
  16. package/lib/creator.js +3 -3
  17. package/lib/electron/app.js +21 -5
  18. package/lib/electron/bootstrap-sdk.js +1 -2
  19. package/lib/electron/injections.d.ts +1 -1
  20. package/lib/error-fallback.css +62 -0
  21. package/lib/error-fallback.d.ts +2 -0
  22. package/lib/error-fallback.js +19 -0
  23. package/lib/modules/Interpreter/action/delete-btn/index.d.ts +1 -1
  24. package/lib/modules/Interpreter/action/edit-btn/index.d.ts +0 -1
  25. package/lib/modules/Interpreter/action/edit-btn/index.js +0 -2
  26. package/lib/modules/Interpreter/action/switch-btn/index.css +3 -0
  27. package/lib/modules/Interpreter/action/switch-btn/index.d.ts +2 -4
  28. package/lib/modules/Interpreter/action/switch-btn/index.js +3 -3
  29. package/lib/modules/Interpreter/footer/index.css +4 -3
  30. package/lib/modules/Interpreter/index.d.ts +2 -17
  31. package/lib/modules/Interpreter/index.js +2 -18
  32. package/lib/modules/Interpreter/interpreter-list/index.css +5 -1
  33. package/lib/modules/Interpreter/interpreter-list/index.d.ts +1 -0
  34. package/lib/modules/Interpreter/interpreter-list/index.js +3 -1
  35. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/index.css +0 -6
  36. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/index.d.ts +1 -1
  37. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-user/index.css +1 -3
  38. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-user/index.d.ts +1 -6
  39. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-user/index.js +55 -81
  40. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-user/option-Item.d.ts +6 -0
  41. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-user/option-Item.js +58 -0
  42. package/lib/modules/Interpreter/interpreter-list/interpreter-item/index.d.ts +1 -1
  43. package/lib/modules/Interpreter/store.d.ts +36 -29
  44. package/lib/modules/Interpreter/store.js +575 -606
  45. package/lib/modules/Interpreter/type.d.ts +41 -0
  46. package/lib/modules/Interpreter/type.js +20 -0
  47. package/lib/modules/Interpreter/utils.d.ts +12 -0
  48. package/lib/modules/Interpreter/utils.js +139 -0
  49. package/lib/modules/Interpreter/view.d.ts +0 -1
  50. package/lib/modules/Interpreter/view.js +3 -5
  51. package/lib/modules/action-bar/action-bar-collapes-items.d.ts +1 -1
  52. package/lib/modules/action-bar/action-bar-collapes-items.js +11 -11
  53. package/lib/modules/action-bar/apps/useInterpreter.js +4 -2
  54. package/lib/modules/action-bar/components/apps/app-item/index.css +35 -0
  55. package/lib/modules/action-bar/components/apps/app-item/index.d.ts +12 -0
  56. package/lib/modules/action-bar/components/apps/app-item/index.js +61 -0
  57. package/lib/modules/action-bar/components/apps/appitems.d.ts +5 -0
  58. package/lib/modules/action-bar/components/apps/appitems.js +45 -0
  59. package/lib/modules/action-bar/components/apps/index.css +8 -0
  60. package/lib/modules/action-bar/components/apps/index.d.ts +4 -0
  61. package/lib/modules/action-bar/components/apps/index.js +57 -0
  62. package/lib/modules/action-bar/components/apps/useAppItemOptions.d.ts +9 -0
  63. package/lib/modules/action-bar/components/apps/useAppItemOptions.js +29 -0
  64. package/lib/modules/action-bar/components/apps/useBeautyBackground.d.ts +10 -0
  65. package/lib/modules/action-bar/components/apps/useBeautyBackground.js +36 -0
  66. package/lib/modules/action-bar/components/apps/useInterpreter.d.ts +14 -0
  67. package/lib/modules/action-bar/components/apps/useInterpreter.js +37 -0
  68. package/lib/modules/action-bar/components/apps/useLiveStreaming.d.ts +16 -0
  69. package/lib/modules/action-bar/components/apps/useLiveStreaming.js +41 -0
  70. package/lib/modules/action-bar/components/board/index.d.ts +4 -0
  71. package/lib/modules/action-bar/components/board/index.js +34 -0
  72. package/lib/modules/action-bar/components/breakout-room/index.d.ts +4 -0
  73. package/lib/modules/action-bar/components/breakout-room/index.js +32 -0
  74. package/lib/modules/action-bar/components/chat/index.css +80 -0
  75. package/lib/modules/action-bar/components/chat/index.d.ts +5 -0
  76. package/lib/modules/action-bar/components/chat/index.js +154 -0
  77. package/lib/modules/action-bar/components/device/index.css +162 -0
  78. package/lib/modules/action-bar/components/device/index.d.ts +8 -0
  79. package/lib/modules/action-bar/components/device/index.js +611 -0
  80. package/lib/modules/action-bar/components/interpreter/index.d.ts +6 -0
  81. package/lib/modules/action-bar/components/interpreter/index.js +41 -0
  82. package/lib/modules/action-bar/components/item.d.ts +27 -0
  83. package/lib/modules/action-bar/components/item.js +164 -0
  84. package/lib/modules/action-bar/components/leave/assign-host.d.ts +10 -0
  85. package/lib/modules/action-bar/components/leave/assign-host.js +64 -0
  86. package/lib/modules/action-bar/components/leave/index.css +126 -0
  87. package/lib/modules/action-bar/components/leave/index.d.ts +3 -0
  88. package/lib/modules/action-bar/components/leave/index.js +159 -0
  89. package/lib/modules/action-bar/components/leave/leave-meeting.d.ts +18 -0
  90. package/lib/modules/action-bar/components/leave/leave-meeting.js +153 -0
  91. package/lib/modules/action-bar/components/live-streaming/index.d.ts +4 -0
  92. package/lib/modules/action-bar/components/live-streaming/index.js +39 -0
  93. package/lib/modules/action-bar/components/more/index.css +114 -0
  94. package/lib/modules/action-bar/components/more/index.d.ts +5 -0
  95. package/lib/modules/action-bar/components/more/index.js +83 -0
  96. package/lib/modules/action-bar/components/more/poppover-content.d.ts +8 -0
  97. package/lib/modules/action-bar/components/more/poppover-content.js +400 -0
  98. package/lib/modules/action-bar/components/participants/index.css +21 -0
  99. package/lib/modules/action-bar/components/participants/index.d.ts +5 -0
  100. package/lib/modules/action-bar/components/participants/index.js +83 -0
  101. package/lib/modules/action-bar/components/record/index.css +39 -0
  102. package/lib/modules/action-bar/components/record/index.d.ts +5 -0
  103. package/lib/modules/action-bar/components/record/index.js +166 -0
  104. package/lib/modules/action-bar/components/record/stop-record-dialog.d.ts +5 -0
  105. package/lib/modules/action-bar/components/record/stop-record-dialog.js +48 -0
  106. package/lib/modules/action-bar/components/respond/index.d.ts +4 -0
  107. package/lib/modules/action-bar/components/respond/index.js +32 -0
  108. package/lib/modules/action-bar/components/screen-share/index.d.ts +4 -0
  109. package/lib/modules/action-bar/components/screen-share/index.js +106 -0
  110. package/lib/modules/action-bar/components/screen-share/submenu.d.ts +1 -0
  111. package/lib/modules/action-bar/components/screen-share/submenu.js +154 -0
  112. package/lib/modules/action-bar/components/security/index.d.ts +4 -0
  113. package/lib/modules/action-bar/components/security/index.js +58 -0
  114. package/lib/modules/action-bar/components/settings/index.d.ts +4 -0
  115. package/lib/modules/action-bar/components/settings/index.js +42 -0
  116. package/lib/modules/action-bar/index.css +23 -1
  117. package/lib/modules/action-bar/index.d.ts +2 -22
  118. package/lib/modules/action-bar/index.dev.js +37 -16
  119. package/lib/modules/action-bar/notification-bar/components/interpreter/index.css +58 -0
  120. package/lib/modules/action-bar/notification-bar/components/interpreter/index.d.ts +8 -0
  121. package/lib/modules/action-bar/notification-bar/components/interpreter/index.js +100 -0
  122. package/lib/modules/action-bar/notification-bar/components/virtual-image/index.css +56 -0
  123. package/lib/modules/action-bar/notification-bar/components/virtual-image/index.d.ts +5 -0
  124. package/lib/modules/action-bar/notification-bar/components/virtual-image/index.js +33 -0
  125. package/lib/modules/action-bar/notification-bar/dome.png +0 -0
  126. package/lib/modules/action-bar/notification-bar/fcr_translateswitch.png +0 -0
  127. package/lib/modules/action-bar/notification-bar/index.css +74 -0
  128. package/lib/modules/action-bar/notification-bar/index.d.ts +2 -0
  129. package/lib/modules/action-bar/notification-bar/index.js +99 -0
  130. package/lib/modules/action-bar/screen-share/index.js +5 -0
  131. package/lib/modules/action-bar/security/index.js +1 -0
  132. package/lib/modules/action-bar/smaller.js +2 -2
  133. package/lib/modules/action-bar/store.d.ts +6 -7
  134. package/lib/modules/action-bar/store.js +114 -128
  135. package/lib/modules/action-bar/trigger-input-language-room/fcr_translateswitch.png +0 -0
  136. package/lib/modules/action-bar/trigger-input-language-room/index.css +86 -0
  137. package/lib/modules/action-bar/trigger-input-language-room/index.d.ts +15 -0
  138. package/lib/modules/action-bar/trigger-input-language-room/index.js +220 -0
  139. package/lib/modules/action-bar/trigger-output-language-room/constant.d.ts +10 -0
  140. package/lib/modules/action-bar/trigger-output-language-room/constant.js +8 -0
  141. package/lib/modules/action-bar/trigger-output-language-room/guide-tooltip/index.css +22 -0
  142. package/lib/modules/action-bar/trigger-output-language-room/guide-tooltip/index.d.ts +14 -0
  143. package/lib/modules/action-bar/trigger-output-language-room/guide-tooltip/index.js +75 -0
  144. package/lib/modules/action-bar/trigger-output-language-room/index.d.ts +4 -0
  145. package/lib/modules/action-bar/trigger-output-language-room/index.js +98 -0
  146. package/lib/modules/action-bar/trigger-output-language-room/trigger-language-room.d.ts +5 -0
  147. package/lib/modules/action-bar/trigger-output-language-room/trigger-language-room.js +66 -0
  148. package/lib/modules/action-bar/trigger-output-language-room/trigger-main-room.d.ts +5 -0
  149. package/lib/modules/action-bar/trigger-output-language-room/trigger-main-room.js +36 -0
  150. package/lib/modules/action-bar/trigger-output-language-room/useChangeOutputRoomTool.d.ts +12 -0
  151. package/lib/modules/action-bar/trigger-output-language-room/useChangeOutputRoomTool.js +138 -0
  152. package/lib/modules/action-bar/view.js +6 -6
  153. package/lib/modules/audio-stream/index.d.ts +2 -15
  154. package/lib/modules/audio-stream/index.js +1 -3
  155. package/lib/modules/chat/chat-bar/index.css +5 -0
  156. package/lib/modules/chat/chat-bar/index.js +16 -14
  157. package/lib/modules/chat/chat-select/index.css +6 -3
  158. package/lib/modules/chat/chat.js +7 -6
  159. package/lib/modules/chat/index.css +10 -0
  160. package/lib/modules/chat/index.d.ts +2 -12
  161. package/lib/modules/chat/index.dev.js +14 -3
  162. package/lib/modules/chat/index.js +7 -20
  163. package/lib/modules/chat/message-list.js +1 -0
  164. package/lib/modules/chat/store.js +1 -1
  165. package/lib/modules/components/device-control/components/audio-menu/index.js +4 -4
  166. package/lib/modules/components/device-control/index.css +3 -0
  167. package/lib/modules/components/dialog-container/component/body.d.ts +7 -0
  168. package/lib/modules/components/dialog-container/component/body.js +46 -0
  169. package/lib/modules/components/dialog-container/index.css +78 -0
  170. package/lib/modules/components/dialog-container/index.d.ts +11 -0
  171. package/lib/modules/components/dialog-container/index.js +110 -0
  172. package/lib/modules/components/member-window/index.css +419 -0
  173. package/lib/modules/components/member-window/index.d.ts +76 -0
  174. package/lib/modules/components/member-window/index.js +888 -0
  175. package/lib/modules/components/security-menu/index.css +9 -0
  176. package/lib/modules/components/security-menu/index.js +74 -23
  177. package/lib/modules/components/tab-frame/index.css +40 -0
  178. package/lib/modules/components/tab-frame/index.d.ts +12 -0
  179. package/lib/modules/components/tab-frame/index.js +57 -0
  180. package/lib/modules/connection-gateway/components/computer/index.css +1 -0
  181. package/lib/modules/connection-gateway/components/phone/index.css +1 -1
  182. package/lib/modules/connection-gateway/index.d.ts +2 -9
  183. package/lib/modules/connection-gateway/store.d.ts +3 -11
  184. package/lib/modules/connection-gateway/store.js +1 -17
  185. package/lib/modules/connection-gateway/view.js +21 -4
  186. package/lib/modules/control-bar/components/cloud-recording-buttons.js +1 -1
  187. package/lib/modules/control-bar/index.d.ts +2 -16
  188. package/lib/modules/control-bar/index.js +10 -19
  189. package/lib/modules/control-bar/store.d.ts +3 -16
  190. package/lib/modules/control-bar/store.js +23 -5
  191. package/lib/modules/control-bar/view.js +17 -10
  192. package/lib/modules/device-pretest/settings/virtual-background-setting.js +1 -1
  193. package/lib/modules/dialog/components/Interpreter/electron.js +3 -25
  194. package/lib/modules/dialog/components/Interpreter/index.js +14 -43
  195. package/lib/modules/dialog/components/chat/electron.d.ts +1 -1
  196. package/lib/modules/dialog/components/chat/electron.js +6 -13
  197. package/lib/modules/dialog/components/chat/index.d.ts +1 -4
  198. package/lib/modules/dialog/components/chat/index.js +35 -41
  199. package/lib/modules/dialog/components/confirm/index.js +6 -7
  200. package/lib/modules/dialog/components/connection-gateway/electron.d.ts +1 -1
  201. package/lib/modules/dialog/components/connection-gateway/electron.js +9 -28
  202. package/lib/modules/dialog/components/connection-gateway/index.d.ts +0 -1
  203. package/lib/modules/dialog/components/connection-gateway/index.js +11 -56
  204. package/lib/modules/dialog/components/control-bar/index.js +6 -7
  205. package/lib/modules/dialog/components/device-setting/electron.js +4 -26
  206. package/lib/modules/dialog/components/device-setting/index.js +13 -41
  207. package/lib/modules/dialog/components/invite/index.js +16 -35
  208. package/lib/modules/dialog/components/live-streaming/index.js +18 -53
  209. package/lib/modules/dialog/components/participant/electron.js +4 -17
  210. package/lib/modules/dialog/components/participant/index.js +35 -26
  211. package/lib/modules/dialog/components/remove-admit-waiting-room/electron.js +3 -6
  212. package/lib/modules/dialog/components/remove-admit-waiting-room/index.d.ts +1 -1
  213. package/lib/modules/dialog/components/remove-admit-waiting-room/index.js +4 -14
  214. package/lib/modules/dialog/components/share-screen-selection/index.js +20 -5
  215. package/lib/modules/dialog/components/system-preference/electron.js +5 -8
  216. package/lib/modules/dialog/components/system-preference/index.js +4 -15
  217. package/lib/modules/dialog/components/toast/index.js +8 -12
  218. package/lib/modules/dialog/dialogs.js +2 -1
  219. package/lib/modules/dialog/hooks/useElectron.d.ts +6 -0
  220. package/lib/modules/dialog/hooks/useElectron.js +51 -9
  221. package/lib/modules/dialog/index.css +0 -2
  222. package/lib/modules/dialog/index.d.ts +2 -17
  223. package/lib/modules/dialog/store.d.ts +7 -39
  224. package/lib/modules/dialog/store.js +53 -152
  225. package/lib/modules/dialog/types/index.d.ts +59 -0
  226. package/lib/modules/event-confirm/view.js +4 -1
  227. package/lib/modules/invite/view.d.ts +4 -0
  228. package/lib/modules/invite/view.js +18 -22
  229. package/lib/modules/invite/voip-invite.js +3 -3
  230. package/lib/modules/layout/components/Aside.js +11 -1
  231. package/lib/modules/layout/components/Carousel.js +1 -1
  232. package/lib/modules/layout/components/Layout.js +7 -4
  233. package/lib/modules/layout/components/index.css +6 -1
  234. package/lib/modules/layout/index.js +8 -7
  235. package/lib/modules/layout/member-window/index.css +22 -9
  236. package/lib/modules/layout/member-window/index.js +16 -3
  237. package/lib/modules/layout/store.d.ts +1 -1
  238. package/lib/modules/layout/store.js +1 -7
  239. package/lib/modules/layout/video-window-datasource.js +11 -3
  240. package/lib/modules/notification/index.css +1 -0
  241. package/lib/modules/participant/attendee/index.css +1 -0
  242. package/lib/modules/participant/attendee/index.js +2 -1
  243. package/lib/modules/participant/components/drop-menu/index.css +1 -0
  244. package/lib/modules/participant/components/drop-menu/index.js +9 -9
  245. package/lib/modules/participant/index.css +5 -0
  246. package/lib/modules/participant/index.d.ts +2 -17
  247. package/lib/modules/participant/index.dev.js +38 -27
  248. package/lib/modules/participant/store.d.ts +4 -17
  249. package/lib/modules/participant/store.js +13 -13
  250. package/lib/modules/setting/audio-settings/audio-settings.js +13 -10
  251. package/lib/modules/setting/audio-settings/index.css +26 -1
  252. package/lib/modules/setting/general-settings/index.css +1 -1
  253. package/lib/modules/setting/index.css +2 -1
  254. package/lib/modules/setting/index.d.ts +2 -15
  255. package/lib/modules/setting/index.dev.js +19 -10
  256. package/lib/modules/setting/store.d.ts +5 -18
  257. package/lib/modules/setting/store.js +48 -20
  258. package/lib/modules/setting/translate-settings/index.css +3 -1
  259. package/lib/modules/setting/video-settings/index.css +5 -2
  260. package/lib/modules/share-screen/index.dev.js +20 -19
  261. package/lib/modules/share-screen/selection/index.css +2 -0
  262. package/lib/modules/share-screen/selection/index.js +83 -97
  263. package/lib/modules/share-screen/store.js +16 -36
  264. package/lib/modules/sound-effect/index.d.ts +2 -13
  265. package/lib/modules/sound-effect/index.js +1 -2
  266. package/lib/modules/state-bar/index.css +13 -2
  267. package/lib/modules/state-bar/index.d.ts +1 -5
  268. package/lib/modules/state-bar/index.dev.js +1 -1
  269. package/lib/modules/state-bar/index.js +0 -27
  270. package/lib/modules/state-bar/layout-config.js +1 -1
  271. package/lib/modules/state-bar/meeting-network-state.css +1 -1
  272. package/lib/modules/state-bar/recording.js +7 -4
  273. package/lib/modules/state-bar/view.js +1 -1
  274. package/lib/modules/video-window/index.d.ts +2 -2
  275. package/lib/modules/video-window/store.d.ts +2 -1
  276. package/lib/modules/video-window/store.js +2 -2
  277. package/lib/modules/waiting-room-layout/index.css +1 -3
  278. package/lib/modules/waiting-room-layout/index.d.ts +3 -1
  279. package/lib/modules/waiting-room-layout/index.js +10 -3
  280. package/lib/modules/whiteboard/index.d.ts +2 -13
  281. package/lib/modules/whiteboard/index.js +4 -5
  282. package/lib/providers/device-privilege-provider.d.ts +30 -0
  283. package/lib/providers/device-privilege-provider.js +386 -0
  284. package/lib/providers/device-provider.d.ts +246 -0
  285. package/lib/providers/device-provider.js +1741 -0
  286. package/lib/providers/device-stream-provider.d.ts +36 -0
  287. package/lib/providers/device-stream-provider.js +460 -0
  288. package/lib/providers/event-provider.d.ts +108 -0
  289. package/lib/providers/event-provider.js +288 -0
  290. package/lib/providers/interpreter-provider.d.ts +25 -0
  291. package/lib/providers/interpreter-provider.js +151 -0
  292. package/lib/providers/local-storage-provider.d.ts +8 -0
  293. package/lib/providers/local-storage-provider.js +31 -0
  294. package/lib/providers/monitor-provider.d.ts +15 -0
  295. package/lib/providers/monitor-provider.js +29 -0
  296. package/lib/providers/privilege-provider.d.ts +216 -0
  297. package/lib/providers/privilege-provider.js +966 -0
  298. package/lib/providers/renderer-provider.d.ts +43 -0
  299. package/lib/providers/renderer-provider.js +245 -0
  300. package/lib/providers/room-provider.d.ts +79 -0
  301. package/lib/providers/room-provider.js +439 -0
  302. package/lib/providers/session-provider.d.ts +26 -0
  303. package/lib/providers/session-provider.js +49 -0
  304. package/lib/runtime.d.ts +1 -1
  305. package/lib/scenes/base.d.ts +10 -0
  306. package/lib/scenes/base.js +75 -0
  307. package/lib/scenes/main-scene.d.ts +48 -0
  308. package/lib/scenes/main-scene.js +390 -0
  309. package/lib/scenes/waiting-scene.d.ts +31 -0
  310. package/lib/scenes/waiting-scene.js +129 -0
  311. package/lib/shared-data-source/config.d.ts +16 -0
  312. package/lib/shared-data-source/config.js +21 -0
  313. package/lib/type.d.ts +26 -1
  314. package/lib/ui-manager.d.ts +3 -0
  315. package/lib/ui-manager.js +154 -233
  316. package/lib/ui-node.d.ts +25 -0
  317. package/lib/ui-node.js +156 -0
  318. package/lib/utilities/constant.d.ts +15 -15
  319. package/lib/utilities/constant.js +15 -15
  320. package/lib/utilities/tools.d.ts +2 -0
  321. package/lib/utilities/tools.js +42 -10
  322. package/package.json +12 -11
  323. package/public/assets/fcr_leave2.svg +58 -0
  324. package/public/index.html +150 -13
@@ -11,7 +11,7 @@ import { FcrUserKickedOutType } from 'fcr-core/lib/room-control/user-control/typ
11
11
  import { FcrRoomType } from 'fcr-core/lib/room-control/type';
12
12
  import { FcrInterpreterControl, FcrInterpreterUserInfo } from 'fcr-core/lib/room-control/interpreter-control/types';
13
13
  import { FcrRoomStore } from '../../common/room-store';
14
- import { ChangeInputLanguageParams, ChangeOutputLanguageParams, ToggleLanguageRoomParams, ChangeMainRoomStreamParams, closeAllLanguageRoomInputParams } from '../interpreter/constant';
14
+ import { ChangeOutputLanguageParams, ResetInterpreterParams, SetInputLanguageRoomParams, UpdateInterpreterParams } from '../interpreter/type';
15
15
  import { ConnectionTabType } from '../video-window/type';
16
16
  export declare enum EventType {
17
17
  START = "start",
@@ -168,7 +168,7 @@ export default class ActionBarStore {
168
168
  setPopoverOpened(isShow: boolean): void;
169
169
  setStateBarLeaveMeeting(isShow: boolean): void;
170
170
  getRoomType(): FcrRoomType | undefined;
171
- end(): void;
171
+ end(): Promise<void>;
172
172
  release(): void;
173
173
  allowJoinWithMuteAudio(): boolean;
174
174
  setAllowJoinWithMuteAudio(enable: boolean): void;
@@ -229,15 +229,14 @@ export default class ActionBarStore {
229
229
  getInterpreterUsers(fnName: string): Array<FcrInterpreterUserInfo> | null;
230
230
  getInterpreter(): FcrInterpreterUserInfo | null;
231
231
  getInterpreterState(): boolean;
232
- changeOutputLanguage(payload: ChangeOutputLanguageParams): Promise<void>;
232
+ triggerOutputLanguage(payload: ChangeOutputLanguageParams): Promise<void>;
233
233
  changeOutputByMainRoom(payload: {
234
234
  event: EventType;
235
235
  action?: string;
236
236
  }): Promise<void>;
237
- changeInputLanguageByMain(payload: ChangeMainRoomStreamParams): Promise<void>;
238
- changeInputLanguage(payload: ChangeInputLanguageParams): Promise<void>;
239
- closeAllLanguageRoomInput(payload: closeAllLanguageRoomInputParams): Promise<void>;
240
- toggleLanguageRoom(payload: ToggleLanguageRoomParams): void;
237
+ updateInterpreter(payload: UpdateInterpreterParams): void;
238
+ resetInterpreter(payload: ResetInterpreterParams): void;
239
+ setInputLanguageRoom(payload: SetInputLanguageRoomParams): void;
241
240
  getInterpreterUsersAllOnline(): boolean;
242
241
  }
243
242
  export declare const ActionBarContext: import("react").Context<ActionBarStore>;
@@ -99,7 +99,7 @@ var _type6 = require("fcr-core/lib/room-control/type");
99
99
  var _type7 = require("fcr-core/lib/room-control/privilege-control/type");
100
100
  var _react = require("react");
101
101
  var _ActionBarStore;
102
- var _initProto, _init_users, _init_newMessageTooltipVisible, _init_newMessageCount, _init_latestMessage, _init_totalUser, _init_totalWaitingRoomUser, _init_liveStreamingState, _init_currentMenuIs, _init_cloudRecordingState, _init_localUserRole, _init_localUser, _init_connectionSettingVisible, _init_connectType, _init_folded, _init_boardOwnerUser, _init_hasScreenShare, _init_showArrow, _init_phoneMicEnabled, _init_isNewWaitingRoomUserEnter, _init_chatTabIndex, _init_popoverOpened, _init_stateBarLeaveMeeting, _init_isPstnUser, _init_interpreter, _init_interpreterState, _init_interpreterUsers, _init_securityStore, _init_interpreterUsersOffline, _init_initShowGuide, _pauseCloudRecordingDecs, _resumeCloudRecordingDecs, _stopCloudRecordingDecs, _toggleLayoutBarLockDecs, _showNewMessageTooltipDecs, _hideNewMessageTooltipDecs, _switchMenuDecs, _assignHostDecs, _setPopoverOpenedDecs, _setStateBarLeaveMeetingDecs, _toggleFoldDecs, _setShowArrowDecs, _setEnableWaitingRoomDecs, _kickOutWaitingRoomAllMemberDecs, _moveToMainRoomAllMemberDecs, _handleRemoteUsersJoinedDecs, _handleRemoteUsersLeftDecs, _handleAllUserCountUpdatedDecs, _getWaitingRoomUserCountDecs, _handleRemoteWaitingUserLeftDecs, _handleRemoteWaitingUserJoinedDecs, _handleUserInfoUpdatedDecs, _handleLiveStreamingStateUpdatedDecs, _handleNewMessageEventDecs, _init__handleNewMessageEvent, _handleChatVisibleDecs, _handlerTraceScreenCaptureStateUpdateDecs, _operateWaitingRoomDecs, _handleCloudRecordingStateUpdatedDecs, _handleStreamsAddedOrUpdatedDecs, _setInitShowGuideDecs, _getInterpreterUsersDecs, _getInterpreterDecs, _getInterpreterStateDecs, _changeOutputLanguageDecs, _changeOutputByMainRoomDecs, _changeInputLanguageByMainDecs, _changeInputLanguageDecs, _closeAllLanguageRoomInputDecs, _toggleLanguageRoomDecs, _getInterpreterUsersAllOnlineDecs, _ref;
102
+ var _initProto, _init_users, _init_newMessageTooltipVisible, _init_newMessageCount, _init_latestMessage, _init_totalUser, _init_totalWaitingRoomUser, _init_liveStreamingState, _init_currentMenuIs, _init_cloudRecordingState, _init_localUserRole, _init_localUser, _init_connectionSettingVisible, _init_connectType, _init_folded, _init_boardOwnerUser, _init_hasScreenShare, _init_showArrow, _init_phoneMicEnabled, _init_isNewWaitingRoomUserEnter, _init_chatTabIndex, _init_popoverOpened, _init_stateBarLeaveMeeting, _init_isPstnUser, _init_interpreter, _init_interpreterState, _init_interpreterUsers, _init_securityStore, _init_interpreterUsersOffline, _init_initShowGuide, _pauseCloudRecordingDecs, _resumeCloudRecordingDecs, _stopCloudRecordingDecs, _toggleLayoutBarLockDecs, _showNewMessageTooltipDecs, _hideNewMessageTooltipDecs, _switchMenuDecs, _assignHostDecs, _setPopoverOpenedDecs, _setStateBarLeaveMeetingDecs, _toggleFoldDecs, _setShowArrowDecs, _setEnableWaitingRoomDecs, _kickOutWaitingRoomAllMemberDecs, _moveToMainRoomAllMemberDecs, _handleRemoteUsersJoinedDecs, _handleRemoteUsersLeftDecs, _handleAllUserCountUpdatedDecs, _getWaitingRoomUserCountDecs, _handleRemoteWaitingUserLeftDecs, _handleRemoteWaitingUserJoinedDecs, _handleUserInfoUpdatedDecs, _handleLiveStreamingStateUpdatedDecs, _handleNewMessageEventDecs, _init__handleNewMessageEvent, _handleChatVisibleDecs, _handlerTraceScreenCaptureStateUpdateDecs, _operateWaitingRoomDecs, _handleCloudRecordingStateUpdatedDecs, _handleStreamsAddedOrUpdatedDecs, _setInitShowGuideDecs, _getInterpreterUsersDecs, _getInterpreterDecs, _getInterpreterStateDecs, _triggerOutputLanguageDecs, _changeOutputByMainRoomDecs, _updateInterpreterDecs, _resetInterpreterDecs, _setInputLanguageRoomDecs, _getInterpreterUsersAllOnlineDecs, _ref;
103
103
  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; }
104
104
  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; }
105
105
  function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
@@ -164,7 +164,7 @@ _ref = (_pauseCloudRecordingDecs = [_decorator.bound, (0, _decorator.debounced)(
164
164
  leading: true
165
165
  })], _stopCloudRecordingDecs = [_decorator.bound, (0, _decorator.debounced)(500, {
166
166
  leading: true
167
- })], _toggleLayoutBarLockDecs = [_mobx.action, _mobx.action.bound], _showNewMessageTooltipDecs = [_mobx.action, _mobx.action.bound], _hideNewMessageTooltipDecs = [_mobx.action, _mobx.action.bound], _switchMenuDecs = [_mobx.action, _mobx.action.bound], _assignHostDecs = [_mobx.action, _mobx.action.bound], _setPopoverOpenedDecs = [_mobx.action, _mobx.action.bound], _setStateBarLeaveMeetingDecs = [_mobx.action, _mobx.action.bound], _toggleFoldDecs = [_mobx.action, _mobx.action.bound], _setShowArrowDecs = [_mobx.action, _mobx.action.bound], _setEnableWaitingRoomDecs = [_mobx.action, _mobx.action.bound], _kickOutWaitingRoomAllMemberDecs = [_mobx.action, _mobx.action.bound], _moveToMainRoomAllMemberDecs = [_mobx.action, _mobx.action.bound], _handleRemoteUsersJoinedDecs = [_mobx.action, _mobx.action.bound], _handleRemoteUsersLeftDecs = [_mobx.action, _mobx.action.bound], _handleAllUserCountUpdatedDecs = [_mobx.action, _mobx.action.bound], _getWaitingRoomUserCountDecs = [_mobx.action, _mobx.action.bound], _handleRemoteWaitingUserLeftDecs = [_mobx.action, _mobx.action.bound], _handleRemoteWaitingUserJoinedDecs = [_mobx.action, _mobx.action.bound], _handleUserInfoUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleLiveStreamingStateUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleNewMessageEventDecs = [_mobx.action, _mobx.action.bound], _handleChatVisibleDecs = [_mobx.action, _mobx.action.bound], _handlerTraceScreenCaptureStateUpdateDecs = [_mobx.action, _mobx.action.bound], _operateWaitingRoomDecs = [_mobx.action, _mobx.action.bound], _handleCloudRecordingStateUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleStreamsAddedOrUpdatedDecs = [_mobx.action, _mobx.action.bound], _setInitShowGuideDecs = [_mobx.action, _mobx.action.bound], _getInterpreterUsersDecs = [_mobx.action, _mobx.action.bound], _getInterpreterDecs = [_mobx.action, _mobx.action.bound], _getInterpreterStateDecs = [_mobx.action, _mobx.action.bound], _changeOutputLanguageDecs = [_mobx.action, _mobx.action.bound], _changeOutputByMainRoomDecs = [_mobx.action, _mobx.action.bound], _changeInputLanguageByMainDecs = [_mobx.action, _mobx.action.bound], _changeInputLanguageDecs = [_mobx.action, _mobx.action.bound], _closeAllLanguageRoomInputDecs = [_mobx.action, _mobx.action.bound], _toggleLanguageRoomDecs = [_mobx.action, _mobx.action.bound], _getInterpreterUsersAllOnlineDecs = [_mobx.action, _mobx.action.bound], "logger");
167
+ })], _toggleLayoutBarLockDecs = [_mobx.action, _mobx.action.bound], _showNewMessageTooltipDecs = [_mobx.action, _mobx.action.bound], _hideNewMessageTooltipDecs = [_mobx.action, _mobx.action.bound], _switchMenuDecs = [_mobx.action, _mobx.action.bound], _assignHostDecs = [_mobx.action, _mobx.action.bound], _setPopoverOpenedDecs = [_mobx.action, _mobx.action.bound], _setStateBarLeaveMeetingDecs = [_mobx.action, _mobx.action.bound], _toggleFoldDecs = [_mobx.action, _mobx.action.bound], _setShowArrowDecs = [_mobx.action, _mobx.action.bound], _setEnableWaitingRoomDecs = [_mobx.action, _mobx.action.bound], _kickOutWaitingRoomAllMemberDecs = [_mobx.action, _mobx.action.bound], _moveToMainRoomAllMemberDecs = [_mobx.action, _mobx.action.bound], _handleRemoteUsersJoinedDecs = [_mobx.action, _mobx.action.bound], _handleRemoteUsersLeftDecs = [_mobx.action, _mobx.action.bound], _handleAllUserCountUpdatedDecs = [_mobx.action, _mobx.action.bound], _getWaitingRoomUserCountDecs = [_mobx.action, _mobx.action.bound], _handleRemoteWaitingUserLeftDecs = [_mobx.action, _mobx.action.bound], _handleRemoteWaitingUserJoinedDecs = [_mobx.action, _mobx.action.bound], _handleUserInfoUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleLiveStreamingStateUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleNewMessageEventDecs = [_mobx.action, _mobx.action.bound], _handleChatVisibleDecs = [_mobx.action, _mobx.action.bound], _handlerTraceScreenCaptureStateUpdateDecs = [_mobx.action, _mobx.action.bound], _operateWaitingRoomDecs = [_mobx.action, _mobx.action.bound], _handleCloudRecordingStateUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleStreamsAddedOrUpdatedDecs = [_mobx.action, _mobx.action.bound], _setInitShowGuideDecs = [_mobx.action, _mobx.action.bound], _getInterpreterUsersDecs = [_mobx.action, _mobx.action.bound], _getInterpreterDecs = [_mobx.action, _mobx.action.bound], _getInterpreterStateDecs = [_mobx.action, _mobx.action.bound], _triggerOutputLanguageDecs = [_mobx.action, _mobx.action.bound], _changeOutputByMainRoomDecs = [_mobx.action, _mobx.action.bound], _updateInterpreterDecs = [_mobx.action, _mobx.action.bound], _resetInterpreterDecs = [_mobx.action, _mobx.action.bound], _setInputLanguageRoomDecs = [_mobx.action, _mobx.action.bound], _getInterpreterUsersAllOnlineDecs = [_mobx.action, _mobx.action.bound], "logger");
168
168
  var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
169
169
  function ActionBarStore(args) {
170
170
  var _this = this,
@@ -919,9 +919,26 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
919
919
  }
920
920
  }, {
921
921
  key: "end",
922
- value: function end() {
923
- this._roomControl.close();
924
- }
922
+ value: function () {
923
+ var _end = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee2() {
924
+ return _regenerator["default"].wrap(function _callee2$(_context2) {
925
+ while (1) switch (_context2.prev = _context2.next) {
926
+ case 0:
927
+ _context2.next = 2;
928
+ return this._roomControl.close();
929
+ case 2:
930
+ this.leave();
931
+ case 3:
932
+ case "end":
933
+ return _context2.stop();
934
+ }
935
+ }, _callee2, this);
936
+ }));
937
+ function end() {
938
+ return _end.apply(this, arguments);
939
+ }
940
+ return end;
941
+ }()
925
942
  }, {
926
943
  key: "release",
927
944
  value: function release() {
@@ -1164,25 +1181,41 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
1164
1181
  }, {
1165
1182
  key: "setEnableWaitingRoom",
1166
1183
  value: function () {
1167
- var _setEnableWaitingRoom = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee2(enable, isNeedShowDialog) {
1168
- return _regenerator["default"].wrap(function _callee2$(_context2) {
1169
- while (1) switch (_context2.prev = _context2.next) {
1184
+ var _setEnableWaitingRoom = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee3(enable, isNeedShowDialog) {
1185
+ var _this4 = this;
1186
+ var dialogId;
1187
+ return _regenerator["default"].wrap(function _callee3$(_context3) {
1188
+ while (1) switch (_context3.prev = _context3.next) {
1170
1189
  case 0:
1171
1190
  if (enable) {
1172
- _context2.next = 10;
1191
+ _context3.next = 10;
1173
1192
  break;
1174
1193
  }
1175
1194
  if (!(this.totalWaitingRoomUser && isNeedShowDialog)) {
1176
- _context2.next = 5;
1195
+ _context3.next = 5;
1177
1196
  break;
1178
1197
  }
1179
- this._uiEventStore.openDialog(_constant.DialogKey.WAITING_ROOM, '', {
1180
- totalWaitingRoomUser: this.totalWaitingRoomUser
1198
+ dialogId = this._uiEventStore.openConfirmDialog({
1199
+ title: (0, _i18n.transI18n)('fmt_waitingroom_mobile_setting_popup_label_close'),
1200
+ content: (0, _i18n.transI18n)('fmt_waitingroom_mobile_setting_popup_label_choose', {
1201
+ reason1: this.totalWaitingRoomUser
1202
+ }),
1203
+ onCancel: function onCancel() {
1204
+ _this4._uiEventStore.sendEvent(_constant.UIAction.MOVE_TO_MAIN_ROOM_ALL_MEMBER, false);
1205
+ _this4._uiEventStore.closeConfirm(dialogId);
1206
+ },
1207
+ onOk: function onOk() {
1208
+ _this4._uiEventStore.sendEvent(_constant.UIAction.MOVE_TO_MAIN_ROOM_ALL_MEMBER, true);
1209
+ _this4._uiEventStore.closeConfirm(dialogId);
1210
+ },
1211
+ okText: (0, _i18n.transI18n)('fmt_waitingroom_mobile_setting_popup_button_admit_all'),
1212
+ cancelText: (0, _i18n.transI18n)('fmt_waitingroom_mobile_setting_popup_button_cancel'),
1213
+ alignCenter: true
1181
1214
  });
1182
- _context2.next = 8;
1215
+ _context3.next = 8;
1183
1216
  break;
1184
1217
  case 5:
1185
- _context2.next = 7;
1218
+ _context3.next = 7;
1186
1219
  return this._roomControl.enableWaitingRoom(enable);
1187
1220
  case 7:
1188
1221
  this._uiEventStore.showToast({
@@ -1190,10 +1223,10 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
1190
1223
  message: (0, _i18n.transI18n)('fmt_waitingroom_mobile_setting_tips_disable')
1191
1224
  });
1192
1225
  case 8:
1193
- _context2.next = 13;
1226
+ _context3.next = 13;
1194
1227
  break;
1195
1228
  case 10:
1196
- _context2.next = 12;
1229
+ _context3.next = 12;
1197
1230
  return this._roomControl.enableWaitingRoom(enable);
1198
1231
  case 12:
1199
1232
  this._uiEventStore.showToast({
@@ -1202,9 +1235,9 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
1202
1235
  });
1203
1236
  case 13:
1204
1237
  case "end":
1205
- return _context2.stop();
1238
+ return _context3.stop();
1206
1239
  }
1207
- }, _callee2, this);
1240
+ }, _callee3, this);
1208
1241
  }));
1209
1242
  function setEnableWaitingRoom(_x, _x2) {
1210
1243
  return _setEnableWaitingRoom.apply(this, arguments);
@@ -1214,18 +1247,18 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
1214
1247
  }, {
1215
1248
  key: "kickOutWaitingRoomAllMember",
1216
1249
  value: function () {
1217
- var _kickOutWaitingRoomAllMember = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee3(type) {
1250
+ var _kickOutWaitingRoomAllMember = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee4(type) {
1218
1251
  var _this$_userControl;
1219
- return _regenerator["default"].wrap(function _callee3$(_context3) {
1220
- while (1) switch (_context3.prev = _context3.next) {
1252
+ return _regenerator["default"].wrap(function _callee4$(_context4) {
1253
+ while (1) switch (_context4.prev = _context4.next) {
1221
1254
  case 0:
1222
- _context3.next = 2;
1255
+ _context4.next = 2;
1223
1256
  return (_this$_userControl = this._userControl) === null || _this$_userControl === void 0 ? void 0 : _this$_userControl.kickOutByUserRoles([_type.FcrUserRole.PARTICIPANT], type);
1224
1257
  case 2:
1225
1258
  case "end":
1226
- return _context3.stop();
1259
+ return _context4.stop();
1227
1260
  }
1228
- }, _callee3, this);
1261
+ }, _callee4, this);
1229
1262
  }));
1230
1263
  function kickOutWaitingRoomAllMember(_x3) {
1231
1264
  return _kickOutWaitingRoomAllMember.apply(this, arguments);
@@ -1235,18 +1268,18 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
1235
1268
  }, {
1236
1269
  key: "moveToMainRoomAllMember",
1237
1270
  value: function () {
1238
- var _moveToMainRoomAllMember = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee4() {
1271
+ var _moveToMainRoomAllMember = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee5() {
1239
1272
  var _this$_waitingRoomCon;
1240
- return _regenerator["default"].wrap(function _callee4$(_context4) {
1241
- while (1) switch (_context4.prev = _context4.next) {
1273
+ return _regenerator["default"].wrap(function _callee5$(_context5) {
1274
+ while (1) switch (_context5.prev = _context5.next) {
1242
1275
  case 0:
1243
- _context4.next = 2;
1276
+ _context5.next = 2;
1244
1277
  return (_this$_waitingRoomCon = this._waitingRoomControl) === null || _this$_waitingRoomCon === void 0 ? void 0 : _this$_waitingRoomCon.moveToMainRoomByUserRoles([_type.FcrUserRole.PARTICIPANT]);
1245
1278
  case 2:
1246
1279
  case "end":
1247
- return _context4.stop();
1280
+ return _context5.stop();
1248
1281
  }
1249
- }, _callee4, this);
1282
+ }, _callee5, this);
1250
1283
  }));
1251
1284
  function moveToMainRoomAllMember() {
1252
1285
  return _moveToMainRoomAllMember.apply(this, arguments);
@@ -1256,7 +1289,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
1256
1289
  }, {
1257
1290
  key: "_interceptShareScreen",
1258
1291
  value: function _interceptShareScreen() {
1259
- var _this4 = this;
1292
+ var _this5 = this;
1260
1293
  if (this.hasScreenShare || this.boardOwnerUser && this.boardOwnerUser.userId !== this._userControl.getLocalUser().userId) {
1261
1294
  var _this$_sharingOwnerUs;
1262
1295
  var confirmKey = this._uiEventStore.openConfirmDialog({
@@ -1268,11 +1301,11 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
1268
1301
  closable: false,
1269
1302
  alignCenter: true,
1270
1303
  onOk: function onOk() {
1271
- _this4._uiEventStore.startShareScreen();
1272
- _this4._uiEventStore.closeConfirm(confirmKey);
1304
+ _this5._uiEventStore.startShareScreen();
1305
+ _this5._uiEventStore.closeConfirm(confirmKey);
1273
1306
  },
1274
1307
  onCancel: function onCancel() {
1275
- _this4._uiEventStore.closeConfirm(confirmKey);
1308
+ _this5._uiEventStore.closeConfirm(confirmKey);
1276
1309
  }
1277
1310
  });
1278
1311
  return false;
@@ -1283,7 +1316,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
1283
1316
  }, {
1284
1317
  key: "_interceptShareBoard",
1285
1318
  value: function _interceptShareBoard() {
1286
- var _this5 = this;
1319
+ var _this6 = this;
1287
1320
  if (this.boardOwnerUser && this.boardOwnerUser.userId !== this._userControl.getLocalUser().userId) {
1288
1321
  var confirmKey = this._uiEventStore.openConfirmDialog({
1289
1322
  icon: _type4.FcrIconType.FCR_SCREENSHARING,
@@ -1293,11 +1326,11 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
1293
1326
  closable: false,
1294
1327
  showCancel: false,
1295
1328
  onOk: function onOk() {
1296
- _this5._uiEventStore.startShareScreen();
1297
- _this5._uiEventStore.closeDialog(confirmKey);
1329
+ _this6._uiEventStore.startShareScreen();
1330
+ _this6._uiEventStore.closeDialog(confirmKey);
1298
1331
  },
1299
1332
  onCancel: function onCancel() {
1300
- _this5._uiEventStore.closeDialog(confirmKey);
1333
+ _this6._uiEventStore.closeDialog(confirmKey);
1301
1334
  }
1302
1335
  });
1303
1336
  return false;
@@ -1308,13 +1341,13 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
1308
1341
  }, {
1309
1342
  key: "_handleRemoteUsersJoined",
1310
1343
  value: function _handleRemoteUsersJoined(roomId, events) {
1311
- var _this6 = this;
1344
+ var _this7 = this;
1312
1345
  var modifiedUsers = events.map(function (e) {
1313
1346
  return e.modifiedUser;
1314
1347
  });
1315
1348
  var users = (0, _toConsumableArray2["default"])(this.users);
1316
1349
  modifiedUsers.forEach(function (user) {
1317
- var userIndex = _this6.users.findIndex(function (u) {
1350
+ var userIndex = _this7.users.findIndex(function (u) {
1318
1351
  return u.userId === user.userId;
1319
1352
  });
1320
1353
  if (userIndex !== -1) {
@@ -1329,13 +1362,13 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
1329
1362
  }, {
1330
1363
  key: "_handleRemoteUsersLeft",
1331
1364
  value: function _handleRemoteUsersLeft(roomId, events) {
1332
- var _this7 = this;
1365
+ var _this8 = this;
1333
1366
  var modifiedUsers = events.map(function (e) {
1334
1367
  return e.modifiedUser;
1335
1368
  });
1336
1369
  var users = (0, _toConsumableArray2["default"])(this.users);
1337
1370
  modifiedUsers.forEach(function (user) {
1338
- var userIndex = _this7.users.findIndex(function (u) {
1371
+ var userIndex = _this8.users.findIndex(function (u) {
1339
1372
  return u.userId === user.userId;
1340
1373
  });
1341
1374
  if (userIndex !== -1) {
@@ -1475,7 +1508,6 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
1475
1508
  this._openedDialogIdMap["delete"](dialogId);
1476
1509
  if (dialogKey === _constant.DialogKey.CONTROL_BAR) {
1477
1510
  this._isSharingScreen = false;
1478
- this._chatRenderAt = 'aside';
1479
1511
  }
1480
1512
  }
1481
1513
  if (action === _constant.UIAction.OPEN_DIALOG) {
@@ -1569,24 +1601,24 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
1569
1601
  }, {
1570
1602
  key: "_operateWaitingRoom",
1571
1603
  value: function () {
1572
- var _operateWaitingRoom2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee5(isOperate) {
1573
- return _regenerator["default"].wrap(function _callee5$(_context5) {
1574
- while (1) switch (_context5.prev = _context5.next) {
1604
+ var _operateWaitingRoom2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee6(isOperate) {
1605
+ return _regenerator["default"].wrap(function _callee6$(_context6) {
1606
+ while (1) switch (_context6.prev = _context6.next) {
1575
1607
  case 0:
1576
1608
  if (!isOperate) {
1577
- _context5.next = 3;
1609
+ _context6.next = 3;
1578
1610
  break;
1579
1611
  }
1580
- _context5.next = 3;
1612
+ _context6.next = 3;
1581
1613
  return this.moveToMainRoomAllMember();
1582
1614
  case 3:
1583
- _context5.next = 5;
1615
+ _context6.next = 5;
1584
1616
  return this.setEnableWaitingRoom(false, false);
1585
1617
  case 5:
1586
1618
  case "end":
1587
- return _context5.stop();
1619
+ return _context6.stop();
1588
1620
  }
1589
- }, _callee5, this);
1621
+ }, _callee6, this);
1590
1622
  }));
1591
1623
  function _operateWaitingRoom(_x4) {
1592
1624
  return _operateWaitingRoom2.apply(this, arguments);
@@ -1641,11 +1673,11 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
1641
1673
  }, {
1642
1674
  key: "getInterpreter",
1643
1675
  value: function getInterpreter() {
1644
- var _this8 = this;
1676
+ var _this9 = this;
1645
1677
  if (this._interpreterControl) {
1646
1678
  var _this$_interpreterCon2;
1647
1679
  return ((_this$_interpreterCon2 = this._interpreterControl.getInterpreterUserList()) === null || _this$_interpreterCon2 === void 0 ? void 0 : _this$_interpreterCon2.find(function (ele) {
1648
- return ele.userId === _this8._userControl.getLocalUser().userId;
1680
+ return ele.userId === _this9._userControl.getLocalUser().userId;
1649
1681
  })) || null;
1650
1682
  }
1651
1683
  return null;
@@ -1662,114 +1694,68 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
1662
1694
 
1663
1695
  // / 切换输出语言房间
1664
1696
  }, {
1665
- key: "changeOutputLanguage",
1666
- value: function () {
1667
- var _changeOutputLanguage = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee6(payload) {
1668
- return _regenerator["default"].wrap(function _callee6$(_context6) {
1669
- while (1) switch (_context6.prev = _context6.next) {
1670
- case 0:
1671
- this._uiEventStore.sendEvent(_constant.UIAction.CHANGE_INTERPRETER_OUTPUT_LANGUE, payload);
1672
- case 1:
1673
- case "end":
1674
- return _context6.stop();
1675
- }
1676
- }, _callee6, this);
1677
- }));
1678
- function changeOutputLanguage(_x5) {
1679
- return _changeOutputLanguage.apply(this, arguments);
1680
- }
1681
- return changeOutputLanguage;
1682
- }() // 主房间-输出流-开/关
1683
- }, {
1684
- key: "changeOutputByMainRoom",
1697
+ key: "triggerOutputLanguage",
1685
1698
  value: function () {
1686
- var _changeOutputByMainRoom = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee7(payload) {
1699
+ var _triggerOutputLanguage = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee7(payload) {
1687
1700
  return _regenerator["default"].wrap(function _callee7$(_context7) {
1688
1701
  while (1) switch (_context7.prev = _context7.next) {
1689
1702
  case 0:
1690
- this._uiEventStore.sendEvent(_constant.UIAction.TOGGLE_MAINROOM_REMOTE_AUDIO, payload);
1703
+ this._uiEventStore.sendEvent(_constant.UIAction.TOGGLE_INTERPRETER_OUTPUT_LANGUE, payload);
1691
1704
  case 1:
1692
1705
  case "end":
1693
1706
  return _context7.stop();
1694
1707
  }
1695
1708
  }, _callee7, this);
1696
1709
  }));
1697
- function changeOutputByMainRoom(_x6) {
1698
- return _changeOutputByMainRoom.apply(this, arguments);
1710
+ function triggerOutputLanguage(_x5) {
1711
+ return _triggerOutputLanguage.apply(this, arguments);
1699
1712
  }
1700
- return changeOutputByMainRoom;
1701
- }() // 主房间-输入流-开/关
1713
+ return triggerOutputLanguage;
1714
+ }() // 主房间-输出流-开/关
1702
1715
  }, {
1703
- key: "changeInputLanguageByMain",
1716
+ key: "changeOutputByMainRoom",
1704
1717
  value: function () {
1705
- var _changeInputLanguageByMain = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee8(payload) {
1718
+ var _changeOutputByMainRoom = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee8(payload) {
1706
1719
  return _regenerator["default"].wrap(function _callee8$(_context8) {
1707
1720
  while (1) switch (_context8.prev = _context8.next) {
1708
1721
  case 0:
1709
- this._uiEventStore.sendEvent(_constant.UIAction.TOGGLE_MAIN_ROOM_INPUT, payload);
1722
+ this._uiEventStore.sendEvent(_constant.UIAction.TOGGLE_MAINROOM_REMOTE_AUDIO, payload);
1710
1723
  case 1:
1711
1724
  case "end":
1712
1725
  return _context8.stop();
1713
1726
  }
1714
1727
  }, _callee8, this);
1715
1728
  }));
1716
- function changeInputLanguageByMain(_x7) {
1717
- return _changeInputLanguageByMain.apply(this, arguments);
1729
+ function changeOutputByMainRoom(_x6) {
1730
+ return _changeOutputByMainRoom.apply(this, arguments);
1718
1731
  }
1719
- return changeInputLanguageByMain;
1720
- }() // 语言房间-输入流-开/关
1732
+ return changeOutputByMainRoom;
1733
+ }()
1721
1734
  }, {
1722
- key: "changeInputLanguage",
1723
- value: function () {
1724
- var _changeInputLanguage = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee9(payload) {
1725
- return _regenerator["default"].wrap(function _callee9$(_context9) {
1726
- while (1) switch (_context9.prev = _context9.next) {
1727
- case 0:
1728
- this._uiEventStore.sendEvent(_constant.UIAction.CHANGE_INTERPRETER_INPUT_LANGUE, payload);
1729
- case 1:
1730
- case "end":
1731
- return _context9.stop();
1732
- }
1733
- }, _callee9, this);
1734
- }));
1735
- function changeInputLanguage(_x8) {
1736
- return _changeInputLanguage.apply(this, arguments);
1737
- }
1738
- return changeInputLanguage;
1739
- }() // 语言房间-输入流-开/关
1735
+ key: "updateInterpreter",
1736
+ value: function updateInterpreter(payload) {
1737
+ this._uiEventStore.sendEvent(_constant.UIAction.UPDATE_INTERPRETER, payload);
1738
+ }
1740
1739
  }, {
1741
- key: "closeAllLanguageRoomInput",
1742
- value: function () {
1743
- var _closeAllLanguageRoomInput = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee10(payload) {
1744
- return _regenerator["default"].wrap(function _callee10$(_context10) {
1745
- while (1) switch (_context10.prev = _context10.next) {
1746
- case 0:
1747
- this._uiEventStore.sendEvent(_constant.UIAction.CLOSE_ALL_LANGUAGE_ROOM_INPUT, payload);
1748
- case 1:
1749
- case "end":
1750
- return _context10.stop();
1751
- }
1752
- }, _callee10, this);
1753
- }));
1754
- function closeAllLanguageRoomInput(_x9) {
1755
- return _closeAllLanguageRoomInput.apply(this, arguments);
1756
- }
1757
- return closeAllLanguageRoomInput;
1758
- }() // 语言房间-加入/离开
1740
+ key: "resetInterpreter",
1741
+ value: function resetInterpreter(payload) {
1742
+ this._uiEventStore.sendEvent(_constant.UIAction.RESET_INTERPRETER, payload);
1743
+ }
1759
1744
  }, {
1760
- key: "toggleLanguageRoom",
1761
- value: function toggleLanguageRoom(payload) {
1762
- this._uiEventStore.sendEvent(_constant.UIAction.TOGGLE_LANGUAGE_ROOM, payload);
1745
+ key: "setInputLanguageRoom",
1746
+ value: function setInputLanguageRoom(payload) {
1747
+ this._uiEventStore.sendEvent(_constant.UIAction.SET_INPUT_LANGUAGE_ROOM, payload);
1763
1748
  }
1749
+
1764
1750
  //是否有离线翻译官
1765
1751
  }, {
1766
1752
  key: "getInterpreterUsersAllOnline",
1767
1753
  value: function getInterpreterUsersAllOnline() {
1768
- var _this9 = this;
1754
+ var _this10 = this;
1769
1755
  if (this._interpreterControl) {
1770
1756
  var _this$_interpreterCon3;
1771
1757
  var isOffLine = (_this$_interpreterCon3 = this._interpreterControl.getInterpreterUserList()) === null || _this$_interpreterCon3 === void 0 ? void 0 : _this$_interpreterCon3.some(function (ele) {
1772
- return !_this9._userControl.getUserList().find(function (item) {
1758
+ return !_this10._userControl.getUserList().find(function (item) {
1773
1759
  return item.userId === ele.userId;
1774
1760
  });
1775
1761
  });
@@ -1780,7 +1766,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
1780
1766
  }]);
1781
1767
  }();
1782
1768
  _ActionBarStore = ActionBarStore;
1783
- var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_ActionBarStore, [[_mobx.observable, 1, "users"], [_mobx.observable, 1, "newMessageTooltipVisible"], [_mobx.observable, 1, "newMessageCount"], [_mobx.observable, 1, "latestMessage"], [_mobx.observable, 1, "totalUser"], [_mobx.observable, 1, "totalWaitingRoomUser"], [_mobx.observable, 1, "liveStreamingState"], [_mobx.observable, 1, "currentMenuIs"], [_mobx.observable, 1, "cloudRecordingState"], [_mobx.observable, 1, "localUserRole"], [_mobx.observable, 1, "localUser"], [_mobx.observable, 1, "connectionSettingVisible"], [_mobx.observable, 1, "connectType"], [_mobx.observable, 1, "folded"], [_mobx.observable, 1, "boardOwnerUser"], [_mobx.observable, 1, "hasScreenShare"], [_mobx.observable, 1, "showArrow"], [_mobx.observable, 1, "phoneMicEnabled"], [_mobx.observable, 1, "isNewWaitingRoomUserEnter"], [_mobx.observable, 1, "chatTabIndex"], [_mobx.observable, 1, "popoverOpened"], [_mobx.observable, 1, "stateBarLeaveMeeting"], [_mobx.observable, 1, "isPstnUser"], [_mobx.observable, 1, "interpreter"], [_mobx.observable, 1, "interpreterState"], [_mobx.observable, 1, "interpreterUsers"], [_mobx.observable, 1, "securityStore"], [_mobx.observable, 1, "interpreterUsersOffline"], [_mobx.observable, 1, "initShowGuide"], [_mobx.computed, 3, "remoteUsers"], [_mobx.computed, 3, "hasStartScreenSharePermission"], [_mobx.computed, 3, "hasStartLiveStreamingPermission"], [_mobx.computed, 3, "hasEnableStartAudioPermission"], [_mobx.computed, 3, "hasEnableChangeNamePermission"], [_mobx.computed, 3, "hasEnableStartVideoPermission"], [_mobx.computed, 3, "hasLockRoomPermission"], [_mobx.computed, 3, "hasEnableJoinWithAudioPermission"], [_mobx.computed, 3, "hasWaitingRoomPermission"], [_mobx.computed, 3, "hasWatermarkDisablePermission"], [_mobx.computed, 3, "hasEnableStartSharePermission"], [_mobx.computed, 3, "hasAllowWriteBoardPermission"], [_mobx.computed, 3, "hasCloseWriteBoardPermission"], [_mobx.computed, 3, "hasAllowScreenShareAndBoardPermission"], [_mobx.computed, 3, "hasAllowChatPermission"], [_mobx.computed, 3, "hasStartCloudRecordingPermission"], [_mobx.computed, 3, "hasAssignHostBeforeLeavingPermission"], [_mobx.computed, 3, "hasEndRoomPermission"], [_mobx.computed, 3, "isScreenShareAndBoardEnabled"], [_mobx.computed, 3, "isBoardWriteEnabled"], [_mobx.computed, 3, "isWaterMarkEnabled"], [_mobx.computed, 3, "isMulti"], [_mobx.computed, 3, "hasEnableInterpreterPermission"], [_mobx.computed, 3, "hasDisableInterpreterPermission"], [_mobx.computed, 3, "cameraId"], [_mobx.computed, 3, "cameraList"], [_mobx.computed, 3, "microphoneEnabled"], [_mobx.computed, 3, "microphoneId"], [_mobx.computed, 3, "microphoneVolumeLevel"], [_mobx.computed, 3, "microphoneList"], [_mobx.computed, 3, "speakerId"], [_mobx.computed, 3, "speakerList"], [_mobx.computed, 3, "allNewMessage"], [_mobx.computed, 3, "isMainRoom"], [_mobx.computed, 3, "hasAllowChangeNamePromission"], [_mobx.computed, 3, "hasDisallowChangeNamePromission"], [_pauseCloudRecordingDecs, 2, "pauseCloudRecording"], [_resumeCloudRecordingDecs, 2, "resumeCloudRecording"], [_stopCloudRecordingDecs, 2, "stopCloudRecording"], [_decorator.bound, 2, "startCloudRecording"], [_toggleLayoutBarLockDecs, 18, "toggleLayoutBarLock"], [_showNewMessageTooltipDecs, 18, "showNewMessageTooltip"], [_hideNewMessageTooltipDecs, 18, "hideNewMessageTooltip"], [_switchMenuDecs, 18, "switchMenu"], [_mobx.computed, 3, "isLocked"], [_decorator.bound, 2, "isWaitingRoomEnabled"], [_decorator.bound, 2, "isAllowJoinWithAudioEnabled"], [_decorator.bound, 2, "enableCamera"], [_decorator.bound, 2, "setCameraId"], [_decorator.bound, 2, "enableMicrophone"], [_decorator.bound, 2, "setMicrophoneId"], [_decorator.bound, 2, "setSpeakerId"], [_decorator.bound, 2, "setAllowBoardWrite"], [_decorator.bound, 2, "setAllowScreenShare"], [_decorator.bound, 2, "closeBoard"], [_assignHostDecs, 18, "assignHost"], [_decorator.bound, 2, "leave"], [_decorator.bound, 2, "keepPhoneAudioConnection"], [_setPopoverOpenedDecs, 18, "setPopoverOpened"], [_setStateBarLeaveMeetingDecs, 18, "setStateBarLeaveMeeting"], [_decorator.bound, 2, "getRoomType"], [_decorator.bound, 2, "end"], [_decorator.bound, 2, "allowJoinWithMuteAudio"], [_decorator.bound, 2, "setAllowJoinWithMuteAudio"], [_decorator.bound, 2, "isLockRoomEnabled"], [_decorator.bound, 2, "setLockRoomEnabled"], [_decorator.bound, 2, "setAllowShareScreen"], [_decorator.bound, 2, "allowShareScreen"], [_decorator.bound, 2, "allowWriteBoard"], [_decorator.bound, 2, "allowChat"], [_decorator.bound, 2, "setAllowChat"], [_decorator.bound, 2, "allowUnmuteSelfAudio"], [_decorator.bound, 2, "setAllowUnmuteSelfAudio"], [_decorator.bound, 2, "allowUnmuteSelfVideo"], [_decorator.bound, 2, "setAllowUnmuteSelfVideo"], [_decorator.bound, 2, "allowChangeName"], [_decorator.bound, 2, "toggleChat"], [_decorator.bound, 2, "openChat"], [_decorator.bound, 2, "closeChat"], [_decorator.bound, 2, "toggleParticipants"], [_decorator.bound, 2, "openParticipants"], [_decorator.bound, 2, "closeParticipants"], [_decorator.bound, 2, "openDeviceSettingDialog"], [_decorator.bound, 2, "startScreenShare"], [_decorator.bound, 2, "openInterpreterDialog"], [_decorator.bound, 2, "openWhiteboard"], [_decorator.bound, 2, "closeWhiteboard"], [_decorator.bound, 2, "openLiveStreamingDialog"], [_decorator.bound, 2, "toggleConnection"], [_decorator.bound, 2, "openConnection"], [_decorator.bound, 2, "closeConnection"], [_toggleFoldDecs, 18, "toggleFold"], [_setShowArrowDecs, 18, "setShowArrow"], [_setEnableWaitingRoomDecs, 18, "setEnableWaitingRoom"], [_kickOutWaitingRoomAllMemberDecs, 18, "kickOutWaitingRoomAllMember"], [_moveToMainRoomAllMemberDecs, 18, "moveToMainRoomAllMember"], [_decorator.bound, 2, "_interceptShareScreen"], [_decorator.bound, 2, "_interceptShareBoard"], [_handleRemoteUsersJoinedDecs, 18, "_handleRemoteUsersJoined"], [_handleRemoteUsersLeftDecs, 18, "_handleRemoteUsersLeft"], [_handleAllUserCountUpdatedDecs, 18, "_handleAllUserCountUpdated"], [_getWaitingRoomUserCountDecs, 18, "_getWaitingRoomUserCount"], [_handleRemoteWaitingUserLeftDecs, 18, "_handleRemoteWaitingUserLeft"], [_handleRemoteWaitingUserJoinedDecs, 18, "_handleRemoteWaitingUserJoined"], [_handleUserInfoUpdatedDecs, 18, "_handleUserInfoUpdated"], [_handleLiveStreamingStateUpdatedDecs, 18, "_handleLiveStreamingStateUpdated"], [_handleChatVisibleDecs, 18, "_handleChatVisible"], [_handlerTraceScreenCaptureStateUpdateDecs, 18, "_handlerTraceScreenCaptureStateUpdate"], [_decorator.bound, 2, "setAllowWaterMark"], [_decorator.bound, 2, "setWaterMarkLineType"], [_decorator.bound, 2, "setAlllowChangeName"], [_decorator.bound, 2, "_onEvent"], [_operateWaitingRoomDecs, 18, "_operateWaitingRoom"], [_handleCloudRecordingStateUpdatedDecs, 18, "_handleCloudRecordingStateUpdated"], [_handleStreamsAddedOrUpdatedDecs, 18, "_handleStreamsAddedOrUpdated"], [_setInitShowGuideDecs, 18, "setInitShowGuide"], [_getInterpreterUsersDecs, 18, "getInterpreterUsers"], [_getInterpreterDecs, 18, "getInterpreter"], [_getInterpreterStateDecs, 18, "getInterpreterState"], [_changeOutputLanguageDecs, 18, "changeOutputLanguage"], [_changeOutputByMainRoomDecs, 18, "changeOutputByMainRoom"], [_changeInputLanguageByMainDecs, 18, "changeInputLanguageByMain"], [_changeInputLanguageDecs, 18, "changeInputLanguage"], [_closeAllLanguageRoomInputDecs, 18, "closeAllLanguageRoomInput"], [_toggleLanguageRoomDecs, 18, "toggleLanguageRoom"], [_getInterpreterUsersAllOnlineDecs, 18, "getInterpreterUsersAllOnline"], [_handleNewMessageEventDecs, 16, "_handleNewMessageEvent"]], []).e, 31);
1769
+ var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_ActionBarStore, [[_mobx.observable, 1, "users"], [_mobx.observable, 1, "newMessageTooltipVisible"], [_mobx.observable, 1, "newMessageCount"], [_mobx.observable, 1, "latestMessage"], [_mobx.observable, 1, "totalUser"], [_mobx.observable, 1, "totalWaitingRoomUser"], [_mobx.observable, 1, "liveStreamingState"], [_mobx.observable, 1, "currentMenuIs"], [_mobx.observable, 1, "cloudRecordingState"], [_mobx.observable, 1, "localUserRole"], [_mobx.observable, 1, "localUser"], [_mobx.observable, 1, "connectionSettingVisible"], [_mobx.observable, 1, "connectType"], [_mobx.observable, 1, "folded"], [_mobx.observable, 1, "boardOwnerUser"], [_mobx.observable, 1, "hasScreenShare"], [_mobx.observable, 1, "showArrow"], [_mobx.observable, 1, "phoneMicEnabled"], [_mobx.observable, 1, "isNewWaitingRoomUserEnter"], [_mobx.observable, 1, "chatTabIndex"], [_mobx.observable, 1, "popoverOpened"], [_mobx.observable, 1, "stateBarLeaveMeeting"], [_mobx.observable, 1, "isPstnUser"], [_mobx.observable, 1, "interpreter"], [_mobx.observable, 1, "interpreterState"], [_mobx.observable, 1, "interpreterUsers"], [_mobx.observable, 1, "securityStore"], [_mobx.observable, 1, "interpreterUsersOffline"], [_mobx.observable, 1, "initShowGuide"], [_mobx.computed, 3, "remoteUsers"], [_mobx.computed, 3, "hasStartScreenSharePermission"], [_mobx.computed, 3, "hasStartLiveStreamingPermission"], [_mobx.computed, 3, "hasEnableStartAudioPermission"], [_mobx.computed, 3, "hasEnableChangeNamePermission"], [_mobx.computed, 3, "hasEnableStartVideoPermission"], [_mobx.computed, 3, "hasLockRoomPermission"], [_mobx.computed, 3, "hasEnableJoinWithAudioPermission"], [_mobx.computed, 3, "hasWaitingRoomPermission"], [_mobx.computed, 3, "hasWatermarkDisablePermission"], [_mobx.computed, 3, "hasEnableStartSharePermission"], [_mobx.computed, 3, "hasAllowWriteBoardPermission"], [_mobx.computed, 3, "hasCloseWriteBoardPermission"], [_mobx.computed, 3, "hasAllowScreenShareAndBoardPermission"], [_mobx.computed, 3, "hasAllowChatPermission"], [_mobx.computed, 3, "hasStartCloudRecordingPermission"], [_mobx.computed, 3, "hasAssignHostBeforeLeavingPermission"], [_mobx.computed, 3, "hasEndRoomPermission"], [_mobx.computed, 3, "isScreenShareAndBoardEnabled"], [_mobx.computed, 3, "isBoardWriteEnabled"], [_mobx.computed, 3, "isWaterMarkEnabled"], [_mobx.computed, 3, "isMulti"], [_mobx.computed, 3, "hasEnableInterpreterPermission"], [_mobx.computed, 3, "hasDisableInterpreterPermission"], [_mobx.computed, 3, "cameraId"], [_mobx.computed, 3, "cameraList"], [_mobx.computed, 3, "microphoneEnabled"], [_mobx.computed, 3, "microphoneId"], [_mobx.computed, 3, "microphoneVolumeLevel"], [_mobx.computed, 3, "microphoneList"], [_mobx.computed, 3, "speakerId"], [_mobx.computed, 3, "speakerList"], [_mobx.computed, 3, "allNewMessage"], [_mobx.computed, 3, "isMainRoom"], [_mobx.computed, 3, "hasAllowChangeNamePromission"], [_mobx.computed, 3, "hasDisallowChangeNamePromission"], [_pauseCloudRecordingDecs, 2, "pauseCloudRecording"], [_resumeCloudRecordingDecs, 2, "resumeCloudRecording"], [_stopCloudRecordingDecs, 2, "stopCloudRecording"], [_decorator.bound, 2, "startCloudRecording"], [_toggleLayoutBarLockDecs, 18, "toggleLayoutBarLock"], [_showNewMessageTooltipDecs, 18, "showNewMessageTooltip"], [_hideNewMessageTooltipDecs, 18, "hideNewMessageTooltip"], [_switchMenuDecs, 18, "switchMenu"], [_mobx.computed, 3, "isLocked"], [_decorator.bound, 2, "isWaitingRoomEnabled"], [_decorator.bound, 2, "isAllowJoinWithAudioEnabled"], [_decorator.bound, 2, "enableCamera"], [_decorator.bound, 2, "setCameraId"], [_decorator.bound, 2, "enableMicrophone"], [_decorator.bound, 2, "setMicrophoneId"], [_decorator.bound, 2, "setSpeakerId"], [_decorator.bound, 2, "setAllowBoardWrite"], [_decorator.bound, 2, "setAllowScreenShare"], [_decorator.bound, 2, "closeBoard"], [_assignHostDecs, 18, "assignHost"], [_decorator.bound, 2, "leave"], [_decorator.bound, 2, "keepPhoneAudioConnection"], [_setPopoverOpenedDecs, 18, "setPopoverOpened"], [_setStateBarLeaveMeetingDecs, 18, "setStateBarLeaveMeeting"], [_decorator.bound, 2, "getRoomType"], [_decorator.bound, 2, "end"], [_decorator.bound, 2, "allowJoinWithMuteAudio"], [_decorator.bound, 2, "setAllowJoinWithMuteAudio"], [_decorator.bound, 2, "isLockRoomEnabled"], [_decorator.bound, 2, "setLockRoomEnabled"], [_decorator.bound, 2, "setAllowShareScreen"], [_decorator.bound, 2, "allowShareScreen"], [_decorator.bound, 2, "allowWriteBoard"], [_decorator.bound, 2, "allowChat"], [_decorator.bound, 2, "setAllowChat"], [_decorator.bound, 2, "allowUnmuteSelfAudio"], [_decorator.bound, 2, "setAllowUnmuteSelfAudio"], [_decorator.bound, 2, "allowUnmuteSelfVideo"], [_decorator.bound, 2, "setAllowUnmuteSelfVideo"], [_decorator.bound, 2, "allowChangeName"], [_decorator.bound, 2, "toggleChat"], [_decorator.bound, 2, "openChat"], [_decorator.bound, 2, "closeChat"], [_decorator.bound, 2, "toggleParticipants"], [_decorator.bound, 2, "openParticipants"], [_decorator.bound, 2, "closeParticipants"], [_decorator.bound, 2, "openDeviceSettingDialog"], [_decorator.bound, 2, "startScreenShare"], [_decorator.bound, 2, "openInterpreterDialog"], [_decorator.bound, 2, "openWhiteboard"], [_decorator.bound, 2, "closeWhiteboard"], [_decorator.bound, 2, "openLiveStreamingDialog"], [_decorator.bound, 2, "toggleConnection"], [_decorator.bound, 2, "openConnection"], [_decorator.bound, 2, "closeConnection"], [_toggleFoldDecs, 18, "toggleFold"], [_setShowArrowDecs, 18, "setShowArrow"], [_setEnableWaitingRoomDecs, 18, "setEnableWaitingRoom"], [_kickOutWaitingRoomAllMemberDecs, 18, "kickOutWaitingRoomAllMember"], [_moveToMainRoomAllMemberDecs, 18, "moveToMainRoomAllMember"], [_decorator.bound, 2, "_interceptShareScreen"], [_decorator.bound, 2, "_interceptShareBoard"], [_handleRemoteUsersJoinedDecs, 18, "_handleRemoteUsersJoined"], [_handleRemoteUsersLeftDecs, 18, "_handleRemoteUsersLeft"], [_handleAllUserCountUpdatedDecs, 18, "_handleAllUserCountUpdated"], [_getWaitingRoomUserCountDecs, 18, "_getWaitingRoomUserCount"], [_handleRemoteWaitingUserLeftDecs, 18, "_handleRemoteWaitingUserLeft"], [_handleRemoteWaitingUserJoinedDecs, 18, "_handleRemoteWaitingUserJoined"], [_handleUserInfoUpdatedDecs, 18, "_handleUserInfoUpdated"], [_handleLiveStreamingStateUpdatedDecs, 18, "_handleLiveStreamingStateUpdated"], [_handleChatVisibleDecs, 18, "_handleChatVisible"], [_handlerTraceScreenCaptureStateUpdateDecs, 18, "_handlerTraceScreenCaptureStateUpdate"], [_decorator.bound, 2, "setAllowWaterMark"], [_decorator.bound, 2, "setWaterMarkLineType"], [_decorator.bound, 2, "setAlllowChangeName"], [_decorator.bound, 2, "_onEvent"], [_operateWaitingRoomDecs, 18, "_operateWaitingRoom"], [_handleCloudRecordingStateUpdatedDecs, 18, "_handleCloudRecordingStateUpdated"], [_handleStreamsAddedOrUpdatedDecs, 18, "_handleStreamsAddedOrUpdated"], [_setInitShowGuideDecs, 18, "setInitShowGuide"], [_getInterpreterUsersDecs, 18, "getInterpreterUsers"], [_getInterpreterDecs, 18, "getInterpreter"], [_getInterpreterStateDecs, 18, "getInterpreterState"], [_triggerOutputLanguageDecs, 18, "triggerOutputLanguage"], [_changeOutputByMainRoomDecs, 18, "changeOutputByMainRoom"], [_updateInterpreterDecs, 18, "updateInterpreter"], [_resetInterpreterDecs, 18, "resetInterpreter"], [_setInputLanguageRoomDecs, 18, "setInputLanguageRoom"], [_getInterpreterUsersAllOnlineDecs, 18, "getInterpreterUsersAllOnline"], [_handleNewMessageEventDecs, 16, "_handleNewMessageEvent"]], []).e, 31);
1784
1770
  _init_users = _applyDecs$e[0];
1785
1771
  _init_newMessageTooltipVisible = _applyDecs$e[1];
1786
1772
  _init_newMessageCount = _applyDecs$e[2];
@@ -0,0 +1,86 @@
1
+ .switch-language-channels-bar {
2
+ width: 100%;
3
+ height: 60px;
4
+ display: flex;
5
+ justify-content: space-between;
6
+ align-items: center;
7
+ background: var(--fcr_ui_scene_white8);
8
+ border-radius: 30px;
9
+ padding: 5px;
10
+ }
11
+ .switch-language-channels-action {
12
+ /* width: 50%; */
13
+ height: 100%;
14
+ padding: 3px;
15
+ }
16
+ .switch-language-channels-action-bg {
17
+ display: flex;
18
+ justify-content: space-between;
19
+ align-items: center;
20
+ height: 100%;
21
+ width: 100%;
22
+ padding: 8.5px 19.5px;
23
+ }
24
+
25
+ .switch-language-channels-action-icon {
26
+ width: 25px;
27
+ height: 25px;
28
+ border-radius: 50%;
29
+ background: rgba(63, 59, 83, 1);
30
+ }
31
+
32
+ .switch-language-channels-action__checked {
33
+ border-radius: 25px;
34
+ border: 1px solid var(--fcr_ui_scene_card3);
35
+ border-radius: 25px;
36
+ }
37
+ .switch-language-channels-action__checked .switch-language-channels-action-bg {
38
+ border-radius: 25px;
39
+ background: linear-gradient(
40
+ 180deg,
41
+ #00cae0 0%,
42
+ #15d5ea 4.76%,
43
+ #6ae7f5 8.48%,
44
+ #64e8f7 25.6%,
45
+ #64e8f7 48%,
46
+ #00cae0 77.38%,
47
+ #00cae0 100%
48
+ );
49
+ box-shadow: 0px 4px 4px 0px rgba(4, 173, 191, 1) inset;
50
+ }
51
+ .switch-language-channels-action__checked .switch-language-channels-action-icon {
52
+ background: rgba(217, 217, 217, 1);
53
+ }
54
+ .switch-language-channels-action-text {
55
+ color: var(--fcr_ui_scene_black10);
56
+ font-size: 20px;
57
+ margin-left: 8px;
58
+ }
59
+
60
+ .switch-language-channels-action__checked .switch-language-channels-action-text {
61
+ color: var(--fcr_ui_scene_white10);
62
+ }
63
+ .switch-language-channels-guide-content {
64
+ display: flex;
65
+ justify-content: space-between;
66
+ align-items: center;
67
+ }
68
+ .switch-language-channels-guide-content-icon {
69
+ height: 32px;
70
+ width: 32px;
71
+ border-radius: 16px;
72
+ background: var(--fcr_ui_scene_card3);
73
+ display: flex;
74
+ justify-content: center;
75
+ align-items: center;
76
+ margin-right: 12px;
77
+ }
78
+ .switch-language-channels-guide-content-text {
79
+ width: 200px;
80
+ line-height: 19.5px;
81
+ font-size: 13px;
82
+ }
83
+
84
+ .switch-language-loading {
85
+ border-radius: 30px;
86
+ }
@@ -0,0 +1,15 @@
1
+ import { FcrLanguage } from 'fcr-core/lib/room-control/interpreter-control/types';
2
+ import './index.css';
3
+ interface TriggerInputLanguageRoomProps {
4
+ }
5
+ export declare enum OpeneStateType {
6
+ CLOSE = 0,
7
+ OPEN = 1
8
+ }
9
+ export interface OptionsType {
10
+ label: string;
11
+ imgSrc: string;
12
+ value: FcrLanguage;
13
+ }
14
+ export declare const TriggerInputLanguageRoom: (props: TriggerInputLanguageRoomProps) => import("react/jsx-runtime").JSX.Element | null;
15
+ export {};