fcr-ui-scene 3.4.1 → 3.4.3

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 (657) hide show
  1. package/lib/base.d.ts +40 -5
  2. package/lib/base.js +234 -22
  3. package/lib/common/device-store.d.ts +3 -2
  4. package/lib/common/device-store.js +174 -194
  5. package/lib/common/device-stream-store.d.ts +27 -7
  6. package/lib/common/device-stream-store.js +190 -176
  7. package/lib/common/event-store.d.ts +4 -13
  8. package/lib/common/event-store.js +7 -18
  9. package/lib/common/room-store.js +6 -6
  10. package/lib/common/security-store.d.ts +19 -9
  11. package/lib/common/security-store.js +27 -39
  12. package/lib/creator.d.ts +1 -1
  13. package/lib/creator.js +4 -9
  14. package/lib/electron/app.js +5 -4
  15. package/lib/electron/bootstrap-dev.js +0 -9
  16. package/lib/electron/bootstrap-sdk.js +10 -2
  17. package/lib/electron/injections.d.ts +2 -0
  18. package/lib/electron/injections.js +17 -7
  19. package/lib/electron/logger.d.ts +0 -4
  20. package/lib/electron/logger.js +2 -5
  21. package/lib/electron/main.js +1 -1
  22. package/lib/electron/plugins/devtool-shortcut.js +10 -1
  23. package/lib/electron/plugins/meeting-state.js +1 -1
  24. package/lib/electron/preload.js +3 -1
  25. package/lib/electron/tools.js +0 -4
  26. package/lib/electron/window.js +0 -2
  27. package/lib/fragments/control-bar/control-bar-store.d.ts +1 -0
  28. package/lib/fragments/control-bar/control-bar-store.js +9 -4
  29. package/lib/fragments/control-bar/meeting-details/meeting-detail.css +31 -12
  30. package/lib/fragments/control-bar/meeting-details/meeting-details.js +117 -16
  31. package/lib/global.css +5 -0
  32. package/lib/index.d.ts +1 -0
  33. package/lib/index.js +7 -4
  34. package/lib/login-confirm-dialog.d.ts +1 -0
  35. package/lib/login-confirm-dialog.js +7 -2
  36. package/lib/modules/action-bar/action-bar-collapes-items.d.ts +1 -1
  37. package/lib/modules/action-bar/action-bar-collapes-items.js +11 -11
  38. package/lib/modules/action-bar/apps/useInterpreter.js +2 -4
  39. package/lib/modules/action-bar/components/apps/app-item/index.css +1 -2
  40. package/lib/modules/action-bar/components/apps/app-item/index.d.ts +1 -10
  41. package/lib/modules/action-bar/components/apps/app-item/index.js +0 -2
  42. package/lib/modules/action-bar/components/apps/appitems.d.ts +1 -3
  43. package/lib/modules/action-bar/components/apps/appitems.js +2 -5
  44. package/lib/modules/action-bar/components/apps/index.css +2 -2
  45. package/lib/modules/action-bar/components/apps/index.js +2 -3
  46. package/lib/modules/action-bar/components/apps/useAppItemOptions.js +0 -1
  47. package/lib/modules/action-bar/components/collapse/index.d.ts +8 -0
  48. package/lib/modules/action-bar/components/collapse/index.js +218 -0
  49. package/lib/modules/action-bar/components/interpreter/index.d.ts +1 -5
  50. package/lib/modules/action-bar/components/item/index.d.ts +9 -0
  51. package/lib/modules/action-bar/components/{item.js → item/index.js} +2 -4
  52. package/lib/modules/action-bar/components/leave/assign-host.d.ts +1 -8
  53. package/lib/modules/action-bar/components/leave/assign-host.js +1 -1
  54. package/lib/modules/action-bar/components/leave/index.js +9 -26
  55. package/lib/modules/action-bar/components/leave/leave-meeting.d.ts +1 -16
  56. package/lib/modules/action-bar/components/more/index.js +13 -9
  57. package/lib/modules/action-bar/components/more/poppover-content.d.ts +1 -4
  58. package/lib/modules/action-bar/components/more/poppover-content.js +28 -9
  59. package/lib/modules/action-bar/{notification-bar → components/notification-bar}/components/interpreter/index.js +2 -1
  60. package/lib/modules/action-bar/{notification-bar → components/notification-bar}/components/virtual-image/index.js +1 -1
  61. package/lib/modules/action-bar/{notification-bar → components/notification-bar}/index.js +1 -3
  62. package/lib/modules/action-bar/components/participants/index.js +2 -2
  63. package/lib/modules/action-bar/components/placement/index.d.ts +4 -0
  64. package/lib/modules/action-bar/components/placement/index.js +18 -0
  65. package/lib/modules/action-bar/components/record/stop-record-dialog.d.ts +1 -3
  66. package/lib/modules/action-bar/components/screen-share/submenu.js +25 -2
  67. package/lib/modules/action-bar/components/security/index.js +3 -1
  68. package/lib/modules/action-bar/components/smaller/index.d.ts +1 -0
  69. package/lib/modules/action-bar/components/smaller/index.js +52 -0
  70. package/lib/modules/action-bar/components/trigger-output-language/index.d.ts +2 -0
  71. package/lib/modules/action-bar/components/trigger-output-language/index.js +231 -0
  72. package/lib/modules/action-bar/components/trigger-subscribe-language/guide-tooltip/index.d.ts +3 -0
  73. package/lib/modules/action-bar/{trigger-output-language-room → components/trigger-subscribe-language}/guide-tooltip/index.js +14 -19
  74. package/lib/modules/action-bar/components/trigger-subscribe-language/index.d.ts +5 -0
  75. package/lib/modules/action-bar/components/trigger-subscribe-language/index.js +206 -0
  76. package/lib/modules/action-bar/device/index.js +3 -1
  77. package/lib/modules/action-bar/enums.d.ts +23 -0
  78. package/lib/modules/action-bar/enums.js +35 -0
  79. package/lib/modules/action-bar/index.d.ts +36 -6
  80. package/lib/modules/action-bar/index.dev.d.ts +0 -1
  81. package/lib/modules/action-bar/index.dev.js +94 -121
  82. package/lib/modules/action-bar/index.js +46 -18
  83. package/lib/modules/action-bar/more/index.js +3 -6
  84. package/lib/modules/action-bar/screen-share/index.js +0 -5
  85. package/lib/modules/action-bar/security/index.js +1 -1
  86. package/lib/modules/action-bar/smaller.js +2 -2
  87. package/lib/modules/action-bar/store.d.ts +84 -98
  88. package/lib/modules/action-bar/store.js +567 -713
  89. package/lib/modules/action-bar/switch-output-language-room/index.js +8 -2
  90. package/lib/modules/action-bar/types.d.ts +94 -0
  91. package/lib/modules/action-bar/view.d.ts +1 -2
  92. package/lib/modules/action-bar/view.js +11 -11
  93. package/lib/modules/audio-stream/index.d.ts +22 -10
  94. package/lib/modules/audio-stream/index.js +78 -85
  95. package/lib/modules/chat/chat-bar/index.css +0 -5
  96. package/lib/modules/chat/chat-bar/index.js +14 -16
  97. package/lib/modules/chat/chat-room-store.d.ts +135 -0
  98. package/lib/modules/chat/chat-room-store.js +950 -0
  99. package/lib/modules/chat/chat-select/index.css +3 -6
  100. package/lib/modules/chat/chat-select/index.js +1 -15
  101. package/lib/modules/chat/chat.js +6 -7
  102. package/lib/modules/chat/components/chat-action/index.d.ts +1 -0
  103. package/lib/modules/chat/components/chat-action/index.js +28 -0
  104. package/lib/modules/chat/components/chat-bar/index.css +85 -0
  105. package/lib/modules/chat/components/chat-bar/index.d.ts +3 -0
  106. package/lib/modules/chat/components/chat-bar/index.js +143 -0
  107. package/lib/modules/chat/components/chat-select/index.css +185 -0
  108. package/lib/modules/chat/components/chat-select/index.d.ts +3 -0
  109. package/lib/modules/chat/components/chat-select/index.js +234 -0
  110. package/lib/modules/chat/components/message-list/index.d.ts +4 -0
  111. package/lib/modules/chat/components/message-list/index.js +648 -0
  112. package/lib/modules/chat/index.d.ts +13 -5
  113. package/lib/modules/chat/index.dev.d.ts +0 -1
  114. package/lib/modules/chat/index.dev.js +71 -72
  115. package/lib/modules/chat/index.js +45 -22
  116. package/lib/modules/chat/message-list.js +1 -4
  117. package/lib/modules/chat/mock.d.ts +1 -1
  118. package/lib/modules/chat/store.d.ts +17 -162
  119. package/lib/modules/chat/store.js +95 -964
  120. package/lib/modules/chat/types.d.ts +70 -0
  121. package/lib/modules/chat/types.js +17 -0
  122. package/lib/modules/chat/view.d.ts +10 -0
  123. package/lib/modules/chat/view.js +368 -0
  124. package/lib/modules/components/device-control/components/audio-menu/index.js +4 -3
  125. package/lib/modules/components/device-control/components/microphone/index.js +7 -7
  126. package/lib/modules/components/device-control/components/video-menu/index.js +2 -1
  127. package/lib/modules/components/device-control/store.d.ts +11 -12
  128. package/lib/modules/components/device-control/store.js +46 -50
  129. package/lib/modules/components/leave-meeting/components/assign-host.d.ts +3 -0
  130. package/lib/modules/components/leave-meeting/components/assign-host.js +70 -0
  131. package/lib/modules/components/leave-meeting/components/index.css +125 -0
  132. package/lib/modules/components/leave-meeting/index.d.ts +4 -0
  133. package/lib/modules/components/leave-meeting/index.js +147 -0
  134. package/lib/modules/components/leave-meeting/store.d.ts +31 -0
  135. package/lib/modules/components/leave-meeting/store.js +290 -0
  136. package/lib/modules/components/member-window/index.d.ts +1 -1
  137. package/lib/modules/components/member-window/index.js +12 -10
  138. package/lib/modules/components/security-menu/index.d.ts +2 -0
  139. package/lib/modules/components/security-menu/index.js +35 -39
  140. package/lib/modules/components/tab-frame/index.d.ts +2 -2
  141. package/lib/modules/components/tab-frame/index.js +24 -7
  142. package/lib/modules/connection-gateway/components/computer/index.js +4 -4
  143. package/lib/modules/connection-gateway/components/phone/components/callinfo/index.d.ts +1 -1
  144. package/lib/modules/connection-gateway/components/phone/components/callinfo/index.js +2 -1
  145. package/lib/modules/connection-gateway/components/phone/index.js +4 -3
  146. package/lib/modules/connection-gateway/enums.d.ts +4 -0
  147. package/lib/modules/connection-gateway/enums.js +12 -0
  148. package/lib/modules/connection-gateway/index.d.ts +13 -4
  149. package/lib/modules/connection-gateway/index.js +25 -15
  150. package/lib/modules/connection-gateway/store.d.ts +22 -18
  151. package/lib/modules/connection-gateway/store.js +60 -40
  152. package/lib/modules/connection-gateway/types.d.ts +4 -0
  153. package/lib/modules/connection-gateway/types.js +6 -0
  154. package/lib/modules/connection-gateway/view.js +2 -2
  155. package/lib/modules/control-bar/components/meeting-details/index.js +25 -28
  156. package/lib/modules/control-bar/components/more-actions/index.css +18 -0
  157. package/lib/modules/control-bar/components/more-actions/index.d.ts +1 -5
  158. package/lib/modules/control-bar/components/more-actions/index.js +48 -11
  159. package/lib/modules/control-bar/components/share-state-nav/index.d.ts +1 -7
  160. package/lib/modules/control-bar/components/share-state-nav/index.js +2 -1
  161. package/lib/modules/control-bar/components/stop-live-streaming/stop-button.d.ts +1 -1
  162. package/lib/modules/control-bar/components/stop-live-streaming/stop-button.js +2 -2
  163. package/lib/modules/control-bar/components/transfer-position-icon/index.d.ts +1 -10
  164. package/lib/modules/control-bar/components/transfer-position-icon/index.js +7 -12
  165. package/lib/modules/control-bar/enums.d.ts +21 -0
  166. package/lib/modules/control-bar/enums.js +31 -0
  167. package/lib/modules/control-bar/index.d.ts +30 -7
  168. package/lib/modules/control-bar/index.js +46 -29
  169. package/lib/modules/control-bar/store.d.ts +38 -26
  170. package/lib/modules/control-bar/store.js +172 -286
  171. package/lib/modules/control-bar/types.d.ts +20 -0
  172. package/lib/modules/control-bar/types.js +6 -0
  173. package/lib/modules/control-bar/view.js +68 -36
  174. package/lib/modules/device-pretest/index.js +4 -4
  175. package/lib/modules/device-pretest/settings/beauty.js +2 -1
  176. package/lib/modules/device-pretest/settings/video-settings-basic.js +1 -1
  177. package/lib/modules/device-pretest/settings/virtual-background-setting.js +2 -1
  178. package/lib/modules/device-pretest/store.d.ts +8 -9
  179. package/lib/modules/device-pretest/store.js +51 -37
  180. package/lib/modules/dialog/components/chat/electron.d.ts +1 -1
  181. package/lib/modules/dialog/components/chat/electron.js +19 -10
  182. package/lib/modules/dialog/components/chat/index.js +2 -2
  183. package/lib/modules/dialog/components/confirm/index.js +1 -1
  184. package/lib/modules/dialog/components/connection-gateway/electron.d.ts +1 -1
  185. package/lib/modules/dialog/components/connection-gateway/electron.js +8 -10
  186. package/lib/modules/dialog/components/connection-gateway/index.d.ts +3 -1
  187. package/lib/modules/dialog/components/connection-gateway/index.js +20 -7
  188. package/lib/modules/dialog/components/connection-gateway/tabs.d.ts +6 -0
  189. package/lib/modules/dialog/components/connection-gateway/tabs.js +44 -0
  190. package/lib/modules/dialog/components/control-bar/index.d.ts +5 -1
  191. package/lib/modules/dialog/components/control-bar/index.js +122 -9
  192. package/lib/modules/dialog/components/device-setting/electron.js +6 -2
  193. package/lib/modules/dialog/components/device-setting/index.js +2 -2
  194. package/lib/modules/dialog/components/dialog-container/component/body.js +75 -0
  195. package/lib/modules/{components → dialog/components}/dialog-container/index.css +6 -3
  196. package/lib/modules/{components → dialog/components}/dialog-container/index.d.ts +7 -2
  197. package/lib/modules/{components → dialog/components}/dialog-container/index.js +27 -25
  198. package/lib/modules/dialog/components/interpreter/electron.js +37 -0
  199. package/lib/modules/dialog/components/{Interpreter → interpreter}/index.js +2 -2
  200. package/lib/modules/dialog/components/invite/index.js +32 -7
  201. package/lib/modules/dialog/components/live-streaming/index.js +9 -5
  202. package/lib/modules/dialog/components/participant/electron.js +11 -5
  203. package/lib/modules/dialog/components/participant/index.js +4 -3
  204. package/lib/modules/dialog/components/remove-admit-waiting-room/electron.js +6 -3
  205. package/lib/modules/dialog/components/remove-admit-waiting-room/index.d.ts +1 -1
  206. package/lib/modules/dialog/components/remove-admit-waiting-room/index.js +14 -4
  207. package/lib/modules/dialog/components/share-screen-selection/index.js +9 -5
  208. package/lib/modules/dialog/components/system-preference/electron.js +1 -1
  209. package/lib/modules/dialog/components/system-preference/index.js +0 -2
  210. package/lib/modules/dialog/components/toast/index.js +1 -1
  211. package/lib/modules/dialog/components/video-window/index.d.ts +2 -0
  212. package/lib/modules/dialog/components/video-window/index.js +148 -0
  213. package/lib/modules/dialog/components/whiteboard/index.js +2 -2
  214. package/lib/modules/dialog/dialogs.d.ts +2 -5
  215. package/lib/modules/dialog/dialogs.js +2 -157
  216. package/lib/modules/dialog/hooks/useElectron.d.ts +3 -25
  217. package/lib/modules/dialog/hooks/useElectron.js +90 -36
  218. package/lib/modules/dialog/index.d.ts +30 -4
  219. package/lib/modules/dialog/index.js +61 -7
  220. package/lib/modules/dialog/store.d.ts +46 -12
  221. package/lib/modules/dialog/store.js +121 -68
  222. package/lib/modules/dialog/types/index.d.ts +14 -3
  223. package/lib/modules/dialog/view.js +2 -1
  224. package/lib/modules/event-confirm/index.css +1 -1
  225. package/lib/modules/event-confirm/index.d.ts +13 -6
  226. package/lib/modules/event-confirm/index.js +28 -11
  227. package/lib/modules/event-confirm/store.d.ts +9 -3
  228. package/lib/modules/event-confirm/store.js +16 -10
  229. package/lib/modules/event-confirm/view.js +7 -6
  230. package/lib/modules/event-toast/index.d.ts +7 -6
  231. package/lib/modules/event-toast/index.js +19 -8
  232. package/lib/modules/event-toast/store.d.ts +8 -3
  233. package/lib/modules/event-toast/store.js +15 -8
  234. package/lib/modules/event-toast/view.js +2 -1
  235. package/lib/modules/{Interpreter → interpreter}/action/delete-btn/index.d.ts +2 -2
  236. package/lib/modules/{Interpreter → interpreter}/action/edit-btn/index.js +2 -2
  237. package/lib/modules/{Interpreter → interpreter}/action/switch-btn/index.js +5 -5
  238. package/lib/modules/{Interpreter → interpreter}/constant.d.ts +0 -4
  239. package/lib/modules/{Interpreter → interpreter}/constant.js +3 -45
  240. package/lib/modules/{Interpreter → interpreter}/dialog-content/index.d.ts +2 -2
  241. package/lib/modules/{Interpreter → interpreter}/dialog-content/index.js +4 -4
  242. package/lib/modules/interpreter/index.d.ts +15 -0
  243. package/lib/modules/{Interpreter → interpreter}/index.js +23 -8
  244. package/lib/modules/{Interpreter → interpreter}/interpreter-list/index.js +2 -2
  245. package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/index.d.ts +2 -2
  246. package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/index.js +5 -8
  247. package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/index.js +0 -2
  248. package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-user/index.d.ts +2 -2
  249. package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-user/index.js +14 -18
  250. package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/index.d.ts +2 -2
  251. package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/index.js +2 -2
  252. package/lib/modules/interpreter/store.d.ts +50 -0
  253. package/lib/modules/interpreter/store.js +584 -0
  254. package/lib/modules/interpreter/type.d.ts +24 -0
  255. package/lib/modules/interpreter/type.js +12 -0
  256. package/lib/modules/{Interpreter → interpreter}/utils.d.ts +1 -5
  257. package/lib/modules/interpreter/utils.js +80 -0
  258. package/lib/modules/{Interpreter → interpreter}/view.js +19 -3
  259. package/lib/modules/invite/components/error-tips.d.ts +4 -0
  260. package/lib/modules/invite/components/error-tips.js +18 -0
  261. package/lib/modules/invite/components/pstn-invite.d.ts +2 -0
  262. package/lib/modules/invite/components/pstn-invite.js +288 -0
  263. package/lib/modules/invite/components/voip-invite.d.ts +1 -0
  264. package/lib/modules/invite/components/voip-invite.js +276 -0
  265. package/lib/modules/invite/enums.d.ts +22 -0
  266. package/lib/modules/invite/enums.js +34 -0
  267. package/lib/modules/invite/index.d.ts +7 -8
  268. package/lib/modules/invite/index.js +17 -15
  269. package/lib/modules/invite/store.d.ts +13 -26
  270. package/lib/modules/invite/store.js +62 -26
  271. package/lib/modules/invite/types.d.ts +14 -0
  272. package/lib/modules/invite/types.js +6 -0
  273. package/lib/modules/invite/view.d.ts +0 -4
  274. package/lib/modules/invite/view.js +7 -11
  275. package/lib/modules/invite/voip-invite.js +3 -3
  276. package/lib/modules/layout/components/Aside.js +34 -17
  277. package/lib/modules/layout/components/Carousel.js +3 -2
  278. package/lib/modules/layout/components/Gallery.js +3 -3
  279. package/lib/modules/layout/components/Layout.js +4 -7
  280. package/lib/modules/layout/components/index.d.ts +1 -1
  281. package/lib/modules/layout/components/index.js +4 -5
  282. package/lib/modules/layout/components/who-is-speaking.d.ts +2 -0
  283. package/lib/modules/layout/components/who-is-speaking.js +60 -0
  284. package/lib/modules/layout/index.d.ts +26 -4
  285. package/lib/modules/layout/index.dev.d.ts +0 -1
  286. package/lib/modules/layout/index.dev.js +312 -386
  287. package/lib/modules/layout/index.js +25 -10
  288. package/lib/modules/layout/member-window/index.css +9 -22
  289. package/lib/modules/layout/member-window/index.d.ts +1 -1
  290. package/lib/modules/layout/member-window/index.js +26 -27
  291. package/lib/modules/layout/store.d.ts +61 -71
  292. package/lib/modules/layout/store.js +311 -576
  293. package/lib/modules/layout/type.js +2 -0
  294. package/lib/modules/layout/video-window-datasource.js +0 -4
  295. package/lib/modules/layout/view.d.ts +2 -0
  296. package/lib/modules/layout/view.js +127 -2
  297. package/lib/modules/live-streaming/index.d.ts +15 -7
  298. package/lib/modules/live-streaming/index.dev.js +13 -13
  299. package/lib/modules/live-streaming/index.js +20 -15
  300. package/lib/modules/live-streaming/store.d.ts +21 -14
  301. package/lib/modules/live-streaming/store.js +83 -144
  302. package/lib/modules/live-streaming/view.js +2 -2
  303. package/lib/modules/notification/index.d.ts +9 -11
  304. package/lib/modules/notification/index.js +21 -14
  305. package/lib/modules/notification/interpreter-status/index.js +3 -3
  306. package/lib/modules/notification/store.d.ts +5 -11
  307. package/lib/modules/notification/store.js +12 -62
  308. package/lib/modules/notification/view.d.ts +5 -3
  309. package/lib/modules/notification/view.js +8 -5
  310. package/lib/modules/offscreen-pulling/index.js +1 -2
  311. package/lib/modules/participant/attendee/index.css +51 -0
  312. package/lib/modules/participant/attendee/index.d.ts +5 -8
  313. package/lib/modules/participant/attendee/index.js +15 -64
  314. package/lib/modules/participant/components/attendee/components/microphone-indicator/index.d.ts +6 -0
  315. package/lib/modules/participant/components/attendee/components/microphone-indicator/index.js +28 -0
  316. package/lib/modules/participant/components/attendee/components/user-avatar/index.d.ts +7 -0
  317. package/lib/modules/participant/components/attendee/components/user-avatar/index.js +39 -0
  318. package/lib/modules/participant/components/attendee/index.css +69 -0
  319. package/lib/modules/participant/components/attendee/index.d.ts +4 -0
  320. package/lib/modules/participant/components/attendee/index.js +334 -0
  321. package/lib/modules/participant/components/can-moveable/index.d.ts +1 -0
  322. package/lib/modules/participant/components/can-moveable/index.js +68 -0
  323. package/lib/modules/participant/components/drop-menu/index.js +8 -11
  324. package/lib/modules/participant/components/footer/buttons.d.ts +2 -3
  325. package/lib/modules/participant/components/footer/buttons.js +2 -3
  326. package/lib/modules/participant/components/footer/index.js +2 -2
  327. package/lib/modules/participant/components/mute-all/index.d.ts +3 -4
  328. package/lib/modules/participant/components/mute-all/index.js +31 -44
  329. package/lib/modules/participant/components/operate-waitingroom-member/index.d.ts +2 -0
  330. package/lib/modules/participant/components/operate-waitingroom-member/index.js +48 -0
  331. package/lib/modules/participant/components/participants/index.js +27 -51
  332. package/lib/modules/participant/components/user-action/index.d.ts +17 -0
  333. package/lib/modules/participant/components/user-action/index.js +167 -0
  334. package/lib/modules/participant/index.d.ts +34 -7
  335. package/lib/modules/participant/index.dev.d.ts +0 -1
  336. package/lib/modules/participant/index.dev.js +87 -116
  337. package/lib/modules/participant/index.js +39 -15
  338. package/lib/modules/participant/member-list-data-source.d.ts +4 -1
  339. package/lib/modules/participant/member-list-data-source.js +57 -33
  340. package/lib/modules/participant/store.d.ts +58 -25
  341. package/lib/modules/participant/store.js +321 -303
  342. package/lib/modules/participant/type.d.ts +45 -1
  343. package/lib/modules/participant/type.js +15 -1
  344. package/lib/modules/pc-audio-connect/index.css +12 -0
  345. package/lib/modules/pc-audio-connect/index.d.ts +22 -0
  346. package/lib/modules/pc-audio-connect/index.js +68 -0
  347. package/lib/modules/pc-audio-connect/store.d.ts +46 -0
  348. package/lib/modules/pc-audio-connect/store.js +300 -0
  349. package/lib/modules/pc-audio-connect/types.d.ts +0 -0
  350. package/lib/modules/pc-audio-connect/types.js +1 -0
  351. package/lib/modules/pc-audio-connect/view.d.ts +3 -0
  352. package/lib/modules/pc-audio-connect/view.js +66 -0
  353. package/lib/modules/phone-audio-connect/components/callinfo/index.css +36 -0
  354. package/lib/modules/phone-audio-connect/components/callinfo/index.d.ts +10 -0
  355. package/lib/modules/phone-audio-connect/components/callinfo/index.js +78 -0
  356. package/lib/modules/phone-audio-connect/components/calling/index.css +72 -0
  357. package/lib/modules/phone-audio-connect/components/calling/index.d.ts +7 -0
  358. package/lib/modules/phone-audio-connect/components/calling/index.js +58 -0
  359. package/lib/modules/phone-audio-connect/components/remeber/index.css +10 -0
  360. package/lib/modules/phone-audio-connect/components/remeber/index.d.ts +5 -0
  361. package/lib/modules/phone-audio-connect/components/remeber/index.js +24 -0
  362. package/lib/modules/phone-audio-connect/components/useing/index.css +46 -0
  363. package/lib/modules/phone-audio-connect/components/useing/index.d.ts +3 -0
  364. package/lib/modules/phone-audio-connect/components/useing/index.js +36 -0
  365. package/lib/modules/phone-audio-connect/enums.d.ts +4 -0
  366. package/lib/modules/phone-audio-connect/enums.js +12 -0
  367. package/lib/modules/phone-audio-connect/index.css +56 -0
  368. package/lib/modules/phone-audio-connect/index.d.ts +16 -0
  369. package/lib/modules/phone-audio-connect/index.js +63 -0
  370. package/lib/modules/phone-audio-connect/store.d.ts +46 -0
  371. package/lib/modules/phone-audio-connect/store.js +317 -0
  372. package/lib/modules/phone-audio-connect/types.d.ts +4 -0
  373. package/lib/modules/phone-audio-connect/types.js +6 -0
  374. package/lib/modules/phone-audio-connect/view.d.ts +3 -0
  375. package/lib/modules/phone-audio-connect/view.js +185 -0
  376. package/lib/modules/setting/audio-settings/audio-settings.js +6 -6
  377. package/lib/modules/setting/index.d.ts +25 -5
  378. package/lib/modules/setting/index.dev.d.ts +0 -1
  379. package/lib/modules/setting/index.dev.js +120 -81
  380. package/lib/modules/setting/index.js +35 -9
  381. package/lib/modules/setting/minutes-settings/minutes-settings.js +3 -2
  382. package/lib/modules/setting/state/index.js +3 -7
  383. package/lib/modules/setting/store.d.ts +48 -14
  384. package/lib/modules/setting/store.js +105 -118
  385. package/lib/modules/setting/translate-settings/translate-settings.js +4 -4
  386. package/lib/modules/setting/video-settings/video-settings-basic.js +19 -22
  387. package/lib/modules/setting/view.js +6 -35
  388. package/lib/modules/share-screen/components/selection/index.css +70 -0
  389. package/lib/modules/share-screen/components/selection/index.d.ts +2 -0
  390. package/lib/modules/share-screen/components/selection/index.js +267 -0
  391. package/lib/modules/share-screen/components/share-state-bar/index.css +76 -0
  392. package/lib/modules/share-screen/components/share-state-bar/index.d.ts +4 -0
  393. package/lib/modules/share-screen/components/share-state-bar/index.js +98 -0
  394. package/lib/modules/share-screen/index.d.ts +15 -18
  395. package/lib/modules/share-screen/index.dev.d.ts +0 -1
  396. package/lib/modules/share-screen/index.dev.js +90 -91
  397. package/lib/modules/share-screen/index.js +22 -22
  398. package/lib/modules/share-screen/selection/index.css +0 -2
  399. package/lib/modules/share-screen/selection/index.js +97 -83
  400. package/lib/modules/share-screen/store.d.ts +36 -32
  401. package/lib/modules/share-screen/store.js +249 -222
  402. package/lib/modules/share-screen/types.d.ts +27 -0
  403. package/lib/modules/share-screen/types.js +6 -0
  404. package/lib/modules/share-screen/view.js +1 -1
  405. package/lib/modules/sound-effect/index.d.ts +9 -4
  406. package/lib/modules/sound-effect/index.js +72 -41
  407. package/lib/modules/sound-effect/sound-effect-player.js +1 -1
  408. package/lib/modules/state-bar/index.d.ts +16 -13
  409. package/lib/modules/state-bar/index.dev.d.ts +0 -1
  410. package/lib/modules/state-bar/index.dev.js +78 -83
  411. package/lib/modules/state-bar/index.js +23 -7
  412. package/lib/modules/state-bar/layout-config.js +2 -1
  413. package/lib/modules/state-bar/live-streaming-state.js +0 -1
  414. package/lib/modules/state-bar/meeting-details.js +31 -24
  415. package/lib/modules/state-bar/meeting-network-state.js +1 -1
  416. package/lib/modules/state-bar/store.d.ts +20 -10
  417. package/lib/modules/state-bar/store.js +84 -88
  418. package/lib/modules/state-bar/view.js +2 -2
  419. package/lib/modules/video-window/deviceState/index.d.ts +2 -2
  420. package/lib/modules/video-window/deviceState/index.js +4 -6
  421. package/lib/modules/video-window/index.css +1 -4
  422. package/lib/modules/video-window/index.d.ts +33 -6
  423. package/lib/modules/video-window/index.js +63 -15
  424. package/lib/modules/video-window/members/index.css +1 -0
  425. package/lib/modules/video-window/members/index.js +27 -12
  426. package/lib/modules/video-window/store.d.ts +58 -27
  427. package/lib/modules/video-window/store.js +166 -165
  428. package/lib/modules/video-window/topControl/index.js +0 -2
  429. package/lib/modules/waiting-room-layout/index.d.ts +11 -4
  430. package/lib/modules/waiting-room-layout/index.js +26 -13
  431. package/lib/modules/waiting-room-layout/store.d.ts +6 -3
  432. package/lib/modules/waiting-room-layout/store.js +17 -15
  433. package/lib/modules/whiteboard/components/control-bar/store.d.ts +4 -4
  434. package/lib/modules/whiteboard/components/control-bar/store.js +8 -8
  435. package/lib/modules/whiteboard/components/switch-theme/index.js +0 -2
  436. package/lib/modules/whiteboard/components/switch-theme/item.js +2 -1
  437. package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/panel.js +2 -1
  438. package/lib/modules/whiteboard/components/toolbar/components/color-picker/index.js +2 -1
  439. package/lib/modules/whiteboard/components/toolbar/components/extra-tool-picker.js +1 -1
  440. package/lib/modules/whiteboard/components/toolbar/components/move-handle.js +0 -2
  441. package/lib/modules/whiteboard/components/toolbar/components/pen-picker.js +2 -1
  442. package/lib/modules/whiteboard/components/toolbar/components/shape-picker.js +2 -1
  443. package/lib/modules/whiteboard/components/toolbar/hooks/index.js +0 -2
  444. package/lib/modules/whiteboard/components/toolbar/index.js +1 -4
  445. package/lib/modules/whiteboard/index.d.ts +20 -14
  446. package/lib/modules/whiteboard/index.js +250 -227
  447. package/lib/modules/whiteboard/view.d.ts +2 -0
  448. package/lib/modules/whiteboard/view.js +49 -0
  449. package/lib/plugins/browser-runtime-plugin.js +5 -1
  450. package/lib/providers/chat-provider.d.ts +71 -0
  451. package/lib/providers/chat-provider.js +91 -0
  452. package/lib/providers/device-privilege-provider.d.ts +52 -6
  453. package/lib/providers/device-privilege-provider.js +212 -185
  454. package/lib/providers/device-provider.d.ts +203 -45
  455. package/lib/providers/device-provider.js +486 -403
  456. package/lib/providers/device-stream-provider.d.ts +12 -13
  457. package/lib/providers/device-stream-provider.js +86 -194
  458. package/lib/providers/dialog-provider.d.ts +135 -0
  459. package/lib/providers/dialog-provider.js +202 -0
  460. package/lib/providers/event-provider.d.ts +1 -21
  461. package/lib/providers/event-provider.js +19 -59
  462. package/lib/providers/interpreter-provider.d.ts +218 -7
  463. package/lib/providers/interpreter-provider.js +1069 -81
  464. package/lib/providers/local-storage-provider.d.ts +9 -0
  465. package/lib/providers/message-provider.d.ts +69 -0
  466. package/lib/providers/message-provider.js +96 -0
  467. package/lib/providers/monitor-provider.d.ts +5 -0
  468. package/lib/providers/phone-audio-provider.d.ts +131 -0
  469. package/lib/providers/phone-audio-provider.js +512 -0
  470. package/lib/providers/privilege-provider.d.ts +325 -12
  471. package/lib/providers/privilege-provider.js +111 -299
  472. package/lib/providers/renderer-provider.d.ts +46 -4
  473. package/lib/providers/renderer-provider.js +57 -61
  474. package/lib/providers/room-provider.d.ts +113 -6
  475. package/lib/providers/room-provider.js +665 -88
  476. package/lib/providers/screen-share-provider.d.ts +65 -0
  477. package/lib/providers/screen-share-provider.js +237 -0
  478. package/lib/providers/session-provider.d.ts +30 -0
  479. package/lib/runtime.d.ts +2 -0
  480. package/lib/scenes/main-scene.d.ts +41 -3
  481. package/lib/scenes/main-scene.js +407 -248
  482. package/lib/scenes/waiting-scene.d.ts +34 -4
  483. package/lib/scenes/waiting-scene.js +163 -56
  484. package/lib/shared-data-source/chat-data.d.ts +14 -0
  485. package/lib/{common/remote-renderer.js → shared-data-source/chat-data.js} +67 -77
  486. package/lib/shared-data-source/device-privilege-data.d.ts +8 -0
  487. package/lib/shared-data-source/device-privilege-data.js +25 -0
  488. package/lib/shared-data-source/interpreter.d.ts +63 -0
  489. package/lib/shared-data-source/interpreter.js +246 -0
  490. package/lib/shared-data-source/layout-data.d.ts +29 -0
  491. package/lib/shared-data-source/layout-data.js +178 -0
  492. package/lib/shared-data-source/pin-data.d.ts +9 -0
  493. package/lib/shared-data-source/pin-data.js +24 -0
  494. package/lib/shared-data-source/setting.d.ts +32 -0
  495. package/lib/shared-data-source/setting.js +151 -0
  496. package/lib/shared-data-source/speaker-spotlight.d.ts +5 -0
  497. package/lib/shared-data-source/speaker-spotlight.js +15 -0
  498. package/lib/shared-data-source/video-window.d.ts +161 -0
  499. package/lib/shared-data-source/video-window.js +1198 -0
  500. package/lib/shared-data-source/waiting-room.d.ts +19 -0
  501. package/lib/shared-data-source/waiting-room.js +157 -0
  502. package/lib/translations/enUS.d.ts +48 -17
  503. package/lib/translations/enUS.js +67 -35
  504. package/lib/translations/zhCN.d.ts +48 -17
  505. package/lib/translations/zhCN.js +68 -36
  506. package/lib/type.d.ts +270 -25
  507. package/lib/type.js +81 -2
  508. package/lib/ui-manager.d.ts +20 -16
  509. package/lib/ui-manager.js +59 -795
  510. package/lib/ui-scene.d.ts +6 -1
  511. package/lib/ui-scene.js +371 -43
  512. package/lib/utilities/constant.d.ts +63 -86
  513. package/lib/utilities/constant.js +158 -175
  514. package/lib/utilities/copyText.js +8 -7
  515. package/lib/utilities/meeting-detail.d.ts +2 -0
  516. package/lib/utilities/meeting-detail.js +39 -0
  517. package/lib/utilities/privilege.d.ts +4 -0
  518. package/lib/utilities/privilege.js +29 -0
  519. package/lib/utilities/renderer-event.js +0 -2
  520. package/lib/utilities/renderer.js +0 -1
  521. package/lib/utilities/setting-config-storage.d.ts +12 -0
  522. package/lib/utilities/setting-config-storage.js +100 -0
  523. package/lib/utilities/tools.d.ts +35 -3
  524. package/lib/utilities/tools.js +103 -4
  525. package/lib/utilities/video-track-render-context.d.ts +3 -4
  526. package/lib/utilities/video-track-render-context.js +1 -1
  527. package/package.json +10 -5
  528. package/public/assets/full-screen-error-boundary-img.png +0 -0
  529. package/public/assets/leave-meeting.png +0 -0
  530. package/public/index.html +24 -14
  531. package/lib/ scenes/base.d.ts +0 -10
  532. package/lib/ scenes/base.js +0 -75
  533. package/lib/ scenes/main-scene.d.ts +0 -43
  534. package/lib/ scenes/main-scene.js +0 -368
  535. package/lib/ scenes/waiting-scene.d.ts +0 -31
  536. package/lib/ scenes/waiting-scene.js +0 -119
  537. package/lib/common/remote-renderer.d.ts +0 -15
  538. package/lib/common/type.d.ts +0 -8
  539. package/lib/electron/bootstrap.d.ts +0 -1
  540. package/lib/electron/bootstrap.js +0 -56
  541. package/lib/electron/dev.d.ts +0 -1
  542. package/lib/electron/dev.js +0 -51
  543. package/lib/error-fallback.css +0 -62
  544. package/lib/error-fallback.d.ts +0 -2
  545. package/lib/error-fallback.js +0 -19
  546. package/lib/modules/Interpreter/context.d.ts +0 -2
  547. package/lib/modules/Interpreter/context.js +0 -9
  548. package/lib/modules/Interpreter/index.d.ts +0 -8
  549. package/lib/modules/Interpreter/store.d.ts +0 -111
  550. package/lib/modules/Interpreter/store.js +0 -1601
  551. package/lib/modules/Interpreter/type.d.ts +0 -41
  552. package/lib/modules/Interpreter/type.js +0 -20
  553. package/lib/modules/Interpreter/utils.js +0 -139
  554. package/lib/modules/action-bar/components/device/index.css +0 -162
  555. package/lib/modules/action-bar/components/device/index.d.ts +0 -8
  556. package/lib/modules/action-bar/components/device/index.js +0 -611
  557. package/lib/modules/action-bar/components/item.d.ts +0 -27
  558. package/lib/modules/action-bar/trigger-input-language-room/index.d.ts +0 -15
  559. package/lib/modules/action-bar/trigger-input-language-room/index.js +0 -220
  560. package/lib/modules/action-bar/trigger-output-language-room/constant.d.ts +0 -10
  561. package/lib/modules/action-bar/trigger-output-language-room/constant.js +0 -8
  562. package/lib/modules/action-bar/trigger-output-language-room/guide-tooltip/index.d.ts +0 -14
  563. package/lib/modules/action-bar/trigger-output-language-room/index.d.ts +0 -4
  564. package/lib/modules/action-bar/trigger-output-language-room/index.js +0 -98
  565. package/lib/modules/action-bar/trigger-output-language-room/trigger-language-room.d.ts +0 -5
  566. package/lib/modules/action-bar/trigger-output-language-room/trigger-language-room.js +0 -66
  567. package/lib/modules/action-bar/trigger-output-language-room/trigger-main-room.d.ts +0 -5
  568. package/lib/modules/action-bar/trigger-output-language-room/trigger-main-room.js +0 -36
  569. package/lib/modules/action-bar/trigger-output-language-room/useChangeOutputRoomTool.d.ts +0 -12
  570. package/lib/modules/action-bar/trigger-output-language-room/useChangeOutputRoomTool.js +0 -138
  571. package/lib/modules/components/dialog-container/component/body.js +0 -46
  572. package/lib/modules/dialog/components/Interpreter/electron.js +0 -31
  573. package/lib/modules/dialog/components/Interpreter/user-queue/index.css +0 -36
  574. package/lib/modules/dialog/components/Interpreter/user-queue/index.d.ts +0 -3
  575. package/lib/modules/dialog/components/Interpreter/user-queue/index.js +0 -47
  576. package/lib/modules/notification/context.d.ts +0 -2
  577. package/lib/modules/notification/context.js +0 -9
  578. package/lib/modules/participant/attendee/participants-more-action.d.ts +0 -18
  579. package/lib/modules/participant/attendee/participants-more-action.js +0 -278
  580. package/lib/scenes/base.d.ts +0 -10
  581. package/lib/scenes/base.js +0 -75
  582. package/lib/ui-node.d.ts +0 -25
  583. package/lib/ui-node.js +0 -156
  584. /package/lib/modules/action-bar/{notification-bar → components/notification-bar/assets}/dome.png +0 -0
  585. /package/lib/modules/action-bar/{notification-bar → components/notification-bar/assets}/fcr_translateswitch.png +0 -0
  586. /package/lib/modules/action-bar/{notification-bar → components/notification-bar}/components/interpreter/index.css +0 -0
  587. /package/lib/modules/action-bar/{notification-bar → components/notification-bar}/components/interpreter/index.d.ts +0 -0
  588. /package/lib/modules/action-bar/{notification-bar → components/notification-bar}/components/virtual-image/index.css +0 -0
  589. /package/lib/modules/action-bar/{notification-bar → components/notification-bar}/components/virtual-image/index.d.ts +0 -0
  590. /package/lib/modules/action-bar/{notification-bar → components/notification-bar}/index.css +0 -0
  591. /package/lib/modules/action-bar/{notification-bar → components/notification-bar}/index.d.ts +0 -0
  592. /package/lib/modules/action-bar/{trigger-input-language-room → components/trigger-output-language}/fcr_translateswitch.png +0 -0
  593. /package/lib/modules/action-bar/{trigger-input-language-room → components/trigger-output-language}/index.css +0 -0
  594. /package/lib/modules/action-bar/{trigger-output-language-room → components/trigger-subscribe-language}/guide-tooltip/index.css +0 -0
  595. /package/lib/modules/action-bar/{Interpreter → interpreter}/index.d.ts +0 -0
  596. /package/lib/modules/action-bar/{Interpreter → interpreter}/index.js +0 -0
  597. /package/lib/{common/type.js → modules/action-bar/types.js} +0 -0
  598. /package/lib/modules/{components → dialog/components}/dialog-container/component/body.d.ts +0 -0
  599. /package/lib/modules/dialog/components/{Interpreter → interpreter}/electron.d.ts +0 -0
  600. /package/lib/modules/dialog/components/{Interpreter → interpreter}/index.css +0 -0
  601. /package/lib/modules/dialog/components/{Interpreter → interpreter}/index.d.ts +0 -0
  602. /package/lib/modules/{Interpreter → interpreter}/action/add-btn/index.css +0 -0
  603. /package/lib/modules/{Interpreter → interpreter}/action/add-btn/index.d.ts +0 -0
  604. /package/lib/modules/{Interpreter → interpreter}/action/add-btn/index.js +0 -0
  605. /package/lib/modules/{Interpreter → interpreter}/action/delete-btn/index.css +0 -0
  606. /package/lib/modules/{Interpreter → interpreter}/action/delete-btn/index.js +0 -0
  607. /package/lib/modules/{Interpreter → interpreter}/action/edit-btn/index.css +0 -0
  608. /package/lib/modules/{Interpreter → interpreter}/action/edit-btn/index.d.ts +0 -0
  609. /package/lib/modules/{Interpreter → interpreter}/action/switch-btn/index.css +0 -0
  610. /package/lib/modules/{Interpreter → interpreter}/action/switch-btn/index.d.ts +0 -0
  611. /package/lib/modules/{Interpreter → interpreter}/add-button/index.css +0 -0
  612. /package/lib/modules/{Interpreter → interpreter}/add-button/index.d.ts +0 -0
  613. /package/lib/modules/{Interpreter → interpreter}/add-button/index.js +0 -0
  614. /package/lib/modules/{Interpreter → interpreter}/config.d.ts +0 -0
  615. /package/lib/modules/{Interpreter → interpreter}/config.js +0 -0
  616. /package/lib/modules/{Interpreter → interpreter}/dialog-content/index.css +0 -0
  617. /package/lib/modules/{Interpreter → interpreter}/footer/components/interpreter-btn/index.d.ts +0 -0
  618. /package/lib/modules/{Interpreter → interpreter}/footer/components/interpreter-btn/index.js +0 -0
  619. /package/lib/modules/{Interpreter → interpreter}/footer/components/set-btn/index.d.ts +0 -0
  620. /package/lib/modules/{Interpreter → interpreter}/footer/components/set-btn/index.js +0 -0
  621. /package/lib/modules/{Interpreter → interpreter}/footer/components/tooltip-wrapper/index.d.ts +0 -0
  622. /package/lib/modules/{Interpreter → interpreter}/footer/components/tooltip-wrapper/index.js +0 -0
  623. /package/lib/modules/{Interpreter → interpreter}/footer/index.css +0 -0
  624. /package/lib/modules/{Interpreter → interpreter}/footer/index.d.ts +0 -0
  625. /package/lib/modules/{Interpreter → interpreter}/footer/index.js +0 -0
  626. /package/lib/modules/{Interpreter → interpreter}/index.css +0 -0
  627. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/index.css +0 -0
  628. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/index.d.ts +0 -0
  629. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/index.css +0 -0
  630. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ar.png +0 -0
  631. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_cn.png +0 -0
  632. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_de.png +0 -0
  633. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_en.png +0 -0
  634. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_es.png +0 -0
  635. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_fr.png +0 -0
  636. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_hi.png +0 -0
  637. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_id.png +0 -0
  638. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_it.png +0 -0
  639. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_jp.png +0 -0
  640. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ko.png +0 -0
  641. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ms.png +0 -0
  642. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_pt.png +0 -0
  643. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ru.png +0 -0
  644. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_th.png +0 -0
  645. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_tr.png +0 -0
  646. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_vi.png +0 -0
  647. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/index.d.ts +0 -0
  648. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-user/index.css +0 -0
  649. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-user/option-Item.d.ts +0 -0
  650. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-user/option-Item.js +0 -0
  651. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/index.css +0 -0
  652. /package/lib/modules/{Interpreter → interpreter}/loading-wrapper/index.css +0 -0
  653. /package/lib/modules/{Interpreter → interpreter}/loading-wrapper/index.d.ts +0 -0
  654. /package/lib/modules/{Interpreter → interpreter}/loading-wrapper/index.js +0 -0
  655. /package/lib/modules/{Interpreter → interpreter}/tooltip-wrapper/index.d.ts +0 -0
  656. /package/lib/modules/{Interpreter → interpreter}/tooltip-wrapper/index.js +0 -0
  657. /package/lib/modules/{Interpreter → interpreter}/view.d.ts +0 -0
