fcr-ui-scene 3.8.2 → 3.9.0-alpha

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 (872) hide show
  1. package/lib/base.js +2 -2
  2. package/lib/creator/index.js +25 -10
  3. package/lib/creator/provider-initializer.browser.js +28 -3
  4. package/lib/creator/provider-initializer.electron.js +28 -5
  5. package/lib/electron/app.js +26 -9
  6. package/lib/electron/asar-validation.js +5 -1
  7. package/lib/electron/env.d.ts +1 -0
  8. package/lib/electron/env.js +2 -2
  9. package/lib/electron/injections.d.ts +2 -1
  10. package/lib/electron/injections.js +23 -17
  11. package/lib/electron/ipc/type.d.ts +2 -1
  12. package/lib/electron/ipc/type.js +1 -0
  13. package/lib/electron/ipc-protocol.d.ts +2 -0
  14. package/lib/electron/main.js +6 -6
  15. package/lib/electron/plugins/main-window-display.d.ts +8 -0
  16. package/lib/electron/plugins/main-window-display.js +23 -0
  17. package/lib/electron/preload.js +2 -1
  18. package/lib/electron/process-manager/index.d.ts +1 -0
  19. package/lib/electron/process-manager/index.js +37 -0
  20. package/lib/electron/process-manager/state-manager.d.ts +10 -0
  21. package/lib/electron/process-manager/state-manager.js +46 -4
  22. package/lib/electron/sdk-helper.js +4 -0
  23. package/lib/electron/window-proxy/browser-window-proxy-factory.d.ts +7 -0
  24. package/lib/electron/window-proxy/browser-window-proxy-factory.js +46 -0
  25. package/lib/electron/window-proxy/{browser-window-proxy.d.ts → implementations/browser-window-proxy.d.ts} +3 -24
  26. package/lib/electron/window-proxy/implementations/browser-window-proxy.js +335 -0
  27. package/lib/electron/window-proxy/implementations/electron-event-broadcaster.d.ts +9 -0
  28. package/lib/electron/window-proxy/implementations/electron-event-broadcaster.js +32 -0
  29. package/lib/electron/window-proxy/implementations/electron-ipc-handler.d.ts +6 -0
  30. package/lib/electron/window-proxy/implementations/electron-ipc-handler.js +27 -0
  31. package/lib/electron/window-proxy/implementations/electron-logger.d.ts +7 -0
  32. package/lib/electron/window-proxy/implementations/electron-logger.js +34 -0
  33. package/lib/electron/window-proxy/{main-process-handler.d.ts → implementations/main-process-handler.d.ts} +16 -9
  34. package/lib/electron/window-proxy/{main-process-handler.js → implementations/main-process-handler.js} +111 -111
  35. package/lib/electron/window-proxy/interfaces.d.ts +52 -0
  36. package/lib/electron/window-proxy/interfaces.js +6 -0
  37. package/lib/fragments/annotation/cursor.css +77 -0
  38. package/lib/fragments/annotation/index.d.ts +2 -4
  39. package/lib/fragments/annotation/index.js +4 -82
  40. package/lib/fragments/annotation/libs.d.ts +15 -11
  41. package/lib/fragments/annotation/libs.js +75 -26
  42. package/lib/fragments/annotation/store.d.ts +23 -43
  43. package/lib/fragments/annotation/store.js +319 -709
  44. package/lib/fragments/annotation/style.css +5 -6
  45. package/lib/fragments/annotation/view.d.ts +1 -0
  46. package/lib/fragments/annotation/view.js +8 -48
  47. package/lib/fragments/base.js +1 -1
  48. package/lib/fragments/whiteboard/libs.d.ts +72 -0
  49. package/lib/fragments/whiteboard/libs.js +155 -0
  50. package/lib/fragments/whiteboard/store.d.ts +1 -4
  51. package/lib/fragments/whiteboard/store.js +64 -128
  52. package/lib/modules/action-bar/components/apps/index.js +2 -2
  53. package/lib/modules/action-bar/components/collapse/index.js +8 -3
  54. package/lib/modules/action-bar/components/{confirm-leave-meeting → confirm-end-meeting}/index.d.ts +1 -1
  55. package/lib/modules/action-bar/components/{confirm-leave-meeting → confirm-end-meeting}/index.js +14 -33
  56. package/lib/modules/action-bar/components/leave/index.js +1 -1
  57. package/lib/modules/action-bar/components/notification-bar/components/interpreter/index.css +6 -0
  58. package/lib/modules/action-bar/components/notification-bar/components/interpreter/index.d.ts +3 -7
  59. package/lib/modules/action-bar/components/notification-bar/components/interpreter/index.js +66 -42
  60. package/lib/modules/action-bar/components/notification-bar/components/virtual-image/index.d.ts +2 -2
  61. package/lib/modules/action-bar/components/notification-bar/components/virtual-image/index.js +11 -7
  62. package/lib/modules/action-bar/components/notification-bar/index.js +12 -70
  63. package/lib/modules/action-bar/components/screen-share/submenu.js +39 -2
  64. package/lib/modules/action-bar/components/trigger-subscribe-language/guide-tooltip/index.css +1 -0
  65. package/lib/modules/action-bar/components/trigger-subscribe-language/guide-tooltip/index.js +10 -7
  66. package/lib/modules/action-bar/index.css +1 -1
  67. package/lib/modules/action-bar/main-scene/index.d.ts +1 -1
  68. package/lib/modules/action-bar/main-scene/index.js +4 -4
  69. package/lib/modules/action-bar/main-scene/store.base.d.ts +16 -9
  70. package/lib/modules/action-bar/main-scene/store.base.js +165 -94
  71. package/lib/modules/action-bar/type.d.ts +1 -15
  72. package/lib/modules/action-bar/type.js +14 -0
  73. package/lib/modules/action-bar/waiting-scene/view.js +1 -1
  74. package/lib/modules/annotation/board-cursor.css +77 -0
  75. package/lib/modules/annotation/components/color-picker/components/color.d.ts +5 -0
  76. package/lib/modules/annotation/components/color-picker/components/color.js +37 -0
  77. package/lib/modules/annotation/components/color-picker/components/panel.d.ts +1 -0
  78. package/lib/modules/annotation/components/color-picker/components/panel.js +108 -0
  79. package/lib/modules/annotation/components/color-picker/components/picker.d.ts +1 -0
  80. package/lib/modules/annotation/components/color-picker/components/picker.js +75 -0
  81. package/lib/modules/annotation/components/color-picker/index.d.ts +2 -0
  82. package/lib/modules/annotation/components/color-picker/index.js +45 -0
  83. package/lib/modules/annotation/components/eraser-picker.d.ts +4 -0
  84. package/lib/modules/annotation/components/eraser-picker.js +142 -0
  85. package/lib/modules/annotation/components/expansion/index.d.ts +1 -0
  86. package/lib/modules/annotation/components/expansion/index.js +100 -0
  87. package/lib/modules/annotation/components/extra-tool-picker.d.ts +1 -0
  88. package/lib/modules/annotation/components/extra-tool-picker.js +62 -0
  89. package/lib/modules/annotation/components/history.d.ts +2 -0
  90. package/lib/modules/annotation/components/history.js +76 -0
  91. package/lib/modules/annotation/components/icons/fold-icon.d.ts +2 -0
  92. package/lib/modules/annotation/components/icons/fold-icon.js +41 -0
  93. package/lib/modules/annotation/components/icons/move-icon.d.ts +1 -0
  94. package/lib/modules/annotation/components/icons/move-icon.js +66 -0
  95. package/lib/modules/annotation/components/item/index.d.ts +1 -0
  96. package/lib/modules/annotation/components/item/index.js +43 -0
  97. package/lib/modules/annotation/components/move-handle.d.ts +5 -0
  98. package/lib/modules/annotation/components/move-handle.js +134 -0
  99. package/lib/modules/annotation/components/pen-picker.d.ts +4 -0
  100. package/lib/modules/annotation/components/pen-picker.js +150 -0
  101. package/lib/modules/annotation/components/screen-capture-picker.d.ts +4 -0
  102. package/lib/modules/annotation/components/screen-capture-picker.js +84 -0
  103. package/lib/modules/annotation/components/shape-picker.d.ts +4 -0
  104. package/lib/modules/annotation/components/shape-picker.js +201 -0
  105. package/lib/modules/annotation/hooks/index.d.ts +14 -0
  106. package/lib/modules/annotation/hooks/index.js +164 -0
  107. package/lib/modules/annotation/index.d.ts +31 -0
  108. package/lib/modules/annotation/index.js +152 -0
  109. package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/color-tool/color-panel/index.js +2 -2
  110. package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/color-tool/index.js +22 -9
  111. package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/graphic-tool/graphic-panel/index.js +2 -3
  112. package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/graphic-tool/index.js +22 -9
  113. package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/pen-tool/index.js +22 -9
  114. package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/pen-tool/pen-panel/index.js +1 -1
  115. package/lib/modules/annotation/standalone-toolbar/components/permission-tool/index.d.ts +1 -0
  116. package/lib/modules/annotation/standalone-toolbar/components/permission-tool/index.js +52 -0
  117. package/lib/modules/annotation/standalone-toolbar/store.d.ts +104 -0
  118. package/lib/modules/annotation/standalone-toolbar/store.js +618 -0
  119. package/{lib-es/fragments/annotation/toolbar → lib/modules/annotation/standalone-toolbar}/style.css +4 -1
  120. package/lib/modules/annotation/standalone-toolbar/view.js +193 -0
  121. package/lib/modules/annotation/store.base.d.ts +27 -0
  122. package/lib/modules/annotation/store.base.js +185 -0
  123. package/lib/modules/annotation/store.browser.d.ts +3 -0
  124. package/lib/modules/annotation/store.browser.js +25 -0
  125. package/lib/modules/annotation/store.electron.d.ts +8 -0
  126. package/lib/modules/annotation/store.electron.js +75 -0
  127. package/lib/modules/annotation/style.css +36 -0
  128. package/lib/modules/annotation/toolbar-store.d.ts +86 -0
  129. package/lib/modules/annotation/toolbar-store.js +473 -0
  130. package/lib/modules/annotation/type.d.ts +7 -0
  131. package/lib/modules/annotation/type.js +6 -0
  132. package/lib/modules/annotation/view.d.ts +5 -0
  133. package/lib/modules/annotation/view.js +107 -0
  134. package/lib/modules/chat/chat-room-store.d.ts +8 -1
  135. package/lib/modules/chat/chat-room-store.js +152 -72
  136. package/lib/modules/chat/components/message-list/index.js +123 -93
  137. package/lib/modules/chat/components/message-list/message-item/index.js +89 -67
  138. package/lib/modules/chat/components/message-list/scroll-bottom-button/index.js +6 -8
  139. package/lib/modules/chat/index.css +1 -9
  140. package/lib/modules/chat/store.js +7 -5
  141. package/lib/modules/chat/view.js +4 -9
  142. package/lib/modules/components/annotation-menu/index.d.ts +5 -3
  143. package/lib/modules/components/annotation-menu/index.js +29 -34
  144. package/lib/modules/components/apps/index.css +3 -2
  145. package/lib/modules/components/caption-menu/translation-setting-options.js +2 -2
  146. package/lib/modules/components/confirm-wrapper/index.css +48 -0
  147. package/lib/modules/components/confirm-wrapper/index.d.ts +25 -0
  148. package/lib/modules/components/confirm-wrapper/index.js +87 -0
  149. package/lib/modules/components/control-bar/index.d.ts +40 -8
  150. package/lib/modules/components/control-bar/index.js +350 -200
  151. package/lib/modules/components/device-control/components/audio-menu/index.js +3 -2
  152. package/lib/modules/components/device-control/components/video-menu/index.js +5 -3
  153. package/lib/modules/components/device-control/store.base.d.ts +5 -0
  154. package/lib/modules/components/device-control/store.base.js +17 -1
  155. package/lib/modules/components/leave-meeting/index.css +21 -0
  156. package/lib/modules/components/leave-meeting/index.d.ts +0 -2
  157. package/lib/modules/components/leave-meeting/index.js +63 -103
  158. package/lib/modules/components/leave-meeting/portal.d.ts +0 -1
  159. package/lib/modules/components/leave-meeting/portal.js +4 -6
  160. package/lib/modules/components/leave-meeting/store.base.d.ts +3 -4
  161. package/lib/modules/components/leave-meeting/store.base.js +49 -55
  162. package/lib/modules/components/leave-meeting/style.css +0 -1
  163. package/lib/modules/components/member-window/components/member-actions/components/more-actions.js +2 -1
  164. package/lib/modules/components/member-window/components/member-actions/provider.js +1 -1
  165. package/lib/modules/components/member-window/index.d.ts +1 -1
  166. package/lib/modules/components/member-window/index.js +3 -3
  167. package/lib/modules/components/security-menu/store.js +7 -9
  168. package/lib/modules/components/tab-frame/index.css +2 -2
  169. package/lib/modules/connection-gateway/components/phone/index.js +1 -1
  170. package/lib/modules/connection-gateway/store.js +6 -8
  171. package/lib/modules/control-bar/components/annotation-button/index.d.ts +11 -0
  172. package/lib/modules/control-bar/components/annotation-button/index.js +51 -0
  173. package/lib/modules/control-bar/components/apps-popover/index.css +3 -0
  174. package/lib/modules/control-bar/components/apps-popover/index.d.ts +1 -0
  175. package/lib/modules/control-bar/components/apps-popover/index.js +2 -0
  176. package/lib/modules/control-bar/components/carmera/index.js +1 -1
  177. package/lib/modules/control-bar/components/meeting-details/index.js +14 -20
  178. package/lib/modules/control-bar/components/microphone/index.js +2 -2
  179. package/lib/modules/control-bar/hooks.js +1 -1
  180. package/lib/modules/control-bar/index.css +11 -0
  181. package/lib/modules/control-bar/store.d.ts +20 -5
  182. package/lib/modules/control-bar/store.js +190 -59
  183. package/lib/modules/control-bar/view.js +72 -39
  184. package/lib/modules/device-pretest/audio-preview/microphone-detection.js +3 -9
  185. package/lib/modules/device-pretest/audio-preview/speaker-detection.js +1 -1
  186. package/lib/modules/device-pretest/index.js +1 -1
  187. package/lib/modules/device-pretest/settings/beauty.js +1 -1
  188. package/lib/modules/device-pretest/settings/video-effect.d.ts +2 -0
  189. package/lib/modules/device-pretest/settings/video-effect.js +27 -12
  190. package/lib/modules/device-pretest/settings/video-settings-basic.js +1 -1
  191. package/lib/modules/device-pretest/settings/virtual-background-setting.js +1 -1
  192. package/lib/modules/dialog/components/confirm/index.css +0 -18
  193. package/lib/modules/dialog/components/confirm/index.d.ts +1 -0
  194. package/lib/modules/dialog/components/confirm/index.js +2 -2
  195. package/lib/modules/dialog/components/dialog-container/index.css +3 -4
  196. package/lib/modules/dialog/components/dialog-container/index.d.ts +6 -21
  197. package/lib/modules/dialog/components/dialog-container/index.js +80 -132
  198. package/lib/modules/dialog/components/normal-window/index.d.ts +8 -20
  199. package/lib/modules/dialog/components/normal-window/index.js +14 -34
  200. package/lib/modules/dialog/dialogConfig/browser.d.ts +12 -0
  201. package/lib/modules/dialog/dialogConfig/browser.js +11 -0
  202. package/lib/modules/dialog/dialogConfig/electron.d.ts +4 -0
  203. package/lib/modules/dialog/dialogConfig/electron.js +15 -0
  204. package/lib/modules/dialog/dialogs/annotation-mask/index.d.ts +8 -0
  205. package/lib/modules/dialog/dialogs/annotation-mask/index.js +41 -0
  206. package/lib/modules/dialog/dialogs/annotation-tool/index.d.ts +5 -4
  207. package/lib/modules/dialog/dialogs/annotation-tool/index.js +19 -35
  208. package/lib/modules/dialog/dialogs/caption/index.d.ts +4 -16
  209. package/lib/modules/dialog/dialogs/caption/index.js +25 -19
  210. package/lib/modules/dialog/dialogs/chat/index.d.ts +4 -18
  211. package/lib/modules/dialog/dialogs/chat/index.js +33 -54
  212. package/lib/modules/dialog/dialogs/confirm/index.css +2 -13
  213. package/lib/modules/dialog/dialogs/confirm/index.d.ts +2 -17
  214. package/lib/modules/dialog/dialogs/confirm/index.js +5 -7
  215. package/lib/modules/dialog/dialogs/confirm-leave-meeting/index.d.ts +5 -16
  216. package/lib/modules/dialog/dialogs/confirm-leave-meeting/index.js +4 -24
  217. package/lib/modules/dialog/dialogs/connection-gateway/index.d.ts +4 -20
  218. package/lib/modules/dialog/dialogs/connection-gateway/index.js +6 -29
  219. package/lib/modules/dialog/dialogs/control-bar/index.d.ts +2 -16
  220. package/lib/modules/dialog/dialogs/control-bar/index.js +4 -6
  221. package/lib/modules/dialog/dialogs/control-bar-leave-meeting/index.d.ts +4 -14
  222. package/lib/modules/dialog/dialogs/control-bar-leave-meeting/index.js +3 -21
  223. package/lib/modules/dialog/dialogs/device-setting/index.d.ts +4 -13
  224. package/lib/modules/dialog/dialogs/device-setting/index.js +4 -20
  225. package/lib/modules/dialog/dialogs/end-meeting-notice/index.d.ts +8 -0
  226. package/lib/modules/dialog/dialogs/{end-meeting → end-meeting-notice}/index.js +4 -14
  227. package/lib/modules/dialog/dialogs/interpreter/index.d.ts +4 -14
  228. package/lib/modules/dialog/dialogs/interpreter/index.js +33 -24
  229. package/lib/modules/dialog/dialogs/invite/index.d.ts +4 -18
  230. package/lib/modules/dialog/dialogs/invite/index.js +25 -24
  231. package/lib/modules/dialog/dialogs/live-streaming/index.d.ts +4 -8
  232. package/lib/modules/dialog/dialogs/live-streaming/index.js +7 -11
  233. package/lib/modules/dialog/dialogs/mute-all/index.d.ts +4 -15
  234. package/lib/modules/dialog/dialogs/mute-all/index.js +4 -20
  235. package/lib/modules/dialog/dialogs/participant/index.d.ts +4 -18
  236. package/lib/modules/dialog/dialogs/participant/index.js +31 -31
  237. package/lib/modules/dialog/dialogs/rename/index.d.ts +2 -14
  238. package/lib/modules/dialog/dialogs/rename/index.js +2 -13
  239. package/lib/modules/dialog/dialogs/sample-dialog/index.d.ts +2 -13
  240. package/lib/modules/dialog/dialogs/sample-dialog/index.js +2 -2
  241. package/lib/modules/dialog/dialogs/share-screen-selection/index.d.ts +2 -14
  242. package/lib/modules/dialog/dialogs/share-screen-selection/index.js +3 -12
  243. package/lib/modules/dialog/dialogs/sub-window/index.d.ts +2 -17
  244. package/lib/modules/dialog/dialogs/sub-window/index.js +4 -3
  245. package/lib/modules/dialog/dialogs/subtitles-history/index.d.ts +4 -19
  246. package/lib/modules/dialog/dialogs/subtitles-history/index.js +32 -25
  247. package/lib/modules/dialog/dialogs/system-preference/index.css +3 -2
  248. package/lib/modules/dialog/dialogs/system-preference/index.d.ts +5 -28
  249. package/lib/modules/dialog/dialogs/system-preference/index.js +13 -13
  250. package/lib/modules/dialog/dialogs/toast/index.d.ts +2 -16
  251. package/lib/modules/dialog/dialogs/toast/index.js +5 -5
  252. package/lib/modules/dialog/dialogs/video-window/index.d.ts +2 -18
  253. package/lib/modules/dialog/dialogs/video-window/index.js +4 -4
  254. package/lib/modules/dialog/dialogs/whiteboard/index.d.ts +2 -18
  255. package/lib/modules/dialog/dialogs/whiteboard/index.js +2 -2
  256. package/lib/modules/dialog/dialogs/widget/index.d.ts +4 -14
  257. package/lib/modules/dialog/dialogs/widget/index.js +22 -26
  258. package/lib/modules/dialog/index.css +4 -11
  259. package/lib/modules/dialog/level-config.d.ts +1 -0
  260. package/lib/modules/dialog/level-config.js +1 -0
  261. package/lib/modules/dialog/store.base.js +0 -3
  262. package/lib/modules/dialog/store.electron.d.ts +1 -0
  263. package/lib/modules/dialog/store.electron.js +16 -9
  264. package/lib/modules/dialog/type.d.ts +3 -1
  265. package/lib/modules/dialog/view.js +25 -1
  266. package/lib/modules/dialog/web-dialog-wrapper.d.ts +3 -0
  267. package/lib/modules/dialog/web-dialog-wrapper.js +154 -0
  268. package/lib/modules/event-toast/index.css +5 -2
  269. package/lib/modules/event-toast/store.browser.js +1 -1
  270. package/lib/modules/event-toast/store.electron.js +1 -1
  271. package/lib/modules/interpreter/index.css +1 -2
  272. package/lib/modules/interpreter/store.js +22 -19
  273. package/lib/modules/interpreter/utils.js +1 -1
  274. package/lib/modules/invite/components/pstn-invite.js +5 -5
  275. package/lib/modules/invite/store.d.ts +2 -2
  276. package/lib/modules/invite/store.js +1 -1
  277. package/lib/modules/layout/components/Aside.js +1 -1
  278. package/lib/modules/layout/components/Carousel.js +1 -1
  279. package/lib/modules/layout/components/CommonVideoRenderer.js +14 -4
  280. package/lib/modules/layout/components/Gallery.js +1 -1
  281. package/lib/modules/layout/index.css +0 -31
  282. package/lib/modules/layout/store.base.d.ts +9 -15
  283. package/lib/modules/layout/store.base.js +69 -198
  284. package/lib/modules/layout/store.browser.d.ts +2 -1
  285. package/lib/modules/layout/store.browser.js +62 -2
  286. package/lib/modules/layout/store.electron.d.ts +1 -3
  287. package/lib/modules/layout/store.electron.js +10 -28
  288. package/lib/modules/layout/view.js +1 -3
  289. package/lib/modules/live-streaming/index.dev.js +1 -1
  290. package/lib/modules/live-streaming/store.js +3 -4
  291. package/lib/modules/participant/components/confirm-input/index.css +15 -0
  292. package/lib/modules/participant/components/confirm-input/index.js +10 -13
  293. package/lib/modules/participant/components/mute-all/index.css +34 -0
  294. package/lib/modules/participant/components/mute-all/index.d.ts +1 -0
  295. package/lib/modules/participant/components/mute-all/index.js +21 -15
  296. package/lib/modules/participant/components/participants/components/footer/components/drop-menu/index.js +16 -2
  297. package/lib/modules/participant/components/participants/components/footer/components/drop-menu/util.d.ts +2 -1
  298. package/lib/modules/participant/components/participants/components/footer/components/drop-menu/util.js +3 -1
  299. package/lib/modules/participant/components/participants/components/render-user/components/attendee/components/microphone-indicator/index.js +3 -2
  300. package/lib/modules/participant/components/participants/components/render-user/components/user-action/index.js +1 -1
  301. package/lib/modules/participant/index.css +0 -16
  302. package/lib/modules/participant/store.base.d.ts +18 -5
  303. package/lib/modules/participant/store.base.js +219 -127
  304. package/lib/modules/participant/store.browser.d.ts +2 -1
  305. package/lib/modules/participant/store.browser.js +2 -2
  306. package/lib/modules/participant/store.electron.d.ts +2 -1
  307. package/lib/modules/participant/store.electron.js +2 -2
  308. package/lib/modules/pc-audio-connect/waiting-scene/index.js +6 -1
  309. package/lib/modules/phone-audio-connect/store.js +1 -1
  310. package/lib/modules/phone-audio-connect/view.js +1 -1
  311. package/lib/modules/secondary-window/index.d.ts +14 -7
  312. package/lib/modules/secondary-window/index.js +51 -25
  313. package/lib/modules/secondary-window/store.d.ts +4 -2
  314. package/lib/modules/secondary-window/store.js +39 -8
  315. package/lib/modules/secondary-window/type.d.ts +16 -25
  316. package/lib/modules/secondary-window/type.js +1 -0
  317. package/lib/modules/secondary-window/view.js +59 -58
  318. package/lib/modules/setting/audio-settings/audio-settings.js +2 -2
  319. package/lib/modules/setting/audio-whiteList/audio-device-adaptation.js +2 -2
  320. package/lib/modules/setting/audio-whiteList/audio-whiteList-manager.js +1 -1
  321. package/lib/modules/setting/caption_and_transcribing/index.js +1 -1
  322. package/lib/modules/setting/general-settings/general-settings.js +4 -4
  323. package/lib/modules/setting/index.css +2 -3
  324. package/lib/modules/setting/index.d.ts +1 -2
  325. package/lib/modules/setting/index.js +3 -10
  326. package/lib/modules/setting/minutes-settings/minutes-settings.js +1 -1
  327. package/lib/modules/setting/state/index.js +1 -1
  328. package/lib/modules/setting/storage-settings/storage-settings.js +1 -1
  329. package/lib/modules/setting/store.base.d.ts +11 -9
  330. package/lib/modules/setting/store.base.js +103 -88
  331. package/lib/modules/setting/store.electron.d.ts +2 -1
  332. package/lib/modules/setting/store.electron.js +19 -1
  333. package/lib/modules/setting/translate-settings/translate-settings.js +1 -1
  334. package/lib/modules/setting/type.d.ts +1 -9
  335. package/lib/modules/setting/video-settings/video-settings-basic.js +1 -1
  336. package/lib/modules/setting/video-settings/video-settings.js +11 -7
  337. package/lib/modules/setting/view.js +1 -1
  338. package/lib/modules/share-screen/components/control-bar/index.js +0 -86
  339. package/lib/modules/share-screen/components/selection/index.js +3 -1
  340. package/lib/modules/share-screen/store.base.d.ts +1 -1
  341. package/lib/modules/share-screen/store.base.js +10 -14
  342. package/lib/modules/share-screen/store.electron.d.ts +4 -0
  343. package/lib/modules/share-screen/store.electron.js +108 -34
  344. package/lib/modules/state-bar/layout-config.js +1 -1
  345. package/lib/modules/state-bar/live-streaming-state.js +6 -7
  346. package/lib/modules/state-bar/main-scene/store.browser.js +1 -1
  347. package/lib/modules/state-bar/main-scene/store.electron.js +1 -1
  348. package/lib/modules/state-bar/meeting-details.js +14 -21
  349. package/lib/modules/state-bar/meeting-network-state.css +5 -1
  350. package/lib/modules/state-bar/meeting-network-state.js +7 -1
  351. package/lib/modules/state-bar/meeting-time.js +1 -1
  352. package/lib/modules/state-bar/network-quality.js +1 -1
  353. package/lib/modules/state-bar/recording.js +1 -1
  354. package/lib/modules/state-bar/store.base.d.ts +3 -3
  355. package/lib/modules/state-bar/store.base.js +15 -24
  356. package/lib/modules/state-bar/view.js +6 -7
  357. package/lib/modules/subtitles-history/components/list-item.js +6 -1
  358. package/lib/modules/subtitles-history/index.css +2 -5
  359. package/lib/modules/subtitles-history/store.base.js +24 -12
  360. package/lib/modules/subtitles-history/store.electron.js +8 -2
  361. package/lib/modules/subtitles-history/view.js +7 -5
  362. package/lib/modules/toast-manager/index.d.ts +8 -0
  363. package/lib/modules/toast-manager/index.js +58 -0
  364. package/lib/modules/toast-manager/store.d.ts +28 -0
  365. package/lib/modules/toast-manager/store.js +391 -0
  366. package/lib/modules/toast-manager/toast-params.d.ts +7 -0
  367. package/lib/modules/toast-manager/toast-params.js +89 -0
  368. package/lib/modules/toast-manager/type.d.ts +112 -0
  369. package/lib/modules/toast-manager/type.js +337 -0
  370. package/lib/modules/video-window/store.d.ts +2 -2
  371. package/lib/modules/video-window/store.js +28 -50
  372. package/lib/modules/whiteboard/components/control-bar/store.d.ts +0 -1
  373. package/lib/modules/whiteboard/components/control-bar/store.js +0 -6
  374. package/lib/modules/whiteboard/components/toolbar/store.d.ts +1 -0
  375. package/lib/modules/whiteboard/components/toolbar/store.js +25 -14
  376. package/lib/modules/whiteboard/store.js +10 -9
  377. package/lib/modules/whiteboard/view.js +0 -1
  378. package/lib/modules/widget/store.electron.d.ts +0 -4
  379. package/lib/modules/widget/store.electron.js +3 -38
  380. package/lib/modules/widget/view.js +1 -1
  381. package/lib/modules/widget/web-widget.d.ts +1 -1
  382. package/lib/object-manager.d.ts +2 -0
  383. package/lib/object-manager.js +2 -0
  384. package/lib/plugins/multi-lang-plugin.js +1 -1
  385. package/lib/providers/ability-provider.d.ts +33 -1
  386. package/lib/providers/ability-provider.js +29 -1
  387. package/lib/providers/annotation/provider.base.d.ts +39 -0
  388. package/lib/providers/annotation/provider.base.js +270 -0
  389. package/lib/providers/annotation/provider.browser.d.ts +3 -0
  390. package/lib/providers/annotation/provider.browser.js +25 -0
  391. package/lib/providers/annotation/provider.electron.d.ts +34 -0
  392. package/lib/providers/annotation/provider.electron.js +231 -0
  393. package/lib/providers/annotation/standalone-toolbar-control/index.d.ts +26 -0
  394. package/lib/{fragments/annotation/toolbar/store.js → providers/annotation/standalone-toolbar-control/index.js} +103 -175
  395. package/lib/providers/annotation/toolbar-control/index.d.ts +31 -0
  396. package/lib/providers/annotation/toolbar-control/index.js +205 -0
  397. package/lib/providers/annotation/type.d.ts +64 -21
  398. package/lib/providers/app-list-provider.d.ts +4 -1
  399. package/lib/providers/app-list-provider.js +13 -7
  400. package/lib/providers/board-share/bar-control/base.d.ts +6 -8
  401. package/lib/providers/board-share/bar-control/base.js +7 -36
  402. package/lib/providers/board-share/bar-control/browser.d.ts +4 -1
  403. package/lib/providers/board-share/bar-control/browser.js +76 -3
  404. package/lib/providers/board-share/bar-control/electron.d.ts +4 -6
  405. package/lib/providers/board-share/bar-control/electron.js +36 -12
  406. package/lib/providers/board-share/provider.base.d.ts +11 -8
  407. package/lib/providers/board-share/provider.base.js +72 -13
  408. package/lib/providers/board-share/type.d.ts +11 -12
  409. package/lib/providers/device-privilege-provider.d.ts +5 -4
  410. package/lib/providers/device-privilege-provider.js +85 -62
  411. package/lib/providers/device-provider.d.ts +32 -1
  412. package/lib/providers/device-provider.js +412 -161
  413. package/lib/providers/device-stream-provider.d.ts +3 -3
  414. package/lib/providers/device-stream-provider.js +37 -111
  415. package/lib/providers/dialog/provider.electron.js +6 -1
  416. package/lib/providers/interpreter-provider.js +5 -5
  417. package/lib/providers/message/provider.d.ts +3 -1
  418. package/lib/providers/message/provider.js +12 -0
  419. package/lib/providers/message/type.d.ts +15 -0
  420. package/lib/providers/mouse-detect/provider.js +2 -2
  421. package/lib/providers/mouse-detect/struct.d.ts +2 -1
  422. package/lib/providers/mouse-detect/struct.js +1 -0
  423. package/lib/providers/multi-display-provider.d.ts +1 -0
  424. package/lib/providers/multi-display-provider.js +13 -0
  425. package/lib/providers/phone-audio-provider.d.ts +15 -0
  426. package/lib/providers/phone-audio-provider.js +17 -10
  427. package/lib/providers/privilege-provider.d.ts +15 -15
  428. package/lib/providers/room-provider/room-provider.d.ts +23 -11
  429. package/lib/providers/room-provider/room-provider.js +93 -199
  430. package/lib/providers/room-provider/waiting-room-control-manager.d.ts +2 -2
  431. package/lib/providers/room-provider/waiting-room-control-manager.js +2 -2
  432. package/lib/providers/screen-share/provider.base.d.ts +1 -0
  433. package/lib/providers/screen-share/provider.base.js +6 -1
  434. package/lib/providers/screen-share/provider.browser.js +13 -9
  435. package/lib/providers/screen-share/provider.electron.d.ts +1 -1
  436. package/lib/providers/screen-share/provider.electron.js +54 -44
  437. package/lib/providers/screen-share/strategy/electron.js +18 -3
  438. package/lib/providers/screen-share/stream-state-sync.d.ts +1 -1
  439. package/lib/providers/screen-share/stream-state-sync.js +4 -4
  440. package/lib/providers/screen-share/type.d.ts +9 -1
  441. package/lib/providers/session-provider.d.ts +1 -1
  442. package/lib/providers/stt-provider/stt-provider.d.ts +1 -1
  443. package/lib/providers/stt-provider/stt-provider.js +40 -77
  444. package/lib/providers/stt-provider/type.d.ts +5 -3
  445. package/lib/providers/stt-provider/type.js +4 -2
  446. package/lib/providers/user-audio-volume-provider.d.ts +47 -0
  447. package/lib/providers/user-audio-volume-provider.js +319 -0
  448. package/lib/providers/window/provider.d.ts +1 -1
  449. package/lib/providers/window/provider.js +23 -12
  450. package/lib/providers/window/renderer-window.d.ts +8 -2
  451. package/lib/providers/window/renderer-window.js +118 -33
  452. package/lib/providers/window/type.d.ts +1 -3
  453. package/lib/runtime.d.ts +12 -13
  454. package/lib/scenes/main-scene.js +98 -69
  455. package/lib/scenes/waiting-scene.js +4 -4
  456. package/lib/shared-data/member-data.d.ts +0 -9
  457. package/lib/shared-data/member-data.js +35 -61
  458. package/lib/shared-data/pin-data.d.ts +3 -2
  459. package/lib/shared-data/pin-data.js +8 -11
  460. package/lib/shared-data/setting.js +1 -1
  461. package/lib/shared-data/user-audio-volume.d.ts +19 -0
  462. package/lib/shared-data/user-audio-volume.js +104 -0
  463. package/lib/shared-data/video-window.js +49 -60
  464. package/lib/translations/enUS.d.ts +10 -0
  465. package/lib/translations/enUS.js +13 -3
  466. package/lib/translations/zhCN.d.ts +10 -0
  467. package/lib/translations/zhCN.js +12 -2
  468. package/lib/type.d.ts +27 -19
  469. package/lib/type.js +20 -2
  470. package/lib/ui-manager.js +1 -1
  471. package/lib/ui-scene-switch.d.ts +1 -0
  472. package/lib/ui-scene-switch.js +197 -87
  473. package/lib/utilities/browser-api.d.ts +0 -1
  474. package/lib/utilities/browser-api.js +0 -42
  475. package/lib/utilities/constant.d.ts +4 -4
  476. package/lib/utilities/constant.js +4 -5
  477. package/lib/utilities/default-config.d.ts +2 -8
  478. package/lib/utilities/default-config.js +8 -48
  479. package/lib/utilities/dialog-utils.js +1 -2
  480. package/lib/utilities/focus-helper.js +2 -2
  481. package/lib/utilities/logger.d.ts +1 -2
  482. package/lib/utilities/logger.js +12 -40
  483. package/lib/utilities/package-info.d.ts +1 -2
  484. package/lib/utilities/package-info.js +5 -6
  485. package/lib/utilities/renderer.d.ts +1 -0
  486. package/lib/utilities/renderer.js +7 -1
  487. package/lib/utilities/shared-storage.d.ts +2 -3
  488. package/lib/utilities/shared-storage.js +15 -11
  489. package/lib/utilities/tools.d.ts +1 -44
  490. package/lib/utilities/tools.js +28 -193
  491. package/lib/utilities/validate-params.js +3 -5
  492. package/lib-es/base.js +2 -2
  493. package/lib-es/creator/index.js +28 -12
  494. package/lib-es/creator/provider-initializer.browser.js +28 -3
  495. package/lib-es/creator/provider-initializer.electron.js +28 -5
  496. package/lib-es/electron/app.js +24 -7
  497. package/lib-es/electron/asar-validation.js +5 -1
  498. package/lib-es/electron/env.js +1 -1
  499. package/lib-es/electron/injections.js +22 -17
  500. package/lib-es/electron/ipc/type.js +1 -0
  501. package/lib-es/electron/main.js +3 -2
  502. package/lib-es/electron/plugins/main-window-display.js +16 -0
  503. package/lib-es/electron/preload.js +3 -2
  504. package/lib-es/electron/process-manager/index.js +37 -0
  505. package/lib-es/electron/process-manager/state-manager.js +46 -4
  506. package/lib-es/electron/sdk-helper.js +4 -0
  507. package/lib-es/electron/window-proxy/browser-window-proxy-factory.js +38 -0
  508. package/lib-es/electron/window-proxy/implementations/browser-window-proxy.js +328 -0
  509. package/lib-es/electron/window-proxy/implementations/electron-event-broadcaster.js +24 -0
  510. package/lib-es/electron/window-proxy/implementations/electron-ipc-handler.js +19 -0
  511. package/lib-es/electron/window-proxy/implementations/electron-logger.js +26 -0
  512. package/lib-es/electron/window-proxy/{main-process-handler.js → implementations/main-process-handler.js} +110 -113
  513. package/lib-es/electron/window-proxy/interfaces.js +1 -0
  514. package/lib-es/fragments/annotation/cursor.css +77 -0
  515. package/lib-es/fragments/annotation/index.js +5 -83
  516. package/lib-es/fragments/annotation/libs.js +63 -14
  517. package/lib-es/fragments/annotation/store.js +321 -711
  518. package/lib-es/fragments/annotation/style.css +5 -6
  519. package/lib-es/fragments/annotation/view.js +9 -48
  520. package/lib-es/fragments/base.js +1 -1
  521. package/lib-es/fragments/whiteboard/libs.js +147 -0
  522. package/lib-es/fragments/whiteboard/store.js +65 -129
  523. package/lib-es/modules/action-bar/components/apps/index.js +2 -2
  524. package/lib-es/modules/action-bar/components/collapse/index.js +8 -3
  525. package/lib-es/modules/action-bar/components/{confirm-leave-meeting → confirm-end-meeting}/index.js +14 -33
  526. package/lib-es/modules/action-bar/components/leave/index.js +1 -1
  527. package/lib-es/modules/action-bar/components/notification-bar/components/interpreter/index.css +6 -0
  528. package/lib-es/modules/action-bar/components/notification-bar/components/interpreter/index.js +66 -42
  529. package/lib-es/modules/action-bar/components/notification-bar/components/virtual-image/index.js +11 -7
  530. package/lib-es/modules/action-bar/components/notification-bar/index.js +13 -71
  531. package/lib-es/modules/action-bar/components/screen-share/submenu.js +39 -2
  532. package/lib-es/modules/action-bar/components/trigger-subscribe-language/guide-tooltip/index.css +1 -0
  533. package/lib-es/modules/action-bar/components/trigger-subscribe-language/guide-tooltip/index.js +11 -8
  534. package/lib-es/modules/action-bar/index.css +1 -1
  535. package/lib-es/modules/action-bar/main-scene/index.js +4 -4
  536. package/lib-es/modules/action-bar/main-scene/store.base.js +165 -94
  537. package/lib-es/modules/action-bar/type.js +15 -0
  538. package/lib-es/modules/action-bar/waiting-scene/view.js +1 -1
  539. package/lib-es/modules/annotation/board-cursor.css +77 -0
  540. package/lib-es/modules/annotation/components/color-picker/components/color.js +29 -0
  541. package/lib-es/modules/annotation/components/color-picker/components/panel.js +100 -0
  542. package/lib-es/modules/annotation/components/color-picker/components/picker.js +67 -0
  543. package/lib-es/modules/annotation/components/color-picker/index.js +38 -0
  544. package/lib-es/modules/annotation/components/eraser-picker.js +134 -0
  545. package/lib-es/modules/annotation/components/expansion/index.js +85 -0
  546. package/lib-es/modules/annotation/components/extra-tool-picker.js +46 -0
  547. package/lib-es/modules/annotation/components/history.js +68 -0
  548. package/lib-es/modules/annotation/components/icons/fold-icon.js +33 -0
  549. package/lib-es/modules/annotation/components/icons/move-icon.js +59 -0
  550. package/lib-es/modules/annotation/components/item/index.js +35 -0
  551. package/lib-es/modules/annotation/components/move-handle.js +127 -0
  552. package/lib-es/modules/annotation/components/pen-picker.js +142 -0
  553. package/lib-es/modules/annotation/components/screen-capture-picker.js +77 -0
  554. package/lib-es/modules/annotation/components/shape-picker.js +193 -0
  555. package/lib-es/modules/annotation/hooks/index.js +156 -0
  556. package/lib-es/modules/annotation/index.js +144 -0
  557. package/lib-es/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/color-tool/color-panel/index.js +2 -2
  558. package/lib-es/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/color-tool/index.js +23 -10
  559. package/lib-es/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/graphic-tool/graphic-panel/index.js +2 -3
  560. package/lib-es/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/graphic-tool/index.js +23 -10
  561. package/lib-es/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/pen-tool/index.js +23 -10
  562. package/lib-es/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/pen-tool/pen-panel/index.js +2 -2
  563. package/lib-es/modules/annotation/standalone-toolbar/components/permission-tool/index.js +44 -0
  564. package/lib-es/modules/annotation/standalone-toolbar/store.js +611 -0
  565. package/{lib/fragments/annotation/toolbar → lib-es/modules/annotation/standalone-toolbar}/style.css +4 -1
  566. package/lib-es/modules/annotation/standalone-toolbar/view.js +186 -0
  567. package/lib-es/modules/annotation/store.base.js +178 -0
  568. package/lib-es/modules/annotation/store.browser.js +17 -0
  569. package/lib-es/modules/annotation/store.electron.js +67 -0
  570. package/lib-es/modules/annotation/style.css +36 -0
  571. package/lib-es/modules/annotation/toolbar-store.js +466 -0
  572. package/lib-es/modules/annotation/type.js +1 -0
  573. package/lib-es/modules/annotation/view.js +99 -0
  574. package/lib-es/modules/chat/chat-room-store.js +152 -72
  575. package/lib-es/modules/chat/components/message-list/index.js +123 -89
  576. package/lib-es/modules/chat/components/message-list/message-item/index.js +89 -67
  577. package/lib-es/modules/chat/components/message-list/scroll-bottom-button/index.js +6 -8
  578. package/lib-es/modules/chat/index.css +1 -9
  579. package/lib-es/modules/chat/store.js +7 -5
  580. package/lib-es/modules/chat/view.js +2 -7
  581. package/lib-es/modules/components/annotation-menu/index.js +28 -33
  582. package/lib-es/modules/components/apps/index.css +3 -2
  583. package/lib-es/modules/components/caption-menu/translation-setting-options.js +2 -2
  584. package/lib-es/modules/components/confirm-wrapper/index.css +48 -0
  585. package/lib-es/modules/components/confirm-wrapper/index.js +80 -0
  586. package/lib-es/modules/components/control-bar/index.js +349 -199
  587. package/lib-es/modules/components/device-control/components/audio-menu/index.js +3 -2
  588. package/lib-es/modules/components/device-control/components/video-menu/index.js +5 -3
  589. package/lib-es/modules/components/device-control/store.base.js +17 -1
  590. package/lib-es/modules/components/leave-meeting/index.css +21 -0
  591. package/lib-es/modules/components/leave-meeting/index.js +63 -102
  592. package/lib-es/modules/components/leave-meeting/portal.js +3 -5
  593. package/lib-es/modules/components/leave-meeting/store.base.js +49 -55
  594. package/lib-es/modules/components/leave-meeting/style.css +0 -1
  595. package/lib-es/modules/components/member-window/components/member-actions/components/more-actions.js +2 -1
  596. package/lib-es/modules/components/member-window/components/member-actions/provider.js +1 -1
  597. package/lib-es/modules/components/member-window/index.js +3 -3
  598. package/lib-es/modules/components/security-menu/store.js +7 -9
  599. package/lib-es/modules/components/tab-frame/index.css +2 -2
  600. package/lib-es/modules/connection-gateway/components/phone/index.js +1 -1
  601. package/lib-es/modules/connection-gateway/store.js +6 -8
  602. package/lib-es/modules/control-bar/components/annotation-button/index.js +43 -0
  603. package/lib-es/modules/control-bar/components/apps-popover/index.css +3 -0
  604. package/lib-es/modules/control-bar/components/apps-popover/index.js +2 -0
  605. package/lib-es/modules/control-bar/components/carmera/index.js +1 -1
  606. package/lib-es/modules/control-bar/components/meeting-details/index.js +10 -16
  607. package/lib-es/modules/control-bar/components/microphone/index.js +2 -2
  608. package/lib-es/modules/control-bar/hooks.js +1 -1
  609. package/lib-es/modules/control-bar/index.css +11 -0
  610. package/lib-es/modules/control-bar/store.js +184 -53
  611. package/lib-es/modules/control-bar/view.js +72 -39
  612. package/lib-es/modules/device-pretest/audio-preview/microphone-detection.js +4 -10
  613. package/lib-es/modules/device-pretest/audio-preview/speaker-detection.js +1 -1
  614. package/lib-es/modules/device-pretest/index.js +1 -1
  615. package/lib-es/modules/device-pretest/settings/beauty.js +1 -1
  616. package/lib-es/modules/device-pretest/settings/video-effect.js +27 -12
  617. package/lib-es/modules/device-pretest/settings/video-settings-basic.js +1 -1
  618. package/lib-es/modules/device-pretest/settings/virtual-background-setting.js +1 -1
  619. package/lib-es/modules/dialog/components/confirm/index.css +0 -18
  620. package/lib-es/modules/dialog/components/confirm/index.js +2 -1
  621. package/lib-es/modules/dialog/components/dialog-container/index.css +3 -4
  622. package/lib-es/modules/dialog/components/dialog-container/index.js +80 -126
  623. package/lib-es/modules/dialog/components/normal-window/index.js +15 -35
  624. package/lib-es/modules/dialog/dialogConfig/browser.js +4 -0
  625. package/lib-es/modules/dialog/dialogConfig/electron.js +8 -0
  626. package/lib-es/modules/dialog/dialogs/annotation-mask/index.js +34 -0
  627. package/lib-es/modules/dialog/dialogs/annotation-tool/index.js +18 -34
  628. package/lib-es/modules/dialog/dialogs/caption/index.js +24 -18
  629. package/lib-es/modules/dialog/dialogs/chat/index.js +32 -53
  630. package/lib-es/modules/dialog/dialogs/confirm/index.css +2 -13
  631. package/lib-es/modules/dialog/dialogs/confirm/index.js +4 -6
  632. package/lib-es/modules/dialog/dialogs/confirm-leave-meeting/index.js +3 -23
  633. package/lib-es/modules/dialog/dialogs/connection-gateway/index.js +5 -28
  634. package/lib-es/modules/dialog/dialogs/control-bar/index.js +3 -5
  635. package/lib-es/modules/dialog/dialogs/control-bar-leave-meeting/index.js +2 -20
  636. package/lib-es/modules/dialog/dialogs/device-setting/index.js +3 -19
  637. package/lib-es/modules/dialog/dialogs/{end-meeting → end-meeting-notice}/index.js +3 -13
  638. package/lib-es/modules/dialog/dialogs/interpreter/index.js +32 -23
  639. package/lib-es/modules/dialog/dialogs/invite/index.js +24 -23
  640. package/lib-es/modules/dialog/dialogs/live-streaming/index.js +6 -10
  641. package/lib-es/modules/dialog/dialogs/mute-all/index.js +3 -19
  642. package/lib-es/modules/dialog/dialogs/participant/index.js +31 -30
  643. package/lib-es/modules/dialog/dialogs/rename/index.js +1 -12
  644. package/lib-es/modules/dialog/dialogs/sample-dialog/index.js +1 -1
  645. package/lib-es/modules/dialog/dialogs/share-screen-selection/index.js +2 -11
  646. package/lib-es/modules/dialog/dialogs/sub-window/index.js +3 -2
  647. package/lib-es/modules/dialog/dialogs/subtitles-history/index.js +31 -24
  648. package/lib-es/modules/dialog/dialogs/system-preference/index.css +3 -2
  649. package/lib-es/modules/dialog/dialogs/system-preference/index.js +12 -12
  650. package/lib-es/modules/dialog/dialogs/toast/index.js +4 -4
  651. package/lib-es/modules/dialog/dialogs/video-window/index.js +3 -3
  652. package/lib-es/modules/dialog/dialogs/whiteboard/index.js +1 -1
  653. package/lib-es/modules/dialog/dialogs/widget/index.js +21 -25
  654. package/lib-es/modules/dialog/index.css +4 -11
  655. package/lib-es/modules/dialog/level-config.js +1 -0
  656. package/lib-es/modules/dialog/store.base.js +0 -3
  657. package/lib-es/modules/dialog/store.electron.js +16 -9
  658. package/lib-es/modules/dialog/view.js +25 -1
  659. package/lib-es/modules/dialog/web-dialog-wrapper.js +147 -0
  660. package/lib-es/modules/event-toast/index.css +5 -2
  661. package/lib-es/modules/event-toast/store.browser.js +1 -1
  662. package/lib-es/modules/event-toast/store.electron.js +1 -1
  663. package/lib-es/modules/interpreter/index.css +1 -2
  664. package/lib-es/modules/interpreter/store.js +22 -19
  665. package/lib-es/modules/interpreter/utils.js +1 -1
  666. package/lib-es/modules/invite/components/pstn-invite.js +4 -4
  667. package/lib-es/modules/invite/store.js +1 -1
  668. package/lib-es/modules/layout/components/Aside.js +1 -1
  669. package/lib-es/modules/layout/components/Carousel.js +1 -1
  670. package/lib-es/modules/layout/components/CommonVideoRenderer.js +15 -5
  671. package/lib-es/modules/layout/components/Gallery.js +1 -1
  672. package/lib-es/modules/layout/index.css +0 -31
  673. package/lib-es/modules/layout/store.base.js +71 -200
  674. package/lib-es/modules/layout/store.browser.js +62 -1
  675. package/lib-es/modules/layout/store.electron.js +10 -28
  676. package/lib-es/modules/layout/view.js +1 -3
  677. package/lib-es/modules/live-streaming/index.dev.js +1 -1
  678. package/lib-es/modules/live-streaming/store.js +3 -4
  679. package/lib-es/modules/participant/components/confirm-input/index.css +15 -0
  680. package/lib-es/modules/participant/components/confirm-input/index.js +10 -13
  681. package/lib-es/modules/participant/components/mute-all/index.css +34 -0
  682. package/lib-es/modules/participant/components/mute-all/index.js +21 -15
  683. package/lib-es/modules/participant/components/participants/components/footer/components/drop-menu/index.js +17 -3
  684. package/lib-es/modules/participant/components/participants/components/footer/components/drop-menu/util.js +3 -1
  685. package/lib-es/modules/participant/components/participants/components/render-user/components/attendee/components/microphone-indicator/index.js +3 -2
  686. package/lib-es/modules/participant/components/participants/components/render-user/components/user-action/index.js +1 -1
  687. package/lib-es/modules/participant/index.css +0 -16
  688. package/lib-es/modules/participant/store.base.js +219 -127
  689. package/lib-es/modules/participant/store.browser.js +2 -2
  690. package/lib-es/modules/participant/store.electron.js +2 -2
  691. package/lib-es/modules/pc-audio-connect/waiting-scene/index.js +6 -1
  692. package/lib-es/modules/phone-audio-connect/store.js +1 -1
  693. package/lib-es/modules/phone-audio-connect/view.js +1 -1
  694. package/lib-es/modules/secondary-window/index.js +51 -25
  695. package/lib-es/modules/secondary-window/store.js +40 -9
  696. package/lib-es/modules/secondary-window/type.js +1 -0
  697. package/lib-es/modules/secondary-window/view.js +60 -59
  698. package/lib-es/modules/setting/audio-settings/audio-settings.js +2 -2
  699. package/lib-es/modules/setting/audio-whiteList/audio-device-adaptation.js +2 -2
  700. package/lib-es/modules/setting/audio-whiteList/audio-whiteList-manager.js +1 -1
  701. package/lib-es/modules/setting/caption_and_transcribing/index.js +1 -1
  702. package/lib-es/modules/setting/general-settings/general-settings.js +5 -5
  703. package/lib-es/modules/setting/index.css +2 -3
  704. package/lib-es/modules/setting/index.js +3 -10
  705. package/lib-es/modules/setting/minutes-settings/minutes-settings.js +1 -1
  706. package/lib-es/modules/setting/state/index.js +1 -1
  707. package/lib-es/modules/setting/storage-settings/storage-settings.js +1 -1
  708. package/lib-es/modules/setting/store.base.js +103 -88
  709. package/lib-es/modules/setting/store.electron.js +19 -1
  710. package/lib-es/modules/setting/translate-settings/translate-settings.js +1 -1
  711. package/lib-es/modules/setting/video-settings/video-settings-basic.js +1 -1
  712. package/lib-es/modules/setting/video-settings/video-settings.js +11 -7
  713. package/lib-es/modules/setting/view.js +1 -1
  714. package/lib-es/modules/share-screen/components/control-bar/index.js +0 -86
  715. package/lib-es/modules/share-screen/components/selection/index.js +3 -1
  716. package/lib-es/modules/share-screen/store.base.js +10 -14
  717. package/lib-es/modules/share-screen/store.electron.js +109 -35
  718. package/lib-es/modules/state-bar/layout-config.js +1 -1
  719. package/lib-es/modules/state-bar/live-streaming-state.js +5 -6
  720. package/lib-es/modules/state-bar/main-scene/store.browser.js +1 -1
  721. package/lib-es/modules/state-bar/main-scene/store.electron.js +1 -1
  722. package/lib-es/modules/state-bar/meeting-details.js +10 -17
  723. package/lib-es/modules/state-bar/meeting-network-state.css +5 -1
  724. package/lib-es/modules/state-bar/meeting-network-state.js +7 -1
  725. package/lib-es/modules/state-bar/meeting-time.js +1 -1
  726. package/lib-es/modules/state-bar/network-quality.js +1 -1
  727. package/lib-es/modules/state-bar/recording.js +1 -1
  728. package/lib-es/modules/state-bar/store.base.js +15 -24
  729. package/lib-es/modules/state-bar/view.js +5 -6
  730. package/lib-es/modules/subtitles-history/components/list-item.js +6 -1
  731. package/lib-es/modules/subtitles-history/index.css +2 -5
  732. package/lib-es/modules/subtitles-history/store.base.js +24 -12
  733. package/lib-es/modules/subtitles-history/store.electron.js +8 -2
  734. package/lib-es/modules/subtitles-history/view.js +7 -5
  735. package/lib-es/modules/toast-manager/index.js +50 -0
  736. package/lib-es/modules/toast-manager/store.js +383 -0
  737. package/lib-es/modules/toast-manager/toast-params.js +82 -0
  738. package/lib-es/modules/toast-manager/type.js +329 -0
  739. package/lib-es/modules/video-window/store.js +28 -50
  740. package/lib-es/modules/whiteboard/components/control-bar/store.js +0 -6
  741. package/lib-es/modules/whiteboard/components/toolbar/store.js +25 -14
  742. package/lib-es/modules/whiteboard/store.js +10 -9
  743. package/lib-es/modules/whiteboard/view.js +0 -1
  744. package/lib-es/modules/widget/store.electron.js +12 -47
  745. package/lib-es/modules/widget/view.js +1 -1
  746. package/lib-es/object-manager.js +2 -0
  747. package/lib-es/plugins/multi-lang-plugin.js +1 -1
  748. package/lib-es/providers/ability-provider.js +29 -1
  749. package/lib-es/providers/annotation/provider.base.js +263 -0
  750. package/lib-es/providers/annotation/provider.browser.js +17 -0
  751. package/lib-es/providers/annotation/provider.electron.js +224 -0
  752. package/lib-es/{fragments/annotation/toolbar/store.js → providers/annotation/standalone-toolbar-control/index.js} +102 -174
  753. package/lib-es/providers/annotation/toolbar-control/index.js +198 -0
  754. package/lib-es/providers/app-list-provider.js +13 -7
  755. package/lib-es/providers/board-share/bar-control/base.js +7 -36
  756. package/lib-es/providers/board-share/bar-control/browser.js +78 -4
  757. package/lib-es/providers/board-share/bar-control/electron.js +36 -12
  758. package/lib-es/providers/board-share/provider.base.js +73 -14
  759. package/lib-es/providers/device-privilege-provider.js +85 -62
  760. package/lib-es/providers/device-provider.js +413 -162
  761. package/lib-es/providers/device-stream-provider.js +37 -111
  762. package/lib-es/providers/dialog/provider.electron.js +6 -1
  763. package/lib-es/providers/interpreter-provider.js +5 -5
  764. package/lib-es/providers/message/provider.js +12 -0
  765. package/lib-es/providers/mouse-detect/provider.js +1 -1
  766. package/lib-es/providers/mouse-detect/struct.js +1 -0
  767. package/lib-es/providers/multi-display-provider.js +15 -2
  768. package/lib-es/providers/phone-audio-provider.js +17 -10
  769. package/lib-es/providers/room-provider/room-provider.js +95 -201
  770. package/lib-es/providers/room-provider/waiting-room-control-manager.js +1 -1
  771. package/lib-es/providers/screen-share/provider.base.js +6 -1
  772. package/lib-es/providers/screen-share/provider.browser.js +13 -9
  773. package/lib-es/providers/screen-share/provider.electron.js +54 -44
  774. package/lib-es/providers/screen-share/strategy/electron.js +18 -3
  775. package/lib-es/providers/screen-share/stream-state-sync.js +4 -4
  776. package/lib-es/providers/stt-provider/stt-provider.js +65 -102
  777. package/lib-es/providers/stt-provider/type.js +4 -2
  778. package/lib-es/providers/user-audio-volume-provider.js +312 -0
  779. package/lib-es/providers/window/provider.js +23 -13
  780. package/lib-es/providers/window/renderer-window.js +118 -33
  781. package/lib-es/scenes/main-scene.js +113 -83
  782. package/lib-es/scenes/waiting-scene.js +5 -5
  783. package/lib-es/shared-data/member-data.js +35 -61
  784. package/lib-es/shared-data/pin-data.js +8 -11
  785. package/lib-es/shared-data/setting.js +1 -1
  786. package/lib-es/shared-data/user-audio-volume.js +97 -0
  787. package/lib-es/shared-data/video-window.js +49 -60
  788. package/lib-es/translations/enUS.js +13 -3
  789. package/lib-es/translations/zhCN.js +12 -2
  790. package/lib-es/type.js +19 -1
  791. package/lib-es/ui-manager.js +1 -1
  792. package/lib-es/ui-scene-switch.js +199 -88
  793. package/lib-es/utilities/browser-api.js +0 -40
  794. package/lib-es/utilities/constant.js +4 -5
  795. package/lib-es/utilities/default-config.js +8 -48
  796. package/lib-es/utilities/dialog-utils.js +1 -1
  797. package/lib-es/utilities/focus-helper.js +1 -1
  798. package/lib-es/utilities/logger.js +12 -40
  799. package/lib-es/utilities/package-info.js +5 -6
  800. package/lib-es/utilities/renderer.js +7 -1
  801. package/lib-es/utilities/shared-storage.js +16 -12
  802. package/lib-es/utilities/tools.js +2 -188
  803. package/lib-es/utilities/validate-params.js +3 -5
  804. package/package.json +7 -8
  805. package/public/js/meeting-manager.js +13 -11
  806. package/lib/electron/window-proxy/browser-window-proxy.js +0 -728
  807. package/lib/fragments/annotation/toolbar/store.d.ts +0 -64
  808. package/lib/fragments/annotation/toolbar/view.js +0 -148
  809. package/lib/fragments/annotation/utils.d.ts +0 -1
  810. package/lib/fragments/annotation/utils.js +0 -27
  811. package/lib/modules/dialog/components/dialog-container/component/body.d.ts +0 -20
  812. package/lib/modules/dialog/components/dialog-container/component/body.js +0 -111
  813. package/lib/modules/dialog/components/host-area-container/index.d.ts +0 -12
  814. package/lib/modules/dialog/components/host-area-container/index.js +0 -153
  815. package/lib/modules/dialog/dialogs/end-meeting/index.d.ts +0 -13
  816. package/lib/modules/dialog/dialogs/interpreter/index.css +0 -30
  817. package/lib/modules/dialog/dialogs/mute-all/index.css +0 -20
  818. package/lib/modules/whiteboard/components/multi-window/index.css +0 -63
  819. package/lib/modules/whiteboard/components/multi-window/index.d.ts +0 -5
  820. package/lib/modules/whiteboard/components/multi-window/index.js +0 -39
  821. package/lib/providers/annotation/provider.d.ts +0 -15
  822. package/lib/providers/annotation/provider.js +0 -69
  823. package/lib/utilities/hooks.d.ts +0 -14
  824. package/lib/utilities/hooks.js +0 -100
  825. package/lib/utilities/mute-action.d.ts +0 -4
  826. package/lib/utilities/mute-action.js +0 -48
  827. package/lib/utilities/platform.d.ts +0 -2
  828. package/lib/utilities/platform.js +0 -14
  829. package/lib/utilities/regex.d.ts +0 -1
  830. package/lib/utilities/regex.js +0 -14
  831. package/lib/utilities/useNamespace.d.ts +0 -15
  832. package/lib/utilities/useNamespace.js +0 -66
  833. package/lib-es/electron/window-proxy/browser-window-proxy.js +0 -720
  834. package/lib-es/fragments/annotation/toolbar/view.js +0 -140
  835. package/lib-es/fragments/annotation/utils.js +0 -20
  836. package/lib-es/modules/dialog/components/dialog-container/component/body.js +0 -103
  837. package/lib-es/modules/dialog/components/host-area-container/index.js +0 -146
  838. package/lib-es/modules/dialog/dialogs/interpreter/index.css +0 -30
  839. package/lib-es/modules/dialog/dialogs/mute-all/index.css +0 -20
  840. package/lib-es/modules/whiteboard/components/multi-window/index.css +0 -63
  841. package/lib-es/modules/whiteboard/components/multi-window/index.js +0 -31
  842. package/lib-es/providers/annotation/provider.js +0 -61
  843. package/lib-es/utilities/hooks.js +0 -82
  844. package/lib-es/utilities/mute-action.js +0 -41
  845. package/lib-es/utilities/platform.js +0 -7
  846. package/lib-es/utilities/regex.js +0 -7
  847. package/lib-es/utilities/useNamespace.js +0 -59
  848. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/color-tool/color-panel/index.d.ts +0 -0
  849. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/color-tool/index.d.ts +0 -0
  850. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/graphic-tool/graphic-panel/index.d.ts +0 -0
  851. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/graphic-tool/graphic-panel/libs.d.ts +0 -0
  852. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/graphic-tool/graphic-panel/libs.js +0 -0
  853. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/graphic-tool/index.d.ts +0 -0
  854. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/item/item.d.ts +0 -0
  855. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/item/item.js +0 -0
  856. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/item/style.css +0 -0
  857. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/panel/index.d.ts +0 -0
  858. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/panel/index.js +0 -0
  859. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/panel/style.css +0 -0
  860. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/pen-tool/index.d.ts +0 -0
  861. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/pen-tool/pen-panel/index.d.ts +0 -0
  862. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/tips/index.d.ts +0 -0
  863. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/tips/index.js +0 -0
  864. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/tips/style.css +0 -0
  865. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/view.d.ts +0 -0
  866. /package/lib-es/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/graphic-tool/graphic-panel/libs.js +0 -0
  867. /package/lib-es/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/item/item.js +0 -0
  868. /package/lib-es/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/item/style.css +0 -0
  869. /package/lib-es/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/panel/index.js +0 -0
  870. /package/lib-es/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/panel/style.css +0 -0
  871. /package/lib-es/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/tips/index.js +0 -0
  872. /package/lib-es/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/tips/style.css +0 -0
