fcr-ui-scene 3.8.1-beta → 3.8.2

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 (1039) hide show
  1. package/lib/base.js +2 -2
  2. package/lib/creator/provider-initializer.browser.js +8 -7
  3. package/lib/creator/provider-initializer.electron.js +8 -8
  4. package/lib/electron/asar-validation.d.ts +12 -0
  5. package/lib/electron/asar-validation.js +115 -0
  6. package/lib/electron/bootstrap-sdk.js +20 -12
  7. package/lib/electron/default-options.js +2 -1
  8. package/lib/electron/env.d.ts +1 -0
  9. package/lib/electron/env.js +6 -4
  10. package/lib/electron/exit-codes.js +11 -11
  11. package/lib/electron/hang-detection/manager.js +4 -4
  12. package/lib/electron/ipc-protocol.js +12 -12
  13. package/lib/electron/process-manager/event-manager.js +30 -30
  14. package/lib/electron/process-manager/index.js +88 -88
  15. package/lib/electron/process-manager/state-manager.js +57 -57
  16. package/lib/electron/process-manager/types.js +16 -16
  17. package/lib/electron/sdk-helper.js +3 -3
  18. package/lib/electron/window-proxy/browser-window-proxy.js +13 -13
  19. package/lib/electron/window-proxy/main-process-handler.js +14 -14
  20. package/lib/fragments/annotation/style.css +9 -9
  21. package/lib/fragments/annotation/toolbar/components/item/style.css +45 -45
  22. package/lib/fragments/annotation/toolbar/components/panel/style.css +24 -24
  23. package/lib/fragments/annotation/toolbar/components/tips/style.css +19 -19
  24. package/lib/fragments/annotation/toolbar/style.css +55 -55
  25. package/lib/fragments/whiteboard/cursor.css +77 -77
  26. package/lib/fragments/whiteboard/style.css +4 -4
  27. package/lib/global.css +62 -62
  28. package/lib/global.d.ts +27 -27
  29. package/lib/index.js +9 -1
  30. package/lib/modules/action-bar/components/chat/index.css +88 -88
  31. package/lib/modules/action-bar/components/more/index.css +114 -114
  32. package/lib/modules/action-bar/components/notification-bar/components/interpreter/index.css +58 -58
  33. package/lib/modules/action-bar/components/notification-bar/components/virtual-image/index.css +56 -56
  34. package/lib/modules/action-bar/components/notification-bar/index.css +74 -74
  35. package/lib/modules/action-bar/components/participants/index.css +21 -21
  36. package/lib/modules/action-bar/components/record/index.css +39 -39
  37. package/lib/modules/action-bar/components/trigger-output-language/index.css +86 -86
  38. package/lib/modules/action-bar/components/trigger-subscribe-language/guide-tooltip/index.css +22 -22
  39. package/lib/modules/action-bar/index.css +358 -358
  40. package/lib/modules/action-bar/main-scene/store.base.d.ts +3 -2
  41. package/lib/modules/action-bar/main-scene/store.base.js +29 -57
  42. package/lib/modules/action-bar/main-scene/view.js +3 -3
  43. package/lib/modules/audio-stream/index.js +3 -3
  44. package/lib/modules/caption/draggable-container/index.css +10 -10
  45. package/lib/modules/caption/view.css +158 -158
  46. package/lib/modules/chat/components/chat-bar/index.css +89 -89
  47. package/lib/modules/chat/components/chat-select/index.css +185 -185
  48. package/lib/modules/chat/index.css +124 -124
  49. package/lib/modules/components/apps/app-item/index.css +49 -49
  50. package/lib/modules/components/apps/index.css +9 -9
  51. package/lib/modules/components/caption-menu/index.css +58 -58
  52. package/lib/modules/components/caption-menu/steps/index.css +73 -73
  53. package/lib/modules/components/control-bar/components/loading/index.css +76 -76
  54. package/lib/modules/components/control-bar/components/progress/style.css +51 -51
  55. package/lib/modules/components/control-bar/components/switch-theme/index.css +101 -101
  56. package/lib/modules/components/control-bar/index.css +99 -99
  57. package/lib/modules/components/device-control/index.css +177 -177
  58. package/lib/modules/components/leave-meeting/components/index.css +151 -151
  59. package/lib/modules/components/leave-meeting/style.css +9 -9
  60. package/lib/modules/components/member-window/components/member-actions/store.js +22 -22
  61. package/lib/modules/components/member-window/index.css +502 -502
  62. package/lib/modules/components/security-menu/index.css +42 -42
  63. package/lib/modules/components/tab-frame/index.css +40 -40
  64. package/lib/modules/components/toolbar/components/item/style.css +94 -94
  65. package/lib/modules/components/toolbar/components/panel/style.css +86 -86
  66. package/lib/modules/components/toolbar/style.css +85 -85
  67. package/lib/modules/connection-gateway/components/computer/index.css +12 -12
  68. package/lib/modules/connection-gateway/components/phone/components/callinfo/index.css +36 -36
  69. package/lib/modules/connection-gateway/components/phone/components/calling/index.css +72 -72
  70. package/lib/modules/connection-gateway/components/phone/components/remeber/index.css +10 -10
  71. package/lib/modules/connection-gateway/components/phone/components/useing/index.css +46 -46
  72. package/lib/modules/connection-gateway/components/phone/index.css +49 -49
  73. package/lib/modules/connection-gateway/index.css +6 -6
  74. package/lib/modules/control-bar/components/meeting-details/index.css +133 -133
  75. package/lib/modules/control-bar/components/more-actions/index.css +103 -103
  76. package/lib/modules/control-bar/components/share-audio/index.css +90 -90
  77. package/lib/modules/control-bar/components/share-state-nav/index.css +79 -79
  78. package/lib/modules/control-bar/index.css +340 -340
  79. package/lib/modules/control-bar/index.js +4 -4
  80. package/lib/modules/device-pretest/index.css +123 -123
  81. package/lib/modules/dialog/components/confirm/index.css +24 -24
  82. package/lib/modules/dialog/components/dialog-container/index.css +112 -112
  83. package/lib/modules/dialog/dialogs/confirm/index.css +24 -24
  84. package/lib/modules/dialog/dialogs/connection-gateway/tabs.js +14 -12
  85. package/lib/modules/dialog/dialogs/device-setting/index.css +26 -26
  86. package/lib/modules/dialog/dialogs/interpreter/index.css +30 -30
  87. package/lib/modules/dialog/dialogs/mute-all/index.css +20 -20
  88. package/lib/modules/dialog/dialogs/system-preference/index.css +52 -52
  89. package/lib/modules/dialog/dialogs/widget/index.js +4 -4
  90. package/lib/modules/dialog/index.css +56 -56
  91. package/lib/modules/event-toast/index.css +25 -25
  92. package/lib/modules/interpreter/action/add-btn/index.css +4 -4
  93. package/lib/modules/interpreter/action/delete-btn/index.css +14 -14
  94. package/lib/modules/interpreter/action/switch-btn/index.css +3 -3
  95. package/lib/modules/interpreter/dialog-content/index.css +33 -33
  96. package/lib/modules/interpreter/footer/index.css +11 -11
  97. package/lib/modules/interpreter/index.css +4 -4
  98. package/lib/modules/interpreter/interpreter-list/index.css +8 -8
  99. package/lib/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/index.css +46 -46
  100. package/lib/modules/interpreter/interpreter-list/interpreter-item/components/pick-user/index.css +46 -46
  101. package/lib/modules/interpreter/interpreter-list/interpreter-item/index.css +32 -32
  102. package/lib/modules/interpreter/loading-wrapper/index.css +53 -53
  103. package/lib/modules/invite/components/pstn-invite.js +1 -1
  104. package/lib/modules/invite/components/voip-invite.css +26 -26
  105. package/lib/modules/invite/index.css +331 -331
  106. package/lib/modules/invite/index.d.ts +4 -1
  107. package/lib/modules/invite/index.js +5 -2
  108. package/lib/modules/invite/store.d.ts +4 -0
  109. package/lib/modules/invite/store.js +48 -9
  110. package/lib/modules/invite/view.d.ts +4 -1
  111. package/lib/modules/invite/view.js +25 -10
  112. package/lib/modules/layout/components/CommonVideoRenderer.js +4 -4
  113. package/lib/modules/layout/components/index.css +653 -653
  114. package/lib/modules/layout/index.css +59 -59
  115. package/lib/modules/layout/store.base.js +5 -5
  116. package/lib/modules/layout/type.js +5 -5
  117. package/lib/modules/notification/index.css +77 -77
  118. package/lib/modules/notification/interpreter-status/index.css +76 -76
  119. package/lib/modules/participant/components/confirm-input/index.css +4 -4
  120. package/lib/modules/participant/components/participants/components/footer/components/drop-menu/index.css +83 -83
  121. package/lib/modules/participant/components/participants/components/render-user/components/attendee/index.css +87 -87
  122. package/lib/modules/participant/index.css +102 -102
  123. package/lib/modules/participant/store.base.js +175 -175
  124. package/lib/modules/pc-audio-connect/index.css +12 -12
  125. package/lib/modules/pc-audio-connect/main-scene/index.d.ts +1 -1
  126. package/lib/modules/pc-audio-connect/main-scene/index.js +2 -3
  127. package/lib/modules/pc-audio-connect/main-scene/store.js +1 -0
  128. package/lib/modules/phone-audio-connect/components/callinfo/index.css +36 -36
  129. package/lib/modules/phone-audio-connect/components/calling/index.css +72 -72
  130. package/lib/modules/phone-audio-connect/components/remeber/index.css +10 -10
  131. package/lib/modules/phone-audio-connect/components/useing/index.css +46 -46
  132. package/lib/modules/phone-audio-connect/index.css +56 -56
  133. package/lib/modules/secondary-window/store.js +7 -7
  134. package/lib/modules/setting/audio-settings/index.css +195 -195
  135. package/lib/modules/setting/audio-whiteList/audio-device-adaptation.js +14 -14
  136. package/lib/modules/setting/audio-whiteList/audio-whiteList-manager.js +6 -6
  137. package/lib/modules/setting/caption_and_transcribing/index.css +88 -88
  138. package/lib/modules/setting/general-settings/index.css +41 -41
  139. package/lib/modules/setting/index.css +112 -112
  140. package/lib/modules/setting/minutes-settings/index.css +65 -65
  141. package/lib/modules/setting/state/index.css +207 -207
  142. package/lib/modules/setting/storage-settings/index.css +91 -91
  143. package/lib/modules/setting/translate-settings/index.css +47 -47
  144. package/lib/modules/setting/video-settings/index.css +357 -357
  145. package/lib/modules/share-screen/components/control-bar/index.css +75 -75
  146. package/lib/modules/share-screen/components/selection/index.css +73 -73
  147. package/lib/modules/share-screen/components/share-state-bar/index.css +76 -76
  148. package/lib/modules/share-screen/index.js +10 -10
  149. package/lib/modules/share-screen/store.base.js +2 -2
  150. package/lib/modules/state-bar/assets/fcr_grid_big.svg +3 -3
  151. package/lib/modules/state-bar/assets/fcr_listontop_big.svg +3 -3
  152. package/lib/modules/state-bar/index.css +706 -706
  153. package/lib/modules/state-bar/main-scene/store.base.js +2 -2
  154. package/lib/modules/state-bar/meeting-detail.css +137 -137
  155. package/lib/modules/state-bar/meeting-network-state.css +150 -150
  156. package/lib/modules/state-bar/waiting-scene/store.base.js +2 -2
  157. package/lib/modules/subtitles-history/components/settings/index.css +5 -5
  158. package/lib/modules/subtitles-history/index.css +129 -129
  159. package/lib/modules/video-window/components/members/index.css +51 -51
  160. package/lib/modules/video-window/components/speaking/index.css +86 -86
  161. package/lib/modules/video-window/components/topControl/index.css +35 -35
  162. package/lib/modules/video-window/index.css +21 -21
  163. package/lib/modules/video-window/popover-watcher.js +3 -3
  164. package/lib/modules/video-window/store.js +10 -10
  165. package/lib/modules/waiting-room-layout/index.css +96 -96
  166. package/lib/modules/whiteboard/components/control-bar/index.css +52 -52
  167. package/lib/modules/whiteboard/components/loading/index.css +76 -76
  168. package/lib/modules/whiteboard/components/multi-window/index.css +63 -63
  169. package/lib/modules/whiteboard/components/pagination/index.css +228 -228
  170. package/lib/modules/whiteboard/components/progress/style.css +51 -51
  171. package/lib/modules/whiteboard/components/switch-theme/index.css +99 -99
  172. package/lib/modules/whiteboard/components/toolbar/style.css +591 -591
  173. package/lib/modules/whiteboard/style.css +140 -140
  174. package/lib/modules/widget/index.css +9 -9
  175. package/lib/modules/widget/index.d.ts +1 -0
  176. package/lib/modules/widget/index.js +16 -1
  177. package/lib/modules/widget/store.base.d.ts +1 -0
  178. package/lib/modules/widget/store.base.js +12 -0
  179. package/lib/modules/widget/store.electron.js +5 -0
  180. package/lib/modules/widget/web-widget.d.ts +6 -1
  181. package/lib/modules/widget/web-widget.js +66 -22
  182. package/lib/object-manager.js +8 -8
  183. package/lib/plugins/module-dev-plugin.js +11 -11
  184. package/lib/providers/ability-provider.js +17 -17
  185. package/lib/providers/app-list-provider.d.ts +1 -1
  186. package/lib/providers/app-list-provider.js +9 -7
  187. package/lib/providers/board-share/bar-control/base.d.ts +1 -1
  188. package/lib/providers/board-share/bar-control/browser.d.ts +1 -1
  189. package/lib/providers/board-share/bar-control/electron.d.ts +1 -1
  190. package/lib/providers/board-share/struct.js +6 -6
  191. package/lib/providers/device-stream-provider.d.ts +1 -1
  192. package/lib/providers/dialog/provider.base.js +2 -2
  193. package/lib/providers/dialog/type.js +3 -3
  194. package/lib/providers/multi-display-provider.js +4 -4
  195. package/lib/providers/privilege-provider.js +7 -7
  196. package/lib/providers/screen-share/provider.base.js +23 -23
  197. package/lib/providers/screen-share/stream-state-sync.js +18 -18
  198. package/lib/providers/screen-share/struct.js +24 -24
  199. package/lib/providers/widget-provider.d.ts +13 -2
  200. package/lib/providers/widget-provider.js +60 -9
  201. package/lib/providers/window/main-window.js +2 -2
  202. package/lib/providers/window/provider.js +5 -5
  203. package/lib/providers/window/renderer-window.js +2 -2
  204. package/lib/scenes/main-scene.js +3 -1
  205. package/lib/schema.js +26 -26
  206. package/lib/shared-data/app-list-data.d.ts +0 -3
  207. package/lib/shared-data/app-list-data.js +3 -30
  208. package/lib/shared-data/meeting-time.js +8 -8
  209. package/lib/shared-data/setting.js +3 -3
  210. package/lib/shared-data/video-window.d.ts +1 -1
  211. package/lib/shared-data/video-window.js +1 -1
  212. package/lib/shared-data/widget-data.d.ts +0 -1
  213. package/lib/type.d.ts +1 -0
  214. package/lib/type.js +23 -21
  215. package/lib/ui-scene-switch.js +2 -2
  216. package/lib/utilities/constant.js +6 -6
  217. package/lib/utilities/renderer.js +8 -8
  218. package/lib/utilities/shared-storage.js +2 -2
  219. package/lib/utilities/tools.js +14 -14
  220. package/lib-es/assets/mic-loading.gif +0 -0
  221. package/lib-es/base.js +335 -0
  222. package/lib-es/creator/index.js +543 -0
  223. package/lib-es/creator/provider-initializer.browser.js +322 -0
  224. package/lib-es/creator/provider-initializer.electron.js +359 -0
  225. package/lib-es/creator/type.js +1 -0
  226. package/lib-es/electron/app.js +247 -0
  227. package/lib-es/electron/asar-validation.js +106 -0
  228. package/lib-es/electron/bootstrap-dev.js +45 -0
  229. package/lib-es/electron/bootstrap-sdk.js +198 -0
  230. package/lib-es/electron/default-options.js +18 -0
  231. package/lib-es/electron/env.js +8 -0
  232. package/lib-es/electron/exit-codes.js +20 -0
  233. package/lib-es/electron/hang-detection/index.js +2 -0
  234. package/lib-es/electron/hang-detection/manager.js +225 -0
  235. package/lib-es/electron/hang-detection/types.js +1 -0
  236. package/lib-es/electron/index.js +2 -0
  237. package/lib-es/electron/injections.js +830 -0
  238. package/lib-es/electron/ipc/ipc.js +134 -0
  239. package/lib-es/electron/ipc/type.js +22 -0
  240. package/lib-es/electron/ipc-protocol.js +58 -0
  241. package/lib-es/electron/logger.js +57 -0
  242. package/lib-es/electron/main.js +116 -0
  243. package/lib-es/electron/plugins/devtool-shortcut.js +26 -0
  244. package/lib-es/electron/plugins/meeting-state.js +32 -0
  245. package/lib-es/electron/plugins/screenshot.js +46 -0
  246. package/lib-es/electron/preload.js +42 -0
  247. package/lib-es/electron/process-manager/constants.js +1 -0
  248. package/lib-es/electron/process-manager/event-manager.js +242 -0
  249. package/lib-es/electron/process-manager/index.js +842 -0
  250. package/lib-es/electron/process-manager/state-manager.js +354 -0
  251. package/lib-es/electron/process-manager/types.js +78 -0
  252. package/lib-es/electron/sdk-helper.js +305 -0
  253. package/lib-es/electron/struct.js +21 -0
  254. package/lib-es/electron/until.js +64 -0
  255. package/lib-es/electron/window-proxy/browser-window-proxy.js +720 -0
  256. package/lib-es/electron/window-proxy/main-process-handler.js +441 -0
  257. package/lib-es/electron/window.js +91 -0
  258. package/lib-es/fragments/annotation/index.js +130 -0
  259. package/lib-es/fragments/annotation/libs.js +86 -0
  260. package/lib-es/fragments/annotation/store.js +866 -0
  261. package/lib-es/fragments/annotation/style.css +9 -0
  262. package/lib-es/fragments/annotation/toolbar/components/color-tool/color-panel/index.js +40 -0
  263. package/lib-es/fragments/annotation/toolbar/components/color-tool/index.js +48 -0
  264. package/lib-es/fragments/annotation/toolbar/components/graphic-tool/graphic-panel/index.js +55 -0
  265. package/lib-es/fragments/annotation/toolbar/components/graphic-tool/graphic-panel/libs.js +57 -0
  266. package/lib-es/fragments/annotation/toolbar/components/graphic-tool/index.js +62 -0
  267. package/lib-es/fragments/annotation/toolbar/components/item/item.js +106 -0
  268. package/lib-es/fragments/annotation/toolbar/components/item/style.css +45 -0
  269. package/lib-es/fragments/annotation/toolbar/components/panel/index.js +15 -0
  270. package/lib-es/fragments/annotation/toolbar/components/panel/style.css +24 -0
  271. package/lib-es/fragments/annotation/toolbar/components/pen-tool/index.js +54 -0
  272. package/lib-es/fragments/annotation/toolbar/components/pen-tool/pen-panel/index.js +28 -0
  273. package/lib-es/fragments/annotation/toolbar/components/tips/index.js +18 -0
  274. package/lib-es/fragments/annotation/toolbar/components/tips/style.css +19 -0
  275. package/lib-es/fragments/annotation/toolbar/store.js +292 -0
  276. package/lib-es/fragments/annotation/toolbar/style.css +55 -0
  277. package/lib-es/fragments/annotation/toolbar/view.js +140 -0
  278. package/lib-es/fragments/annotation/utils.js +20 -0
  279. package/lib-es/fragments/annotation/view.js +59 -0
  280. package/lib-es/fragments/base.js +40 -0
  281. package/lib-es/fragments/whiteboard/cursor.css +77 -0
  282. package/lib-es/fragments/whiteboard/index.js +80 -0
  283. package/lib-es/fragments/whiteboard/store.js +487 -0
  284. package/lib-es/fragments/whiteboard/style.css +4 -0
  285. package/lib-es/fragments/whiteboard/view.js +24 -0
  286. package/lib-es/global.css +62 -0
  287. package/lib-es/global.d.ts +27 -0
  288. package/lib-es/hooks/i18n.js +10 -0
  289. package/lib-es/index.js +38 -0
  290. package/lib-es/modules/action-bar/components/apps/index.js +43 -0
  291. package/lib-es/modules/action-bar/components/board/index.js +25 -0
  292. package/lib-es/modules/action-bar/components/breakout-room/index.js +23 -0
  293. package/lib-es/modules/action-bar/components/chat/index.css +88 -0
  294. package/lib-es/modules/action-bar/components/chat/index.js +126 -0
  295. package/lib-es/modules/action-bar/components/collapse/index.js +203 -0
  296. package/lib-es/modules/action-bar/components/confirm-leave-meeting/index.js +70 -0
  297. package/lib-es/modules/action-bar/components/interpreter/index.js +34 -0
  298. package/lib-es/modules/action-bar/components/item/index.js +158 -0
  299. package/lib-es/modules/action-bar/components/leave/index.js +118 -0
  300. package/lib-es/modules/action-bar/components/live-streaming/index.js +32 -0
  301. package/lib-es/modules/action-bar/components/more/index.css +114 -0
  302. package/lib-es/modules/action-bar/components/more/index.js +79 -0
  303. package/lib-es/modules/action-bar/components/more/poppover-content.js +410 -0
  304. package/lib-es/modules/action-bar/components/notification-bar/assets/dome.png +0 -0
  305. package/lib-es/modules/action-bar/components/notification-bar/assets/fcr_translateswitch.png +0 -0
  306. package/lib-es/modules/action-bar/components/notification-bar/components/interpreter/index.css +58 -0
  307. package/lib-es/modules/action-bar/components/notification-bar/components/interpreter/index.js +93 -0
  308. package/lib-es/modules/action-bar/components/notification-bar/components/virtual-image/index.css +56 -0
  309. package/lib-es/modules/action-bar/components/notification-bar/components/virtual-image/index.js +25 -0
  310. package/lib-es/modules/action-bar/components/notification-bar/index.css +74 -0
  311. package/lib-es/modules/action-bar/components/notification-bar/index.js +96 -0
  312. package/lib-es/modules/action-bar/components/participants/index.css +21 -0
  313. package/lib-es/modules/action-bar/components/participants/index.js +52 -0
  314. package/lib-es/modules/action-bar/components/placement/index.js +10 -0
  315. package/lib-es/modules/action-bar/components/record/index.css +39 -0
  316. package/lib-es/modules/action-bar/components/record/index.js +89 -0
  317. package/lib-es/modules/action-bar/components/record/popover.js +50 -0
  318. package/lib-es/modules/action-bar/components/record/stop-record-dialog.js +41 -0
  319. package/lib-es/modules/action-bar/components/respond/index.js +25 -0
  320. package/lib-es/modules/action-bar/components/screen-share/index.browser.js +61 -0
  321. package/lib-es/modules/action-bar/components/screen-share/index.electron.js +78 -0
  322. package/lib-es/modules/action-bar/components/screen-share/index.js +4 -0
  323. package/lib-es/modules/action-bar/components/screen-share/submenu.js +219 -0
  324. package/lib-es/modules/action-bar/components/security/index.js +42 -0
  325. package/lib-es/modules/action-bar/components/settings/index.js +29 -0
  326. package/lib-es/modules/action-bar/components/smaller/index.js +45 -0
  327. package/lib-es/modules/action-bar/components/trigger-output-language/fcr_translateswitch.png +0 -0
  328. package/lib-es/modules/action-bar/components/trigger-output-language/index.css +86 -0
  329. package/lib-es/modules/action-bar/components/trigger-output-language/index.js +228 -0
  330. package/lib-es/modules/action-bar/components/trigger-subscribe-language/guide-tooltip/index.css +22 -0
  331. package/lib-es/modules/action-bar/components/trigger-subscribe-language/guide-tooltip/index.js +62 -0
  332. package/lib-es/modules/action-bar/components/trigger-subscribe-language/index.js +216 -0
  333. package/lib-es/modules/action-bar/constants.js +1 -0
  334. package/lib-es/modules/action-bar/enums.js +28 -0
  335. package/lib-es/modules/action-bar/index.css +358 -0
  336. package/lib-es/modules/action-bar/main-scene/index.js +123 -0
  337. package/lib-es/modules/action-bar/main-scene/store.base.js +1486 -0
  338. package/lib-es/modules/action-bar/main-scene/store.browser.js +105 -0
  339. package/lib-es/modules/action-bar/main-scene/store.electron.js +94 -0
  340. package/lib-es/modules/action-bar/main-scene/view.js +105 -0
  341. package/lib-es/modules/action-bar/type.js +6 -0
  342. package/lib-es/modules/action-bar/waiting-scene/index.js +94 -0
  343. package/lib-es/modules/action-bar/waiting-scene/store.base.js +88 -0
  344. package/lib-es/modules/action-bar/waiting-scene/store.browser.js +17 -0
  345. package/lib-es/modules/action-bar/waiting-scene/store.electron.js +37 -0
  346. package/lib-es/modules/action-bar/waiting-scene/view.js +116 -0
  347. package/lib-es/modules/audio-stream/index.js +393 -0
  348. package/lib-es/modules/caption/draggable-container/index.css +10 -0
  349. package/lib-es/modules/caption/draggable-container/index.js +159 -0
  350. package/lib-es/modules/caption/index.js +117 -0
  351. package/lib-es/modules/caption/store.js +352 -0
  352. package/lib-es/modules/caption/type.js +7 -0
  353. package/lib-es/modules/caption/view.css +158 -0
  354. package/lib-es/modules/caption/view.js +266 -0
  355. package/lib-es/modules/chat/chat-room-store.js +923 -0
  356. package/lib-es/modules/chat/components/chat-action/index.js +21 -0
  357. package/lib-es/modules/chat/components/chat-bar/index.css +89 -0
  358. package/lib-es/modules/chat/components/chat-bar/index.js +141 -0
  359. package/lib-es/modules/chat/components/chat-select/index.css +185 -0
  360. package/lib-es/modules/chat/components/chat-select/index.js +100 -0
  361. package/lib-es/modules/chat/components/chat-select/select-input/index.js +27 -0
  362. package/lib-es/modules/chat/components/chat-select/select-item/index.js +150 -0
  363. package/lib-es/modules/chat/components/chat-tabs/index.js +53 -0
  364. package/lib-es/modules/chat/components/message-list/chat-empty/index.js +18 -0
  365. package/lib-es/modules/chat/components/message-list/history-unread-message-button/index.js +48 -0
  366. package/lib-es/modules/chat/components/message-list/index.js +327 -0
  367. package/lib-es/modules/chat/components/message-list/message-item/index.js +343 -0
  368. package/lib-es/modules/chat/components/message-list/scroll-bottom-button/index.js +60 -0
  369. package/lib-es/modules/chat/index.css +124 -0
  370. package/lib-es/modules/chat/index.dev.js +71 -0
  371. package/lib-es/modules/chat/index.js +168 -0
  372. package/lib-es/modules/chat/mock.js +276 -0
  373. package/lib-es/modules/chat/store.js +359 -0
  374. package/lib-es/modules/chat/types.js +12 -0
  375. package/lib-es/modules/chat/util.js +63 -0
  376. package/lib-es/modules/chat/view.js +312 -0
  377. package/lib-es/modules/components/annotation-menu/index.js +104 -0
  378. package/lib-es/modules/components/apps/app-item/index.css +49 -0
  379. package/lib-es/modules/components/apps/app-item/index.js +130 -0
  380. package/lib-es/modules/components/apps/app-list.js +49 -0
  381. package/lib-es/modules/components/apps/index.css +9 -0
  382. package/lib-es/modules/components/apps/types.js +1 -0
  383. package/lib-es/modules/components/caption-menu/index.css +58 -0
  384. package/lib-es/modules/components/caption-menu/index.js +108 -0
  385. package/lib-es/modules/components/caption-menu/participants-privilege-control-options.js +65 -0
  386. package/lib-es/modules/components/caption-menu/steps/index.css +73 -0
  387. package/lib-es/modules/components/caption-menu/steps/index.js +49 -0
  388. package/lib-es/modules/components/caption-menu/translation-setting-options.js +180 -0
  389. package/lib-es/modules/components/control-bar/components/loading/index.css +76 -0
  390. package/lib-es/modules/components/control-bar/components/loading/index.js +56 -0
  391. package/lib-es/modules/components/control-bar/components/loading/loading.png +0 -0
  392. package/lib-es/modules/components/control-bar/components/progress/index.js +36 -0
  393. package/lib-es/modules/components/control-bar/components/progress/style.css +51 -0
  394. package/lib-es/modules/components/control-bar/components/switch-theme/index.css +101 -0
  395. package/lib-es/modules/components/control-bar/components/switch-theme/index.js +86 -0
  396. package/lib-es/modules/components/control-bar/components/switch-theme/item.js +46 -0
  397. package/lib-es/modules/components/control-bar/components/switch-theme/libs.js +24 -0
  398. package/lib-es/modules/components/control-bar/index.css +99 -0
  399. package/lib-es/modules/components/control-bar/index.js +357 -0
  400. package/lib-es/modules/components/device-control/components/audio-menu/index.js +167 -0
  401. package/lib-es/modules/components/device-control/components/carmera/index.js +108 -0
  402. package/lib-es/modules/components/device-control/components/microphone/index.js +182 -0
  403. package/lib-es/modules/components/device-control/components/none-menu/index.js +61 -0
  404. package/lib-es/modules/components/device-control/components/phone-menu/index.js +54 -0
  405. package/lib-es/modules/components/device-control/components/video-menu/index.js +105 -0
  406. package/lib-es/modules/components/device-control/hooks/index.js +34 -0
  407. package/lib-es/modules/components/device-control/index.css +177 -0
  408. package/lib-es/modules/components/device-control/index.js +14 -0
  409. package/lib-es/modules/components/device-control/main-scene/store.js +88 -0
  410. package/lib-es/modules/components/device-control/store.base.js +242 -0
  411. package/lib-es/modules/components/device-control/type.js +1 -0
  412. package/lib-es/modules/components/device-control/waiting-scene/store.js +84 -0
  413. package/lib-es/modules/components/leave-meeting/components/assign-host.js +101 -0
  414. package/lib-es/modules/components/leave-meeting/components/index.css +151 -0
  415. package/lib-es/modules/components/leave-meeting/index.js +148 -0
  416. package/lib-es/modules/components/leave-meeting/main-scene/store.js +107 -0
  417. package/lib-es/modules/components/leave-meeting/portal.js +22 -0
  418. package/lib-es/modules/components/leave-meeting/store.base.js +299 -0
  419. package/lib-es/modules/components/leave-meeting/style.css +9 -0
  420. package/lib-es/modules/components/leave-meeting/type.js +1 -0
  421. package/lib-es/modules/components/leave-meeting/waiting-scene/store.js +98 -0
  422. package/lib-es/modules/components/member-window/components/member-actions/components/audio-control.js +35 -0
  423. package/lib-es/modules/components/member-window/components/member-actions/components/icon-buttons/index.js +162 -0
  424. package/lib-es/modules/components/member-window/components/member-actions/components/icon-status.js +80 -0
  425. package/lib-es/modules/components/member-window/components/member-actions/components/layout/index.js +23 -0
  426. package/lib-es/modules/components/member-window/components/member-actions/components/more-actions.js +128 -0
  427. package/lib-es/modules/components/member-window/components/member-actions/components/share-status.js +34 -0
  428. package/lib-es/modules/components/member-window/components/member-actions/components/user-info.js +105 -0
  429. package/lib-es/modules/components/member-window/components/member-actions/components/user-tag.js +51 -0
  430. package/lib-es/modules/components/member-window/components/member-actions/index.js +98 -0
  431. package/lib-es/modules/components/member-window/components/member-actions/libs/index.js +14 -0
  432. package/lib-es/modules/components/member-window/components/member-actions/provider.js +70 -0
  433. package/lib-es/modules/components/member-window/components/member-actions/store.js +430 -0
  434. package/lib-es/modules/components/member-window/components/mic-volume.js +16 -0
  435. package/lib-es/modules/components/member-window/components/video-player/components/local-video-player-with-zoom.js +104 -0
  436. package/lib-es/modules/components/member-window/components/video-player/components/local-video-player.js +1 -0
  437. package/lib-es/modules/components/member-window/components/video-player/components/remote-video-player-with-zoom.js +60 -0
  438. package/lib-es/modules/components/member-window/components/video-player/components/remote-video-player.js +1 -0
  439. package/lib-es/modules/components/member-window/components/video-player/components/zoomable-container.js +223 -0
  440. package/lib-es/modules/components/member-window/components/video-player/index.js +37 -0
  441. package/lib-es/modules/components/member-window/index.css +502 -0
  442. package/lib-es/modules/components/member-window/index.js +179 -0
  443. package/lib-es/modules/components/member-window/types.js +1 -0
  444. package/lib-es/modules/components/security-menu/index.css +42 -0
  445. package/lib-es/modules/components/security-menu/index.js +472 -0
  446. package/lib-es/modules/components/security-menu/store.js +388 -0
  447. package/lib-es/modules/components/security-menu/type.js +1 -0
  448. package/lib-es/modules/components/tab-frame/index.css +40 -0
  449. package/lib-es/modules/components/tab-frame/index.js +51 -0
  450. package/lib-es/modules/components/toolbar/components/capture-tool/index.js +58 -0
  451. package/lib-es/modules/components/toolbar/components/clean-tool/index.js +63 -0
  452. package/lib-es/modules/components/toolbar/components/color-tool/color-panel/index.js +70 -0
  453. package/lib-es/modules/components/toolbar/components/color-tool/index.js +58 -0
  454. package/lib-es/modules/components/toolbar/components/graphic-tool/graphic-panel/index.js +57 -0
  455. package/lib-es/modules/components/toolbar/components/graphic-tool/graphic-panel/libs.js +57 -0
  456. package/lib-es/modules/components/toolbar/components/graphic-tool/index.js +72 -0
  457. package/lib-es/modules/components/toolbar/components/group-tool/index.js +35 -0
  458. package/lib-es/modules/components/toolbar/components/icons/fold-icon.js +33 -0
  459. package/lib-es/modules/components/toolbar/components/icons/move-icon.js +59 -0
  460. package/lib-es/modules/components/toolbar/components/item/index.js +157 -0
  461. package/lib-es/modules/components/toolbar/components/item/style.css +94 -0
  462. package/lib-es/modules/components/toolbar/components/multiple-color-tool/index.js +67 -0
  463. package/lib-es/modules/components/toolbar/components/panel/index.js +21 -0
  464. package/lib-es/modules/components/toolbar/components/panel/style.css +86 -0
  465. package/lib-es/modules/components/toolbar/components/pen-tool/index.js +54 -0
  466. package/lib-es/modules/components/toolbar/components/pen-tool/pen-panel/index.js +32 -0
  467. package/lib-es/modules/components/toolbar/components/save-draft/index.js +51 -0
  468. package/lib-es/modules/components/toolbar/components/vertical-frame/index.js +176 -0
  469. package/lib-es/modules/components/toolbar/hooks/use-resize-visible.js +64 -0
  470. package/lib-es/modules/components/toolbar/index.js +235 -0
  471. package/lib-es/modules/components/toolbar/style.css +85 -0
  472. package/lib-es/modules/components/toolbar/types.js +1 -0
  473. package/lib-es/modules/connection-gateway/components/computer/index.css +12 -0
  474. package/lib-es/modules/connection-gateway/components/computer/index.js +59 -0
  475. package/lib-es/modules/connection-gateway/components/phone/components/callinfo/index.css +36 -0
  476. package/lib-es/modules/connection-gateway/components/phone/components/callinfo/index.js +71 -0
  477. package/lib-es/modules/connection-gateway/components/phone/components/calling/index.css +72 -0
  478. package/lib-es/modules/connection-gateway/components/phone/components/calling/index.js +51 -0
  479. package/lib-es/modules/connection-gateway/components/phone/components/remeber/index.css +10 -0
  480. package/lib-es/modules/connection-gateway/components/phone/components/remeber/index.js +17 -0
  481. package/lib-es/modules/connection-gateway/components/phone/components/useing/index.css +46 -0
  482. package/lib-es/modules/connection-gateway/components/phone/components/useing/index.js +29 -0
  483. package/lib-es/modules/connection-gateway/components/phone/index.css +49 -0
  484. package/lib-es/modules/connection-gateway/components/phone/index.js +177 -0
  485. package/lib-es/modules/connection-gateway/enums.js +5 -0
  486. package/lib-es/modules/connection-gateway/index.css +6 -0
  487. package/lib-es/modules/connection-gateway/index.js +60 -0
  488. package/lib-es/modules/connection-gateway/store.js +709 -0
  489. package/lib-es/modules/connection-gateway/types.js +1 -0
  490. package/lib-es/modules/connection-gateway/view.js +31 -0
  491. package/lib-es/modules/control-bar/components/apps-popover/index.js +34 -0
  492. package/lib-es/modules/control-bar/components/boundary-detector.js +49 -0
  493. package/lib-es/modules/control-bar/components/carmera/index.js +107 -0
  494. package/lib-es/modules/control-bar/components/cloud-recording-buttons.js +109 -0
  495. package/lib-es/modules/control-bar/components/meeting-details/index.css +133 -0
  496. package/lib-es/modules/control-bar/components/meeting-details/index.js +230 -0
  497. package/lib-es/modules/control-bar/components/microphone/index.js +185 -0
  498. package/lib-es/modules/control-bar/components/more-actions/index.css +103 -0
  499. package/lib-es/modules/control-bar/components/more-actions/index.js +158 -0
  500. package/lib-es/modules/control-bar/components/share-audio/index.css +90 -0
  501. package/lib-es/modules/control-bar/components/share-audio/index.js +142 -0
  502. package/lib-es/modules/control-bar/components/share-state-nav/index.css +79 -0
  503. package/lib-es/modules/control-bar/components/share-state-nav/index.js +122 -0
  504. package/lib-es/modules/control-bar/components/stop-live-streaming/index.js +29 -0
  505. package/lib-es/modules/control-bar/components/stop-live-streaming/stop-button.js +28 -0
  506. package/lib-es/modules/control-bar/components/transfer-position-icon/index.js +34 -0
  507. package/lib-es/modules/control-bar/context.js +5 -0
  508. package/lib-es/modules/control-bar/enums.js +27 -0
  509. package/lib-es/modules/control-bar/hooks.js +168 -0
  510. package/lib-es/modules/control-bar/index.css +340 -0
  511. package/lib-es/modules/control-bar/index.dev.js +37 -0
  512. package/lib-es/modules/control-bar/index.js +144 -0
  513. package/lib-es/modules/control-bar/store.js +781 -0
  514. package/lib-es/modules/control-bar/type.js +1 -0
  515. package/lib-es/modules/control-bar/view.js +663 -0
  516. package/lib-es/modules/device-pretest/assets/virtual-backdound-resources.js +14 -0
  517. package/lib-es/modules/device-pretest/audio-preview/microphone-detection.js +64 -0
  518. package/lib-es/modules/device-pretest/audio-preview/speaker-control.js +58 -0
  519. package/lib-es/modules/device-pretest/audio-preview/speaker-detection.js +63 -0
  520. package/lib-es/modules/device-pretest/index.css +123 -0
  521. package/lib-es/modules/device-pretest/index.js +234 -0
  522. package/lib-es/modules/device-pretest/settings/beauty.js +107 -0
  523. package/lib-es/modules/device-pretest/settings/camera-select.js +45 -0
  524. package/lib-es/modules/device-pretest/settings/video-effect.js +43 -0
  525. package/lib-es/modules/device-pretest/settings/video-settings-basic.js +137 -0
  526. package/lib-es/modules/device-pretest/settings/virtual-background-setting.js +94 -0
  527. package/lib-es/modules/device-pretest/store.js +437 -0
  528. package/lib-es/modules/dialog/components/confirm/index.css +24 -0
  529. package/lib-es/modules/dialog/components/confirm/index.js +154 -0
  530. package/lib-es/modules/dialog/components/dialog-container/component/body.js +103 -0
  531. package/lib-es/modules/dialog/components/dialog-container/index.css +112 -0
  532. package/lib-es/modules/dialog/components/dialog-container/index.js +135 -0
  533. package/lib-es/modules/dialog/components/host-area-container/index.js +146 -0
  534. package/lib-es/modules/dialog/components/normal-window/index.js +53 -0
  535. package/lib-es/modules/dialog/dialogs/annotation-tool/index.js +47 -0
  536. package/lib-es/modules/dialog/dialogs/caption/index.js +35 -0
  537. package/lib-es/modules/dialog/dialogs/chat/components/actions.js +36 -0
  538. package/lib-es/modules/dialog/dialogs/chat/index.js +74 -0
  539. package/lib-es/modules/dialog/dialogs/confirm/index.css +24 -0
  540. package/lib-es/modules/dialog/dialogs/confirm/index.js +51 -0
  541. package/lib-es/modules/dialog/dialogs/confirm-leave-meeting/index.js +38 -0
  542. package/lib-es/modules/dialog/dialogs/connection-gateway/index.js +40 -0
  543. package/lib-es/modules/dialog/dialogs/connection-gateway/tabs.js +40 -0
  544. package/lib-es/modules/dialog/dialogs/control-bar/index.js +29 -0
  545. package/lib-es/modules/dialog/dialogs/control-bar-leave-meeting/index.js +33 -0
  546. package/lib-es/modules/dialog/dialogs/device-setting/index.css +26 -0
  547. package/lib-es/modules/dialog/dialogs/device-setting/index.js +36 -0
  548. package/lib-es/modules/dialog/dialogs/end-meeting/index.js +48 -0
  549. package/lib-es/modules/dialog/dialogs/interpreter/index.css +30 -0
  550. package/lib-es/modules/dialog/dialogs/interpreter/index.js +38 -0
  551. package/lib-es/modules/dialog/dialogs/invite/index.js +51 -0
  552. package/lib-es/modules/dialog/dialogs/live-streaming/index.js +30 -0
  553. package/lib-es/modules/dialog/dialogs/mute-all/index.css +20 -0
  554. package/lib-es/modules/dialog/dialogs/mute-all/index.js +42 -0
  555. package/lib-es/modules/dialog/dialogs/participant/components/actions.js +23 -0
  556. package/lib-es/modules/dialog/dialogs/participant/components/title.js +9 -0
  557. package/lib-es/modules/dialog/dialogs/participant/index.js +52 -0
  558. package/lib-es/modules/dialog/dialogs/rename/index.js +43 -0
  559. package/lib-es/modules/dialog/dialogs/sample-dialog/index.js +48 -0
  560. package/lib-es/modules/dialog/dialogs/share-screen-selection/index.js +32 -0
  561. package/lib-es/modules/dialog/dialogs/sub-window/index.js +31 -0
  562. package/lib-es/modules/dialog/dialogs/subtitles-history/index.js +44 -0
  563. package/lib-es/modules/dialog/dialogs/system-preference/assets/bg1.png +0 -0
  564. package/lib-es/modules/dialog/dialogs/system-preference/assets/bg2.png +0 -0
  565. package/lib-es/modules/dialog/dialogs/system-preference/assets/fcr_png_host.png +0 -0
  566. package/lib-es/modules/dialog/dialogs/system-preference/electron.js +31 -0
  567. package/lib-es/modules/dialog/dialogs/system-preference/index.css +52 -0
  568. package/lib-es/modules/dialog/dialogs/system-preference/index.js +130 -0
  569. package/lib-es/modules/dialog/dialogs/toast/index.js +28 -0
  570. package/lib-es/modules/dialog/dialogs/video-window/index.js +55 -0
  571. package/lib-es/modules/dialog/dialogs/whiteboard/index.js +60 -0
  572. package/lib-es/modules/dialog/dialogs/widget/index.js +40 -0
  573. package/lib-es/modules/dialog/hooks/use-web-drag.js +64 -0
  574. package/lib-es/modules/dialog/index.css +56 -0
  575. package/lib-es/modules/dialog/index.js +70 -0
  576. package/lib-es/modules/dialog/level-config.js +11 -0
  577. package/lib-es/modules/dialog/store.base.js +272 -0
  578. package/lib-es/modules/dialog/store.browser.js +135 -0
  579. package/lib-es/modules/dialog/store.electron.js +284 -0
  580. package/lib-es/modules/dialog/type.js +1 -0
  581. package/lib-es/modules/dialog/view.js +28 -0
  582. package/lib-es/modules/event-sound/enum.js +13 -0
  583. package/lib-es/modules/event-sound/index.js +49 -0
  584. package/lib-es/modules/event-sound/sound-effect-player.js +49 -0
  585. package/lib-es/modules/event-sound/store.js +275 -0
  586. package/lib-es/modules/event-sound/type.js +1 -0
  587. package/lib-es/modules/event-toast/index.css +25 -0
  588. package/lib-es/modules/event-toast/index.js +82 -0
  589. package/lib-es/modules/event-toast/store.base.js +193 -0
  590. package/lib-es/modules/event-toast/store.browser.js +23 -0
  591. package/lib-es/modules/event-toast/store.electron.js +138 -0
  592. package/lib-es/modules/event-toast/type.js +1 -0
  593. package/lib-es/modules/event-toast/view.js +37 -0
  594. package/lib-es/modules/interpreter/action/add-btn/index.css +4 -0
  595. package/lib-es/modules/interpreter/action/add-btn/index.js +35 -0
  596. package/lib-es/modules/interpreter/action/delete-btn/index.css +14 -0
  597. package/lib-es/modules/interpreter/action/delete-btn/index.js +31 -0
  598. package/lib-es/modules/interpreter/action/edit-btn/index.js +39 -0
  599. package/lib-es/modules/interpreter/action/switch-btn/index.css +3 -0
  600. package/lib-es/modules/interpreter/action/switch-btn/index.js +44 -0
  601. package/lib-es/modules/interpreter/dialog-content/index.css +33 -0
  602. package/lib-es/modules/interpreter/dialog-content/index.js +30 -0
  603. package/lib-es/modules/interpreter/footer/index.css +11 -0
  604. package/lib-es/modules/interpreter/footer/index.js +18 -0
  605. package/lib-es/modules/interpreter/index.css +4 -0
  606. package/lib-es/modules/interpreter/index.js +109 -0
  607. package/lib-es/modules/interpreter/interpreter-list/index.css +8 -0
  608. package/lib-es/modules/interpreter/interpreter-list/index.js +30 -0
  609. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/index.css +46 -0
  610. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/index.js +173 -0
  611. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ar.png +0 -0
  612. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_cn.png +0 -0
  613. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_de.png +0 -0
  614. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_en.png +0 -0
  615. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_es.png +0 -0
  616. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_fr.png +0 -0
  617. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_hi.png +0 -0
  618. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_id.png +0 -0
  619. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_it.png +0 -0
  620. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_jp.png +0 -0
  621. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ko.png +0 -0
  622. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ms.png +0 -0
  623. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_pt.png +0 -0
  624. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ru.png +0 -0
  625. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_th.png +0 -0
  626. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_tr.png +0 -0
  627. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_vi.png +0 -0
  628. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/index.js +169 -0
  629. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-user/index.css +46 -0
  630. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-user/index.js +120 -0
  631. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-user/option-Item.js +51 -0
  632. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/index.css +32 -0
  633. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/index.js +40 -0
  634. package/lib-es/modules/interpreter/loading-wrapper/index.css +53 -0
  635. package/lib-es/modules/interpreter/loading-wrapper/index.js +20 -0
  636. package/lib-es/modules/interpreter/store.js +614 -0
  637. package/lib-es/modules/interpreter/tooltip-wrapper/index.js +23 -0
  638. package/lib-es/modules/interpreter/type.js +5 -0
  639. package/lib-es/modules/interpreter/utils.js +54 -0
  640. package/lib-es/modules/interpreter/view.js +62 -0
  641. package/lib-es/modules/invite/components/error-tips.js +11 -0
  642. package/lib-es/modules/invite/components/pstn-invite.js +245 -0
  643. package/lib-es/modules/invite/components/voip-invite.css +26 -0
  644. package/lib-es/modules/invite/components/voip-invite.js +265 -0
  645. package/lib-es/modules/invite/enums.js +27 -0
  646. package/lib-es/modules/invite/index.css +331 -0
  647. package/lib-es/modules/invite/index.js +64 -0
  648. package/lib-es/modules/invite/store.js +578 -0
  649. package/lib-es/modules/invite/types.js +1 -0
  650. package/lib-es/modules/invite/view.js +46 -0
  651. package/lib-es/modules/layout/components/Aside.js +208 -0
  652. package/lib-es/modules/layout/components/Carousel.js +192 -0
  653. package/lib-es/modules/layout/components/CommonVideoRenderer.js +265 -0
  654. package/lib-es/modules/layout/components/Gallery.js +256 -0
  655. package/lib-es/modules/layout/components/index.css +653 -0
  656. package/lib-es/modules/layout/components/index.js +5 -0
  657. package/lib-es/modules/layout/components/utils.js +3 -0
  658. package/lib-es/modules/layout/components/who-is-speaking.js +49 -0
  659. package/lib-es/modules/layout/index.css +59 -0
  660. package/lib-es/modules/layout/index.dev.js +313 -0
  661. package/lib-es/modules/layout/index.js +74 -0
  662. package/lib-es/modules/layout/store.base.js +1468 -0
  663. package/lib-es/modules/layout/store.browser.js +49 -0
  664. package/lib-es/modules/layout/store.electron.js +175 -0
  665. package/lib-es/modules/layout/type.js +59 -0
  666. package/lib-es/modules/layout/view.js +149 -0
  667. package/lib-es/modules/live-streaming/index.css +0 -0
  668. package/lib-es/modules/live-streaming/index.dev.js +56 -0
  669. package/lib-es/modules/live-streaming/index.js +60 -0
  670. package/lib-es/modules/live-streaming/store.js +246 -0
  671. package/lib-es/modules/live-streaming/type.js +1 -0
  672. package/lib-es/modules/live-streaming/view.js +26 -0
  673. package/lib-es/modules/notification/index.css +77 -0
  674. package/lib-es/modules/notification/index.js +59 -0
  675. package/lib-es/modules/notification/interpreter-status/index.css +76 -0
  676. package/lib-es/modules/notification/interpreter-status/index.js +55 -0
  677. package/lib-es/modules/notification/store.js +122 -0
  678. package/lib-es/modules/notification/type.js +1 -0
  679. package/lib-es/modules/notification/view.js +127 -0
  680. package/lib-es/modules/offscreen-pulling/index.js +122 -0
  681. package/lib-es/modules/participant/components/can-moveable/index.js +59 -0
  682. package/lib-es/modules/participant/components/confirm-input/index.css +4 -0
  683. package/lib-es/modules/participant/components/confirm-input/index.js +112 -0
  684. package/lib-es/modules/participant/components/mute-all/index.js +67 -0
  685. package/lib-es/modules/participant/components/operate-waitingroom-member/index.js +40 -0
  686. package/lib-es/modules/participant/components/participants/components/footer/components/buttons.js +45 -0
  687. package/lib-es/modules/participant/components/participants/components/footer/components/drop-menu/index.css +83 -0
  688. package/lib-es/modules/participant/components/participants/components/footer/components/drop-menu/index.js +156 -0
  689. package/lib-es/modules/participant/components/participants/components/footer/components/drop-menu/util.js +21 -0
  690. package/lib-es/modules/participant/components/participants/components/footer/index.js +42 -0
  691. package/lib-es/modules/participant/components/participants/components/merge/index.js +40 -0
  692. package/lib-es/modules/participant/components/participants/components/render-tab/index.js +42 -0
  693. package/lib-es/modules/participant/components/participants/components/render-user/components/attendee/components/interpreter-tag/index.js +40 -0
  694. package/lib-es/modules/participant/components/participants/components/render-user/components/attendee/components/microphone-indicator/index.js +21 -0
  695. package/lib-es/modules/participant/components/participants/components/render-user/components/attendee/components/user-avatar/index.js +32 -0
  696. package/lib-es/modules/participant/components/participants/components/render-user/components/attendee/index.css +87 -0
  697. package/lib-es/modules/participant/components/participants/components/render-user/components/attendee/index.js +138 -0
  698. package/lib-es/modules/participant/components/participants/components/render-user/components/user-action/components/audio-button/index.js +25 -0
  699. package/lib-es/modules/participant/components/participants/components/render-user/components/user-action/components/move-actions-popover/index.js +70 -0
  700. package/lib-es/modules/participant/components/participants/components/render-user/components/user-action/components/move-to-mainroom-button/index.js +20 -0
  701. package/lib-es/modules/participant/components/participants/components/render-user/components/user-action/index.js +70 -0
  702. package/lib-es/modules/participant/components/participants/components/render-user/index.js +16 -0
  703. package/lib-es/modules/participant/components/participants/index.js +71 -0
  704. package/lib-es/modules/participant/index.css +102 -0
  705. package/lib-es/modules/participant/index.dev.js +87 -0
  706. package/lib-es/modules/participant/index.js +137 -0
  707. package/lib-es/modules/participant/member-list-data-source.js +297 -0
  708. package/lib-es/modules/participant/store.base.js +2354 -0
  709. package/lib-es/modules/participant/store.browser.js +117 -0
  710. package/lib-es/modules/participant/store.electron.js +124 -0
  711. package/lib-es/modules/participant/struct.js +55 -0
  712. package/lib-es/modules/participant/type.js +7 -0
  713. package/lib-es/modules/participant/view.js +18 -0
  714. package/lib-es/modules/pc-audio-connect/index.css +12 -0
  715. package/lib-es/modules/pc-audio-connect/main-scene/index.js +67 -0
  716. package/lib-es/modules/pc-audio-connect/main-scene/store.js +313 -0
  717. package/lib-es/modules/pc-audio-connect/types.js +1 -0
  718. package/lib-es/modules/pc-audio-connect/view.js +60 -0
  719. package/lib-es/modules/pc-audio-connect/waiting-scene/index.js +61 -0
  720. package/lib-es/modules/pc-audio-connect/waiting-scene/store.js +293 -0
  721. package/lib-es/modules/phone-audio-connect/components/callinfo/index.css +36 -0
  722. package/lib-es/modules/phone-audio-connect/components/callinfo/index.js +71 -0
  723. package/lib-es/modules/phone-audio-connect/components/calling/index.css +72 -0
  724. package/lib-es/modules/phone-audio-connect/components/calling/index.js +51 -0
  725. package/lib-es/modules/phone-audio-connect/components/remeber/index.css +10 -0
  726. package/lib-es/modules/phone-audio-connect/components/remeber/index.js +17 -0
  727. package/lib-es/modules/phone-audio-connect/components/useing/index.css +46 -0
  728. package/lib-es/modules/phone-audio-connect/components/useing/index.js +29 -0
  729. package/lib-es/modules/phone-audio-connect/enums.js +5 -0
  730. package/lib-es/modules/phone-audio-connect/index.css +56 -0
  731. package/lib-es/modules/phone-audio-connect/index.js +52 -0
  732. package/lib-es/modules/phone-audio-connect/store.js +317 -0
  733. package/lib-es/modules/phone-audio-connect/types.js +1 -0
  734. package/lib-es/modules/phone-audio-connect/view.js +177 -0
  735. package/lib-es/modules/secondary-window/index.js +147 -0
  736. package/lib-es/modules/secondary-window/store.js +502 -0
  737. package/lib-es/modules/secondary-window/type.js +28 -0
  738. package/lib-es/modules/secondary-window/view.js +281 -0
  739. package/lib-es/modules/setting/audio-settings/audio-settings.js +292 -0
  740. package/lib-es/modules/setting/audio-settings/index.css +195 -0
  741. package/lib-es/modules/setting/audio-whiteList/audio-device-adaptation.js +62 -0
  742. package/lib-es/modules/setting/audio-whiteList/audio-whiteList-manager.js +368 -0
  743. package/lib-es/modules/setting/caption_and_transcribing/index.css +88 -0
  744. package/lib-es/modules/setting/caption_and_transcribing/index.js +89 -0
  745. package/lib-es/modules/setting/general-settings/general-settings.js +148 -0
  746. package/lib-es/modules/setting/general-settings/index.css +41 -0
  747. package/lib-es/modules/setting/index.css +112 -0
  748. package/lib-es/modules/setting/index.dev.js +120 -0
  749. package/lib-es/modules/setting/index.js +145 -0
  750. package/lib-es/modules/setting/minutes-settings/index.css +65 -0
  751. package/lib-es/modules/setting/minutes-settings/minutes-settings.js +146 -0
  752. package/lib-es/modules/setting/state/index.css +207 -0
  753. package/lib-es/modules/setting/state/index.js +322 -0
  754. package/lib-es/modules/setting/storage-settings/index.css +91 -0
  755. package/lib-es/modules/setting/storage-settings/storage-settings.js +65 -0
  756. package/lib-es/modules/setting/store.base.js +1440 -0
  757. package/lib-es/modules/setting/store.browser.js +43 -0
  758. package/lib-es/modules/setting/store.electron.js +168 -0
  759. package/lib-es/modules/setting/translate-settings/index.css +47 -0
  760. package/lib-es/modules/setting/translate-settings/language-select.js +40 -0
  761. package/lib-es/modules/setting/translate-settings/translate-settings.js +131 -0
  762. package/lib-es/modules/setting/type.js +14 -0
  763. package/lib-es/modules/setting/video-settings/index.css +357 -0
  764. package/lib-es/modules/setting/video-settings/video-settings-basic.js +131 -0
  765. package/lib-es/modules/setting/video-settings/video-settings.js +167 -0
  766. package/lib-es/modules/setting/view.js +147 -0
  767. package/lib-es/modules/share-screen/components/control-bar/index.css +75 -0
  768. package/lib-es/modules/share-screen/components/control-bar/index.js +92 -0
  769. package/lib-es/modules/share-screen/components/control-bar/items/annotation-edit-btn/index.js +38 -0
  770. package/lib-es/modules/share-screen/components/control-bar/items/full-container-btn/index.js +25 -0
  771. package/lib-es/modules/share-screen/components/control-bar/items/original-size-btn/index.js +25 -0
  772. package/lib-es/modules/share-screen/components/control-bar/items/zoom-in-btn/index.js +25 -0
  773. package/lib-es/modules/share-screen/components/control-bar/items/zoom-out-btn/index.js +25 -0
  774. package/lib-es/modules/share-screen/components/selection/index.css +73 -0
  775. package/lib-es/modules/share-screen/components/selection/index.js +220 -0
  776. package/lib-es/modules/share-screen/components/share-scenario/index.js +40 -0
  777. package/lib-es/modules/share-screen/components/share-state-bar/index.css +76 -0
  778. package/lib-es/modules/share-screen/components/share-state-bar/index.js +90 -0
  779. package/lib-es/modules/share-screen/index.css +0 -0
  780. package/lib-es/modules/share-screen/index.dev.js +90 -0
  781. package/lib-es/modules/share-screen/index.js +99 -0
  782. package/lib-es/modules/share-screen/store.base.js +464 -0
  783. package/lib-es/modules/share-screen/store.browser.js +36 -0
  784. package/lib-es/modules/share-screen/store.electron.js +429 -0
  785. package/lib-es/modules/share-screen/type.js +8 -0
  786. package/lib-es/modules/share-screen/view.js +24 -0
  787. package/lib-es/modules/state-bar/assets/fcr_grid_big.svg +3 -0
  788. package/lib-es/modules/state-bar/assets/fcr_listontop_big.svg +3 -0
  789. package/lib-es/modules/state-bar/assets/live-streaming.gif +0 -0
  790. package/lib-es/modules/state-bar/index.css +706 -0
  791. package/lib-es/modules/state-bar/index.dev.js +78 -0
  792. package/lib-es/modules/state-bar/index.js +41 -0
  793. package/lib-es/modules/state-bar/layout-config.js +168 -0
  794. package/lib-es/modules/state-bar/live-streaming-state.js +169 -0
  795. package/lib-es/modules/state-bar/main-scene/index.js +39 -0
  796. package/lib-es/modules/state-bar/main-scene/store.base.js +137 -0
  797. package/lib-es/modules/state-bar/main-scene/store.browser.js +80 -0
  798. package/lib-es/modules/state-bar/main-scene/store.electron.js +107 -0
  799. package/lib-es/modules/state-bar/meeting-detail.css +137 -0
  800. package/lib-es/modules/state-bar/meeting-details.js +219 -0
  801. package/lib-es/modules/state-bar/meeting-network-state.css +150 -0
  802. package/lib-es/modules/state-bar/meeting-network-state.js +107 -0
  803. package/lib-es/modules/state-bar/meeting-time.js +25 -0
  804. package/lib-es/modules/state-bar/network-quality.js +26 -0
  805. package/lib-es/modules/state-bar/recording.js +103 -0
  806. package/lib-es/modules/state-bar/store.base.electron.js +108 -0
  807. package/lib-es/modules/state-bar/store.base.js +616 -0
  808. package/lib-es/modules/state-bar/subtitles-history-state.js +101 -0
  809. package/lib-es/modules/state-bar/type.js +1 -0
  810. package/lib-es/modules/state-bar/view.js +241 -0
  811. package/lib-es/modules/state-bar/waiting-scene/index.js +39 -0
  812. package/lib-es/modules/state-bar/waiting-scene/store.base.js +48 -0
  813. package/lib-es/modules/state-bar/waiting-scene/store.browser.js +80 -0
  814. package/lib-es/modules/state-bar/waiting-scene/store.electron.js +99 -0
  815. package/lib-es/modules/subtitles-history/components/actions.js +29 -0
  816. package/lib-es/modules/subtitles-history/components/list-item.js +95 -0
  817. package/lib-es/modules/subtitles-history/components/list.js +175 -0
  818. package/lib-es/modules/subtitles-history/components/respond-dialog-content.js +36 -0
  819. package/lib-es/modules/subtitles-history/components/settings/index.css +5 -0
  820. package/lib-es/modules/subtitles-history/components/settings/index.js +46 -0
  821. package/lib-es/modules/subtitles-history/components/timer.js +36 -0
  822. package/lib-es/modules/subtitles-history/components/title.js +8 -0
  823. package/lib-es/modules/subtitles-history/empty.js +14 -0
  824. package/lib-es/modules/subtitles-history/index.css +129 -0
  825. package/lib-es/modules/subtitles-history/index.js +89 -0
  826. package/lib-es/modules/subtitles-history/store.base.js +790 -0
  827. package/lib-es/modules/subtitles-history/store.electron.js +148 -0
  828. package/lib-es/modules/subtitles-history/type.js +1 -0
  829. package/lib-es/modules/subtitles-history/view.js +96 -0
  830. package/lib-es/modules/video-window/components/deviceState/index.js +68 -0
  831. package/lib-es/modules/video-window/components/members/index.css +51 -0
  832. package/lib-es/modules/video-window/components/members/index.js +116 -0
  833. package/lib-es/modules/video-window/components/speaking/index.css +86 -0
  834. package/lib-es/modules/video-window/components/speaking/index.js +40 -0
  835. package/lib-es/modules/video-window/components/topControl/index.css +35 -0
  836. package/lib-es/modules/video-window/components/topControl/index.js +68 -0
  837. package/lib-es/modules/video-window/index.css +21 -0
  838. package/lib-es/modules/video-window/index.js +82 -0
  839. package/lib-es/modules/video-window/popover-watcher.js +69 -0
  840. package/lib-es/modules/video-window/store.js +512 -0
  841. package/lib-es/modules/video-window/type.js +19 -0
  842. package/lib-es/modules/video-window/view.js +107 -0
  843. package/lib-es/modules/waiting-room-layout/index.css +96 -0
  844. package/lib-es/modules/waiting-room-layout/index.js +67 -0
  845. package/lib-es/modules/waiting-room-layout/store.js +231 -0
  846. package/lib-es/modules/waiting-room-layout/view.js +87 -0
  847. package/lib-es/modules/whiteboard/components/control-bar/index.css +52 -0
  848. package/lib-es/modules/whiteboard/components/control-bar/index.js +151 -0
  849. package/lib-es/modules/whiteboard/components/control-bar/store.js +298 -0
  850. package/lib-es/modules/whiteboard/components/loading/index.css +76 -0
  851. package/lib-es/modules/whiteboard/components/loading/index.js +57 -0
  852. package/lib-es/modules/whiteboard/components/loading/loading.png +0 -0
  853. package/lib-es/modules/whiteboard/components/multi-window/index.css +63 -0
  854. package/lib-es/modules/whiteboard/components/multi-window/index.js +31 -0
  855. package/lib-es/modules/whiteboard/components/pagination/index.css +228 -0
  856. package/lib-es/modules/whiteboard/components/pagination/index.js +155 -0
  857. package/lib-es/modules/whiteboard/components/pagination/store.js +10 -0
  858. package/lib-es/modules/whiteboard/components/progress/index.js +36 -0
  859. package/lib-es/modules/whiteboard/components/progress/style.css +51 -0
  860. package/lib-es/modules/whiteboard/components/scene-pagination.js +23 -0
  861. package/lib-es/modules/whiteboard/components/switch-theme/index.css +99 -0
  862. package/lib-es/modules/whiteboard/components/switch-theme/index.js +89 -0
  863. package/lib-es/modules/whiteboard/components/switch-theme/item.js +46 -0
  864. package/lib-es/modules/whiteboard/components/switch-theme/libs.js +24 -0
  865. package/lib-es/modules/whiteboard/components/toolbar/components/color-picker/components/color.js +30 -0
  866. package/lib-es/modules/whiteboard/components/toolbar/components/color-picker/components/panel.js +101 -0
  867. package/lib-es/modules/whiteboard/components/toolbar/components/color-picker/components/picker.js +67 -0
  868. package/lib-es/modules/whiteboard/components/toolbar/components/color-picker/index.js +40 -0
  869. package/lib-es/modules/whiteboard/components/toolbar/components/eraser-picker.js +136 -0
  870. package/lib-es/modules/whiteboard/components/toolbar/components/expansion/index.js +85 -0
  871. package/lib-es/modules/whiteboard/components/toolbar/components/extra-tool-picker.js +46 -0
  872. package/lib-es/modules/whiteboard/components/toolbar/components/history.js +70 -0
  873. package/lib-es/modules/whiteboard/components/toolbar/components/icons/fold-icon.js +33 -0
  874. package/lib-es/modules/whiteboard/components/toolbar/components/icons/move-icon.js +59 -0
  875. package/lib-es/modules/whiteboard/components/toolbar/components/item/index.js +35 -0
  876. package/lib-es/modules/whiteboard/components/toolbar/components/move-handle.js +127 -0
  877. package/lib-es/modules/whiteboard/components/toolbar/components/pen-picker.js +147 -0
  878. package/lib-es/modules/whiteboard/components/toolbar/components/screen-capture-picker.js +78 -0
  879. package/lib-es/modules/whiteboard/components/toolbar/components/shape-picker.js +202 -0
  880. package/lib-es/modules/whiteboard/components/toolbar/hooks/index.js +285 -0
  881. package/lib-es/modules/whiteboard/components/toolbar/index.js +72 -0
  882. package/lib-es/modules/whiteboard/components/toolbar/store.js +484 -0
  883. package/lib-es/modules/whiteboard/components/toolbar/style.css +591 -0
  884. package/lib-es/modules/whiteboard/context.js +28 -0
  885. package/lib-es/modules/whiteboard/index.js +67 -0
  886. package/lib-es/modules/whiteboard/libs/theme.js +24 -0
  887. package/lib-es/modules/whiteboard/store.browser.js +20 -0
  888. package/lib-es/modules/whiteboard/store.electron.js +163 -0
  889. package/lib-es/modules/whiteboard/store.js +457 -0
  890. package/lib-es/modules/whiteboard/style.css +140 -0
  891. package/lib-es/modules/whiteboard/type.js +52 -0
  892. package/lib-es/modules/whiteboard/utils.js +29 -0
  893. package/lib-es/modules/whiteboard/view.js +105 -0
  894. package/lib-es/modules/widget/index.css +9 -0
  895. package/lib-es/modules/widget/index.js +129 -0
  896. package/lib-es/modules/widget/store.base.js +35 -0
  897. package/lib-es/modules/widget/store.browser.js +74 -0
  898. package/lib-es/modules/widget/store.electron.js +127 -0
  899. package/lib-es/modules/widget/type.js +1 -0
  900. package/lib-es/modules/widget/view.js +49 -0
  901. package/lib-es/modules/widget/web-widget.js +263 -0
  902. package/lib-es/object-manager.js +194 -0
  903. package/lib-es/plugins/browser-runtime-plugin.js +0 -0
  904. package/lib-es/plugins/css-preset-plugin.js +18 -0
  905. package/lib-es/plugins/electron-rtc-plugin.js +3 -0
  906. package/lib-es/plugins/module-dev-plugin.js +162 -0
  907. package/lib-es/plugins/multi-lang-plugin.js +18 -0
  908. package/lib-es/plugins/rtm-plugin.js +3 -0
  909. package/lib-es/plugins/web-rtc-plugin.js +3 -0
  910. package/lib-es/providers/ability-provider.js +76 -0
  911. package/lib-es/providers/annotation/provider.js +61 -0
  912. package/lib-es/providers/annotation/type.js +1 -0
  913. package/lib-es/providers/app-list-provider.js +392 -0
  914. package/lib-es/providers/board-share/bar-control/base.js +318 -0
  915. package/lib-es/providers/board-share/bar-control/browser.js +34 -0
  916. package/lib-es/providers/board-share/bar-control/electron.js +211 -0
  917. package/lib-es/providers/board-share/provider.base.js +406 -0
  918. package/lib-es/providers/board-share/provider.browser.js +147 -0
  919. package/lib-es/providers/board-share/provider.electron.js +162 -0
  920. package/lib-es/providers/board-share/struct.js +16 -0
  921. package/lib-es/providers/board-share/type.js +1 -0
  922. package/lib-es/providers/chat-provider.js +166 -0
  923. package/lib-es/providers/device-privilege-provider.js +402 -0
  924. package/lib-es/providers/device-provider.js +2148 -0
  925. package/lib-es/providers/device-stream-provider.js +418 -0
  926. package/lib-es/providers/dialog/provider.base.js +282 -0
  927. package/lib-es/providers/dialog/provider.browser.js +160 -0
  928. package/lib-es/providers/dialog/provider.electron.js +273 -0
  929. package/lib-es/providers/dialog/type.js +8 -0
  930. package/lib-es/providers/event-provider.js +50 -0
  931. package/lib-es/providers/facility/provider.base.js +152 -0
  932. package/lib-es/providers/facility/provider.browser.js +67 -0
  933. package/lib-es/providers/facility/provider.electron.js +83 -0
  934. package/lib-es/providers/facility/struct.js +6 -0
  935. package/lib-es/providers/facility/type.js +1 -0
  936. package/lib-es/providers/interpreter-provider.js +955 -0
  937. package/lib-es/providers/local-storage-provider.js +37 -0
  938. package/lib-es/providers/message/provider.js +97 -0
  939. package/lib-es/providers/message/struct.js +5 -0
  940. package/lib-es/providers/message/type.js +1 -0
  941. package/lib-es/providers/monitor-provider.js +22 -0
  942. package/lib-es/providers/mouse-detect/provider.js +312 -0
  943. package/lib-es/providers/mouse-detect/struct.js +5 -0
  944. package/lib-es/providers/mouse-detect/type.js +1 -0
  945. package/lib-es/providers/multi-display-provider.js +603 -0
  946. package/lib-es/providers/phone-audio-provider.js +512 -0
  947. package/lib-es/providers/privilege-provider.js +1158 -0
  948. package/lib-es/providers/renderer-provider.js +310 -0
  949. package/lib-es/providers/room-provider/room-provider.js +730 -0
  950. package/lib-es/providers/room-provider/waiting-room-control-manager.js +224 -0
  951. package/lib-es/providers/screen-share/constant.js +1 -0
  952. package/lib-es/providers/screen-share/provider.base.js +511 -0
  953. package/lib-es/providers/screen-share/provider.browser.js +290 -0
  954. package/lib-es/providers/screen-share/provider.electron.js +486 -0
  955. package/lib-es/providers/screen-share/strategy/browser.js +306 -0
  956. package/lib-es/providers/screen-share/strategy/electron.js +364 -0
  957. package/lib-es/providers/screen-share/strategy/type.js +31 -0
  958. package/lib-es/providers/screen-share/stream-state-sync.js +312 -0
  959. package/lib-es/providers/screen-share/struct.js +60 -0
  960. package/lib-es/providers/screen-share/type.js +1 -0
  961. package/lib-es/providers/session-provider.js +42 -0
  962. package/lib-es/providers/setting-storage/provider.base.js +6 -0
  963. package/lib-es/providers/setting-storage/provider.browser.js +57 -0
  964. package/lib-es/providers/setting-storage/provider.electron.js +55 -0
  965. package/lib-es/providers/setting-storage/type.js +1 -0
  966. package/lib-es/providers/stt-provider/stt-provider.js +1000 -0
  967. package/lib-es/providers/stt-provider/type.js +14 -0
  968. package/lib-es/providers/widget-provider.js +236 -0
  969. package/lib-es/providers/window/main-window.js +259 -0
  970. package/lib-es/providers/window/provider.js +158 -0
  971. package/lib-es/providers/window/renderer-window.js +576 -0
  972. package/lib-es/providers/window/type.js +1 -0
  973. package/lib-es/runtime.js +1 -0
  974. package/lib-es/scenes/main-scene.js +696 -0
  975. package/lib-es/scenes/type.js +1 -0
  976. package/lib-es/scenes/waiting-scene.js +155 -0
  977. package/lib-es/schema.js +88 -0
  978. package/lib-es/shared-context/board-context.js +7 -0
  979. package/lib-es/shared-context/dialog-context.js +3 -0
  980. package/lib-es/shared-context/video-track-render-context.js +2 -0
  981. package/lib-es/shared-data/app-list-data.js +122 -0
  982. package/lib-es/shared-data/chat-data.js +135 -0
  983. package/lib-es/shared-data/config.js +38 -0
  984. package/lib-es/shared-data/confirm-data.js +195 -0
  985. package/lib-es/shared-data/device-privilege-data.js +18 -0
  986. package/lib-es/shared-data/interpreter.js +235 -0
  987. package/lib-es/shared-data/layout-data.js +211 -0
  988. package/lib-es/shared-data/meeting-time.js +409 -0
  989. package/lib-es/shared-data/member-data.js +482 -0
  990. package/lib-es/shared-data/pin-data.js +107 -0
  991. package/lib-es/shared-data/screen-share/index.js +188 -0
  992. package/lib-es/shared-data/screen-share/type.js +1 -0
  993. package/lib-es/shared-data/security-data.js +153 -0
  994. package/lib-es/shared-data/setting.js +244 -0
  995. package/lib-es/shared-data/speaker-spotlight.js +11 -0
  996. package/lib-es/shared-data/stt-setting.ts/constant.js +27 -0
  997. package/lib-es/shared-data/stt-setting.ts/index.js +195 -0
  998. package/lib-es/shared-data/stt-setting.ts/type.js +7 -0
  999. package/lib-es/shared-data/video-window.js +1248 -0
  1000. package/lib-es/shared-data/waiting-room.js +216 -0
  1001. package/lib-es/shared-data/widget-data.js +42 -0
  1002. package/lib-es/translations/enUS.js +2075 -0
  1003. package/lib-es/translations/zhCN.js +2073 -0
  1004. package/lib-es/type.js +149 -0
  1005. package/lib-es/ui-manager.js +213 -0
  1006. package/lib-es/ui-scene-switch.js +572 -0
  1007. package/lib-es/utilities/browser-api.js +74 -0
  1008. package/lib-es/utilities/constant.js +190 -0
  1009. package/lib-es/utilities/debug.js +33 -0
  1010. package/lib-es/utilities/default-config.js +89 -0
  1011. package/lib-es/utilities/dialog-utils.js +210 -0
  1012. package/lib-es/utilities/focus-helper.js +26 -0
  1013. package/lib-es/utilities/hooks.js +82 -0
  1014. package/lib-es/utilities/i18n-common-data.js +7 -0
  1015. package/lib-es/utilities/logger.js +48 -0
  1016. package/lib-es/utilities/meeting-detail.js +74 -0
  1017. package/lib-es/utilities/mute-action.js +41 -0
  1018. package/lib-es/utilities/package-info.js +7 -0
  1019. package/lib-es/utilities/parameters.js +47 -0
  1020. package/lib-es/utilities/platform.js +7 -0
  1021. package/lib-es/utilities/privilege.js +21 -0
  1022. package/lib-es/utilities/regex.js +7 -0
  1023. package/lib-es/utilities/renderer.js +430 -0
  1024. package/lib-es/utilities/shared-storage.js +56 -0
  1025. package/lib-es/utilities/tools.js +252 -0
  1026. package/lib-es/utilities/ui-resources.js +84 -0
  1027. package/lib-es/utilities/useNamespace.js +59 -0
  1028. package/lib-es/utilities/validate-params.js +9 -0
  1029. package/package.json +85 -79
  1030. package/public/assets/fcr_chat_reddot.svg +5 -5
  1031. package/public/assets/fcr_grid_big.svg +3 -3
  1032. package/public/assets/fcr_leave2.svg +58 -58
  1033. package/public/assets/fcr_listontop_big.svg +3 -3
  1034. package/public/assets/step-gradient.svg +10 -10
  1035. package/public/fragment.html +10 -10
  1036. package/public/index.html +107 -183
  1037. package/public/index.vite.html +109 -0
  1038. package/public/js/init.js +75 -0
  1039. package/public/{meeting-manager.js → js/meeting-manager.js} +405 -405