@@ -7,8 +7,10 @@ require("core-js/modules/es.error.cause.js");
7
7
  require("core-js/modules/es.error.to-string.js");
8
8
  require("core-js/modules/es.array.is-array.js");
9
9
  require("core-js/modules/es.date.to-primitive.js");
10
+ require("core-js/modules/es.function.bind.js");
10
11
  require("core-js/modules/es.function.name.js");
11
12
  require("core-js/modules/es.map.js");
13
+ require("core-js/modules/es.number.constructor.js");
12
14
  require("core-js/modules/es.object.create.js");
13
15
  require("core-js/modules/es.object.define-property.js");
14
16
  require("core-js/modules/es.object.get-own-property-descriptor.js");
@@ -35,7 +37,6 @@ Object.defineProperty(exports, "__esModule", {
35
37
  });
36
38
  exports["default"] = exports.StoreContext = void 0;
37
39
  var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
38
- require("core-js/modules/es.array.concat.js");
39
40
  require("core-js/modules/es.array.filter.js");
40
41
  require("core-js/modules/es.array.find.js");
41
42
  require("core-js/modules/es.array.find-index.js");
@@ -45,15 +46,9 @@ require("core-js/modules/es.array.map.js");
45
46
  require("core-js/modules/es.array.push.js");
46
47
  require("core-js/modules/es.array.splice.js");
