fcr-ui-scene 3.1.1 → 3.3.0

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 (372) hide show
  1. package/installer/icons/favicon.ico +0 -0
  2. package/installer/icons/favicon.png +0 -0
  3. package/installer/mac/entitlements.mac.plist +16 -0
  4. package/lib/base.d.ts +0 -1
  5. package/lib/base.js +16 -0
  6. package/lib/common/device-store.d.ts +4 -5
  7. package/lib/common/device-store.js +178 -86
  8. package/lib/common/device-stream-store.d.ts +3 -2
  9. package/lib/common/device-stream-store.js +94 -72
  10. package/lib/common/event-store.d.ts +20 -3
  11. package/lib/common/event-store.js +43 -5
  12. package/lib/common/security-store.d.ts +16 -16
  13. package/lib/common/security-store.js +278 -124
  14. package/lib/electron/app.js +13 -5
  15. package/lib/electron/bootstrap-dev.d.ts +1 -0
  16. package/lib/electron/bootstrap-dev.js +51 -0
  17. package/lib/electron/bootstrap-sdk.d.ts +1 -0
  18. package/lib/electron/bootstrap-sdk.js +56 -0
  19. package/lib/electron/bootstrap.d.ts +1 -0
  20. package/lib/electron/bootstrap.js +56 -0
  21. package/lib/electron/default-options.js +1 -1
  22. package/lib/electron/dev.d.ts +1 -0
  23. package/lib/electron/dev.js +51 -0
  24. package/lib/electron/injections.d.ts +3 -4
  25. package/lib/electron/injections.js +46 -33
  26. package/lib/electron/logger.d.ts +6 -0
  27. package/lib/electron/logger.js +66 -0
  28. package/lib/electron/main.js +15 -11
  29. package/lib/electron/plugins/meeting-state.d.ts +2 -0
  30. package/lib/electron/plugins/meeting-state.js +39 -0
  31. package/lib/electron/preload.js +2 -1
  32. package/lib/electron/tools.js +9 -0
  33. package/lib/electron/window.d.ts +1 -1
  34. package/lib/electron/window.js +14 -2
  35. package/lib/fragments/control-bar/context.d.ts +0 -1
  36. package/lib/fragments/control-bar/control-bar-store.d.ts +34 -1
  37. package/lib/fragments/control-bar/control-bar-store.js +394 -81
  38. package/lib/fragments/control-bar/device/index.js +12 -3
  39. package/lib/fragments/control-bar/index.css +15 -10
  40. package/lib/fragments/control-bar/index.js +19 -1
  41. package/lib/fragments/control-bar/meeting-details/meeting-detail.css +109 -0
  42. package/lib/fragments/control-bar/meeting-details/meeting-details-portal.d.ts +3 -0
  43. package/lib/fragments/control-bar/meeting-details/meeting-details-portal.js +60 -0
  44. package/lib/fragments/control-bar/meeting-details/meeting-details.d.ts +2 -0
  45. package/lib/fragments/control-bar/meeting-details/meeting-details.js +179 -0
  46. package/lib/fragments/control-bar/more-actions/index.css +53 -0
  47. package/lib/fragments/control-bar/more-actions/index.js +77 -37
  48. package/lib/fragments/control-bar/security-content/index.css +10 -0
  49. package/lib/fragments/control-bar/security-content/index.js +43 -18
  50. package/lib/fragments/control-bar/view.js +8 -2
  51. package/lib/fragments/live-streaming/context.d.ts +0 -1
  52. package/lib/fragments/live-streaming/store.js +27 -17
  53. package/lib/fragments/share-screen-selection/context.d.ts +0 -1
  54. package/lib/fragments/share-screen-selection/selection-store.d.ts +0 -1
  55. package/lib/fragments/share-screen-selection/selection-store.js +34 -33
  56. package/lib/fragments/share-screen-selection/view.js +7 -0
  57. package/lib/fragments/toolbar/components/color-picker/components/color.js +2 -0
  58. package/lib/fragments/toolbar/components/color-picker/components/panel.js +4 -0
  59. package/lib/fragments/toolbar/components/color-picker/components/picker.js +2 -0
  60. package/lib/fragments/toolbar/components/color-picker/index.js +5 -1
  61. package/lib/fragments/toolbar/components/color-picker.js +3 -1
  62. package/lib/fragments/toolbar/components/eraser-picker.js +4 -13
  63. package/lib/fragments/toolbar/components/extension-toolbar-item.js +5 -0
  64. package/lib/fragments/toolbar/components/extra-tool-picker.js +4 -0
  65. package/lib/fragments/toolbar/components/pen-picker.js +2 -0
  66. package/lib/fragments/toolbar/components/screen-capture-picker.js +2 -0
  67. package/lib/fragments/toolbar/components/shape-picker.js +2 -0
  68. package/lib/fragments/toolbar/hooks.d.ts +1 -1
  69. package/lib/fragments/toolbar/hooks.js +13 -8
  70. package/lib/fragments/toolbar/store.d.ts +4 -4
  71. package/lib/fragments/toolbar/store.js +20 -2
  72. package/lib/fragments/toolbar/view.js +2 -0
  73. package/lib/global.d.ts +1 -0
  74. package/lib/hooks/meeting-time.d.ts +2 -2
  75. package/lib/login-confirm-dialog.d.ts +12 -0
  76. package/lib/login-confirm-dialog.js +80 -0
  77. package/lib/modules/action-bar/action-bar-collapes-items.js +14 -5
  78. package/lib/modules/action-bar/chat/index.js +6 -6
  79. package/lib/modules/action-bar/context.d.ts +0 -1
  80. package/lib/modules/action-bar/device/index.css +7 -2
  81. package/lib/modules/action-bar/device/index.d.ts +2 -2
  82. package/lib/modules/action-bar/device/index.js +6 -4
  83. package/lib/modules/action-bar/index.css +63 -12
  84. package/lib/modules/action-bar/index.d.ts +3 -2
  85. package/lib/modules/action-bar/index.dev.js +8 -7
  86. package/lib/modules/action-bar/index.js +21 -0
  87. package/lib/modules/action-bar/item-placement.d.ts +1 -2
  88. package/lib/modules/action-bar/item.js +5 -0
  89. package/lib/modules/action-bar/leave/assign-host.d.ts +3 -1
  90. package/lib/modules/action-bar/leave/assign-host.js +7 -7
  91. package/lib/modules/action-bar/leave/index.js +35 -7
  92. package/lib/modules/action-bar/leave/leave-meeting.d.ts +11 -1
  93. package/lib/modules/action-bar/leave/leave-meeting.js +25 -16
  94. package/lib/modules/action-bar/more/poppover-content.d.ts +0 -1
  95. package/lib/modules/action-bar/more/poppover-content.js +14 -4
  96. package/lib/modules/action-bar/participants/index.css +12 -0
  97. package/lib/modules/action-bar/participants/index.js +21 -14
  98. package/lib/modules/action-bar/screen-share/index.js +5 -1
  99. package/lib/modules/action-bar/screen-share/submenu.js +17 -22
  100. package/lib/modules/action-bar/security/drop-menu.js +124 -14
  101. package/lib/modules/action-bar/security/index.js +1 -1
  102. package/lib/modules/action-bar/settings/index.js +1 -1
  103. package/lib/modules/action-bar/store.d.ts +45 -21
  104. package/lib/modules/action-bar/store.js +544 -134
  105. package/lib/modules/action-bar/view.js +65 -42
  106. package/lib/modules/audio-stream/index.js +12 -6
  107. package/lib/modules/chat/chat-bar/index.js +46 -27
  108. package/lib/modules/chat/chat-select/index.css +19 -4
  109. package/lib/modules/chat/chat-select/index.d.ts +0 -1
  110. package/lib/modules/chat/chat-select/index.js +29 -3
  111. package/lib/modules/chat/chat.d.ts +2 -3
  112. package/lib/modules/chat/chat.js +210 -107
  113. package/lib/modules/chat/contex.d.ts +0 -1
  114. package/lib/modules/chat/demo-wrapper.d.ts +0 -1
  115. package/lib/modules/chat/index.css +49 -0
  116. package/lib/modules/chat/index.d.ts +3 -3
  117. package/lib/modules/chat/index.dev.js +4 -4
  118. package/lib/modules/chat/index.js +32 -11
  119. package/lib/modules/chat/message-list.js +81 -49
  120. package/lib/modules/chat/store.d.ts +50 -4
  121. package/lib/modules/chat/store.js +303 -124
  122. package/lib/modules/chat/util.js +1 -1
  123. package/lib/modules/connection-gateway/components/phone/components/callinfo/index.js +2 -0
  124. package/lib/modules/connection-gateway/components/phone/index.js +2 -0
  125. package/lib/modules/connection-gateway/index.d.ts +3 -2
  126. package/lib/modules/connection-gateway/index.js +2 -0
  127. package/lib/modules/connection-gateway/store.d.ts +6 -4
  128. package/lib/modules/connection-gateway/store.js +46 -15
  129. package/lib/modules/device-pretest/audio-preview/microphone-detection.d.ts +1 -0
  130. package/lib/modules/device-pretest/audio-preview/microphone-detection.js +3 -2
  131. package/lib/modules/device-pretest/audio-preview/speaker-control.d.ts +0 -1
  132. package/lib/modules/device-pretest/audio-preview/speaker-control.js +1 -1
  133. package/lib/modules/device-pretest/context.d.ts +0 -1
  134. package/lib/modules/device-pretest/index.css +0 -4
  135. package/lib/modules/device-pretest/index.d.ts +0 -1
  136. package/lib/modules/device-pretest/index.js +2 -1
  137. package/lib/modules/device-pretest/settings/beauty.js +19 -6
  138. package/lib/modules/device-pretest/settings/video-effect.d.ts +0 -1
  139. package/lib/modules/device-pretest/settings/video-settings-basic.js +1 -0
  140. package/lib/modules/device-pretest/settings/virtual-background-setting.js +2 -0
  141. package/lib/modules/device-pretest/store.js +34 -19
  142. package/lib/modules/dialog/components/chat/electron.js +3 -2
  143. package/lib/modules/dialog/components/chat/index.js +1 -1
  144. package/lib/modules/dialog/components/confirm/electron.js +7 -5
  145. package/lib/modules/dialog/components/confirm/index.js +16 -2
  146. package/lib/modules/dialog/components/connection-gateway/electron.js +4 -2
  147. package/lib/modules/dialog/components/connection-gateway/index.css +0 -2
  148. package/lib/modules/dialog/components/device-setting/electron.d.ts +2 -0
  149. package/lib/modules/dialog/components/device-setting/electron.js +74 -0
  150. package/lib/modules/dialog/components/device-setting/index.css +26 -0
  151. package/lib/modules/dialog/components/device-setting/index.d.ts +4 -0
  152. package/lib/modules/dialog/components/device-setting/index.js +60 -0
  153. package/lib/modules/dialog/components/operation-waiting-room/electron.d.ts +5 -0
  154. package/lib/modules/dialog/components/operation-waiting-room/electron.js +89 -0
  155. package/lib/modules/dialog/components/operation-waiting-room/index.css +44 -0
  156. package/lib/modules/dialog/components/operation-waiting-room/index.d.ts +5 -0
  157. package/lib/modules/dialog/components/operation-waiting-room/index.js +156 -0
  158. package/lib/modules/dialog/components/participant/electron.js +8 -2
  159. package/lib/modules/dialog/components/remove-admit-waiting-room/electron.d.ts +5 -0
  160. package/lib/modules/dialog/components/remove-admit-waiting-room/electron.js +89 -0
  161. package/lib/modules/dialog/components/remove-admit-waiting-room/index.css +50 -0
  162. package/lib/modules/dialog/components/remove-admit-waiting-room/index.d.ts +5 -0
  163. package/lib/modules/dialog/components/remove-admit-waiting-room/index.js +90 -0
  164. package/lib/modules/dialog/components/share-screen-selection/index.js +1 -1
  165. package/lib/modules/dialog/components/whiteboard/index.js +2 -1
  166. package/lib/modules/dialog/context.d.ts +0 -1
  167. package/lib/modules/dialog/dialogs.d.ts +0 -2
  168. package/lib/modules/dialog/dialogs.js +62 -103
  169. package/lib/modules/dialog/index.css +7 -6
  170. package/lib/modules/dialog/index.d.ts +1 -1
  171. package/lib/modules/dialog/index.js +17 -0
  172. package/lib/modules/dialog/store.d.ts +6 -2
  173. package/lib/modules/dialog/store.js +52 -9
  174. package/lib/modules/dialog/view.js +2 -0
  175. package/lib/modules/event-notification/context.d.ts +2 -0
  176. package/lib/modules/event-notification/context.js +9 -0
  177. package/lib/modules/event-notification/index.css +58 -0
  178. package/lib/modules/event-notification/index.d.ts +13 -0
  179. package/lib/modules/event-notification/index.js +48 -0
  180. package/lib/modules/event-notification/store.d.ts +17 -0
  181. package/lib/modules/event-notification/store.js +133 -0
  182. package/lib/modules/event-notification/view.d.ts +5 -0
  183. package/lib/modules/event-notification/view.js +114 -0
  184. package/lib/modules/event-toast/context.d.ts +0 -1
  185. package/lib/modules/event-toast/store.js +16 -0
  186. package/lib/modules/invite/context.d.ts +0 -1
  187. package/lib/modules/invite/index.css +4 -4
  188. package/lib/modules/invite/index.d.ts +2 -2
  189. package/lib/modules/invite/pstn-invite.js +4 -1
  190. package/lib/modules/invite/store.d.ts +2 -2
  191. package/lib/modules/invite/store.js +27 -7
  192. package/lib/modules/invite/voip-invite.d.ts +0 -1
  193. package/lib/modules/invite/voip-invite.js +1 -1
  194. package/lib/modules/layout/components/Aside.d.ts +0 -1
  195. package/lib/modules/layout/components/Aside.js +4 -1
  196. package/lib/modules/layout/components/Carousel.js +6 -5
  197. package/lib/modules/layout/components/Gallery.js +16 -9
  198. package/lib/modules/layout/components/Layout.js +82 -57
  199. package/lib/modules/layout/components/index.css +42 -5
  200. package/lib/modules/layout/components/index.js +3 -0
  201. package/lib/modules/layout/context.d.ts +0 -1
  202. package/lib/modules/layout/index.css +30 -0
  203. package/lib/modules/layout/index.dev.js +11 -11
  204. package/lib/modules/layout/index.js +0 -6
  205. package/lib/modules/layout/member-window/index.css +5 -5
  206. package/lib/modules/layout/member-window/index.d.ts +7 -7
  207. package/lib/modules/layout/member-window/index.js +59 -13
  208. package/lib/modules/layout/store.d.ts +61 -50
  209. package/lib/modules/layout/store.js +517 -342
  210. package/lib/modules/layout/type.d.ts +2 -1
  211. package/lib/modules/layout/video-window-datasource.d.ts +14 -8
  212. package/lib/modules/layout/video-window-datasource.js +129 -78
  213. package/lib/modules/live-streaming/context.d.ts +0 -1
  214. package/lib/modules/live-streaming/index.d.ts +2 -2
  215. package/lib/modules/live-streaming/index.dev.js +5 -4
  216. package/lib/modules/live-streaming/store.d.ts +2 -2
  217. package/lib/modules/live-streaming/store.js +32 -11
  218. package/lib/modules/participant/attendee/index.d.ts +12 -3
  219. package/lib/modules/participant/attendee/index.js +142 -30
  220. package/lib/modules/participant/context.d.ts +0 -1
  221. package/lib/modules/participant/index.css +20 -0
  222. package/lib/modules/participant/index.d.ts +5 -2
  223. package/lib/modules/participant/index.dev.js +14 -12
  224. package/lib/modules/participant/index.js +27 -0
  225. package/lib/modules/participant/member-list-data-source.d.ts +3 -3
  226. package/lib/modules/participant/member-list-data-source.js +29 -3
  227. package/lib/modules/participant/room-control-drop-menu/index.css +37 -0
  228. package/lib/modules/participant/room-control-drop-menu/index.js +35 -1
  229. package/lib/modules/participant/store.d.ts +59 -34
  230. package/lib/modules/participant/store.js +541 -222
  231. package/lib/modules/participant/view.d.ts +6 -6
  232. package/lib/modules/participant/view.js +138 -34
  233. package/lib/modules/setting/audio-settings/audio-settings.js +16 -12
  234. package/lib/modules/setting/audio-settings/index.css +2 -2
  235. package/lib/modules/setting/context.d.ts +0 -1
  236. package/lib/modules/setting/general-settings/general-settings.js +2 -1
  237. package/lib/modules/setting/general-settings/index.css +2 -2
  238. package/lib/modules/setting/index.css +1 -5
  239. package/lib/modules/setting/index.d.ts +2 -2
  240. package/lib/modules/setting/index.dev.js +14 -12
  241. package/lib/modules/setting/index.js +16 -0
  242. package/lib/modules/setting/minutes-settings/index.css +65 -0
  243. package/lib/modules/setting/minutes-settings/minutes-settings.d.ts +4 -0
  244. package/lib/modules/setting/minutes-settings/minutes-settings.js +159 -0
  245. package/lib/modules/setting/state/index.css +0 -4
  246. package/lib/modules/setting/state/index.js +11 -1
  247. package/lib/modules/setting/storage-settings/storage-settings.js +1 -1
  248. package/lib/modules/setting/store.d.ts +7 -5
  249. package/lib/modules/setting/store.js +69 -46
  250. package/lib/modules/setting/translate-settings/index.css +45 -0
  251. package/lib/modules/setting/translate-settings/language-select.d.ts +12 -0
  252. package/lib/modules/setting/translate-settings/language-select.js +50 -0
  253. package/lib/modules/setting/translate-settings/translate-settings.d.ts +4 -0
  254. package/lib/modules/setting/translate-settings/translate-settings.js +139 -0
  255. package/lib/modules/setting/video-settings/index.css +15 -6
  256. package/lib/modules/setting/video-settings/video-settings-basic.js +3 -2
  257. package/lib/modules/setting/video-settings/video-settings.js +5 -1
  258. package/lib/modules/setting/view.js +34 -2
  259. package/lib/modules/share-screen/index.d.ts +4 -2
  260. package/lib/modules/share-screen/index.dev.js +17 -14
  261. package/lib/modules/share-screen/index.js +2 -0
  262. package/lib/modules/share-screen/selection/index.css +2 -0
  263. package/lib/modules/share-screen/selection/index.js +44 -6
  264. package/lib/modules/share-screen/share-state-bar/index.css +49 -11
  265. package/lib/modules/share-screen/share-state-bar/index.d.ts +0 -1
  266. package/lib/modules/share-screen/share-state-bar/index.js +51 -20
  267. package/lib/modules/share-screen/store.d.ts +23 -13
  268. package/lib/modules/share-screen/store.js +733 -606
  269. package/lib/modules/state-bar/context.d.ts +0 -1
  270. package/lib/modules/state-bar/index.css +2 -2
  271. package/lib/modules/state-bar/index.d.ts +2 -2
  272. package/lib/modules/state-bar/index.dev.js +12 -10
  273. package/lib/modules/state-bar/layout-config.js +2 -0
  274. package/lib/modules/state-bar/live-streaming-state.js +3 -0
  275. package/lib/modules/state-bar/meeting-detail.css +6 -4
  276. package/lib/modules/state-bar/meeting-details.js +29 -3
  277. package/lib/modules/state-bar/meeting-network-state.css +14 -3
  278. package/lib/modules/state-bar/meeting-network-state.js +10 -4
  279. package/lib/modules/state-bar/recording.js +9 -11
  280. package/lib/modules/state-bar/store.d.ts +7 -5
  281. package/lib/modules/state-bar/store.js +68 -8
  282. package/lib/modules/state-bar/view.js +4 -8
  283. package/lib/modules/video-window/context.d.ts +0 -1
  284. package/lib/modules/video-window/deviceState/index.d.ts +3 -3
  285. package/lib/modules/video-window/index.css +1 -0
  286. package/lib/modules/video-window/members/index.js +7 -4
  287. package/lib/modules/video-window/store.d.ts +5 -4
  288. package/lib/modules/video-window/store.js +49 -17
  289. package/lib/modules/video-window/topControl/index.js +7 -0
  290. package/lib/modules/video-window/view.js +2 -0
  291. package/lib/modules/waiting-room-layout/context.d.ts +2 -0
  292. package/lib/modules/waiting-room-layout/context.js +9 -0
  293. package/lib/modules/waiting-room-layout/index.css +71 -0
  294. package/lib/modules/waiting-room-layout/index.d.ts +8 -0
  295. package/lib/modules/waiting-room-layout/index.js +47 -0
  296. package/lib/modules/waiting-room-layout/store.d.ts +30 -0
  297. package/lib/modules/waiting-room-layout/store.js +189 -0
  298. package/lib/modules/waiting-room-layout/type.d.ts +0 -0
  299. package/lib/modules/waiting-room-layout/type.js +1 -0
  300. package/lib/modules/waiting-room-layout/view.d.ts +3 -0
  301. package/lib/modules/waiting-room-layout/view.js +67 -0
  302. package/lib/modules/whiteboard/app.js +2 -8
  303. package/lib/modules/whiteboard/components/control-bar/index.css +3 -0
  304. package/lib/modules/whiteboard/components/control-bar/store.d.ts +0 -1
  305. package/lib/modules/whiteboard/components/control-bar/store.js +29 -29
  306. package/lib/modules/whiteboard/components/loading/index.js +2 -2
  307. package/lib/modules/whiteboard/components/multi-window/index.js +8 -3
  308. package/lib/modules/whiteboard/components/pagination/store.d.ts +0 -1
  309. package/lib/modules/whiteboard/components/progress/electron.js +3 -2
  310. package/lib/modules/whiteboard/components/progress/style.css +4 -3
  311. package/lib/modules/whiteboard/components/switch-theme/index.css +4 -0
  312. package/lib/modules/whiteboard/components/switch-theme/index.d.ts +2 -1
  313. package/lib/modules/whiteboard/components/switch-theme/index.js +29 -17
  314. package/lib/modules/whiteboard/components/switch-theme/item.d.ts +1 -0
  315. package/lib/modules/whiteboard/components/switch-theme/item.js +11 -2
  316. package/lib/modules/whiteboard/components/switch-theme/libs.d.ts +2 -1
  317. package/lib/modules/whiteboard/components/switch-theme/libs.js +21 -20
  318. package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/panel.js +2 -0
  319. package/lib/modules/whiteboard/components/toolbar/components/color-picker/index.js +3 -1
  320. package/lib/modules/whiteboard/components/toolbar/components/eraser-picker.js +11 -9
  321. package/lib/modules/whiteboard/components/toolbar/components/extra-tool-picker.js +4 -0
  322. package/lib/modules/whiteboard/components/toolbar/components/move-handle.js +5 -0
  323. package/lib/modules/whiteboard/components/toolbar/components/pen-picker.js +2 -0
  324. package/lib/modules/whiteboard/components/toolbar/components/shape-picker.js +18 -12
  325. package/lib/modules/whiteboard/components/toolbar/hooks/index.d.ts +3 -3
  326. package/lib/modules/whiteboard/components/toolbar/hooks/index.js +16 -11
  327. package/lib/modules/whiteboard/components/toolbar/index.js +9 -0
  328. package/lib/modules/whiteboard/components/toolbar/store.d.ts +8 -7
  329. package/lib/modules/whiteboard/components/toolbar/store.js +25 -4
  330. package/lib/modules/whiteboard/context.d.ts +7 -3
  331. package/lib/modules/whiteboard/context.js +6 -4
  332. package/lib/modules/whiteboard/index.d.ts +6 -8
  333. package/lib/modules/whiteboard/index.js +310 -255
  334. package/lib/modules/whiteboard/type.d.ts +4 -12
  335. package/lib/modules/whiteboard/type.js +6 -16
  336. package/lib/modules/whiteboard/utils.d.ts +1 -0
  337. package/lib/modules/whiteboard/utils.js +12 -1
  338. package/lib/plugins/browser-runtime-plugin.js +2 -1
  339. package/lib/plugins/module-dev-plugin.js +12 -10
  340. package/lib/plugins/multi-lang-plugin.d.ts +1 -5
  341. package/lib/plugins/multi-lang-plugin.js +2 -0
  342. package/lib/runtime.d.ts +3 -5
  343. package/lib/translations/enUS.d.ts +590 -0
  344. package/lib/translations/enUS.js +608 -6
  345. package/lib/translations/zhCN.d.ts +588 -0
  346. package/lib/translations/zhCN.js +604 -4
  347. package/lib/type.d.ts +6 -2
  348. package/lib/ui-manager.d.ts +7 -3
  349. package/lib/ui-manager.js +597 -143
  350. package/lib/ui-scene.d.ts +1 -0
  351. package/lib/ui-scene.js +32 -22
  352. package/lib/utilities/board-context.d.ts +0 -1
  353. package/lib/utilities/constant.d.ts +47 -5
  354. package/lib/utilities/constant.js +44 -1
  355. package/lib/utilities/copyText.js +1 -1
  356. package/lib/utilities/extract.js +26 -3
  357. package/lib/utilities/hooks.js +2 -0
  358. package/lib/utilities/parameters.js +2 -2
  359. package/lib/utilities/renderer-event.js +28 -0
  360. package/lib/utilities/renderer.d.ts +1 -0
  361. package/lib/utilities/renderer.js +15 -6
  362. package/lib/utilities/tools.js +5 -2
  363. package/lib/utilities/ui-resources.d.ts +2 -2
  364. package/lib/utilities/ui-resources.js +20 -3
  365. package/lib/utilities/video-track-render-context.d.ts +0 -1
  366. package/package.json +17 -16
  367. package/public/assets/fcr_defaultpage.png +0 -0
  368. package/public/assets/login_confirm.png +0 -0
  369. package/public/index.html +29 -11
  370. package/lib/modules/device-pretest/settings/index.css +0 -15
  371. package/lib/modules/participant/attendee/participants-more-action.d.ts +0 -18
  372. package/lib/modules/participant/attendee/participants-more-action.js +0 -275