@@ -3,7 +3,6 @@ import "core-js/modules/es.symbol.description.js";
3
3
  import "core-js/modules/es.symbol.to-primitive.js";
4
4
  import "core-js/modules/es.error.cause.js";
5
5
  import "core-js/modules/es.error.to-string.js";
6
- import "core-js/modules/es.array.filter.js";
7
6
  import "core-js/modules/es.array.is-array.js";
8
7
  import "core-js/modules/es.date.to-primitive.js";
9
8
  import "core-js/modules/es.function.name.js";
@@ -16,7 +15,6 @@ import "core-js/modules/es.object.get-own-property-descriptor.js";
16
15
  import "core-js/modules/es.object.get-own-property-descriptors.js";
17
16
  import "core-js/modules/es.object.keys.js";
18
17
  import "core-js/modules/esnext.function.metadata.js";
19
- import "core-js/modules/esnext.iterator.filter.js";
20
18
  import "core-js/modules/esnext.map.delete-all.js";
21
19
  import "core-js/modules/esnext.map.emplace.js";
22
20
  import "core-js/modules/esnext.map.every.js";
@@ -34,17 +32,20 @@ import "core-js/modules/esnext.map.update.js";
34
32
  import "core-js/modules/esnext.symbol.metadata.js";
35
33
  import _typeof from "@babel/runtime/helpers/typeof";