47
48
  require("core-js/modules/es.date.to-string.js");
48
- require("core-js/modules/es.function.bind.js");
49
- require("core-js/modules/es.number.constructor.js");
50
49
  require("core-js/modules/es.object.to-string.js");
51
50
  require("core-js/modules/es.string.iterator.js");
52
51
  require("core-js/modules/es.weak-map.js");
53
- require("core-js/modules/esnext.async-iterator.filter.js");
54
- require("core-js/modules/esnext.async-iterator.find.js");
55
- require("core-js/modules/esnext.async-iterator.for-each.js");
56
- require("core-js/modules/esnext.async-iterator.map.js");
57
52
  require("core-js/modules/esnext.iterator.constructor.js");
58
53
  require("core-js/modules/esnext.iterator.filter.js");
59
54
  require("core-js/modules/esnext.iterator.find.js");
@@ -63,7 +58,6 @@ require("core-js/modules/esnext.weak-map.delete-all.js");
63
58
  require("core-js/modules/esnext.weak-map.emplace.js");
64
59
  require("core-js/modules/web.dom-collections.for-each.js");
65
60
  require("core-js/modules/web.dom-collections.iterator.js");
66
- require("core-js/modules/web.timers.js");
67
61
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
68
62
  var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
69
63
  var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
@@ -71,25 +65,21 @@ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/cl
71
65
  var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