@@ -1,6 +1,7 @@
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");
4
5
  Object.defineProperty(exports, "__esModule", {
5
6
  value: true
6
7
  });
@@ -8,6 +9,11 @@ exports.MorePopoverContent = void 0;
8
9
  require("core-js/modules/es.array.filter.js");
9
10
  require("core-js/modules/es.array.map.js");
10
11
  require("core-js/modules/es.object.to-string.js");
12
+ require("core-js/modules/esnext.async-iterator.filter.js");
13
+ require("core-js/modules/esnext.async-iterator.map.js");
14
+ require("core-js/modules/esnext.iterator.constructor.js");
15
+ require("core-js/modules/esnext.iterator.filter.js");
16
+ require("core-js/modules/esnext.iterator.map.js");
11
17
  var _button = require("agora-ui-foundation/lib/components/button");
12
18
  var _dialog = require("agora-ui-foundation/lib/components/dialog");
13
19
  var _icon = require("agora-ui-foundation/lib/components/icon");
@@ -21,6 +27,8 @@ var _type2 = require("agora-edu-core/lib/type");
21
27
  var _copyText = require("../../../utilities/copyText");
22
28
  var _toast = require("agora-ui-foundation/lib/components/toast");
23
29
  var _i18n = require("agora-ui-foundation/lib/i18n");