36
34
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
35
+ import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
37
36
  import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
38
37
  import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
39
38
  import _createClass from "@babel/runtime/helpers/createClass";
40
39
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
41
40
  var _ActionBarMainSceneStoreBase;
42
- var _initProto, _init_newMessageTooltipVisible, _init_totalWaitingRoomUser, _init_liveStreamingState, _init_currentMenuIs, _init_cloudRecordingState, _init_connectionSettingVisible, _init_folded, _init_showArrow, _init_phoneMicEnabled, _init_chatTabIndex, _init_hasOfflineUserExistence, _init_connectionState, _init_appActionbarPopoverVisible, _init_stateBarLeaveMeeting, _setCheckedStateMapDecs, _setStateBarLeaveMeetingDecs, _setPopoverOpenedDecs, _pauseCloudRecordingDecs, _resumeCloudRecordingDecs, _stopCloudRecordingDecs, _showLockedRoomToastDecs, _toggleLayoutBarLockDecs, _showNewMessageTooltipDecs, _hideNewMessageTooltipDecs, _switchMenuDecs, _handleJoinWaitingRoomDecs, _toggleFoldDecs, _setShowArrowDecs, _setEnableWaitingRoomDecs, _kickOutWaitingRoomAllMemberDecs, _moveToMainRoomAllMemberDecs, _handleRemoteUsersJoinedDecs, _handleRemoteUsersLeftDecs, _handleLiveStreamingStateUpdatedDecs, _handleChatVisibleDecs, _setAppActionbarPopoverVisibleDecs, _operateWaitingRoomDecs, _handleCloudRecordingStateUpdatedDecs, _setOutputLanguageDecs, _setEndMeetingPopoverOpenedDecs, _subscribeLanguageDecs, _subscribeExtraOriginLanguageDecs, _getOfflineUserExistenceStateDecs, _clickWidgetDecs, _closeWidgetDecs, _ref;
41
+ var _initProto, _init_newMessageTooltipVisible, _init_totalWaitingRoomUser, _init_liveStreamingState, _init_currentMenuIs, _init_cloudRecordingState, _init_connectionSettingVisible, _init_folded, _init_showArrow, _init_phoneMicEnabled, _init_chatTabIndex, _init_connectionState, _init_appActionbarPopoverVisible, _init_stateBarLeaveMeeting, _init_reEnterInterpreterUserList, _init_offlineInterpreterUserList, _setCheckedStateMapDecs, _setStateBarLeaveMeetingDecs, _setPopoverOpenedDecs, _pauseCloudRecordingDecs, _resumeCloudRecordingDecs, _stopCloudRecordingDecs, _showLockedRoomToastDecs, _toggleLayoutBarLockDecs, _showNewMessageTooltipDecs, _hideNewMessageTooltipDecs, _switchMenuDecs, _handleJoinWaitingRoomDecs, _toggleFoldDecs, _setShowArrowDecs, _setEnableWaitingRoomDecs, _kickOutWaitingRoomAllMemberDecs, _moveToMainRoomAllMemberDecs, _clearReEnterInterpreterUserListDecs, _clearOfflineInterpreterUserListDecs, _handleLiveStreamingStateUpdatedDecs, _handleChatVisibleDecs, _setAppActionbarPopoverVisibleDecs, _operateWaitingRoomDecs, _handleCloudRecordingStateUpdatedDecs, _setOutputLanguageDecs, _setEndMeetingPopoverOpenedDecs, _subscribeLanguageDecs, _subscribeExtraOriginLanguageDecs, _clickWidgetDecs, _closeWidgetDecs, _handleRemoteUsersJoinedDecs, _handleRemoteUsersLeftDecs, _ref;
43
42
  import _regeneratorRuntime from "@babel/runtime/regenerator";