72
66
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
73
67
  var _mobx = require("mobx");
74
- var _constant = require("../../utilities/constant");
75
68
  var _type = require("agora-rte-sdk/lib/core/rtc/type");
76
69
  var _shareAudio = require("agora-ui-foundation/lib/components/room-screen-share-state-bar/share-audio");
77
70
  var _decorator = require("agora-foundation/lib/decorator");
78
- var _platform = require("../../utilities/platform");
79
71
  var _logger = require("agora-foundation/lib/logger");
80
- var _dialogs = require("../dialog/dialogs");
81
72
  var _type2 = require("fcr-core/lib/room-control/type");
82
73
  var _fcrCore = require("fcr-core");
83
74
  var _type3 = require("fcr-core/lib/type");
84
75
  var _react = require("react");
85
- var _type4 = require("../../type");
86
- var _leaveMeeting = require("../action-bar/components/leave/leave-meeting");
87
- var _type5 = require("./type");
88
76
  var _stopButton = _interopRequireDefault(require("./components/stop-live-streaming/stop-button"));
89
- var _env = require("agora-foundation/lib/utilities/env");
77
+ var _constant = require("../../utilities/constant");
78
+ var _enums = require("./enums");
79
+ var _leaveMeeting = require("../components/leave-meeting");
90
80
  var _jsxRuntime = require("react/jsx-runtime");