30
+ var _classnames = _interopRequireDefault(require("classnames"));
31
+ var _leaveMeeting = require("../../../modules/action-bar/leave/leave-meeting");
24
32
  var _jsxRuntime = require("react/jsx-runtime");
25
33
  var MorePopoverContent = exports.MorePopoverContent = (0, _mobxReact.observer)(function (props) {
26
34
  var ref = (0, _react.useRef)(null);
@@ -36,7 +44,18 @@ var MorePopoverContent = exports.MorePopoverContent = (0, _mobxReact.observer)(f
36
44
  hasStartCloudRecordingPermission = _useContext.hasStartCloudRecordingPermission,
37
45
  hasStartLiveStreamingPermission = _useContext.hasStartLiveStreamingPermission,
38
46
  hasGetLiveStreamingUrlPermission = _useContext.hasGetLiveStreamingUrlPermission,
39
- hasStopLiveStreamingPermission = _useContext.hasStopLiveStreamingPermission;
47
+ hasStopLiveStreamingPermission = _useContext.hasStopLiveStreamingPermission,
48
+ setShowMeetingDetailPortal = _useContext.setShowMeetingDetailPortal,
49
+ setMeetingDetailPortalPosition = _useContext.setMeetingDetailPortalPosition,
50
+ localUserRole = _useContext.localUserRole,
51
+ hasAssignHostBeforeLeavingPermission = _useContext.hasAssignHostBeforeLeavingPermission,
52
+ isPstnUser = _useContext.isPstnUser,
53
+ remoteUsers = _useContext.remoteUsers,
54
+ hasEndRoomPermission = _useContext.hasEndRoomPermission,
55
+ sendLeave = _useContext.sendLeave,
56
+ sendEnd = _useContext.sendEnd,
57
+ keepPhoneAudioConnection = _useContext.keepPhoneAudioConnection,
58
+ sendAssign = _useContext.sendAssign;
40
59
  var transI18n = (0, _i18n.useI18n)();
41
60
  var onItemClick = function onItemClick(item) {
42
61
  if (item.onClick) {
@@ -70,6 +89,7 @@ var MorePopoverContent = exports.MorePopoverContent = (0, _mobxReact.observer)(f
70
89
  children: transI18n('fmt_popup_button_endmeeting')
71
90
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.FcrButton, {
72
91
  size: "S",
92
+ type: "secondary-bordered",
73
93
  onClick: function onClick() {
74
94
  _dialog.FcrDialogApi.close('leave-room');
75
95
  window.runtime.browserWindow.setIgnoreMouseEvents(true, {
@@ -80,6 +100,7 @@ var MorePopoverContent = exports.MorePopoverContent = (0, _mobxReact.observer)(f
80
100
  children: transI18n('fmt_popup_button_leavemeeting')
81
101
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.FcrButton, {
82
102
  size: "S",
103
+ type: "secondary-bordered",
83
104
  onClick: function onClick() {
84
105
  window.runtime.browserWindow.setIgnoreMouseEvents(true, {
85
106
  forward: true
@@ -116,11 +137,15 @@ var MorePopoverContent = exports.MorePopoverContent = (0, _mobxReact.observer)(f
116
137
  })]
117
138
  });
118
139
  };
140
+
141
+ // 分割线
119
142
  var moreOptions = [{
143
+ icon: _type.FcrIconType.FCR_WEB_CHAT,
120
144
  text: transI18n('fmt_chat_label_chat'),
121
145
  displayWhenNoPermission: 'hidden',
122
146
  key: _constant.RendererEventAction.OPEN_CHAT,
123
- hasPermission: hasChatPermission
147
+ hasPermission: hasChatPermission,
148
+ classNames: 'share-action-nav__media-list-item-with-divider'
124
149
  }, {
125
150
  icon: _type.FcrIconType.FCR_EMO,
126
151
  text: transI18n('fmt_popup_label_expression'),
@@ -128,6 +153,8 @@ var MorePopoverContent = exports.MorePopoverContent = (0, _mobxReact.observer)(f
128
153
  key: 'emoji',
129
154
  hasPermission: false
130
155
  }, {
156
+ icon: _type.FcrIconType.FCR_CLOUDRECORD,
157
+ classNames: 'share-action-nav__media-list-item-with-divider',
131
158
  text: transI18n('fmt_screenshare_controlbar_button_more_cloudRecord'),
132
159
  displayWhenNoPermission: 'hidden',
133
160
  key: cloudRecordingState === _type2.FcrRecordingState.Stopped ? _constant.RendererEventAction.CLOUD_RECORDING_START : _constant.RendererEventAction.CLOUD_RECORDING_STOP,
@@ -142,6 +169,7 @@ var MorePopoverContent = exports.MorePopoverContent = (0, _mobxReact.observer)(f
142
169
  // hasStartCloudRecordingPermission && cloudRecordingState === FcrRecordingState.Stopped,
143
170
  // },
144
171
  {
172
+ classNames: 'share-action-nav__media-list-item-with-divider',
145
173
  icon: _type.FcrIconType.FCR_LIVE,
146
174
  text: transI18n('fmt_screenshare_controlbar_button_more_live'),
147
175
  displayWhenNoPermission: 'hidden',
@@ -153,14 +181,29 @@ var MorePopoverContent = exports.MorePopoverContent = (0, _mobxReact.observer)(f
153
181
  });
154
182
  handleMoreClick(_constant.RendererEventAction.OPEN_LIVE_STEAMING_DIALOG);
155
183
  }
184
+ }, {
185
+ icon: _type.FcrIconType.FCR_EXCLAMATIONMASK,
186
+ text: transI18n('fmt_popup_button_meetinginfor'),
187
+ classNames: 'share-action-nav__media-list-item-with-divider',
188
+ displayWhenNoPermission: 'hidden',
189
+ key: 'copyMeetingInfo',
190
+ hasPermission: true,
191
+ onClick: function onClick() {
192
+ closePopover();
193
+ var currentPopoverPosition = document.getElementsByClassName('share-action-nav__popover')[0].getBoundingClientRect();
194
+ setMeetingDetailPortalPosition(currentPopoverPosition.x || 0, currentPopoverPosition.y || 0);
195
+ setShowMeetingDetailPortal(true);
196
+ }
156
197
  }, {
157
198
  icon: _type.FcrIconType.FCR_SETTING,
199
+ classNames: 'share-action-nav__media-list-item-with-divider',
158
200
  text: transI18n('fmt_screenshare_controlbar_button_more_setting'),
159
201
  displayWhenNoPermission: 'hidden',
160
202
  key: _constant.RendererEventAction.OPEN_SETTING,
161
203
  hasPermission: true
162
204
  }, {
163
205
  icon: _type.FcrIconType.FCR_ATTACH,
206
+ classNames: 'share-action-nav__media-list-item-with-divider',
164
207
  text: transI18n('fmt_live_label_copylink'),
165
208
  displayWhenNoPermission: 'hidden',
166
209
  key: 'copyLiveLink',
@@ -177,43 +220,40 @@ var MorePopoverContent = exports.MorePopoverContent = (0, _mobxReact.observer)(f
177
220
  });
178
221
  }
179
222
  }, {
180
- icon: _type.FcrIconType.FCR_ATTACH,
181
- text: transI18n('fmt_popup_button_meetinginfor'),
182
- displayWhenNoPermission: 'hidden',
183
- key: 'copyMeetingInfo',
184
- hasPermission: false,
223
+ icon: _type.FcrIconType.FCR_ENDMEETING,
224
+ key: _constant.RendererEventAction.LEAVE_ROOM,
225
+ classNames: 'share-action-nav__popover-inner-content-leave-option',
226
+ text: isHost ? transI18n('fmt_popup_button_endmeeting') : transI18n('fmt_popup_button_leavemeeting'),
227
+ hasPermission: true,
185
228
  onClick: function onClick() {
186
- closePopover();
187
- (0, _copyText.copyText)('TODO 会议信息').then(function () {
188
- _toast.FcrToastApi.open({
189
- id: 'copy-live-link',
190
- toastProps: {
191
- type: 'info',
192
- content: transI18n('fmt_statusbar_status_coppied')
193
- }
194
- });
229
+ window.runtime.browserWindow.setIgnoreMouseEvents(false);
230
+ _dialog.FcrDialogApi.info({
231
+ id: 'leave-room',
232
+ dialogProps: {
233
+ content: /*#__PURE__*/(0, _jsxRuntime.jsx)(_leaveMeeting.LeaveMeeting, {
234
+ setPopoverOpened: function setPopoverOpened(value) {
235
+ if (!value) {
236
+ _dialog.FcrDialogApi.close('leave-room');
237
+ }
238
+ },
239
+ localUserRole: localUserRole,
240
+ leave: sendLeave,
241
+ isLocked: false,
242
+ hasAssignHostBeforeLeavingPermission: hasAssignHostBeforeLeavingPermission,
243
+ hasEndRoomPermission: hasEndRoomPermission,
244
+ keepPhoneAudioConnection: keepPhoneAudioConnection,
245
+ isPstnUser: isPstnUser,
246
+ remoteUsers: remoteUsers,
247
+ end: sendEnd,
248
+ assignHost: sendAssign
249
+ }),
250
+ width: 255,
251
+ closable: false,
252
+ rootClassName: 'leave-room-dialog'
253
+ }
195
254
  });
196
255
  }
197
- }
198
- // {
199
- // icon: FcrIconType.FCR_ENDMEETING,
200
- // key: RendererEventAction.LEAVE_ROOM,
201
- // text: isHost ? '结束会议' : '离开会议',
202
- // hasPermission: true,
203
- // onClick: () => {
204
- // window.runtime.browserWindow.setIgnoreMouseEvents(false);
205
- // FcrDialogApi.info({
206
- // id: 'leave-room',
207
- // dialogProps: {
208
- // content: <LeaveRoomContent />,
209
- // width: 256,
210
- // closable: false,
211
- // rootClassName: 'leave-room-dialog',
212
- // },
213
- // });
214
- // },
215
- // },
216
- ];
256
+ }];
217
257
  (0, _react.useEffect)(function () {
218
258
  function handleClickOutside(event) {
219
259
  if (ref.current && !ref.current.contains(event.target)) {
@@ -234,7 +274,7 @@ var MorePopoverContent = exports.MorePopoverContent = (0, _mobxReact.observer)(f
234
274
  className: "share-action-nav__popover-inner-content share-action-nav__not-draggable",
235
275
  children: moreOptionsFilter.map(function (item, index) {
236
276
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
237
- className: "share-action-nav__media-list-group",
277
+ className: (0, _classnames["default"])('share-action-nav__media-list-group', item.classNames),
238
278
  onClick: function onClick(e) {
239
279
  e.stopPropagation();
240
280
  onItemClick(item);
@@ -8,6 +8,7 @@
8
8
  }
9
9
  .security-content .fcr-drop-menu-title {
10
10
  text-align: left;
11
+ font-size: 500;
11
12
  }
12
13
  .security-content .fcr-checkbox-inner {
13
14
  background-color: transparent;
@@ -21,4 +22,13 @@
21
22
  .security-content .fcr-checkbox-label {
22
23
  display: inline-block;
23
24
  flex: 1;
25
+ font-weight: 500;
26
+ }
27
+
28
+ .security-content .fcr-checkbox path {
29
+ fill: var(--fcr_ui_scene_mainicon1);
30
+ }
31
+
32
+ .fcr-drop-menu-option-primary:hover path {
33
+ fill: var(--fcr_ui_scene_ramp_brand6);
24
34
  }
@@ -7,6 +7,9 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.SecurityContent = void 0;
8
8
  require("core-js/modules/es.array.filter.js");
9
9
  require("core-js/modules/es.object.to-string.js");
10
+ require("core-js/modules/esnext.async-iterator.filter.js");
11
+ require("core-js/modules/esnext.iterator.constructor.js");
12
+ require("core-js/modules/esnext.iterator.filter.js");
10
13
  var _dropMenu = require("agora-ui-foundation/lib/components/drop-menu");
11
14
  var _react = require("react");
12
15
  var _context = require("../context");
@@ -21,6 +24,8 @@ var SecurityContent = exports.SecurityContent = (0, _mobxReact.observer)(functio
21
24
  isLockRoomEnabled = _useContext.isLockRoomEnabled,
22
25
  allowShareScreen = _useContext.allowShareScreen,
23
26
  updateAllowShareScreen = _useContext.updateAllowShareScreen,
27
+ allowBoardWrite = _useContext.allowBoardWrite,
28
+ updateBoardWriteEnabled = _useContext.updateBoardWriteEnabled,
24
29
  allowChat = _useContext.allowChat,
25
30
  updateAllowChat = _useContext.updateAllowChat,
26
31
  allowUnmuteSelfAudio = _useContext.allowUnmuteSelfAudio,
@@ -32,7 +37,11 @@ var SecurityContent = exports.SecurityContent = (0, _mobxReact.observer)(functio
32
37
  hasEnableStartAudioPermission = _useContext.hasEnableStartAudioPermission,
33
38
  hasEnableChangeNamePermission = _useContext.hasEnableChangeNamePermission,
34
39
  hasEnableStartVideoPermission = _useContext.hasEnableStartVideoPermission,
35
- hasLockRoomPermission = _useContext.hasLockRoomPermission;
40
+ hasLockRoomPermission = _useContext.hasLockRoomPermission,
41
+ hasAllowWriteBoardPermission = _useContext.hasAllowWriteBoardPermission,
42
+ hasWaitingRoomPermission = _useContext.hasWaitingRoomPermission,
43
+ updateWaitingRoomEnabled = _useContext.updateWaitingRoomEnabled,
44
+ isWaitingRoomEnabled = _useContext.isWaitingRoomEnabled;
36
45
  var transI18n = (0, _i18n.useI18n)();
37
46
  var allActions = [{
38
47
  title: /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
@@ -48,14 +57,15 @@ var SecurityContent = exports.SecurityContent = (0, _mobxReact.observer)(functio
48
57
  }
49
58
  }, {
50
59
  title: /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
51
- checked: false,
60
+ checked: isWaitingRoomEnabled,
52
61
  label: transI18n('fmt_security_options_activatewaitingroom'),
53
62
  styleType: "white"
54
63
  }),
55
64
  key: 'enable_waiting_room',
56
- type: 'disabled',
57
- hasPermission: true,
58
- onButtonClick: function onButtonClick() {},
65
+ hasPermission: hasWaitingRoomPermission,
66
+ onButtonClick: function onButtonClick() {
67
+ return updateWaitingRoomEnabled(!isWaitingRoomEnabled);
68
+ },
59
69
  classNames: 'room-control-drop-with-under-line'
60
70
  }, {
61
71
  title: transI18n('fmt_screenshare_options_allow'),
@@ -65,7 +75,7 @@ var SecurityContent = exports.SecurityContent = (0, _mobxReact.observer)(functio
65
75
  }, {
66
76
  title: /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
67
77
  checked: allowShareScreen,
68
- label: transI18n('fmt_screenshare_controlbar_security_list_participant_screenshare'),
78
+ label: transI18n('fmt_screenshare_screen_and_board'),
69
79
  styleType: "white"
70
80
  }),
71
81
  key: 'share_screen',
@@ -74,6 +84,16 @@ var SecurityContent = exports.SecurityContent = (0, _mobxReact.observer)(functio
74
84
  onButtonClick: function onButtonClick() {
75
85
  updateAllowShareScreen(!allowShareScreen);
76
86
  }
87
+ }, {
88
+ title: /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
89
+ checked: allowBoardWrite,
90
+ label: transI18n('fmt_screenshare_options_editable'),
91
+ styleType: "white"
92
+ }),
93
+ key: 'enable_whiteboard',
94
+ type: 'primary',
95
+ hasPermission: hasAllowWriteBoardPermission,
96
+ onButtonClick: updateBoardWriteEnabled
77
97
  }, {
78
98
  title: /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
79
99
  checked: allowChat,
@@ -121,18 +141,23 @@ var SecurityContent = exports.SecurityContent = (0, _mobxReact.observer)(functio
121
141
  updateAllowUnmuteSelfVideo(!allowUnmuteSelfVideo);
122
142
  },
123
143
  classNames: 'room-control-drop-with-under-line'
124
- }, {
125
- title: /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
126
- checked: false,
127
- label: transI18n('fmt_security_options_removemultiple'),
128
- styleType: "white"
129
- }),
130
- key: 'remove_fcr-participants',
131
- type: 'danger',
132
- hasPermission: true,
133
- onButtonClick: function onButtonClick() {},
134
- classNames: 'room-control-drop-disable'
135
- }];
144
+ }
145
+ // 功能没实现,暂时注释
146
+ // {
147
+ // title: (
148
+ // <FcrCheckbox
149
+ // checked={false}
150
+ // label={transI18n('fmt_security_options_removemultiple')}
151
+ // styleType="white"
152
+ // />
153
+ // ),
154
+ // key: 'remove_fcr-participants',
155
+ // type: 'danger',
156
+ // hasPermission: true,
157
+ // onButtonClick: () => {},
158
+ // classNames: 'room-control-drop-disable',
159
+ // },
160
+ ];
136
161
  var securityHasPermissionActions = allActions.filter(function (item) {
137
162
  return item.hasPermission;
138
163
  });
@@ -32,6 +32,7 @@ var _type = require("agora-edu-core/lib/type");
32
32
  var _toast = require("agora-ui-foundation/lib/components/toast");
33
33
  var _platform = require("../../utilities/platform");
34
34
  var _type2 = require("../../modules/action-bar/type");
35
+ var _meetingDetailsPortal = _interopRequireDefault(require("./meeting-details/meeting-details-portal"));
35
36
  var _jsxRuntime = require("react/jsx-runtime");
36
37
  var ControlBarView = exports.ControlBarView = (0, _mobxReact.observer)(function () {
37
38
  var _screenBounds$availTo;
@@ -71,7 +72,9 @@ var ControlBarView = exports.ControlBarView = (0, _mobxReact.observer)(function
71
72
  screenBounds = _useContext.screenBounds,
72
73
  connectType = _useContext.connectType,
73
74
  phoneMicEnabled = _useContext.phoneMicEnabled,
74
- hasSecurityPermission = _useContext.hasSecurityPermission;
75
+ hasSecurityPermission = _useContext.hasSecurityPermission,
76
+ setShowMeetingDetailPortal = _useContext.setShowMeetingDetailPortal,
77
+ fetchLeavingRoomPropsAfterInit = _useContext.fetchLeavingRoomPropsAfterInit;
75
78
  // 控制栏本身的高度
76
79
  var NAV_HEIGHT = 84;
77
80
  // 鼠标移开后自动隐藏的时间
@@ -184,6 +187,7 @@ var ControlBarView = exports.ControlBarView = (0, _mobxReact.observer)(function
184
187
  (0, _react.useEffect)(function () {
185
188
  function handleBlur(event) {
186
189
  setMoreVisible(false);
190
+ setShowMeetingDetailPortal(false);
187
191
  setShowSecurityPopover(false);
188
192
  }
189
193
  window.addEventListener('blur', handleBlur);
@@ -193,6 +197,8 @@ var ControlBarView = exports.ControlBarView = (0, _mobxReact.observer)(function
193
197
  }, []);
194
198
  (0, _react.useEffect)(function () {
195
199
  window.runtime.browserWindow.setAlwaysOnTop(false);
200
+ /** control-bar初始化后补偿发起一次store数据同步 */
201
+ fetchLeavingRoomPropsAfterInit();
196
202
  setTimeout(function () {
197
203
  window.runtime.browserWindow.setAlwaysOnTop(true, 'screen-saver');
198
204
  }, 500);
@@ -315,7 +321,7 @@ var ControlBarView = exports.ControlBarView = (0, _mobxReact.observer)(function
315
321
  onShareStateNavTransferPosition: handlerShareNavTransferPosition,
316
322
  currentPosition: navCurrentPosition,
317
323
  onStopShare: handlerStopShare
318
- })]
324
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_meetingDetailsPortal["default"], {})]
319
325
  })
320
326
  }) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {});
321
327
  });
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import store from './store';
3
2
  export declare const StoreContext: import("react").Context<store>;
@@ -15,6 +15,22 @@ require("core-js/modules/es.number.constructor.js");
15
15
  require("core-js/modules/es.object.create.js");
16
16
  require("core-js/modules/es.object.define-property.js");
17
17
  require("core-js/modules/es.object.get-own-property-descriptor.js");
18
+ require("core-js/modules/esnext.function.metadata.js");
19
+ require("core-js/modules/esnext.map.delete-all.js");
20
+ require("core-js/modules/esnext.map.emplace.js");
21
+ require("core-js/modules/esnext.map.every.js");
22
+ require("core-js/modules/esnext.map.filter.js");
23
+ require("core-js/modules/esnext.map.find.js");
24
+ require("core-js/modules/esnext.map.find-key.js");
25
+ require("core-js/modules/esnext.map.includes.js");
26
+ require("core-js/modules/esnext.map.key-of.js");
27
+ require("core-js/modules/esnext.map.map-keys.js");
28
+ require("core-js/modules/esnext.map.map-values.js");
29
+ require("core-js/modules/esnext.map.merge.js");
30
+ require("core-js/modules/esnext.map.reduce.js");
31
+ require("core-js/modules/esnext.map.some.js");
32
+ require("core-js/modules/esnext.map.update.js");
33
+ require("core-js/modules/esnext.symbol.metadata.js");
18
34
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
19
35
  var _typeof = require("@babel/runtime/helpers/typeof");
20
36
  Object.defineProperty(exports, "__esModule", {
@@ -25,6 +41,8 @@ require("core-js/modules/es.array.iterator.js");
25
41
  require("core-js/modules/es.object.to-string.js");
26
42
  require("core-js/modules/es.string.iterator.js");
27
43
  require("core-js/modules/es.weak-map.js");
44
+ require("core-js/modules/esnext.weak-map.delete-all.js");
45
+ require("core-js/modules/esnext.weak-map.emplace.js");
28
46
  require("core-js/modules/web.dom-collections.iterator.js");
29
47
  var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
30
48
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
@@ -37,8 +55,8 @@ var _rendererEvent = require("../../utilities/renderer-event");
37
55
  var _constant = require("../../utilities/constant");
38
56
  var _LiveStreamingStore;
39
57
  var _initProto, _init_videoSteamingUrl, _init_videoStreamingKey, _init_playUrl, _init_liveStreamingState, _init_isStartError, _initLiveStreamingDecs, _setIsStartErrorDecs, _setVideoStreamingStateDecs, _onLiveButtonClickDecs, _ref;
40
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
41
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
58
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
59
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
42
60
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
43
61
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
44
62
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -76,9 +94,7 @@ var LiveStreamingStore = exports["default"] = /*#__PURE__*/function () {
76
94
  key: "videoStreamingKey",
77
95
  get: function get() {
78
96
  return _classPrivateFieldGet(_B, this);
79
- }
80
- }, {
81
- key: "videoStreamingKey",
97
+ },
82
98
  set: function set(v) {
83
99
  _classPrivateFieldSet(_B, this, v);
84
100
  }
@@ -86,9 +102,7 @@ var LiveStreamingStore = exports["default"] = /*#__PURE__*/function () {
86
102
  key: "playUrl",
87
103
  get: function get() {
88
104
  return _classPrivateFieldGet(_C, this);
89
- }
90
- }, {
91
- key: "playUrl",
105
+ },
92
106
  set: function set(v) {
93
107
  _classPrivateFieldSet(_C, this, v);
94
108
  }
@@ -96,9 +110,7 @@ var LiveStreamingStore = exports["default"] = /*#__PURE__*/function () {
96
110
  key: "liveStreamingState",
97
111
  get: function get() {
98
112
  return _classPrivateFieldGet(_D, this);
99
- }
100
- }, {
101
- key: "liveStreamingState",
113
+ },
102
114
  set: function set(v) {
103
115
  _classPrivateFieldSet(_D, this, v);
104
116
  }
@@ -106,9 +118,7 @@ var LiveStreamingStore = exports["default"] = /*#__PURE__*/function () {
106
118
  key: "isStartError",
107
119
  get: function get() {
108
120
  return _classPrivateFieldGet(_E, this);
109
- }
110
- }, {
111
- key: "isStartError",
121
+ },
112
122
  set: function set(v) {
113
123
  _classPrivateFieldSet(_E, this, v);
114
124
  }
@@ -134,7 +144,7 @@ var LiveStreamingStore = exports["default"] = /*#__PURE__*/function () {
134
144
  }, {
135
145
  key: "onLiveButtonClick",
136
146
  value: function () {
137
- var _onLiveButtonClick = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(videoSteamingUrl, videoStreamingKey, playUrl) {
147
+ var _onLiveButtonClick = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee(videoSteamingUrl, videoStreamingKey, playUrl) {
138
148
  return _regenerator["default"].wrap(function _callee$(_context) {
139
149
  while (1) switch (_context.prev = _context.next) {
140
150
  case 0:
@@ -163,7 +173,7 @@ var LiveStreamingStore = exports["default"] = /*#__PURE__*/function () {
163
173
  }, {
164
174
  key: "_startLiveStreaming",
165
175
  value: function () {
166
- var _startLiveStreaming2 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee2(videoSteamingUrl, videoStreamingKey, playUrl) {
176
+ var _startLiveStreaming2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee2(videoSteamingUrl, videoStreamingKey, playUrl) {
167
177
  return _regenerator["default"].wrap(function _callee2$(_context2) {
168
178
  while (1) switch (_context2.prev = _context2.next) {
169
179
  case 0:
@@ -189,7 +199,7 @@ var LiveStreamingStore = exports["default"] = /*#__PURE__*/function () {
189
199
  }, {
190
200
  key: "_stopLiveStreaming",
191
201
  value: function () {
192
- var _stopLiveStreaming2 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee3() {
202
+ var _stopLiveStreaming2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee3() {
193
203
  return _regenerator["default"].wrap(function _callee3$(_context3) {
194
204
  while (1) switch (_context3.prev = _context3.next) {
195
205
  case 0:
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import SelectionStore from './selection-store';
3
2
  export declare const StoreContext: import("react").Context<SelectionStore>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { AgoraRtcDisplayInfo, AgoraRtcScreenCaptureType, AgoraRtcWindowInfo } from 'agora-rte-sdk/lib/core/rtc/type';
3
2
  import { AudioProcessingChannel } from 'agora-ui-foundation/lib/components/room-screen-share-state-bar/share-audio';
4
3
  import { FcrUserInfo, FcrUserRole } from 'agora-edu-core/lib/type';