44
43
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
45
44
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
46
- import "core-js/modules/es.array.find.js";
45
+ import "core-js/modules/es.array.concat.js";
46
+ import "core-js/modules/es.array.filter.js";
47
47
  import "core-js/modules/es.array.for-each.js";
48
+ import "core-js/modules/es.array.includes.js";
48
49
  import "core-js/modules/es.array.iterator.js";
49
50
  import "core-js/modules/es.array.push.js";
50
51
  import "core-js/modules/es.array.reduce.js";
@@ -52,10 +53,11 @@ import "core-js/modules/es.array.some.js";
52
53
  import "core-js/modules/es.function.bind.js";
53
54
  import "core-js/modules/es.object.to-string.js";
54
55
  import "core-js/modules/es.object.values.js";
56
+ import "core-js/modules/es.string.includes.js";
55
57
  import "core-js/modules/es.string.iterator.js";
56
58
  import "core-js/modules/es.weak-map.js";
57
59
  import "core-js/modules/esnext.iterator.constructor.js";
58
- import "core-js/modules/esnext.iterator.find.js";
60
+ import "core-js/modules/esnext.iterator.filter.js";
59
61
  import "core-js/modules/esnext.iterator.for-each.js";
60
62
  import "core-js/modules/esnext.iterator.reduce.js";