91
81
  var _ControlBarStore;
92
- var _initProto, _leaveConfirmRefDecs, _init_leaveConfirmRef, _init_shareWithAudio, _init_shareAudioProcessingChannel, _init_currentShareId, _init_currentShareType, _init_cloudRecordingState, _init_localUserRole, _init_isHost, _init_roomDuration, _init_startTime, _init_playUrl, _init_liveStreamingState, _init_allApplicationWindows, _init_roomInfo, _init_isShowMeetingDetailPortal, _init_users, _init_isPstnUser, _init_isMuteAudio, _init_hiddenShareActionNav, _init_boardOwnerUser, _init_meetingId, _init_currentShareDisplayId, _initControlBarDecs, _setControlBarWindowBoundsDecs, _updateCurrentShareContentDecs, _setLocalUserRoleDecs, _setShareWithAudioStateDecs, _createNewShareDecs, _handlerStopShareDecs, _setShareAudioProcessingChannelDecs, _handleMoreClickDecs, _pauseCloudRecordingDecs, _resumeCloudRecordingDecs, _stopCloudRecordingDecs, _showToastDecs, _setShowMeetingDetailPortalDecs, _setEnableWaitingRoomDecs, _sendLeaveDecs, _sendEndDecs, _keepPhoneAudioConnectionDecs, _sendAssignDecs, _handleLeaveRoomDecs, _getCurrentSharingWorkAreaDecs, _handleRemoteUsersJoinedDecs, _handleRemoteUsersLeftDecs, _handleUserInfoUpdatedDecs, _ref;
82
+ var _initProto, _leaveConfirmRefDecs, _init_leaveConfirmRef, _init_shareWithAudio, _init_shareAudioProcessingChannel, _init_currentShareId, _init_currentShareType, _init_currentShareBounds, _init_cloudRecordingState, _init_localUserRole, _init_isHost, _init_roomDuration, _init_startTime, _init_playUrl, _init_liveStreamingState, _init_allApplicationWindows, _init_roomInfo, _init_isShowMeetingDetailPortal, _init_users, _init_isPstnUser, _init_hiddenShareActionNav, _init_boardOwnerUser, _init_meetingId, _init_currentShareDisplayId, _initControlBarDecs, _updateCurrentShareContentDecs, _setLocalUserRoleDecs, _setShareWithAudioStateDecs, _createNewShareDecs, _handlerStopShareDecs, _setShareAudioProcessingChannelDecs, _handleMoreClickDecs, _pauseCloudRecordingDecs, _resumeCloudRecordingDecs, _stopCloudRecordingDecs, _showToastDecs, _setShowMeetingDetailPortalDecs, _setEnableWaitingRoomDecs, _handleLeaveRoomDecs, _resetMessageCountDecs, _handleRemoteUsersJoinedDecs, _handleRemoteUsersLeftDecs, _handleUserInfoUpdatedDecs, _ref;
93
83
  function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
94
84
  function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
95
85
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
@@ -122,13 +112,13 @@ var _S = /*#__PURE__*/new WeakMap();
122
112
  var _T = /*#__PURE__*/new WeakMap();
123
113
  var _U = /*#__PURE__*/new WeakMap();
124
114
  var _V = /*#__PURE__*/new WeakMap();
125
- _ref = (_leaveConfirmRefDecs = [_mobx.observable, _mobx.observable.ref], _initControlBarDecs = [_mobx.action, _mobx.action.bound], _setControlBarWindowBoundsDecs = [_mobx.action, _mobx.action.bound], _updateCurrentShareContentDecs = [_mobx.action, _mobx.action.bound], _setLocalUserRoleDecs = [_mobx.action, _mobx.action.bound], _setShareWithAudioStateDecs = [_mobx.action, _mobx.action.bound], _createNewShareDecs = [_mobx.action, _mobx.action.bound], _handlerStopShareDecs = [_mobx.action, _mobx.action.bound], _setShareAudioProcessingChannelDecs = [_mobx.action, _mobx.action.bound], _handleMoreClickDecs = [_mobx.action, _mobx.action.bound], _pauseCloudRecordingDecs = [_decorator.bound, (0, _decorator.debounced)(500, {
115
+ _ref = (_leaveConfirmRefDecs = [_mobx.observable, _mobx.observable.ref], _initControlBarDecs = [_mobx.action, _mobx.action.bound], _updateCurrentShareContentDecs = [_mobx.action, _mobx.action.bound], _setLocalUserRoleDecs = [_mobx.action, _mobx.action.bound], _setShareWithAudioStateDecs = [_mobx.action, _mobx.action.bound], _createNewShareDecs = [_mobx.action, _mobx.action.bound], _handlerStopShareDecs = [_mobx.action, _mobx.action.bound], _setShareAudioProcessingChannelDecs = [_mobx.action, _mobx.action.bound], _handleMoreClickDecs = [_mobx.action, _mobx.action.bound], _pauseCloudRecordingDecs = [_decorator.bound, (0, _decorator.debounced)(500, {
126
116
  leading: true
127
117
  })], _resumeCloudRecordingDecs = [_decorator.bound, (0, _decorator.debounced)(500, {
128
118
  leading: true
129
119
  })], _stopCloudRecordingDecs = [_decorator.bound, (0, _decorator.debounced)(500, {
130
120
  leading: true
131
- })], _showToastDecs = [_mobx.action, _mobx.action.bound], _setShowMeetingDetailPortalDecs = [_mobx.action, _mobx.action.bound], _setEnableWaitingRoomDecs = [_mobx.action, _mobx.action.bound], _sendLeaveDecs = [_mobx.action, _mobx.action.bound], _sendEndDecs = [_mobx.action, _mobx.action.bound], _keepPhoneAudioConnectionDecs = [_mobx.action, _mobx.action.bound], _sendAssignDecs = [_mobx.action, _mobx.action.bound], _handleLeaveRoomDecs = [_mobx.action, _mobx.action.bound], _getCurrentSharingWorkAreaDecs = [_mobx.action, _mobx.action.bound], _handleRemoteUsersJoinedDecs = [_mobx.action, _mobx.action.bound], _handleRemoteUsersLeftDecs = [_mobx.action, _mobx.action.bound], _handleUserInfoUpdatedDecs = [_mobx.action, _mobx.action.bound], "logger");
121
+ })], _showToastDecs = [_mobx.action, _mobx.action.bound], _setShowMeetingDetailPortalDecs = [_mobx.action, _mobx.action.bound], _setEnableWaitingRoomDecs = [_mobx.action, _mobx.action.bound], _handleLeaveRoomDecs = [_mobx.action, _mobx.action.bound], _resetMessageCountDecs = [_mobx.action, _mobx.action.bound], _handleRemoteUsersJoinedDecs = [_mobx.action, _mobx.action.bound], _handleRemoteUsersLeftDecs = [_mobx.action, _mobx.action.bound], _handleUserInfoUpdatedDecs = [_mobx.action, _mobx.action.bound], "logger");
132
122
  var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