@@ -0,0 +1,1486 @@
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.filter.js";
7
+ import "core-js/modules/es.array.is-array.js";
8
+ import "core-js/modules/es.date.to-primitive.js";
9
+ import "core-js/modules/es.function.name.js";
10
+ import "core-js/modules/es.map.js";
11
+ import "core-js/modules/es.number.constructor.js";
12
+ import "core-js/modules/es.object.create.js";
13
+ import "core-js/modules/es.object.define-properties.js";
14
+ import "core-js/modules/es.object.define-property.js";
15
+ import "core-js/modules/es.object.get-own-property-descriptor.js";
16
+ import "core-js/modules/es.object.get-own-property-descriptors.js";
17
+ import "core-js/modules/es.object.keys.js";
18
+ import "core-js/modules/esnext.function.metadata.js";
19
+ import "core-js/modules/esnext.iterator.filter.js";
20
+ import "core-js/modules/esnext.map.delete-all.js";
21
+ import "core-js/modules/esnext.map.emplace.js";
22
+ import "core-js/modules/esnext.map.every.js";
23
+ import "core-js/modules/esnext.map.filter.js";
24
+ import "core-js/modules/esnext.map.find.js";
25
+ import "core-js/modules/esnext.map.find-key.js";
26
+ import "core-js/modules/esnext.map.includes.js";
27
+ import "core-js/modules/esnext.map.key-of.js";
28
+ import "core-js/modules/esnext.map.map-keys.js";
29
+ import "core-js/modules/esnext.map.map-values.js";
30
+ import "core-js/modules/esnext.map.merge.js";
31
+ import "core-js/modules/esnext.map.reduce.js";
32
+ import "core-js/modules/esnext.map.some.js";
33
+ import "core-js/modules/esnext.map.update.js";
34
+ import "core-js/modules/esnext.symbol.metadata.js";
35
+ import _typeof from "@babel/runtime/helpers/typeof";
36
+ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
37
+ import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
38
+ import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
39
+ import _createClass from "@babel/runtime/helpers/createClass";
40
+ import _defineProperty from "@babel/runtime/helpers/defineProperty";
41
+ var _ActionBarMainSceneStoreBase;
42
+ var _initProto, _init_newMessageTooltipVisible, _init_totalWaitingRoomUser, _init_liveStreamingState, _init_currentMenuIs, _init_cloudRecordingState, _init_connectionSettingVisible, _init_folded, _init_showArrow, _init_phoneMicEnabled, _init_chatTabIndex, _init_hasOfflineUserExistence, _init_connectionState, _init_appActionbarPopoverVisible, _init_stateBarLeaveMeeting, _setCheckedStateMapDecs, _setStateBarLeaveMeetingDecs, _setPopoverOpenedDecs, _pauseCloudRecordingDecs, _resumeCloudRecordingDecs, _stopCloudRecordingDecs, _showLockedRoomToastDecs, _toggleLayoutBarLockDecs, _showNewMessageTooltipDecs, _hideNewMessageTooltipDecs, _switchMenuDecs, _handleJoinWaitingRoomDecs, _toggleFoldDecs, _setShowArrowDecs, _setEnableWaitingRoomDecs, _kickOutWaitingRoomAllMemberDecs, _moveToMainRoomAllMemberDecs, _handleRemoteUsersJoinedDecs, _handleRemoteUsersLeftDecs, _handleLiveStreamingStateUpdatedDecs, _handleChatVisibleDecs, _setAppActionbarPopoverVisibleDecs, _operateWaitingRoomDecs, _handleCloudRecordingStateUpdatedDecs, _setOutputLanguageDecs, _setEndMeetingPopoverOpenedDecs, _subscribeLanguageDecs, _subscribeExtraOriginLanguageDecs, _getOfflineUserExistenceStateDecs, _clickWidgetDecs, _closeWidgetDecs, _ref;
43
+ import _regeneratorRuntime from "@babel/runtime/regenerator";
44
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
45
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
46
+ import "core-js/modules/es.array.find.js";
47
+ import "core-js/modules/es.array.for-each.js";
48
+ import "core-js/modules/es.array.iterator.js";
49
+ import "core-js/modules/es.array.push.js";
50
+ import "core-js/modules/es.array.reduce.js";
51
+ import "core-js/modules/es.array.some.js";
52
+ import "core-js/modules/es.function.bind.js";
53
+ import "core-js/modules/es.object.to-string.js";
54
+ import "core-js/modules/es.object.values.js";
55
+ import "core-js/modules/es.string.iterator.js";
56
+ import "core-js/modules/es.weak-map.js";
57
+ import "core-js/modules/esnext.iterator.constructor.js";
58
+ import "core-js/modules/esnext.iterator.find.js";
59
+ import "core-js/modules/esnext.iterator.for-each.js";
60
+ import "core-js/modules/esnext.iterator.reduce.js";
61
+ import "core-js/modules/esnext.iterator.some.js";
62
+ import "core-js/modules/esnext.weak-map.delete-all.js";
63
+ import "core-js/modules/esnext.weak-map.emplace.js";
64
+ import "core-js/modules/web.dom-collections.for-each.js";
65
+ import "core-js/modules/web.dom-collections.iterator.js";
66
+ import "core-js/modules/web.timers.js";
67
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
68
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
69
+ function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
70
+ function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
71
+ 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"); }
72
+ 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)]; } }; }
73
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
74
+ 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); }
75
+ 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; }
76
+ 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; }
77
+ import { createContext } from 'react';
78
+ import { action, computed, observable, reaction } from 'mobx';
79
+ import { FcrRoomType } from 'fcr-core/lib/room-control/type';
80
+ import { createLogger } from 'agora-foundation/lib/logger';
81
+ import { FcrUIRoomType, FcrWidgetType } from '../../../type';
82
+ import { FcrConnectionState, FcrUserRole } from 'fcr-core/lib/type';
83
+ import { MoreMenuType } from '../enums';
84
+ import { FcrUIObjectKeys } from '../../../object-manager';
85
+ import { bound, debounced } from 'agora-foundation/lib/decorator';
86
+ import { transI18n } from 'agora-ui-foundation/lib/i18n';
87
+ import { FcrUIAction, FcrUIDialogKey } from '../../../utilities/constant';
88
+ import { isElectron } from 'agora-foundation/lib/utilities/env';
89
+ import { FcrIconType } from 'agora-ui-foundation/lib/components/icon/type';
90
+ import { cloudRecordingConfig } from '../../../utilities/default-config';
91
+ import { FcrUISystemPereferencesType } from '../../../providers/facility/struct';
92
+ var _A = /*#__PURE__*/new WeakMap();
93
+ var _B = /*#__PURE__*/new WeakMap();
94
+ var _C = /*#__PURE__*/new WeakMap();
95
+ var _D = /*#__PURE__*/new WeakMap();
96
+ var _E = /*#__PURE__*/new WeakMap();
97
+ var _F = /*#__PURE__*/new WeakMap();
98
+ var _G = /*#__PURE__*/new WeakMap();
99
+ var _H = /*#__PURE__*/new WeakMap();
100
+ var _I = /*#__PURE__*/new WeakMap();
101
+ var _J = /*#__PURE__*/new WeakMap();
102
+ var _K = /*#__PURE__*/new WeakMap();
103
+ var _L = /*#__PURE__*/new WeakMap();
104
+ var _M = /*#__PURE__*/new WeakMap();
105
+ var _N = /*#__PURE__*/new WeakMap();
106
+ _ref = (_setCheckedStateMapDecs = [action, action.bound], _setStateBarLeaveMeetingDecs = [action, action.bound], _setPopoverOpenedDecs = [action, action.bound], _pauseCloudRecordingDecs = [bound, debounced(500, {
107
+ leading: true
108
+ })], _resumeCloudRecordingDecs = [bound, debounced(500, {
109
+ leading: true
110
+ })], _stopCloudRecordingDecs = [bound, debounced(500, {
111
+ leading: true
112
+ })], _showLockedRoomToastDecs = [action, action.bound], _toggleLayoutBarLockDecs = [action, action.bound], _showNewMessageTooltipDecs = [action, action.bound], _hideNewMessageTooltipDecs = [action, action.bound], _switchMenuDecs = [action, action.bound], _handleJoinWaitingRoomDecs = [action, action.bound], _toggleFoldDecs = [action, action.bound], _setShowArrowDecs = [action, action.bound], _setEnableWaitingRoomDecs = [action, action.bound], _kickOutWaitingRoomAllMemberDecs = [action, action.bound], _moveToMainRoomAllMemberDecs = [action, action.bound], _handleRemoteUsersJoinedDecs = [action, action.bound], _handleRemoteUsersLeftDecs = [action, action.bound], _handleLiveStreamingStateUpdatedDecs = [action, action.bound], _handleChatVisibleDecs = [action, action.bound], _setAppActionbarPopoverVisibleDecs = [action, action.bound], _operateWaitingRoomDecs = [action, action.bound], _handleCloudRecordingStateUpdatedDecs = [action, action.bound], _setOutputLanguageDecs = [action, action.bound], _setEndMeetingPopoverOpenedDecs = [action, action.bound], _subscribeLanguageDecs = [action, action.bound], _subscribeExtraOriginLanguageDecs = [action, action.bound], _getOfflineUserExistenceStateDecs = [action, action.bound], _clickWidgetDecs = [action, action.bound], _closeWidgetDecs = [action, action.bound], "logger");
113
+ export var ActionBarMainSceneStoreBase = /*#__PURE__*/function () {
114
+ function ActionBarMainSceneStoreBase(_ref2) {
115
+ var _this = this,
116
+ _this$_roomControl$ge;
117
+ var objectManager = _ref2.objectManager;
118
+ _classCallCheck(this, ActionBarMainSceneStoreBase);
119
+ _defineProperty(this, _ref, (_initProto(this), createLogger({
120
+ prefix: 'ActionBarStore'
121
+ })));
122
+ _defineProperty(this, "_disposers", []);
123
+ _defineProperty(this, "_userObserver", {
124
+ onRemoteUsersJoined: this._handleRemoteUsersJoined,
125
+ onRemoteUsersLeft: this._handleRemoteUsersLeft
126
+ });
127
+ _defineProperty(this, "_roomObserver", {
128
+ onJoinWaitingRoom: this._handleJoinWaitingRoom.bind(this)
129
+ });
130
+ _defineProperty(this, "_mainRoomObserver", {
131
+ onLiveStreamingStateUpdated: this._handleLiveStreamingStateUpdated,
132
+ onCloudRecordingStateUpdated: this._handleCloudRecordingStateUpdated
133
+ });
134
+ _defineProperty(this, "_uiEventObserver", {
135
+ onEvent: this._onEvent
136
+ });
137
+ _defineProperty(this, "_dialogObserver", {
138
+ onDialogOpen: this._handleDialogOpen,
139
+ onDialogClose: this._handleDialogClose
140
+ });
141
+ _defineProperty(this, "_newMessageTooltipTimer", null);
142
+ _defineProperty(this, "_hideBarArrowTimer", null);
143
+ _defineProperty(this, "_interpreterProviderObserver", {
144
+ onInterpreterListUpdated: function onInterpreterListUpdated() {
145
+ _this.hasOfflineUserExistence = _this.getOfflineUserExistenceState();
146
+ }
147
+ });
148
+ _defineProperty(this, "_applistObserver", {
149
+ onApplistItemClick: this._handleApplistItemClick.bind(this)
150
+ });
151
+ _classPrivateFieldInitSpec(this, _A, _init_newMessageTooltipVisible(this, false));
152
+ _classPrivateFieldInitSpec(this, _B, _init_totalWaitingRoomUser(this, 0));
153
+ _classPrivateFieldInitSpec(this, _C, _init_liveStreamingState(this));
154
+ _classPrivateFieldInitSpec(this, _D, _init_currentMenuIs(this, MoreMenuType.DEFAULT));
155
+ _classPrivateFieldInitSpec(this, _E, _init_cloudRecordingState(this));
156
+ _classPrivateFieldInitSpec(this, _F, _init_connectionSettingVisible(this, false));
157
+ _classPrivateFieldInitSpec(this, _G, _init_folded(this, false));
158
+ _classPrivateFieldInitSpec(this, _H, _init_showArrow(this, false));
159
+ _classPrivateFieldInitSpec(this, _I, _init_phoneMicEnabled(this, false));
160
+ _classPrivateFieldInitSpec(this, _J, _init_chatTabIndex(this, FcrUIRoomType.MAIN_ROOM));
161
+ _classPrivateFieldInitSpec(this, _K, _init_hasOfflineUserExistence(this, true));
162
+ _classPrivateFieldInitSpec(this, _L, _init_connectionState(this, FcrConnectionState.CONNECTED));
163
+ _classPrivateFieldInitSpec(this, _M, _init_appActionbarPopoverVisible(this, false));
164
+ _classPrivateFieldInitSpec(this, _N, _init_stateBarLeaveMeeting(this, false));
165
+ this._sharedLayoutDataSource = objectManager.getObject(FcrUIObjectKeys.S_SHARED_LAYOUT_DATA_SOURCE);
166
+ this._eventProvider = objectManager.getObject(FcrUIObjectKeys.P_EVENT_PROVIDER);
167
+ this._screenShareProvider = objectManager.getObject(FcrUIObjectKeys.P_SCREEN_SHARE_PROVIDER);
168
+ this._roomProvider = objectManager.getObject(FcrUIObjectKeys.P_ROOM_PROVIDER);
169
+ this._roomControl = this._roomProvider.currentRoomControl;
170
+ this._deviceProvider = objectManager.getObject(FcrUIObjectKeys.P_DEVICE_PROVIDER);
171
+ this._dialogProvider = objectManager.getObject(FcrUIObjectKeys.P_DIALOG_PROVIDER);
172
+ this._messageProvider = objectManager.getObject(FcrUIObjectKeys.P_MESSAGE_PROVIDER);
173
+ this._privilegeProvider = objectManager.getObject(FcrUIObjectKeys.P_PRIVILEGE_PROVIDER);
174
+ this._deviceStreamProvider = objectManager.getObject(FcrUIObjectKeys.P_DEVICE_STREAM_PROVIDER);
175
+ this._sharedWaitingRoomDataSource = objectManager.getObject(FcrUIObjectKeys.S_SHARED_WAITING_ROOM_DATA_SOURCE);
176
+ this._sharedInterpreterDataSource = objectManager.getObject(FcrUIObjectKeys.S_SHARED_INTERPRETER_DATA_SOURCE);
177
+ this._sharedChatDataSource = objectManager.getObject(FcrUIObjectKeys.S_SHARED_CHAT_DATA_SOURCE);
178
+ this._sharedDevicePrivilegeDataSource = objectManager.getObject(FcrUIObjectKeys.S_SHARED_DEVICE_PRIVILEGE_DATA_SOURCE);
179
+ this._sharedMemberDataSource = objectManager.getObject(FcrUIObjectKeys.S_SHARED_MEMBER_DATA_SOURCE);
180
+ this._widgetProvider = objectManager.getObject(FcrUIObjectKeys.P_WIDGET_PROVIDER);
181
+ this._sharedSecurityDataSource = objectManager.getObject(FcrUIObjectKeys.S_SHARED_SECURITY_DATA_SOURCE);
182
+ this._sharedScreenShareSharedDataSource = objectManager.getObject(FcrUIObjectKeys.S_SHARED_SCREEN_SHARE_DATA_SOURCE);
183
+ this._sharedSettingDataSource = objectManager.getObject(FcrUIObjectKeys.S_SHARED_SETTING_DATA_SOURCE);
184
+ this._sharedWidgetDataSource = objectManager.getObject(FcrUIObjectKeys.S_SHARED_WIDGET_DATA_SOURCE);
185
+ this._abilityProvider = objectManager.getObject(FcrUIObjectKeys.P_ABILITY_PROVIDER);
186
+ this._applistProvider = objectManager.getObject(FcrUIObjectKeys.P_APPLIST_PROVIDER);
187
+ this._facilityProvider = objectManager.getObject(FcrUIObjectKeys.P_FACILITY_PROVIDER);
188
+ this._applistProvider.addObserver(this._applistObserver);
189
+ this._userControl = this._roomControl.getUserControl();
190
+ this._roomType = (_this$_roomControl$ge = this._roomControl.getRoomInfo()) === null || _this$_roomControl$ge === void 0 ? void 0 : _this$_roomControl$ge.roomType;
191
+ this.liveStreamingState = this._roomControl.getLiveStreamingState();
192
+ this.cloudRecordingState = this._roomControl.getCloudRecordingState();
193
+ this._interpreterProvider = objectManager.getObject(FcrUIObjectKeys.P_INTERPRETER_PROVIDER);
194
+ this._interpreterProvider.addObserver(this._interpreterProviderObserver);
195
+ this._roomProvider.addObserver(this._roomObserver);
196
+ this._boardShareProvider = objectManager.getObject(FcrUIObjectKeys.P_BOARD_SHARE_PROVIDER);
197
+ this.hasOfflineUserExistence = this.getOfflineUserExistenceState();
198
+ this._userControl.addObserver(this._userObserver);
199
+ this._roomControl.addObserver(this._mainRoomObserver);
200
+ this._eventProvider.addObserver(this._uiEventObserver);
201
+ this._dialogProvider.addObserver(this._dialogObserver);
202
+ this._disposers.push(reaction(function () {
203
+ return _this.chatVisible;
204
+ }, function (chatVisible) {
205
+ if (chatVisible) {
206
+ _this._handleChatVisible(true);
207
+ } else {
208
+ _this._handleChatVisible(false);
209
+ }
210
+ }), reaction(function () {
211
+ return _this.newMessageCount;
212
+ }, function (count) {
213
+ var hasMainRoomMessage = count[FcrUIRoomType.MAIN_ROOM] && count[FcrUIRoomType.MAIN_ROOM] > 0;
214
+ var hasWaitingRoomMessage = count[FcrUIRoomType.WAITING_ROOM] && count[FcrUIRoomType.WAITING_ROOM] > 0;
215
+ if (hasMainRoomMessage || hasWaitingRoomMessage) {
216
+ _this._newMessageTooltipTimer && clearTimeout(_this._newMessageTooltipTimer);
217
+ _this.showNewMessageTooltip();
218
+ _this._newMessageTooltipTimer = window.setTimeout(function () {
219
+ _this.hideNewMessageTooltip();
220
+ }, 4000);
221
+ }
222
+ }));
223
+ }
224
+ return _createClass(ActionBarMainSceneStoreBase, [{
225
+ key: "newMessageTooltipVisible",
226
+ get: function get() {
227
+ return _classPrivateFieldGet(_A, this);
228
+ },
229
+ set: function set(v) {
230
+ _classPrivateFieldSet(_A, this, v);
231
+ }
232
+ }, {
233
+ key: "totalWaitingRoomUser",
234
+ get: function get() {
235
+ return _classPrivateFieldGet(_B, this);
236
+ },
237
+ set: function set(v) {
238
+ _classPrivateFieldSet(_B, this, v);
239
+ }
240
+ }, {
241
+ key: "liveStreamingState",
242
+ get: function get() {
243
+ return _classPrivateFieldGet(_C, this);
244
+ },
245
+ set: function set(v) {
246
+ _classPrivateFieldSet(_C, this, v);
247
+ }
248
+ }, {
249
+ key: "currentMenuIs",
250
+ get: function get() {
251
+ return _classPrivateFieldGet(_D, this);
252
+ },
253
+ set: function set(v) {
254
+ _classPrivateFieldSet(_D, this, v);
255
+ }
256
+ }, {
257
+ key: "cloudRecordingState",
258
+ get: function get() {
259
+ return _classPrivateFieldGet(_E, this);
260
+ },
261
+ set: function set(v) {
262
+ _classPrivateFieldSet(_E, this, v);
263
+ }
264
+ }, {
265
+ key: "connectionSettingVisible",
266
+ get: function get() {
267
+ return _classPrivateFieldGet(_F, this);
268
+ },
269
+ set: function set(v) {
270
+ _classPrivateFieldSet(_F, this, v);
271
+ }
272
+ }, {
273
+ key: "folded",
274
+ get: function get() {
275
+ return _classPrivateFieldGet(_G, this);
276
+ },
277
+ set: function set(v) {
278
+ _classPrivateFieldSet(_G, this, v);
279
+ }
280
+ }, {
281
+ key: "showArrow",
282
+ get: function get() {
283
+ return _classPrivateFieldGet(_H, this);
284
+ },
285
+ set: function set(v) {
286
+ _classPrivateFieldSet(_H, this, v);
287
+ }
288
+ }, {
289
+ key: "phoneMicEnabled",
290
+ get: function get() {
291
+ return _classPrivateFieldGet(_I, this);
292
+ },
293
+ set: function set(v) {
294
+ _classPrivateFieldSet(_I, this, v);
295
+ }
296
+ }, {
297
+ key: "chatTabIndex",
298
+ get: function get() {
299
+ return _classPrivateFieldGet(_J, this);
300
+ },
301
+ set: function set(v) {
302
+ _classPrivateFieldSet(_J, this, v);
303
+ }
304
+ }, {
305
+ key: "hasOfflineUserExistence",
306
+ get: function get() {
307
+ return _classPrivateFieldGet(_K, this);
308
+ },
309
+ set: function set(v) {
310
+ _classPrivateFieldSet(_K, this, v);
311
+ }
312
+ }, {
313
+ key: "connectionState",
314
+ get: function get() {
315
+ return _classPrivateFieldGet(_L, this);
316
+ },
317
+ set: function set(v) {
318
+ _classPrivateFieldSet(_L, this, v);
319
+ }
320
+ }, {
321
+ key: "appActionbarPopoverVisible",
322
+ get: function get() {
323
+ return _classPrivateFieldGet(_M, this);
324
+ },
325
+ set: function set(v) {
326
+ _classPrivateFieldSet(_M, this, v);
327
+ }
328
+ }, {
329
+ key: "stateBarLeaveMeeting",
330
+ get: function get() {
331
+ return _classPrivateFieldGet(_N, this);
332
+ },
333
+ set: function set(v) {
334
+ _classPrivateFieldSet(_N, this, v);
335
+ }
336
+ }, {
337
+ key: "endMeetingPopoverOpened",
338
+ get: function get() {
339
+ return this._sharedLayoutDataSource.endMeetingPopoverOpened;
340
+ }
341
+ }, {
342
+ key: "checkedStateMap",
343
+ get: function get() {
344
+ return this._sharedSecurityDataSource.checkedStateMap;
345
+ }
346
+ }, {
347
+ key: "setCheckedStateMap",
348
+ value: function setCheckedStateMap(val) {
349
+ this._sharedSecurityDataSource.setCheckedStateMap(val);
350
+ }
351
+ }, {
352
+ key: "supportedWidgetConfigs",
353
+ get: function get() {
354
+ return this._widgetProvider.supportedWidgetConfigs;
355
+ }
356
+ }, {
357
+ key: "appItemOptions",
358
+ get: function get() {
359
+ return this._applistProvider.appItemOptions;
360
+ }
361
+ }, {
362
+ key: "supportedLanguages",
363
+ get: function get() {
364
+ return this._sharedInterpreterDataSource.supportedLanguages;
365
+ }
366
+ }, {
367
+ key: "users",
368
+ get: function get() {
369
+ return this._sharedMemberDataSource.memberUserInfoList;
370
+ }
371
+ }, {
372
+ key: "localUserRole",
373
+ get: function get() {
374
+ return this._sharedMemberDataSource.localUserRole;
375
+ }
376
+ }, {
377
+ key: "localUserId",
378
+ get: function get() {
379
+ return this._sharedMemberDataSource.localUser.userId;
380
+ }
381
+ }, {
382
+ key: "totalUser",
383
+ get: function get() {
384
+ return this._sharedMemberDataSource.totalUserCount;
385
+ }
386
+ }, {
387
+ key: "isPstnUser",
388
+ get: function get() {
389
+ return this._sharedMemberDataSource.hasOwnPstnStream;
390
+ }
391
+ }, {
392
+ key: "localInterpreterUserInfo",
393
+ get: function get() {
394
+ return this._sharedInterpreterDataSource.localInterpreterUserInfo;
395
+ }
396
+ }, {
397
+ key: "interpreterUserList",
398
+ get: function get() {
399
+ return this._sharedInterpreterDataSource.interpreterUserList;
400
+ }
401
+ }, {
402
+ key: "isInterpreterEnabled",
403
+ get: function get() {
404
+ return this._sharedInterpreterDataSource.isInterpreterEnabled;
405
+ }
406
+ }, {
407
+ key: "outputLanguage",
408
+ get: function get() {
409
+ return this._sharedInterpreterDataSource.outputLanguage;
410
+ }
411
+ }, {
412
+ key: "hasSubscribedLanguageList",
413
+ get: function get() {
414
+ return this._sharedInterpreterDataSource.hasSubscribedLanguageList;
415
+ }
416
+ }, {
417
+ key: "preHasSubscribedLanguageList",
418
+ get: function get() {
419
+ return this._sharedInterpreterDataSource.preHasSubscribedLanguageList;
420
+ }
421
+ }, {
422
+ key: "subscribeLanguageOptionList",
423
+ get: function get() {
424
+ return this._sharedInterpreterDataSource.subscribeLanguageOptionList;
425
+ }
426
+ }, {
427
+ key: "isNewWaitingRoomUserEnter",
428
+ get: function get() {
429
+ return this._sharedWaitingRoomDataSource.unReadState;
430
+ }
431
+ }, {
432
+ key: "privilegeProvider",
433
+ get: function get() {
434
+ return this._privilegeProvider;
435
+ }
436
+ }, {
437
+ key: "asideLayout",
438
+ get: function get() {
439
+ var _this$_sharedLayoutDa;
440
+ return (_this$_sharedLayoutDa = this._sharedLayoutDataSource) === null || _this$_sharedLayoutDa === void 0 ? void 0 : _this$_sharedLayoutDa.asideLayout;
441
+ }
442
+ }, {
443
+ key: "chatRenderAt",
444
+ get: function get() {
445
+ return this._sharedLayoutDataSource.chatRenderAt;
446
+ }
447
+ }, {
448
+ key: "participantsRenderAt",
449
+ get: function get() {
450
+ return this._sharedLayoutDataSource.participantsRenderAt;
451
+ }
452
+ }, {
453
+ key: "participantVisible",
454
+ get: function get() {
455
+ return this._sharedLayoutDataSource.asideLayout.participant;
456
+ }
457
+ }, {
458
+ key: "chatVisible",
459
+ get: function get() {
460
+ return this._sharedLayoutDataSource.asideLayout.chat;
461
+ }
462
+ }, {
463
+ key: "subtitlesHistoryRenderAt",
464
+ get: function get() {
465
+ return this._sharedLayoutDataSource.subtitlesHistoryRenderAt;
466
+ }
467
+ }, {
468
+ key: "subtitlesHistoryVisible",
469
+ get: function get() {
470
+ return this._sharedLayoutDataSource.asideLayout.subtitlesHistory;
471
+ }
472
+ }, {
473
+ key: "remoteUsers",
474
+ get: function get() {
475
+ return this._sharedMemberDataSource.memberUserInfoList;
476
+ }
477
+ }, {
478
+ key: "hasStartScreenSharePermission",
479
+ get: function get() {
480
+ return this._privilegeProvider.hasStartScreenSharePermission();
481
+ }
482
+ }, {
483
+ key: "hasEnableStartScreenSharePermission",
484
+ get: function get() {
485
+ return this.privilegeProvider.hasEnableStartScreenSharePermission();
486
+ }
487
+ }, {
488
+ key: "hasStartLiveStreamingPermission",
489
+ get: function get() {
490
+ return this._abilityProvider.isLiveSupported() && this._privilegeProvider.hasStartLiveStreamingPermission();
491
+ }
492
+ }, {
493
+ key: "hasEnableStartAudioPermission",
494
+ get: function get() {
495
+ return this._privilegeProvider.hasEnableStartAudioPermission();
496
+ }
497
+ }, {
498
+ key: "hasEnableChangeNamePermission",
499
+ get: function get() {
500
+ return this._privilegeProvider.hasEnableChangeNamePermission();
501
+ }
502
+ }, {
503
+ key: "hasEnableStartVideoPermission",
504
+ get: function get() {
505
+ return this._privilegeProvider.hasEnableStartVideoPermission();
506
+ }
507
+ }, {
508
+ key: "hasLockRoomPermission",
509
+ get: function get() {
510
+ return this._privilegeProvider.hasLockRoomPermission();
511
+ }
512
+ }, {
513
+ key: "hasEnableJoinWithAudioPermission",
514
+ get: function get() {
515
+ return this._privilegeProvider.hasEnableJoinWithAudioPermission();
516
+ }
517
+ }, {
518
+ key: "hasWaitingRoomPermission",
519
+ get: function get() {
520
+ return this._privilegeProvider.hasEnableWaitingRoomPermission();
521
+ }
522
+ }, {
523
+ key: "hasWatermarkEnablePermission",
524
+ get: function get() {
525
+ return this._privilegeProvider.hasWatermarkEnablePermission();
526
+ }
527
+ }, {
528
+ key: "hasWatermarkDisablePermission",
529
+ get: function get() {
530
+ return this._privilegeProvider.hasWatermarkDisablePermission();
531
+ }
532
+ }, {
533
+ key: "hasEnableStartSharePermission",
534
+ get: function get() {
535
+ return this._privilegeProvider.hasEnableStartScreenSharePermission();
536
+ }
537
+ }, {
538
+ key: "hasAllowWriteBoardPermission",
539
+ get: function get() {
540
+ return this._privilegeProvider.hasAllowWriteBoardPermission();
541
+ }
542
+ }, {
543
+ key: "hasAllowScreenShareAndBoardPermission",
544
+ get: function get() {
545
+ return this._privilegeProvider.hasAllowScreenShareAndBoardPermission();
546
+ }
547
+ }, {
548
+ key: "hasAllowChatPermission",
549
+ get: function get() {
550
+ return this._privilegeProvider.hasPermissionToControlAllowSendAll();
551
+ }
552
+ }, {
553
+ key: "hasStartCloudRecordingPermission",
554
+ get: function get() {
555
+ return this._privilegeProvider.hasStartCloudRecordingPermission();
556
+ }
557
+ }, {
558
+ key: "hasAssignHostBeforeLeavingPermission",
559
+ get: function get() {
560
+ return this._privilegeProvider.hasAssignHostBeforeLeavingPermission(this.localUserRole);
561
+ }
562
+ }, {
563
+ key: "hasEndRoomPermission",
564
+ get: function get() {
565
+ return this._privilegeProvider.hasEndRoomPermission();
566
+ }
567
+ }, {
568
+ key: "isScreenShareAndBoardEnabled",
569
+ get: function get() {
570
+ return this._privilegeProvider.isShareScreenAllowed();
571
+ }
572
+ }, {
573
+ key: "isBoardWriteEnabled",
574
+ get: function get() {
575
+ return this._privilegeProvider.isBoardWriteAllowed();
576
+ }
577
+ }, {
578
+ key: "isWaterMarkEnabled",
579
+ get: function get() {
580
+ return this._privilegeProvider.isWaterMarkEnabled();
581
+ }
582
+ }, {
583
+ key: "isMulti",
584
+ get: function get() {
585
+ return this._privilegeProvider.isMultiWaterMarkEnabled();
586
+ }
587
+ }, {
588
+ key: "hasEnableInterpreterPermission",
589
+ get: function get() {
590
+ return this._abilityProvider.isInterpreterSupported() && this._privilegeProvider.hasEnableInterpreterPermission();
591
+ }
592
+ }, {
593
+ key: "hasDisableInterpreterPermission",
594
+ get: function get() {
595
+ return this._privilegeProvider.hasDisableInterpreterPermission();
596
+ }
597
+ }, {
598
+ key: "microphoneEnabled",
599
+ get: function get() {
600
+ return this._deviceProvider.microphoneEnabled;
601
+ }
602
+ }, {
603
+ key: "allNewMessage",
604
+ get: function get() {
605
+ return Object.values(this._sharedChatDataSource.newMessageCount).reduce(function (a, b) {
606
+ return a + b;
607
+ }, 0);
608
+ }
609
+ }, {
610
+ key: "isMainRoom",
611
+ get: function get() {
612
+ return this._roomType === FcrRoomType.Mainroom;
613
+ }
614
+ }, {
615
+ key: "hasAllowChangeNamePromission",
616
+ get: function get() {
617
+ return this._privilegeProvider.hasAllowChangeNamePermission();
618
+ }
619
+ }, {
620
+ key: "hasDisallowChangeNamePromission",
621
+ get: function get() {
622
+ return this._privilegeProvider.hasDisallowChangeNamePermission();
623
+ }
624
+ }, {
625
+ key: "newMessageCount",
626
+ get: function get() {
627
+ return this._sharedChatDataSource.newMessageCount;
628
+ },
629
+ set: function set(value) {
630
+ this._sharedChatDataSource.newMessageCount = value;
631
+ }
632
+ }, {
633
+ key: "latestMessage",
634
+ get: function get() {
635
+ return this._sharedChatDataSource.latestMessage;
636
+ }
637
+ }, {
638
+ key: "isRecordingSupported",
639
+ get: function get() {
640
+ return this._abilityProvider.isRecordingSupported();
641
+ }
642
+ }, {
643
+ key: "hasSecurityPermissions",
644
+ get: function get() {
645
+ return this.hasEnableStartSharePermission || this.hasAllowChatPermission || this.hasEnableStartAudioPermission || this.hasEnableChangeNamePermission || this.hasEnableStartVideoPermission || this.hasLockRoomPermission;
646
+ }
647
+ }, {
648
+ key: "isMeSharingScreen",
649
+ get: function get() {
650
+ return this._screenShareProvider.isLocalUserScreenSharing;
651
+ }
652
+ }, {
653
+ key: "isBoardActive",
654
+ get: function get() {
655
+ return this._boardShareProvider.isActive;
656
+ }
657
+ }, {
658
+ key: "isMeSharingBoard",
659
+ get: function get() {
660
+ return this._boardShareProvider.isMyBoard;
661
+ }
662
+ }, {
663
+ key: "boardOwnerUser",
664
+ get: function get() {
665
+ return this._boardShareProvider.ownerUser;
666
+ }
667
+ }, {
668
+ key: "canStopOtherBoard",
669
+ get: function get() {
670
+ // TODO: 检查 canStopOtherBoard 使用的地方,如果使用逻辑一致,将下面的逻辑移动到 _boardShareProvider
671
+ return this.isBoardActive && !this.isMeSharingBoard && this._boardShareProvider.canStopOtherBoard;
672
+ }
673
+ }, {
674
+ key: "isRemoteUserScreenSharing",
675
+ get: function get() {
676
+ return this._screenShareProvider.isRemoteUserScreenSharing;
677
+ }
678
+ }, {
679
+ key: "isLocalUserScreenSharing",
680
+ get: function get() {
681
+ return this._screenShareProvider.isLocalUserScreenSharing;
682
+ }
683
+ }, {
684
+ key: "setStateBarLeaveMeeting",
685
+ value: function setStateBarLeaveMeeting(isShow) {
686
+ this.stateBarLeaveMeeting = isShow;
687
+ }
688
+ }, {
689
+ key: "setPopoverOpened",
690
+ value: function setPopoverOpened(isShow) {
691
+ this._sharedLayoutDataSource.endMeetingPopoverOpened = isShow;
692
+ if (this.stateBarLeaveMeeting && !isShow) {
693
+ this.stateBarLeaveMeeting = false;
694
+ }
695
+ }
696
+ }, {
697
+ key: "pauseCloudRecording",
698
+ value: function pauseCloudRecording() {
699
+ this._roomControl.pauseCloudRecording();
700
+ }
701
+ }, {
702
+ key: "resumeCloudRecording",
703
+ value: function resumeCloudRecording() {
704
+ this._roomControl.resumeCloudRecording();
705
+ }
706
+ }, {
707
+ key: "stopCloudRecording",
708
+ value: function stopCloudRecording() {
709
+ this._roomControl.stopCloudRecording();
710
+ }
711
+ }, {
712
+ key: "startCloudRecording",
713
+ value: function startCloudRecording() {
714
+ this._roomControl.startCloudRecording(cloudRecordingConfig);
715
+ }
716
+ }, {
717
+ key: "showLockedRoomToast",
718
+ value: function showLockedRoomToast(enable) {
719
+ this._messageProvider.showToast({
720
+ type: 'info',
721
+ message: enable ? transI18n('fmt_security_tips_lock_meeting_on') : transI18n('fmt_uimanager_tips_meetingunlocked')
722
+ });
723
+ }
724
+ }, {
725
+ key: "toggleLayoutBarLock",
726
+ value: function toggleLayoutBarLock(payload) {
727
+ this._eventProvider.sendEvent(FcrUIAction.TOGGLE_LAYOUT_BAR_LOCK, payload);
728
+ }
729
+ }, {
730
+ key: "showNewMessageTooltip",
731
+ value: function showNewMessageTooltip() {
732
+ this.newMessageTooltipVisible = true;
733
+ }
734
+ }, {
735
+ key: "hideNewMessageTooltip",
736
+ value: function hideNewMessageTooltip() {
737
+ this.newMessageTooltipVisible = false;
738
+ }
739
+ }, {
740
+ key: "switchMenu",
741
+ value: function switchMenu(value) {
742
+ this.currentMenuIs = value || MoreMenuType.DEFAULT;
743
+ }
744
+ }, {
745
+ key: "isLocked",
746
+ get: function get() {
747
+ return this._privilegeProvider.isLockRoomEnabled();
748
+ }
749
+ }, {
750
+ key: "isWaitingRoomEnabled",
751
+ value: function isWaitingRoomEnabled() {
752
+ return this._privilegeProvider.isWaitingRoomEnabled();
753
+ }
754
+ }, {
755
+ key: "isAllowJoinWithAudioEnabled",
756
+ value: function isAllowJoinWithAudioEnabled() {
757
+ return this._privilegeProvider.isJoinWithMutedAudioEnabled();
758
+ }
759
+ }, {
760
+ key: "enableMicrophone",
761
+ value: function enableMicrophone(enable) {
762
+ this._deviceStreamProvider.enableMicrophoneWithPreCheck(enable);
763
+ this._sharedDevicePrivilegeDataSource.setShouldIncludeMicrophone(true);
764
+ }
765
+ }, {
766
+ key: "setAllowWriteBoard",
767
+ value: function setAllowWriteBoard(state) {
768
+ this._privilegeProvider.allowWriteBoard(state);
769
+ }
770
+ }, {
771
+ key: "setAllowAnnotation",
772
+ value: function setAllowAnnotation(state) {
773
+ this._privilegeProvider.allowWriteBoard(state);
774
+ }
775
+ }, {
776
+ key: "setAllowScreenShare",
777
+ value: function setAllowScreenShare(state) {
778
+ this._privilegeProvider.allowShareAndWrite(state);
779
+ }
780
+ }, {
781
+ key: "release",
782
+ value: function release() {
783
+ this._disposers.forEach(function (dispose) {
784
+ return dispose();
785
+ });
786
+ this._disposers = [];
787
+ this._hideBarArrowTimer && clearTimeout(this._hideBarArrowTimer);
788
+ this._userControl.removeObserver(this._userObserver);
789
+ this._roomControl.removeObserver(this._mainRoomObserver);
790
+ this._eventProvider.removeObserver(this._uiEventObserver);
791
+ this._dialogProvider.removeObserver(this._dialogObserver);
792
+ this._applistProvider.removeObserver(this._applistObserver);
793
+ if (this._roomType === FcrRoomType.Mainroom) {
794
+ var _this$_interpreterPro;
795
+ this._roomProvider.removeObserver(this._roomObserver);
796
+ (_this$_interpreterPro = this._interpreterProvider) === null || _this$_interpreterPro === void 0 || _this$_interpreterPro.removeObserver(this._interpreterProviderObserver);
797
+ }
798
+ }
799
+ }, {
800
+ key: "setAllowJoinWithMuteAudio",
801
+ value: function setAllowJoinWithMuteAudio(enable) {
802
+ return this._privilegeProvider.allowJoinWithMutedAudio(enable);
803
+ }
804
+ }, {
805
+ key: "isLockRoomEnabled",
806
+ value: function isLockRoomEnabled() {
807
+ return this._privilegeProvider.isLockRoomEnabled();
808
+ }
809
+ }, {
810
+ key: "setLockRoomEnabled",
811
+ value: function setLockRoomEnabled(enable) {
812
+ return this._privilegeProvider.enableLockedRoom(enable);
813
+ }
814
+ }, {
815
+ key: "setAllowShareScreen",
816
+ value: function setAllowShareScreen(enable) {
817
+ return this._privilegeProvider.allowShareAndWrite(enable);
818
+ }
819
+ }, {
820
+ key: "allowWriteBoard",
821
+ value: function allowWriteBoard() {
822
+ return this._privilegeProvider.isBoardWriteAllowed();
823
+ }
824
+ }, {
825
+ key: "allowChat",
826
+ value: function allowChat() {
827
+ return this._privilegeProvider.isChatAllowed();
828
+ }
829
+ }, {
830
+ key: "setAllowChat",
831
+ value: function setAllowChat(enable) {
832
+ return this._privilegeProvider.setAllowChat(enable);
833
+ }
834
+ }, {
835
+ key: "allowUnmuteSelfAudio",
836
+ value: function allowUnmuteSelfAudio() {
837
+ return this._privilegeProvider.isUnmuteSelfAudioAllowed();
838
+ }
839
+ }, {
840
+ key: "setAllowUnmuteSelfAudio",
841
+ value: function setAllowUnmuteSelfAudio(enable) {
842
+ return this._privilegeProvider.allowStartAudio(enable);
843
+ }
844
+ }, {
845
+ key: "allowUnmuteSelfVideo",
846
+ value: function allowUnmuteSelfVideo() {
847
+ return this._privilegeProvider.isUnmuteSelfVideoAllowed();
848
+ }
849
+ }, {
850
+ key: "setAllowUnmuteSelfVideo",
851
+ value: function setAllowUnmuteSelfVideo(enable) {
852
+ return this._privilegeProvider.allowStartVideo(enable);
853
+ }
854
+ }, {
855
+ key: "allowChangeName",
856
+ value: function allowChangeName() {
857
+ return this._privilegeProvider.isChangeSelfNameAllowed();
858
+ }
859
+ }, {
860
+ key: "setAllowChangeName",
861
+ value: function setAllowChangeName(enable) {
862
+ return this._privilegeProvider.allowChangeUserName(enable);
863
+ }
864
+ }, {
865
+ key: "toggleChat",
866
+ value: function toggleChat() {
867
+ !this.chatVisible || isElectron() && this.chatRenderAt === 'dialog' ? this.openChat() : this.closeChat();
868
+ }
869
+ }, {
870
+ key: "openChat",
871
+ value: function openChat() {
872
+ if (this.chatRenderAt === 'aside') {
873
+ this._sharedLayoutDataSource.setChatRenderAt('aside');
874
+ }
875
+ if (this.chatRenderAt === 'dialog') {
876
+ this._sharedLayoutDataSource.setChatRenderAt('dialog');
877
+ this._dialogProvider.openDialog(FcrUIDialogKey.CHAT);
878
+ }
879
+ this._sharedLayoutDataSource.setAsideLayout({
880
+ chat: true
881
+ });
882
+ }
883
+ }, {
884
+ key: "closeChat",
885
+ value: function closeChat() {
886
+ if (!this.chatVisible) return;
887
+ if (this.chatRenderAt === 'dialog') {
888
+ this._dialogProvider.closeDialog(FcrUIDialogKey.CHAT);
889
+ }
890
+ this._sharedLayoutDataSource.setAsideLayout({
891
+ chat: false
892
+ });
893
+ }
894
+ }, {
895
+ key: "toggleParticipants",
896
+ value: function toggleParticipants() {
897
+ !this.participantVisible || isElectron() && this.participantsRenderAt === 'dialog' ? this.openParticipants() : this.closeParticipants();
898
+ }
899
+ }, {
900
+ key: "openParticipants",
901
+ value: function openParticipants() {
902
+ if (this.participantsRenderAt === 'dialog') {
903
+ this._dialogProvider.openDialog(FcrUIDialogKey.PARTICIPANT);
904
+ }
905
+ this._sharedLayoutDataSource.setAsideLayout({
906
+ participant: true
907
+ });
908
+ }
909
+ }, {
910
+ key: "closeParticipants",
911
+ value: function closeParticipants() {
912
+ if (!this.participantVisible) return;
913
+ if (this.participantsRenderAt === 'dialog') {
914
+ this._sharedLayoutDataSource.setAsideLayout({
915
+ participant: false
916
+ });
917
+ this._dialogProvider.closeDialog(FcrUIDialogKey.PARTICIPANT);
918
+ }
919
+ this._sharedLayoutDataSource.setAsideLayout({
920
+ participant: false
921
+ });
922
+ }
923
+ }, {
924
+ key: "openDeviceSettingDialog",
925
+ value: function openDeviceSettingDialog(config) {
926
+ this._dialogProvider.openDialog(FcrUIDialogKey.SETTINGS, config);
927
+ this._sharedSettingDataSource.setDialogConfig(config);
928
+ }
929
+ }, {
930
+ key: "startScreenShare",
931
+ value: function startScreenShare() {
932
+ if (!this._interceptShareScreen()) return;
933
+ this.clickScreenShare();
934
+ }
935
+ }, {
936
+ key: "openInterpreterDialog",
937
+ value: function openInterpreterDialog() {
938
+ this._dialogProvider.openDialog(FcrUIDialogKey.INTERPRETER);
939
+ }
940
+ }, {
941
+ key: "openWhiteboard",
942
+ value: function openWhiteboard() {
943
+ if (!this._interceptShareBoard()) return;
944
+ this._boardShareProvider.startShare();
945
+ }
946
+ }, {
947
+ key: "closeWhiteboard",
948
+ value: function closeWhiteboard() {
949
+ this._boardShareProvider.stopShare();
950
+ }
951
+ }, {
952
+ key: "closeShareScreen",
953
+ value: function closeShareScreen() {
954
+ this._screenShareProvider.stopShare();
955
+ }
956
+ }, {
957
+ key: "openLiveStreamingDialog",
958
+ value: function openLiveStreamingDialog() {
959
+ this._dialogProvider.openDialog(FcrUIDialogKey.LIVE_STREAMING);
960
+ this.toggleLayoutBarLock(true);
961
+ }
962
+ }, {
963
+ key: "toggleConnection",
964
+ value: function toggleConnection() {
965
+ this.connectionSettingVisible ? this.closeConnection() : this.openConnection('computer');
966
+ }
967
+ }, {
968
+ key: "openConnection",
969
+ value: function openConnection(type) {
970
+ this._dialogProvider.openDialog(FcrUIDialogKey.CONNECTION_GATEWAY, {
971
+ type: type
972
+ });
973
+ }
974
+ }, {
975
+ key: "closeConnection",
976
+ value: function closeConnection() {
977
+ this._dialogProvider.closeDialog(FcrUIDialogKey.CONNECTION_GATEWAY);
978
+ }
979
+ }, {
980
+ key: "_handleJoinWaitingRoom",
981
+ value: function _handleJoinWaitingRoom(room) {
982
+ this._waitingRoomControl = room;
983
+ this.newMessageCount = _defineProperty({}, FcrUIRoomType.WAITING_ROOM, 0);
984
+ }
985
+ }, {
986
+ key: "toggleFold",
987
+ value: function toggleFold() {
988
+ this.folded = !this.folded;
989
+ this._eventProvider.sendEvent(FcrUIAction.TOGGLE_LAYOUT_ACTIONBAR_HIDDEN);
990
+ }
991
+ }, {
992
+ key: "setShowArrow",
993
+ value: function setShowArrow(show) {
994
+ var _this2 = this;
995
+ if (this._hideBarArrowTimer) clearTimeout(this._hideBarArrowTimer);
996
+ if (show) {
997
+ this.showArrow = true;
998
+ } else {
999
+ this._hideBarArrowTimer = setTimeout(function () {
1000
+ return _this2.showArrow = false;
1001
+ }, 1000);
1002
+ }
1003
+ }
1004
+ }, {
1005
+ key: "setEnableWaitingRoom",
1006
+ value: function () {
1007
+ var _setEnableWaitingRoom = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(enable, isNeedShowDialog) {
1008
+ var _this3 = this;
1009
+ var dialogId;
1010
+ return _regeneratorRuntime.wrap(function (_context) {
1011
+ while (1) switch (_context.prev = _context.next) {
1012
+ case 0:
1013
+ if (enable) {
1014
+ _context.next = 4;
1015
+ break;
1016
+ }
1017
+ if (!(this._sharedWaitingRoomDataSource.totalWaitingRoomUser && isNeedShowDialog)) {
1018
+ _context.next = 1;
1019
+ break;
1020
+ }
1021
+ dialogId = this._dialogProvider.openConfirmDialog({
1022
+ title: transI18n('fmt_waitingroom_mobile_setting_popup_label_close'),
1023
+ content: transI18n('fmt_waitingroom_mobile_setting_popup_label_choose', {
1024
+ reason1: this._sharedWaitingRoomDataSource.totalWaitingRoomUser
1025
+ }),
1026
+ onCancel: function onCancel() {
1027
+ _this3.setCheckedStateMap(_objectSpread(_objectSpread({}, _this3.checkedStateMap), {
1028
+ enableWaitingRoom: false
1029
+ }));
1030
+ _this3._eventProvider.sendEvent(FcrUIAction.MOVE_TO_MAIN_ROOM_ALL_MEMBER, false);
1031
+ _this3._dialogProvider.closeDialogById(dialogId);
1032
+ },
1033
+ onOk: function onOk() {
1034
+ _this3.setCheckedStateMap(_objectSpread(_objectSpread({}, _this3.checkedStateMap), {
1035
+ enableWaitingRoom: false
1036
+ }));
1037
+ _this3._eventProvider.sendEvent(FcrUIAction.MOVE_TO_MAIN_ROOM_ALL_MEMBER, true);
1038
+ _this3._dialogProvider.closeDialogById(dialogId);
1039
+ },
1040
+ okText: transI18n('fmt_waitingroom_mobile_setting_popup_button_admit_all'),
1041
+ cancelText: transI18n('fmt_waitingroom_mobile_setting_popup_button_cancel'),
1042
+ cancelButtonProps: {
1043
+ block: true
1044
+ },
1045
+ okButtonProps: {
1046
+ block: true
1047
+ },
1048
+ alignCenter: true
1049
+ });
1050
+ _context.next = 3;
1051
+ break;
1052
+ case 1:
1053
+ _context.next = 2;
1054
+ return this._roomControl.enableWaitingRoom(enable);
1055
+ case 2:
1056
+ this._messageProvider.showToast({
1057
+ type: 'normal',
1058
+ message: transI18n('fmt_waitingroom_mobile_setting_tips_disable')
1059
+ });
1060
+ case 3:
1061
+ _context.next = 6;
1062
+ break;
1063
+ case 4:
1064
+ _context.next = 5;
1065
+ return this._roomControl.enableWaitingRoom(enable);
1066
+ case 5:
1067
+ this._messageProvider.showToast({
1068
+ type: 'normal',
1069
+ message: transI18n('fmt_waitingroom_setting_tips_enable')
1070
+ });
1071
+ case 6:
1072
+ case "end":
1073
+ return _context.stop();
1074
+ }
1075
+ }, _callee, this);
1076
+ }));
1077
+ function setEnableWaitingRoom(_x, _x2) {
1078
+ return _setEnableWaitingRoom.apply(this, arguments);
1079
+ }
1080
+ return setEnableWaitingRoom;
1081
+ }()
1082
+ }, {
1083
+ key: "kickOutWaitingRoomAllMember",
1084
+ value: function () {
1085
+ var _kickOutWaitingRoomAllMember = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(type) {
1086
+ var _this$_userControl;
1087
+ return _regeneratorRuntime.wrap(function (_context2) {
1088
+ while (1) switch (_context2.prev = _context2.next) {
1089
+ case 0:
1090
+ _context2.next = 1;
1091
+ return (_this$_userControl = this._userControl) === null || _this$_userControl === void 0 ? void 0 : _this$_userControl.kickOutByUserRoles([FcrUserRole.PARTICIPANT], type);
1092
+ case 1:
1093
+ case "end":
1094
+ return _context2.stop();
1095
+ }
1096
+ }, _callee2, this);
1097
+ }));
1098
+ function kickOutWaitingRoomAllMember(_x3) {
1099
+ return _kickOutWaitingRoomAllMember.apply(this, arguments);
1100
+ }
1101
+ return kickOutWaitingRoomAllMember;
1102
+ }()
1103
+ }, {
1104
+ key: "moveToMainRoomAllMember",
1105
+ value: function () {
1106
+ var _moveToMainRoomAllMember = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {
1107
+ var _this$_waitingRoomCon;
1108
+ return _regeneratorRuntime.wrap(function (_context3) {
1109
+ while (1) switch (_context3.prev = _context3.next) {
1110
+ case 0:
1111
+ _context3.next = 1;
1112
+ return (_this$_waitingRoomCon = this._waitingRoomControl) === null || _this$_waitingRoomCon === void 0 ? void 0 : _this$_waitingRoomCon.moveToMainRoomByUserRoles([FcrUserRole.PARTICIPANT]);
1113
+ case 1:
1114
+ case "end":
1115
+ return _context3.stop();
1116
+ }
1117
+ }, _callee3, this);
1118
+ }));
1119
+ function moveToMainRoomAllMember() {
1120
+ return _moveToMainRoomAllMember.apply(this, arguments);
1121
+ }
1122
+ return moveToMainRoomAllMember;
1123
+ }() // TODO: 需要拦截时返回 true 更符合直觉
1124
+ }, {
1125
+ key: "_interceptShareScreen",
1126
+ value: function _interceptShareScreen() {
1127
+ var _this4 = this;
1128
+ // const isOtherSharingBoard =
1129
+ // this.boardOwnerUser && this.boardOwnerUser.userId !== this.localUserId;
1130
+
1131
+ if (!this._facilityProvider.isNetworkConnected) {
1132
+ var params = {
1133
+ message: transI18n('fmt_screenshare_toast_network_error_unable_start_screen_share'),
1134
+ type: 'error'
1135
+ };
1136
+ this._messageProvider.showToast(params);
1137
+ return false;
1138
+ }
1139
+ if (!this._facilityProvider.hasGrantedScreenCapturePermission()) {
1140
+ var dialogId = this._dialogProvider.openConfirmDialog({
1141
+ title: transI18n('fmt_screenshare_options_allowshare'),
1142
+ content: transI18n('fmt_screenshare_tips_notavailable'),
1143
+ okText: transI18n('fmt_group_popup_creat_next_sidpop_label_setting'),
1144
+ cancelText: transI18n('fmt_group_popup_creat_next_sidpop_button_help_ignore'),
1145
+ onCancel: function onCancel() {
1146
+ _this4._dialogProvider.closeConfirmDialog(dialogId);
1147
+ },
1148
+ onOk: function () {
1149
+ var _onOk = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4() {
1150
+ return _regeneratorRuntime.wrap(function (_context4) {
1151
+ while (1) switch (_context4.prev = _context4.next) {
1152
+ case 0:
1153
+ _context4.next = 1;
1154
+ return _this4._facilityProvider.checkScreenCapturePermission();
1155
+ case 1:
1156
+ if (_this4._facilityProvider.hasDeniedScreenCapturePermission()) {
1157
+ _this4._facilityProvider.openSystemPreferences(FcrUISystemPereferencesType.Sharing);
1158
+ }
1159
+ _this4._dialogProvider.closeConfirmDialog(dialogId);
1160
+ case 2:
1161
+ case "end":
1162
+ return _context4.stop();
1163
+ }
1164
+ }, _callee4);
1165
+ }));
1166
+ function onOk() {
1167
+ return _onOk.apply(this, arguments);
1168
+ }
1169
+ return onOk;
1170
+ }(),
1171
+ closable: false
1172
+ });
1173
+ return false;
1174
+ }
1175
+ var isOtherSharingBoard = false;
1176
+ if (isOtherSharingBoard) {
1177
+ var _dialogId = this._dialogProvider.openConfirmDialog({
1178
+ title: transI18n('fmt_share_tips_otherssharing'),
1179
+ content: transI18n("fmt_share_tips_stopothersharing", {
1180
+ reason1:
1181
+ // this.sharingOwnerUser?.userName ||
1182
+ transI18n('fmt_actionbar_screenshare_labels_others')
1183
+ }),
1184
+ okText: transI18n('fmt_screenshare_continue_share'),
1185
+ okButtonProps: {
1186
+ className: 'fcr-screenshare-continue-share'
1187
+ },
1188
+ closable: false,
1189
+ alignCenter: true,
1190
+ onOk: function onOk() {
1191
+ // this._screenShareProvider.bootstrap();
1192
+ _this4._dialogProvider.closeDialogById(_dialogId);
1193
+ },
1194
+ onCancel: function onCancel() {
1195
+ _this4._dialogProvider.closeDialogById(_dialogId);
1196
+ }
1197
+ });
1198
+ return false;
1199
+ } else {
1200
+ return true;
1201
+ }
1202
+ }
1203
+
1204
+ // TODO: 需要拦截时返回 true 更符合直觉
1205
+ }, {
1206
+ key: "_interceptShareBoard",
1207
+ value: function _interceptShareBoard() {
1208
+ var _this5 = this;
1209
+ if (this.isBoardActive && !this.isMeSharingBoard) {
1210
+ var dialogId = this._dialogProvider.openConfirmDialog({
1211
+ icon: FcrIconType.FCR_SCREENSHARING,
1212
+ title: transI18n('fmt_share_tips_othersharingboard'),
1213
+ content: transI18n("fmt_share_tips_boardonly"),
1214
+ okText: transI18n('fmt_screenshare_whiteboard_button_gotit'),
1215
+ closable: false,
1216
+ showCancel: false,
1217
+ onOk: function onOk() {
1218
+ _this5._dialogProvider.closeDialogById(dialogId);
1219
+ },
1220
+ onCancel: function onCancel() {
1221
+ _this5._dialogProvider.closeDialogById(dialogId);
1222
+ }
1223
+ });
1224
+ return false;
1225
+ } else {
1226
+ return true;
1227
+ }
1228
+ }
1229
+ }, {
1230
+ key: "_handleRemoteUsersJoined",
1231
+ value: function _handleRemoteUsersJoined(_roomId, _events) {
1232
+ this.hasOfflineUserExistence = this.getOfflineUserExistenceState();
1233
+ }
1234
+ }, {
1235
+ key: "_handleRemoteUsersLeft",
1236
+ value: function _handleRemoteUsersLeft(_roomId, _events) {
1237
+ this.hasOfflineUserExistence = this.getOfflineUserExistenceState();
1238
+ }
1239
+ }, {
1240
+ key: "_handleLiveStreamingStateUpdated",
1241
+ value: function _handleLiveStreamingStateUpdated(_roomId, state) {
1242
+ this.liveStreamingState = state;
1243
+ }
1244
+ }, {
1245
+ key: "_handleChatVisible",
1246
+ value: function _handleChatVisible(visible) {
1247
+ this._eventProvider.sendEvent(FcrUIAction.CHAT_VISIBLE, visible);
1248
+ this._newMessageTooltipTimer && clearTimeout(this._newMessageTooltipTimer);
1249
+ this.hideNewMessageTooltip();
1250
+ this.newMessageCount[this.chatTabIndex] = 0;
1251
+ }
1252
+ }, {
1253
+ key: "setAppActionbarPopoverVisible",
1254
+ value: function setAppActionbarPopoverVisible(visible) {
1255
+ this.appActionbarPopoverVisible = visible;
1256
+ }
1257
+ }, {
1258
+ key: "setAllowWaterMark",
1259
+ value: function setAllowWaterMark() {
1260
+ var allowState = !this.isWaterMarkEnabled;
1261
+ // 开启关闭前,进行权限判断
1262
+ this._privilegeProvider.allowWatermark(allowState, void 0);
1263
+ }
1264
+ }, {
1265
+ key: "setWaterMarkLineType",
1266
+ value: function setWaterMarkLineType(lineType) {
1267
+ this._privilegeProvider.allowWatermark(this.isWaterMarkEnabled, lineType);
1268
+ }
1269
+ }, {
1270
+ key: "setAlllowChangeName",
1271
+ value: function setAlllowChangeName(enable) {
1272
+ this._privilegeProvider.allowChangeUserName(enable);
1273
+ }
1274
+ }, {
1275
+ key: "_handleDialogOpen",
1276
+ value: function _handleDialogOpen(dialogKey) {
1277
+ if (dialogKey === FcrUIDialogKey.CHAT) {
1278
+ this._sharedLayoutDataSource.setChatRenderAt('dialog');
1279
+ this._handleChatVisible(true);
1280
+ }
1281
+ if (dialogKey === FcrUIDialogKey.PARTICIPANT) {
1282
+ this._sharedLayoutDataSource.setParticipantsRenderAt('dialog');
1283
+ this._sharedLayoutDataSource.setAsideLayout({
1284
+ participant: false
1285
+ });
1286
+ }
1287
+ }
1288
+ }, {
1289
+ key: "_handleDialogClose",
1290
+ value: function _handleDialogClose(dialogKey) {
1291
+ if (dialogKey === FcrUIDialogKey.CHAT) {
1292
+ this._handleChatVisible(false);
1293
+ }
1294
+
1295
+ // Dialog close 的回调不应该管理asideLayout 关闭窗口就是关闭窗口,不应该管理asideLayout
1296
+ // if (dialogKey === FcrUIDialogKey.PARTICIPANT) {
1297
+ // this._sharedLayoutDataSource.setAsideLayout({ participant: false });
1298
+ // }
1299
+ }
1300
+ }, {
1301
+ key: "_onEvent",
1302
+ value: function _onEvent(action, payload) {
1303
+ if (action === FcrUIAction.WHITEBOARD_CHANGED) {
1304
+ var _ref3 = payload,
1305
+ _action = _ref3.action,
1306
+ value = _ref3.payload;
1307
+ // if (action === WhiteboardBaseEvents.SET_OWNER_USER_ID) {
1308
+ // this.boardOwnerUser = value
1309
+ // ? (this.users.find((u) => u.userId === value) as FcrUserInfo)
1310
+ // : null;
1311
+ // }
1312
+ }
1313
+ if (action === FcrUIAction.TOGGLE_PARTICIPANT_TAB) {
1314
+ if (!this.participantVisible) {
1315
+ this.toggleParticipants();
1316
+ }
1317
+ }
1318
+ if (action === FcrUIAction.CHAT_ROOM_TAB_CHANGE) {
1319
+ this.chatTabIndex = payload;
1320
+ this.newMessageCount[this.chatTabIndex] = 0;
1321
+ }
1322
+ if (action === FcrUIAction.MOVE_TO_MAIN_ROOM_ALL_MEMBER) {
1323
+ this._operateWaitingRoom(payload);
1324
+ }
1325
+ if (action === FcrUIAction.ENABLE_WAITING_ROOM) {
1326
+ this.setEnableWaitingRoom(payload, true);
1327
+ }
1328
+ }
1329
+ }, {
1330
+ key: "_operateWaitingRoom",
1331
+ value: function () {
1332
+ var _operateWaitingRoom2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5(isOperate) {
1333
+ return _regeneratorRuntime.wrap(function (_context5) {
1334
+ while (1) switch (_context5.prev = _context5.next) {
1335
+ case 0:
1336
+ if (!isOperate) {
1337
+ _context5.next = 1;
1338
+ break;
1339
+ }
1340
+ _context5.next = 1;
1341
+ return this.moveToMainRoomAllMember();
1342
+ case 1:
1343
+ _context5.next = 2;
1344
+ return this.setEnableWaitingRoom(false, false);
1345
+ case 2:
1346
+ case "end":
1347
+ return _context5.stop();
1348
+ }
1349
+ }, _callee5, this);
1350
+ }));
1351
+ function _operateWaitingRoom(_x4) {
1352
+ return _operateWaitingRoom2.apply(this, arguments);
1353
+ }
1354
+ return _operateWaitingRoom;
1355
+ }()
1356
+ }, {
1357
+ key: "_handleCloudRecordingStateUpdated",
1358
+ value: function _handleCloudRecordingStateUpdated(_roomId, state) {
1359
+ this.cloudRecordingState = state;
1360
+ }
1361
+ }, {
1362
+ key: "setOutputLanguage",
1363
+ value: function () {
1364
+ var _setOutputLanguage = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6(language) {
1365
+ var _this$_interpreterPro2,
1366
+ _this6 = this;
1367
+ return _regeneratorRuntime.wrap(function (_context6) {
1368
+ while (1) switch (_context6.prev = _context6.next) {
1369
+ case 0:
1370
+ _context6.next = 1;
1371
+ return (_this$_interpreterPro2 = this._interpreterProvider) === null || _this$_interpreterPro2 === void 0 ? void 0 : _this$_interpreterPro2.setOutputLanguage(language, function () {
1372
+ if (!_this6._deviceProvider.microphoneEnabled) {
1373
+ _this6._messageProvider.showToast({
1374
+ type: 'info',
1375
+ message: transI18n('fmt_interpretation_interpreter_toast_label_open_micro')
1376
+ });
1377
+ }
1378
+ });
1379
+ case 1:
1380
+ case "end":
1381
+ return _context6.stop();
1382
+ }
1383
+ }, _callee6, this);
1384
+ }));
1385
+ function setOutputLanguage(_x5) {
1386
+ return _setOutputLanguage.apply(this, arguments);
1387
+ }
1388
+ return setOutputLanguage;
1389
+ }()
1390
+ }, {
1391
+ key: "setEndMeetingPopoverOpened",
1392
+ value: function setEndMeetingPopoverOpened(value) {
1393
+ this._sharedLayoutDataSource.endMeetingPopoverOpened = value;
1394
+ }
1395
+ }, {
1396
+ key: "subscribeLanguage",
1397
+ value: function () {
1398
+ var _subscribeLanguage = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee7(language) {
1399
+ var _this$_interpreterPro3;
1400
+ return _regeneratorRuntime.wrap(function (_context7) {
1401
+ while (1) switch (_context7.prev = _context7.next) {
1402
+ case 0:
1403
+ _context7.next = 1;
1404
+ return (_this$_interpreterPro3 = this._interpreterProvider) === null || _this$_interpreterPro3 === void 0 ? void 0 : _this$_interpreterPro3.subscribeLanguage(language);
1405
+ case 1:
1406
+ case "end":
1407
+ return _context7.stop();
1408
+ }
1409
+ }, _callee7, this);
1410
+ }));
1411
+ function subscribeLanguage(_x6) {
1412
+ return _subscribeLanguage.apply(this, arguments);
1413
+ }
1414
+ return subscribeLanguage;
1415
+ }()
1416
+ }, {
1417
+ key: "subscribeExtraOriginLanguage",
1418
+ value: function () {
1419
+ var _subscribeExtraOriginLanguage = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee8(enable) {
1420
+ var _this$_interpreterPro4;
1421
+ return _regeneratorRuntime.wrap(function (_context8) {
1422
+ while (1) switch (_context8.prev = _context8.next) {
1423
+ case 0:
1424
+ (_this$_interpreterPro4 = this._interpreterProvider) === null || _this$_interpreterPro4 === void 0 || _this$_interpreterPro4.subscribeExtraOriginLanguage(enable);
1425
+ case 1:
1426
+ case "end":
1427
+ return _context8.stop();
1428
+ }
1429
+ }, _callee8, this);
1430
+ }));
1431
+ function subscribeExtraOriginLanguage(_x7) {
1432
+ return _subscribeExtraOriginLanguage.apply(this, arguments);
1433
+ }
1434
+ return subscribeExtraOriginLanguage;
1435
+ }() //是否有离线翻译官
1436
+ }, {
1437
+ key: "getOfflineUserExistenceState",
1438
+ value: function getOfflineUserExistenceState() {
1439
+ var _this$_interpreterPro5,
1440
+ _this7 = this;
1441
+ var isOffLine = (_this$_interpreterPro5 = this._interpreterProvider) === null || _this$_interpreterPro5 === void 0 || (_this$_interpreterPro5 = _this$_interpreterPro5.getInterpreterList()) === null || _this$_interpreterPro5 === void 0 ? void 0 : _this$_interpreterPro5.some(function (ele) {
1442
+ return !_this7._userControl.getUserList().find(function (item) {
1443
+ return item.userId === ele.userId;
1444
+ });
1445
+ });
1446
+ return !!isOffLine;
1447
+ }
1448
+ }, {
1449
+ key: "clickWidget",
1450
+ value: function clickWidget(widgetConfig) {
1451
+ if (widgetConfig.type === FcrWidgetType.eventWidget) {
1452
+ this._widgetProvider.onWidgetClick(widgetConfig.id);
1453
+ } else {
1454
+ this._widgetProvider.openWidget(widgetConfig.id);
1455
+ }
1456
+ }
1457
+ }, {
1458
+ key: "closeWidget",
1459
+ value: function closeWidget(widgetId) {
1460
+ this._widgetProvider.closeWidget(widgetId);
1461
+ }
1462
+ }, {
1463
+ key: "_handleApplistItemClick",
1464
+ value: function _handleApplistItemClick() {
1465
+ this.setAppActionbarPopoverVisible(false);
1466
+ }
1467
+ }]);
1468
+ }();
1469
+ _ActionBarMainSceneStoreBase = ActionBarMainSceneStoreBase;
1470
+ var _applyDecs$e = _slicedToArray(_applyDecs(_ActionBarMainSceneStoreBase, [[observable, 1, "newMessageTooltipVisible"], [observable, 1, "totalWaitingRoomUser"], [observable, 1, "liveStreamingState"], [observable, 1, "currentMenuIs"], [observable, 1, "cloudRecordingState"], [observable, 1, "connectionSettingVisible"], [observable, 1, "folded"], [observable, 1, "showArrow"], [observable, 1, "phoneMicEnabled"], [observable, 1, "chatTabIndex"], [observable, 1, "hasOfflineUserExistence"], [observable, 1, "connectionState"], [observable, 1, "appActionbarPopoverVisible"], [observable, 1, "stateBarLeaveMeeting"], [computed, 3, "endMeetingPopoverOpened"], [computed, 3, "checkedStateMap"], [_setCheckedStateMapDecs, 18, "setCheckedStateMap"], [computed, 3, "supportedWidgetConfigs"], [computed, 3, "asideLayout"], [computed, 3, "chatRenderAt"], [computed, 3, "participantsRenderAt"], [computed, 3, "participantVisible"], [computed, 3, "chatVisible"], [computed, 3, "subtitlesHistoryRenderAt"], [computed, 3, "subtitlesHistoryVisible"], [computed, 3, "hasStartScreenSharePermission"], [computed, 3, "hasEnableStartScreenSharePermission"], [computed, 3, "hasStartLiveStreamingPermission"], [computed, 3, "hasEnableStartAudioPermission"], [computed, 3, "hasEnableChangeNamePermission"], [computed, 3, "hasEnableStartVideoPermission"], [computed, 3, "hasLockRoomPermission"], [computed, 3, "hasEnableJoinWithAudioPermission"], [computed, 3, "hasWaitingRoomPermission"], [computed, 3, "hasWatermarkDisablePermission"], [computed, 3, "hasEnableStartSharePermission"], [computed, 3, "hasAllowWriteBoardPermission"], [computed, 3, "hasAllowScreenShareAndBoardPermission"], [computed, 3, "hasAllowChatPermission"], [computed, 3, "hasStartCloudRecordingPermission"], [computed, 3, "hasAssignHostBeforeLeavingPermission"], [computed, 3, "hasEndRoomPermission"], [computed, 3, "isScreenShareAndBoardEnabled"], [computed, 3, "isBoardWriteEnabled"], [computed, 3, "isWaterMarkEnabled"], [computed, 3, "isMulti"], [computed, 3, "hasEnableInterpreterPermission"], [computed, 3, "hasDisableInterpreterPermission"], [computed, 3, "microphoneEnabled"], [computed, 3, "allNewMessage"], [computed, 3, "isMainRoom"], [computed, 3, "hasAllowChangeNamePromission"], [computed, 3, "hasDisallowChangeNamePromission"], [computed, 3, "newMessageCount"], [computed, 3, "isRemoteUserScreenSharing"], [computed, 3, "isLocalUserScreenSharing"], [_setStateBarLeaveMeetingDecs, 18, "setStateBarLeaveMeeting"], [_setPopoverOpenedDecs, 18, "setPopoverOpened"], [_pauseCloudRecordingDecs, 2, "pauseCloudRecording"], [_resumeCloudRecordingDecs, 2, "resumeCloudRecording"], [_stopCloudRecordingDecs, 2, "stopCloudRecording"], [bound, 2, "startCloudRecording"], [_showLockedRoomToastDecs, 18, "showLockedRoomToast"], [_toggleLayoutBarLockDecs, 18, "toggleLayoutBarLock"], [_showNewMessageTooltipDecs, 18, "showNewMessageTooltip"], [_hideNewMessageTooltipDecs, 18, "hideNewMessageTooltip"], [_switchMenuDecs, 18, "switchMenu"], [computed, 3, "isLocked"], [bound, 2, "isWaitingRoomEnabled"], [bound, 2, "isAllowJoinWithAudioEnabled"], [bound, 2, "enableMicrophone"], [bound, 2, "setAllowWriteBoard"], [bound, 2, "setAllowAnnotation"], [bound, 2, "setAllowScreenShare"], [bound, 2, "setAllowJoinWithMuteAudio"], [bound, 2, "isLockRoomEnabled"], [bound, 2, "setLockRoomEnabled"], [bound, 2, "setAllowShareScreen"], [bound, 2, "allowWriteBoard"], [bound, 2, "allowChat"], [bound, 2, "setAllowChat"], [bound, 2, "allowUnmuteSelfAudio"], [bound, 2, "setAllowUnmuteSelfAudio"], [bound, 2, "allowUnmuteSelfVideo"], [bound, 2, "setAllowUnmuteSelfVideo"], [bound, 2, "allowChangeName"], [bound, 2, "toggleChat"], [bound, 2, "openChat"], [bound, 2, "closeChat"], [bound, 2, "toggleParticipants"], [bound, 2, "openParticipants"], [bound, 2, "closeParticipants"], [bound, 2, "openDeviceSettingDialog"], [bound, 2, "startScreenShare"], [bound, 2, "openInterpreterDialog"], [bound, 2, "openWhiteboard"], [bound, 2, "closeWhiteboard"], [bound, 2, "closeShareScreen"], [bound, 2, "openLiveStreamingDialog"], [bound, 2, "toggleConnection"], [bound, 2, "openConnection"], [bound, 2, "closeConnection"], [_handleJoinWaitingRoomDecs, 18, "_handleJoinWaitingRoom"], [_toggleFoldDecs, 18, "toggleFold"], [_setShowArrowDecs, 18, "setShowArrow"], [_setEnableWaitingRoomDecs, 18, "setEnableWaitingRoom"], [_kickOutWaitingRoomAllMemberDecs, 18, "kickOutWaitingRoomAllMember"], [_moveToMainRoomAllMemberDecs, 18, "moveToMainRoomAllMember"], [bound, 2, "_interceptShareScreen"], [bound, 2, "_interceptShareBoard"], [_handleRemoteUsersJoinedDecs, 18, "_handleRemoteUsersJoined"], [_handleRemoteUsersLeftDecs, 18, "_handleRemoteUsersLeft"], [_handleLiveStreamingStateUpdatedDecs, 18, "_handleLiveStreamingStateUpdated"], [_handleChatVisibleDecs, 18, "_handleChatVisible"], [_setAppActionbarPopoverVisibleDecs, 18, "setAppActionbarPopoverVisible"], [bound, 2, "setAllowWaterMark"], [bound, 2, "setWaterMarkLineType"], [bound, 2, "setAlllowChangeName"], [bound, 2, "_handleDialogOpen"], [bound, 2, "_handleDialogClose"], [bound, 2, "_onEvent"], [_operateWaitingRoomDecs, 18, "_operateWaitingRoom"], [_handleCloudRecordingStateUpdatedDecs, 18, "_handleCloudRecordingStateUpdated"], [_setOutputLanguageDecs, 18, "setOutputLanguage"], [_setEndMeetingPopoverOpenedDecs, 18, "setEndMeetingPopoverOpened"], [_subscribeLanguageDecs, 18, "subscribeLanguage"], [_subscribeExtraOriginLanguageDecs, 18, "subscribeExtraOriginLanguage"], [_getOfflineUserExistenceStateDecs, 18, "getOfflineUserExistenceState"], [_clickWidgetDecs, 18, "clickWidget"], [_closeWidgetDecs, 18, "closeWidget"]], []).e, 15);
1471
+ _init_newMessageTooltipVisible = _applyDecs$e[0];
1472
+ _init_totalWaitingRoomUser = _applyDecs$e[1];
1473
+ _init_liveStreamingState = _applyDecs$e[2];
1474
+ _init_currentMenuIs = _applyDecs$e[3];
1475
+ _init_cloudRecordingState = _applyDecs$e[4];
1476
+ _init_connectionSettingVisible = _applyDecs$e[5];
1477
+ _init_folded = _applyDecs$e[6];
1478
+ _init_showArrow = _applyDecs$e[7];
1479
+ _init_phoneMicEnabled = _applyDecs$e[8];
1480
+ _init_chatTabIndex = _applyDecs$e[9];
1481
+ _init_hasOfflineUserExistence = _applyDecs$e[10];
1482
+ _init_connectionState = _applyDecs$e[11];
1483
+ _init_appActionbarPopoverVisible = _applyDecs$e[12];
1484
+ _init_stateBarLeaveMeeting = _applyDecs$e[13];
1485
+ _initProto = _applyDecs$e[14];
1486
+ export var ActionBarContext = /*#__PURE__*/createContext(null);