61
63
  import "core-js/modules/esnext.iterator.some.js";
@@ -77,7 +79,7 @@ function _checkInRHS(e) { if (Object(e) !== e) throw TypeError("right-hand side
77
79
  import { createContext } from 'react';
78
80
  import { action, computed, observable, reaction } from 'mobx';
79
81
  import { FcrRoomType } from 'fcr-core/lib/room-control/type';
80
- import { createLogger } from 'agora-foundation/lib/logger';
82
+ import { createLogger } from '../../../utilities/logger';
81
83
  import { FcrUIRoomType, FcrWidgetType } from '../../../type';
82
84
  import { FcrConnectionState, FcrUserRole } from 'fcr-core/lib/type';
83
85
  import { MoreMenuType } from '../enums';
@@ -89,6 +91,7 @@ import { isElectron } from 'agora-foundation/lib/utilities/env';
89
91
  import { FcrIconType } from 'agora-ui-foundation/lib/components/icon/type';
90
92
  import { cloudRecordingConfig } from '../../../utilities/default-config';
91
93
  import { FcrUISystemPereferencesType } from '../../../providers/facility/struct';
94
+ import { FcrUIToastKey } from '../../toast-manager/type';
92
95
  var _A = /*#__PURE__*/new WeakMap();
93
96
  var _B = /*#__PURE__*/new WeakMap();
94
97
  var _C = /*#__PURE__*/new WeakMap();
@@ -103,27 +106,24 @@ var _K = /*#__PURE__*/new WeakMap();
103
106
  var _L = /*#__PURE__*/new WeakMap();
104
107
  var _M = /*#__PURE__*/new WeakMap();
105
108
  var _N = /*#__PURE__*/new WeakMap();
109
+ var _O = /*#__PURE__*/new WeakMap();
106
110
  _ref = (_setCheckedStateMapDecs = [action, action.bound], _setStateBarLeaveMeetingDecs = [action, action.bound], _setPopoverOpenedDecs = [action, action.bound], _pauseCloudRecordingDecs = [bound, debounced(500, {
107
111
  leading: true
108
112
  })], _resumeCloudRecordingDecs = [bound, debounced(500, {
109
113
  leading: true
110
114
  })], _stopCloudRecordingDecs = [bound, debounced(500, {
111
115
  leading: true
112
- })], _showLockedRoomToastDecs = [action, action.bound], _toggleLayoutBarLockDecs = [action, action.bound], _showNewMessageTooltipDecs = [action, action.bound], _hideNewMessageTooltipDecs = [action, action.bound], _switchMenuDecs = [action, action.bound], _handleJoinWaitingRoomDecs = [action, action.bound], _toggleFoldDecs = [action, action.bound], _setShowArrowDecs = [action, action.bound], _setEnableWaitingRoomDecs = [action, action.bound], _kickOutWaitingRoomAllMemberDecs = [action, action.bound], _moveToMainRoomAllMemberDecs = [action, action.bound], _handleRemoteUsersJoinedDecs = [action, action.bound], _handleRemoteUsersLeftDecs = [action, action.bound], _handleLiveStreamingStateUpdatedDecs = [action, action.bound], _handleChatVisibleDecs = [action, action.bound], _setAppActionbarPopoverVisibleDecs = [action, action.bound], _operateWaitingRoomDecs = [action, action.bound], _handleCloudRecordingStateUpdatedDecs = [action, action.bound], _setOutputLanguageDecs = [action, action.bound], _setEndMeetingPopoverOpenedDecs = [action, action.bound], _subscribeLanguageDecs = [action, action.bound], _subscribeExtraOriginLanguageDecs = [action, action.bound], _getOfflineUserExistenceStateDecs = [action, action.bound], _clickWidgetDecs = [action, action.bound], _closeWidgetDecs = [action, action.bound], "logger");
116
+ })], _showLockedRoomToastDecs = [action, action.bound], _toggleLayoutBarLockDecs = [action, action.bound], _showNewMessageTooltipDecs = [action, action.bound], _hideNewMessageTooltipDecs = [action, action.bound], _switchMenuDecs = [action, action.bound], _handleJoinWaitingRoomDecs = [action, action.bound], _toggleFoldDecs = [action, action.bound], _setShowArrowDecs = [action, action.bound], _setEnableWaitingRoomDecs = [action, action.bound], _kickOutWaitingRoomAllMemberDecs = [action, action.bound], _moveToMainRoomAllMemberDecs = [action, action.bound], _clearReEnterInterpreterUserListDecs = [action, action.bound], _clearOfflineInterpreterUserListDecs = [action, action.bound], _handleLiveStreamingStateUpdatedDecs = [action, action.bound], _handleChatVisibleDecs = [action, action.bound], _setAppActionbarPopoverVisibleDecs = [action, action.bound], _operateWaitingRoomDecs = [action, action.bound], _handleCloudRecordingStateUpdatedDecs = [action, action.bound], _setOutputLanguageDecs = [action, action.bound], _setEndMeetingPopoverOpenedDecs = [action, action.bound], _subscribeLanguageDecs = [action, action.bound], _subscribeExtraOriginLanguageDecs = [action, action.bound], _clickWidgetDecs = [action, action.bound], _closeWidgetDecs = [action, action.bound], _handleRemoteUsersJoinedDecs = [action, action.bound], _handleRemoteUsersLeftDecs = [action, action.bound], "logger");
113
117
  export var ActionBarMainSceneStoreBase = /*#__PURE__*/function () {
114
118
  function ActionBarMainSceneStoreBase(_ref2) {
115
- var _this = this,
116
- _this$_roomControl$ge;
119
+ var _this$_roomControl$ge,
120
+ _this = this;
117
121
  var objectManager = _ref2.objectManager;
118
122
  _classCallCheck(this, ActionBarMainSceneStoreBase);
119
123
  _defineProperty(this, _ref, (_initProto(this), createLogger({
120
124
  prefix: 'ActionBarStore'
121
125
  })));
122
126
  _defineProperty(this, "_disposers", []);
123
- _defineProperty(this, "_userObserver", {
124
- onRemoteUsersJoined: this._handleRemoteUsersJoined,
125
- onRemoteUsersLeft: this._handleRemoteUsersLeft
126
- });
127
127
  _defineProperty(this, "_roomObserver", {
128
128
  onJoinWaitingRoom: this._handleJoinWaitingRoom.bind(this)
129
129
  });
@@ -140,14 +140,13 @@ export var ActionBarMainSceneStoreBase = /*#__PURE__*/function () {
140
140
  });
141
141
  _defineProperty(this, "_newMessageTooltipTimer", null);
142
142
  _defineProperty(this, "_hideBarArrowTimer", null);
143
- _defineProperty(this, "_interpreterProviderObserver", {
144
- onInterpreterListUpdated: function onInterpreterListUpdated() {
145
- _this.hasOfflineUserExistence = _this.getOfflineUserExistenceState();
146
- }
147
- });
148
143
  _defineProperty(this, "_applistObserver", {
149
144
  onApplistItemClick: this._handleApplistItemClick.bind(this)
150
145
  });
146
+ _defineProperty(this, "_userControlObserver", {
147
+ onRemoteUsersJoined: this._handleRemoteUsersJoined,
148
+ onRemoteUsersLeft: this._handleRemoteUsersLeft
149
+ });
151
150
  _classPrivateFieldInitSpec(this, _A, _init_newMessageTooltipVisible(this, false));
152
151
  _classPrivateFieldInitSpec(this, _B, _init_totalWaitingRoomUser(this, 0));
153
152
  _classPrivateFieldInitSpec(this, _C, _init_liveStreamingState(this));
@@ -158,10 +157,11 @@ export var ActionBarMainSceneStoreBase = /*#__PURE__*/function () {
158
157
  _classPrivateFieldInitSpec(this, _H, _init_showArrow(this, false));
159
158
  _classPrivateFieldInitSpec(this, _I, _init_phoneMicEnabled(this, false));
160
159
  _classPrivateFieldInitSpec(this, _J, _init_chatTabIndex(this, FcrUIRoomType.MAIN_ROOM));
161
- _classPrivateFieldInitSpec(this, _K, _init_hasOfflineUserExistence(this, true));
162
- _classPrivateFieldInitSpec(this, _L, _init_connectionState(this, FcrConnectionState.CONNECTED));
163
- _classPrivateFieldInitSpec(this, _M, _init_appActionbarPopoverVisible(this, false));
164
- _classPrivateFieldInitSpec(this, _N, _init_stateBarLeaveMeeting(this, false));
160
+ _classPrivateFieldInitSpec(this, _K, _init_connectionState(this, FcrConnectionState.CONNECTED));
161
+ _classPrivateFieldInitSpec(this, _L, _init_appActionbarPopoverVisible(this, false));
162
+ _classPrivateFieldInitSpec(this, _M, _init_stateBarLeaveMeeting(this, false));
163
+ _classPrivateFieldInitSpec(this, _N, _init_reEnterInterpreterUserList(this, []));
164
+ _classPrivateFieldInitSpec(this, _O, _init_offlineInterpreterUserList(this, []));
165
165
  this._sharedLayoutDataSource = objectManager.getObject(FcrUIObjectKeys.S_SHARED_LAYOUT_DATA_SOURCE);
166
166
  this._eventProvider = objectManager.getObject(FcrUIObjectKeys.P_EVENT_PROVIDER);
167
167
  this._screenShareProvider = objectManager.getObject(FcrUIObjectKeys.P_SCREEN_SHARE_PROVIDER);
@@ -191,14 +191,12 @@ export var ActionBarMainSceneStoreBase = /*#__PURE__*/function () {
191
191
  this.liveStreamingState = this._roomControl.getLiveStreamingState();
192
192
  this.cloudRecordingState = this._roomControl.getCloudRecordingState();
193
193
  this._interpreterProvider = objectManager.getObject(FcrUIObjectKeys.P_INTERPRETER_PROVIDER);
194
- this._interpreterProvider.addObserver(this._interpreterProviderObserver);
195
194
  this._roomProvider.addObserver(this._roomObserver);
196
195
  this._boardShareProvider = objectManager.getObject(FcrUIObjectKeys.P_BOARD_SHARE_PROVIDER);
197
- this.hasOfflineUserExistence = this.getOfflineUserExistenceState();
198
- this._userControl.addObserver(this._userObserver);
199
196
  this._roomControl.addObserver(this._mainRoomObserver);
200
197
  this._eventProvider.addObserver(this._uiEventObserver);
201
198
  this._dialogProvider.addObserver(this._dialogObserver);
199
+ this._userControl.addObserver(this._userControlObserver);
202
200
  this._disposers.push(reaction(function () {
203
201
  return _this.chatVisible;
204
202
  }, function (chatVisible) {
@@ -219,6 +217,13 @@ export var ActionBarMainSceneStoreBase = /*#__PURE__*/function () {
219
217
  _this.hideNewMessageTooltip();
220
218
  }, 4000);
221
219
  }
220
+ }), reaction(function () {
221
+ return _this.isInterpreterEnabled;
222
+ }, function (isInterpreterEnabled) {
223
+ if (!isInterpreterEnabled) {
224
+ _this.clearReEnterInterpreterUserList();
225
+ _this.clearOfflineInterpreterUserList();
226
+ }
222
227
  }));
223
228
  }