133
123
  function ControlBarStore(_ref2) {
134
124
  var _roomControl$getRoomS,
@@ -139,10 +129,11 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
139
129
  var uiEventStore = _ref2.uiEventStore,
140
130
  securityStore = _ref2.securityStore,
141
131
  roomControl = _ref2.roomControl,
142
- mediaControl = _ref2.mediaControl,
143
- userControl = _ref2.userControl,
144
- streamControl = _ref2.streamControl,
145
- deviceStore = _ref2.deviceStore;
132
+ deviceProvider = _ref2.deviceProvider,
133
+ sharedLayoutDataSource = _ref2.sharedLayoutDataSource,
134
+ roomProvider = _ref2.roomProvider,
135
+ screenShareProvider = _ref2.screenShareProvider,
136
+ sharedChatDataSource = _ref2.sharedChatDataSource;
146
137
  (0, _classCallCheck2["default"])(this, ControlBarStore);
147
138
  (0, _defineProperty2["default"])(this, _ref, (_initProto(this), (0, _logger.getLogger)()));
148
139
  (0, _defineProperty2["default"])(this, "_screenBounds", {
@@ -159,25 +150,30 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
159
150
  _classPrivateFieldInitSpec(this, _C, _init_shareAudioProcessingChannel(this, _shareAudio.AudioProcessingChannel.MONO));
160
151
  _classPrivateFieldInitSpec(this, _D, _init_currentShareId(this, ''));
161
152
  _classPrivateFieldInitSpec(this, _E, _init_currentShareType(this, _type.AgoraRtcScreenCaptureType.SCREEN));
162
- _classPrivateFieldInitSpec(this, _F, _init_cloudRecordingState(this, _type3.FcrRecordingState.Stopped));
163
- _classPrivateFieldInitSpec(this, _G, _init_localUserRole(this, _type3.FcrUserRole.PARTICIPANT));
164
- _classPrivateFieldInitSpec(this, _H, _init_isHost(this, false));
165
- _classPrivateFieldInitSpec(this, _I, _init_roomDuration(this, 0));
166
- _classPrivateFieldInitSpec(this, _J, _init_startTime(this, new Date().getTime()));
167
- _classPrivateFieldInitSpec(this, _K, _init_playUrl(this, ''));
168
- _classPrivateFieldInitSpec(this, _L, _init_liveStreamingState(this, _type3.FcrLiveStreamingState.STOPPED));
169
- _classPrivateFieldInitSpec(this, _M, _init_allApplicationWindows(this, []));
170
- _classPrivateFieldInitSpec(this, _N, _init_roomInfo(this, {
153
+ _classPrivateFieldInitSpec(this, _F, _init_currentShareBounds(this, {
154
+ width: 0,
155
+ height: 0,
156
+ x: 0,
157
+ y: 0
158
+ }));
159
+ _classPrivateFieldInitSpec(this, _G, _init_cloudRecordingState(this, _type3.FcrRecordingState.Stopped));
160
+ _classPrivateFieldInitSpec(this, _H, _init_localUserRole(this, _type3.FcrUserRole.PARTICIPANT));
161
+ _classPrivateFieldInitSpec(this, _I, _init_isHost(this, false));
162
+ _classPrivateFieldInitSpec(this, _J, _init_roomDuration(this, 0));
163
+ _classPrivateFieldInitSpec(this, _K, _init_startTime(this, new Date().getTime()));
164
+ _classPrivateFieldInitSpec(this, _L, _init_playUrl(this, ''));
165
+ _classPrivateFieldInitSpec(this, _M, _init_liveStreamingState(this, _type3.FcrLiveStreamingState.STOPPED));
166
+ _classPrivateFieldInitSpec(this, _N, _init_allApplicationWindows(this, []));
167
+ _classPrivateFieldInitSpec(this, _O, _init_roomInfo(this, {
171
168
  roomId: '',
172
169
  roomName: '',
173
170
  roomType: _type2.FcrRoomType.Mainroom,
174
171
  password: '',
175
172
  inviteLink: ''
176
173
  }));
177
- _classPrivateFieldInitSpec(this, _O, _init_isShowMeetingDetailPortal(this, false));
178
- _classPrivateFieldInitSpec(this, _P, _init_users(this, []));
179
- _classPrivateFieldInitSpec(this, _Q, _init_isPstnUser(this, false));
180
- _classPrivateFieldInitSpec(this, _R, _init_isMuteAudio(this, false));
174
+ _classPrivateFieldInitSpec(this, _P, _init_isShowMeetingDetailPortal(this, false));
175
+ _classPrivateFieldInitSpec(this, _Q, _init_users(this, []));
176
+ _classPrivateFieldInitSpec(this, _R, _init_isPstnUser(this, false));
181
177
  _classPrivateFieldInitSpec(this, _S, _init_hiddenShareActionNav(this, false));
182
178
  _classPrivateFieldInitSpec(this, _T, _init_boardOwnerUser(this, ''));
183
179
  _classPrivateFieldInitSpec(this, _U, _init_meetingId(this, undefined));
@@ -185,30 +181,30 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
185
181
  this._uiEventStore = uiEventStore;
186
182
  this._roomControl = roomControl;
187
183
  this._securityStore = securityStore;
188
- this._userControl = userControl;
189
- this._streamControl = streamControl;
184
+ this._roomProvider = roomProvider;
185
+ this._userControl = roomControl.getUserControl();
186
+ this._streamControl = roomControl.getStreamControl();
187
+ this._sharedLayoutDataSource = sharedLayoutDataSource;
188
+ this._screenShareProvider = screenShareProvider;
189
+ this._sharedChatDataSource = sharedChatDataSource;
190
190
  this.startTime = (_roomControl$getRoomS = (_roomControl$getRoomS2 = roomControl.getRoomSchedule()) === null || _roomControl$getRoomS2 === void 0 ? void 0 : _roomControl$getRoomS2.startTime) !== null && _roomControl$getRoomS !== void 0 ? _roomControl$getRoomS : new Date().getTime();
191
191
  this.roomInfo = roomControl.getRoomInfo();
192
192
  this.roomDuration = (_roomControl$getRoomS3 = (_roomControl$getRoomS4 = roomControl.getRoomSchedule()) === null || _roomControl$getRoomS4 === void 0 ? void 0 : _roomControl$getRoomS4.duration) !== null && _roomControl$getRoomS3 !== void 0 ? _roomControl$getRoomS3 : 0;
193
193
  this.liveStreamingState = roomControl.getLiveStreamingState();
194
- this.isMuteAudio = !deviceStore.microphoneEnabled;
195
- this.users = (0, _toConsumableArray2["default"])(userControl.getUserList());
194
+ this._deviceProvider = deviceProvider;
195
+ this.users = (0, _toConsumableArray2["default"])(this._userControl.getUserList());
196
196
  this.meetingId = roomControl.getRoomPropertiesByKeyPath('meetingId');
197
- (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee() {
198
- return _regenerator["default"].wrap(function _callee$(_context) {
199
- while (1) switch (_context.prev = _context.next) {
200
- case 0:
201
- _context.next = 2;
202
- return mediaControl === null || mediaControl === void 0 ? void 0 : mediaControl.getWindowList();
203
- case 2:
204
- _this.allApplicationWindows = _context.sent;
205
- case 3:
206
- case "end":
207
- return _context.stop();
208
- }
209
- }, _callee);
210
- }))();
211
- roomControl.addObserver({
197
+ this._streamObserver = {
198
+ onStreamsAdded: this._handleStreamUpdate,
199
+ onStreamsUpdated: this._handleStreamUpdate,
200
+ onStreamsRemoved: this._handleStreamUpdate
201
+ };
202
+ this._userObserver = {
203
+ onRemoteUsersJoined: this._handleRemoteUsersJoined,
204
+ onRemoteUsersLeft: this._handleRemoteUsersLeft,
205
+ onUserInfoUpdated: this._handleUserInfoUpdated
206
+ };
207
+ this._roomObserver = {
212
208
  onLiveStreamingStateUpdated: function onLiveStreamingStateUpdated(roomId, state, url) {
213
209
  _this.liveStreamingState = state;
214
210
  _this.playUrl = url;
@@ -216,25 +212,33 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
216
212
  onCloudRecordingStateUpdated: function onCloudRecordingStateUpdated(roomId, state) {
217
213
  return _this.cloudRecordingState = state;
218
214
  }
219
- });
220
- roomControl.getBoardControl().addObserver({
215
+ };
216
+ this._boardObserver = {
221
217
  onActive: function onActive(ownerId) {
222
218
  _this.boardOwnerUser = ownerId;
223
219
  },
224
220
  onInactive: function onInactive() {
225
221
  _this.boardOwnerUser = '';
226
222
  }
227
- });
228
- streamControl.addObserver({
229
- onStreamsAdded: this._handleStreamUpdate.bind(this),
230
- onStreamsUpdated: this._handleStreamUpdate.bind(this),
231
- onStreamsRemoved: this._handleStreamUpdate.bind(this)
232
- });
233
- userControl.addObserver({
234
- onRemoteUsersJoined: this._handleRemoteUsersJoined.bind(this),
235
- onRemoteUsersLeft: this._handleRemoteUsersLeft.bind(this),
236
- onUserInfoUpdated: this._handleUserInfoUpdated.bind(this)
237
- });
223
+ };
224
+ (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee() {
225
+ return _regenerator["default"].wrap(function _callee$(_context) {
226
+ while (1) switch (_context.prev = _context.next) {
227
+ case 0:
228
+ _context.next = 2;
229
+ return deviceProvider === null || deviceProvider === void 0 ? void 0 : deviceProvider.getWindowList();
230
+ case 2:
231
+ _this.allApplicationWindows = _context.sent;
232
+ case 3:
233
+ case "end":
234
+ return _context.stop();
235
+ }
236
+ }, _callee);
237
+ }))();
238
+ roomControl.addObserver(this._roomObserver);
239
+ roomControl.getBoardControl().addObserver(this._boardObserver);
240
+ this._streamControl.addObserver(this._streamObserver);
241
+ this._userControl.addObserver(this._userObserver);
238
242
  this._disposers.push((0, _mobx.reaction)(function () {
239
243
  return _this.localUser.userRole;
240
244
  }, this.setLocalUserRole));
@@ -280,7 +284,7 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
280
284
  _classPrivateFieldSet(_E, this, v);
281
285
  }
282
286
  }, {
283
- key: "cloudRecordingState",
287
+ key: "currentShareBounds",
284
288
  get: function get() {
285
289
  return _classPrivateFieldGet(_F, this);
286
290
  },
@@ -288,7 +292,7 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
288
292
  _classPrivateFieldSet(_F, this, v);
289
293
  }
290
294
  }, {
291
- key: "localUserRole",
295
+ key: "cloudRecordingState",
292
296
  get: function get() {
293
297
  return _classPrivateFieldGet(_G, this);
294
298
  },
@@ -296,7 +300,7 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
296
300
  _classPrivateFieldSet(_G, this, v);
297
301
  }
298
302
  }, {
299
- key: "isHost",
303
+ key: "localUserRole",
300
304
  get: function get() {
301
305
  return _classPrivateFieldGet(_H, this);
302
306
  },
@@ -304,7 +308,7 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
304
308
  _classPrivateFieldSet(_H, this, v);
305
309
  }
306
310
  }, {
307
- key: "roomDuration",
311
+ key: "isHost",
308
312
  get: function get() {
309
313
  return _classPrivateFieldGet(_I, this);
310
314
  },
@@ -312,7 +316,7 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
312
316
  _classPrivateFieldSet(_I, this, v);
313
317
  }
314
318
  }, {
315
- key: "startTime",
319
+ key: "roomDuration",
316
320
  get: function get() {
317
321
  return _classPrivateFieldGet(_J, this);
318
322
  },
@@ -320,7 +324,7 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
320
324
  _classPrivateFieldSet(_J, this, v);
321
325
  }
322
326
  }, {
323
- key: "playUrl",
327
+ key: "startTime",
324
328
  get: function get() {
325
329
  return _classPrivateFieldGet(_K, this);
326
330
  },
@@ -328,7 +332,7 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
328
332
  _classPrivateFieldSet(_K, this, v);
329
333
  }
330
334
  }, {
331
- key: "liveStreamingState",
335
+ key: "playUrl",
332
336
  get: function get() {
333
337
  return _classPrivateFieldGet(_L, this);
334
338
  },
@@ -336,7 +340,7 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
336
340
  _classPrivateFieldSet(_L, this, v);
337
341
  }
338
342
  }, {
339
- key: "allApplicationWindows",
343
+ key: "liveStreamingState",
340
344
  get: function get() {
341
345
  return _classPrivateFieldGet(_M, this);
342
346
  },
@@ -344,7 +348,7 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
344
348
  _classPrivateFieldSet(_M, this, v);
345
349
  }
346
350
  }, {
347
- key: "roomInfo",
351
+ key: "allApplicationWindows",
348
352
  get: function get() {
349
353
  return _classPrivateFieldGet(_N, this);
350
354
  },
@@ -352,7 +356,7 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
352
356
  _classPrivateFieldSet(_N, this, v);
353
357
  }
354
358
  }, {
355
- key: "isShowMeetingDetailPortal",
359
+ key: "roomInfo",
356
360
  get: function get() {
357
361
  return _classPrivateFieldGet(_O, this);
358
362
  },
@@ -360,7 +364,7 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
360
364
  _classPrivateFieldSet(_O, this, v);
361
365
  }
362
366
  }, {
363
- key: "users",
367
+ key: "isShowMeetingDetailPortal",
364
368
  get: function get() {
365
369
  return _classPrivateFieldGet(_P, this);
366
370
  },
@@ -368,7 +372,7 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
368
372
  _classPrivateFieldSet(_P, this, v);
369
373
  }
370
374
  }, {
371
- key: "isPstnUser",
375
+ key: "users",
372
376
  get: function get() {
373
377
  return _classPrivateFieldGet(_Q, this);
374
378
  },
@@ -376,7 +380,7 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
376
380
  _classPrivateFieldSet(_Q, this, v);
377
381
  }
