fcr-ui-scene 3.8.1 → 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 (1399) 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/modules/annotation/standalone-toolbar/components/item/style.css +45 -0
  114. package/lib/modules/annotation/standalone-toolbar/components/panel/style.css +24 -0
  115. package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/pen-tool/index.js +22 -9
  116. package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/pen-tool/pen-panel/index.js +1 -1
  117. package/lib/modules/annotation/standalone-toolbar/components/permission-tool/index.d.ts +1 -0
  118. package/lib/modules/annotation/standalone-toolbar/components/permission-tool/index.js +52 -0
  119. package/lib/modules/annotation/standalone-toolbar/components/tips/style.css +19 -0
  120. package/lib/modules/annotation/standalone-toolbar/store.d.ts +104 -0
  121. package/lib/modules/annotation/standalone-toolbar/store.js +618 -0
  122. package/lib/modules/annotation/standalone-toolbar/style.css +58 -0
  123. package/lib/modules/annotation/standalone-toolbar/view.js +193 -0
  124. package/lib/modules/annotation/store.base.d.ts +27 -0
  125. package/lib/modules/annotation/store.base.js +185 -0
  126. package/lib/modules/annotation/store.browser.d.ts +3 -0
  127. package/lib/modules/annotation/store.browser.js +25 -0
  128. package/lib/modules/annotation/store.electron.d.ts +8 -0
  129. package/lib/modules/annotation/store.electron.js +75 -0
  130. package/lib/modules/annotation/style.css +36 -0
  131. package/lib/modules/annotation/toolbar-store.d.ts +86 -0
  132. package/lib/modules/annotation/toolbar-store.js +473 -0
  133. package/lib/modules/annotation/type.d.ts +7 -0
  134. package/lib/modules/annotation/type.js +6 -0
  135. package/lib/modules/annotation/view.d.ts +5 -0
  136. package/lib/modules/annotation/view.js +107 -0
  137. package/lib/modules/chat/chat-room-store.d.ts +8 -1
  138. package/lib/modules/chat/chat-room-store.js +152 -72
  139. package/lib/modules/chat/components/message-list/index.js +123 -93
  140. package/lib/modules/chat/components/message-list/message-item/index.js +89 -67
  141. package/lib/modules/chat/components/message-list/scroll-bottom-button/index.js +6 -8
  142. package/lib/modules/chat/index.css +1 -9
  143. package/lib/modules/chat/store.js +7 -5
  144. package/lib/modules/chat/view.js +4 -9
  145. package/lib/modules/components/annotation-menu/index.d.ts +5 -3
  146. package/lib/modules/components/annotation-menu/index.js +29 -34
  147. package/lib/modules/components/apps/index.css +3 -2
  148. package/lib/modules/components/caption-menu/translation-setting-options.js +2 -2
  149. package/lib/modules/components/confirm-wrapper/index.css +48 -0
  150. package/lib/modules/components/confirm-wrapper/index.d.ts +25 -0
  151. package/lib/modules/components/confirm-wrapper/index.js +87 -0
  152. package/lib/modules/components/control-bar/index.d.ts +40 -8
  153. package/lib/modules/components/control-bar/index.js +350 -200
  154. package/lib/modules/components/device-control/components/audio-menu/index.js +3 -2
  155. package/lib/modules/components/device-control/components/video-menu/index.js +5 -3
  156. package/lib/modules/components/device-control/store.base.d.ts +5 -0
  157. package/lib/modules/components/device-control/store.base.js +17 -1
  158. package/lib/modules/components/leave-meeting/index.css +21 -0
  159. package/lib/modules/components/leave-meeting/index.d.ts +0 -2
  160. package/lib/modules/components/leave-meeting/index.js +63 -103
  161. package/lib/modules/components/leave-meeting/portal.d.ts +0 -1
  162. package/lib/modules/components/leave-meeting/portal.js +4 -6
  163. package/lib/modules/components/leave-meeting/store.base.d.ts +3 -4
  164. package/lib/modules/components/leave-meeting/store.base.js +49 -55
  165. package/lib/modules/components/leave-meeting/style.css +0 -1
  166. package/lib/modules/components/member-window/components/member-actions/components/more-actions.js +2 -1
  167. package/lib/modules/components/member-window/components/member-actions/provider.js +1 -1
  168. package/lib/modules/components/member-window/index.d.ts +1 -1
  169. package/lib/modules/components/member-window/index.js +3 -3
  170. package/lib/modules/components/security-menu/store.js +7 -9
  171. package/lib/modules/components/tab-frame/index.css +2 -2
  172. package/lib/modules/connection-gateway/components/phone/index.js +1 -1
  173. package/lib/modules/connection-gateway/store.js +6 -8
  174. package/lib/modules/control-bar/components/annotation-button/index.d.ts +11 -0
  175. package/lib/modules/control-bar/components/annotation-button/index.js +51 -0
  176. package/lib/modules/control-bar/components/apps-popover/index.css +3 -0
  177. package/lib/modules/control-bar/components/apps-popover/index.d.ts +1 -0
  178. package/lib/modules/control-bar/components/apps-popover/index.js +2 -0
  179. package/lib/modules/control-bar/components/carmera/index.js +1 -1
  180. package/lib/modules/control-bar/components/meeting-details/index.js +14 -20
  181. package/lib/modules/control-bar/components/microphone/index.js +2 -2
  182. package/lib/modules/control-bar/hooks.js +1 -1
  183. package/lib/modules/control-bar/index.css +11 -0
  184. package/lib/modules/control-bar/store.d.ts +20 -5
  185. package/lib/modules/control-bar/store.js +190 -59
  186. package/lib/modules/control-bar/view.js +72 -39
  187. package/lib/modules/device-pretest/audio-preview/microphone-detection.js +3 -9
  188. package/lib/modules/device-pretest/audio-preview/speaker-detection.js +1 -1
  189. package/lib/modules/device-pretest/index.js +1 -1
  190. package/lib/modules/device-pretest/settings/beauty.js +1 -1
  191. package/lib/modules/device-pretest/settings/video-effect.d.ts +2 -0
  192. package/lib/modules/device-pretest/settings/video-effect.js +27 -12
  193. package/lib/modules/device-pretest/settings/video-settings-basic.js +1 -1
  194. package/lib/modules/device-pretest/settings/virtual-background-setting.js +1 -1
  195. package/lib/modules/dialog/components/confirm/index.css +0 -18
  196. package/lib/modules/dialog/components/confirm/index.d.ts +1 -0
  197. package/lib/modules/dialog/components/confirm/index.js +2 -2
  198. package/lib/modules/dialog/components/dialog-container/index.css +3 -4
  199. package/lib/modules/dialog/components/dialog-container/index.d.ts +6 -21
  200. package/lib/modules/dialog/components/dialog-container/index.js +80 -132
  201. package/lib/modules/dialog/components/normal-window/index.d.ts +8 -20
  202. package/lib/modules/dialog/components/normal-window/index.js +14 -34
  203. package/lib/modules/dialog/dialogConfig/browser.d.ts +12 -0
  204. package/lib/modules/dialog/dialogConfig/browser.js +11 -0
  205. package/lib/modules/dialog/dialogConfig/electron.d.ts +4 -0
  206. package/lib/modules/dialog/dialogConfig/electron.js +15 -0
  207. package/lib/modules/dialog/dialogs/annotation-mask/index.d.ts +8 -0
  208. package/lib/modules/dialog/dialogs/annotation-mask/index.js +41 -0
  209. package/lib/modules/dialog/dialogs/annotation-tool/index.d.ts +5 -4
  210. package/lib/modules/dialog/dialogs/annotation-tool/index.js +19 -35
  211. package/lib/modules/dialog/dialogs/caption/index.d.ts +4 -16
  212. package/lib/modules/dialog/dialogs/caption/index.js +25 -19
  213. package/lib/modules/dialog/dialogs/chat/index.d.ts +4 -18
  214. package/lib/modules/dialog/dialogs/chat/index.js +33 -54
  215. package/lib/modules/dialog/dialogs/confirm/index.css +2 -13
  216. package/lib/modules/dialog/dialogs/confirm/index.d.ts +2 -17
  217. package/lib/modules/dialog/dialogs/confirm/index.js +5 -7
  218. package/lib/modules/dialog/dialogs/confirm-leave-meeting/index.d.ts +5 -16
  219. package/lib/modules/dialog/dialogs/confirm-leave-meeting/index.js +4 -24
  220. package/lib/modules/dialog/dialogs/connection-gateway/index.d.ts +4 -20
  221. package/lib/modules/dialog/dialogs/connection-gateway/index.js +6 -29
  222. package/lib/modules/dialog/dialogs/connection-gateway/tabs.d.ts +0 -1
  223. package/lib/modules/dialog/dialogs/connection-gateway/tabs.js +2 -13
  224. package/lib/modules/dialog/dialogs/control-bar/index.d.ts +2 -16
  225. package/lib/modules/dialog/dialogs/control-bar/index.js +4 -6
  226. package/lib/modules/dialog/dialogs/control-bar-leave-meeting/index.d.ts +4 -14
  227. package/lib/modules/dialog/dialogs/control-bar-leave-meeting/index.js +3 -21
  228. package/lib/modules/dialog/dialogs/device-setting/index.d.ts +4 -13
  229. package/lib/modules/dialog/dialogs/device-setting/index.js +4 -20
  230. package/lib/modules/dialog/dialogs/end-meeting-notice/index.d.ts +8 -0
  231. package/lib/modules/dialog/dialogs/{end-meeting → end-meeting-notice}/index.js +4 -14
  232. package/lib/modules/dialog/dialogs/interpreter/index.d.ts +4 -14
  233. package/lib/modules/dialog/dialogs/interpreter/index.js +33 -24
  234. package/lib/modules/dialog/dialogs/invite/index.d.ts +4 -18
  235. package/lib/modules/dialog/dialogs/invite/index.js +25 -24
  236. package/lib/modules/dialog/dialogs/live-streaming/index.d.ts +4 -8
  237. package/lib/modules/dialog/dialogs/live-streaming/index.js +7 -11
  238. package/lib/modules/dialog/dialogs/mute-all/index.d.ts +4 -15
  239. package/lib/modules/dialog/dialogs/mute-all/index.js +4 -20
  240. package/lib/modules/dialog/dialogs/participant/index.d.ts +4 -18
  241. package/lib/modules/dialog/dialogs/participant/index.js +31 -31
  242. package/lib/modules/dialog/dialogs/rename/index.d.ts +2 -14
  243. package/lib/modules/dialog/dialogs/rename/index.js +2 -13
  244. package/lib/modules/dialog/dialogs/sample-dialog/index.d.ts +2 -13
  245. package/lib/modules/dialog/dialogs/sample-dialog/index.js +2 -2
  246. package/lib/modules/dialog/dialogs/share-screen-selection/index.d.ts +2 -14
  247. package/lib/modules/dialog/dialogs/share-screen-selection/index.js +3 -12
  248. package/lib/modules/dialog/dialogs/sub-window/index.d.ts +2 -17
  249. package/lib/modules/dialog/dialogs/sub-window/index.js +4 -3
  250. package/lib/modules/dialog/dialogs/subtitles-history/index.d.ts +4 -19
  251. package/lib/modules/dialog/dialogs/subtitles-history/index.js +32 -25
  252. package/lib/modules/dialog/dialogs/system-preference/index.css +3 -2
  253. package/lib/modules/dialog/dialogs/system-preference/index.d.ts +5 -28
  254. package/lib/modules/dialog/dialogs/system-preference/index.js +13 -13
  255. package/lib/modules/dialog/dialogs/toast/index.d.ts +2 -16
  256. package/lib/modules/dialog/dialogs/toast/index.js +5 -5
  257. package/lib/modules/dialog/dialogs/video-window/index.d.ts +2 -18
  258. package/lib/modules/dialog/dialogs/video-window/index.js +4 -4
  259. package/lib/modules/dialog/dialogs/whiteboard/index.d.ts +2 -18
  260. package/lib/modules/dialog/dialogs/whiteboard/index.js +2 -2
  261. package/lib/modules/dialog/dialogs/widget/index.d.ts +4 -14
  262. package/lib/modules/dialog/dialogs/widget/index.js +22 -26
  263. package/lib/modules/dialog/index.css +4 -11
  264. package/lib/modules/dialog/level-config.d.ts +1 -0
  265. package/lib/modules/dialog/level-config.js +1 -0
  266. package/lib/modules/dialog/store.base.js +0 -3
  267. package/lib/modules/dialog/store.electron.d.ts +1 -0
  268. package/lib/modules/dialog/store.electron.js +16 -9
  269. package/lib/modules/dialog/type.d.ts +3 -1
  270. package/lib/modules/dialog/view.js +25 -1
  271. package/lib/modules/dialog/web-dialog-wrapper.d.ts +3 -0
  272. package/lib/modules/dialog/web-dialog-wrapper.js +154 -0
  273. package/lib/modules/event-toast/index.css +5 -2
  274. package/lib/modules/event-toast/store.browser.js +1 -1
  275. package/lib/modules/event-toast/store.electron.js +1 -1
  276. package/lib/modules/interpreter/index.css +1 -2
  277. package/lib/modules/interpreter/store.js +22 -19
  278. package/lib/modules/interpreter/utils.js +1 -1
  279. package/lib/modules/invite/components/pstn-invite.js +5 -5
  280. package/lib/modules/invite/index.d.ts +4 -1
  281. package/lib/modules/invite/index.js +5 -2
  282. package/lib/modules/invite/store.d.ts +6 -2
  283. package/lib/modules/invite/store.js +49 -10
  284. package/lib/modules/invite/view.d.ts +4 -1
  285. package/lib/modules/invite/view.js +25 -10
  286. package/lib/modules/layout/components/Aside.js +1 -1
  287. package/lib/modules/layout/components/Carousel.js +1 -1
  288. package/lib/modules/layout/components/CommonVideoRenderer.js +14 -4
  289. package/lib/modules/layout/components/Gallery.js +1 -1
  290. package/lib/modules/layout/index.css +0 -31
  291. package/lib/modules/layout/store.base.d.ts +9 -15
  292. package/lib/modules/layout/store.base.js +69 -198
  293. package/lib/modules/layout/store.browser.d.ts +2 -1
  294. package/lib/modules/layout/store.browser.js +62 -2
  295. package/lib/modules/layout/store.electron.d.ts +1 -3
  296. package/lib/modules/layout/store.electron.js +10 -28
  297. package/lib/modules/layout/view.js +1 -3
  298. package/lib/modules/live-streaming/index.dev.js +1 -1
  299. package/lib/modules/live-streaming/store.js +3 -4
  300. package/lib/modules/participant/components/confirm-input/index.css +15 -0
  301. package/lib/modules/participant/components/confirm-input/index.js +10 -13
  302. package/lib/modules/participant/components/mute-all/index.css +34 -0
  303. package/lib/modules/participant/components/mute-all/index.d.ts +1 -0
  304. package/lib/modules/participant/components/mute-all/index.js +21 -15
  305. package/lib/modules/participant/components/participants/components/footer/components/drop-menu/index.js +16 -2
  306. package/lib/modules/participant/components/participants/components/footer/components/drop-menu/util.d.ts +2 -1
  307. package/lib/modules/participant/components/participants/components/footer/components/drop-menu/util.js +3 -1
  308. package/lib/modules/participant/components/participants/components/render-user/components/attendee/components/microphone-indicator/index.js +3 -2
  309. package/lib/modules/participant/components/participants/components/render-user/components/user-action/index.js +1 -1
  310. package/lib/modules/participant/index.css +0 -16
  311. package/lib/modules/participant/store.base.d.ts +18 -5
  312. package/lib/modules/participant/store.base.js +219 -127
  313. package/lib/modules/participant/store.browser.d.ts +2 -1
  314. package/lib/modules/participant/store.browser.js +2 -2
  315. package/lib/modules/participant/store.electron.d.ts +2 -1
  316. package/lib/modules/participant/store.electron.js +2 -2
  317. package/lib/modules/pc-audio-connect/main-scene/index.d.ts +0 -1
  318. package/lib/modules/pc-audio-connect/main-scene/index.js +2 -4
  319. package/lib/modules/pc-audio-connect/main-scene/store.d.ts +0 -3
  320. package/lib/modules/pc-audio-connect/main-scene/store.js +7 -43
  321. package/lib/modules/pc-audio-connect/waiting-scene/index.js +6 -1
  322. package/lib/modules/phone-audio-connect/store.js +1 -1
  323. package/lib/modules/phone-audio-connect/view.js +1 -1
  324. package/lib/modules/secondary-window/index.d.ts +14 -7
  325. package/lib/modules/secondary-window/index.js +51 -25
  326. package/lib/modules/secondary-window/store.d.ts +4 -2
  327. package/lib/modules/secondary-window/store.js +39 -8
  328. package/lib/modules/secondary-window/type.d.ts +16 -25
  329. package/lib/modules/secondary-window/type.js +1 -0
  330. package/lib/modules/secondary-window/view.js +59 -58
  331. package/lib/modules/setting/audio-settings/audio-settings.js +2 -2
  332. package/lib/modules/setting/audio-whiteList/audio-device-adaptation.js +2 -2
  333. package/lib/modules/setting/audio-whiteList/audio-whiteList-manager.js +1 -1
  334. package/lib/modules/setting/caption_and_transcribing/index.js +1 -1
  335. package/lib/modules/setting/general-settings/general-settings.js +4 -4
  336. package/lib/modules/setting/index.css +2 -3
  337. package/lib/modules/setting/index.d.ts +1 -2
  338. package/lib/modules/setting/index.js +3 -10
  339. package/lib/modules/setting/minutes-settings/minutes-settings.js +1 -1
  340. package/lib/modules/setting/state/index.js +1 -1
  341. package/lib/modules/setting/storage-settings/storage-settings.js +1 -1
  342. package/lib/modules/setting/store.base.d.ts +11 -9
  343. package/lib/modules/setting/store.base.js +103 -88
  344. package/lib/modules/setting/store.electron.d.ts +2 -1
  345. package/lib/modules/setting/store.electron.js +19 -1
  346. package/lib/modules/setting/translate-settings/translate-settings.js +1 -1
  347. package/lib/modules/setting/type.d.ts +1 -9
  348. package/lib/modules/setting/video-settings/video-settings-basic.js +1 -1
  349. package/lib/modules/setting/video-settings/video-settings.js +11 -7
  350. package/lib/modules/setting/view.js +1 -1
  351. package/lib/modules/share-screen/components/control-bar/index.js +0 -86
  352. package/lib/modules/share-screen/components/selection/index.js +3 -1
  353. package/lib/modules/share-screen/store.base.d.ts +1 -1
  354. package/lib/modules/share-screen/store.base.js +10 -14
  355. package/lib/modules/share-screen/store.electron.d.ts +4 -0
  356. package/lib/modules/share-screen/store.electron.js +108 -34
  357. package/lib/modules/state-bar/layout-config.js +1 -1
  358. package/lib/modules/state-bar/live-streaming-state.js +6 -7
  359. package/lib/modules/state-bar/main-scene/store.browser.js +1 -1
  360. package/lib/modules/state-bar/main-scene/store.electron.js +1 -1
  361. package/lib/modules/state-bar/meeting-details.js +14 -21
  362. package/lib/modules/state-bar/meeting-network-state.css +5 -1
  363. package/lib/modules/state-bar/meeting-network-state.js +7 -1
  364. package/lib/modules/state-bar/meeting-time.js +1 -1
  365. package/lib/modules/state-bar/network-quality.js +1 -1
  366. package/lib/modules/state-bar/recording.js +1 -1
  367. package/lib/modules/state-bar/store.base.d.ts +3 -3
  368. package/lib/modules/state-bar/store.base.js +15 -24
  369. package/lib/modules/state-bar/view.js +6 -7
  370. package/lib/modules/subtitles-history/components/list-item.js +6 -1
  371. package/lib/modules/subtitles-history/index.css +2 -5
  372. package/lib/modules/subtitles-history/store.base.js +24 -12
  373. package/lib/modules/subtitles-history/store.electron.js +8 -2
  374. package/lib/modules/subtitles-history/view.js +7 -5
  375. package/lib/modules/toast-manager/index.d.ts +8 -0
  376. package/lib/modules/toast-manager/index.js +58 -0
  377. package/lib/modules/toast-manager/store.d.ts +28 -0
  378. package/lib/modules/toast-manager/store.js +391 -0
  379. package/lib/modules/toast-manager/toast-params.d.ts +7 -0
  380. package/lib/modules/toast-manager/toast-params.js +89 -0
  381. package/lib/modules/toast-manager/type.d.ts +112 -0
  382. package/lib/modules/toast-manager/type.js +337 -0
  383. package/lib/modules/video-window/store.d.ts +2 -2
  384. package/lib/modules/video-window/store.js +28 -50
  385. package/lib/modules/whiteboard/components/control-bar/store.d.ts +0 -1
  386. package/lib/modules/whiteboard/components/control-bar/store.js +0 -6
  387. package/lib/modules/whiteboard/components/toolbar/store.d.ts +1 -0
  388. package/lib/modules/whiteboard/components/toolbar/store.js +25 -14
  389. package/lib/modules/whiteboard/store.js +10 -9
  390. package/lib/modules/whiteboard/view.js +0 -1
  391. package/lib/modules/widget/store.electron.d.ts +0 -4
  392. package/lib/modules/widget/store.electron.js +4 -39
  393. package/lib/modules/widget/view.js +1 -1
  394. package/lib/modules/widget/web-widget.d.ts +1 -1
  395. package/lib/object-manager.d.ts +2 -0
  396. package/lib/object-manager.js +2 -0
  397. package/lib/plugins/multi-lang-plugin.js +1 -1
  398. package/lib/providers/ability-provider.d.ts +33 -1
  399. package/lib/providers/ability-provider.js +29 -1
  400. package/lib/providers/annotation/provider.base.d.ts +39 -0
  401. package/lib/providers/annotation/provider.base.js +270 -0
  402. package/lib/providers/annotation/provider.browser.d.ts +3 -0
  403. package/lib/providers/annotation/provider.browser.js +25 -0
  404. package/lib/providers/annotation/provider.electron.d.ts +34 -0
  405. package/lib/providers/annotation/provider.electron.js +231 -0
  406. package/lib/providers/annotation/standalone-toolbar-control/index.d.ts +26 -0
  407. package/lib/{fragments/annotation/toolbar/store.js → providers/annotation/standalone-toolbar-control/index.js} +103 -175
  408. package/lib/providers/annotation/toolbar-control/index.d.ts +31 -0
  409. package/lib/providers/annotation/toolbar-control/index.js +205 -0
  410. package/lib/providers/annotation/type.d.ts +64 -21
  411. package/lib/providers/app-list-provider.d.ts +4 -1
  412. package/lib/providers/app-list-provider.js +13 -7
  413. package/lib/providers/board-share/bar-control/base.d.ts +6 -8
  414. package/lib/providers/board-share/bar-control/base.js +7 -36
  415. package/lib/providers/board-share/bar-control/browser.d.ts +4 -1
  416. package/lib/providers/board-share/bar-control/browser.js +76 -3
  417. package/lib/providers/board-share/bar-control/electron.d.ts +4 -6
  418. package/lib/providers/board-share/bar-control/electron.js +36 -12
  419. package/lib/providers/board-share/provider.base.d.ts +11 -8
  420. package/lib/providers/board-share/provider.base.js +72 -13
  421. package/lib/providers/board-share/type.d.ts +11 -12
  422. package/lib/providers/device-privilege-provider.d.ts +5 -4
  423. package/lib/providers/device-privilege-provider.js +85 -62
  424. package/lib/providers/device-provider.d.ts +32 -1
  425. package/lib/providers/device-provider.js +412 -161
  426. package/lib/providers/device-stream-provider.d.ts +3 -3
  427. package/lib/providers/device-stream-provider.js +37 -111
  428. package/lib/providers/dialog/provider.electron.js +6 -1
  429. package/lib/providers/interpreter-provider.js +5 -5
  430. package/lib/providers/message/provider.d.ts +3 -1
  431. package/lib/providers/message/provider.js +12 -0
  432. package/lib/providers/message/type.d.ts +15 -0
  433. package/lib/providers/mouse-detect/provider.js +2 -2
  434. package/lib/providers/mouse-detect/struct.d.ts +2 -1
  435. package/lib/providers/mouse-detect/struct.js +1 -0
  436. package/lib/providers/multi-display-provider.d.ts +1 -0
  437. package/lib/providers/multi-display-provider.js +13 -0
  438. package/lib/providers/phone-audio-provider.d.ts +15 -0
  439. package/lib/providers/phone-audio-provider.js +17 -10
  440. package/lib/providers/privilege-provider.d.ts +15 -15
  441. package/lib/providers/room-provider/room-provider.d.ts +23 -11
  442. package/lib/providers/room-provider/room-provider.js +93 -199
  443. package/lib/providers/room-provider/waiting-room-control-manager.d.ts +2 -2
  444. package/lib/providers/room-provider/waiting-room-control-manager.js +2 -2
  445. package/lib/providers/screen-share/provider.base.d.ts +1 -0
  446. package/lib/providers/screen-share/provider.base.js +6 -1
  447. package/lib/providers/screen-share/provider.browser.js +13 -9
  448. package/lib/providers/screen-share/provider.electron.d.ts +1 -1
  449. package/lib/providers/screen-share/provider.electron.js +54 -44
  450. package/lib/providers/screen-share/strategy/electron.js +18 -3
  451. package/lib/providers/screen-share/stream-state-sync.d.ts +1 -1
  452. package/lib/providers/screen-share/stream-state-sync.js +4 -4
  453. package/lib/providers/screen-share/type.d.ts +9 -1
  454. package/lib/providers/session-provider.d.ts +1 -1
  455. package/lib/providers/stt-provider/stt-provider.d.ts +1 -1
  456. package/lib/providers/stt-provider/stt-provider.js +40 -77
  457. package/lib/providers/stt-provider/type.d.ts +5 -3
  458. package/lib/providers/stt-provider/type.js +4 -2
  459. package/lib/providers/user-audio-volume-provider.d.ts +47 -0
  460. package/lib/providers/user-audio-volume-provider.js +319 -0
  461. package/lib/providers/window/provider.d.ts +1 -1
  462. package/lib/providers/window/provider.js +23 -12
  463. package/lib/providers/window/renderer-window.d.ts +8 -2
  464. package/lib/providers/window/renderer-window.js +118 -33
  465. package/lib/providers/window/type.d.ts +1 -3
  466. package/lib/runtime.d.ts +12 -13
  467. package/lib/scenes/main-scene.js +101 -71
  468. package/lib/scenes/waiting-scene.js +4 -4
  469. package/lib/shared-data/member-data.d.ts +0 -9
  470. package/lib/shared-data/member-data.js +35 -61
  471. package/lib/shared-data/pin-data.d.ts +3 -2
  472. package/lib/shared-data/pin-data.js +8 -11
  473. package/lib/shared-data/setting.js +1 -1
  474. package/lib/shared-data/user-audio-volume.d.ts +19 -0
  475. package/lib/shared-data/user-audio-volume.js +104 -0
  476. package/lib/shared-data/video-window.js +49 -60
  477. package/lib/translations/enUS.d.ts +10 -0
  478. package/lib/translations/enUS.js +13 -3
  479. package/lib/translations/zhCN.d.ts +10 -0
  480. package/lib/translations/zhCN.js +12 -2
  481. package/lib/type.d.ts +27 -19
  482. package/lib/type.js +20 -2
  483. package/lib/ui-manager.js +1 -1
  484. package/lib/ui-scene-switch.d.ts +1 -0
  485. package/lib/ui-scene-switch.js +197 -87
  486. package/lib/utilities/browser-api.d.ts +0 -1
  487. package/lib/utilities/browser-api.js +0 -42
  488. package/lib/utilities/constant.d.ts +4 -4
  489. package/lib/utilities/constant.js +4 -5
  490. package/lib/utilities/default-config.d.ts +2 -8
  491. package/lib/utilities/default-config.js +8 -48
  492. package/lib/utilities/dialog-utils.js +1 -2
  493. package/lib/utilities/focus-helper.js +2 -2
  494. package/lib/utilities/logger.d.ts +1 -2
  495. package/lib/utilities/logger.js +12 -40
  496. package/lib/utilities/package-info.d.ts +1 -2
  497. package/lib/utilities/package-info.js +5 -6
  498. package/lib/utilities/renderer.d.ts +1 -0
  499. package/lib/utilities/renderer.js +7 -1
  500. package/lib/utilities/shared-storage.d.ts +2 -3
  501. package/lib/utilities/shared-storage.js +15 -11
  502. package/lib/utilities/tools.d.ts +1 -44
  503. package/lib/utilities/tools.js +28 -193
  504. package/lib/utilities/validate-params.js +3 -5
  505. package/lib-es/assets/mic-loading.gif +0 -0
  506. package/lib-es/base.js +335 -0
  507. package/lib-es/creator/index.js +559 -0
  508. package/lib-es/creator/provider-initializer.browser.js +347 -0
  509. package/lib-es/creator/provider-initializer.electron.js +382 -0
  510. package/lib-es/creator/type.js +1 -0
  511. package/lib-es/electron/app.js +264 -0
  512. package/lib-es/electron/asar-validation.js +110 -0
  513. package/lib-es/electron/bootstrap-dev.js +45 -0
  514. package/lib-es/electron/bootstrap-sdk.js +198 -0
  515. package/lib-es/electron/default-options.js +18 -0
  516. package/lib-es/electron/env.js +8 -0
  517. package/lib-es/electron/exit-codes.js +20 -0
  518. package/lib-es/electron/hang-detection/index.js +2 -0
  519. package/lib-es/electron/hang-detection/manager.js +225 -0
  520. package/lib-es/electron/hang-detection/types.js +1 -0
  521. package/lib-es/electron/index.js +2 -0
  522. package/lib-es/electron/injections.js +835 -0
  523. package/lib-es/electron/ipc/ipc.js +134 -0
  524. package/lib-es/electron/ipc/type.js +23 -0
  525. package/lib-es/electron/ipc-protocol.js +58 -0
  526. package/lib-es/electron/logger.js +57 -0
  527. package/lib-es/electron/main.js +117 -0
  528. package/lib-es/electron/plugins/devtool-shortcut.js +26 -0
  529. package/lib-es/electron/plugins/main-window-display.js +16 -0
  530. package/lib-es/electron/plugins/meeting-state.js +32 -0
  531. package/lib-es/electron/plugins/screenshot.js +46 -0
  532. package/lib-es/electron/preload.js +43 -0
  533. package/lib-es/electron/process-manager/constants.js +1 -0
  534. package/lib-es/electron/process-manager/event-manager.js +242 -0
  535. package/lib-es/electron/process-manager/index.js +879 -0
  536. package/lib-es/electron/process-manager/state-manager.js +396 -0
  537. package/lib-es/electron/process-manager/types.js +78 -0
  538. package/lib-es/electron/sdk-helper.js +309 -0
  539. package/lib-es/electron/struct.js +21 -0
  540. package/lib-es/electron/until.js +64 -0
  541. package/lib-es/electron/window-proxy/browser-window-proxy-factory.js +38 -0
  542. package/lib-es/electron/window-proxy/implementations/browser-window-proxy.js +328 -0
  543. package/lib-es/electron/window-proxy/implementations/electron-event-broadcaster.js +24 -0
  544. package/lib-es/electron/window-proxy/implementations/electron-ipc-handler.js +19 -0
  545. package/lib-es/electron/window-proxy/implementations/electron-logger.js +26 -0
  546. package/lib-es/electron/window-proxy/implementations/main-process-handler.js +438 -0
  547. package/lib-es/electron/window-proxy/interfaces.js +1 -0
  548. package/lib-es/electron/window.js +91 -0
  549. package/lib-es/fragments/annotation/cursor.css +77 -0
  550. package/lib-es/fragments/annotation/index.js +52 -0
  551. package/lib-es/fragments/annotation/libs.js +135 -0
  552. package/lib-es/fragments/annotation/store.js +476 -0
  553. package/lib-es/fragments/annotation/style.css +8 -0
  554. package/lib-es/fragments/annotation/view.js +20 -0
  555. package/lib-es/fragments/base.js +40 -0
  556. package/lib-es/fragments/whiteboard/cursor.css +77 -0
  557. package/lib-es/fragments/whiteboard/index.js +80 -0
  558. package/lib-es/fragments/whiteboard/libs.js +147 -0
  559. package/lib-es/fragments/whiteboard/store.js +423 -0
  560. package/lib-es/fragments/whiteboard/style.css +4 -0
  561. package/lib-es/fragments/whiteboard/view.js +24 -0
  562. package/lib-es/global.css +62 -0
  563. package/lib-es/global.d.ts +27 -0
  564. package/lib-es/hooks/i18n.js +10 -0
  565. package/lib-es/index.js +38 -0
  566. package/lib-es/modules/action-bar/components/apps/index.js +43 -0
  567. package/lib-es/modules/action-bar/components/board/index.js +25 -0
  568. package/lib-es/modules/action-bar/components/breakout-room/index.js +23 -0
  569. package/lib-es/modules/action-bar/components/chat/index.css +88 -0
  570. package/lib-es/modules/action-bar/components/chat/index.js +126 -0
  571. package/lib-es/modules/action-bar/components/collapse/index.js +208 -0
  572. package/lib-es/modules/action-bar/components/confirm-end-meeting/index.js +51 -0
  573. package/lib-es/modules/action-bar/components/interpreter/index.js +34 -0
  574. package/lib-es/modules/action-bar/components/item/index.js +158 -0
  575. package/lib-es/modules/action-bar/components/leave/index.js +118 -0
  576. package/lib-es/modules/action-bar/components/live-streaming/index.js +32 -0
  577. package/lib-es/modules/action-bar/components/more/index.css +114 -0
  578. package/lib-es/modules/action-bar/components/more/index.js +79 -0
  579. package/lib-es/modules/action-bar/components/more/poppover-content.js +410 -0
  580. package/lib-es/modules/action-bar/components/notification-bar/assets/dome.png +0 -0
  581. package/lib-es/modules/action-bar/components/notification-bar/assets/fcr_translateswitch.png +0 -0
  582. package/lib-es/modules/action-bar/components/notification-bar/components/interpreter/index.css +64 -0
  583. package/lib-es/modules/action-bar/components/notification-bar/components/interpreter/index.js +117 -0
  584. package/lib-es/modules/action-bar/components/notification-bar/components/virtual-image/index.css +56 -0
  585. package/lib-es/modules/action-bar/components/notification-bar/components/virtual-image/index.js +29 -0
  586. package/lib-es/modules/action-bar/components/notification-bar/index.css +74 -0
  587. package/lib-es/modules/action-bar/components/notification-bar/index.js +38 -0
  588. package/lib-es/modules/action-bar/components/participants/index.css +21 -0
  589. package/lib-es/modules/action-bar/components/participants/index.js +52 -0
  590. package/lib-es/modules/action-bar/components/placement/index.js +10 -0
  591. package/lib-es/modules/action-bar/components/record/index.css +39 -0
  592. package/lib-es/modules/action-bar/components/record/index.js +89 -0
  593. package/lib-es/modules/action-bar/components/record/popover.js +50 -0
  594. package/lib-es/modules/action-bar/components/record/stop-record-dialog.js +41 -0
  595. package/lib-es/modules/action-bar/components/respond/index.js +25 -0
  596. package/lib-es/modules/action-bar/components/screen-share/index.browser.js +61 -0
  597. package/lib-es/modules/action-bar/components/screen-share/index.electron.js +78 -0
  598. package/lib-es/modules/action-bar/components/screen-share/index.js +4 -0
  599. package/lib-es/modules/action-bar/components/screen-share/submenu.js +256 -0
  600. package/lib-es/modules/action-bar/components/security/index.js +42 -0
  601. package/lib-es/modules/action-bar/components/settings/index.js +29 -0
  602. package/lib-es/modules/action-bar/components/smaller/index.js +45 -0
  603. package/lib-es/modules/action-bar/components/trigger-output-language/fcr_translateswitch.png +0 -0
  604. package/lib-es/modules/action-bar/components/trigger-output-language/index.css +86 -0
  605. package/lib-es/modules/action-bar/components/trigger-output-language/index.js +228 -0
  606. package/lib-es/modules/action-bar/components/trigger-subscribe-language/guide-tooltip/index.css +23 -0
  607. package/lib-es/modules/action-bar/components/trigger-subscribe-language/guide-tooltip/index.js +65 -0
  608. package/lib-es/modules/action-bar/components/trigger-subscribe-language/index.js +216 -0
  609. package/lib-es/modules/action-bar/constants.js +1 -0
  610. package/lib-es/modules/action-bar/enums.js +28 -0
  611. package/lib-es/modules/action-bar/index.css +358 -0
  612. package/lib-es/modules/action-bar/main-scene/index.js +123 -0
  613. package/lib-es/modules/action-bar/main-scene/store.base.js +1557 -0
  614. package/lib-es/modules/action-bar/main-scene/store.browser.js +105 -0
  615. package/lib-es/modules/action-bar/main-scene/store.electron.js +94 -0
  616. package/lib-es/modules/action-bar/main-scene/view.js +105 -0
  617. package/lib-es/modules/action-bar/type.js +21 -0
  618. package/lib-es/modules/action-bar/waiting-scene/index.js +94 -0
  619. package/lib-es/modules/action-bar/waiting-scene/store.base.js +88 -0
  620. package/lib-es/modules/action-bar/waiting-scene/store.browser.js +17 -0
  621. package/lib-es/modules/action-bar/waiting-scene/store.electron.js +37 -0
  622. package/lib-es/modules/action-bar/waiting-scene/view.js +116 -0
  623. package/lib-es/modules/annotation/board-cursor.css +77 -0
  624. package/lib-es/modules/annotation/components/color-picker/components/color.js +29 -0
  625. package/lib-es/modules/annotation/components/color-picker/components/panel.js +100 -0
  626. package/lib-es/modules/annotation/components/color-picker/components/picker.js +67 -0
  627. package/lib-es/modules/annotation/components/color-picker/index.js +38 -0
  628. package/lib-es/modules/annotation/components/eraser-picker.js +134 -0
  629. package/lib-es/modules/annotation/components/expansion/index.js +85 -0
  630. package/lib-es/modules/annotation/components/extra-tool-picker.js +46 -0
  631. package/lib-es/modules/annotation/components/history.js +68 -0
  632. package/lib-es/modules/annotation/components/icons/fold-icon.js +33 -0
  633. package/lib-es/modules/annotation/components/icons/move-icon.js +59 -0
  634. package/lib-es/modules/annotation/components/item/index.js +35 -0
  635. package/lib-es/modules/annotation/components/move-handle.js +127 -0
  636. package/lib-es/modules/annotation/components/pen-picker.js +142 -0
  637. package/lib-es/modules/annotation/components/screen-capture-picker.js +77 -0
  638. package/lib-es/modules/annotation/components/shape-picker.js +193 -0
  639. package/lib-es/modules/annotation/hooks/index.js +156 -0
  640. package/lib-es/modules/annotation/index.js +144 -0
  641. package/lib-es/modules/annotation/standalone-toolbar/components/color-tool/color-panel/index.js +40 -0
  642. package/lib-es/modules/annotation/standalone-toolbar/components/color-tool/index.js +61 -0
  643. package/lib-es/modules/annotation/standalone-toolbar/components/graphic-tool/graphic-panel/index.js +54 -0
  644. package/lib-es/modules/annotation/standalone-toolbar/components/graphic-tool/graphic-panel/libs.js +57 -0
  645. package/lib-es/modules/annotation/standalone-toolbar/components/graphic-tool/index.js +75 -0
  646. package/lib-es/modules/annotation/standalone-toolbar/components/item/item.js +106 -0
  647. package/lib-es/modules/annotation/standalone-toolbar/components/panel/index.js +15 -0
  648. package/lib-es/modules/annotation/standalone-toolbar/components/pen-tool/index.js +67 -0
  649. package/lib-es/modules/annotation/standalone-toolbar/components/pen-tool/pen-panel/index.js +28 -0
  650. package/lib-es/modules/annotation/standalone-toolbar/components/permission-tool/index.js +44 -0
  651. package/lib-es/modules/annotation/standalone-toolbar/components/tips/index.js +18 -0
  652. package/lib-es/modules/annotation/standalone-toolbar/store.js +611 -0
  653. package/{lib/fragments/annotation/toolbar → lib-es/modules/annotation/standalone-toolbar}/style.css +4 -1
  654. package/lib-es/modules/annotation/standalone-toolbar/view.js +186 -0
  655. package/lib-es/modules/annotation/store.base.js +178 -0
  656. package/lib-es/modules/annotation/store.browser.js +17 -0
  657. package/lib-es/modules/annotation/store.electron.js +67 -0
  658. package/lib-es/modules/annotation/style.css +36 -0
  659. package/lib-es/modules/annotation/toolbar-store.js +466 -0
  660. package/lib-es/modules/annotation/type.js +1 -0
  661. package/lib-es/modules/annotation/view.js +99 -0
  662. package/lib-es/modules/audio-stream/index.js +393 -0
  663. package/lib-es/modules/caption/draggable-container/index.css +10 -0
  664. package/lib-es/modules/caption/draggable-container/index.js +159 -0
  665. package/lib-es/modules/caption/index.js +117 -0
  666. package/lib-es/modules/caption/store.js +352 -0
  667. package/lib-es/modules/caption/type.js +7 -0
  668. package/lib-es/modules/caption/view.css +158 -0
  669. package/lib-es/modules/caption/view.js +266 -0
  670. package/lib-es/modules/chat/chat-room-store.js +1003 -0
  671. package/lib-es/modules/chat/components/chat-action/index.js +21 -0
  672. package/lib-es/modules/chat/components/chat-bar/index.css +89 -0
  673. package/lib-es/modules/chat/components/chat-bar/index.js +141 -0
  674. package/lib-es/modules/chat/components/chat-select/index.css +185 -0
  675. package/lib-es/modules/chat/components/chat-select/index.js +100 -0
  676. package/lib-es/modules/chat/components/chat-select/select-input/index.js +27 -0
  677. package/lib-es/modules/chat/components/chat-select/select-item/index.js +150 -0
  678. package/lib-es/modules/chat/components/chat-tabs/index.js +53 -0
  679. package/lib-es/modules/chat/components/message-list/chat-empty/index.js +18 -0
  680. package/lib-es/modules/chat/components/message-list/history-unread-message-button/index.js +48 -0
  681. package/lib-es/modules/chat/components/message-list/index.js +361 -0
  682. package/lib-es/modules/chat/components/message-list/message-item/index.js +365 -0
  683. package/lib-es/modules/chat/components/message-list/scroll-bottom-button/index.js +58 -0
  684. package/lib-es/modules/chat/index.css +116 -0
  685. package/lib-es/modules/chat/index.dev.js +71 -0
  686. package/lib-es/modules/chat/index.js +168 -0
  687. package/lib-es/modules/chat/mock.js +276 -0
  688. package/lib-es/modules/chat/store.js +361 -0
  689. package/lib-es/modules/chat/types.js +12 -0
  690. package/lib-es/modules/chat/util.js +63 -0
  691. package/lib-es/modules/chat/view.js +307 -0
  692. package/lib-es/modules/components/annotation-menu/index.js +99 -0
  693. package/lib-es/modules/components/apps/app-item/index.css +49 -0
  694. package/lib-es/modules/components/apps/app-item/index.js +130 -0
  695. package/lib-es/modules/components/apps/app-list.js +49 -0
  696. package/lib-es/modules/components/apps/index.css +10 -0
  697. package/lib-es/modules/components/apps/types.js +1 -0
  698. package/lib-es/modules/components/caption-menu/index.css +58 -0
  699. package/lib-es/modules/components/caption-menu/index.js +108 -0
  700. package/lib-es/modules/components/caption-menu/participants-privilege-control-options.js +65 -0
  701. package/lib-es/modules/components/caption-menu/steps/index.css +73 -0
  702. package/lib-es/modules/components/caption-menu/steps/index.js +49 -0
  703. package/lib-es/modules/components/caption-menu/translation-setting-options.js +180 -0
  704. package/lib-es/modules/components/confirm-wrapper/index.css +48 -0
  705. package/lib-es/modules/components/confirm-wrapper/index.js +80 -0
  706. package/lib-es/modules/components/control-bar/components/loading/index.css +76 -0
  707. package/lib-es/modules/components/control-bar/components/loading/index.js +56 -0
  708. package/lib-es/modules/components/control-bar/components/loading/loading.png +0 -0
  709. package/lib-es/modules/components/control-bar/components/progress/index.js +36 -0
  710. package/lib-es/modules/components/control-bar/components/progress/style.css +51 -0
  711. package/lib-es/modules/components/control-bar/components/switch-theme/index.css +101 -0
  712. package/lib-es/modules/components/control-bar/components/switch-theme/index.js +86 -0
  713. package/lib-es/modules/components/control-bar/components/switch-theme/item.js +46 -0
  714. package/lib-es/modules/components/control-bar/components/switch-theme/libs.js +24 -0
  715. package/lib-es/modules/components/control-bar/index.css +99 -0
  716. package/lib-es/modules/components/control-bar/index.js +507 -0
  717. package/lib-es/modules/components/device-control/components/audio-menu/index.js +168 -0
  718. package/lib-es/modules/components/device-control/components/carmera/index.js +108 -0
  719. package/lib-es/modules/components/device-control/components/microphone/index.js +182 -0
  720. package/lib-es/modules/components/device-control/components/none-menu/index.js +61 -0
  721. package/lib-es/modules/components/device-control/components/phone-menu/index.js +54 -0
  722. package/lib-es/modules/components/device-control/components/video-menu/index.js +107 -0
  723. package/lib-es/modules/components/device-control/hooks/index.js +34 -0
  724. package/lib-es/modules/components/device-control/index.css +177 -0
  725. package/lib-es/modules/components/device-control/index.js +14 -0
  726. package/lib-es/modules/components/device-control/main-scene/store.js +88 -0
  727. package/lib-es/modules/components/device-control/store.base.js +258 -0
  728. package/lib-es/modules/components/device-control/type.js +1 -0
  729. package/lib-es/modules/components/device-control/waiting-scene/store.js +84 -0
  730. package/lib-es/modules/components/leave-meeting/components/assign-host.js +101 -0
  731. package/lib-es/modules/components/leave-meeting/components/index.css +151 -0
  732. package/lib-es/modules/components/leave-meeting/index.css +21 -0
  733. package/lib-es/modules/components/leave-meeting/index.js +109 -0
  734. package/lib-es/modules/components/leave-meeting/main-scene/store.js +107 -0
  735. package/lib-es/modules/components/leave-meeting/portal.js +20 -0
  736. package/lib-es/modules/components/leave-meeting/store.base.js +293 -0
  737. package/lib-es/modules/components/leave-meeting/style.css +8 -0
  738. package/lib-es/modules/components/leave-meeting/type.js +1 -0
  739. package/lib-es/modules/components/leave-meeting/waiting-scene/store.js +98 -0
  740. package/lib-es/modules/components/member-window/components/member-actions/components/audio-control.js +35 -0
  741. package/lib-es/modules/components/member-window/components/member-actions/components/icon-buttons/index.js +162 -0
  742. package/lib-es/modules/components/member-window/components/member-actions/components/icon-status.js +80 -0
  743. package/lib-es/modules/components/member-window/components/member-actions/components/layout/index.js +23 -0
  744. package/lib-es/modules/components/member-window/components/member-actions/components/more-actions.js +129 -0
  745. package/lib-es/modules/components/member-window/components/member-actions/components/share-status.js +34 -0
  746. package/lib-es/modules/components/member-window/components/member-actions/components/user-info.js +105 -0
  747. package/lib-es/modules/components/member-window/components/member-actions/components/user-tag.js +51 -0
  748. package/lib-es/modules/components/member-window/components/member-actions/index.js +98 -0
  749. package/lib-es/modules/components/member-window/components/member-actions/libs/index.js +14 -0
  750. package/lib-es/modules/components/member-window/components/member-actions/provider.js +70 -0
  751. package/lib-es/modules/components/member-window/components/member-actions/store.js +430 -0
  752. package/lib-es/modules/components/member-window/components/mic-volume.js +16 -0
  753. package/lib-es/modules/components/member-window/components/video-player/components/local-video-player-with-zoom.js +104 -0
  754. package/lib-es/modules/components/member-window/components/video-player/components/local-video-player.js +1 -0
  755. package/lib-es/modules/components/member-window/components/video-player/components/remote-video-player-with-zoom.js +60 -0
  756. package/lib-es/modules/components/member-window/components/video-player/components/remote-video-player.js +1 -0
  757. package/lib-es/modules/components/member-window/components/video-player/components/zoomable-container.js +223 -0
  758. package/lib-es/modules/components/member-window/components/video-player/index.js +37 -0
  759. package/lib-es/modules/components/member-window/index.css +502 -0
  760. package/lib-es/modules/components/member-window/index.js +179 -0
  761. package/lib-es/modules/components/member-window/types.js +1 -0
  762. package/lib-es/modules/components/security-menu/index.css +42 -0
  763. package/lib-es/modules/components/security-menu/index.js +472 -0
  764. package/lib-es/modules/components/security-menu/store.js +386 -0
  765. package/lib-es/modules/components/security-menu/type.js +1 -0
  766. package/lib-es/modules/components/tab-frame/index.css +40 -0
  767. package/lib-es/modules/components/tab-frame/index.js +51 -0
  768. package/lib-es/modules/components/toolbar/components/capture-tool/index.js +58 -0
  769. package/lib-es/modules/components/toolbar/components/clean-tool/index.js +63 -0
  770. package/lib-es/modules/components/toolbar/components/color-tool/color-panel/index.js +70 -0
  771. package/lib-es/modules/components/toolbar/components/color-tool/index.js +58 -0
  772. package/lib-es/modules/components/toolbar/components/graphic-tool/graphic-panel/index.js +57 -0
  773. package/lib-es/modules/components/toolbar/components/graphic-tool/graphic-panel/libs.js +57 -0
  774. package/lib-es/modules/components/toolbar/components/graphic-tool/index.js +72 -0
  775. package/lib-es/modules/components/toolbar/components/group-tool/index.js +35 -0
  776. package/lib-es/modules/components/toolbar/components/icons/fold-icon.js +33 -0
  777. package/lib-es/modules/components/toolbar/components/icons/move-icon.js +59 -0
  778. package/lib-es/modules/components/toolbar/components/item/index.js +157 -0
  779. package/lib-es/modules/components/toolbar/components/item/style.css +94 -0
  780. package/lib-es/modules/components/toolbar/components/multiple-color-tool/index.js +67 -0
  781. package/lib-es/modules/components/toolbar/components/panel/index.js +21 -0
  782. package/lib-es/modules/components/toolbar/components/panel/style.css +86 -0
  783. package/lib-es/modules/components/toolbar/components/pen-tool/index.js +54 -0
  784. package/lib-es/modules/components/toolbar/components/pen-tool/pen-panel/index.js +32 -0
  785. package/lib-es/modules/components/toolbar/components/save-draft/index.js +51 -0
  786. package/lib-es/modules/components/toolbar/components/vertical-frame/index.js +176 -0
  787. package/lib-es/modules/components/toolbar/hooks/use-resize-visible.js +64 -0
  788. package/lib-es/modules/components/toolbar/index.js +235 -0
  789. package/lib-es/modules/components/toolbar/style.css +85 -0
  790. package/lib-es/modules/components/toolbar/types.js +1 -0
  791. package/lib-es/modules/connection-gateway/components/computer/index.css +12 -0
  792. package/lib-es/modules/connection-gateway/components/computer/index.js +59 -0
  793. package/lib-es/modules/connection-gateway/components/phone/components/callinfo/index.css +36 -0
  794. package/lib-es/modules/connection-gateway/components/phone/components/callinfo/index.js +71 -0
  795. package/lib-es/modules/connection-gateway/components/phone/components/calling/index.css +72 -0
  796. package/lib-es/modules/connection-gateway/components/phone/components/calling/index.js +51 -0
  797. package/lib-es/modules/connection-gateway/components/phone/components/remeber/index.css +10 -0
  798. package/lib-es/modules/connection-gateway/components/phone/components/remeber/index.js +17 -0
  799. package/lib-es/modules/connection-gateway/components/phone/components/useing/index.css +46 -0
  800. package/lib-es/modules/connection-gateway/components/phone/components/useing/index.js +29 -0
  801. package/lib-es/modules/connection-gateway/components/phone/index.css +49 -0
  802. package/lib-es/modules/connection-gateway/components/phone/index.js +177 -0
  803. package/lib-es/modules/connection-gateway/enums.js +5 -0
  804. package/lib-es/modules/connection-gateway/index.css +6 -0
  805. package/lib-es/modules/connection-gateway/index.js +60 -0
  806. package/lib-es/modules/connection-gateway/store.js +707 -0
  807. package/lib-es/modules/connection-gateway/types.js +1 -0
  808. package/lib-es/modules/connection-gateway/view.js +31 -0
  809. package/lib-es/modules/control-bar/components/annotation-button/index.js +43 -0
  810. package/lib-es/modules/control-bar/components/apps-popover/index.css +3 -0
  811. package/lib-es/modules/control-bar/components/apps-popover/index.js +36 -0
  812. package/lib-es/modules/control-bar/components/boundary-detector.js +49 -0
  813. package/lib-es/modules/control-bar/components/carmera/index.js +107 -0
  814. package/lib-es/modules/control-bar/components/cloud-recording-buttons.js +109 -0
  815. package/lib-es/modules/control-bar/components/meeting-details/index.css +133 -0
  816. package/lib-es/modules/control-bar/components/meeting-details/index.js +224 -0
  817. package/lib-es/modules/control-bar/components/microphone/index.js +185 -0
  818. package/lib-es/modules/control-bar/components/more-actions/index.css +103 -0
  819. package/lib-es/modules/control-bar/components/more-actions/index.js +158 -0
  820. package/lib-es/modules/control-bar/components/share-audio/index.css +90 -0
  821. package/lib-es/modules/control-bar/components/share-audio/index.js +142 -0
  822. package/lib-es/modules/control-bar/components/share-state-nav/index.css +79 -0
  823. package/lib-es/modules/control-bar/components/share-state-nav/index.js +122 -0
  824. package/lib-es/modules/control-bar/components/stop-live-streaming/index.js +29 -0
  825. package/lib-es/modules/control-bar/components/stop-live-streaming/stop-button.js +28 -0
  826. package/lib-es/modules/control-bar/components/transfer-position-icon/index.js +34 -0
  827. package/lib-es/modules/control-bar/context.js +5 -0
  828. package/lib-es/modules/control-bar/enums.js +27 -0
  829. package/lib-es/modules/control-bar/hooks.js +168 -0
  830. package/lib-es/modules/control-bar/index.css +351 -0
  831. package/lib-es/modules/control-bar/index.dev.js +37 -0
  832. package/lib-es/modules/control-bar/index.js +144 -0
  833. package/lib-es/modules/control-bar/store.js +912 -0
  834. package/lib-es/modules/control-bar/type.js +1 -0
  835. package/lib-es/modules/control-bar/view.js +696 -0
  836. package/lib-es/modules/device-pretest/assets/virtual-backdound-resources.js +14 -0
  837. package/lib-es/modules/device-pretest/audio-preview/microphone-detection.js +58 -0
  838. package/lib-es/modules/device-pretest/audio-preview/speaker-control.js +58 -0
  839. package/lib-es/modules/device-pretest/audio-preview/speaker-detection.js +63 -0
  840. package/lib-es/modules/device-pretest/index.css +123 -0
  841. package/lib-es/modules/device-pretest/index.js +234 -0
  842. package/lib-es/modules/device-pretest/settings/beauty.js +107 -0
  843. package/lib-es/modules/device-pretest/settings/camera-select.js +45 -0
  844. package/lib-es/modules/device-pretest/settings/video-effect.js +58 -0
  845. package/lib-es/modules/device-pretest/settings/video-settings-basic.js +137 -0
  846. package/lib-es/modules/device-pretest/settings/virtual-background-setting.js +94 -0
  847. package/lib-es/modules/device-pretest/store.js +437 -0
  848. package/lib-es/modules/dialog/components/confirm/index.css +6 -0
  849. package/lib-es/modules/dialog/components/confirm/index.js +155 -0
  850. package/lib-es/modules/dialog/components/dialog-container/index.css +111 -0
  851. package/lib-es/modules/dialog/components/dialog-container/index.js +89 -0
  852. package/lib-es/modules/dialog/components/normal-window/index.js +33 -0
  853. package/lib-es/modules/dialog/dialogConfig/browser.js +4 -0
  854. package/lib-es/modules/dialog/dialogConfig/electron.js +8 -0
  855. package/lib-es/modules/dialog/dialogs/annotation-mask/index.js +34 -0
  856. package/lib-es/modules/dialog/dialogs/annotation-tool/index.js +31 -0
  857. package/lib-es/modules/dialog/dialogs/caption/index.js +41 -0
  858. package/lib-es/modules/dialog/dialogs/chat/components/actions.js +36 -0
  859. package/lib-es/modules/dialog/dialogs/chat/index.js +53 -0
  860. package/lib-es/modules/dialog/dialogs/confirm/index.css +13 -0
  861. package/lib-es/modules/dialog/dialogs/confirm/index.js +49 -0
  862. package/lib-es/modules/dialog/dialogs/confirm-leave-meeting/index.js +18 -0
  863. package/lib-es/modules/dialog/dialogs/connection-gateway/index.js +17 -0
  864. package/lib-es/modules/dialog/dialogs/connection-gateway/tabs.js +40 -0
  865. package/lib-es/modules/dialog/dialogs/control-bar/index.js +27 -0
  866. package/lib-es/modules/dialog/dialogs/control-bar-leave-meeting/index.js +15 -0
  867. package/lib-es/modules/dialog/dialogs/device-setting/index.css +26 -0
  868. package/lib-es/modules/dialog/dialogs/device-setting/index.js +20 -0
  869. package/lib-es/modules/dialog/dialogs/end-meeting-notice/index.js +38 -0
  870. package/lib-es/modules/dialog/dialogs/interpreter/index.js +47 -0
  871. package/lib-es/modules/dialog/dialogs/invite/index.js +52 -0
  872. package/lib-es/modules/dialog/dialogs/live-streaming/index.js +26 -0
  873. package/lib-es/modules/dialog/dialogs/mute-all/index.js +26 -0
  874. package/lib-es/modules/dialog/dialogs/participant/components/actions.js +23 -0
  875. package/lib-es/modules/dialog/dialogs/participant/components/title.js +9 -0
  876. package/lib-es/modules/dialog/dialogs/participant/index.js +53 -0
  877. package/lib-es/modules/dialog/dialogs/rename/index.js +32 -0
  878. package/lib-es/modules/dialog/dialogs/sample-dialog/index.js +48 -0
  879. package/lib-es/modules/dialog/dialogs/share-screen-selection/index.js +23 -0
  880. package/lib-es/modules/dialog/dialogs/sub-window/index.js +32 -0
  881. package/lib-es/modules/dialog/dialogs/subtitles-history/index.js +51 -0
  882. package/lib-es/modules/dialog/dialogs/system-preference/assets/bg1.png +0 -0
  883. package/lib-es/modules/dialog/dialogs/system-preference/assets/bg2.png +0 -0
  884. package/lib-es/modules/dialog/dialogs/system-preference/assets/fcr_png_host.png +0 -0
  885. package/lib-es/modules/dialog/dialogs/system-preference/electron.js +31 -0
  886. package/lib-es/modules/dialog/dialogs/system-preference/index.css +53 -0
  887. package/lib-es/modules/dialog/dialogs/system-preference/index.js +130 -0
  888. package/lib-es/modules/dialog/dialogs/toast/index.js +28 -0
  889. package/lib-es/modules/dialog/dialogs/video-window/index.js +55 -0
  890. package/lib-es/modules/dialog/dialogs/whiteboard/index.js +60 -0
  891. package/lib-es/modules/dialog/dialogs/widget/index.js +36 -0
  892. package/lib-es/modules/dialog/hooks/use-web-drag.js +64 -0
  893. package/lib-es/modules/dialog/index.css +49 -0
  894. package/lib-es/modules/dialog/index.js +70 -0
  895. package/lib-es/modules/dialog/level-config.js +12 -0
  896. package/lib-es/modules/dialog/store.base.js +269 -0
  897. package/lib-es/modules/dialog/store.browser.js +135 -0
  898. package/lib-es/modules/dialog/store.electron.js +291 -0
  899. package/lib-es/modules/dialog/type.js +1 -0
  900. package/lib-es/modules/dialog/view.js +52 -0
  901. package/lib-es/modules/dialog/web-dialog-wrapper.js +147 -0
  902. package/lib-es/modules/event-sound/enum.js +13 -0
  903. package/lib-es/modules/event-sound/index.js +49 -0
  904. package/lib-es/modules/event-sound/sound-effect-player.js +49 -0
  905. package/lib-es/modules/event-sound/store.js +275 -0
  906. package/lib-es/modules/event-sound/type.js +1 -0
  907. package/lib-es/modules/event-toast/index.css +28 -0
  908. package/lib-es/modules/event-toast/index.js +82 -0
  909. package/lib-es/modules/event-toast/store.base.js +193 -0
  910. package/lib-es/modules/event-toast/store.browser.js +23 -0
  911. package/lib-es/modules/event-toast/store.electron.js +138 -0
  912. package/lib-es/modules/event-toast/type.js +1 -0
  913. package/lib-es/modules/event-toast/view.js +37 -0
  914. package/lib-es/modules/interpreter/action/add-btn/index.css +4 -0
  915. package/lib-es/modules/interpreter/action/add-btn/index.js +35 -0
  916. package/lib-es/modules/interpreter/action/delete-btn/index.css +14 -0
  917. package/lib-es/modules/interpreter/action/delete-btn/index.js +31 -0
  918. package/lib-es/modules/interpreter/action/edit-btn/index.js +39 -0
  919. package/lib-es/modules/interpreter/action/switch-btn/index.css +3 -0
  920. package/lib-es/modules/interpreter/action/switch-btn/index.js +44 -0
  921. package/lib-es/modules/interpreter/dialog-content/index.css +33 -0
  922. package/lib-es/modules/interpreter/dialog-content/index.js +30 -0
  923. package/lib-es/modules/interpreter/footer/index.css +11 -0
  924. package/lib-es/modules/interpreter/footer/index.js +18 -0
  925. package/lib-es/modules/interpreter/index.css +3 -0
  926. package/lib-es/modules/interpreter/index.js +109 -0
  927. package/lib-es/modules/interpreter/interpreter-list/index.css +8 -0
  928. package/lib-es/modules/interpreter/interpreter-list/index.js +30 -0
  929. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/index.css +46 -0
  930. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/index.js +173 -0
  931. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ar.png +0 -0
  932. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_cn.png +0 -0
  933. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_de.png +0 -0
  934. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_en.png +0 -0
  935. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_es.png +0 -0
  936. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_fr.png +0 -0
  937. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_hi.png +0 -0
  938. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_id.png +0 -0
  939. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_it.png +0 -0
  940. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_jp.png +0 -0
  941. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ko.png +0 -0
  942. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ms.png +0 -0
  943. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_pt.png +0 -0
  944. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ru.png +0 -0
  945. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_th.png +0 -0
  946. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_tr.png +0 -0
  947. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_vi.png +0 -0
  948. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/index.js +169 -0
  949. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-user/index.css +46 -0
  950. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-user/index.js +120 -0
  951. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-user/option-Item.js +51 -0
  952. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/index.css +32 -0
  953. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/index.js +40 -0
  954. package/lib-es/modules/interpreter/loading-wrapper/index.css +53 -0
  955. package/lib-es/modules/interpreter/loading-wrapper/index.js +20 -0
  956. package/lib-es/modules/interpreter/store.js +617 -0
  957. package/lib-es/modules/interpreter/tooltip-wrapper/index.js +23 -0
  958. package/lib-es/modules/interpreter/type.js +5 -0
  959. package/lib-es/modules/interpreter/utils.js +54 -0
  960. package/lib-es/modules/interpreter/view.js +62 -0
  961. package/lib-es/modules/invite/components/error-tips.js +11 -0
  962. package/lib-es/modules/invite/components/pstn-invite.js +245 -0
  963. package/lib-es/modules/invite/components/voip-invite.css +26 -0
  964. package/lib-es/modules/invite/components/voip-invite.js +265 -0
  965. package/lib-es/modules/invite/enums.js +27 -0
  966. package/lib-es/modules/invite/index.css +331 -0
  967. package/lib-es/modules/invite/index.js +64 -0
  968. package/lib-es/modules/invite/store.js +578 -0
  969. package/lib-es/modules/invite/types.js +1 -0
  970. package/lib-es/modules/invite/view.js +46 -0
  971. package/lib-es/modules/layout/components/Aside.js +208 -0
  972. package/lib-es/modules/layout/components/Carousel.js +192 -0
  973. package/lib-es/modules/layout/components/CommonVideoRenderer.js +275 -0
  974. package/lib-es/modules/layout/components/Gallery.js +256 -0
  975. package/lib-es/modules/layout/components/index.css +653 -0
  976. package/lib-es/modules/layout/components/index.js +5 -0
  977. package/lib-es/modules/layout/components/utils.js +3 -0
  978. package/lib-es/modules/layout/components/who-is-speaking.js +49 -0
  979. package/lib-es/modules/layout/index.css +28 -0
  980. package/lib-es/modules/layout/index.dev.js +313 -0
  981. package/lib-es/modules/layout/index.js +74 -0
  982. package/lib-es/modules/layout/store.base.js +1339 -0
  983. package/lib-es/modules/layout/store.browser.js +110 -0
  984. package/lib-es/modules/layout/store.electron.js +157 -0
  985. package/lib-es/modules/layout/type.js +59 -0
  986. package/lib-es/modules/layout/view.js +147 -0
  987. package/lib-es/modules/live-streaming/index.css +0 -0
  988. package/lib-es/modules/live-streaming/index.dev.js +56 -0
  989. package/lib-es/modules/live-streaming/index.js +60 -0
  990. package/lib-es/modules/live-streaming/store.js +245 -0
  991. package/lib-es/modules/live-streaming/type.js +1 -0
  992. package/lib-es/modules/live-streaming/view.js +26 -0
  993. package/lib-es/modules/notification/index.css +77 -0
  994. package/lib-es/modules/notification/index.js +59 -0
  995. package/lib-es/modules/notification/interpreter-status/index.css +76 -0
  996. package/lib-es/modules/notification/interpreter-status/index.js +55 -0
  997. package/lib-es/modules/notification/store.js +122 -0
  998. package/lib-es/modules/notification/type.js +1 -0
  999. package/lib-es/modules/notification/view.js +127 -0
  1000. package/lib-es/modules/offscreen-pulling/index.js +122 -0
  1001. package/lib-es/modules/participant/components/can-moveable/index.js +59 -0
  1002. package/lib-es/modules/participant/components/confirm-input/index.css +19 -0
  1003. package/lib-es/modules/participant/components/confirm-input/index.js +109 -0
  1004. package/lib-es/modules/participant/components/mute-all/index.css +34 -0
  1005. package/lib-es/modules/participant/components/mute-all/index.js +73 -0
  1006. package/lib-es/modules/participant/components/operate-waitingroom-member/index.js +40 -0
  1007. package/lib-es/modules/participant/components/participants/components/footer/components/buttons.js +45 -0
  1008. package/lib-es/modules/participant/components/participants/components/footer/components/drop-menu/index.css +83 -0
  1009. package/lib-es/modules/participant/components/participants/components/footer/components/drop-menu/index.js +170 -0
  1010. package/lib-es/modules/participant/components/participants/components/footer/components/drop-menu/util.js +23 -0
  1011. package/lib-es/modules/participant/components/participants/components/footer/index.js +42 -0
  1012. package/lib-es/modules/participant/components/participants/components/merge/index.js +40 -0
  1013. package/lib-es/modules/participant/components/participants/components/render-tab/index.js +42 -0
  1014. package/lib-es/modules/participant/components/participants/components/render-user/components/attendee/components/interpreter-tag/index.js +40 -0
  1015. package/lib-es/modules/participant/components/participants/components/render-user/components/attendee/components/microphone-indicator/index.js +22 -0
  1016. package/lib-es/modules/participant/components/participants/components/render-user/components/attendee/components/user-avatar/index.js +32 -0
  1017. package/lib-es/modules/participant/components/participants/components/render-user/components/attendee/index.css +87 -0
  1018. package/lib-es/modules/participant/components/participants/components/render-user/components/attendee/index.js +138 -0
  1019. package/lib-es/modules/participant/components/participants/components/render-user/components/user-action/components/audio-button/index.js +25 -0
  1020. package/lib-es/modules/participant/components/participants/components/render-user/components/user-action/components/move-actions-popover/index.js +70 -0
  1021. package/lib-es/modules/participant/components/participants/components/render-user/components/user-action/components/move-to-mainroom-button/index.js +20 -0
  1022. package/lib-es/modules/participant/components/participants/components/render-user/components/user-action/index.js +70 -0
  1023. package/lib-es/modules/participant/components/participants/components/render-user/index.js +16 -0
  1024. package/lib-es/modules/participant/components/participants/index.js +71 -0
  1025. package/lib-es/modules/participant/index.css +86 -0
  1026. package/lib-es/modules/participant/index.dev.js +87 -0
  1027. package/lib-es/modules/participant/index.js +137 -0
  1028. package/lib-es/modules/participant/member-list-data-source.js +297 -0
  1029. package/lib-es/modules/participant/store.base.js +2446 -0
  1030. package/lib-es/modules/participant/store.browser.js +117 -0
  1031. package/lib-es/modules/participant/store.electron.js +124 -0
  1032. package/lib-es/modules/participant/struct.js +55 -0
  1033. package/lib-es/modules/participant/type.js +7 -0
  1034. package/lib-es/modules/participant/view.js +18 -0
  1035. package/lib-es/modules/pc-audio-connect/index.css +12 -0
  1036. package/lib-es/modules/pc-audio-connect/main-scene/index.js +67 -0
  1037. package/lib-es/modules/pc-audio-connect/main-scene/store.js +313 -0
  1038. package/lib-es/modules/pc-audio-connect/types.js +1 -0
  1039. package/lib-es/modules/pc-audio-connect/view.js +60 -0
  1040. package/lib-es/modules/pc-audio-connect/waiting-scene/index.js +66 -0
  1041. package/lib-es/modules/pc-audio-connect/waiting-scene/store.js +293 -0
  1042. package/lib-es/modules/phone-audio-connect/components/callinfo/index.css +36 -0
  1043. package/lib-es/modules/phone-audio-connect/components/callinfo/index.js +71 -0
  1044. package/lib-es/modules/phone-audio-connect/components/calling/index.css +72 -0
  1045. package/lib-es/modules/phone-audio-connect/components/calling/index.js +51 -0
  1046. package/lib-es/modules/phone-audio-connect/components/remeber/index.css +10 -0
  1047. package/lib-es/modules/phone-audio-connect/components/remeber/index.js +17 -0
  1048. package/lib-es/modules/phone-audio-connect/components/useing/index.css +46 -0
  1049. package/lib-es/modules/phone-audio-connect/components/useing/index.js +29 -0
  1050. package/lib-es/modules/phone-audio-connect/enums.js +5 -0
  1051. package/lib-es/modules/phone-audio-connect/index.css +56 -0
  1052. package/lib-es/modules/phone-audio-connect/index.js +52 -0
  1053. package/lib-es/modules/phone-audio-connect/store.js +317 -0
  1054. package/lib-es/modules/phone-audio-connect/types.js +1 -0
  1055. package/lib-es/modules/phone-audio-connect/view.js +177 -0
  1056. package/lib-es/modules/secondary-window/index.js +173 -0
  1057. package/lib-es/modules/secondary-window/store.js +533 -0
  1058. package/lib-es/modules/secondary-window/type.js +29 -0
  1059. package/lib-es/modules/secondary-window/view.js +282 -0
  1060. package/lib-es/modules/setting/audio-settings/audio-settings.js +292 -0
  1061. package/lib-es/modules/setting/audio-settings/index.css +195 -0
  1062. package/lib-es/modules/setting/audio-whiteList/audio-device-adaptation.js +62 -0
  1063. package/lib-es/modules/setting/audio-whiteList/audio-whiteList-manager.js +368 -0
  1064. package/lib-es/modules/setting/caption_and_transcribing/index.css +88 -0
  1065. package/lib-es/modules/setting/caption_and_transcribing/index.js +89 -0
  1066. package/lib-es/modules/setting/general-settings/general-settings.js +148 -0
  1067. package/lib-es/modules/setting/general-settings/index.css +41 -0
  1068. package/lib-es/modules/setting/index.css +111 -0
  1069. package/lib-es/modules/setting/index.dev.js +120 -0
  1070. package/lib-es/modules/setting/index.js +138 -0
  1071. package/lib-es/modules/setting/minutes-settings/index.css +65 -0
  1072. package/lib-es/modules/setting/minutes-settings/minutes-settings.js +146 -0
  1073. package/lib-es/modules/setting/state/index.css +207 -0
  1074. package/lib-es/modules/setting/state/index.js +322 -0
  1075. package/lib-es/modules/setting/storage-settings/index.css +91 -0
  1076. package/lib-es/modules/setting/storage-settings/storage-settings.js +65 -0
  1077. package/lib-es/modules/setting/store.base.js +1455 -0
  1078. package/lib-es/modules/setting/store.browser.js +43 -0
  1079. package/lib-es/modules/setting/store.electron.js +186 -0
  1080. package/lib-es/modules/setting/translate-settings/index.css +47 -0
  1081. package/lib-es/modules/setting/translate-settings/language-select.js +40 -0
  1082. package/lib-es/modules/setting/translate-settings/translate-settings.js +131 -0
  1083. package/lib-es/modules/setting/type.js +14 -0
  1084. package/lib-es/modules/setting/video-settings/index.css +357 -0
  1085. package/lib-es/modules/setting/video-settings/video-settings-basic.js +131 -0
  1086. package/lib-es/modules/setting/video-settings/video-settings.js +171 -0
  1087. package/lib-es/modules/setting/view.js +147 -0
  1088. package/lib-es/modules/share-screen/components/control-bar/index.css +75 -0
  1089. package/lib-es/modules/share-screen/components/control-bar/index.js +6 -0
  1090. package/lib-es/modules/share-screen/components/control-bar/items/annotation-edit-btn/index.js +38 -0
  1091. package/lib-es/modules/share-screen/components/control-bar/items/full-container-btn/index.js +25 -0
  1092. package/lib-es/modules/share-screen/components/control-bar/items/original-size-btn/index.js +25 -0
  1093. package/lib-es/modules/share-screen/components/control-bar/items/zoom-in-btn/index.js +25 -0
  1094. package/lib-es/modules/share-screen/components/control-bar/items/zoom-out-btn/index.js +25 -0
  1095. package/lib-es/modules/share-screen/components/selection/index.css +73 -0
  1096. package/lib-es/modules/share-screen/components/selection/index.js +222 -0
  1097. package/lib-es/modules/share-screen/components/share-scenario/index.js +40 -0
  1098. package/lib-es/modules/share-screen/components/share-state-bar/index.css +76 -0
  1099. package/lib-es/modules/share-screen/components/share-state-bar/index.js +90 -0
  1100. package/lib-es/modules/share-screen/index.css +0 -0
  1101. package/lib-es/modules/share-screen/index.dev.js +90 -0
  1102. package/lib-es/modules/share-screen/index.js +99 -0
  1103. package/lib-es/modules/share-screen/store.base.js +460 -0
  1104. package/lib-es/modules/share-screen/store.browser.js +36 -0
  1105. package/lib-es/modules/share-screen/store.electron.js +503 -0
  1106. package/lib-es/modules/share-screen/type.js +8 -0
  1107. package/lib-es/modules/share-screen/view.js +24 -0
  1108. package/lib-es/modules/state-bar/assets/fcr_grid_big.svg +3 -0
  1109. package/lib-es/modules/state-bar/assets/fcr_listontop_big.svg +3 -0
  1110. package/lib-es/modules/state-bar/assets/live-streaming.gif +0 -0
  1111. package/lib-es/modules/state-bar/index.css +706 -0
  1112. package/lib-es/modules/state-bar/index.dev.js +78 -0
  1113. package/lib-es/modules/state-bar/index.js +41 -0
  1114. package/lib-es/modules/state-bar/layout-config.js +168 -0
  1115. package/lib-es/modules/state-bar/live-streaming-state.js +168 -0
  1116. package/lib-es/modules/state-bar/main-scene/index.js +39 -0
  1117. package/lib-es/modules/state-bar/main-scene/store.base.js +137 -0
  1118. package/lib-es/modules/state-bar/main-scene/store.browser.js +80 -0
  1119. package/lib-es/modules/state-bar/main-scene/store.electron.js +107 -0
  1120. package/lib-es/modules/state-bar/meeting-detail.css +137 -0
  1121. package/lib-es/modules/state-bar/meeting-details.js +212 -0
  1122. package/lib-es/modules/state-bar/meeting-network-state.css +154 -0
  1123. package/lib-es/modules/state-bar/meeting-network-state.js +113 -0
  1124. package/lib-es/modules/state-bar/meeting-time.js +25 -0
  1125. package/lib-es/modules/state-bar/network-quality.js +26 -0
  1126. package/lib-es/modules/state-bar/recording.js +103 -0
  1127. package/lib-es/modules/state-bar/store.base.electron.js +108 -0
  1128. package/lib-es/modules/state-bar/store.base.js +607 -0
  1129. package/lib-es/modules/state-bar/subtitles-history-state.js +101 -0
  1130. package/lib-es/modules/state-bar/type.js +1 -0
  1131. package/lib-es/modules/state-bar/view.js +240 -0
  1132. package/lib-es/modules/state-bar/waiting-scene/index.js +39 -0
  1133. package/lib-es/modules/state-bar/waiting-scene/store.base.js +48 -0
  1134. package/lib-es/modules/state-bar/waiting-scene/store.browser.js +80 -0
  1135. package/lib-es/modules/state-bar/waiting-scene/store.electron.js +99 -0
  1136. package/lib-es/modules/subtitles-history/components/actions.js +29 -0
  1137. package/lib-es/modules/subtitles-history/components/list-item.js +100 -0
  1138. package/lib-es/modules/subtitles-history/components/list.js +175 -0
  1139. package/lib-es/modules/subtitles-history/components/respond-dialog-content.js +36 -0
  1140. package/lib-es/modules/subtitles-history/components/settings/index.css +5 -0
  1141. package/lib-es/modules/subtitles-history/components/settings/index.js +46 -0
  1142. package/lib-es/modules/subtitles-history/components/timer.js +36 -0
  1143. package/lib-es/modules/subtitles-history/components/title.js +8 -0
  1144. package/lib-es/modules/subtitles-history/empty.js +14 -0
  1145. package/lib-es/modules/subtitles-history/index.css +126 -0
  1146. package/lib-es/modules/subtitles-history/index.js +89 -0
  1147. package/lib-es/modules/subtitles-history/store.base.js +802 -0
  1148. package/lib-es/modules/subtitles-history/store.electron.js +154 -0
  1149. package/lib-es/modules/subtitles-history/type.js +1 -0
  1150. package/lib-es/modules/subtitles-history/view.js +98 -0
  1151. package/lib-es/modules/toast-manager/index.js +50 -0
  1152. package/lib-es/modules/toast-manager/store.js +383 -0
  1153. package/lib-es/modules/toast-manager/toast-params.js +82 -0
  1154. package/lib-es/modules/toast-manager/type.js +329 -0
  1155. package/lib-es/modules/video-window/components/deviceState/index.js +68 -0
  1156. package/lib-es/modules/video-window/components/members/index.css +51 -0
  1157. package/lib-es/modules/video-window/components/members/index.js +116 -0
  1158. package/lib-es/modules/video-window/components/speaking/index.css +86 -0
  1159. package/lib-es/modules/video-window/components/speaking/index.js +40 -0
  1160. package/lib-es/modules/video-window/components/topControl/index.css +35 -0
  1161. package/lib-es/modules/video-window/components/topControl/index.js +68 -0
  1162. package/lib-es/modules/video-window/index.css +21 -0
  1163. package/lib-es/modules/video-window/index.js +82 -0
  1164. package/lib-es/modules/video-window/popover-watcher.js +69 -0
  1165. package/lib-es/modules/video-window/store.js +490 -0
  1166. package/lib-es/modules/video-window/type.js +19 -0
  1167. package/lib-es/modules/video-window/view.js +107 -0
  1168. package/lib-es/modules/waiting-room-layout/index.css +96 -0
  1169. package/lib-es/modules/waiting-room-layout/index.js +67 -0
  1170. package/lib-es/modules/waiting-room-layout/store.js +231 -0
  1171. package/lib-es/modules/waiting-room-layout/view.js +87 -0
  1172. package/lib-es/modules/whiteboard/components/control-bar/index.css +52 -0
  1173. package/lib-es/modules/whiteboard/components/control-bar/index.js +151 -0
  1174. package/lib-es/modules/whiteboard/components/control-bar/store.js +292 -0
  1175. package/lib-es/modules/whiteboard/components/loading/index.css +76 -0
  1176. package/lib-es/modules/whiteboard/components/loading/index.js +57 -0
  1177. package/lib-es/modules/whiteboard/components/loading/loading.png +0 -0
  1178. package/lib-es/modules/whiteboard/components/pagination/index.css +228 -0
  1179. package/lib-es/modules/whiteboard/components/pagination/index.js +155 -0
  1180. package/lib-es/modules/whiteboard/components/pagination/store.js +10 -0
  1181. package/lib-es/modules/whiteboard/components/progress/index.js +36 -0
  1182. package/lib-es/modules/whiteboard/components/progress/style.css +51 -0
  1183. package/lib-es/modules/whiteboard/components/scene-pagination.js +23 -0
  1184. package/lib-es/modules/whiteboard/components/switch-theme/index.css +99 -0
  1185. package/lib-es/modules/whiteboard/components/switch-theme/index.js +89 -0
  1186. package/lib-es/modules/whiteboard/components/switch-theme/item.js +46 -0
  1187. package/lib-es/modules/whiteboard/components/switch-theme/libs.js +24 -0
  1188. package/lib-es/modules/whiteboard/components/toolbar/components/color-picker/components/color.js +30 -0
  1189. package/lib-es/modules/whiteboard/components/toolbar/components/color-picker/components/panel.js +101 -0
  1190. package/lib-es/modules/whiteboard/components/toolbar/components/color-picker/components/picker.js +67 -0
  1191. package/lib-es/modules/whiteboard/components/toolbar/components/color-picker/index.js +40 -0
  1192. package/lib-es/modules/whiteboard/components/toolbar/components/eraser-picker.js +136 -0
  1193. package/lib-es/modules/whiteboard/components/toolbar/components/expansion/index.js +85 -0
  1194. package/lib-es/modules/whiteboard/components/toolbar/components/extra-tool-picker.js +46 -0
  1195. package/lib-es/modules/whiteboard/components/toolbar/components/history.js +70 -0
  1196. package/lib-es/modules/whiteboard/components/toolbar/components/icons/fold-icon.js +33 -0
  1197. package/lib-es/modules/whiteboard/components/toolbar/components/icons/move-icon.js +59 -0
  1198. package/lib-es/modules/whiteboard/components/toolbar/components/item/index.js +35 -0
  1199. package/lib-es/modules/whiteboard/components/toolbar/components/move-handle.js +127 -0
  1200. package/lib-es/modules/whiteboard/components/toolbar/components/pen-picker.js +147 -0
  1201. package/lib-es/modules/whiteboard/components/toolbar/components/screen-capture-picker.js +78 -0
  1202. package/lib-es/modules/whiteboard/components/toolbar/components/shape-picker.js +202 -0
  1203. package/lib-es/modules/whiteboard/components/toolbar/hooks/index.js +285 -0
  1204. package/lib-es/modules/whiteboard/components/toolbar/index.js +72 -0
  1205. package/lib-es/modules/whiteboard/components/toolbar/store.js +495 -0
  1206. package/lib-es/modules/whiteboard/components/toolbar/style.css +591 -0
  1207. package/lib-es/modules/whiteboard/context.js +28 -0
  1208. package/lib-es/modules/whiteboard/index.js +67 -0
  1209. package/lib-es/modules/whiteboard/libs/theme.js +24 -0
  1210. package/lib-es/modules/whiteboard/store.browser.js +20 -0
  1211. package/lib-es/modules/whiteboard/store.electron.js +163 -0
  1212. package/lib-es/modules/whiteboard/store.js +458 -0
  1213. package/lib-es/modules/whiteboard/style.css +140 -0
  1214. package/lib-es/modules/whiteboard/type.js +52 -0
  1215. package/lib-es/modules/whiteboard/utils.js +29 -0
  1216. package/lib-es/modules/whiteboard/view.js +104 -0
  1217. package/lib-es/modules/widget/index.css +9 -0
  1218. package/lib-es/modules/widget/index.js +129 -0
  1219. package/lib-es/modules/widget/store.base.js +35 -0
  1220. package/lib-es/modules/widget/store.browser.js +74 -0
  1221. package/lib-es/modules/widget/store.electron.js +92 -0
  1222. package/lib-es/modules/widget/type.js +1 -0
  1223. package/lib-es/modules/widget/view.js +49 -0
  1224. package/lib-es/modules/widget/web-widget.js +263 -0
  1225. package/lib-es/object-manager.js +196 -0
  1226. package/lib-es/plugins/browser-runtime-plugin.js +0 -0
  1227. package/lib-es/plugins/css-preset-plugin.js +18 -0
  1228. package/lib-es/plugins/electron-rtc-plugin.js +3 -0
  1229. package/lib-es/plugins/module-dev-plugin.js +162 -0
  1230. package/lib-es/plugins/multi-lang-plugin.js +18 -0
  1231. package/lib-es/plugins/rtm-plugin.js +3 -0
  1232. package/lib-es/plugins/web-rtc-plugin.js +3 -0
  1233. package/lib-es/providers/ability-provider.js +104 -0
  1234. package/lib-es/providers/annotation/provider.base.js +263 -0
  1235. package/lib-es/providers/annotation/provider.browser.js +17 -0
  1236. package/lib-es/providers/annotation/provider.electron.js +224 -0
  1237. package/lib-es/providers/annotation/standalone-toolbar-control/index.js +220 -0
  1238. package/lib-es/providers/annotation/toolbar-control/index.js +198 -0
  1239. package/lib-es/providers/annotation/type.js +1 -0
  1240. package/lib-es/providers/app-list-provider.js +398 -0
  1241. package/lib-es/providers/board-share/bar-control/base.js +289 -0
  1242. package/lib-es/providers/board-share/bar-control/browser.js +108 -0
  1243. package/lib-es/providers/board-share/bar-control/electron.js +235 -0
  1244. package/lib-es/providers/board-share/provider.base.js +465 -0
  1245. package/lib-es/providers/board-share/provider.browser.js +147 -0
  1246. package/lib-es/providers/board-share/provider.electron.js +162 -0
  1247. package/lib-es/providers/board-share/struct.js +16 -0
  1248. package/lib-es/providers/board-share/type.js +1 -0
  1249. package/lib-es/providers/chat-provider.js +166 -0
  1250. package/lib-es/providers/device-privilege-provider.js +425 -0
  1251. package/lib-es/providers/device-provider.js +2399 -0
  1252. package/lib-es/providers/device-stream-provider.js +344 -0
  1253. package/lib-es/providers/dialog/provider.base.js +282 -0
  1254. package/lib-es/providers/dialog/provider.browser.js +160 -0
  1255. package/lib-es/providers/dialog/provider.electron.js +278 -0
  1256. package/lib-es/providers/dialog/type.js +8 -0
  1257. package/lib-es/providers/event-provider.js +50 -0
  1258. package/lib-es/providers/facility/provider.base.js +152 -0
  1259. package/lib-es/providers/facility/provider.browser.js +67 -0
  1260. package/lib-es/providers/facility/provider.electron.js +83 -0
  1261. package/lib-es/providers/facility/struct.js +6 -0
  1262. package/lib-es/providers/facility/type.js +1 -0
  1263. package/lib-es/providers/interpreter-provider.js +955 -0
  1264. package/lib-es/providers/local-storage-provider.js +37 -0
  1265. package/lib-es/providers/message/provider.js +109 -0
  1266. package/lib-es/providers/message/struct.js +5 -0
  1267. package/lib-es/providers/message/type.js +1 -0
  1268. package/lib-es/providers/monitor-provider.js +22 -0
  1269. package/lib-es/providers/mouse-detect/provider.js +312 -0
  1270. package/lib-es/providers/mouse-detect/struct.js +6 -0
  1271. package/lib-es/providers/mouse-detect/type.js +1 -0
  1272. package/lib-es/providers/multi-display-provider.js +616 -0
  1273. package/lib-es/providers/phone-audio-provider.js +519 -0
  1274. package/lib-es/providers/privilege-provider.js +1158 -0
  1275. package/lib-es/providers/renderer-provider.js +310 -0
  1276. package/lib-es/providers/room-provider/room-provider.js +624 -0
  1277. package/lib-es/providers/room-provider/waiting-room-control-manager.js +224 -0
  1278. package/lib-es/providers/screen-share/constant.js +1 -0
  1279. package/lib-es/providers/screen-share/provider.base.js +516 -0
  1280. package/lib-es/providers/screen-share/provider.browser.js +294 -0
  1281. package/lib-es/providers/screen-share/provider.electron.js +496 -0
  1282. package/lib-es/providers/screen-share/strategy/browser.js +306 -0
  1283. package/lib-es/providers/screen-share/strategy/electron.js +379 -0
  1284. package/lib-es/providers/screen-share/strategy/type.js +31 -0
  1285. package/lib-es/providers/screen-share/stream-state-sync.js +312 -0
  1286. package/lib-es/providers/screen-share/struct.js +60 -0
  1287. package/lib-es/providers/screen-share/type.js +1 -0
  1288. package/lib-es/providers/session-provider.js +42 -0
  1289. package/lib-es/providers/setting-storage/provider.base.js +6 -0
  1290. package/lib-es/providers/setting-storage/provider.browser.js +57 -0
  1291. package/lib-es/providers/setting-storage/provider.electron.js +55 -0
  1292. package/lib-es/providers/setting-storage/type.js +1 -0
  1293. package/lib-es/providers/stt-provider/stt-provider.js +963 -0
  1294. package/lib-es/providers/stt-provider/type.js +16 -0
  1295. package/lib-es/providers/user-audio-volume-provider.js +312 -0
  1296. package/lib-es/providers/widget-provider.js +236 -0
  1297. package/lib-es/providers/window/main-window.js +259 -0
  1298. package/lib-es/providers/window/provider.js +168 -0
  1299. package/lib-es/providers/window/renderer-window.js +661 -0
  1300. package/lib-es/providers/window/type.js +1 -0
  1301. package/lib-es/runtime.js +1 -0
  1302. package/lib-es/scenes/main-scene.js +726 -0
  1303. package/lib-es/scenes/type.js +1 -0
  1304. package/lib-es/scenes/waiting-scene.js +155 -0
  1305. package/lib-es/schema.js +88 -0
  1306. package/lib-es/shared-context/board-context.js +7 -0
  1307. package/lib-es/shared-context/dialog-context.js +3 -0
  1308. package/lib-es/shared-context/video-track-render-context.js +2 -0
  1309. package/lib-es/shared-data/app-list-data.js +122 -0
  1310. package/lib-es/shared-data/chat-data.js +135 -0
  1311. package/lib-es/shared-data/config.js +38 -0
  1312. package/lib-es/shared-data/confirm-data.js +195 -0
  1313. package/lib-es/shared-data/device-privilege-data.js +18 -0
  1314. package/lib-es/shared-data/interpreter.js +235 -0
  1315. package/lib-es/shared-data/layout-data.js +211 -0
  1316. package/lib-es/shared-data/meeting-time.js +409 -0
  1317. package/lib-es/shared-data/member-data.js +456 -0
  1318. package/lib-es/shared-data/pin-data.js +104 -0
  1319. package/lib-es/shared-data/screen-share/index.js +188 -0
  1320. package/lib-es/shared-data/screen-share/type.js +1 -0
  1321. package/lib-es/shared-data/security-data.js +153 -0
  1322. package/lib-es/shared-data/setting.js +244 -0
  1323. package/lib-es/shared-data/speaker-spotlight.js +11 -0
  1324. package/lib-es/shared-data/stt-setting.ts/constant.js +27 -0
  1325. package/lib-es/shared-data/stt-setting.ts/index.js +195 -0
  1326. package/lib-es/shared-data/stt-setting.ts/type.js +7 -0
  1327. package/lib-es/shared-data/user-audio-volume.js +97 -0
  1328. package/lib-es/shared-data/video-window.js +1237 -0
  1329. package/lib-es/shared-data/waiting-room.js +216 -0
  1330. package/lib-es/shared-data/widget-data.js +42 -0
  1331. package/lib-es/translations/enUS.js +2085 -0
  1332. package/lib-es/translations/zhCN.js +2083 -0
  1333. package/lib-es/type.js +167 -0
  1334. package/lib-es/ui-manager.js +213 -0
  1335. package/lib-es/ui-scene-switch.js +683 -0
  1336. package/lib-es/utilities/browser-api.js +34 -0
  1337. package/lib-es/utilities/constant.js +189 -0
  1338. package/lib-es/utilities/debug.js +33 -0
  1339. package/lib-es/utilities/default-config.js +49 -0
  1340. package/lib-es/utilities/dialog-utils.js +210 -0
  1341. package/lib-es/utilities/focus-helper.js +26 -0
  1342. package/lib-es/utilities/i18n-common-data.js +7 -0
  1343. package/lib-es/utilities/logger.js +20 -0
  1344. package/lib-es/utilities/meeting-detail.js +74 -0
  1345. package/lib-es/utilities/package-info.js +6 -0
  1346. package/lib-es/utilities/parameters.js +47 -0
  1347. package/lib-es/utilities/privilege.js +21 -0
  1348. package/lib-es/utilities/renderer.js +436 -0
  1349. package/lib-es/utilities/shared-storage.js +60 -0
  1350. package/lib-es/utilities/tools.js +66 -0
  1351. package/lib-es/utilities/ui-resources.js +84 -0
  1352. package/lib-es/utilities/validate-params.js +7 -0
  1353. package/package.json +12 -11
  1354. package/public/js/meeting-manager.js +13 -11
  1355. package/lib/electron/window-proxy/browser-window-proxy.js +0 -728
  1356. package/lib/fragments/annotation/toolbar/store.d.ts +0 -64
  1357. package/lib/fragments/annotation/toolbar/view.js +0 -148
  1358. package/lib/fragments/annotation/utils.d.ts +0 -1
  1359. package/lib/fragments/annotation/utils.js +0 -27
  1360. package/lib/modules/dialog/components/dialog-container/component/body.d.ts +0 -20
  1361. package/lib/modules/dialog/components/dialog-container/component/body.js +0 -111
  1362. package/lib/modules/dialog/components/host-area-container/index.d.ts +0 -12
  1363. package/lib/modules/dialog/components/host-area-container/index.js +0 -153
  1364. package/lib/modules/dialog/dialogs/end-meeting/index.d.ts +0 -13
  1365. package/lib/modules/dialog/dialogs/interpreter/index.css +0 -30
  1366. package/lib/modules/dialog/dialogs/mute-all/index.css +0 -20
  1367. package/lib/modules/whiteboard/components/multi-window/index.css +0 -63
  1368. package/lib/modules/whiteboard/components/multi-window/index.d.ts +0 -5
  1369. package/lib/modules/whiteboard/components/multi-window/index.js +0 -39
  1370. package/lib/providers/annotation/provider.d.ts +0 -15
  1371. package/lib/providers/annotation/provider.js +0 -69
  1372. package/lib/utilities/hooks.d.ts +0 -14
  1373. package/lib/utilities/hooks.js +0 -100
  1374. package/lib/utilities/mute-action.d.ts +0 -4
  1375. package/lib/utilities/mute-action.js +0 -48
  1376. package/lib/utilities/platform.d.ts +0 -2
  1377. package/lib/utilities/platform.js +0 -14
  1378. package/lib/utilities/regex.d.ts +0 -1
  1379. package/lib/utilities/regex.js +0 -14
  1380. package/lib/utilities/useNamespace.d.ts +0 -15
  1381. package/lib/utilities/useNamespace.js +0 -66
  1382. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/color-tool/color-panel/index.d.ts +0 -0
  1383. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/color-tool/index.d.ts +0 -0
  1384. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/graphic-tool/graphic-panel/index.d.ts +0 -0
  1385. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/graphic-tool/graphic-panel/libs.d.ts +0 -0
  1386. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/graphic-tool/graphic-panel/libs.js +0 -0
  1387. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/graphic-tool/index.d.ts +0 -0
  1388. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/item/item.d.ts +0 -0
  1389. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/item/item.js +0 -0
  1390. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/panel/index.d.ts +0 -0
  1391. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/panel/index.js +0 -0
  1392. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/pen-tool/index.d.ts +0 -0
  1393. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/pen-tool/pen-panel/index.d.ts +0 -0
  1394. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/tips/index.d.ts +0 -0
  1395. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/tips/index.js +0 -0
  1396. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/view.d.ts +0 -0
  1397. /package/{lib/fragments/annotation/toolbar → lib-es/modules/annotation/standalone-toolbar}/components/item/style.css +0 -0
  1398. /package/{lib/fragments/annotation/toolbar → lib-es/modules/annotation/standalone-toolbar}/components/panel/style.css +0 -0
  1399. /package/{lib/fragments/annotation/toolbar → lib-es/modules/annotation/standalone-toolbar}/components/tips/style.css +0 -0