224
229
  return _createClass(ActionBarMainSceneStoreBase, [{
@@ -302,7 +307,7 @@ export var ActionBarMainSceneStoreBase = /*#__PURE__*/function () {
302
307
  _classPrivateFieldSet(_J, this, v);
303
308
  }
304
309
  }, {
305
- key: "hasOfflineUserExistence",
310
+ key: "connectionState",
306
311
  get: function get() {
307
312
  return _classPrivateFieldGet(_K, this);
308
313
  },
@@ -310,7 +315,7 @@ export var ActionBarMainSceneStoreBase = /*#__PURE__*/function () {
310
315
  _classPrivateFieldSet(_K, this, v);
311
316
  }
312
317
  }, {
313
- key: "connectionState",
318
+ key: "appActionbarPopoverVisible",
314
319
  get: function get() {
315
320
  return _classPrivateFieldGet(_L, this);
316
321
  },
@@ -318,7 +323,7 @@ export var ActionBarMainSceneStoreBase = /*#__PURE__*/function () {
318
323
  _classPrivateFieldSet(_L, this, v);
319
324
  }
320
325
  }, {
321
- key: "appActionbarPopoverVisible",
326
+ key: "stateBarLeaveMeeting",
322
327
  get: function get() {
323
328
  return _classPrivateFieldGet(_M, this);
324
329
  },
@@ -326,13 +331,21 @@ export var ActionBarMainSceneStoreBase = /*#__PURE__*/function () {
326
331
  _classPrivateFieldSet(_M, this, v);
327
332
  }
328
333
  }, {
329
- key: "stateBarLeaveMeeting",
334
+ key: "reEnterInterpreterUserList",
330
335
  get: function get() {
331
336
  return _classPrivateFieldGet(_N, this);
332
337
  },
333
338
  set: function set(v) {
334
339
  _classPrivateFieldSet(_N, this, v);
335
340
  }
341
+ }, {
342
+ key: "offlineInterpreterUserList",
343
+ get: function get() {
344
+ return _classPrivateFieldGet(_O, this);
345
+ },
346
+ set: function set(v) {
347
+ _classPrivateFieldSet(_O, this, v);
348
+ }
336
349
  }, {
337
350
  key: "endMeetingPopoverOpened",
338
351
  get: function get() {
@@ -589,6 +602,36 @@ export var ActionBarMainSceneStoreBase = /*#__PURE__*/function () {
589
602
  get: function get() {
590
603
  return this._abilityProvider.isInterpreterSupported() && this._privilegeProvider.hasEnableInterpreterPermission();
591
604
  }
605
+ }, {
606
+ key: "isRecordingSupported",
607
+ get: function get() {
608
+ return this._abilityProvider.isRecordingSupported();
609
+ }
610
+ }, {
611
+ key: "isBoardAbilitySupported",
612
+ get: function get() {
613
+ return this._abilityProvider.isBoardAbilitySupported();
614
+ }
615
+ }, {
616
+ key: "isVirtualBackgroundSupported",
617
+ get: function get() {
618
+ return this._abilityProvider.isVirtualBackgroundSupported();
619
+ }
620
+ }, {
621
+ key: "isBeautyModeAbilitySupported",
622
+ get: function get() {
623
+ return this._abilityProvider.isBeautyModeAbilitySupported();
624
+ }
625
+ }, {
626
+ key: "isInterpreterSupported",
627
+ get: function get() {
628
+ return this._abilityProvider.isInterpreterSupported();
629
+ }
630
+ }, {
631
+ key: "isLiveSupported",
632
+ get: function get() {
633
+ return this._abilityProvider.isLiveSupported();
634
+ }
592
635
  }, {
593
636
  key: "hasDisableInterpreterPermission",
594
637
  get: function get() {
@@ -634,11 +677,6 @@ export var ActionBarMainSceneStoreBase = /*#__PURE__*/function () {
634
677
  get: function get() {
635
678
  return this._sharedChatDataSource.latestMessage;
636
679
  }
637
- }, {
638
- key: "isRecordingSupported",
639
- get: function get() {
640
- return this._abilityProvider.isRecordingSupported();
641
- }
642
680
  }, {
643
681
  key: "hasSecurityPermissions",
644
682
  get: function get() {
@@ -716,9 +754,8 @@ export var ActionBarMainSceneStoreBase = /*#__PURE__*/function () {
716
754
  }, {
717
755
  key: "showLockedRoomToast",
718
756
  value: function showLockedRoomToast(enable) {
719
- this._messageProvider.showToast({
720
- type: 'info',
721
- message: enable ? transI18n('fmt_security_tips_lock_meeting_on') : transI18n('fmt_uimanager_tips_meetingunlocked')
757
+ this._messageProvider.showToastByKey({
758
+ key: enable ? FcrUIToastKey.FMT_SECURITY_TIPS_LOCK_MEETING_ON : FcrUIToastKey.FMT_UIMANAGER_TIPS_MEETINGUNLOCKED
722
759
  });
723
760
  }
724
761
  }, {
@@ -785,16 +822,12 @@ export var ActionBarMainSceneStoreBase = /*#__PURE__*/function () {
785
822
  });
786
823
  this._disposers = [];
787
824
  this._hideBarArrowTimer && clearTimeout(this._hideBarArrowTimer);
788
- this._userControl.removeObserver(this._userObserver);
789
825
  this._roomControl.removeObserver(this._mainRoomObserver);
790
826
  this._eventProvider.removeObserver(this._uiEventObserver);
791
827
  this._dialogProvider.removeObserver(this._dialogObserver);
792
828
  this._applistProvider.removeObserver(this._applistObserver);
793
- if (this._roomType === FcrRoomType.Mainroom) {
794
- var _this$_interpreterPro;
795
- this._roomProvider.removeObserver(this._roomObserver);
796
- (_this$_interpreterPro = this._interpreterProvider) === null || _this$_interpreterPro === void 0 || _this$_interpreterPro.removeObserver(this._interpreterProviderObserver);
797
- }
829
+ this._roomProvider.removeObserver(this._roomObserver);
830
+ this._userControl.removeObserver(this._userControlObserver);
798
831
  }
799
832
  }, {
800
833
  key: "setAllowJoinWithMuteAudio",
@@ -1053,9 +1086,8 @@ export var ActionBarMainSceneStoreBase = /*#__PURE__*/function () {
1053
1086
  _context.next = 2;
1054
1087
  return this._roomControl.enableWaitingRoom(enable);
1055
1088
  case 2:
1056
- this._messageProvider.showToast({
1057
- type: 'normal',
1058
- message: transI18n('fmt_waitingroom_mobile_setting_tips_disable')
1089
+ this._messageProvider.showToastByKey({
1090
+ key: FcrUIToastKey.FMT_WAITINGROOM_MOBILE_SETTING_TIPS_DISABLE
1059
1091
  });
1060
1092
  case 3:
1061
1093
  _context.next = 6;
@@ -1064,9 +1096,8 @@ export var ActionBarMainSceneStoreBase = /*#__PURE__*/function () {
1064
1096
  _context.next = 5;
1065
1097
  return this._roomControl.enableWaitingRoom(enable);
1066
1098
  case 5:
1067
- this._messageProvider.showToast({
1068
- type: 'normal',
1069
- message: transI18n('fmt_waitingroom_setting_tips_enable')
1099
+ this._messageProvider.showToastByKey({
1100
+ key: FcrUIToastKey.FMT_WAITINGROOM_SETTING_TIPS_ENABLE
1070
1101
  });
1071
1102
  case 6:
1072
1103
  case "end":
@@ -1120,7 +1151,19 @@ export var ActionBarMainSceneStoreBase = /*#__PURE__*/function () {
1120
1151
  return _moveToMainRoomAllMember.apply(this, arguments);
1121
1152
  }
1122
1153
  return moveToMainRoomAllMember;
1123
- }() // TODO: 需要拦截时返回 true 更符合直觉
1154
+ }()
1155
+ }, {
1156
+ key: "clearReEnterInterpreterUserList",
1157
+ value: function clearReEnterInterpreterUserList() {
1158
+ this.reEnterInterpreterUserList = [];
1159
+ }
1160
+ }, {
1161
+ key: "clearOfflineInterpreterUserList",
1162
+ value: function clearOfflineInterpreterUserList() {
1163
+ this.offlineInterpreterUserList = [];
1164
+ }
1165
+
1166
+ // TODO: 需要拦截时返回 true 更符合直觉
1124
1167
  }, {
1125
1168
  key: "_interceptShareScreen",
1126
1169
  value: function _interceptShareScreen() {
@@ -1129,11 +1172,9 @@ export var ActionBarMainSceneStoreBase = /*#__PURE__*/function () {
1129
1172
  // this.boardOwnerUser && this.boardOwnerUser.userId !== this.localUserId;
1130
1173
 
1131
1174
  if (!this._facilityProvider.isNetworkConnected) {
1132
- var params = {
1133
- message: transI18n('fmt_screenshare_toast_network_error_unable_start_screen_share'),
1134
- type: 'error'
1135
- };
1136
- this._messageProvider.showToast(params);
1175
+ this._messageProvider.showToastByKey({
1176
+ key: FcrUIToastKey.FMT_SCREENTIPS_NETWORK_ERROR_UNABLE_START_SCREEN_SHARE
1177
+ });
1137
1178
  return false;
1138
1179
  }
1139
1180
  if (!this._facilityProvider.hasGrantedScreenCapturePermission()) {
@@ -1226,16 +1267,6 @@ export var ActionBarMainSceneStoreBase = /*#__PURE__*/function () {
1226
1267
  return true;
1227
1268
  }
1228
1269
  }
1229
- }, {
1230
- key: "_handleRemoteUsersJoined",
1231
- value: function _handleRemoteUsersJoined(_roomId, _events) {
1232
- this.hasOfflineUserExistence = this.getOfflineUserExistenceState();
1233
- }
1234
- }, {
1235
- key: "_handleRemoteUsersLeft",
1236
- value: function _handleRemoteUsersLeft(_roomId, _events) {
1237
- this.hasOfflineUserExistence = this.getOfflineUserExistenceState();
1238
- }
1239
1270
  }, {
1240
1271
  key: "_handleLiveStreamingStateUpdated",
1241
1272
  value: function _handleLiveStreamingStateUpdated(_roomId, state) {
@@ -1362,17 +1393,15 @@ export var ActionBarMainSceneStoreBase = /*#__PURE__*/function () {
1362
1393
  key: "setOutputLanguage",
1363
1394
  value: function () {
1364
1395
  var _setOutputLanguage = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6(language) {
1365
- var _this$_interpreterPro2,
1366
- _this6 = this;
1396
+ var _this6 = this;
1367
1397
  return _regeneratorRuntime.wrap(function (_context6) {
1368
1398
  while (1) switch (_context6.prev = _context6.next) {
1369
1399
  case 0:
1370
1400
  _context6.next = 1;
1371
- return (_this$_interpreterPro2 = this._interpreterProvider) === null || _this$_interpreterPro2 === void 0 ? void 0 : _this$_interpreterPro2.setOutputLanguage(language, function () {
1401
+ return this._interpreterProvider.setOutputLanguage(language, function () {
1372
1402
  if (!_this6._deviceProvider.microphoneEnabled) {
1373
- _this6._messageProvider.showToast({
1374
- type: 'info',
1375
- message: transI18n('fmt_interpretation_interpreter_toast_label_open_micro')
1403
+ _this6._messageProvider.showToastByKey({
1404
+ key: FcrUIToastKey.FMT_INTERPRETATION_INTERPRETER_TOAST_LABEL_OPEN_MICRO
1376
1405
  });
1377
1406
  }
1378
1407
  });
@@ -1396,12 +1425,11 @@ export var ActionBarMainSceneStoreBase = /*#__PURE__*/function () {
1396
1425
  key: "subscribeLanguage",
1397
1426
  value: function () {
1398
1427
  var _subscribeLanguage = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee7(language) {
1399
- var _this$_interpreterPro3;
1400
1428
  return _regeneratorRuntime.wrap(function (_context7) {
1401
1429
  while (1) switch (_context7.prev = _context7.next) {
1402
1430
  case 0:
1403
1431
  _context7.next = 1;
1404
- return (_this$_interpreterPro3 = this._interpreterProvider) === null || _this$_interpreterPro3 === void 0 ? void 0 : _this$_interpreterPro3.subscribeLanguage(language);
1432
+ return this._interpreterProvider.subscribeLanguage(language);
1405
1433
  case 1:
1406
1434
  case "end":
1407
1435
  return _context7.stop();
@@ -1417,11 +1445,10 @@ export var ActionBarMainSceneStoreBase = /*#__PURE__*/function () {
1417
1445
  key: "subscribeExtraOriginLanguage",
1418
1446
  value: function () {
1419
1447
  var _subscribeExtraOriginLanguage = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee8(enable) {
1420
- var _this$_interpreterPro4;
1421
1448
  return _regeneratorRuntime.wrap(function (_context8) {
1422
1449
  while (1) switch (_context8.prev = _context8.next) {
1423
1450
  case 0:
1424
- (_this$_interpreterPro4 = this._interpreterProvider) === null || _this$_interpreterPro4 === void 0 || _this$_interpreterPro4.subscribeExtraOriginLanguage(enable);
1451
+ this._interpreterProvider.subscribeExtraOriginLanguage(enable);
1425
1452
  case 1:
1426
1453
  case "end":
1427
1454
  return _context8.stop();
@@ -1432,19 +1459,7 @@ export var ActionBarMainSceneStoreBase = /*#__PURE__*/function () {
1432
1459
  return _subscribeExtraOriginLanguage.apply(this, arguments);
1433
1460
  }
1434
1461
  return subscribeExtraOriginLanguage;
1435
- }() //是否有离线翻译官
1436
- }, {
1437
- key: "getOfflineUserExistenceState",
1438
- value: function getOfflineUserExistenceState() {
1439
- var _this$_interpreterPro5,
1440
- _this7 = this;
1441
- var isOffLine = (_this$_interpreterPro5 = this._interpreterProvider) === null || _this$_interpreterPro5 === void 0 || (_this$_interpreterPro5 = _this$_interpreterPro5.getInterpreterList()) === null || _this$_interpreterPro5 === void 0 ? void 0 : _this$_interpreterPro5.some(function (ele) {
1442
- return !_this7._userControl.getUserList().find(function (item) {
1443
- return item.userId === ele.userId;
1444
- });
1445
- });
1446
- return !!isOffLine;
1447
- }
1462
+ }()
1448
1463
  }, {
1449
1464
  key: "clickWidget",
1450
1465
  value: function clickWidget(widgetConfig) {
@@ -1464,10 +1479,65 @@ export var ActionBarMainSceneStoreBase = /*#__PURE__*/function () {
1464
1479
  value: function _handleApplistItemClick() {
1465
1480
  this.setAppActionbarPopoverVisible(false);
1466
1481
  }
1482
+ }, {
1483
+ key: "_checkIsWidgetSupportedRole",
1484
+ value: function _checkIsWidgetSupportedRole(widgetConfig, _role) {
1485
+ var _widgetConfig$support;
1486
+ if (!widgetConfig.supportedRoles || widgetConfig.supportedRoles.length === 0 || (_widgetConfig$support = widgetConfig.supportedRoles) !== null && _widgetConfig$support !== void 0 && _widgetConfig$support.includes(this.localUserRole)) {
1487
+ return true;
1488
+ }
1489
+ return false;
1490
+ }
1491
+ }, {
1492
+ key: "_handleRemoteUsersJoined",
1493
+ value: function _handleRemoteUsersJoined(roomId, events) {
1494
+ var _this7 = this;
1495
+ var reEnterInterpreterUserList = events.filter(function (event) {
1496
+ var _this7$interpreterUse;
1497
+ return (_this7$interpreterUse = _this7.interpreterUserList) === null || _this7$interpreterUse === void 0 ? void 0 : _this7$interpreterUse.some(function (interpreter) {
1498
+ return interpreter.userId === event.userInfo.userId;
1499
+ });
1500
+ });
1501
+ if (reEnterInterpreterUserList) {
1502
+ this.reEnterInterpreterUserList = reEnterInterpreterUserList;
1503
+ this.offlineInterpreterUserList = this.offlineInterpreterUserList.filter(function (user) {
1504
+ return !_this7.reEnterInterpreterUserList.some(function (interpreter) {
1505
+ return interpreter.userInfo.userId === user.userInfo.userId;
1506
+ });
1507
+ });
1508
+ }
1509
+ }
1510
+ }, {
1511
+ key: "_handleRemoteUsersLeft",
1512
+ value: function _handleRemoteUsersLeft(roomId, events) {
1513
+ var _this8 = this;
1514
+ var offlineInterpreterUserList = events.filter(function (event) {
1515
+ var _this8$interpreterUse;
1516
+ return (_this8$interpreterUse = _this8.interpreterUserList) === null || _this8$interpreterUse === void 0 ? void 0 : _this8$interpreterUse.some(function (interpreter) {
1517
+ return interpreter.userId === event.userInfo.userId;
1518
+ });
1519
+ });
1520
+ if (offlineInterpreterUserList) {
1521
+ this.offlineInterpreterUserList = [].concat(_toConsumableArray(this.offlineInterpreterUserList), _toConsumableArray(offlineInterpreterUserList));
1522
+ var hasUpdate = false;
1523
+ var reEnterInterpreterUserList = this.reEnterInterpreterUserList.filter(function (user) {
1524
+ var isOffline = !_this8.offlineInterpreterUserList.some(function (interpreter) {
1525
+ return interpreter.userInfo.userId === user.userInfo.userId;
1526
+ });
1527
+ if (!isOffline) {
1528
+ hasUpdate = !isOffline;
1529
+ }
1530
+ return isOffline;
1531
+ });
1532
+ if (hasUpdate) {
1533
+ this.reEnterInterpreterUserList = reEnterInterpreterUserList;
1534
+ }
1535
+ }
1536
+ }
1467
1537
  }]);
1468
1538
  }();
1469
1539
  _ActionBarMainSceneStoreBase = ActionBarMainSceneStoreBase;
1470
- var _applyDecs$e = _slicedToArray(_applyDecs(_ActionBarMainSceneStoreBase, [[observable, 1, "newMessageTooltipVisible"], [observable, 1, "totalWaitingRoomUser"], [observable, 1, "liveStreamingState"], [observable, 1, "currentMenuIs"], [observable, 1, "cloudRecordingState"], [observable, 1, "connectionSettingVisible"], [observable, 1, "folded"], [observable, 1, "showArrow"], [observable, 1, "phoneMicEnabled"], [observable, 1, "chatTabIndex"], [observable, 1, "hasOfflineUserExistence"], [observable, 1, "connectionState"], [observable, 1, "appActionbarPopoverVisible"], [observable, 1, "stateBarLeaveMeeting"], [computed, 3, "endMeetingPopoverOpened"], [computed, 3, "checkedStateMap"], [_setCheckedStateMapDecs, 18, "setCheckedStateMap"], [computed, 3, "supportedWidgetConfigs"], [computed, 3, "asideLayout"], [computed, 3, "chatRenderAt"], [computed, 3, "participantsRenderAt"], [computed, 3, "participantVisible"], [computed, 3, "chatVisible"], [computed, 3, "subtitlesHistoryRenderAt"], [computed, 3, "subtitlesHistoryVisible"], [computed, 3, "hasStartScreenSharePermission"], [computed, 3, "hasEnableStartScreenSharePermission"], [computed, 3, "hasStartLiveStreamingPermission"], [computed, 3, "hasEnableStartAudioPermission"], [computed, 3, "hasEnableChangeNamePermission"], [computed, 3, "hasEnableStartVideoPermission"], [computed, 3, "hasLockRoomPermission"], [computed, 3, "hasEnableJoinWithAudioPermission"], [computed, 3, "hasWaitingRoomPermission"], [computed, 3, "hasWatermarkDisablePermission"], [computed, 3, "hasEnableStartSharePermission"], [computed, 3, "hasAllowWriteBoardPermission"], [computed, 3, "hasAllowScreenShareAndBoardPermission"], [computed, 3, "hasAllowChatPermission"], [computed, 3, "hasStartCloudRecordingPermission"], [computed, 3, "hasAssignHostBeforeLeavingPermission"], [computed, 3, "hasEndRoomPermission"], [computed, 3, "isScreenShareAndBoardEnabled"], [computed, 3, "isBoardWriteEnabled"], [computed, 3, "isWaterMarkEnabled"], [computed, 3, "isMulti"], [computed, 3, "hasEnableInterpreterPermission"], [computed, 3, "hasDisableInterpreterPermission"], [computed, 3, "microphoneEnabled"], [computed, 3, "allNewMessage"], [computed, 3, "isMainRoom"], [computed, 3, "hasAllowChangeNamePromission"], [computed, 3, "hasDisallowChangeNamePromission"], [computed, 3, "newMessageCount"], [computed, 3, "isRemoteUserScreenSharing"], [computed, 3, "isLocalUserScreenSharing"], [_setStateBarLeaveMeetingDecs, 18, "setStateBarLeaveMeeting"], [_setPopoverOpenedDecs, 18, "setPopoverOpened"], [_pauseCloudRecordingDecs, 2, "pauseCloudRecording"], [_resumeCloudRecordingDecs, 2, "resumeCloudRecording"], [_stopCloudRecordingDecs, 2, "stopCloudRecording"], [bound, 2, "startCloudRecording"], [_showLockedRoomToastDecs, 18, "showLockedRoomToast"], [_toggleLayoutBarLockDecs, 18, "toggleLayoutBarLock"], [_showNewMessageTooltipDecs, 18, "showNewMessageTooltip"], [_hideNewMessageTooltipDecs, 18, "hideNewMessageTooltip"], [_switchMenuDecs, 18, "switchMenu"], [computed, 3, "isLocked"], [bound, 2, "isWaitingRoomEnabled"], [bound, 2, "isAllowJoinWithAudioEnabled"], [bound, 2, "enableMicrophone"], [bound, 2, "setAllowWriteBoard"], [bound, 2, "setAllowAnnotation"], [bound, 2, "setAllowScreenShare"], [bound, 2, "setAllowJoinWithMuteAudio"], [bound, 2, "isLockRoomEnabled"], [bound, 2, "setLockRoomEnabled"], [bound, 2, "setAllowShareScreen"], [bound, 2, "allowWriteBoard"], [bound, 2, "allowChat"], [bound, 2, "setAllowChat"], [bound, 2, "allowUnmuteSelfAudio"], [bound, 2, "setAllowUnmuteSelfAudio"], [bound, 2, "allowUnmuteSelfVideo"], [bound, 2, "setAllowUnmuteSelfVideo"], [bound, 2, "allowChangeName"], [bound, 2, "toggleChat"], [bound, 2, "openChat"], [bound, 2, "closeChat"], [bound, 2, "toggleParticipants"], [bound, 2, "openParticipants"], [bound, 2, "closeParticipants"], [bound, 2, "openDeviceSettingDialog"], [bound, 2, "startScreenShare"], [bound, 2, "openInterpreterDialog"], [bound, 2, "openWhiteboard"], [bound, 2, "closeWhiteboard"], [bound, 2, "closeShareScreen"], [bound, 2, "openLiveStreamingDialog"], [bound, 2, "toggleConnection"], [bound, 2, "openConnection"], [bound, 2, "closeConnection"], [_handleJoinWaitingRoomDecs, 18, "_handleJoinWaitingRoom"], [_toggleFoldDecs, 18, "toggleFold"], [_setShowArrowDecs, 18, "setShowArrow"], [_setEnableWaitingRoomDecs, 18, "setEnableWaitingRoom"], [_kickOutWaitingRoomAllMemberDecs, 18, "kickOutWaitingRoomAllMember"], [_moveToMainRoomAllMemberDecs, 18, "moveToMainRoomAllMember"], [bound, 2, "_interceptShareScreen"], [bound, 2, "_interceptShareBoard"], [_handleRemoteUsersJoinedDecs, 18, "_handleRemoteUsersJoined"], [_handleRemoteUsersLeftDecs, 18, "_handleRemoteUsersLeft"], [_handleLiveStreamingStateUpdatedDecs, 18, "_handleLiveStreamingStateUpdated"], [_handleChatVisibleDecs, 18, "_handleChatVisible"], [_setAppActionbarPopoverVisibleDecs, 18, "setAppActionbarPopoverVisible"], [bound, 2, "setAllowWaterMark"], [bound, 2, "setWaterMarkLineType"], [bound, 2, "setAlllowChangeName"], [bound, 2, "_handleDialogOpen"], [bound, 2, "_handleDialogClose"], [bound, 2, "_onEvent"], [_operateWaitingRoomDecs, 18, "_operateWaitingRoom"], [_handleCloudRecordingStateUpdatedDecs, 18, "_handleCloudRecordingStateUpdated"], [_setOutputLanguageDecs, 18, "setOutputLanguage"], [_setEndMeetingPopoverOpenedDecs, 18, "setEndMeetingPopoverOpened"], [_subscribeLanguageDecs, 18, "subscribeLanguage"], [_subscribeExtraOriginLanguageDecs, 18, "subscribeExtraOriginLanguage"], [_getOfflineUserExistenceStateDecs, 18, "getOfflineUserExistenceState"], [_clickWidgetDecs, 18, "clickWidget"], [_closeWidgetDecs, 18, "closeWidget"]], []).e, 15);
1540
+ var _applyDecs$e = _slicedToArray(_applyDecs(_ActionBarMainSceneStoreBase, [[observable, 1, "newMessageTooltipVisible"], [observable, 1, "totalWaitingRoomUser"], [observable, 1, "liveStreamingState"], [observable, 1, "currentMenuIs"], [observable, 1, "cloudRecordingState"], [observable, 1, "connectionSettingVisible"], [observable, 1, "folded"], [observable, 1, "showArrow"], [observable, 1, "phoneMicEnabled"], [observable, 1, "chatTabIndex"], [observable, 1, "connectionState"], [observable, 1, "appActionbarPopoverVisible"], [observable, 1, "stateBarLeaveMeeting"], [observable, 1, "reEnterInterpreterUserList"], [observable, 1, "offlineInterpreterUserList"], [computed, 3, "endMeetingPopoverOpened"], [computed, 3, "checkedStateMap"], [_setCheckedStateMapDecs, 18, "setCheckedStateMap"], [computed, 3, "supportedWidgetConfigs"], [computed, 3, "asideLayout"], [computed, 3, "chatRenderAt"], [computed, 3, "participantsRenderAt"], [computed, 3, "participantVisible"], [computed, 3, "chatVisible"], [computed, 3, "subtitlesHistoryRenderAt"], [computed, 3, "subtitlesHistoryVisible"], [computed, 3, "hasStartScreenSharePermission"], [computed, 3, "hasEnableStartScreenSharePermission"], [computed, 3, "hasStartLiveStreamingPermission"], [computed, 3, "hasEnableStartAudioPermission"], [computed, 3, "hasEnableChangeNamePermission"], [computed, 3, "hasEnableStartVideoPermission"], [computed, 3, "hasLockRoomPermission"], [computed, 3, "hasEnableJoinWithAudioPermission"], [computed, 3, "hasWaitingRoomPermission"], [computed, 3, "hasWatermarkDisablePermission"], [computed, 3, "hasEnableStartSharePermission"], [computed, 3, "hasAllowWriteBoardPermission"], [computed, 3, "hasAllowScreenShareAndBoardPermission"], [computed, 3, "hasAllowChatPermission"], [computed, 3, "hasStartCloudRecordingPermission"], [computed, 3, "hasAssignHostBeforeLeavingPermission"], [computed, 3, "hasEndRoomPermission"], [computed, 3, "isScreenShareAndBoardEnabled"], [computed, 3, "isBoardWriteEnabled"], [computed, 3, "isWaterMarkEnabled"], [computed, 3, "isMulti"], [computed, 3, "hasEnableInterpreterPermission"], [computed, 3, "isRecordingSupported"], [computed, 3, "isBoardAbilitySupported"], [computed, 3, "isVirtualBackgroundSupported"], [computed, 3, "isBeautyModeAbilitySupported"], [computed, 3, "isInterpreterSupported"], [computed, 3, "isLiveSupported"], [computed, 3, "hasDisableInterpreterPermission"], [computed, 3, "microphoneEnabled"], [computed, 3, "allNewMessage"], [computed, 3, "isMainRoom"], [computed, 3, "hasAllowChangeNamePromission"], [computed, 3, "hasDisallowChangeNamePromission"], [computed, 3, "newMessageCount"], [computed, 3, "isRemoteUserScreenSharing"], [computed, 3, "isLocalUserScreenSharing"], [_setStateBarLeaveMeetingDecs, 18, "setStateBarLeaveMeeting"], [_setPopoverOpenedDecs, 18, "setPopoverOpened"], [_pauseCloudRecordingDecs, 2, "pauseCloudRecording"], [_resumeCloudRecordingDecs, 2, "resumeCloudRecording"], [_stopCloudRecordingDecs, 2, "stopCloudRecording"], [bound, 2, "startCloudRecording"], [_showLockedRoomToastDecs, 18, "showLockedRoomToast"], [_toggleLayoutBarLockDecs, 18, "toggleLayoutBarLock"], [_showNewMessageTooltipDecs, 18, "showNewMessageTooltip"], [_hideNewMessageTooltipDecs, 18, "hideNewMessageTooltip"], [_switchMenuDecs, 18, "switchMenu"], [computed, 3, "isLocked"], [bound, 2, "isWaitingRoomEnabled"], [bound, 2, "isAllowJoinWithAudioEnabled"], [bound, 2, "enableMicrophone"], [bound, 2, "setAllowWriteBoard"], [bound, 2, "setAllowAnnotation"], [bound, 2, "setAllowScreenShare"], [bound, 2, "setAllowJoinWithMuteAudio"], [bound, 2, "isLockRoomEnabled"], [bound, 2, "setLockRoomEnabled"], [bound, 2, "setAllowShareScreen"], [bound, 2, "allowWriteBoard"], [bound, 2, "allowChat"], [bound, 2, "setAllowChat"], [bound, 2, "allowUnmuteSelfAudio"], [bound, 2, "setAllowUnmuteSelfAudio"], [bound, 2, "allowUnmuteSelfVideo"], [bound, 2, "setAllowUnmuteSelfVideo"], [bound, 2, "allowChangeName"], [bound, 2, "toggleChat"], [bound, 2, "openChat"], [bound, 2, "closeChat"], [bound, 2, "toggleParticipants"], [bound, 2, "openParticipants"], [bound, 2, "closeParticipants"], [bound, 2, "openDeviceSettingDialog"], [bound, 2, "startScreenShare"], [bound, 2, "openInterpreterDialog"], [bound, 2, "openWhiteboard"], [bound, 2, "closeWhiteboard"], [bound, 2, "closeShareScreen"], [bound, 2, "openLiveStreamingDialog"], [bound, 2, "toggleConnection"], [bound, 2, "openConnection"], [bound, 2, "closeConnection"], [_handleJoinWaitingRoomDecs, 18, "_handleJoinWaitingRoom"], [_toggleFoldDecs, 18, "toggleFold"], [_setShowArrowDecs, 18, "setShowArrow"], [_setEnableWaitingRoomDecs, 18, "setEnableWaitingRoom"], [_kickOutWaitingRoomAllMemberDecs, 18, "kickOutWaitingRoomAllMember"], [_moveToMainRoomAllMemberDecs, 18, "moveToMainRoomAllMember"], [_clearReEnterInterpreterUserListDecs, 18, "clearReEnterInterpreterUserList"], [_clearOfflineInterpreterUserListDecs, 18, "clearOfflineInterpreterUserList"], [bound, 2, "_interceptShareScreen"], [bound, 2, "_interceptShareBoard"], [_handleLiveStreamingStateUpdatedDecs, 18, "_handleLiveStreamingStateUpdated"], [_handleChatVisibleDecs, 18, "_handleChatVisible"], [_setAppActionbarPopoverVisibleDecs, 18, "setAppActionbarPopoverVisible"], [bound, 2, "setAllowWaterMark"], [bound, 2, "setWaterMarkLineType"], [bound, 2, "setAlllowChangeName"], [bound, 2, "_handleDialogOpen"], [bound, 2, "_handleDialogClose"], [bound, 2, "_onEvent"], [_operateWaitingRoomDecs, 18, "_operateWaitingRoom"], [_handleCloudRecordingStateUpdatedDecs, 18, "_handleCloudRecordingStateUpdated"], [_setOutputLanguageDecs, 18, "setOutputLanguage"], [_setEndMeetingPopoverOpenedDecs, 18, "setEndMeetingPopoverOpened"], [_subscribeLanguageDecs, 18, "subscribeLanguage"], [_subscribeExtraOriginLanguageDecs, 18, "subscribeExtraOriginLanguage"], [_clickWidgetDecs, 18, "clickWidget"], [_closeWidgetDecs, 18, "closeWidget"], [_handleRemoteUsersJoinedDecs, 18, "_handleRemoteUsersJoined"], [_handleRemoteUsersLeftDecs, 18, "_handleRemoteUsersLeft"]], []).e, 16);
1471
1541
  _init_newMessageTooltipVisible = _applyDecs$e[0];
1472
1542
  _init_totalWaitingRoomUser = _applyDecs$e[1];
1473
1543
  _init_liveStreamingState = _applyDecs$e[2];
@@ -1478,9 +1548,10 @@ _init_folded = _applyDecs$e[6];
1478
1548
  _init_showArrow = _applyDecs$e[7];
1479
1549
  _init_phoneMicEnabled = _applyDecs$e[8];
1480
1550
  _init_chatTabIndex = _applyDecs$e[9];
1481
- _init_hasOfflineUserExistence = _applyDecs$e[10];
1482
- _init_connectionState = _applyDecs$e[11];
1483
- _init_appActionbarPopoverVisible = _applyDecs$e[12];
1484
- _init_stateBarLeaveMeeting = _applyDecs$e[13];
1485
- _initProto = _applyDecs$e[14];
1551
+ _init_connectionState = _applyDecs$e[10];
1552
+ _init_appActionbarPopoverVisible = _applyDecs$e[11];
1553
+ _init_stateBarLeaveMeeting = _applyDecs$e[12];
1554
+ _init_reEnterInterpreterUserList = _applyDecs$e[13];
1555
+ _init_offlineInterpreterUserList = _applyDecs$e[14];
1556
+ _initProto = _applyDecs$e[15];
1486
1557
  export var ActionBarContext = /*#__PURE__*/createContext(null);
@@ -1,3 +1,18 @@
1
+ // export interface LeaveMeetingProps {
2
+ // setPopoverOpened: React.Dispatch<React.SetStateAction<boolean>>;
3
+ // end: () => void;
4
+ // leave: () => void;
5
+ // isLocked: boolean;
6
+ // keepPhoneAudioConnection: () => void;
7
+ // localUserRole: FcrUserRole;
8
+ // remoteUsers: FcrUserInfo[];
9
+ // hasAssignHostBeforeLeavingPermission: boolean;
10
+ // hasEndRoomPermission: boolean;
11
+ // isPstnUser: boolean;
12
+ // assignHost: (user: FcrUserInfo) => void;
13
+ // setHeight?: () => void;
14
+ // }
15
+
1
16
  export var AudioConnectType = /*#__PURE__*/function (AudioConnectType) {
2
17
  AudioConnectType[AudioConnectType["NONE"] = 0] = "NONE";
3
18
  AudioConnectType[AudioConnectType["COMPUTER"] = 1] = "COMPUTER";
@@ -77,7 +77,7 @@ var End = observer(function (props) {
77
77
  showArrow: false,
78
78
  overlayClassName: "fcr-action-bar--device-popover fcr-action-bar--leave-popover",
79
79
  overlayInnerStyle: {
80
- width: 280
80
+ width: 'auto'
81
81
  },
82
82
  visible: opened,
83
83
  onVisibleChange: setOpenedState,