378
382
  }, {
379
- key: "isMuteAudio",
383
+ key: "isPstnUser",
380
384
  get: function get() {
381
385
  return _classPrivateFieldGet(_R, this);
382
386
  },
@@ -415,6 +419,11 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
415
419
  set: function set(v) {
416
420
  _classPrivateFieldSet(_V, this, v);
417
421
  }
422
+ }, {
423
+ key: "privilegeProvider",
424
+ get: function get() {
425
+ return this._securityStore;
426
+ }
418
427
  }, {
419
428
  key: "localUser",
420
429
  get: function get() {
@@ -468,73 +477,38 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
468
477
  get: function get() {
469
478
  return this._securityStore.hasEndRoomPermission();
470
479
  }
480
+ }, {
481
+ key: "isMuteAudio",
482
+ get: function get() {
483
+ return !this._deviceProvider.microphoneEnabled;
484
+ }
485
+ }, {
486
+ key: "newMessageCount",
487
+ get: function get() {
488
+ return this._sharedChatDataSource.newMessageCount;
489
+ },
490
+ set: function set(value) {
491
+ this._sharedChatDataSource.newMessageCount = value;
492
+ }
471
493
  }, {
472
494
  key: "initControlBar",
473
495
  value: function initControlBar(payload, browserWindow) {
474
496
  this.shareAudioProcessingChannel = payload.currentShareAudioProcessingChannel;
475
497
  this.currentShareId = payload.currentShareId;
476
498
  this.currentShareType = payload.currentShareType;
499
+ this.currentShareBounds = payload.currentShareBounds;
477
500
  this.setShareWithAudioState(payload.shareWithAudio);
478
- this.setControlBarWindowBounds(browserWindow);
479
- }
480
- }, {
481
- key: "setControlBarWindowBounds",
482
- value: function setControlBarWindowBounds(window) {
483
- var _this3 = this;
484
- if (!(0, _env.isElectron)()) return;
485
- var needFollowWindows = [_constant.DialogKey.CONTROL_BAR, _constant.DialogKey.SHOW_TOAST];
486
- var browserWindows = needFollowWindows.map(function (win) {
487
- return _dialogs.dialogWindows.get(win) || window;
488
- });
489
- var _this$getCurrentShari = this.getCurrentSharingWorkArea(),
490
- x = _this$getCurrentShari.x,
491
- y = _this$getCurrentShari.y,
492
- width = _this$getCurrentShari.width,
493
- height = _this$getCurrentShari.height,
494
- availTop = _this$getCurrentShari.availTop;
495
- this._screenBounds = {
496
- width: width,
497
- height: height,
498
- availTop: availTop,
499
- x: x,
500
- y: y
501
- };
502
-
503
- /* 使用window.screen.availWidth在windows上会黑屏,详见jira:APAAS-5732
504
- 怀疑是在windows上BrowserWindow有一个边框,所以需要减去一定的宽度。
505
- 实验结果最低是4。这里减去10留一点buffer,防止其他操作系统的边框不一致。
506
- */
507
- var WINDOWS_SCREEN_BOUNDARY_WIDTH = 10;
508
- var availWidth = (0, _platform.isWindows)() ? width - WINDOWS_SCREEN_BOUNDARY_WIDTH : width;
509
-
510
- // 重新设置窗口大小
511
- setTimeout(function () {
512
- browserWindows.forEach(function (win) {
513
- win === null || win === void 0 || win.setBounds({
514
- x: x,
515
- y: y,
516
- width: availWidth,
517
- height: height
518
- });
519
- });
520
- _this3.logger.info("set browser window bounds: ".concat(x, ", ").concat(y, ", ").concat(availWidth, ", ").concat(height));
521
- });
522
- browserWindows.forEach(function (win) {
523
- win === null || win === void 0 || win.setMaximumSize(availWidth, height);
524
- win === null || win === void 0 || win.setBounds({
525
- x: x,
526
- y: y
527
- });
528
- });
529
501
  }
530
502
  }, {
531
503
  key: "updateCurrentShareContent",
532
504
  value: function updateCurrentShareContent(payload) {
533
505
  var id = payload.id,
534
- type = payload.type;
506
+ type = payload.type,
507
+ bounds = payload.bounds;
535
508
  this.currentShareId = id;
536
509
  this.currentShareType = type;
537
- this.setControlBarWindowBounds();
510
+ this.currentShareBounds = bounds;
511
+ // this.setControlBarWindowBounds();
538
512
  }
539
513
  }, {
540
514
  key: "setLocalUserRole",
@@ -546,19 +520,19 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
546
520
  key: "setShareWithAudioState",
547
521
  value: function setShareWithAudioState(withAudio) {
548
522
  this.shareWithAudio = withAudio;
549
- this._uiEventStore.sendEvent(_constant.UIAction.SET_SHARE_WITH_AUDIO, {
523
+ this._uiEventStore.sendEvent(_constant.FcrUIAction.SET_SHARE_WITH_AUDIO, {
550
524
  withAudio: withAudio
551
525
  });
552
526
  }
553
527
  }, {
554
528
  key: "createNewShare",
555
529
  value: function createNewShare() {
556
- this._uiEventStore.sendEvent(_constant.UIAction.START_SHARE_SCREEN);
530
+ this._uiEventStore.startShareScreen();
557
531
  }
558
532
  }, {
559
533
  key: "handlerStopShare",
560
534
  value: function handlerStopShare() {
561
- this._uiEventStore.sendEvent(_constant.UIAction.STOP_SHARE_SCREEN);
535
+ this._uiEventStore.stopShareScreen();
562
536
  }
563
537
  }, {
564
538
  key: "setShareAudioProcessingChannel",
@@ -570,39 +544,40 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
570
544
  }, {
571
545
  key: "handleMoreClick",
572
546
  value: function handleMoreClick(actionKey) {
573
- var _this4 = this;
547
+ var _this3 = this;
574
548
  switch (actionKey) {
575
- case _type5.MoreAction.OPEN_PARTICIPANTS:
576
- this._uiEventStore.openDialog(_constant.DialogKey.PARTICIPANT);
577
- this._uiEventStore.updateAside({
549
+ case _enums.MoreAction.OPEN_PARTICIPANTS:
550
+ this._uiEventStore.openDialog(_constant.FcrUIDialogKey.PARTICIPANT);
551
+ this._sharedLayoutDataSource.setAsideLayout({
578
552
  participant: false
579
553
  });
580
554
  break;
581
- case _type5.MoreAction.OPEN_CHAT:
582
- this._uiEventStore.openDialog(_constant.DialogKey.CHAT);
583
- this._uiEventStore.updateAside({
555
+ case _enums.MoreAction.OPEN_CHAT:
556
+ this._uiEventStore.openDialog(_constant.FcrUIDialogKey.CHAT);
557
+ this._sharedLayoutDataSource.setAsideLayout({
584
558
  chat: false
585
559
  });
560
+ this._resetMessageCount();
586
561
  break;
587
- case _type5.MoreAction.OPEN_LIVE_STEAMING_DIALOG:
588
- this._uiEventStore.openDialog(_constant.DialogKey.LIVE_STREAMING);
562
+ case _enums.MoreAction.OPEN_LIVE_STEAMING_DIALOG:
563
+ this._uiEventStore.openDialog(_constant.FcrUIDialogKey.LIVE_STREAMING);
589
564
  break;
590
- case _type5.MoreAction.OPEN_SETTING:
591
- this._uiEventStore.openDialog(_constant.DialogKey.DEVICE_SETTINGS);
565
+ case _enums.MoreAction.OPEN_SETTING:
566
+ this._uiEventStore.openDialog(_constant.FcrUIDialogKey.DEVICE_SETTINGS);
592
567
  break;
593
- case _type5.MoreAction.CLOUD_RECORDING_START:
568
+ case _enums.MoreAction.CLOUD_RECORDING_START:
594
569
  this.startCloudRecording();
595
570
  break;
596
- case _type5.MoreAction.CLOUD_RECORDING_STOP:
571
+ case _enums.MoreAction.CLOUD_RECORDING_STOP:
597
572
  this.stopCloudRecording();
598
573
  break;
599
- case _type5.MoreAction.STOP_LIVE_STREAMING:
600
- this._uiEventStore.sendEvent(_constant.UIAction.STOP_LIVE_STREAMING);
574
+ case _enums.MoreAction.STOP_LIVE_STREAMING:
575
+ this._roomProvider.stopLiveStreaming();
601
576
  var dispose = (0, _mobx.reaction)(function () {
602
- return _this4.liveStreamingState;
577
+ return _this3.liveStreamingState;
603
578
  }, function (liveStreamingState) {
604
579
  if (liveStreamingState === _type3.FcrLiveStreamingState.STOPPED) {
605
- _this4._liveStreamingDialogKey && _this4._uiEventStore.closeDialog(_this4._liveStreamingDialogKey);
580
+ _this3._liveStreamingDialogKey && _this3._uiEventStore.closeDialog(_this3._liveStreamingDialogKey);
606
581
  dispose();
607
582
  }
608
583
  });
@@ -614,16 +589,16 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
614
589
  }, {
615
590
  key: "openLiveStreamingDialog",
616
591
  value: function openLiveStreamingDialog() {
617
- var _this5 = this;
592
+ var _this4 = this;
618
593
  var dialogKey = this._uiEventStore.openConfirmDialog({
619
594
  width: 256,
620
595
  content: /*#__PURE__*/(0, _jsxRuntime.jsx)(_stopButton["default"], {
621
596
  onCancel: function onCancel() {
622
- _this5._uiEventStore.closeDialog(dialogKey);
597
+ _this4._uiEventStore.closeConfirm(dialogKey);
623
598
  },
624
599
  handleMoreClick: function handleMoreClick(type) {
625
- _this5.handleMoreClick(type);
626
- _this5._uiEventStore.closeDialog(dialogKey);
600
+ _this4.handleMoreClick(type);
601
+ _this4._uiEventStore.closeConfirm(dialogKey);
627
602
  }
628
603
  }),
629
604
  showCancel: false,
@@ -662,23 +637,10 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
662
637
  retryTimeout: 60
663
638
  });
664
639
  }
665
- }, {
666
- key: "getCoordinate",
667
- value: function getCoordinate(offsetWidth, offsetHeight) {
668
- var _this$getCurrentShari2 = this.getCurrentSharingWorkArea(),
669
- workareaW = _this$getCurrentShari2.width,
670
- displayId = _this$getCurrentShari2.displayId;
671
- var x = workareaW / 2 - offsetWidth / 2;
672
- var y = 0;
673
- return {
674
- x: x,
675
- y: y
676
- };
677
- }
678
640
  }, {
679
641
  key: "showToast",
680
642
  value: function showToast(params) {
681
- this._uiEventStore.openDialog(_constant.DialogKey.SHOW_TOAST, _constant.DialogKey.SHOW_TOAST, {
643
+ this._uiEventStore.openDialog(_constant.FcrUIDialogKey.SHOW_TOAST, _constant.FcrUIDialogKey.SHOW_TOAST, {
682
644
  type: params.type,
683
645
  message: params.content,
684
646
  duration: params.duration
@@ -692,127 +654,51 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
692
654
  }, {
693
655
  key: "setEnableWaitingRoom",
694
656
  value: function setEnableWaitingRoom(enable) {
695
- this._uiEventStore.sendEvent(_constant.UIAction.ENABLE_WAITING_ROOM, enable);
696
- }
697
- }, {
698
- key: "sendLeave",
699
- value: function sendLeave() {
700
- this._uiEventStore.sendEvent(_constant.UIAction.EXIT_ROOM, {
701
- reason: _type4.FcrUIExitReason.LEAVE_ROOM,
702
- roomType: this.roomInfo.roomType
703
- });
704
- }
705
- }, {
706
- key: "sendEnd",
707
- value: function sendEnd() {
708
- this._roomControl.close();
709
- }
710
- }, {
711
- key: "keepPhoneAudioConnection",
712
- value: function keepPhoneAudioConnection() {
713
- this._streamControl.splitAudioStream(this.localUser.userId);
714
- }
715
- }, {
716
- key: "sendAssign",
717
- value: function sendAssign(user) {
718
- this._userControl.updateRemoteUserRole(user.userId, _type3.FcrUserRole.HOST);
719
- this.sendLeave();
720
- this.handlerStopShare();
657
+ this._uiEventStore.sendEvent(_constant.FcrUIAction.ENABLE_WAITING_ROOM, enable);
721
658
  }
722
659
  }, {
723
660
  key: "handleLeaveRoom",
724
661
  value: function handleLeaveRoom() {
725
- var _this6 = this;
662
+ var _this5 = this;
726
663
  var dailogKey = this._uiEventStore.openConfirmDialog({
727
- width: 260,
728
- height: 180,
664
+ width: 300,
729
665
  content: /*#__PURE__*/(0, _jsxRuntime.jsx)(_leaveMeeting.LeaveMeeting, {
730
666
  setPopoverOpened: function setPopoverOpened(value) {
731
667
  if (!value) {
732
- _this6._uiEventStore.closeDialog(dailogKey);
668
+ _this5._uiEventStore.closeConfirm(dailogKey);
733
669
  }
734
- },
735
- localUserRole: this.localUser.userRole,
736
- leave: this.sendLeave,
737
- isLocked: false,
738
- hasAssignHostBeforeLeavingPermission: this.hasAssignHostBeforeLeavingPermission,
739
- hasEndRoomPermission: this.hasEndRoomPermission,
740
- keepPhoneAudioConnection: this.keepPhoneAudioConnection,
741
- isPstnUser: this.isPstnUser,
742
- remoteUsers: this.remoteUsers,
743
- end: this.sendEnd,
744
- assignHost: this.sendAssign,
745
- setHeight: function setHeight() {
746
- _this6._uiEventStore.sendEvent(_constant.UIAction.SET_DIALOG_BOUNDS, {
747
- height: 230
748
- });
749
670
  }
750
671
  }),
751
672
  onCancel: function onCancel() {
752
- _this6._uiEventStore.closeDialog(dailogKey);
673
+ _this5._uiEventStore.closeConfirm(dailogKey);
753
674
  },
754
675
  showCancel: false,
755
676
  showOk: false
756
677
  });
757
678
  }
758
679
  }, {
759
- key: "getCurrentSharingWorkArea",
760
- value: function getCurrentSharingWorkArea() {
761
- var _appWindow$bounds$x, _appWindow$bounds, _appWindow$bounds$y, _appWindow$bounds2;
762
- var currentShareId = this.currentShareId,
763
- currentShareType = this.currentShareType,
764
- allApplicationWindows = this.allApplicationWindows;
765
- var _window$screen = window.screen,
766
- availWidth = _window$screen.availWidth,
767
- availHeight = _window$screen.availHeight;
768
- var displays = window.runtime.screen.getAllDisplays();
769
- var isDisplay = currentShareType === _type.AgoraRtcScreenCaptureType.SCREEN;
770
- var appWindow = allApplicationWindows.find(function (app) {
771
- return app.id === currentShareId;
680
+ key: "release",
681
+ value: function release() {
682
+ this._disposers.forEach(function (disposer) {
683
+ return disposer();
772
684
  });
773
- var nearDisplay = window.runtime.screen.getDisplayNearestPoint({
774
- x: (_appWindow$bounds$x = appWindow === null || appWindow === void 0 || (_appWindow$bounds = appWindow.bounds) === null || _appWindow$bounds === void 0 ? void 0 : _appWindow$bounds.x) !== null && _appWindow$bounds$x !== void 0 ? _appWindow$bounds$x : 0,
775
- y: (_appWindow$bounds$y = appWindow === null || appWindow === void 0 || (_appWindow$bounds2 = appWindow.bounds) === null || _appWindow$bounds2 === void 0 ? void 0 : _appWindow$bounds2.y) !== null && _appWindow$bounds$y !== void 0 ? _appWindow$bounds$y : 0
776
- });
777
- var dataStruct = {
778
- bounds: {
779
- x: 0,
780
- y: 0,
781
- width: availWidth,
782
- height: availHeight
783
- },
784
- id: 0,
785
- workArea: {
786
- y: 0
787
- }
788
- };
789
- var _ref4 = (isDisplay ? displays.find(function (display, index) {
790
- var id = (0, _platform.isWindows)() ? index : display.id;
791
- return id === Number(currentShareId);
792
- }) : nearDisplay) || dataStruct,
793
- _ref4$bounds = _ref4.bounds,
794
- x = _ref4$bounds.x,
795
- y = _ref4$bounds.y,
796
- width = _ref4$bounds.width,
797
- height = _ref4$bounds.height,
798
- displayId = _ref4.id,
799
- availTop = _ref4.workArea.y;
800
- this.currentShareDisplayId = displayId;
801
- return {
802
- x: x,
803
- y: y,
804
- width: width,
805
- height: height,
806
- displayId: displayId,
807
- availTop: availTop
808
- };
685
+ this._disposers = [];
686
+ this._streamControl.removeObserver(this._streamObserver);
687
+ this._userControl.removeObserver(this._userObserver);
688
+ this._roomControl.getBoardControl().removeObserver(this._boardObserver);
689
+ this._roomControl.removeObserver(this._roomObserver);
690
+ }
691
+ }, {
692
+ key: "_resetMessageCount",
693
+ value: function _resetMessageCount() {
694
+ this.newMessageCount = (0, _defineProperty2["default"])({}, _type2.FcrRoomType.Mainroom, 0);
809
695
  }
810
696
  }, {
811
697
  key: "_handleStreamUpdate",
812
698
  value: function _handleStreamUpdate() {
813
699
  var streams = this._streamControl.getStreamsByUserId(this.localUser.userId);
814
- var pstnStream = streams.find(function (_ref5) {
815
- var connectorType = _ref5.connectorType;
700
+ var pstnStream = streams.find(function (_ref4) {
701
+ var connectorType = _ref4.connectorType;
816
702
  return connectorType === _fcrCore.FcrRoomConnectorType.PSTN;
817
703
  });
818
704
  this.isPstnUser = !!pstnStream;
@@ -820,13 +706,13 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
820
706
  }, {
821
707
  key: "_handleRemoteUsersJoined",
822
708
  value: function _handleRemoteUsersJoined(roomId, events) {
823
- var _this7 = this;
709
+ var _this6 = this;
824
710
  var modifiedUsers = events.map(function (e) {
825
711
  return e.modifiedUser;
826
712
  });
827
713
  var users = (0, _toConsumableArray2["default"])(this.users);
828
714
  modifiedUsers.forEach(function (user) {
829
- var userIndex = _this7.users.findIndex(function (u) {
715
+ var userIndex = _this6.users.findIndex(function (u) {
830
716
  return u.userId === user.userId;
831
717
  });
832
718
  if (userIndex !== -1) {
@@ -840,13 +726,13 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
840
726
  }, {
841
727
  key: "_handleRemoteUsersLeft",
842
728
  value: function _handleRemoteUsersLeft(roomId, events) {
843
- var _this8 = this;
729
+ var _this7 = this;
844
730
  var modifiedUsers = events.map(function (e) {
845
731
  return e.modifiedUser;
846
732
  });
847
733
  var users = (0, _toConsumableArray2["default"])(this.users);
848
734
  modifiedUsers.forEach(function (user) {
849
- var userIndex = _this8.users.findIndex(function (u) {
735
+ var userIndex = _this7.users.findIndex(function (u) {
850
736
  return u.userId === user.userId;
851
737
  });
852
738
  if (userIndex !== -1) {
@@ -872,25 +758,25 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
872
758
  }]);
873
759
  }();
874
760
  _ControlBarStore = ControlBarStore;
875
- var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_ControlBarStore, [[_leaveConfirmRefDecs, 17, "leaveConfirmRef"], [_mobx.observable, 1, "shareWithAudio"], [_mobx.observable, 1, "shareAudioProcessingChannel"], [_mobx.observable, 1, "currentShareId"], [_mobx.observable, 1, "currentShareType"], [_mobx.observable, 1, "cloudRecordingState"], [_mobx.observable, 1, "localUserRole"], [_mobx.observable, 1, "isHost"], [_mobx.observable, 1, "roomDuration"], [_mobx.observable, 1, "startTime"], [_mobx.observable, 1, "playUrl"], [_mobx.observable, 1, "liveStreamingState"], [_mobx.observable, 1, "allApplicationWindows"], [_mobx.observable, 1, "roomInfo"], [_mobx.observable, 1, "isShowMeetingDetailPortal"], [_mobx.observable, 1, "users"], [_mobx.observable, 1, "isPstnUser"], [_mobx.observable, 1, "isMuteAudio"], [_mobx.observable, 1, "hiddenShareActionNav"], [_mobx.observable, 1, "boardOwnerUser"], [_mobx.observable, 1, "meetingId"], [_mobx.observable, 1, "currentShareDisplayId"], [_mobx.computed, 3, "hasSecurityPermission"], [_mobx.computed, 3, "hasStartCloudRecordingPermission"], [_mobx.computed, 3, "hasStopLiveStreamingPermission"], [_mobx.computed, 3, "hasGetLiveStreamingUrlPermission"], [_mobx.computed, 3, "hasStartLiveStreamingPermission"], [_mobx.computed, 3, "hasAssignHostBeforeLeavingPermission"], [_mobx.computed, 3, "hasEndRoomPermission"], [_initControlBarDecs, 18, "initControlBar"], [_setControlBarWindowBoundsDecs, 18, "setControlBarWindowBounds"], [_updateCurrentShareContentDecs, 18, "updateCurrentShareContent"], [_setLocalUserRoleDecs, 18, "setLocalUserRole"], [_setShareWithAudioStateDecs, 18, "setShareWithAudioState"], [_createNewShareDecs, 18, "createNewShare"], [_handlerStopShareDecs, 18, "handlerStopShare"], [_setShareAudioProcessingChannelDecs, 18, "setShareAudioProcessingChannel"], [_handleMoreClickDecs, 18, "handleMoreClick"], [_decorator.bound, 2, "openLiveStreamingDialog"], [_pauseCloudRecordingDecs, 2, "pauseCloudRecording"], [_resumeCloudRecordingDecs, 2, "resumeCloudRecording"], [_stopCloudRecordingDecs, 2, "stopCloudRecording"], [_decorator.bound, 2, "startCloudRecording"], [_decorator.bound, 2, "getCoordinate"], [_showToastDecs, 18, "showToast"], [_setShowMeetingDetailPortalDecs, 18, "setShowMeetingDetailPortal"], [_setEnableWaitingRoomDecs, 18, "setEnableWaitingRoom"], [_sendLeaveDecs, 18, "sendLeave"], [_sendEndDecs, 18, "sendEnd"], [_keepPhoneAudioConnectionDecs, 18, "keepPhoneAudioConnection"], [_sendAssignDecs, 18, "sendAssign"], [_handleLeaveRoomDecs, 18, "handleLeaveRoom"], [_getCurrentSharingWorkAreaDecs, 18, "getCurrentSharingWorkArea"], [_handleRemoteUsersJoinedDecs, 18, "_handleRemoteUsersJoined"], [_handleRemoteUsersLeftDecs, 18, "_handleRemoteUsersLeft"], [_handleUserInfoUpdatedDecs, 18, "_handleUserInfoUpdated"]], []).e, 23);
761
+ var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_ControlBarStore, [[_leaveConfirmRefDecs, 17, "leaveConfirmRef"], [_mobx.observable, 1, "shareWithAudio"], [_mobx.observable, 1, "shareAudioProcessingChannel"], [_mobx.observable, 1, "currentShareId"], [_mobx.observable, 1, "currentShareType"], [_mobx.observable, 1, "currentShareBounds"], [_mobx.observable, 1, "cloudRecordingState"], [_mobx.observable, 1, "localUserRole"], [_mobx.observable, 1, "isHost"], [_mobx.observable, 1, "roomDuration"], [_mobx.observable, 1, "startTime"], [_mobx.observable, 1, "playUrl"], [_mobx.observable, 1, "liveStreamingState"], [_mobx.observable, 1, "allApplicationWindows"], [_mobx.observable, 1, "roomInfo"], [_mobx.observable, 1, "isShowMeetingDetailPortal"], [_mobx.observable, 1, "users"], [_mobx.observable, 1, "isPstnUser"], [_mobx.observable, 1, "hiddenShareActionNav"], [_mobx.observable, 1, "boardOwnerUser"], [_mobx.observable, 1, "meetingId"], [_mobx.observable, 1, "currentShareDisplayId"], [_mobx.computed, 3, "hasSecurityPermission"], [_mobx.computed, 3, "hasStartCloudRecordingPermission"], [_mobx.computed, 3, "hasStopLiveStreamingPermission"], [_mobx.computed, 3, "hasGetLiveStreamingUrlPermission"], [_mobx.computed, 3, "hasStartLiveStreamingPermission"], [_mobx.computed, 3, "hasAssignHostBeforeLeavingPermission"], [_mobx.computed, 3, "hasEndRoomPermission"], [_initControlBarDecs, 18, "initControlBar"], [_updateCurrentShareContentDecs, 18, "updateCurrentShareContent"], [_setLocalUserRoleDecs, 18, "setLocalUserRole"], [_setShareWithAudioStateDecs, 18, "setShareWithAudioState"], [_createNewShareDecs, 18, "createNewShare"], [_handlerStopShareDecs, 18, "handlerStopShare"], [_setShareAudioProcessingChannelDecs, 18, "setShareAudioProcessingChannel"], [_handleMoreClickDecs, 18, "handleMoreClick"], [_decorator.bound, 2, "openLiveStreamingDialog"], [_pauseCloudRecordingDecs, 2, "pauseCloudRecording"], [_resumeCloudRecordingDecs, 2, "resumeCloudRecording"], [_stopCloudRecordingDecs, 2, "stopCloudRecording"], [_decorator.bound, 2, "startCloudRecording"], [_showToastDecs, 18, "showToast"], [_setShowMeetingDetailPortalDecs, 18, "setShowMeetingDetailPortal"], [_setEnableWaitingRoomDecs, 18, "setEnableWaitingRoom"], [_handleLeaveRoomDecs, 18, "handleLeaveRoom"], [_resetMessageCountDecs, 18, "_resetMessageCount"], [_decorator.bound, 2, "_handleStreamUpdate"], [_handleRemoteUsersJoinedDecs, 18, "_handleRemoteUsersJoined"], [_handleRemoteUsersLeftDecs, 18, "_handleRemoteUsersLeft"], [_handleUserInfoUpdatedDecs, 18, "_handleUserInfoUpdated"]], []).e, 23);
876
762
  _init_leaveConfirmRef = _applyDecs$e[0];
877
763
  _init_shareWithAudio = _applyDecs$e[1];
878
764
  _init_shareAudioProcessingChannel = _applyDecs$e[2];
879
765
  _init_currentShareId = _applyDecs$e[3];
880
766
  _init_currentShareType = _applyDecs$e[4];
881
- _init_cloudRecordingState = _applyDecs$e[5];
882
- _init_localUserRole = _applyDecs$e[6];
883
- _init_isHost = _applyDecs$e[7];
884
- _init_roomDuration = _applyDecs$e[8];
885
- _init_startTime = _applyDecs$e[9];
886
- _init_playUrl = _applyDecs$e[10];
887
- _init_liveStreamingState = _applyDecs$e[11];
888
- _init_allApplicationWindows = _applyDecs$e[12];
889
- _init_roomInfo = _applyDecs$e[13];
890
- _init_isShowMeetingDetailPortal = _applyDecs$e[14];
891
- _init_users = _applyDecs$e[15];
892
- _init_isPstnUser = _applyDecs$e[16];
893
- _init_isMuteAudio = _applyDecs$e[17];
767
+ _init_currentShareBounds = _applyDecs$e[5];
768
+ _init_cloudRecordingState = _applyDecs$e[6];
769
+ _init_localUserRole = _applyDecs$e[7];
770
+ _init_isHost = _applyDecs$e[8];
771
+ _init_roomDuration = _applyDecs$e[9];
772
+ _init_startTime = _applyDecs$e[10];
773
+ _init_playUrl = _applyDecs$e[11];
774
+ _init_liveStreamingState = _applyDecs$e[12];
775
+ _init_allApplicationWindows = _applyDecs$e[13];
776
+ _init_roomInfo = _applyDecs$e[14];
777
+ _init_isShowMeetingDetailPortal = _applyDecs$e[15];
778
+ _init_users = _applyDecs$e[16];
779
+ _init_isPstnUser = _applyDecs$e[17];
894
780
  _init_hiddenShareActionNav = _applyDecs$e[18];
895
781
  _init_boardOwnerUser = _applyDecs$e[19];
896
782
  _init_meetingId = _applyDecs$e[20];