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
@@ -6,11 +6,11 @@ Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
8
  exports.MeetingDetails = void 0;
9
- require("core-js/modules/es.array.concat.js");
9
+ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
10
+ require("core-js/modules/es.date.to-string.js");
10
11
  require("core-js/modules/es.regexp.exec.js");
11
12
  require("core-js/modules/es.string.replace.js");
12
13
  require("core-js/modules/web.timers.js");
13
- var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
14
14
  var _button = require("agora-ui-foundation/lib/components/button");
15
15
  var _icon = require("agora-ui-foundation/lib/components/icon");
16
16
  var _type = require("agora-ui-foundation/lib/components/icon/type");
@@ -23,6 +23,7 @@ var _store = require("./store");
23
23
  require("./meeting-detail.css");
24
24
  var _classnames = _interopRequireDefault(require("classnames"));
25
25
  var _meetingTime = require("../../hooks/meeting-time");
26
+ var _meetingDetail2 = require("../../utilities/meeting-detail");
26
27
  var _jsxRuntime = require("react/jsx-runtime");
27
28
  var CopyState = /*#__PURE__*/function (CopyState) {
28
29
  CopyState[CopyState["COPYINIT"] = 1] = "COPYINIT";
@@ -31,13 +32,25 @@ var CopyState = /*#__PURE__*/function (CopyState) {
31
32
  CopyState[CopyState["FAILED"] = 4] = "FAILED";
32
33
  return CopyState;
33
34
  }(CopyState || {});
35
+ var isNextDayAfterDuration = function isNextDayAfterDuration(startTimeStamp, duration) {
36
+ var futureTimestamp = startTimeStamp + duration;
37
+ var currentDate = new Date(startTimeStamp);
38
+ var futureDate = new Date(futureTimestamp);
39
+ var currentYear = currentDate.getFullYear();
40
+ var currentMonth = currentDate.getMonth();
41
+ var currentDay = currentDate.getDate();
42
+ var futureYear = futureDate.getFullYear();
43
+ var futureMonth = futureDate.getMonth();
44
+ var futureDay = futureDate.getDate();
45
+ return futureYear > currentYear || futureYear === currentYear && futureMonth > currentMonth || futureYear === currentYear && futureMonth === currentMonth && futureDay > currentDay;
46
+ };
34
47
  var MeetingDetails = exports.MeetingDetails = (0, _mobxReact.observer)(function () {
35
48
  var t = (0, _i18n.useI18n)();
36
49
  var copyTimer = null;
37
50
  var _useState = (0, _react.useState)({
38
51
  copyState: CopyState.COPYINIT,
39
52
  copyIcon: _type.FcrIconType.FCR_LINK,
40
- copyText: t('fmt_sharing_button_copydetailed')
53
+ copyText: t('fmt_popup_button_meetinginfor')
41
54
  }),
42
55
  _useState2 = (0, _slicedToArray2["default"])(_useState, 2),
43
56
  copyInfoState = _useState2[0],
@@ -62,14 +75,8 @@ var MeetingDetails = exports.MeetingDetails = (0, _mobxReact.observer)(function
62
75
  }, []);
63
76
  if (!roomInfo || !localUser) return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {});
64
77
  var displayMeetingId = (0, _tools.renderMeetingId)(meetingId, roomInfo.roomId);
65
- var detailText = t('fmt_link_invitation', {
66
- reason1: localUser.userName,
67
- reason2: roomInfo === null || roomInfo === void 0 ? void 0 : roomInfo.roomName,
68
- // reason3: dayjs(scheduleInfo?.startTime ?? 0).format('YYYY-MM-DD HH:mm:ss'),
69
- reason3: '',
70
- reason4: shareLink,
71
- reason5: !!password ? "".concat(t('fmt_meeting_creatpage_label_password'), ": ").concat(password) : ''
72
- });
78
+ var duration = (scheduleInfo === null || scheduleInfo === void 0 ? void 0 : scheduleInfo.duration) || 0;
79
+ var detailText = (0, _meetingDetail2.generateMeetingDetail)(localUser.userName, roomInfo.roomName, (0, _meetingDetail2.generateMeetingDuration)((scheduleInfo === null || scheduleInfo === void 0 ? void 0 : scheduleInfo.startTime) || 0, duration), shareLink, displayMeetingId, password !== null && password !== void 0 ? password : '');
73
80
  function handleCopyMeetingId(copyContent) {
74
81
  if (!copyContent) return;
75
82
  var content = meetingId ? copyContent : copyContent.replace(/\s+/g, '');
@@ -111,7 +118,7 @@ var MeetingDetails = exports.MeetingDetails = (0, _mobxReact.observer)(function
111
118
  });
112
119
  });
113
120
  }
114
- function handlerCopyMeetingDetail(detailText) {
121
+ function handlerCopyMeetingDetail() {
115
122
  if (copyInfoState.copyState !== CopyState.COPYINIT) {
116
123
  return;
117
124
  }
@@ -147,7 +154,7 @@ var MeetingDetails = exports.MeetingDetails = (0, _mobxReact.observer)(function
147
154
  setCopyInfoState({
148
155
  copyState: CopyState.COPYINIT,
149
156
  copyIcon: _type.FcrIconType.FCR_LINK,
150
- copyText: t('fmt_sharing_button_copydetailed')
157
+ copyText: t('fmt_popup_button_meetinginfor')
151
158
  });
152
159
  }, 1000);
153
160
  }