@@ -0,0 +1,1339 @@
1
+ import "core-js/modules/es.symbol.js";
2
+ import "core-js/modules/es.symbol.description.js";
3
+ import "core-js/modules/es.symbol.to-primitive.js";
4
+ import "core-js/modules/es.error.cause.js";
5
+ import "core-js/modules/es.error.to-string.js";
6
+ import "core-js/modules/es.array.is-array.js";
7
+ import "core-js/modules/es.date.to-primitive.js";
8
+ import "core-js/modules/es.function.name.js";
9
+ import "core-js/modules/es.map.js";
10
+ import "core-js/modules/es.number.constructor.js";
11
+ import "core-js/modules/es.object.create.js";
12
+ import "core-js/modules/es.object.define-property.js";
13
+ import "core-js/modules/es.object.get-own-property-descriptor.js";
14
+ import "core-js/modules/esnext.function.metadata.js";
15
+ import "core-js/modules/esnext.map.delete-all.js";
16
+ import "core-js/modules/esnext.map.emplace.js";
17
+ import "core-js/modules/esnext.map.every.js";
18
+ import "core-js/modules/esnext.map.filter.js";
19
+ import "core-js/modules/esnext.map.find.js";
20
+ import "core-js/modules/esnext.map.find-key.js";
21
+ import "core-js/modules/esnext.map.includes.js";
22
+ import "core-js/modules/esnext.map.key-of.js";
23
+ import "core-js/modules/esnext.map.map-keys.js";
24
+ import "core-js/modules/esnext.map.map-values.js";
25
+ import "core-js/modules/esnext.map.merge.js";
26
+ import "core-js/modules/esnext.map.reduce.js";
27
+ import "core-js/modules/esnext.map.some.js";
28
+ import "core-js/modules/esnext.map.update.js";
29
+ import "core-js/modules/esnext.symbol.metadata.js";
30
+ import _typeof from "@babel/runtime/helpers/typeof";
31
+ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
32
+ import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
33
+ import _createClass from "@babel/runtime/helpers/createClass";
34
+ import _defineProperty from "@babel/runtime/helpers/defineProperty";
35
+ var _LayoutStoreBase;
36
+ var _initProto, _participantDecs, _init_participant, _chatDecs, _init_chat, _chatActionDecs, _init_chatAction, _stateBarDecs, _init_stateBar, _actionBarDecs, _init_actionBar, _layersDecs, _init_layers, _whiteboardDecs, _init_whiteboard, _annotationDecs, _init_annotation, _screenShareControlDecs, _init_screenShareControl, _subtitlesDecs, _init_subtitles, _subtitlesHistoryDecs, _init_subtitlesHistory, _subtitlesHistorySettingsDecs, _init_subtitlesHistorySettings, _init_collapsed, _init_aside, _init_barHovering, _init_barLocked, _init_barHidden, _init_asideWidth, _init_chatRoomState, _init_whiteboardActive, _init_ownerUser, _addPinMessageDecs, _cancelPinMessageDecs, _setWhiteboardActiveDecs, _setAsideWidthDecs, _updateSlotsDecs, _toggleLayoutDecs, _toggleCollapsedDecs, _toggleAsideDecs, _asideWidthChangedDecs, _toggleLayoutBarLockDecs, _toggleLayoutBarHiddenDecs, _resetLockTimerDecs, _setHoveringHandlerDecs, _setHoveringLeaveHandlerDecs, _setScreenShareSpeakerViewSizeDecs, _handleLiveLayoutChangeDecs, _onUserInfoUpdatedDecs, _handleLayoutUpdatedDecs, _init__handleLayoutUpdated, _handleMainListLengthChangedDecs, _handleMainListChangedDecs, _setBarHoveringDecs, _handleConnectionUpdatedDecs, _findVideoWindowByUserIdDecs, _onRemoteUsersLeftDecs, _ref;
37
+ import "core-js/modules/es.array.every.js";
38
+ import "core-js/modules/es.array.filter.js";
39
+ import "core-js/modules/es.array.find.js";
40
+ import "core-js/modules/es.array.for-each.js";
41
+ import "core-js/modules/es.array.iterator.js";
42
+ import "core-js/modules/es.array.push.js";
43
+ import "core-js/modules/es.array.slice.js";
44
+ import "core-js/modules/es.array.some.js";
45
+ import "core-js/modules/es.function.bind.js";
46
+ import "core-js/modules/es.object.to-string.js";
47
+ import "core-js/modules/es.object.values.js";
48
+ import "core-js/modules/es.string.iterator.js";
49
+ import "core-js/modules/es.weak-map.js";
50
+ import "core-js/modules/esnext.iterator.constructor.js";
51
+ import "core-js/modules/esnext.iterator.every.js";
52
+ import "core-js/modules/esnext.iterator.filter.js";
53
+ import "core-js/modules/esnext.iterator.find.js";
54
+ import "core-js/modules/esnext.iterator.for-each.js";
55
+ import "core-js/modules/esnext.iterator.some.js";
56
+ import "core-js/modules/esnext.weak-map.delete-all.js";
57
+ import "core-js/modules/esnext.weak-map.emplace.js";
58
+ import "core-js/modules/web.dom-collections.for-each.js";
59
+ import "core-js/modules/web.dom-collections.iterator.js";
60
+ import "core-js/modules/web.timers.js";
61
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
62
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
63
+ function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
64
+ function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
65
+ function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
66
+ function _applyDecs(e, t, r, n, o, a) { function i(e, t, r) { return function (n, o) { return r && r(n), e[t].call(n, o); }; } function c(e, t) { for (var r = 0; r < e.length; r++) e[r].call(t); return t; } function s(e, t, r, n) { if ("function" != typeof e && (n || void 0 !== e)) throw new TypeError(t + " must " + (r || "be") + " a function" + (n ? "" : " or undefined")); return e; } function applyDec(e, t, r, n, o, a, c, u, l, f, p, d, h) { function m(e) { if (!h(e)) throw new TypeError("Attempted to access private element on non-instance"); } var y, v = t[0], g = t[3], b = !u; if (!b) { r || Array.isArray(v) || (v = [v]); var w = {}, S = [], A = 3 === o ? "get" : 4 === o || d ? "set" : "value"; f ? (p || d ? w = { get: _setFunctionName(function () { return g(this); }, n, "get"), set: function set(e) { t[4](this, e); } } : w[A] = g, p || _setFunctionName(w[A], n, 2 === o ? "" : A)) : p || (w = Object.getOwnPropertyDescriptor(e, n)); } for (var P = e, j = v.length - 1; j >= 0; j -= r ? 2 : 1) { var D = v[j], E = r ? v[j - 1] : void 0, I = {}, O = { kind: ["field", "accessor", "method", "getter", "setter", "class"][o], name: n, metadata: a, addInitializer: function (e, t) { if (e.v) throw Error("attempted to call addInitializer after decoration was finished"); s(t, "An initializer", "be", !0), c.push(t); }.bind(null, I) }; try { if (b) (y = s(D.call(E, P, O), "class decorators", "return")) && (P = y);else { var k, F; O["static"] = l, O["private"] = f, f ? 2 === o ? k = function k(e) { return m(e), w.value; } : (o < 4 && (k = i(w, "get", m)), 3 !== o && (F = i(w, "set", m))) : (k = function k(e) { return e[n]; }, (o < 2 || 4 === o) && (F = function F(e, t) { e[n] = t; })); var N = O.access = { has: f ? h.bind() : function (e) { return n in e; } }; if (k && (N.get = k), F && (N.set = F), P = D.call(E, d ? { get: w.get, set: w.set } : w[A], O), d) { if ("object" == _typeof(P) && P) (y = s(P.get, "accessor.get")) && (w.get = y), (y = s(P.set, "accessor.set")) && (w.set = y), (y = s(P.init, "accessor.init")) && S.push(y);else if (void 0 !== P) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0"); } else s(P, (p ? "field" : "method") + " decorators", "return") && (p ? S.push(P) : w[A] = P); } } finally { I.v = !0; } } return (p || d) && u.push(function (e, t) { for (var r = S.length - 1; r >= 0; r--) t = S[r].call(e, t); return t; }), p || b || (f ? d ? u.push(i(w, "get"), i(w, "set")) : u.push(2 === o ? w[A] : i.call.bind(w[A])) : Object.defineProperty(e, n, w)), P; } function u(e, t) { return Object.defineProperty(e, Symbol.metadata || Symbol["for"]("Symbol.metadata"), { configurable: !0, enumerable: !0, value: t }); } if (arguments.length >= 6) var l = a[Symbol.metadata || Symbol["for"]("Symbol.metadata")]; var f = Object.create(null == l ? null : l), p = function (e, t, r, n) { var o, a, i = [], s = function s(t) { return _checkInRHS(t) === e; }, u = new Map(); function l(e) { e && i.push(c.bind(null, e)); } for (var f = 0; f < t.length; f++) { var p = t[f]; if (Array.isArray(p)) { var d = p[1], h = p[2], m = p.length > 3, y = 16 & d, v = !!(8 & d), g = 0 == (d &= 7), b = h + "/" + v; if (!g && !m) { var w = u.get(b); if (!0 === w || 3 === w && 4 !== d || 4 === w && 3 !== d) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + h); u.set(b, !(d > 2) || d); } applyDec(v ? e : e.prototype, p, y, m ? "#" + h : _toPropertyKey(h), d, n, v ? a = a || [] : o = o || [], i, v, m, g, 1 === d, v && m ? s : r); } } return l(o), l(a), i; }(e, t, o, f); return r.length || u(e, f), { e: p, get c() { var t = []; return r.length && [u(applyDec(e, [r], n, e.name, 5, f, t), f), c.bind(null, t, e)]; } }; }
67
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
68
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
69
+ function _setFunctionName(e, t, n) { "symbol" == _typeof(t) && (t = (t = t.description) ? "[" + t + "]" : ""); try { Object.defineProperty(e, "name", { configurable: !0, value: n ? n + " " + t : t }); } catch (e) {} return e; }
70
+ function _checkInRHS(e) { if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (null !== e ? _typeof(e) : "null")); return e; }
71
+ import { action, computed, observable, reaction } from 'mobx';
72
+ import { FcrVideoSourceType } from 'fcr-core';
73
+ import { FcrUserRole, FcrLiveStreamingState, FcrLiveStreamingLayoutType } from 'fcr-core/lib/type';
74
+ import { bound, debounced } from 'agora-foundation/lib/decorator';
75
+ import { FcrUIVideoWindowLayoutType, FcrUIWindowType } from './type';
76
+ import { WhiteboardBaseEvents, WhiteboardControlbarEvents } from '../whiteboard/type';
77
+ import { FcrChatRoomConnectionState } from 'fcr-core/lib/room-control/chatroom-control/type';
78
+ import { ParticipantActionType } from 'agora-ui-foundation/lib/components/participants/attendee';
79
+ import { FcrLiveStreamingStateUpdatedReason } from 'fcr-core/lib/room-control/type';
80
+ import { createContext } from 'react';
81
+ import { computedFn } from 'mobx-utils';
82
+ import { FcrUIAction, FcrUIDialogKey } from '../../utilities/constant';
83
+ import { FcrUIRoomType } from '../../type';
84
+ import { MinAsideWidth } from './view';
85
+ import { createLogger } from '../../utilities/logger';
86
+ import { isElectron } from 'agora-foundation/lib/utilities/env';
87
+ import { FcrUIObjectKeys } from '../../object-manager';
88
+ import { FcrUIDisplayDistributionContentType } from '../secondary-window/type';
89
+ import { FcrUIToastKey } from '../../modules/toast-manager/type';
90
+ var _A = /*#__PURE__*/new WeakMap();
91
+ var _B = /*#__PURE__*/new WeakMap();
92
+ var _C = /*#__PURE__*/new WeakMap();
93
+ var _D = /*#__PURE__*/new WeakMap();
94
+ var _E = /*#__PURE__*/new WeakMap();
95
+ var _F = /*#__PURE__*/new WeakMap();
96
+ var _G = /*#__PURE__*/new WeakMap();
97
+ var _H = /*#__PURE__*/new WeakMap();
98
+ var _I = /*#__PURE__*/new WeakMap();
99
+ var _J = /*#__PURE__*/new WeakMap();
100
+ var _K = /*#__PURE__*/new WeakMap();
101
+ var _L = /*#__PURE__*/new WeakMap();
102
+ var _M = /*#__PURE__*/new WeakMap();
103
+ var _N = /*#__PURE__*/new WeakMap();
104
+ var _O = /*#__PURE__*/new WeakMap();
105
+ var _P = /*#__PURE__*/new WeakMap();
106
+ var _Q = /*#__PURE__*/new WeakMap();
107
+ var _R = /*#__PURE__*/new WeakMap();
108
+ var _S = /*#__PURE__*/new WeakMap();
109
+ var _T = /*#__PURE__*/new WeakMap();
110
+ var _U = /*#__PURE__*/new WeakMap();
111
+ _ref = (_participantDecs = [observable, observable.ref], _chatDecs = [observable, observable.ref], _chatActionDecs = [observable, observable.ref], _stateBarDecs = [observable, observable.ref], _actionBarDecs = [observable, observable.ref], _layersDecs = [observable, observable.ref], _whiteboardDecs = [observable, observable.ref], _annotationDecs = [observable, observable.ref], _screenShareControlDecs = [observable, observable.ref], _subtitlesDecs = [observable, observable.ref], _subtitlesHistoryDecs = [observable, observable.ref], _subtitlesHistorySettingsDecs = [observable, observable.ref], _addPinMessageDecs = [action, action.bound], _cancelPinMessageDecs = [action, action.bound], _setWhiteboardActiveDecs = [action, action.bound], _setAsideWidthDecs = [action, action.bound], _updateSlotsDecs = [action, action.bound], _toggleLayoutDecs = [action, action.bound], _toggleCollapsedDecs = [action, action.bound], _toggleAsideDecs = [action, action.bound], _asideWidthChangedDecs = [action, action.bound], _toggleLayoutBarLockDecs = [action, action.bound], _toggleLayoutBarHiddenDecs = [action, action.bound], _resetLockTimerDecs = [action, action.bound], _setHoveringHandlerDecs = [action, action.bound], _setHoveringLeaveHandlerDecs = [action, action.bound], _setScreenShareSpeakerViewSizeDecs = [debounced(400), bound], _handleLiveLayoutChangeDecs = [action, action.bound], _onUserInfoUpdatedDecs = [action, action.bound], _handleLayoutUpdatedDecs = [action, action.bound], _handleMainListLengthChangedDecs = [action, action.bound], _handleMainListChangedDecs = [action, action.bound], _setBarHoveringDecs = [action, action.bound], _handleConnectionUpdatedDecs = [action, action.bound], _findVideoWindowByUserIdDecs = [action, action.bound], _onRemoteUsersLeftDecs = [action, action.bound], "logger");
112
+ export var LayoutStoreBase = /*#__PURE__*/function () {
113
+ function LayoutStoreBase(_ref2) {
114
+ var _this = this;
115
+ var objectManager = _ref2.objectManager;
116
+ _classCallCheck(this, LayoutStoreBase);
117
+ _defineProperty(this, _ref, (_initProto(this), createLogger({
118
+ prefix: 'LayoutStore'
119
+ })));
120
+ _defineProperty(this, "_localView", null);
121
+ _defineProperty(this, "_disposers", []);
122
+ _defineProperty(this, "_barLockTimer", 0);
123
+ _defineProperty(this, "_liveStreamState", FcrLiveStreamingState.STOPPED);
124
+ // Slots
125
+ _classPrivateFieldInitSpec(this, _A, _init_participant(this, null));
126
+ _classPrivateFieldInitSpec(this, _B, _init_chat(this, null));
127
+ _classPrivateFieldInitSpec(this, _C, _init_chatAction(this, null));
128
+ _classPrivateFieldInitSpec(this, _D, _init_stateBar(this, null));
129
+ _classPrivateFieldInitSpec(this, _E, _init_actionBar(this, null));
130
+ _classPrivateFieldInitSpec(this, _F, _init_layers(this, null));
131
+ _classPrivateFieldInitSpec(this, _G, _init_whiteboard(this, null));
132
+ _classPrivateFieldInitSpec(this, _H, _init_annotation(this, null));
133
+ _classPrivateFieldInitSpec(this, _I, _init_screenShareControl(this, null));
134
+ _classPrivateFieldInitSpec(this, _J, _init_subtitles(this, null));
135
+ _classPrivateFieldInitSpec(this, _K, _init_subtitlesHistory(this, null));
136
+ _classPrivateFieldInitSpec(this, _L, _init_subtitlesHistorySettings(this, null));
137
+ // State
138
+ _classPrivateFieldInitSpec(this, _M, _init_collapsed(this, true));
139
+ _classPrivateFieldInitSpec(this, _N, _init_aside(this, false));
140
+ _classPrivateFieldInitSpec(this, _O, _init_barHovering(this, true));
141
+ _classPrivateFieldInitSpec(this, _P, _init_barLocked(this, true));
142
+ _classPrivateFieldInitSpec(this, _Q, _init_barHidden(this, false));
143
+ _classPrivateFieldInitSpec(this, _R, _init_asideWidth(this, MinAsideWidth));
144
+ _classPrivateFieldInitSpec(this, _S, _init_chatRoomState(this, FcrChatRoomConnectionState.Disconnected));
145
+ _classPrivateFieldInitSpec(this, _T, _init_whiteboardActive(this, false));
146
+ _classPrivateFieldInitSpec(this, _U, _init_ownerUser(this, undefined));
147
+ _defineProperty(this, "getAllowedOperations", computedFn(function (targetRole, isSelf) {
148
+ return _this._privilegeProvider.getAllowedOperations(targetRole, isSelf);
149
+ }));
150
+ _defineProperty(this, "_handleLayoutUpdated", _init__handleLayoutUpdated(this, function (layout) {
151
+ if (layout === FcrUIVideoWindowLayoutType.Speaker) {
152
+ _this._switchToSpeaker();
153
+ } else if (layout === FcrUIVideoWindowLayoutType.Gallery) {
154
+ _this._switchToGallery();
155
+ }
156
+ }));
157
+ // Get all required objects from objectManager
158
+ var roomProvider = objectManager.getObject(FcrUIObjectKeys.P_ROOM_PROVIDER);
159
+ this._dialogProvider = objectManager.getObject(FcrUIObjectKeys.P_DIALOG_PROVIDER);
160
+ this._messageProvider = objectManager.getObject(FcrUIObjectKeys.P_MESSAGE_PROVIDER);
161
+ this._roomControl = roomProvider.currentRoomControl;
162
+ this._userControl = this._roomControl.getUserControl();
163
+ this._streamControl = this._roomControl.getStreamControl();
164
+ this._chatRoomControl = this._roomControl.getChatRoomControl();
165
+ this._whiteBoardControl = this._roomControl.getSharingControl().getBoardControl();
166
+ this._sharedLayoutDataSource = objectManager.getObject(FcrUIObjectKeys.S_SHARED_LAYOUT_DATA_SOURCE);
167
+ this._eventProvider = objectManager.getObject(FcrUIObjectKeys.P_EVENT_PROVIDER);
168
+ this._deviceProvider = objectManager.getObject(FcrUIObjectKeys.P_DEVICE_PROVIDER);
169
+ this._privilegeProvider = objectManager.getObject(FcrUIObjectKeys.P_PRIVILEGE_PROVIDER);
170
+ this._sharedSettingDataSource = objectManager.getObject(FcrUIObjectKeys.S_SHARED_SETTING_DATA_SOURCE);
171
+ this._sharedInterpreterDataSource = objectManager.getObject(FcrUIObjectKeys.S_SHARED_INTERPRETER_DATA_SOURCE);
172
+ this._chatProvider = objectManager.getObject(FcrUIObjectKeys.P_CHAT_PROVIDER);
173
+ this._sharedUserAudioVolumeDataSource = objectManager.getObject(FcrUIObjectKeys.S_SHARED_USER_AUDIO_VOLUME_DATA_SOURCE);
174
+ this._videoWindowDataSource = objectManager.getObject(FcrUIObjectKeys.S_SHARED_VIDEO_WINDOW_DATA_SOURCE);
175
+ this._sharedMemberDataSource = objectManager.getObject(FcrUIObjectKeys.S_SHARED_MEMBER_DATA_SOURCE);
176
+ this._pinDataSource = objectManager.getObject(FcrUIObjectKeys.S_SHARED_PIN_DATA_SOURCE);
177
+ this._sharedScreenShareDataSource = objectManager.getObject(FcrUIObjectKeys.S_SHARED_SCREEN_SHARE_DATA_SOURCE);
178
+ this._annotationProvider = objectManager.getObject(FcrUIObjectKeys.P_ANNOTATION_PROVIDER);
179
+ this.chatRoomState = this._chatRoomControl.getConnectionState();
180
+ }
181
+ return _createClass(LayoutStoreBase, [{
182
+ key: "participant",
183
+ get: function get() {
184
+ return _classPrivateFieldGet(_A, this);
185
+ },
186
+ set: function set(v) {
187
+ _classPrivateFieldSet(_A, this, v);
188
+ }
189
+ }, {
190
+ key: "chat",
191
+ get: function get() {
192
+ return _classPrivateFieldGet(_B, this);
193
+ },
194
+ set: function set(v) {
195
+ _classPrivateFieldSet(_B, this, v);
196
+ }
197
+ }, {
198
+ key: "chatAction",
199
+ get: function get() {
200
+ return _classPrivateFieldGet(_C, this);
201
+ },
202
+ set: function set(v) {
203
+ _classPrivateFieldSet(_C, this, v);
204
+ }
205
+ }, {
206
+ key: "stateBar",
207
+ get: function get() {
208
+ return _classPrivateFieldGet(_D, this);
209
+ },
210
+ set: function set(v) {
211
+ _classPrivateFieldSet(_D, this, v);
212
+ }
213
+ }, {
214
+ key: "actionBar",
215
+ get: function get() {
216
+ return _classPrivateFieldGet(_E, this);
217
+ },
218
+ set: function set(v) {
219
+ _classPrivateFieldSet(_E, this, v);
220
+ }
221
+ }, {
222
+ key: "layers",
223
+ get: function get() {
224
+ return _classPrivateFieldGet(_F, this);
225
+ },
226
+ set: function set(v) {
227
+ _classPrivateFieldSet(_F, this, v);
228
+ }
229
+ }, {
230
+ key: "whiteboard",
231
+ get: function get() {
232
+ return _classPrivateFieldGet(_G, this);
233
+ },
234
+ set: function set(v) {
235
+ _classPrivateFieldSet(_G, this, v);
236
+ }
237
+ }, {
238
+ key: "annotation",
239
+ get: function get() {
240
+ return _classPrivateFieldGet(_H, this);
241
+ },
242
+ set: function set(v) {
243
+ _classPrivateFieldSet(_H, this, v);
244
+ }
245
+ }, {
246
+ key: "screenShareControl",
247
+ get: function get() {
248
+ return _classPrivateFieldGet(_I, this);
249
+ },
250
+ set: function set(v) {
251
+ _classPrivateFieldSet(_I, this, v);
252
+ }
253
+ }, {
254
+ key: "subtitles",
255
+ get: function get() {
256
+ return _classPrivateFieldGet(_J, this);
257
+ },
258
+ set: function set(v) {
259
+ _classPrivateFieldSet(_J, this, v);
260
+ }
261
+ }, {
262
+ key: "subtitlesHistory",
263
+ get: function get() {
264
+ return _classPrivateFieldGet(_K, this);
265
+ },
266
+ set: function set(v) {
267
+ _classPrivateFieldSet(_K, this, v);
268
+ }
269
+ }, {
270
+ key: "subtitlesHistorySettings",
271
+ get: function get() {
272
+ return _classPrivateFieldGet(_L, this);
273
+ },
274
+ set: function set(v) {
275
+ _classPrivateFieldSet(_L, this, v);
276
+ }
277
+ }, {
278
+ key: "collapsed",
279
+ get: function get() {
280
+ return _classPrivateFieldGet(_M, this);
281
+ },
282
+ set: function set(v) {
283
+ _classPrivateFieldSet(_M, this, v);
284
+ }
285
+ }, {
286
+ key: "aside",
287
+ get: function get() {
288
+ return _classPrivateFieldGet(_N, this);
289
+ },
290
+ set: function set(v) {
291
+ _classPrivateFieldSet(_N, this, v);
292
+ }
293
+ }, {
294
+ key: "barHovering",
295
+ get: function get() {
296
+ return _classPrivateFieldGet(_O, this);
297
+ },
298
+ set: function set(v) {
299
+ _classPrivateFieldSet(_O, this, v);
300
+ }
301
+ }, {
302
+ key: "barLocked",
303
+ get: function get() {
304
+ return _classPrivateFieldGet(_P, this);
305
+ },
306
+ set: function set(v) {
307
+ _classPrivateFieldSet(_P, this, v);
308
+ }
309
+ }, {
310
+ key: "barHidden",
311
+ get: function get() {
312
+ return _classPrivateFieldGet(_Q, this);
313
+ },
314
+ set: function set(v) {
315
+ _classPrivateFieldSet(_Q, this, v);
316
+ }
317
+ }, {
318
+ key: "asideWidth",
319
+ get: function get() {
320
+ return _classPrivateFieldGet(_R, this);
321
+ },
322
+ set: function set(v) {
323
+ _classPrivateFieldSet(_R, this, v);
324
+ }
325
+ }, {
326
+ key: "chatRoomState",
327
+ get: function get() {
328
+ return _classPrivateFieldGet(_S, this);
329
+ },
330
+ set: function set(v) {
331
+ _classPrivateFieldSet(_S, this, v);
332
+ }
333
+ }, {
334
+ key: "whiteboardActive",
335
+ get: function get() {
336
+ return _classPrivateFieldGet(_T, this);
337
+ },
338
+ set: function set(v) {
339
+ _classPrivateFieldSet(_T, this, v);
340
+ }
341
+ }, {
342
+ key: "ownerUser",
343
+ get: function get() {
344
+ return _classPrivateFieldGet(_U, this);
345
+ },
346
+ set: function set(v) {
347
+ _classPrivateFieldSet(_U, this, v);
348
+ }
349
+ }, {
350
+ key: "streamControl",
351
+ get: function get() {
352
+ return this._streamControl;
353
+ }
354
+ }, {
355
+ key: "localUserRole",
356
+ get: function get() {
357
+ return this._sharedMemberDataSource.localUserRole;
358
+ }
359
+ }, {
360
+ key: "localUser",
361
+ get: function get() {
362
+ return this._sharedMemberDataSource.localUser;
363
+ }
364
+ }, {
365
+ key: "shouldHideNonVideoParticipants",
366
+ get: function get() {
367
+ return this._sharedSettingDataSource.setting.shouldHideNonVideoParticipants || false;
368
+ }
369
+ }, {
370
+ key: "shouldHideMyVideo",
371
+ get: function get() {
372
+ return this._sharedSettingDataSource.setting.shouldHideMyVideo || false;
373
+ }
374
+ }, {
375
+ key: "userVolumeMap",
376
+ get: function get() {
377
+ return this._sharedUserAudioVolumeDataSource.audioVolumeMap;
378
+ }
379
+ }, {
380
+ key: "isWaterMarkEnabled",
381
+ get: function get() {
382
+ return this._privilegeProvider.isWaterMarkEnabled();
383
+ }
384
+ }, {
385
+ key: "isMulti",
386
+ get: function get() {
387
+ return this._privilegeProvider.isMultiWaterMarkEnabled();
388
+ }
389
+ }, {
390
+ key: "layout",
391
+ get: function get() {
392
+ return this._videoWindowDataSource.layoutType;
393
+ }
394
+ }, {
395
+ key: "manualLayout",
396
+ get: function get() {
397
+ return this._videoWindowDataSource.manualLayout;
398
+ }
399
+ }, {
400
+ key: "scalcValue",
401
+ get: function get() {
402
+ return this._sharedScreenShareDataSource.screenShareScalcValue;
403
+ }
404
+ }, {
405
+ key: "sourceList",
406
+ get: function get() {
407
+ var mainList = this._videoWindowDataSource.mainList;
408
+ if (this.isMultiDisplayActive) {
409
+ switch (this.secondaryWindowContentType) {
410
+ case FcrUIDisplayDistributionContentType.LOCAL_CAMERA:
411
+ if (mainList.length === 1) {
412
+ return mainList;
413
+ } else {
414
+ return mainList.filter(function (item) {
415
+ return !item.isMySelf;
416
+ });
417
+ }
418
+ case FcrUIDisplayDistributionContentType.SHARING_SCREEN:
419
+ case FcrUIDisplayDistributionContentType.SHARING_SCREEN_WITH_ANNOTATION:
420
+ return mainList.filter(function (item) {
421
+ return item.videoSourceType !== FcrVideoSourceType.SCREEN;
422
+ });
423
+ case FcrUIDisplayDistributionContentType.SHARING_WHITEBOARD:
424
+ return mainList.filter(function (item) {
425
+ return item.type !== FcrUIWindowType.BOARD;
426
+ });
427
+ case FcrUIDisplayDistributionContentType.HIDDEN:
428
+ var sharingType = this.multiDisplaySharingType;
429
+
430
+ // 当自己进行屏幕共享时,会隐藏副窗口,主窗口中不需要显示屏幕共享流
431
+ if (sharingType === FcrUIDisplayDistributionContentType.SHARING_SCREEN || sharingType === FcrUIDisplayDistributionContentType.SHARING_SCREEN_WITH_ANNOTATION) {
432
+ return mainList.filter(function (item) {
433
+ return item.videoSourceType !== FcrVideoSourceType.SCREEN;
434
+ });
435
+ }
436
+ }
437
+ }
438
+ var isMyselfCurrentScreenSharing = this._videoWindowDataSource.mainList.some(function (i) {
439
+ return i.hasScreenSharing && i.isMySelf;
440
+ });
441
+ var isMyselfCurrentHasBoardSharing = this._videoWindowDataSource.mainList.some(function (i) {
442
+ return i.hasBoardSharing && i.isMySelf;
443
+ });
444
+ if (isMyselfCurrentScreenSharing && !isMyselfCurrentHasBoardSharing) {
445
+ return this._videoWindowDataSource.mainList.filter(function (i) {
446
+ return !(i.isMySelf && i.videoSourceType !== FcrVideoSourceType.SCREEN);
447
+ });
448
+ } else {
449
+ return this._videoWindowDataSource.mainList.filter(function (i) {
450
+ return !i.isMySelf || i.videoSourceType !== FcrVideoSourceType.SCREEN;
451
+ });
452
+ }
453
+ }
454
+ }, {
455
+ key: "layoutMainList",
456
+ get: function get() {
457
+ var _this2 = this;
458
+ var nonVideoStreamParticipantList = this.sourceList.filter(function (i) {
459
+ return _this2._isVideoParticipantVisible(i);
460
+ });
461
+ var list = this.shouldHideNonVideoParticipants ? nonVideoStreamParticipantList : this.sourceList;
462
+ var isOnlyOne = list.every(function (i) {
463
+ return i.isMySelf && i.type === FcrUIWindowType.VIDEO;
464
+ });
465
+ return list.filter(function (i) {
466
+ if (_this2.shouldHideMyVideo && !isOnlyOne && i.isMySelf && i.type === FcrUIWindowType.VIDEO) {
467
+ return false;
468
+ }
469
+ return true;
470
+ });
471
+ }
472
+ }, {
473
+ key: "mainList",
474
+ get: function get() {
475
+ return this.layoutMainList;
476
+ }
477
+ }, {
478
+ key: "spotlightStreamId",
479
+ get: function get() {
480
+ return this._videoWindowDataSource.spotlightStreamId;
481
+ }
482
+ }, {
483
+ key: "foldList",
484
+ get: function get() {
485
+ return this._videoWindowDataSource.foldList;
486
+ }
487
+ }, {
488
+ key: "currentShareData",
489
+ get: function get() {
490
+ return this.mainList.find(function (item) {
491
+ return item.videoSourceType === FcrVideoSourceType.SCREEN || item.type === FcrUIWindowType.BOARD;
492
+ });
493
+ }
494
+ }, {
495
+ key: "galleryList",
496
+ get: function get() {
497
+ return this._videoWindowDataSource.layoutType === FcrUIVideoWindowLayoutType.Speaker ? this.mainList.slice(0, 1) : this.mainList;
498
+ }
499
+ }, {
500
+ key: "isMainWindow",
501
+ get: function get() {
502
+ return this.galleryList.length === 1;
503
+ }
504
+ }, {
505
+ key: "isMainWindowInScreenSharing",
506
+ get: function get() {
507
+ return this.galleryList.length === 1 && this.galleryList[0].videoSourceType === FcrVideoSourceType.SCREEN;
508
+ }
509
+ }, {
510
+ key: "isCurrentUserInBoardSharing",
511
+ get: function get() {
512
+ return this.mainList.some(function (i) {
513
+ return i.hasBoardSharing;
514
+ });
515
+ }
516
+ }, {
517
+ key: "asideLayout",
518
+ get: function get() {
519
+ var _this$_sharedLayoutDa;
520
+ return (_this$_sharedLayoutDa = this._sharedLayoutDataSource) === null || _this$_sharedLayoutDa === void 0 ? void 0 : _this$_sharedLayoutDa.asideLayout;
521
+ }
522
+ }, {
523
+ key: "carouselList",
524
+ get: function get() {
525
+ return this._videoWindowDataSource.layoutType === FcrUIVideoWindowLayoutType.Speaker ? this.mainList.slice(1) : this.mainList;
526
+ }
527
+ }, {
528
+ key: "hasPinnedStream",
529
+ get: function get() {
530
+ return this.mainList.some(function (u) {
531
+ return u.isPin;
532
+ });
533
+ }
534
+ }, {
535
+ key: "isRobot",
536
+ get: function get() {
537
+ return this.localUserRole === FcrUserRole.ROBOT;
538
+ }
539
+ }, {
540
+ key: "findSpotlightUser",
541
+ get: function get() {
542
+ var _this3 = this;
543
+ return this.spotlightStreamId ? this.mainList.find(function (item) {
544
+ return item.videoStreamId === _this3.spotlightStreamId || item.audioStreamId === _this3.spotlightStreamId;
545
+ }) : null;
546
+ }
547
+ }, {
548
+ key: "isWhoISpeakingActive",
549
+ get: function get() {
550
+ var _this$findSpotlightUs;
551
+ var spotlightUserName = (_this$findSpotlightUs = this.findSpotlightUser) === null || _this$findSpotlightUs === void 0 ? void 0 : _this$findSpotlightUs.userName;
552
+ var isSpeakerLayout = this.layout === FcrUIVideoWindowLayoutType.Speaker;
553
+ var speakerWindowData = this.galleryList[0];
554
+ var isSpeakerIsSharing = (speakerWindowData === null || speakerWindowData === void 0 ? void 0 : speakerWindowData.videoSourceType) === FcrVideoSourceType.SCREEN || (speakerWindowData === null || speakerWindowData === void 0 ? void 0 : speakerWindowData.type) === FcrUIWindowType.BOARD;
555
+ var active = spotlightUserName && isSpeakerLayout && this.collapsed && !isSpeakerIsSharing;
556
+ return active;
557
+ }
558
+ }, {
559
+ key: "microphoneEnabled",
560
+ get: function get() {
561
+ return this._deviceProvider.microphoneEnabled;
562
+ }
563
+ }, {
564
+ key: "cameraEnabled",
565
+ get: function get() {
566
+ return this._deviceProvider.cameraEnabled;
567
+ }
568
+ }, {
569
+ key: "allowChat",
570
+ get: function get() {
571
+ return this._privilegeProvider.isChatAllowed();
572
+ }
573
+ }, {
574
+ key: "allowUnmuteSelfAudio",
575
+ get: function get() {
576
+ return this._privilegeProvider.isUnmuteSelfAudioAllowed();
577
+ }
578
+ }, {
579
+ key: "allowUnmuteSelfVideo",
580
+ get: function get() {
581
+ return this._privilegeProvider.isUnmuteSelfVideoAllowed();
582
+ }
583
+ }, {
584
+ key: "isHostOrCoHost",
585
+ get: function get() {
586
+ return this._sharedMemberDataSource.isLocalUserHost;
587
+ }
588
+ }, {
589
+ key: "galleryMaxSize",
590
+ get: function get() {
591
+ var _this$_sharedLayoutDa2;
592
+ return (_this$_sharedLayoutDa2 = this._sharedLayoutDataSource) === null || _this$_sharedLayoutDa2 === void 0 ? void 0 : _this$_sharedLayoutDa2.layoutSize;
593
+ }
594
+ }, {
595
+ key: "allowedAllChat",
596
+ get: function get() {
597
+ return this._privilegeProvider.isAllChatAllowed();
598
+ }
599
+ }, {
600
+ key: "allowedPublicChatAndDisallowedPrivateChat",
601
+ get: function get() {
602
+ return this._privilegeProvider.isPublicChatAllowedAndPrivateChatDisallowed();
603
+ }
604
+ }, {
605
+ key: "disallowedPublicChatAndDisallowedPrivateChatToParticipant",
606
+ get: function get() {
607
+ return this._privilegeProvider.isPublicChatAndPrivateChatToParticipantDisallowed();
608
+ }
609
+ }, {
610
+ key: "disallowedAllChat",
611
+ get: function get() {
612
+ return this._privilegeProvider.isAllChatDisallowed();
613
+ }
614
+ }, {
615
+ key: "privilegeOperator",
616
+ get: function get() {
617
+ return this._privilegeProvider.getPrivilegeOperator();
618
+ }
619
+ }, {
620
+ key: "localUserId",
621
+ get: function get() {
622
+ return this._sharedMemberDataSource.localUser.userId;
623
+ }
624
+ }, {
625
+ key: "interpreterUserList",
626
+ get: function get() {
627
+ return this._sharedInterpreterDataSource.interpreterUserList;
628
+ }
629
+ }, {
630
+ key: "isInterpreterEnabled",
631
+ get: function get() {
632
+ return this._sharedInterpreterDataSource.isInterpreterEnabled;
633
+ }
634
+ }, {
635
+ key: "participantCount",
636
+ get: function get() {
637
+ return this._sharedMemberDataSource.totalUserCount;
638
+ }
639
+ }, {
640
+ key: "asideContent",
641
+ get: function get() {
642
+ return this._sharedLayoutDataSource.asideLayout;
643
+ }
644
+ }, {
645
+ key: "participantsRenderAt",
646
+ get: function get() {
647
+ return this._sharedLayoutDataSource.participantsRenderAt;
648
+ }
649
+ }, {
650
+ key: "chatRenderAt",
651
+ get: function get() {
652
+ return this._sharedLayoutDataSource.chatRenderAt;
653
+ }
654
+ }, {
655
+ key: "subtitlesHistoryRenderAt",
656
+ get: function get() {
657
+ return this._sharedLayoutDataSource.subtitlesHistoryRenderAt;
658
+ }
659
+ }, {
660
+ key: "controlbarEnabled",
661
+ get: function get() {
662
+ return this._annotationProvider.isToolbarControlEnabled;
663
+ }
664
+ }, {
665
+ key: "isAnnotationOpened",
666
+ get: function get() {
667
+ return this._annotationProvider.isAnnotationOpened;
668
+ }
669
+ }, {
670
+ key: "hasAnnotationWritePermission",
671
+ get: function get() {
672
+ return this._privilegeProvider.hasAnnotationWritePermission();
673
+ }
674
+ }, {
675
+ key: "getWaterMarkContent",
676
+ value: function getWaterMarkContent() {
677
+ return this._privilegeProvider.getWaterMarkContent();
678
+ }
679
+ }, {
680
+ key: "hasMutePermission",
681
+ value: function hasMutePermission(targetRole) {
682
+ return this._privilegeProvider.hasMutePermission(targetRole);
683
+ }
684
+ }, {
685
+ key: "hasUnmutePermission",
686
+ value: function hasUnmutePermission(targetRole) {
687
+ return this._privilegeProvider.hasUnmutePermission(targetRole);
688
+ }
689
+ }, {
690
+ key: "hasRequestStartAudioPermission",
691
+ value: function hasRequestStartAudioPermission(targetRole) {
692
+ return this._privilegeProvider.hasRequestStartAudioPermission(targetRole);
693
+ }
694
+ }, {
695
+ key: "toggleMainStream",
696
+ value: function toggleMainStream(streamId) {
697
+ var success = this._videoWindowDataSource.toggleMainStream(streamId);
698
+ if (success) {
699
+ if (this.layout === FcrUIVideoWindowLayoutType.Gallery) {
700
+ this.toggleLayout(FcrUIVideoWindowLayoutType.Speaker, true);
701
+ }
702
+ }
703
+ }
704
+ }, {
705
+ key: "addPinMessage",
706
+ value: function addPinMessage(streamId) {
707
+ this._pinDataSource.addPin(streamId);
708
+ }
709
+ }, {
710
+ key: "cancelPinMessage",
711
+ value: function cancelPinMessage(streamId) {
712
+ this._pinDataSource.removePin(streamId);
713
+ }
714
+ }, {
715
+ key: "addPin",
716
+ value: function addPin(streamId) {
717
+ this.addPinMessage(streamId);
718
+ }
719
+ }, {
720
+ key: "removePin",
721
+ value: function removePin(streamId) {
722
+ this.cancelPinMessage(streamId);
723
+ }
724
+ }, {
725
+ key: "setVideoOrientation",
726
+ value: function setVideoOrientation() {
727
+ this._deviceProvider.setVideoOrientation();
728
+ }
729
+ }, {
730
+ key: "setAllowChat",
731
+ value: function setAllowChat(allowChat) {
732
+ this._privilegeProvider.setAllowChat(allowChat);
733
+ }
734
+ }, {
735
+ key: "handleSetPinState",
736
+ value: function handleSetPinState(userId) {
737
+ var _user = this.mainList.find(function (u) {
738
+ return u.userId === userId;
739
+ });
740
+ if (!_user) return;
741
+ var streamId = _user.videoStreamId || _user.audioStreamId || '';
742
+ if (!streamId) return;
743
+ if (_user.isPin) {
744
+ this.removePin(streamId);
745
+ } else {
746
+ this.addPin(streamId);
747
+ }
748
+ }
749
+ }, {
750
+ key: "setWhiteboardActive",
751
+ value: function setWhiteboardActive(active) {
752
+ this.whiteboardActive = active;
753
+ }
754
+ }, {
755
+ key: "setAsideWidth",
756
+ value: function setAsideWidth(val) {
757
+ this.asideWidthChanged(val);
758
+ !this.aside && this.toggleAside(true);
759
+ this.asideWidth = val;
760
+ }
761
+ /**
762
+ * Partially update slots, use `null` to delete the slot.
763
+ * `undefined` is ignored.
764
+ */
765
+ }, {
766
+ key: "updateSlots",
767
+ value: function updateSlots(slots) {
768
+ for (var key in slots) {
769
+ var slot = slots[key];
770
+ if (key in this && slot !== undefined) {
771
+ this[key] = slot;
772
+ }
773
+ }
774
+ }
775
+ }, {
776
+ key: "closeParticipantFromAside",
777
+ value: function closeParticipantFromAside() {
778
+ this._sharedLayoutDataSource.setAsideLayout({
779
+ participant: false
780
+ });
781
+ }
782
+ }, {
783
+ key: "moveParticipantFromAsideToDialog",
784
+ value: function moveParticipantFromAsideToDialog() {
785
+ this.closeParticipantFromAside();
786
+ this._sharedLayoutDataSource.setParticipantsRenderAt('dialog');
787
+ this._dialogProvider.openDialog(FcrUIDialogKey.PARTICIPANT);
788
+ }
789
+ }, {
790
+ key: "closeChatFromAside",
791
+ value: function closeChatFromAside() {
792
+ this._sharedLayoutDataSource.setAsideLayout({
793
+ chat: false
794
+ });
795
+ }
796
+ }, {
797
+ key: "closeAsideChat",
798
+ value: function closeAsideChat() {
799
+ this.closeChatFromAside();
800
+ this._eventProvider.notifyChatResetTarget();
801
+ }
802
+ }, {
803
+ key: "moveChatFromAsideToDialog",
804
+ value: function moveChatFromAsideToDialog() {
805
+ this.closeChatFromAside();
806
+ this._sharedLayoutDataSource.setChatRenderAt('dialog');
807
+ this._dialogProvider.openDialog(FcrUIDialogKey.CHAT);
808
+ this._sharedLayoutDataSource.setAsideLayout({
809
+ chat: false
810
+ });
811
+ }
812
+ }, {
813
+ key: "openPrivateChat",
814
+ value: function openPrivateChat(userId) {
815
+ var _this$_userControl;
816
+ if (!this._privilegeProvider.permitPrivateChat(userId)) {
817
+ return;
818
+ }
819
+ if (!this.asideContent.chat) {
820
+ this._sharedLayoutDataSource.setAsideLayout({
821
+ chat: true
822
+ });
823
+ }
824
+ var user = Object.values(this === null || this === void 0 || (_this$_userControl = this._userControl) === null || _this$_userControl === void 0 ? void 0 : _this$_userControl.getUsers()).find(function (u) {
825
+ return u.userId === userId;
826
+ });
827
+ user && this._chatProvider.setPrivateChatTargetUser(user, FcrUIRoomType.MAIN_ROOM);
828
+ }
829
+ }, {
830
+ key: "openRenameDialog",
831
+ value: function openRenameDialog(userId) {
832
+ this._eventProvider.sendEvent(FcrUIAction.PARTICIPANT_ACTION, {
833
+ action: ParticipantActionType.RENAME_IN_MEETING,
834
+ userId: userId
835
+ });
836
+ }
837
+ }, {
838
+ key: "closeSubtitlesHistoryFromAside",
839
+ value: function closeSubtitlesHistoryFromAside() {
840
+ this._sharedLayoutDataSource.setAsideLayout({
841
+ subtitlesHistory: false
842
+ });
843
+ }
844
+ }, {
845
+ key: "moveSubtitlesHistoryFromAsideToDialog",
846
+ value: function moveSubtitlesHistoryFromAsideToDialog() {
847
+ this._sharedLayoutDataSource.setSubtitlesHistoryRenderAt('dialog');
848
+ this._dialogProvider.openDialog(FcrUIDialogKey.SUBTITLES_HISTORY);
849
+ }
850
+ }, {
851
+ key: "toggleLayout",
852
+ value: function toggleLayout(layout, manual) {
853
+ this._videoWindowDataSource.setLayout(layout, manual);
854
+ }
855
+ }, {
856
+ key: "toggleCollapsed",
857
+ value: function toggleCollapsed() {
858
+ var collapsed = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : !this.collapsed;
859
+ this.collapsed = collapsed;
860
+ this._eventProvider.sendEvent(FcrUIAction.CAROUSEL_COLLAPSED, collapsed);
861
+ }
862
+ }, {
863
+ key: "toggleAside",
864
+ value: function toggleAside() {
865
+ var open = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : !this.aside;
866
+ this.aside = open;
867
+ }
868
+ }, {
869
+ key: "asideWidthChanged",
870
+ value: function asideWidthChanged(width) {
871
+ this._eventProvider.sendEvent(FcrUIAction.ASIDE_WIDTH_CHANGED, width);
872
+ }
873
+ }, {
874
+ key: "toggleLayoutBarLock",
875
+ value: function toggleLayoutBarLock(state) {
876
+ // this.barLocked = state;
877
+ }
878
+ }, {
879
+ key: "toggleLayoutBarHidden",
880
+ value: function toggleLayoutBarHidden() {
881
+ this.barHidden = !this.barHidden;
882
+ }
883
+ }, {
884
+ key: "resetLockTimer",
885
+ value: function resetLockTimer() {
886
+ if (!this._barLockTimer) return;
887
+ window.clearTimeout(this._barLockTimer);
888
+ this._barLockTimer = 0;
889
+ }
890
+ }, {
891
+ key: "setHoveringHandler",
892
+ value: function setHoveringHandler() {
893
+ var _this4 = this;
894
+ this._setBarHovering(true);
895
+ if (!this._barLockTimer && !this.barLocked) {
896
+ this._barLockTimer = window.setTimeout(function () {
897
+ _this4._setBarHovering(false);
898
+ _this4.resetLockTimer();
899
+ }, 3000);
900
+ }
901
+ }
902
+ }, {
903
+ key: "setHoveringLeaveHandler",
904
+ value: function setHoveringLeaveHandler() {
905
+ return !this.barLocked && this._setBarHovering(false);
906
+ }
907
+ }, {
908
+ key: "setScreenShareSpeakerViewSize",
909
+ value: function setScreenShareSpeakerViewSize(width, height) {
910
+ this._sharedScreenShareDataSource.setScreenShareSpeakerViewSize(width, height);
911
+ }
912
+ }, {
913
+ key: "handleLiveLayoutChange",
914
+ value: function handleLiveLayoutChange(modifiedUser) {
915
+ if (modifiedUser.userId === this.localUserId && modifiedUser.userRole === FcrUserRole.HOST) {
916
+ // 当本人变成主持人时
917
+ if (this._liveStreamState === FcrLiveStreamingState.STARTED) {
918
+ // 直播中,切换布局
919
+ this._roomControl.updateLiveStreamingLayout(this.layout === FcrUIVideoWindowLayoutType.Speaker ? FcrLiveStreamingLayoutType.SPEAKER : FcrLiveStreamingLayoutType.GALLERY);
920
+ }
921
+ }
922
+ }
923
+ }, {
924
+ key: "release",
925
+ value: function release() {
926
+ this._disposers.forEach(function (fn) {
927
+ return fn();
928
+ });
929
+ this._disposers = [];
930
+ }
931
+ }, {
932
+ key: "onUserInfoUpdated",
933
+ value: function onUserInfoUpdated(roomId, event) {
934
+ this._videoWindowDataSource.update(event.modifiedUser);
935
+ this.handleLiveLayoutChange(event.modifiedUser);
936
+ }
937
+ }, {
938
+ key: "stopLocalPreview",
939
+ value: function stopLocalPreview(view) {
940
+ this._deviceProvider.stopPlayLocalVideo(view);
941
+ }
942
+ }, {
943
+ key: "startLocalPreview",
944
+ value: function startLocalPreview(div) {
945
+ if (div) {
946
+ this._deviceProvider.startPlayLocalVideo(div);
947
+ }
948
+ }
949
+ }, {
950
+ key: "setAllowChatWithPayload",
951
+ value: function setAllowChatWithPayload(type) {
952
+ switch (type) {
953
+ case 'public':
954
+ this._privilegeProvider.setAllowedPublicChatAndDisallowedPrivateChat();
955
+ break;
956
+ case 'private_to_manager':
957
+ this._privilegeProvider.setDisallowedPublicChatAndDisallowedPrivateChatToParticipant();
958
+ break;
959
+ }
960
+ }
961
+ }, {
962
+ key: "setScaleValue",
963
+ value: function setScaleValue(scale) {
964
+ this._sharedScreenShareDataSource.setScreenShareScalcValue(scale);
965
+ }
966
+ }, {
967
+ key: "muteAudio",
968
+ value: function muteAudio(mute, userId) {
969
+ this._eventProvider.sendEvent(FcrUIAction.PARTICIPANT_ACTION, {
970
+ action: mute ? ParticipantActionType.MUTE_AUDIO : ParticipantActionType.UNMUTE_AUDIO,
971
+ userId: userId
972
+ });
973
+ }
974
+ }, {
975
+ key: "setControlbarEnabled",
976
+ value: function setControlbarEnabled(enabled) {
977
+ this._annotationProvider.enableToolbarControl(enabled);
978
+ }
979
+ }, {
980
+ key: "sendParticipantEvent",
981
+ value: function sendParticipantEvent(payload) {
982
+ this._eventProvider.sendEvent(FcrUIAction.PARTICIPANT_ACTION, payload);
983
+ }
984
+ }, {
985
+ key: "onEvent",
986
+ value: function onEvent(action, payload) {
987
+ if (action === FcrUIAction.SET_USER_PIN_STATE) {
988
+ var _ref3 = payload,
989
+ userId = _ref3.userId;
990
+ this.handleSetPinState(userId);
991
+ }
992
+ if (action === FcrUIAction.TOGGLE_LAYOUT_BAR_LOCK) {
993
+ this.toggleLayoutBarLock(payload);
994
+ }
995
+ if (action === FcrUIAction.TOGGLE_LAYOUT_ACTIONBAR_HIDDEN) {
996
+ this.toggleLayoutBarHidden();
997
+ }
998
+ if (action === FcrUIAction.WHITEBOARD_CHANGED) {
999
+ var _ref4 = payload,
1000
+ changeAction = _ref4.action,
1001
+ isLoneyWindow = _ref4.payload;
1002
+ if (changeAction === WhiteboardControlbarEvents.LONEYWINDOW) {
1003
+ if (isLoneyWindow) {
1004
+ this._videoWindowDataSource.removeBoard();
1005
+ } else {
1006
+ var isActive = this._whiteBoardControl.getActivity();
1007
+ var ownerUserId = this._whiteBoardControl.getOwnerId();
1008
+ if (isActive) {
1009
+ var ownerUser = this._userControl.getUser(ownerUserId);
1010
+ this._videoWindowDataSource.addBoard(ownerUser, ownerUserId === this.localUserId, this._privilegeProvider.hasWriteBoardPermission());
1011
+ } else {
1012
+ this.logger.warn('LayoutStore onEvent, WhiteboardControlbarEvents.LONEYWINDOW isLoneyWindow false, boardActiveInfo isActive is false, ownerUserId is null');
1013
+ }
1014
+ }
1015
+ }
1016
+ if (changeAction === WhiteboardBaseEvents.SET_OWNER_USER_ID) {
1017
+ var _ref5 = payload,
1018
+ _ownerUserId = _ref5.payload;
1019
+ this.ownerUser = _ownerUserId ? this._userControl.getUser(_ownerUserId) : undefined;
1020
+ }
1021
+ }
1022
+ }
1023
+
1024
+ /**
1025
+ * Initialize the store, must be called in the sub class construction
1026
+ */
1027
+ }, {
1028
+ key: "_initialize",
1029
+ value: function _initialize() {
1030
+ this._addListeners();
1031
+ this._initStream();
1032
+ this._handleMainListChanged();
1033
+ this._handleMainListLengthChanged();
1034
+ this._handleLayoutUpdated(this._videoWindowDataSource.layoutType);
1035
+ this.setWhiteboardActive(this._whiteBoardControl.getActivity());
1036
+ }
1037
+ }, {
1038
+ key: "_addListeners",
1039
+ value: function _addListeners() {
1040
+ var _this5 = this;
1041
+ var roomObserver = {
1042
+ onLiveStreamingStateUpdated: this._handleLiveStreamingStateUpdated
1043
+ };
1044
+ var eventObserver = {
1045
+ onEvent: this.onEvent
1046
+ };
1047
+ var streamObserver = {
1048
+ onStreamsAdded: this._onStreamsAdded,
1049
+ onStreamsUpdated: this._onStreamsUpdated,
1050
+ onStreamsRemoved: this._onStreamsRemoved
1051
+ };
1052
+ var userObserver = {
1053
+ onUserInfoUpdated: this.onUserInfoUpdated,
1054
+ onRemoteUsersLeft: this._onRemoteUsersLeft
1055
+ };
1056
+ var videoWindowObserver = {
1057
+ onLayoutUpdated: this._handleLayoutUpdated,
1058
+ onMainListAdded: this._handleMainListChanged,
1059
+ onMainListUpdated: this._handleMainListChanged,
1060
+ onMainListRemoved: this._handleMainListChanged
1061
+ };
1062
+ var whiteboardObserver = {
1063
+ onActive: function onActive() {
1064
+ return _this5.setWhiteboardActive(true);
1065
+ },
1066
+ onInactive: function onInactive() {
1067
+ return _this5.setWhiteboardActive(false);
1068
+ }
1069
+ };
1070
+ var chatObserver = {
1071
+ onChatRoomConnectionStateUpdated: this._handleConnectionUpdated
1072
+ };
1073
+ this._roomControl.addObserver(roomObserver);
1074
+ this._eventProvider.addObserver(eventObserver);
1075
+ this._streamControl.addObserver(streamObserver);
1076
+ this._userControl.addObserver(userObserver);
1077
+ this._videoWindowDataSource.addObserver(videoWindowObserver);
1078
+ this._whiteBoardControl.addObserver(whiteboardObserver);
1079
+ this._chatProvider.addObserver(chatObserver);
1080
+ this._disposers.push(function () {
1081
+ _this5._roomControl.removeObserver(roomObserver);
1082
+ _this5._eventProvider.removeObserver(eventObserver);
1083
+ _this5._streamControl.removeObserver(streamObserver);
1084
+ _this5._userControl.removeObserver(userObserver);
1085
+ _this5._videoWindowDataSource.removeObserver(videoWindowObserver);
1086
+ _this5._whiteBoardControl.removeObserver(whiteboardObserver);
1087
+ _this5._chatProvider.removeObserver(chatObserver);
1088
+ }, reaction(function () {
1089
+ return _this5.mainList.length;
1090
+ }, function (length) {
1091
+ _this5._handleMainListLengthChanged();
1092
+ }), reaction(function () {
1093
+ return _this5.whiteboardActive;
1094
+ }, function (isBoardActive) {
1095
+ if (isBoardActive) {
1096
+ var ownerUserId = _this5._whiteBoardControl.getOwnerId();
1097
+ var ownerUser = _this5._userControl.getUser(ownerUserId);
1098
+ _this5._videoWindowDataSource.addBoard(ownerUser, ownerUserId === _this5.localUserId);
1099
+ if (_this5.secondaryWindowContentType === FcrUIDisplayDistributionContentType.SHARING_WHITEBOARD) {
1100
+ // 在副屏窗口模式显示白板时,不切换布局
1101
+ return;
1102
+ }
1103
+ if (_this5.layout === FcrUIVideoWindowLayoutType.Gallery) {
1104
+ _this5.toggleLayout(FcrUIVideoWindowLayoutType.Speaker);
1105
+ }
1106
+ } else {
1107
+ _this5._videoWindowDataSource.removeBoard();
1108
+ if (_this5.secondaryWindowContentType === FcrUIDisplayDistributionContentType.SHARING_WHITEBOARD) {
1109
+ // 在副屏窗口模式显示白板时,不切换布局
1110
+ return;
1111
+ }
1112
+ if (_this5.manualLayout) {
1113
+ _this5.toggleLayout(_this5.manualLayout);
1114
+ } else {
1115
+ _this5.toggleLayout(FcrUIVideoWindowLayoutType.Gallery);
1116
+ }
1117
+ }
1118
+ }), reaction(function () {
1119
+ return _this5._privilegeProvider.hasWriteBoardPermission();
1120
+ }, function (canEdit) {
1121
+ if (!_this5.mainList.some(function (u) {
1122
+ return u.type === FcrUIWindowType.BOARD;
1123
+ })) return;
1124
+ _this5._videoWindowDataSource.updateBoard(canEdit);
1125
+ }), reaction(function () {
1126
+ return _this5.asideContent;
1127
+ }, function (asideContent) {
1128
+ if (asideContent.participant || asideContent.chat || asideContent.subtitlesHistory) {
1129
+ _this5.toggleAside(true);
1130
+ }
1131
+ if (!asideContent.participant && !asideContent.chat && !asideContent.subtitlesHistory) {
1132
+ _this5.toggleAside(false);
1133
+ }
1134
+ }, {
1135
+ fireImmediately: true
1136
+ }), reaction(function () {
1137
+ return _this5.barLocked;
1138
+ }, function (barLocked) {
1139
+ if (_this5._barLockTimer && barLocked) {
1140
+ _this5.resetLockTimer();
1141
+ } else {
1142
+ _this5.setHoveringHandler();
1143
+ }
1144
+ }), reaction(function () {
1145
+ return _this5._videoWindowDataSource.mainList.filter(_this5._shouldUnpin.bind(_this5));
1146
+ }, function (list) {
1147
+ list.forEach(function (item) {
1148
+ if (_this5._videoWindowDataSource.shouldHideNonVideoParticipants) {
1149
+ _this5._pinDataSource.removePin(item.windowId,
1150
+ // transI18n('fmt_internalsetting_other_hide_no_video_pin_cancelled'),
1151
+ FcrUIToastKey.FMT_INTERNALSETTING_OTHER_HIDE_NO_VIDEO_PIN_CANCELLED);
1152
+ }
1153
+ });
1154
+ }));
1155
+ }
1156
+ }, {
1157
+ key: "_hasVideoStreamUser",
1158
+ get: function get() {
1159
+ return this.sourceList.some(function (i) {
1160
+ return i.hasVideoStream;
1161
+ });
1162
+ }
1163
+ }, {
1164
+ key: "_shouldUnpin",
1165
+ value: function _shouldUnpin(item) {
1166
+ return !this._isVideoParticipantVisible(item) && item.isPin;
1167
+ }
1168
+ }, {
1169
+ key: "_isVideoParticipantVisible",
1170
+ value: function _isVideoParticipantVisible(item) {
1171
+ return item.isMySelf && !this._hasVideoStreamUser || item.hasVideoStream || item.videoSourceType === FcrVideoSourceType.SCREEN || item.type === FcrUIWindowType.BOARD;
1172
+ }
1173
+ }, {
1174
+ key: "_handleMainListLengthChanged",
1175
+ value: function _handleMainListLengthChanged() {
1176
+ this._eventProvider.sendEvent(FcrUIAction.MAIN_LIST_LENGTH_CHANGED, this.mainList.length);
1177
+ }
1178
+ }, {
1179
+ key: "_handleMainListChanged",
1180
+ value: function _handleMainListChanged() {
1181
+ this._eventProvider.sendEvent(FcrUIAction.MAIN_LIST_CHANGED, this.mainList);
1182
+ }
1183
+ }, {
1184
+ key: "_switchToSpeaker",
1185
+ value: function _switchToSpeaker() {
1186
+ this.collapsed = false;
1187
+ }
1188
+ }, {
1189
+ key: "_switchToGallery",
1190
+ value: function _switchToGallery() {
1191
+ this.collapsed = true;
1192
+ }
1193
+ }, {
1194
+ key: "_setBarHovering",
1195
+ value: function _setBarHovering(state) {
1196
+ this.barHovering = state;
1197
+ }
1198
+ }, {
1199
+ key: "_initStream",
1200
+ value: function _initStream() {
1201
+ var _this6 = this;
1202
+ var isSharingScreen = false;
1203
+ this._streamControl.getStreamList().forEach(function (stream) {
1204
+ if (stream.videoSourceType === FcrVideoSourceType.SCREEN) {
1205
+ isSharingScreen = true;
1206
+ }
1207
+ _this6._handleStreamAdded(stream);
1208
+ });
1209
+ if (isSharingScreen && this.layout === FcrUIVideoWindowLayoutType.Gallery) {
1210
+ this.toggleLayout(FcrUIVideoWindowLayoutType.Speaker);
1211
+ }
1212
+ }
1213
+ }, {
1214
+ key: "_handleConnectionUpdated",
1215
+ value: function _handleConnectionUpdated(_, state) {
1216
+ this.logger.info('layout store handleConnectionUpdated', state);
1217
+ this.chatRoomState = state;
1218
+ }
1219
+ }, {
1220
+ key: "_findVideoWindowByUserId",
1221
+ value: function _findVideoWindowByUserId(userId) {
1222
+ return this.mainList.find(function (item) {
1223
+ return item.userId === userId;
1224
+ });
1225
+ }
1226
+ }, {
1227
+ key: "_onRemoteUsersLeft",
1228
+ value: function _onRemoteUsersLeft(roomId, events) {
1229
+ var _this7 = this;
1230
+ events.forEach(function (event) {
1231
+ var userInfo = event.userInfo;
1232
+ var videoWindowData = _this7._findVideoWindowByUserId(userInfo.userId);
1233
+ if (videoWindowData) {
1234
+ var stream = videoWindowData.getVideoStream();
1235
+ if (stream) {
1236
+ _this7._videoWindowDataSource["delete"](stream);
1237
+ }
1238
+ }
1239
+ });
1240
+ }
1241
+ }, {
1242
+ key: "_handleLiveStreamingStateUpdated",
1243
+ value: function _handleLiveStreamingStateUpdated(_, state, url, reason) {
1244
+ this._liveStreamState = state;
1245
+ if (state === FcrLiveStreamingState.STOPPED && reason === FcrLiveStreamingStateUpdatedReason.HOSTCHANGED) {
1246
+ this._messageProvider.showToastByKey({
1247
+ key: FcrUIToastKey.FMT_BROADCAST_LIVESTREAM_TIPS_HAND_OVER_PC_TO_MOBILE
1248
+ });
1249
+ }
1250
+ }
1251
+ }, {
1252
+ key: "_handleStreamAdded",
1253
+ value: function _handleStreamAdded(modifiedStream) {
1254
+ this._videoWindowDataSource.add(modifiedStream, modifiedStream.owner.userId === this.localUserId);
1255
+ if (this.isMultiDisplayActive) {
1256
+ // 在开启多屏模式下,屏幕共享流添加时,保持布局不变
1257
+ return;
1258
+ }
1259
+ if (modifiedStream.videoSourceType === FcrVideoSourceType.SCREEN) {
1260
+ var isSharingScreenOwner = modifiedStream.owner.userId === this.localUserId;
1261
+ if (this.layout === FcrUIVideoWindowLayoutType.Gallery) {
1262
+ // 在非 Electron 环境或者 Electron 环境下非屏幕共享拥有者时,切换到 Speaker 布局
1263
+ var shouldToggleToSpeaker = !isElectron() || !isSharingScreenOwner;
1264
+ if (shouldToggleToSpeaker) {
1265
+ this.toggleLayout(FcrUIVideoWindowLayoutType.Speaker);
1266
+ }
1267
+ }
1268
+ }
1269
+ }
1270
+ }, {
1271
+ key: "_onStreamsAdded",
1272
+ value: function _onStreamsAdded(roomId, events) {
1273
+ var _this8 = this;
1274
+ events.forEach(function (_ref6) {
1275
+ var modifiedStream = _ref6.modifiedStream;
1276
+ _this8._handleStreamAdded(modifiedStream);
1277
+ });
1278
+ }
1279
+ }, {
1280
+ key: "_onStreamsUpdated",
1281
+ value: function _onStreamsUpdated(roomId, events) {
1282
+ var _this9 = this;
1283
+ events.forEach(function (_ref7) {
1284
+ var modifiedStream = _ref7.modifiedStream;
1285
+ _this9._videoWindowDataSource.update(modifiedStream);
1286
+ });
1287
+ }
1288
+ }, {
1289
+ key: "_onStreamsRemoved",
1290
+ value: function _onStreamsRemoved(roomId, events) {
1291
+ var _this0 = this;
1292
+ events.forEach(function (_ref8) {
1293
+ var modifiedStream = _ref8.modifiedStream;
1294
+ _this0._videoWindowDataSource["delete"](modifiedStream);
1295
+ });
1296
+ var hasScreenStream = events === null || events === void 0 ? void 0 : events.find(function (event) {
1297
+ var videoType = event.modifiedStream.videoSourceType;
1298
+ return videoType === FcrVideoSourceType.SCREEN;
1299
+ });
1300
+ if (this.isMultiDisplayActive) {
1301
+ // 在开启多屏模式下,屏幕共享流被移除时,保持布局不变
1302
+ return;
1303
+ }
1304
+ if (hasScreenStream) {
1305
+ if (this.manualLayout) {
1306
+ this.toggleLayout(this.manualLayout);
1307
+ } else {
1308
+ this.toggleLayout(FcrUIVideoWindowLayoutType.Gallery);
1309
+ }
1310
+ }
1311
+ }
1312
+ }]);
1313
+ }();
1314
+ _LayoutStoreBase = LayoutStoreBase;
1315
+ var _applyDecs$e = _slicedToArray(_applyDecs(_LayoutStoreBase, [[_participantDecs, 17, "participant"], [_chatDecs, 17, "chat"], [_chatActionDecs, 17, "chatAction"], [_stateBarDecs, 17, "stateBar"], [_actionBarDecs, 17, "actionBar"], [_layersDecs, 17, "layers"], [_whiteboardDecs, 17, "whiteboard"], [_annotationDecs, 17, "annotation"], [_screenShareControlDecs, 17, "screenShareControl"], [_subtitlesDecs, 17, "subtitles"], [_subtitlesHistoryDecs, 17, "subtitlesHistory"], [_subtitlesHistorySettingsDecs, 17, "subtitlesHistorySettings"], [observable, 1, "collapsed"], [observable, 1, "aside"], [observable, 1, "barHovering"], [observable, 1, "barLocked"], [observable, 1, "barHidden"], [observable, 1, "asideWidth"], [observable, 1, "chatRoomState"], [observable, 1, "whiteboardActive"], [observable, 1, "ownerUser"], [computed, 3, "isWaterMarkEnabled"], [computed, 3, "isMulti"], [computed, 3, "layout"], [computed, 3, "manualLayout"], [computed, 3, "scalcValue"], [computed, 3, "sourceList"], [computed, 3, "layoutMainList"], [computed, 3, "mainList"], [computed, 3, "spotlightStreamId"], [computed, 3, "foldList"], [computed, 3, "galleryList"], [computed, 3, "isMainWindowInScreenSharing"], [computed, 3, "isCurrentUserInBoardSharing"], [computed, 3, "asideLayout"], [computed, 3, "carouselList"], [computed, 3, "hasPinnedStream"], [computed, 3, "isRobot"], [computed, 3, "findSpotlightUser"], [computed, 3, "isWhoISpeakingActive"], [computed, 3, "microphoneEnabled"], [computed, 3, "cameraEnabled"], [computed, 3, "galleryMaxSize"], [computed, 3, "asideContent"], [computed, 3, "participantsRenderAt"], [computed, 3, "chatRenderAt"], [computed, 3, "subtitlesHistoryRenderAt"], [bound, 2, "getWaterMarkContent"], [bound, 2, "hasMutePermission"], [bound, 2, "hasUnmutePermission"], [bound, 2, "hasRequestStartAudioPermission"], [bound, 2, "toggleMainStream"], [_addPinMessageDecs, 18, "addPinMessage"], [_cancelPinMessageDecs, 18, "cancelPinMessage"], [bound, 2, "addPin"], [bound, 2, "removePin"], [bound, 2, "setVideoOrientation"], [bound, 2, "setAllowChat"], [bound, 2, "handleSetPinState"], [_setWhiteboardActiveDecs, 18, "setWhiteboardActive"], [_setAsideWidthDecs, 18, "setAsideWidth"], [_updateSlotsDecs, 18, "updateSlots"], [bound, 2, "closeParticipantFromAside"], [bound, 2, "moveParticipantFromAsideToDialog"], [bound, 2, "closeChatFromAside"], [bound, 2, "closeAsideChat"], [bound, 2, "moveChatFromAsideToDialog"], [bound, 2, "openPrivateChat"], [bound, 2, "openRenameDialog"], [bound, 2, "closeSubtitlesHistoryFromAside"], [bound, 2, "moveSubtitlesHistoryFromAsideToDialog"], [_toggleLayoutDecs, 18, "toggleLayout"], [_toggleCollapsedDecs, 18, "toggleCollapsed"], [_toggleAsideDecs, 18, "toggleAside"], [_asideWidthChangedDecs, 18, "asideWidthChanged"], [_toggleLayoutBarLockDecs, 18, "toggleLayoutBarLock"], [_toggleLayoutBarHiddenDecs, 18, "toggleLayoutBarHidden"], [_resetLockTimerDecs, 18, "resetLockTimer"], [_setHoveringHandlerDecs, 18, "setHoveringHandler"], [_setHoveringLeaveHandlerDecs, 18, "setHoveringLeaveHandler"], [_setScreenShareSpeakerViewSizeDecs, 2, "setScreenShareSpeakerViewSize"], [_handleLiveLayoutChangeDecs, 18, "handleLiveLayoutChange"], [_onUserInfoUpdatedDecs, 18, "onUserInfoUpdated"], [bound, 2, "stopLocalPreview"], [bound, 2, "startLocalPreview"], [bound, 2, "setAllowChatWithPayload"], [bound, 2, "setScaleValue"], [bound, 2, "muteAudio"], [bound, 2, "setControlbarEnabled"], [bound, 2, "sendParticipantEvent"], [bound, 2, "onEvent"], [bound, 2, "_addListeners"], [computed, 3, "_hasVideoStreamUser"], [_handleMainListLengthChangedDecs, 18, "_handleMainListLengthChanged"], [_handleMainListChangedDecs, 18, "_handleMainListChanged"], [action, 2, "_switchToSpeaker"], [action, 2, "_switchToGallery"], [_setBarHoveringDecs, 18, "_setBarHovering"], [_handleConnectionUpdatedDecs, 18, "_handleConnectionUpdated"], [_findVideoWindowByUserIdDecs, 18, "_findVideoWindowByUserId"], [_onRemoteUsersLeftDecs, 18, "_onRemoteUsersLeft"], [bound, 2, "_handleLiveStreamingStateUpdated"], [bound, 2, "_handleStreamAdded"], [bound, 2, "_onStreamsAdded"], [bound, 2, "_onStreamsUpdated"], [bound, 2, "_onStreamsRemoved"], [_handleLayoutUpdatedDecs, 16, "_handleLayoutUpdated"]], []).e, 23);
1316
+ _init_participant = _applyDecs$e[0];
1317
+ _init_chat = _applyDecs$e[1];
1318
+ _init_chatAction = _applyDecs$e[2];
1319
+ _init_stateBar = _applyDecs$e[3];
1320
+ _init_actionBar = _applyDecs$e[4];
1321
+ _init_layers = _applyDecs$e[5];
1322
+ _init_whiteboard = _applyDecs$e[6];
1323
+ _init_annotation = _applyDecs$e[7];
1324
+ _init_screenShareControl = _applyDecs$e[8];
1325
+ _init_subtitles = _applyDecs$e[9];
1326
+ _init_subtitlesHistory = _applyDecs$e[10];
1327
+ _init_subtitlesHistorySettings = _applyDecs$e[11];
1328
+ _init_collapsed = _applyDecs$e[12];
1329
+ _init_aside = _applyDecs$e[13];
1330
+ _init_barHovering = _applyDecs$e[14];
1331
+ _init_barLocked = _applyDecs$e[15];
1332
+ _init_barHidden = _applyDecs$e[16];
1333
+ _init_asideWidth = _applyDecs$e[17];
1334
+ _init_chatRoomState = _applyDecs$e[18];
1335
+ _init_whiteboardActive = _applyDecs$e[19];
1336
+ _init_ownerUser = _applyDecs$e[20];
1337
+ _init__handleLayoutUpdated = _applyDecs$e[21];
1338
+ _initProto = _applyDecs$e[22];
1339
+ export var StoreContext = /*#__PURE__*/createContext(null);