@@ -181,30 +188,32 @@ var MeetingDetails = exports.MeetingDetails = (0, _mobxReact.observer)(function
181
188
  size: 20
182
189
  })
183
190
  })]
184
- }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
191
+ }), !!password && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
185
192
  className: "meeting-details__content-share-link",
186
193
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
187
- children: t('fmt_sharing_label_invitationlink')
194
+ children: t('fmt_meeting_mainwindow_topbar_left_popup_label_meeting_password', {
195
+ reason1: ''
196
+ })
188
197
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
189
- children: shareLink
198
+ children: password
190
199
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
191
200
  onClick: function onClick() {
192
- return handlerCopyMeetingShareLink(shareLink);
201
+ return handleCopyMeetingPassword(password !== null && password !== void 0 ? password : '');
193
202
  },
194
203
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
195
204
  type: _type.FcrIconType.FCR_COPY_ICON,
196
205
  size: 20
197
206
  })
198
207
  })]
199
- }), !!password && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
208
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
200
209
  className: "meeting-details__content-share-link",
201
210
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
202
- children: t('fmt_meeting_creatpage_label_password')
211
+ children: t('fmt_sharing_label_invitationlink')
203
212
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
204
- children: password
213
+ children: shareLink
205
214
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
206
215
  onClick: function onClick() {
207
- return handleCopyMeetingPassword(password !== null && password !== void 0 ? password : '');
216
+ return handlerCopyMeetingShareLink(shareLink);
208
217
  },
209
218
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
210
219
  type: _type.FcrIconType.FCR_COPY_ICON,
@@ -217,9 +226,7 @@ var MeetingDetails = exports.MeetingDetails = (0, _mobxReact.observer)(function
217
226
  children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_button.FcrButton, {
218
227
  size: "XS",
219
228
  shape: "rounded",
220
- onClick: function onClick() {
221
- return handlerCopyMeetingDetail(detailText);
222
- },
229
+ onClick: handlerCopyMeetingDetail,
223
230
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
224
231
  className: (0, _classnames["default"])({
225
232
  'meeting-details__reset-icon': copyInfoState.copyState === CopyState.COPYING
@@ -95,7 +95,7 @@ var MeetingNetworkState = exports.MeetingNetworkState = (0, _mobxReact.observer)
95
95
  onClick: function onClick() {
96
96
  openDeviceSettingDialog({
97
97
  activeTab: _store2.DeviceSettingTab.STATE,
98
- highlightSelector: _constant.HighlightElement.NETWORK_STATE
98
+ highlightSelector: _constant.FcrUIHighlightElement.NETWORK_STATE
99
99
  });
100
100
  },
101
101
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
@@ -1,9 +1,13 @@
1
1
  import { FcrRecordingState, FcrRoomInfo, FcrRoomSchedule, FcrUserInfo } from 'fcr-core/lib/type';
2
- import { FcrUIEventStore, FcrUIToastParams } from '../../common/event-store';
2
+ import { FcrUIEventProvider } from '../../providers/event-provider';
3
3
  import { DeviceSettingDialogConfig } from '../setting/store';
4
- import { FcrSecurityStore } from '../../common/security-store';
5
- import { FcrUISceneConfig } from '../../type';
4
+ import { FcrUISceneConfig, FcrUIToastParams } from '../../type';
6
5
  import { FcrMainRoomControl, FcrWaitingRoomControl } from 'fcr-core/lib/room-control/type';
6
+ import { FcrUIPrivilegeProvider } from '../../providers/privilege-provider';
7
+ import { FcrUISharedLayoutDataSource } from '../../shared-data-source/layout-data';
8
+ import { FcrUIVideoWindowLayoutType } from '../layout/type';
9
+ import { FcrUIRoomProvider } from '../../providers/room-provider';
10
+ import { FcrUIVideoWindowDataSource } from '../../shared-data-source/video-window';
7
11
  export type NetworkStatus = 'excellent' | 'average' | 'poor' | 'unknown';
8
12
  export declare const GALLERY_MIN_SIZE = 825;
9
13
  export default class StateBarStore {
@@ -13,6 +17,9 @@ export default class StateBarStore {
13
17
  private _uiEventStore;
14
18
  private _securityStore;
15
19
  private _config;
20
+ private _roomProvider;
21
+ private _sharedLayoutDataSource;
22
+ private _sharedVideoWindowDataSource;
16
23
  private _roomObserver;
17
24
  accessor networkStatus: NetworkStatus;
18
25
  accessor localUser: FcrUserInfo | undefined;
@@ -29,8 +36,6 @@ export default class StateBarStore {
29
36
  };
30
37
  accessor attendeeCount: number;
31
38
  accessor asideOpenedItem: Set<string>;
32
- accessor layoutSize: number;
33
- accessor layoutView: 'speaker' | 'gallery';
34
39
  accessor cloudRecordingState: FcrRecordingState;
35
40
  accessor meetingId: string | undefined;
36
41
  get isUserHost(): boolean;
@@ -40,22 +45,27 @@ export default class StateBarStore {
40
45
  get hasStopLiveStreamingPermission(): boolean;
41
46
  get hasGetLiveStreamingLinkPermission(): boolean;
42
47
  get password(): string | undefined;
43
- constructor({ roomControl, uiEventStore, securityStore, config, parameters, }: {
48
+ get layoutSize(): number;
49
+ get layoutView(): import("../../type").FcrUIVideoWindowLayoutType;
50
+ get asideLayout(): import("../../type").FcrUIUpdateAsideParams;
51
+ constructor({ roomControl, uiEventStore, securityStore, config, parameters, sharedLayoutDataSource, roomProvider, sharedVideoWindowDataSource, }: {
44
52
  roomControl: FcrMainRoomControl | FcrWaitingRoomControl;
45
- uiEventStore: FcrUIEventStore;
46
- securityStore: FcrSecurityStore;
53
+ uiEventStore: FcrUIEventProvider;
54
+ securityStore: FcrUIPrivilegeProvider;
47
55
  config: FcrUISceneConfig;
48
56
  parameters?: Record<string, unknown>;
57
+ sharedLayoutDataSource: FcrUISharedLayoutDataSource;
58
+ roomProvider: FcrUIRoomProvider;
59
+ sharedVideoWindowDataSource: FcrUIVideoWindowDataSource;
49
60
  });
50
61
  isLockRoomEnabled(): boolean;
51
62
  setNetworkStatus(networkStatus: NetworkStatus): void;
52
63
  setLocalUser(localUser: FcrUserInfo): void;
53
64
  setRoomInfo(roomInfo: FcrRoomInfo | undefined): void;
54
65
  setScheduleInfo(scheduleInfo: FcrRoomSchedule): void;
55
- toggleLayout(layout: 'speaker' | 'gallery'): void;
66
+ toggleLayout(layout: FcrUIVideoWindowLayoutType): void;
56
67
  toggleLayoutBarLock(state: boolean): void;
57
68
  openVideoWindowDialog(): void;
58
- refreshLayoutSize(size: 16 | 25): void;
59
69
  release(): void;
60
70
  openDeviceSettingDialog(arg?: Partial<DeviceSettingDialogConfig>): void;
61
71
  stopLiveStreamingDialog(): void;
@@ -45,7 +45,6 @@ require("core-js/modules/es.object.to-string.js");
45
45
  require("core-js/modules/es.set.js");
46
46
  require("core-js/modules/es.string.iterator.js");
47
47
  require("core-js/modules/es.weak-map.js");
48
- require("core-js/modules/esnext.async-iterator.for-each.js");
49
48
  require("core-js/modules/esnext.iterator.constructor.js");
50
49
  require("core-js/modules/esnext.iterator.for-each.js");
51
50
  require("core-js/modules/esnext.set.add-all.js");
@@ -86,12 +85,11 @@ var _store = require("../setting/store");
86
85
  var _decorator = require("agora-foundation/lib/decorator");
87
86
  var _constant = require("../../utilities/constant");
88
87
  var _debounce = _interopRequireDefault(require("lodash/debounce"));
89
- var _components = require("../layout/components");
90
- var _parameters = require("../../utilities/parameters");
91
88
  var _type2 = require("fcr-core/lib/room-control/type");
92
89
  var _react = require("react");
90
+ var _view = require("../layout/view");
93
91
  var _StateBarStore;
94
- var _initProto, _init_networkStatus, _init_localUser, _init_roomInfo, _init_scheduleInfo, _init_isLiveStreaming, _init_liveStreamingPlayUrl, _init_galleryWidth, _init_browserWidth, _init_networkStats, _init_attendeeCount, _init_asideOpenedItem, _init_layoutSize, _init_layoutView, _init_cloudRecordingState, _init_meetingId, _setNetworkStatusDecs, _setLocalUserDecs, _setRoomInfoDecs, _setScheduleInfoDecs, _stopLiveStreamingDialogDecs, _uiEventsDecs, _setBrowserWidthDecs, _onNetworkStatsUpdatedDecs, _onLiveStreamingStateUpdatedDecs, _ref;
92
+ var _initProto, _init_networkStatus, _init_localUser, _init_roomInfo, _init_scheduleInfo, _init_isLiveStreaming, _init_liveStreamingPlayUrl, _init_galleryWidth, _init_browserWidth, _init_networkStats, _init_attendeeCount, _init_asideOpenedItem, _init_cloudRecordingState, _init_meetingId, _setNetworkStatusDecs, _setLocalUserDecs, _setRoomInfoDecs, _setScheduleInfoDecs, _stopLiveStreamingDialogDecs, _uiEventsDecs, _setBrowserWidthDecs, _onNetworkStatsUpdatedDecs, _onLiveStreamingStateUpdatedDecs, _ref;
95
93
  function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
96
94
  function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
97
95
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
@@ -116,19 +114,19 @@ var _J = /*#__PURE__*/new WeakMap();
116
114
  var _K = /*#__PURE__*/new WeakMap();
117
115
  var _L = /*#__PURE__*/new WeakMap();
118
116
  var _M = /*#__PURE__*/new WeakMap();
119
- var _N = /*#__PURE__*/new WeakMap();
120
- var _O = /*#__PURE__*/new WeakMap();
121
117
  _ref = (_setNetworkStatusDecs = [_mobx.action, _mobx.action.bound], _setLocalUserDecs = [_mobx.action, _mobx.action.bound], _setRoomInfoDecs = [_mobx.action, _mobx.action.bound], _setScheduleInfoDecs = [_mobx.action, _mobx.action.bound], _stopLiveStreamingDialogDecs = [_mobx.action, _mobx.action.bound], _uiEventsDecs = [_mobx.action, _mobx.action.bound], _setBrowserWidthDecs = [_mobx.action, _mobx.action.bound], _onNetworkStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onLiveStreamingStateUpdatedDecs = [_mobx.action, _mobx.action.bound], "logger");
122
118
  var StateBarStore = exports["default"] = /*#__PURE__*/function () {
123
119
  function StateBarStore(_ref2) {
124
- var _defaultVideoGalleryS,
125
- _this$_roomControl$ge,
120
+ var _this$_roomControl$ge,
126
121
  _this = this;
127
122
  var roomControl = _ref2.roomControl,
128
123
  uiEventStore = _ref2.uiEventStore,
129
124
  securityStore = _ref2.securityStore,
130
125
  config = _ref2.config,
131
- parameters = _ref2.parameters;
126
+ parameters = _ref2.parameters,
127
+ sharedLayoutDataSource = _ref2.sharedLayoutDataSource,
128
+ roomProvider = _ref2.roomProvider,
129
+ sharedVideoWindowDataSource = _ref2.sharedVideoWindowDataSource;
132
130
  (0, _classCallCheck2["default"])(this, StateBarStore);
133
131
  (0, _defineProperty2["default"])(this, _ref, (_initProto(this), (0, _logger.getLogger)()));
134
132
  (0, _defineProperty2["default"])(this, "_disposer", []);
@@ -153,21 +151,19 @@ var StateBarStore = exports["default"] = /*#__PURE__*/function () {
153
151
  }));
154
152
  _classPrivateFieldInitSpec(this, _J, _init_attendeeCount(this));
155
153
  _classPrivateFieldInitSpec(this, _K, _init_asideOpenedItem(this, new Set()));
156
- _classPrivateFieldInitSpec(this, _L, _init_layoutSize(this));
157
- _classPrivateFieldInitSpec(this, _M, _init_layoutView(this, 'gallery'));
158
- _classPrivateFieldInitSpec(this, _N, _init_cloudRecordingState(this, _type.FcrRecordingState.Stopped));
159
- _classPrivateFieldInitSpec(this, _O, _init_meetingId(this, undefined));
154
+ // @observable accessor layoutSize: number;
155
+ // @observable accessor layoutView: 'speaker' | 'gallery' = 'gallery';
156
+ _classPrivateFieldInitSpec(this, _L, _init_cloudRecordingState(this, _type.FcrRecordingState.Stopped));
157
+ _classPrivateFieldInitSpec(this, _M, _init_meetingId(this, undefined));
160
158
  this._config = config;
161
159
  this._roomControl = roomControl;
162
160
  this._uiEventStore = uiEventStore;
163
161
  this._securityStore = securityStore;
162
+ this._roomProvider = roomProvider;
164
163
  this.attendeeCount = 0;
165
164
  this.isLiveStreaming = this._roomControl.getLiveStreamingState() === _type.FcrLiveStreamingState.STARTED;
166
- var defaultVideoGallerySize = (0, _parameters.getDefaultVideoGallerySize)(parameters);
167
- if (defaultVideoGallerySize) {
168
- defaultVideoGallerySize = Math.min(Math.max(defaultVideoGallerySize, 16), 25);
169
- }
170
- this.layoutSize = (_defaultVideoGalleryS = defaultVideoGallerySize) !== null && _defaultVideoGalleryS !== void 0 ? _defaultVideoGalleryS : 16;
165
+ this._sharedLayoutDataSource = sharedLayoutDataSource;
166
+ this._sharedVideoWindowDataSource = sharedVideoWindowDataSource;
171
167
  this._roomControl.addObserver(this._roomObserver);
172
168
  this._uiEventStore.addObserver({
173
169
  onEvent: this._uiEvents.bind(this)
@@ -187,7 +183,23 @@ var StateBarStore = exports["default"] = /*#__PURE__*/function () {
187
183
  return _this.isLiveStreaming;
188
184
  }, this._setBrowserWidth()), (0, _mobx.reaction)(function () {
189
185
  return _this.cloudRecordingState;
190
- }, this._setBrowserWidth()), resizeDispose);
186
+ }, this._setBrowserWidth()), (0, _mobx.reaction)(function () {
187
+ return _this.asideLayout;
188
+ }, function (asideLayout) {
189
+ if (asideLayout.participant) {
190
+ _this.asideOpenedItem.add('participant');
191
+ }
192
+ if (asideLayout.participant === false) {
193
+ _this.asideOpenedItem["delete"]('participant');
194
+ }
195
+ if (asideLayout.chat) {
196
+ _this.asideOpenedItem.add('chat');
197
+ }
198
+ if (asideLayout.chat === false) {
199
+ _this.asideOpenedItem["delete"]('chat');
200
+ }
201
+ _this._setBrowserWidth(window.innerWidth)(); // 打开或关闭边栏
202
+ }), resizeDispose);
191
203
  }
192
204
  return (0, _createClass2["default"])(StateBarStore, [{
193
205
  key: "networkStatus",
@@ -278,7 +290,7 @@ var StateBarStore = exports["default"] = /*#__PURE__*/function () {
278
290
  _classPrivateFieldSet(_K, this, v);
279
291
  }
280
292
  }, {
281
- key: "layoutSize",
293
+ key: "cloudRecordingState",
282
294
  get: function get() {
283
295
  return _classPrivateFieldGet(_L, this);
284
296
  },
@@ -286,29 +298,13 @@ var StateBarStore = exports["default"] = /*#__PURE__*/function () {
286
298
  _classPrivateFieldSet(_L, this, v);
287
299
  }
288
300
  }, {
289
- key: "layoutView",
301
+ key: "meetingId",
290
302
  get: function get() {
291
303
  return _classPrivateFieldGet(_M, this);
292
304
  },
293
305
  set: function set(v) {
294
306
  _classPrivateFieldSet(_M, this, v);
295
307
  }
296
- }, {
297
- key: "cloudRecordingState",
298
- get: function get() {
299
- return _classPrivateFieldGet(_N, this);
300
- },
301
- set: function set(v) {
302
- _classPrivateFieldSet(_N, this, v);
303
- }
304
- }, {
305
- key: "meetingId",
306
- get: function get() {
307
- return _classPrivateFieldGet(_O, this);
308
- },
309
- set: function set(v) {
310
- _classPrivateFieldSet(_O, this, v);
311
- }
312
308
  }, {
313
309
  key: "isUserHost",
314
310
  get: function get() {
@@ -347,6 +343,24 @@ var StateBarStore = exports["default"] = /*#__PURE__*/function () {
347
343
  var _this$_roomControl$ge3;
348
344
  return (_this$_roomControl$ge3 = this._roomControl.getRoomInfo()) === null || _this$_roomControl$ge3 === void 0 ? void 0 : _this$_roomControl$ge3.password;
349
345
  }
346
+ }, {
347
+ key: "layoutSize",
348
+ get: function get() {
349
+ var _this$_sharedLayoutDa;
350
+ return (_this$_sharedLayoutDa = this._sharedLayoutDataSource) === null || _this$_sharedLayoutDa === void 0 ? void 0 : _this$_sharedLayoutDa.layoutSize;
351
+ }
352
+ }, {
353
+ key: "layoutView",
354
+ get: function get() {
355
+ var _this$_sharedVideoWin;
356
+ return (_this$_sharedVideoWin = this._sharedVideoWindowDataSource) === null || _this$_sharedVideoWin === void 0 ? void 0 : _this$_sharedVideoWin.layoutType;
357
+ }
358
+ }, {
359
+ key: "asideLayout",
360
+ get: function get() {
361
+ var _this$_sharedLayoutDa2;
362
+ return (_this$_sharedLayoutDa2 = this._sharedLayoutDataSource) === null || _this$_sharedLayoutDa2 === void 0 ? void 0 : _this$_sharedLayoutDa2.asideLayout;
363
+ }
350
364
  }, {
351
365
  key: "isLockRoomEnabled",
352
366
  value: function isLockRoomEnabled() {
@@ -387,25 +401,17 @@ var StateBarStore = exports["default"] = /*#__PURE__*/function () {
387
401
  }, {
388
402
  key: "toggleLayout",
389
403
  value: function toggleLayout(layout) {
390
- this._uiEventStore.toggleLayout({
391
- layout: layout,
392
- manual: true
393
- });
404
+ this._sharedVideoWindowDataSource.setLayout(layout, true);
394
405
  }
395
406
  }, {
396
407
  key: "toggleLayoutBarLock",
397
408
  value: function toggleLayoutBarLock(state) {
398
- this._uiEventStore.sendEvent(_constant.UIAction.TOGGLE_LAYOUT_BAR_LOCK, state);
409
+ this._uiEventStore.sendEvent(_constant.FcrUIAction.TOGGLE_LAYOUT_BAR_LOCK, state);
399
410
  }
400
411
  }, {
401
412
  key: "openVideoWindowDialog",
402
413
  value: function openVideoWindowDialog() {
403
- this._uiEventStore.openDialog(_constant.DialogKey.VIDEO_WINDOW);
404
- }
405
- }, {
406
- key: "refreshLayoutSize",
407
- value: function refreshLayoutSize(size) {
408
- this.layoutSize = size;
414
+ this._uiEventStore.openDialog(_constant.FcrUIDialogKey.VIDEO_WINDOW);
409
415
  }
410
416
  }, {
411
417
  key: "release",
@@ -418,7 +424,7 @@ var StateBarStore = exports["default"] = /*#__PURE__*/function () {
418
424
  key: "openDeviceSettingDialog",
419
425
  value: function openDeviceSettingDialog(arg) {
420
426
  var activeTab = (arg === null || arg === void 0 ? void 0 : arg.activeTab) || _store.DeviceSettingTab.VIDEO;
421
- var highlightSelector = (arg === null || arg === void 0 ? void 0 : arg.highlightSelector) || _constant.HighlightElement.VIDEO_MAX_PERSON;
427
+ var highlightSelector = (arg === null || arg === void 0 ? void 0 : arg.highlightSelector) || _constant.FcrUIHighlightElement.VIDEO_MAX_PERSON;
422
428
  this._uiEventStore.openDeviceSettingDialog({
423
429
  activeTab: activeTab,
424
430
  highlightSelector: highlightSelector
@@ -427,27 +433,27 @@ var StateBarStore = exports["default"] = /*#__PURE__*/function () {
427
433
  }, {
428
434
  key: "stopLiveStreamingDialog",
429
435
  value: function stopLiveStreamingDialog() {
430
- this._uiEventStore.stopLiveStreaming();
436
+ this._roomProvider.stopLiveStreaming();
431
437
  }
432
438
  }, {
433
439
  key: "startCloudRecording",
434
440
  value: function startCloudRecording() {
435
- this._uiEventStore.cloudRecording('start');
441
+ this._roomProvider.startCloudRecording();
436
442
  }
437
443
  }, {
438
444
  key: "pauseCloudRecording",
439
445
  value: function pauseCloudRecording() {
440
- this._uiEventStore.cloudRecording('pause');
446
+ this._roomProvider.pauseCloudRecording();
441
447
  }
442
448
  }, {
443
449
  key: "resumeCloudRecording",
444
450
  value: function resumeCloudRecording() {
445
- this._uiEventStore.cloudRecording('resume');
451
+ this._roomProvider.resumeCloudRecording();
446
452
  }
447
453
  }, {
448
454
  key: "stopCloudRecording",
449
455
  value: function stopCloudRecording() {
450
- this._uiEventStore.cloudRecording('stop');
456
+ this._roomProvider.stopCloudRecording();
451
457
  }
452
458
  }, {
453
459
  key: "getShareLink",
@@ -490,35 +496,27 @@ var StateBarStore = exports["default"] = /*#__PURE__*/function () {
490
496
  }, {
491
497
  key: "_uiEvents",
492
498
  value: function _uiEvents(action, payload) {
493
- if (action === _constant.UIAction.LAYOUT_SIZE_CHANGED) {
494
- var _ref3 = payload,
495
- size = _ref3.size;
496
- this.refreshLayoutSize(size);
497
- }
498
- if (action === _constant.UIAction.LAYOUT_CHANGED) {
499
- var _ref4 = payload,
500
- layout = _ref4.layout;
501
- this.layoutView = layout;
502
- }
503
- if (action === _constant.UIAction.ASIDE_WIDTH_CHANGED) {
499
+ if (action === _constant.FcrUIAction.ASIDE_WIDTH_CHANGED) {
504
500
  this._setBrowserWidth(window.innerWidth, payload)(); // 拖动边栏
505
501
  }
506
- if (action === _constant.UIAction.UPDATE_ASIDE) {
507
- if (payload.participant) {
508
- this.asideOpenedItem.add('participant');
509
- }
510
- if (payload.participant === false) {
511
- this.asideOpenedItem["delete"]('participant');
512
- }
513
- if (payload.chat) {
514
- this.asideOpenedItem.add('chat');
515
- }
516
- if (payload.chat === false) {
517
- this.asideOpenedItem["delete"]('chat');
518
- }
519
- this._setBrowserWidth(window.innerWidth)(); // 打开或关闭边栏
520
- }
521
- if (action === _constant.UIAction.MAIN_LIST_LENGTH_CHANGED) {
502
+
503
+ // if (action === FcrUIAction.UPDATE_ASIDE) {
504
+ // if (payload.participant) {
505
+ // this.asideOpenedItem.add('participant');
506
+ // }
507
+ // if (payload.participant === false) {
508
+ // this.asideOpenedItem.delete('participant');
509
+ // }
510
+ // if (payload.chat) {
511
+ // this.asideOpenedItem.add('chat');
512
+ // }
513
+ // if (payload.chat === false) {
514
+ // this.asideOpenedItem.delete('chat');
515
+ // }
516
+ // this._setBrowserWidth(window.innerWidth)(); // 打开或关闭边栏
517
+ // }
518
+
519
+ if (action === _constant.FcrUIAction.MAIN_LIST_LENGTH_CHANGED) {
522
520
  this.attendeeCount = payload;
523
521
  }
524
522
  }
@@ -530,7 +528,7 @@ var StateBarStore = exports["default"] = /*#__PURE__*/function () {
530
528
  var _e$target;
531
529
  var offsetWidth = _this2.isLiveStreaming && _this2.cloudRecordingState !== _type.FcrRecordingState.Stopped ? 210 : 0; // 同时打开直播和云录制会导致状态栏拥挤,所以需要针对这个情况进行计算
532
530
  var contain = (e === null || e === void 0 || (_e$target = e.target) === null || _e$target === void 0 ? void 0 : _e$target.innerWidth) || width || window.innerWidth;
533
- var needSubstact = minus || _components.MinAsideWidth;
531
+ var needSubstact = minus || _view.MinAsideWidth;
534
532
  (0, _mobx.runInAction)(function () {
535
533
  _this2.galleryWidth = minus && width ? width - offsetWidth - minus // 拖动侧边栏时的算法
536
534
  : _this2.asideOpenedItem.has('chat') || _this2.asideOpenedItem.has('participant') ? contain - needSubstact - offsetWidth // 打开或关闭侧边栏时的算法
@@ -571,7 +569,7 @@ var StateBarStore = exports["default"] = /*#__PURE__*/function () {
571
569
  }]);
572
570
  }();
573
571
  _StateBarStore = StateBarStore;
574
- var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_StateBarStore, [[_mobx.observable, 1, "networkStatus"], [_mobx.observable, 1, "localUser"], [_mobx.observable, 1, "roomInfo"], [_mobx.observable, 1, "scheduleInfo"], [_mobx.observable, 1, "isLiveStreaming"], [_mobx.observable, 1, "liveStreamingPlayUrl"], [_mobx.observable, 1, "galleryWidth"], [_mobx.observable, 1, "browserWidth"], [_mobx.observable, 1, "networkStats"], [_mobx.observable, 1, "attendeeCount"], [_mobx.observable, 1, "asideOpenedItem"], [_mobx.observable, 1, "layoutSize"], [_mobx.observable, 1, "layoutView"], [_mobx.observable, 1, "cloudRecordingState"], [_mobx.observable, 1, "meetingId"], [_mobx.computed, 3, "isUserHost"], [_mobx.computed, 3, "shouldShowMeetingTime"], [_mobx.computed, 3, "isMainRoom"], [_mobx.computed, 3, "hasStartCloudRecordingPermission"], [_mobx.computed, 3, "hasStopLiveStreamingPermission"], [_mobx.computed, 3, "hasGetLiveStreamingLinkPermission"], [_mobx.computed, 3, "password"], [_decorator.bound, 2, "isLockRoomEnabled"], [_setNetworkStatusDecs, 18, "setNetworkStatus"], [_setLocalUserDecs, 18, "setLocalUser"], [_setRoomInfoDecs, 18, "setRoomInfo"], [_setScheduleInfoDecs, 18, "setScheduleInfo"], [_mobx.action, 2, "refreshLayoutSize"], [_decorator.bound, 2, "openDeviceSettingDialog"], [_stopLiveStreamingDialogDecs, 18, "stopLiveStreamingDialog"], [_decorator.bound, 2, "startCloudRecording"], [_decorator.bound, 2, "pauseCloudRecording"], [_decorator.bound, 2, "resumeCloudRecording"], [_decorator.bound, 2, "stopCloudRecording"], [_decorator.bound, 2, "getShareLink"], [_decorator.bound, 2, "showToast"], [_uiEventsDecs, 18, "_uiEvents"], [_setBrowserWidthDecs, 18, "_setBrowserWidth"], [_onNetworkStatsUpdatedDecs, 18, "_onNetworkStatsUpdated"], [_onLiveStreamingStateUpdatedDecs, 18, "_onLiveStreamingStateUpdated"]], []).e, 16);
572
+ var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_StateBarStore, [[_mobx.observable, 1, "networkStatus"], [_mobx.observable, 1, "localUser"], [_mobx.observable, 1, "roomInfo"], [_mobx.observable, 1, "scheduleInfo"], [_mobx.observable, 1, "isLiveStreaming"], [_mobx.observable, 1, "liveStreamingPlayUrl"], [_mobx.observable, 1, "galleryWidth"], [_mobx.observable, 1, "browserWidth"], [_mobx.observable, 1, "networkStats"], [_mobx.observable, 1, "attendeeCount"], [_mobx.observable, 1, "asideOpenedItem"], [_mobx.observable, 1, "cloudRecordingState"], [_mobx.observable, 1, "meetingId"], [_mobx.computed, 3, "isUserHost"], [_mobx.computed, 3, "shouldShowMeetingTime"], [_mobx.computed, 3, "isMainRoom"], [_mobx.computed, 3, "hasStartCloudRecordingPermission"], [_mobx.computed, 3, "hasStopLiveStreamingPermission"], [_mobx.computed, 3, "hasGetLiveStreamingLinkPermission"], [_mobx.computed, 3, "password"], [_decorator.bound, 2, "isLockRoomEnabled"], [_setNetworkStatusDecs, 18, "setNetworkStatus"], [_setLocalUserDecs, 18, "setLocalUser"], [_setRoomInfoDecs, 18, "setRoomInfo"], [_setScheduleInfoDecs, 18, "setScheduleInfo"], [_decorator.bound, 2, "openDeviceSettingDialog"], [_stopLiveStreamingDialogDecs, 18, "stopLiveStreamingDialog"], [_decorator.bound, 2, "startCloudRecording"], [_decorator.bound, 2, "pauseCloudRecording"], [_decorator.bound, 2, "resumeCloudRecording"], [_decorator.bound, 2, "stopCloudRecording"], [_decorator.bound, 2, "getShareLink"], [_decorator.bound, 2, "showToast"], [_uiEventsDecs, 18, "_uiEvents"], [_setBrowserWidthDecs, 18, "_setBrowserWidth"], [_onNetworkStatsUpdatedDecs, 18, "_onNetworkStatsUpdated"], [_onLiveStreamingStateUpdatedDecs, 18, "_onLiveStreamingStateUpdated"]], []).e, 14);
575
573
  _init_networkStatus = _applyDecs$e[0];
576
574
  _init_localUser = _applyDecs$e[1];
577
575
  _init_roomInfo = _applyDecs$e[2];
@@ -583,9 +581,7 @@ _init_browserWidth = _applyDecs$e[7];
583
581
  _init_networkStats = _applyDecs$e[8];
584
582
  _init_attendeeCount = _applyDecs$e[9];
585
583
  _init_asideOpenedItem = _applyDecs$e[10];
586
- _init_layoutSize = _applyDecs$e[11];
587
- _init_layoutView = _applyDecs$e[12];
588
- _init_cloudRecordingState = _applyDecs$e[13];
589
- _init_meetingId = _applyDecs$e[14];
590
- _initProto = _applyDecs$e[15];
584
+ _init_cloudRecordingState = _applyDecs$e[11];
585
+ _init_meetingId = _applyDecs$e[12];
586
+ _initProto = _applyDecs$e[13];
591
587
  var StoreContext = exports.StoreContext = /*#__PURE__*/(0, _react.createContext)(null);
@@ -71,10 +71,10 @@ var View = exports.View = (0, _mobxReact.observer)(function () {
71
71
  isFullScreen ? (0, _screen.enterFullScreen)() : (0, _screen.exitFullScreen)();
72
72
  }, [isFullScreen]);
73
73
  var screenHandler = function screenHandler(event) {
74
- if (event.action === _constant.RendererEventAction.ENTER_FULL_SCREEN) {
74
+ if (event.action === _constant.FcrUIRendererEventAction.ENTER_FULL_SCREEN) {
75
75
  setIsFullScreen(true);
76
76
  }
77
- if (event.action === _constant.RendererEventAction.LEAVE_FULL_SCREEN) {
77
+ if (event.action === _constant.FcrUIRendererEventAction.LEAVE_FULL_SCREEN) {
78
78
  setIsFullScreen(false);
79
79
  }
80
80
  };
@@ -1,7 +1,7 @@
1
1
  import { ConnectionTabType } from './../type';
2
- import { ConnectType } from '../../../common/device-store';
2
+ import { FcrUIConnectType } from '../../../type';
3
3
  interface DeviceStateProps {
4
- connectType: ConnectType;
4
+ connectType: FcrUIConnectType;
5
5
  openConnection: (type: ConnectionTabType) => void;
6
6
  microphoneVolumeLevel: number;
7
7
  enableMicrophone: (enable: boolean) => void;
@@ -1,17 +1,15 @@
1
1
  "use strict";
2
2
 
3
3
  require("core-js/modules/es.object.define-property.js");
4
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
5
4
  Object.defineProperty(exports, "__esModule", {
6
5
  value: true
7
6
  });
8
7
  exports.DeviceState = exports.AudioRecordinDeviceIcon = void 0;
9
- var _react = _interopRequireDefault(require("react"));
10
8
  var _mobxReact = require("mobx-react");
11
9
  var _icon = require("agora-ui-foundation/lib/components/icon");
12
10
  var _type = require("agora-ui-foundation/lib/components/icon/type");
13
11
  var _microphoneIndicator = require("agora-ui-foundation/lib/components/microphone-indicator");
14
- var _deviceStore = require("../../../common/device-store");
12
+ var _type2 = require("../../../type");
15
13
  var _jsxRuntime = require("react/jsx-runtime");
16
14
  var DeviceState = exports.DeviceState = (0, _mobxReact.observer)(function (_ref) {
17
15
  var connectType = _ref.connectType,
@@ -20,7 +18,7 @@ var DeviceState = exports.DeviceState = (0, _mobxReact.observer)(function (_ref)
20
18
  enableMicrophone = _ref.enableMicrophone,
21
19
  microphoneEnabled = _ref.microphoneEnabled;
22
20
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
23
- children: [connectType === _deviceStore.ConnectType.NONE && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
21
+ children: [connectType === _type2.FcrUIConnectType.NONE && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
24
22
  onClick: function onClick() {
25
23
  return openConnection('computer');
26
24
  },
@@ -32,7 +30,7 @@ var DeviceState = exports.DeviceState = (0, _mobxReact.observer)(function (_ref)
32
30
  iconSecondary: 'var(--fcr_ui_scene_ramp_green6)'
33
31
  }
34
32
  })
35
- }), connectType === _deviceStore.ConnectType.COMPUTER && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
33
+ }), connectType === _type2.FcrUIConnectType.COMPUTER && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
36
34
  onClick: function onClick() {
37
35
  enableMicrophone(!microphoneEnabled);
38
36
  },
@@ -40,7 +38,7 @@ var DeviceState = exports.DeviceState = (0, _mobxReact.observer)(function (_ref)
40
38
  micEnabled: microphoneEnabled,
41
39
  volume: microphoneVolumeLevel
42
40
  })
43
- }), connectType === _deviceStore.ConnectType.PHONE && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
41
+ }), connectType === _type2.FcrUIConnectType.PHONE && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
44
42
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
45
43
  type: microphoneVolumeLevel > 20 ? _type.FcrIconType.FCR_PHONECALL3 : microphoneVolumeLevel > 10 ? _type.FcrIconType.FCR_PHONECALL2 : _type.FcrIconType.FCR_PHONECALL1,
46
44
  size: 32,
@@ -1,7 +1,3 @@
1
- html,
2
- body {
3
- background: transparent;
4
- }
5
1
  .fcr-video-window-dialog-wrapper {
6
2
  display: flex;
7
3
  flex-direction: column;
@@ -10,6 +6,7 @@ body {
10
6
  box-sizing: border-box;
11
7
  overflow: hidden;
12
8
  }
9
+
13
10
  .fcr-video-window-dialog-wrapper.electron {
14
11
  border: none !important;
15
12
  box-shadow: none !important;