fcr-ui-scene 3.8.2 → 3.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (874) hide show
  1. package/lib/base.js +2 -2
  2. package/lib/creator/index.js +25 -10
  3. package/lib/creator/provider-initializer.browser.js +29 -3
  4. package/lib/creator/provider-initializer.electron.js +29 -5
  5. package/lib/electron/app.js +26 -9
  6. package/lib/electron/asar-validation.js +5 -1
  7. package/lib/electron/env.d.ts +1 -0
  8. package/lib/electron/env.js +2 -2
  9. package/lib/electron/injections.d.ts +2 -1
  10. package/lib/electron/injections.js +23 -17
  11. package/lib/electron/ipc/type.d.ts +2 -1
  12. package/lib/electron/ipc/type.js +1 -0
  13. package/lib/electron/ipc-protocol.d.ts +2 -0
  14. package/lib/electron/main.js +6 -6
  15. package/lib/electron/plugins/main-window-display.d.ts +8 -0
  16. package/lib/electron/plugins/main-window-display.js +23 -0
  17. package/lib/electron/preload.js +2 -1
  18. package/lib/electron/process-manager/index.d.ts +1 -0
  19. package/lib/electron/process-manager/index.js +37 -0
  20. package/lib/electron/process-manager/state-manager.d.ts +10 -0
  21. package/lib/electron/process-manager/state-manager.js +46 -4
  22. package/lib/electron/sdk-helper.js +4 -0
  23. package/lib/electron/window-proxy/browser-window-proxy-factory.d.ts +7 -0
  24. package/lib/electron/window-proxy/browser-window-proxy-factory.js +46 -0
  25. package/lib/electron/window-proxy/{browser-window-proxy.d.ts → implementations/browser-window-proxy.d.ts} +3 -24
  26. package/lib/electron/window-proxy/implementations/browser-window-proxy.js +335 -0
  27. package/lib/electron/window-proxy/implementations/electron-event-broadcaster.d.ts +9 -0
  28. package/lib/electron/window-proxy/implementations/electron-event-broadcaster.js +32 -0
  29. package/lib/electron/window-proxy/implementations/electron-ipc-handler.d.ts +6 -0
  30. package/lib/electron/window-proxy/implementations/electron-ipc-handler.js +27 -0
  31. package/lib/electron/window-proxy/implementations/electron-logger.d.ts +7 -0
  32. package/lib/electron/window-proxy/implementations/electron-logger.js +34 -0
  33. package/lib/electron/window-proxy/{main-process-handler.d.ts → implementations/main-process-handler.d.ts} +16 -9
  34. package/lib/electron/window-proxy/{main-process-handler.js → implementations/main-process-handler.js} +111 -111
  35. package/lib/electron/window-proxy/interfaces.d.ts +52 -0
  36. package/lib/electron/window-proxy/interfaces.js +6 -0
  37. package/lib/fragments/annotation/cursor.css +77 -0
  38. package/lib/fragments/annotation/index.d.ts +2 -4
  39. package/lib/fragments/annotation/index.js +4 -82
  40. package/lib/fragments/annotation/libs.d.ts +15 -11
  41. package/lib/fragments/annotation/libs.js +75 -26
  42. package/lib/fragments/annotation/store.d.ts +23 -43
  43. package/lib/fragments/annotation/store.js +319 -709
  44. package/lib/fragments/annotation/style.css +6 -6
  45. package/lib/fragments/annotation/view.d.ts +1 -0
  46. package/lib/fragments/annotation/view.js +8 -48
  47. package/lib/fragments/base.js +1 -1
  48. package/lib/fragments/whiteboard/libs.d.ts +72 -0
  49. package/lib/fragments/whiteboard/libs.js +155 -0
  50. package/lib/fragments/whiteboard/store.d.ts +1 -4
  51. package/lib/fragments/whiteboard/store.js +64 -128
  52. package/lib/fragments/whiteboard/style.css +4 -0
  53. package/lib/modules/action-bar/components/apps/index.js +2 -2
  54. package/lib/modules/action-bar/components/collapse/index.js +8 -3
  55. package/lib/modules/action-bar/components/{confirm-leave-meeting → confirm-end-meeting}/index.d.ts +1 -1
  56. package/lib/modules/action-bar/components/{confirm-leave-meeting → confirm-end-meeting}/index.js +14 -33
  57. package/lib/modules/action-bar/components/leave/index.js +1 -1
  58. package/lib/modules/action-bar/components/notification-bar/components/interpreter/index.css +6 -0
  59. package/lib/modules/action-bar/components/notification-bar/components/interpreter/index.d.ts +3 -7
  60. package/lib/modules/action-bar/components/notification-bar/components/interpreter/index.js +66 -42
  61. package/lib/modules/action-bar/components/notification-bar/components/virtual-image/index.d.ts +2 -2
  62. package/lib/modules/action-bar/components/notification-bar/components/virtual-image/index.js +11 -7
  63. package/lib/modules/action-bar/components/notification-bar/index.js +12 -70
  64. package/lib/modules/action-bar/components/screen-share/submenu.js +39 -2
  65. package/lib/modules/action-bar/components/trigger-subscribe-language/guide-tooltip/index.css +1 -0
  66. package/lib/modules/action-bar/components/trigger-subscribe-language/guide-tooltip/index.js +10 -7
  67. package/lib/modules/action-bar/index.css +1 -1
  68. package/lib/modules/action-bar/main-scene/index.d.ts +1 -1
  69. package/lib/modules/action-bar/main-scene/index.js +4 -4
  70. package/lib/modules/action-bar/main-scene/store.base.d.ts +16 -9
  71. package/lib/modules/action-bar/main-scene/store.base.js +165 -94
  72. package/lib/modules/action-bar/type.d.ts +1 -15
  73. package/lib/modules/action-bar/type.js +14 -0
  74. package/lib/modules/action-bar/waiting-scene/view.js +1 -1
  75. package/lib/modules/annotation/board-cursor.css +77 -0
  76. package/lib/modules/annotation/components/color-picker/components/color.d.ts +5 -0
  77. package/lib/modules/annotation/components/color-picker/components/color.js +37 -0
  78. package/lib/modules/annotation/components/color-picker/components/panel.d.ts +1 -0
  79. package/lib/modules/annotation/components/color-picker/components/panel.js +108 -0
  80. package/lib/modules/annotation/components/color-picker/components/picker.d.ts +1 -0
  81. package/lib/modules/annotation/components/color-picker/components/picker.js +75 -0
  82. package/lib/modules/annotation/components/color-picker/index.d.ts +2 -0
  83. package/lib/modules/annotation/components/color-picker/index.js +45 -0
  84. package/lib/modules/annotation/components/eraser-picker.d.ts +4 -0
  85. package/lib/modules/annotation/components/eraser-picker.js +142 -0
  86. package/lib/modules/annotation/components/expansion/index.d.ts +1 -0
  87. package/lib/modules/annotation/components/expansion/index.js +100 -0
  88. package/lib/modules/annotation/components/extra-tool-picker.d.ts +1 -0
  89. package/lib/modules/annotation/components/extra-tool-picker.js +62 -0
  90. package/lib/modules/annotation/components/history.d.ts +2 -0
  91. package/lib/modules/annotation/components/history.js +76 -0
  92. package/lib/modules/annotation/components/icons/fold-icon.d.ts +2 -0
  93. package/lib/modules/annotation/components/icons/fold-icon.js +41 -0
  94. package/lib/modules/annotation/components/icons/move-icon.d.ts +1 -0
  95. package/lib/modules/annotation/components/icons/move-icon.js +66 -0
  96. package/lib/modules/annotation/components/item/index.d.ts +1 -0
  97. package/lib/modules/annotation/components/item/index.js +43 -0
  98. package/lib/modules/annotation/components/move-handle.d.ts +5 -0
  99. package/lib/modules/annotation/components/move-handle.js +134 -0
  100. package/lib/modules/annotation/components/pen-picker.d.ts +4 -0
  101. package/lib/modules/annotation/components/pen-picker.js +150 -0
  102. package/lib/modules/annotation/components/screen-capture-picker.d.ts +4 -0
  103. package/lib/modules/annotation/components/screen-capture-picker.js +84 -0
  104. package/lib/modules/annotation/components/shape-picker.d.ts +4 -0
  105. package/lib/modules/annotation/components/shape-picker.js +201 -0
  106. package/lib/modules/annotation/hooks/index.d.ts +14 -0
  107. package/lib/modules/annotation/hooks/index.js +164 -0
  108. package/lib/modules/annotation/index.d.ts +31 -0
  109. package/lib/modules/annotation/index.js +152 -0
  110. package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/color-tool/color-panel/index.js +2 -2
  111. package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/color-tool/index.js +22 -9
  112. package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/graphic-tool/graphic-panel/index.js +2 -3
  113. package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/graphic-tool/index.js +22 -9
  114. package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/pen-tool/index.js +22 -9
  115. package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/pen-tool/pen-panel/index.js +1 -1
  116. package/lib/modules/annotation/standalone-toolbar/components/permission-tool/index.d.ts +1 -0
  117. package/lib/modules/annotation/standalone-toolbar/components/permission-tool/index.js +52 -0
  118. package/lib/modules/annotation/standalone-toolbar/store.d.ts +104 -0
  119. package/lib/modules/annotation/standalone-toolbar/store.js +618 -0
  120. package/{lib-es/fragments/annotation/toolbar → lib/modules/annotation/standalone-toolbar}/style.css +4 -1
  121. package/lib/modules/annotation/standalone-toolbar/view.js +193 -0
  122. package/lib/modules/annotation/store.base.d.ts +27 -0
  123. package/lib/modules/annotation/store.base.js +185 -0
  124. package/lib/modules/annotation/store.browser.d.ts +3 -0
  125. package/lib/modules/annotation/store.browser.js +25 -0
  126. package/lib/modules/annotation/store.electron.d.ts +8 -0
  127. package/lib/modules/annotation/store.electron.js +75 -0
  128. package/lib/modules/annotation/style.css +36 -0
  129. package/lib/modules/annotation/toolbar-store.d.ts +86 -0
  130. package/lib/modules/annotation/toolbar-store.js +473 -0
  131. package/lib/modules/annotation/type.d.ts +7 -0
  132. package/lib/modules/annotation/type.js +6 -0
  133. package/lib/modules/annotation/view.d.ts +5 -0
  134. package/lib/modules/annotation/view.js +107 -0
  135. package/lib/modules/chat/chat-room-store.d.ts +8 -1
  136. package/lib/modules/chat/chat-room-store.js +156 -74
  137. package/lib/modules/chat/components/message-list/index.js +123 -93
  138. package/lib/modules/chat/components/message-list/message-item/index.js +89 -67
  139. package/lib/modules/chat/components/message-list/scroll-bottom-button/index.js +6 -8
  140. package/lib/modules/chat/index.css +1 -9
  141. package/lib/modules/chat/store.js +7 -5
  142. package/lib/modules/chat/view.js +4 -9
  143. package/lib/modules/components/annotation-menu/index.d.ts +5 -3
  144. package/lib/modules/components/annotation-menu/index.js +29 -34
  145. package/lib/modules/components/apps/index.css +3 -2
  146. package/lib/modules/components/caption-menu/translation-setting-options.js +2 -2
  147. package/lib/modules/components/confirm-wrapper/index.css +48 -0
  148. package/lib/modules/components/confirm-wrapper/index.d.ts +25 -0
  149. package/lib/modules/components/confirm-wrapper/index.js +87 -0
  150. package/lib/modules/components/control-bar/index.d.ts +40 -8
  151. package/lib/modules/components/control-bar/index.js +350 -200
  152. package/lib/modules/components/device-control/components/audio-menu/index.js +3 -2
  153. package/lib/modules/components/device-control/components/video-menu/index.js +5 -3
  154. package/lib/modules/components/device-control/store.base.d.ts +5 -0
  155. package/lib/modules/components/device-control/store.base.js +17 -1
  156. package/lib/modules/components/leave-meeting/index.css +21 -0
  157. package/lib/modules/components/leave-meeting/index.d.ts +0 -2
  158. package/lib/modules/components/leave-meeting/index.js +63 -103
  159. package/lib/modules/components/leave-meeting/portal.d.ts +0 -1
  160. package/lib/modules/components/leave-meeting/portal.js +4 -6
  161. package/lib/modules/components/leave-meeting/store.base.d.ts +3 -4
  162. package/lib/modules/components/leave-meeting/store.base.js +49 -55
  163. package/lib/modules/components/leave-meeting/style.css +0 -1
  164. package/lib/modules/components/member-window/components/member-actions/components/more-actions.js +2 -1
  165. package/lib/modules/components/member-window/components/member-actions/provider.js +1 -1
  166. package/lib/modules/components/member-window/index.d.ts +1 -1
  167. package/lib/modules/components/member-window/index.js +3 -3
  168. package/lib/modules/components/security-menu/store.js +7 -9
  169. package/lib/modules/components/tab-frame/index.css +2 -2
  170. package/lib/modules/connection-gateway/components/phone/index.js +1 -1
  171. package/lib/modules/connection-gateway/store.js +6 -8
  172. package/lib/modules/control-bar/components/annotation-button/index.d.ts +11 -0
  173. package/lib/modules/control-bar/components/annotation-button/index.js +51 -0
  174. package/lib/modules/control-bar/components/apps-popover/index.css +3 -0
  175. package/lib/modules/control-bar/components/apps-popover/index.d.ts +1 -0
  176. package/lib/modules/control-bar/components/apps-popover/index.js +2 -0
  177. package/lib/modules/control-bar/components/carmera/index.js +1 -1
  178. package/lib/modules/control-bar/components/meeting-details/index.js +14 -20
  179. package/lib/modules/control-bar/components/microphone/index.js +2 -2
  180. package/lib/modules/control-bar/hooks.js +1 -1
  181. package/lib/modules/control-bar/index.css +11 -0
  182. package/lib/modules/control-bar/store.d.ts +21 -5
  183. package/lib/modules/control-bar/store.js +195 -59
  184. package/lib/modules/control-bar/view.js +83 -39
  185. package/lib/modules/device-pretest/audio-preview/microphone-detection.js +3 -9
  186. package/lib/modules/device-pretest/audio-preview/speaker-detection.js +1 -1
  187. package/lib/modules/device-pretest/index.js +1 -1
  188. package/lib/modules/device-pretest/settings/beauty.js +1 -1
  189. package/lib/modules/device-pretest/settings/video-effect.d.ts +2 -0
  190. package/lib/modules/device-pretest/settings/video-effect.js +27 -12
  191. package/lib/modules/device-pretest/settings/video-settings-basic.js +1 -1
  192. package/lib/modules/device-pretest/settings/virtual-background-setting.js +1 -1
  193. package/lib/modules/dialog/components/confirm/index.css +0 -18
  194. package/lib/modules/dialog/components/confirm/index.d.ts +1 -0
  195. package/lib/modules/dialog/components/confirm/index.js +2 -2
  196. package/lib/modules/dialog/components/dialog-container/index.css +3 -4
  197. package/lib/modules/dialog/components/dialog-container/index.d.ts +6 -21
  198. package/lib/modules/dialog/components/dialog-container/index.js +80 -132
  199. package/lib/modules/dialog/components/normal-window/index.d.ts +8 -20
  200. package/lib/modules/dialog/components/normal-window/index.js +14 -34
  201. package/lib/modules/dialog/dialogConfig/browser.d.ts +12 -0
  202. package/lib/modules/dialog/dialogConfig/browser.js +11 -0
  203. package/lib/modules/dialog/dialogConfig/electron.d.ts +4 -0
  204. package/lib/modules/dialog/dialogConfig/electron.js +15 -0
  205. package/lib/modules/dialog/dialogs/annotation-mask/index.d.ts +8 -0
  206. package/lib/modules/dialog/dialogs/annotation-mask/index.js +41 -0
  207. package/lib/modules/dialog/dialogs/annotation-tool/index.d.ts +5 -4
  208. package/lib/modules/dialog/dialogs/annotation-tool/index.js +19 -35
  209. package/lib/modules/dialog/dialogs/caption/index.d.ts +4 -16
  210. package/lib/modules/dialog/dialogs/caption/index.js +25 -19
  211. package/lib/modules/dialog/dialogs/chat/index.d.ts +4 -18
  212. package/lib/modules/dialog/dialogs/chat/index.js +33 -54
  213. package/lib/modules/dialog/dialogs/confirm/index.css +2 -13
  214. package/lib/modules/dialog/dialogs/confirm/index.d.ts +2 -17
  215. package/lib/modules/dialog/dialogs/confirm/index.js +5 -7
  216. package/lib/modules/dialog/dialogs/confirm-leave-meeting/index.d.ts +5 -16
  217. package/lib/modules/dialog/dialogs/confirm-leave-meeting/index.js +4 -24
  218. package/lib/modules/dialog/dialogs/connection-gateway/index.d.ts +4 -20
  219. package/lib/modules/dialog/dialogs/connection-gateway/index.js +6 -29
  220. package/lib/modules/dialog/dialogs/control-bar/index.d.ts +2 -16
  221. package/lib/modules/dialog/dialogs/control-bar/index.js +4 -6
  222. package/lib/modules/dialog/dialogs/control-bar-leave-meeting/index.d.ts +4 -14
  223. package/lib/modules/dialog/dialogs/control-bar-leave-meeting/index.js +3 -21
  224. package/lib/modules/dialog/dialogs/device-setting/index.d.ts +4 -13
  225. package/lib/modules/dialog/dialogs/device-setting/index.js +4 -20
  226. package/lib/modules/dialog/dialogs/end-meeting-notice/index.d.ts +8 -0
  227. package/lib/modules/dialog/dialogs/{end-meeting → end-meeting-notice}/index.js +4 -14
  228. package/lib/modules/dialog/dialogs/interpreter/index.d.ts +4 -14
  229. package/lib/modules/dialog/dialogs/interpreter/index.js +33 -24
  230. package/lib/modules/dialog/dialogs/invite/index.d.ts +4 -18
  231. package/lib/modules/dialog/dialogs/invite/index.js +25 -24
  232. package/lib/modules/dialog/dialogs/live-streaming/index.d.ts +4 -8
  233. package/lib/modules/dialog/dialogs/live-streaming/index.js +7 -11
  234. package/lib/modules/dialog/dialogs/mute-all/index.d.ts +4 -15
  235. package/lib/modules/dialog/dialogs/mute-all/index.js +4 -20
  236. package/lib/modules/dialog/dialogs/participant/index.d.ts +4 -18
  237. package/lib/modules/dialog/dialogs/participant/index.js +31 -31
  238. package/lib/modules/dialog/dialogs/rename/index.d.ts +2 -14
  239. package/lib/modules/dialog/dialogs/rename/index.js +2 -13
  240. package/lib/modules/dialog/dialogs/sample-dialog/index.d.ts +2 -13
  241. package/lib/modules/dialog/dialogs/sample-dialog/index.js +2 -2
  242. package/lib/modules/dialog/dialogs/share-screen-selection/index.d.ts +2 -14
  243. package/lib/modules/dialog/dialogs/share-screen-selection/index.js +3 -12
  244. package/lib/modules/dialog/dialogs/sub-window/index.d.ts +2 -17
  245. package/lib/modules/dialog/dialogs/sub-window/index.js +4 -3
  246. package/lib/modules/dialog/dialogs/subtitles-history/index.d.ts +4 -19
  247. package/lib/modules/dialog/dialogs/subtitles-history/index.js +32 -25
  248. package/lib/modules/dialog/dialogs/system-preference/index.css +3 -2
  249. package/lib/modules/dialog/dialogs/system-preference/index.d.ts +5 -28
  250. package/lib/modules/dialog/dialogs/system-preference/index.js +13 -13
  251. package/lib/modules/dialog/dialogs/toast/index.d.ts +2 -16
  252. package/lib/modules/dialog/dialogs/toast/index.js +5 -5
  253. package/lib/modules/dialog/dialogs/video-window/index.d.ts +2 -18
  254. package/lib/modules/dialog/dialogs/video-window/index.js +4 -4
  255. package/lib/modules/dialog/dialogs/whiteboard/index.d.ts +2 -18
  256. package/lib/modules/dialog/dialogs/whiteboard/index.js +2 -2
  257. package/lib/modules/dialog/dialogs/widget/index.d.ts +4 -14
  258. package/lib/modules/dialog/dialogs/widget/index.js +22 -26
  259. package/lib/modules/dialog/index.css +4 -11
  260. package/lib/modules/dialog/level-config.d.ts +1 -0
  261. package/lib/modules/dialog/level-config.js +1 -0
  262. package/lib/modules/dialog/store.base.js +0 -3
  263. package/lib/modules/dialog/store.electron.d.ts +1 -0
  264. package/lib/modules/dialog/store.electron.js +16 -9
  265. package/lib/modules/dialog/type.d.ts +3 -1
  266. package/lib/modules/dialog/view.js +25 -1
  267. package/lib/modules/dialog/web-dialog-wrapper.d.ts +3 -0
  268. package/lib/modules/dialog/web-dialog-wrapper.js +154 -0
  269. package/lib/modules/event-toast/index.css +5 -2
  270. package/lib/modules/event-toast/store.browser.js +1 -1
  271. package/lib/modules/event-toast/store.electron.js +1 -1
  272. package/lib/modules/interpreter/index.css +1 -2
  273. package/lib/modules/interpreter/store.js +22 -19
  274. package/lib/modules/interpreter/utils.js +1 -1
  275. package/lib/modules/invite/components/pstn-invite.js +5 -5
  276. package/lib/modules/invite/store.d.ts +2 -2
  277. package/lib/modules/invite/store.js +1 -1
  278. package/lib/modules/layout/components/Aside.js +1 -1
  279. package/lib/modules/layout/components/Carousel.js +1 -1
  280. package/lib/modules/layout/components/CommonVideoRenderer.js +14 -4
  281. package/lib/modules/layout/components/Gallery.js +1 -1
  282. package/lib/modules/layout/index.css +0 -31
  283. package/lib/modules/layout/store.base.d.ts +9 -15
  284. package/lib/modules/layout/store.base.js +69 -198
  285. package/lib/modules/layout/store.browser.d.ts +2 -1
  286. package/lib/modules/layout/store.browser.js +62 -2
  287. package/lib/modules/layout/store.electron.d.ts +1 -3
  288. package/lib/modules/layout/store.electron.js +10 -28
  289. package/lib/modules/layout/view.js +1 -3
  290. package/lib/modules/live-streaming/index.dev.js +1 -1
  291. package/lib/modules/live-streaming/store.js +3 -4
  292. package/lib/modules/participant/components/confirm-input/index.css +15 -0
  293. package/lib/modules/participant/components/confirm-input/index.js +10 -13
  294. package/lib/modules/participant/components/mute-all/index.css +34 -0
  295. package/lib/modules/participant/components/mute-all/index.d.ts +1 -0
  296. package/lib/modules/participant/components/mute-all/index.js +21 -15
  297. package/lib/modules/participant/components/participants/components/footer/components/drop-menu/index.js +16 -2
  298. package/lib/modules/participant/components/participants/components/footer/components/drop-menu/util.d.ts +2 -1
  299. package/lib/modules/participant/components/participants/components/footer/components/drop-menu/util.js +3 -1
  300. package/lib/modules/participant/components/participants/components/render-user/components/attendee/components/microphone-indicator/index.js +3 -2
  301. package/lib/modules/participant/components/participants/components/render-user/components/user-action/index.js +1 -1
  302. package/lib/modules/participant/index.css +0 -16
  303. package/lib/modules/participant/store.base.d.ts +18 -5
  304. package/lib/modules/participant/store.base.js +219 -127
  305. package/lib/modules/participant/store.browser.d.ts +2 -1
  306. package/lib/modules/participant/store.browser.js +2 -2
  307. package/lib/modules/participant/store.electron.d.ts +2 -1
  308. package/lib/modules/participant/store.electron.js +2 -2
  309. package/lib/modules/pc-audio-connect/waiting-scene/index.js +6 -1
  310. package/lib/modules/phone-audio-connect/store.js +1 -1
  311. package/lib/modules/phone-audio-connect/view.js +1 -1
  312. package/lib/modules/secondary-window/index.d.ts +14 -7
  313. package/lib/modules/secondary-window/index.js +51 -25
  314. package/lib/modules/secondary-window/store.d.ts +4 -2
  315. package/lib/modules/secondary-window/store.js +39 -8
  316. package/lib/modules/secondary-window/type.d.ts +16 -25
  317. package/lib/modules/secondary-window/type.js +1 -0
  318. package/lib/modules/secondary-window/view.js +59 -58
  319. package/lib/modules/setting/audio-settings/audio-settings.js +2 -2
  320. package/lib/modules/setting/audio-whiteList/audio-device-adaptation.js +2 -2
  321. package/lib/modules/setting/audio-whiteList/audio-whiteList-manager.js +1 -1
  322. package/lib/modules/setting/caption_and_transcribing/index.js +1 -1
  323. package/lib/modules/setting/general-settings/general-settings.js +4 -4
  324. package/lib/modules/setting/index.css +2 -3
  325. package/lib/modules/setting/index.d.ts +1 -2
  326. package/lib/modules/setting/index.js +3 -10
  327. package/lib/modules/setting/minutes-settings/minutes-settings.js +1 -1
  328. package/lib/modules/setting/state/index.js +1 -1
  329. package/lib/modules/setting/storage-settings/storage-settings.js +1 -1
  330. package/lib/modules/setting/store.base.d.ts +11 -9
  331. package/lib/modules/setting/store.base.js +103 -88
  332. package/lib/modules/setting/store.electron.d.ts +2 -1
  333. package/lib/modules/setting/store.electron.js +19 -1
  334. package/lib/modules/setting/translate-settings/translate-settings.js +1 -1
  335. package/lib/modules/setting/type.d.ts +1 -9
  336. package/lib/modules/setting/video-settings/video-settings-basic.js +1 -1
  337. package/lib/modules/setting/video-settings/video-settings.js +11 -7
  338. package/lib/modules/setting/view.js +1 -1
  339. package/lib/modules/share-screen/components/control-bar/index.js +0 -86
  340. package/lib/modules/share-screen/components/selection/index.js +3 -1
  341. package/lib/modules/share-screen/store.base.d.ts +1 -1
  342. package/lib/modules/share-screen/store.base.js +10 -14
  343. package/lib/modules/share-screen/store.electron.d.ts +4 -0
  344. package/lib/modules/share-screen/store.electron.js +108 -34
  345. package/lib/modules/state-bar/layout-config.js +1 -1
  346. package/lib/modules/state-bar/live-streaming-state.js +6 -7
  347. package/lib/modules/state-bar/main-scene/store.browser.js +1 -1
  348. package/lib/modules/state-bar/main-scene/store.electron.js +1 -1
  349. package/lib/modules/state-bar/meeting-details.js +14 -21
  350. package/lib/modules/state-bar/meeting-network-state.css +5 -1
  351. package/lib/modules/state-bar/meeting-network-state.js +7 -1
  352. package/lib/modules/state-bar/meeting-time.js +1 -1
  353. package/lib/modules/state-bar/network-quality.js +1 -1
  354. package/lib/modules/state-bar/recording.js +1 -1
  355. package/lib/modules/state-bar/store.base.d.ts +3 -3
  356. package/lib/modules/state-bar/store.base.js +15 -24
  357. package/lib/modules/state-bar/view.js +6 -7
  358. package/lib/modules/subtitles-history/components/list-item.js +6 -1
  359. package/lib/modules/subtitles-history/index.css +2 -5
  360. package/lib/modules/subtitles-history/store.base.js +24 -12
  361. package/lib/modules/subtitles-history/store.electron.js +8 -2
  362. package/lib/modules/subtitles-history/view.js +7 -5
  363. package/lib/modules/toast-manager/index.d.ts +8 -0
  364. package/lib/modules/toast-manager/index.js +58 -0
  365. package/lib/modules/toast-manager/store.d.ts +28 -0
  366. package/lib/modules/toast-manager/store.js +391 -0
  367. package/lib/modules/toast-manager/toast-params.d.ts +7 -0
  368. package/lib/modules/toast-manager/toast-params.js +89 -0
  369. package/lib/modules/toast-manager/type.d.ts +112 -0
  370. package/lib/modules/toast-manager/type.js +337 -0
  371. package/lib/modules/video-window/store.d.ts +2 -2
  372. package/lib/modules/video-window/store.js +28 -50
  373. package/lib/modules/whiteboard/components/control-bar/store.d.ts +0 -1
  374. package/lib/modules/whiteboard/components/control-bar/store.js +0 -6
  375. package/lib/modules/whiteboard/components/toolbar/store.d.ts +1 -0
  376. package/lib/modules/whiteboard/components/toolbar/store.js +25 -14
  377. package/lib/modules/whiteboard/store.js +10 -9
  378. package/lib/modules/whiteboard/view.js +0 -1
  379. package/lib/modules/widget/store.electron.d.ts +0 -4
  380. package/lib/modules/widget/store.electron.js +3 -38
  381. package/lib/modules/widget/view.js +1 -1
  382. package/lib/modules/widget/web-widget.d.ts +1 -1
  383. package/lib/object-manager.d.ts +2 -0
  384. package/lib/object-manager.js +2 -0
  385. package/lib/plugins/multi-lang-plugin.js +1 -1
  386. package/lib/providers/ability-provider.d.ts +33 -1
  387. package/lib/providers/ability-provider.js +29 -1
  388. package/lib/providers/annotation/provider.base.d.ts +39 -0
  389. package/lib/providers/annotation/provider.base.js +270 -0
  390. package/lib/providers/annotation/provider.browser.d.ts +3 -0
  391. package/lib/providers/annotation/provider.browser.js +25 -0
  392. package/lib/providers/annotation/provider.electron.d.ts +34 -0
  393. package/lib/providers/annotation/provider.electron.js +231 -0
  394. package/lib/providers/annotation/standalone-toolbar-control/index.d.ts +26 -0
  395. package/lib/{fragments/annotation/toolbar/store.js → providers/annotation/standalone-toolbar-control/index.js} +103 -175
  396. package/lib/providers/annotation/toolbar-control/index.d.ts +31 -0
  397. package/lib/providers/annotation/toolbar-control/index.js +205 -0
  398. package/lib/providers/annotation/type.d.ts +64 -21
  399. package/lib/providers/app-list-provider.d.ts +4 -1
  400. package/lib/providers/app-list-provider.js +13 -7
  401. package/lib/providers/board-share/bar-control/base.d.ts +6 -8
  402. package/lib/providers/board-share/bar-control/base.js +7 -36
  403. package/lib/providers/board-share/bar-control/browser.d.ts +4 -1
  404. package/lib/providers/board-share/bar-control/browser.js +76 -3
  405. package/lib/providers/board-share/bar-control/electron.d.ts +4 -6
  406. package/lib/providers/board-share/bar-control/electron.js +36 -12
  407. package/lib/providers/board-share/provider.base.d.ts +11 -8
  408. package/lib/providers/board-share/provider.base.js +72 -13
  409. package/lib/providers/board-share/type.d.ts +11 -12
  410. package/lib/providers/device-privilege-provider.d.ts +5 -4
  411. package/lib/providers/device-privilege-provider.js +85 -62
  412. package/lib/providers/device-provider.d.ts +32 -1
  413. package/lib/providers/device-provider.js +412 -161
  414. package/lib/providers/device-stream-provider.d.ts +3 -3
  415. package/lib/providers/device-stream-provider.js +37 -111
  416. package/lib/providers/dialog/provider.electron.js +6 -1
  417. package/lib/providers/interpreter-provider.js +5 -5
  418. package/lib/providers/message/provider.d.ts +3 -1
  419. package/lib/providers/message/provider.js +12 -0
  420. package/lib/providers/message/type.d.ts +15 -0
  421. package/lib/providers/mouse-detect/provider.js +2 -2
  422. package/lib/providers/mouse-detect/struct.d.ts +2 -1
  423. package/lib/providers/mouse-detect/struct.js +1 -0
  424. package/lib/providers/multi-display-provider.d.ts +1 -0
  425. package/lib/providers/multi-display-provider.js +13 -0
  426. package/lib/providers/phone-audio-provider.d.ts +15 -0
  427. package/lib/providers/phone-audio-provider.js +17 -10
  428. package/lib/providers/privilege-provider.d.ts +15 -15
  429. package/lib/providers/room-provider/room-provider.d.ts +23 -11
  430. package/lib/providers/room-provider/room-provider.js +93 -199
  431. package/lib/providers/room-provider/waiting-room-control-manager.d.ts +2 -2
  432. package/lib/providers/room-provider/waiting-room-control-manager.js +2 -2
  433. package/lib/providers/screen-share/provider.base.d.ts +1 -0
  434. package/lib/providers/screen-share/provider.base.js +6 -1
  435. package/lib/providers/screen-share/provider.browser.js +13 -9
  436. package/lib/providers/screen-share/provider.electron.d.ts +1 -1
  437. package/lib/providers/screen-share/provider.electron.js +54 -44
  438. package/lib/providers/screen-share/strategy/electron.js +18 -3
  439. package/lib/providers/screen-share/stream-state-sync.d.ts +1 -1
  440. package/lib/providers/screen-share/stream-state-sync.js +4 -4
  441. package/lib/providers/screen-share/type.d.ts +9 -1
  442. package/lib/providers/session-provider.d.ts +1 -1
  443. package/lib/providers/stt-provider/stt-provider.d.ts +1 -1
  444. package/lib/providers/stt-provider/stt-provider.js +40 -77
  445. package/lib/providers/stt-provider/type.d.ts +5 -3
  446. package/lib/providers/stt-provider/type.js +4 -2
  447. package/lib/providers/user-audio-volume-provider.d.ts +53 -0
  448. package/lib/providers/user-audio-volume-provider.js +320 -0
  449. package/lib/providers/window/provider.d.ts +1 -1
  450. package/lib/providers/window/provider.js +23 -12
  451. package/lib/providers/window/renderer-window.d.ts +8 -2
  452. package/lib/providers/window/renderer-window.js +118 -33
  453. package/lib/providers/window/type.d.ts +1 -3
  454. package/lib/runtime.d.ts +12 -13
  455. package/lib/scenes/main-scene.js +98 -69
  456. package/lib/scenes/waiting-scene.js +4 -4
  457. package/lib/shared-data/member-data.d.ts +0 -9
  458. package/lib/shared-data/member-data.js +35 -61
  459. package/lib/shared-data/pin-data.d.ts +3 -2
  460. package/lib/shared-data/pin-data.js +8 -11
  461. package/lib/shared-data/setting.js +1 -1
  462. package/lib/shared-data/user-audio-volume.d.ts +19 -0
  463. package/lib/shared-data/user-audio-volume.js +104 -0
  464. package/lib/shared-data/video-window.js +49 -60
  465. package/lib/translations/enUS.d.ts +10 -0
  466. package/lib/translations/enUS.js +13 -3
  467. package/lib/translations/zhCN.d.ts +10 -0
  468. package/lib/translations/zhCN.js +12 -2
  469. package/lib/type.d.ts +27 -19
  470. package/lib/type.js +20 -2
  471. package/lib/ui-manager.js +1 -1
  472. package/lib/ui-scene-switch.d.ts +1 -0
  473. package/lib/ui-scene-switch.js +197 -87
  474. package/lib/utilities/browser-api.d.ts +0 -1
  475. package/lib/utilities/browser-api.js +0 -42
  476. package/lib/utilities/constant.d.ts +4 -4
  477. package/lib/utilities/constant.js +4 -5
  478. package/lib/utilities/default-config.d.ts +2 -8
  479. package/lib/utilities/default-config.js +8 -48
  480. package/lib/utilities/dialog-utils.js +1 -2
  481. package/lib/utilities/focus-helper.js +2 -2
  482. package/lib/utilities/logger.d.ts +1 -2
  483. package/lib/utilities/logger.js +12 -40
  484. package/lib/utilities/package-info.d.ts +1 -2
  485. package/lib/utilities/package-info.js +5 -6
  486. package/lib/utilities/renderer.d.ts +1 -0
  487. package/lib/utilities/renderer.js +7 -1
  488. package/lib/utilities/shared-storage.d.ts +2 -3
  489. package/lib/utilities/shared-storage.js +15 -11
  490. package/lib/utilities/tools.d.ts +1 -44
  491. package/lib/utilities/tools.js +28 -193
  492. package/lib/utilities/validate-params.js +3 -5
  493. package/lib-es/base.js +2 -2
  494. package/lib-es/creator/index.js +28 -12
  495. package/lib-es/creator/provider-initializer.browser.js +29 -3
  496. package/lib-es/creator/provider-initializer.electron.js +29 -5
  497. package/lib-es/electron/app.js +24 -7
  498. package/lib-es/electron/asar-validation.js +5 -1
  499. package/lib-es/electron/env.js +1 -1
  500. package/lib-es/electron/injections.js +22 -17
  501. package/lib-es/electron/ipc/type.js +1 -0
  502. package/lib-es/electron/main.js +3 -2
  503. package/lib-es/electron/plugins/main-window-display.js +16 -0
  504. package/lib-es/electron/preload.js +3 -2
  505. package/lib-es/electron/process-manager/index.js +37 -0
  506. package/lib-es/electron/process-manager/state-manager.js +46 -4
  507. package/lib-es/electron/sdk-helper.js +4 -0
  508. package/lib-es/electron/window-proxy/browser-window-proxy-factory.js +38 -0
  509. package/lib-es/electron/window-proxy/implementations/browser-window-proxy.js +328 -0
  510. package/lib-es/electron/window-proxy/implementations/electron-event-broadcaster.js +24 -0
  511. package/lib-es/electron/window-proxy/implementations/electron-ipc-handler.js +19 -0
  512. package/lib-es/electron/window-proxy/implementations/electron-logger.js +26 -0
  513. package/lib-es/electron/window-proxy/{main-process-handler.js → implementations/main-process-handler.js} +110 -113
  514. package/lib-es/electron/window-proxy/interfaces.js +1 -0
  515. package/lib-es/fragments/annotation/cursor.css +77 -0
  516. package/lib-es/fragments/annotation/index.js +5 -83
  517. package/lib-es/fragments/annotation/libs.js +63 -14
  518. package/lib-es/fragments/annotation/store.js +321 -711
  519. package/lib-es/fragments/annotation/style.css +6 -6
  520. package/lib-es/fragments/annotation/view.js +9 -48
  521. package/lib-es/fragments/base.js +1 -1
  522. package/lib-es/fragments/whiteboard/libs.js +147 -0
  523. package/lib-es/fragments/whiteboard/store.js +65 -129
  524. package/lib-es/fragments/whiteboard/style.css +4 -0
  525. package/lib-es/modules/action-bar/components/apps/index.js +2 -2
  526. package/lib-es/modules/action-bar/components/collapse/index.js +8 -3
  527. package/lib-es/modules/action-bar/components/{confirm-leave-meeting → confirm-end-meeting}/index.js +14 -33
  528. package/lib-es/modules/action-bar/components/leave/index.js +1 -1
  529. package/lib-es/modules/action-bar/components/notification-bar/components/interpreter/index.css +6 -0
  530. package/lib-es/modules/action-bar/components/notification-bar/components/interpreter/index.js +66 -42
  531. package/lib-es/modules/action-bar/components/notification-bar/components/virtual-image/index.js +11 -7
  532. package/lib-es/modules/action-bar/components/notification-bar/index.js +13 -71
  533. package/lib-es/modules/action-bar/components/screen-share/submenu.js +39 -2
  534. package/lib-es/modules/action-bar/components/trigger-subscribe-language/guide-tooltip/index.css +1 -0
  535. package/lib-es/modules/action-bar/components/trigger-subscribe-language/guide-tooltip/index.js +11 -8
  536. package/lib-es/modules/action-bar/index.css +1 -1
  537. package/lib-es/modules/action-bar/main-scene/index.js +4 -4
  538. package/lib-es/modules/action-bar/main-scene/store.base.js +165 -94
  539. package/lib-es/modules/action-bar/type.js +15 -0
  540. package/lib-es/modules/action-bar/waiting-scene/view.js +1 -1
  541. package/lib-es/modules/annotation/board-cursor.css +77 -0
  542. package/lib-es/modules/annotation/components/color-picker/components/color.js +29 -0
  543. package/lib-es/modules/annotation/components/color-picker/components/panel.js +100 -0
  544. package/lib-es/modules/annotation/components/color-picker/components/picker.js +67 -0
  545. package/lib-es/modules/annotation/components/color-picker/index.js +38 -0
  546. package/lib-es/modules/annotation/components/eraser-picker.js +134 -0
  547. package/lib-es/modules/annotation/components/expansion/index.js +85 -0
  548. package/lib-es/modules/annotation/components/extra-tool-picker.js +46 -0
  549. package/lib-es/modules/annotation/components/history.js +68 -0
  550. package/lib-es/modules/annotation/components/icons/fold-icon.js +33 -0
  551. package/lib-es/modules/annotation/components/icons/move-icon.js +59 -0
  552. package/lib-es/modules/annotation/components/item/index.js +35 -0
  553. package/lib-es/modules/annotation/components/move-handle.js +127 -0
  554. package/lib-es/modules/annotation/components/pen-picker.js +142 -0
  555. package/lib-es/modules/annotation/components/screen-capture-picker.js +77 -0
  556. package/lib-es/modules/annotation/components/shape-picker.js +193 -0
  557. package/lib-es/modules/annotation/hooks/index.js +156 -0
  558. package/lib-es/modules/annotation/index.js +144 -0
  559. package/lib-es/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/color-tool/color-panel/index.js +2 -2
  560. package/lib-es/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/color-tool/index.js +23 -10
  561. package/lib-es/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/graphic-tool/graphic-panel/index.js +2 -3
  562. package/lib-es/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/graphic-tool/index.js +23 -10
  563. package/lib-es/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/pen-tool/index.js +23 -10
  564. package/lib-es/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/pen-tool/pen-panel/index.js +2 -2
  565. package/lib-es/modules/annotation/standalone-toolbar/components/permission-tool/index.js +44 -0
  566. package/lib-es/modules/annotation/standalone-toolbar/store.js +611 -0
  567. package/{lib/fragments/annotation/toolbar → lib-es/modules/annotation/standalone-toolbar}/style.css +4 -1
  568. package/lib-es/modules/annotation/standalone-toolbar/view.js +186 -0
  569. package/lib-es/modules/annotation/store.base.js +178 -0
  570. package/lib-es/modules/annotation/store.browser.js +17 -0
  571. package/lib-es/modules/annotation/store.electron.js +67 -0
  572. package/lib-es/modules/annotation/style.css +36 -0
  573. package/lib-es/modules/annotation/toolbar-store.js +466 -0
  574. package/lib-es/modules/annotation/type.js +1 -0
  575. package/lib-es/modules/annotation/view.js +99 -0
  576. package/lib-es/modules/chat/chat-room-store.js +156 -74
  577. package/lib-es/modules/chat/components/message-list/index.js +123 -89
  578. package/lib-es/modules/chat/components/message-list/message-item/index.js +89 -67
  579. package/lib-es/modules/chat/components/message-list/scroll-bottom-button/index.js +6 -8
  580. package/lib-es/modules/chat/index.css +1 -9
  581. package/lib-es/modules/chat/store.js +7 -5
  582. package/lib-es/modules/chat/view.js +2 -7
  583. package/lib-es/modules/components/annotation-menu/index.js +28 -33
  584. package/lib-es/modules/components/apps/index.css +3 -2
  585. package/lib-es/modules/components/caption-menu/translation-setting-options.js +2 -2
  586. package/lib-es/modules/components/confirm-wrapper/index.css +48 -0
  587. package/lib-es/modules/components/confirm-wrapper/index.js +80 -0
  588. package/lib-es/modules/components/control-bar/index.js +349 -199
  589. package/lib-es/modules/components/device-control/components/audio-menu/index.js +3 -2
  590. package/lib-es/modules/components/device-control/components/video-menu/index.js +5 -3
  591. package/lib-es/modules/components/device-control/store.base.js +17 -1
  592. package/lib-es/modules/components/leave-meeting/index.css +21 -0
  593. package/lib-es/modules/components/leave-meeting/index.js +63 -102
  594. package/lib-es/modules/components/leave-meeting/portal.js +3 -5
  595. package/lib-es/modules/components/leave-meeting/store.base.js +49 -55
  596. package/lib-es/modules/components/leave-meeting/style.css +0 -1
  597. package/lib-es/modules/components/member-window/components/member-actions/components/more-actions.js +2 -1
  598. package/lib-es/modules/components/member-window/components/member-actions/provider.js +1 -1
  599. package/lib-es/modules/components/member-window/index.js +3 -3
  600. package/lib-es/modules/components/security-menu/store.js +7 -9
  601. package/lib-es/modules/components/tab-frame/index.css +2 -2
  602. package/lib-es/modules/connection-gateway/components/phone/index.js +1 -1
  603. package/lib-es/modules/connection-gateway/store.js +6 -8
  604. package/lib-es/modules/control-bar/components/annotation-button/index.js +43 -0
  605. package/lib-es/modules/control-bar/components/apps-popover/index.css +3 -0
  606. package/lib-es/modules/control-bar/components/apps-popover/index.js +2 -0
  607. package/lib-es/modules/control-bar/components/carmera/index.js +1 -1
  608. package/lib-es/modules/control-bar/components/meeting-details/index.js +10 -16
  609. package/lib-es/modules/control-bar/components/microphone/index.js +2 -2
  610. package/lib-es/modules/control-bar/hooks.js +1 -1
  611. package/lib-es/modules/control-bar/index.css +11 -0
  612. package/lib-es/modules/control-bar/store.js +189 -53
  613. package/lib-es/modules/control-bar/view.js +83 -39
  614. package/lib-es/modules/device-pretest/audio-preview/microphone-detection.js +4 -10
  615. package/lib-es/modules/device-pretest/audio-preview/speaker-detection.js +1 -1
  616. package/lib-es/modules/device-pretest/index.js +1 -1
  617. package/lib-es/modules/device-pretest/settings/beauty.js +1 -1
  618. package/lib-es/modules/device-pretest/settings/video-effect.js +27 -12
  619. package/lib-es/modules/device-pretest/settings/video-settings-basic.js +1 -1
  620. package/lib-es/modules/device-pretest/settings/virtual-background-setting.js +1 -1
  621. package/lib-es/modules/dialog/components/confirm/index.css +0 -18
  622. package/lib-es/modules/dialog/components/confirm/index.js +2 -1
  623. package/lib-es/modules/dialog/components/dialog-container/index.css +3 -4
  624. package/lib-es/modules/dialog/components/dialog-container/index.js +80 -126
  625. package/lib-es/modules/dialog/components/normal-window/index.js +15 -35
  626. package/lib-es/modules/dialog/dialogConfig/browser.js +4 -0
  627. package/lib-es/modules/dialog/dialogConfig/electron.js +8 -0
  628. package/lib-es/modules/dialog/dialogs/annotation-mask/index.js +34 -0
  629. package/lib-es/modules/dialog/dialogs/annotation-tool/index.js +18 -34
  630. package/lib-es/modules/dialog/dialogs/caption/index.js +24 -18
  631. package/lib-es/modules/dialog/dialogs/chat/index.js +32 -53
  632. package/lib-es/modules/dialog/dialogs/confirm/index.css +2 -13
  633. package/lib-es/modules/dialog/dialogs/confirm/index.js +4 -6
  634. package/lib-es/modules/dialog/dialogs/confirm-leave-meeting/index.js +3 -23
  635. package/lib-es/modules/dialog/dialogs/connection-gateway/index.js +5 -28
  636. package/lib-es/modules/dialog/dialogs/control-bar/index.js +3 -5
  637. package/lib-es/modules/dialog/dialogs/control-bar-leave-meeting/index.js +2 -20
  638. package/lib-es/modules/dialog/dialogs/device-setting/index.js +3 -19
  639. package/lib-es/modules/dialog/dialogs/{end-meeting → end-meeting-notice}/index.js +3 -13
  640. package/lib-es/modules/dialog/dialogs/interpreter/index.js +32 -23
  641. package/lib-es/modules/dialog/dialogs/invite/index.js +24 -23
  642. package/lib-es/modules/dialog/dialogs/live-streaming/index.js +6 -10
  643. package/lib-es/modules/dialog/dialogs/mute-all/index.js +3 -19
  644. package/lib-es/modules/dialog/dialogs/participant/index.js +31 -30
  645. package/lib-es/modules/dialog/dialogs/rename/index.js +1 -12
  646. package/lib-es/modules/dialog/dialogs/sample-dialog/index.js +1 -1
  647. package/lib-es/modules/dialog/dialogs/share-screen-selection/index.js +2 -11
  648. package/lib-es/modules/dialog/dialogs/sub-window/index.js +3 -2
  649. package/lib-es/modules/dialog/dialogs/subtitles-history/index.js +31 -24
  650. package/lib-es/modules/dialog/dialogs/system-preference/index.css +3 -2
  651. package/lib-es/modules/dialog/dialogs/system-preference/index.js +12 -12
  652. package/lib-es/modules/dialog/dialogs/toast/index.js +4 -4
  653. package/lib-es/modules/dialog/dialogs/video-window/index.js +3 -3
  654. package/lib-es/modules/dialog/dialogs/whiteboard/index.js +1 -1
  655. package/lib-es/modules/dialog/dialogs/widget/index.js +21 -25
  656. package/lib-es/modules/dialog/index.css +4 -11
  657. package/lib-es/modules/dialog/level-config.js +1 -0
  658. package/lib-es/modules/dialog/store.base.js +0 -3
  659. package/lib-es/modules/dialog/store.electron.js +16 -9
  660. package/lib-es/modules/dialog/view.js +25 -1
  661. package/lib-es/modules/dialog/web-dialog-wrapper.js +147 -0
  662. package/lib-es/modules/event-toast/index.css +5 -2
  663. package/lib-es/modules/event-toast/store.browser.js +1 -1
  664. package/lib-es/modules/event-toast/store.electron.js +1 -1
  665. package/lib-es/modules/interpreter/index.css +1 -2
  666. package/lib-es/modules/interpreter/store.js +22 -19
  667. package/lib-es/modules/interpreter/utils.js +1 -1
  668. package/lib-es/modules/invite/components/pstn-invite.js +4 -4
  669. package/lib-es/modules/invite/store.js +1 -1
  670. package/lib-es/modules/layout/components/Aside.js +1 -1
  671. package/lib-es/modules/layout/components/Carousel.js +1 -1
  672. package/lib-es/modules/layout/components/CommonVideoRenderer.js +15 -5
  673. package/lib-es/modules/layout/components/Gallery.js +1 -1
  674. package/lib-es/modules/layout/index.css +0 -31
  675. package/lib-es/modules/layout/store.base.js +71 -200
  676. package/lib-es/modules/layout/store.browser.js +62 -1
  677. package/lib-es/modules/layout/store.electron.js +10 -28
  678. package/lib-es/modules/layout/view.js +1 -3
  679. package/lib-es/modules/live-streaming/index.dev.js +1 -1
  680. package/lib-es/modules/live-streaming/store.js +3 -4
  681. package/lib-es/modules/participant/components/confirm-input/index.css +15 -0
  682. package/lib-es/modules/participant/components/confirm-input/index.js +10 -13
  683. package/lib-es/modules/participant/components/mute-all/index.css +34 -0
  684. package/lib-es/modules/participant/components/mute-all/index.js +21 -15
  685. package/lib-es/modules/participant/components/participants/components/footer/components/drop-menu/index.js +17 -3
  686. package/lib-es/modules/participant/components/participants/components/footer/components/drop-menu/util.js +3 -1
  687. package/lib-es/modules/participant/components/participants/components/render-user/components/attendee/components/microphone-indicator/index.js +3 -2
  688. package/lib-es/modules/participant/components/participants/components/render-user/components/user-action/index.js +1 -1
  689. package/lib-es/modules/participant/index.css +0 -16
  690. package/lib-es/modules/participant/store.base.js +219 -127
  691. package/lib-es/modules/participant/store.browser.js +2 -2
  692. package/lib-es/modules/participant/store.electron.js +2 -2
  693. package/lib-es/modules/pc-audio-connect/waiting-scene/index.js +6 -1
  694. package/lib-es/modules/phone-audio-connect/store.js +1 -1
  695. package/lib-es/modules/phone-audio-connect/view.js +1 -1
  696. package/lib-es/modules/secondary-window/index.js +51 -25
  697. package/lib-es/modules/secondary-window/store.js +40 -9
  698. package/lib-es/modules/secondary-window/type.js +1 -0
  699. package/lib-es/modules/secondary-window/view.js +60 -59
  700. package/lib-es/modules/setting/audio-settings/audio-settings.js +2 -2
  701. package/lib-es/modules/setting/audio-whiteList/audio-device-adaptation.js +2 -2
  702. package/lib-es/modules/setting/audio-whiteList/audio-whiteList-manager.js +1 -1
  703. package/lib-es/modules/setting/caption_and_transcribing/index.js +1 -1
  704. package/lib-es/modules/setting/general-settings/general-settings.js +5 -5
  705. package/lib-es/modules/setting/index.css +2 -3
  706. package/lib-es/modules/setting/index.js +3 -10
  707. package/lib-es/modules/setting/minutes-settings/minutes-settings.js +1 -1
  708. package/lib-es/modules/setting/state/index.js +1 -1
  709. package/lib-es/modules/setting/storage-settings/storage-settings.js +1 -1
  710. package/lib-es/modules/setting/store.base.js +103 -88
  711. package/lib-es/modules/setting/store.electron.js +19 -1
  712. package/lib-es/modules/setting/translate-settings/translate-settings.js +1 -1
  713. package/lib-es/modules/setting/video-settings/video-settings-basic.js +1 -1
  714. package/lib-es/modules/setting/video-settings/video-settings.js +11 -7
  715. package/lib-es/modules/setting/view.js +1 -1
  716. package/lib-es/modules/share-screen/components/control-bar/index.js +0 -86
  717. package/lib-es/modules/share-screen/components/selection/index.js +3 -1
  718. package/lib-es/modules/share-screen/store.base.js +10 -14
  719. package/lib-es/modules/share-screen/store.electron.js +109 -35
  720. package/lib-es/modules/state-bar/layout-config.js +1 -1
  721. package/lib-es/modules/state-bar/live-streaming-state.js +5 -6
  722. package/lib-es/modules/state-bar/main-scene/store.browser.js +1 -1
  723. package/lib-es/modules/state-bar/main-scene/store.electron.js +1 -1
  724. package/lib-es/modules/state-bar/meeting-details.js +10 -17
  725. package/lib-es/modules/state-bar/meeting-network-state.css +5 -1
  726. package/lib-es/modules/state-bar/meeting-network-state.js +7 -1
  727. package/lib-es/modules/state-bar/meeting-time.js +1 -1
  728. package/lib-es/modules/state-bar/network-quality.js +1 -1
  729. package/lib-es/modules/state-bar/recording.js +1 -1
  730. package/lib-es/modules/state-bar/store.base.js +15 -24
  731. package/lib-es/modules/state-bar/view.js +5 -6
  732. package/lib-es/modules/subtitles-history/components/list-item.js +6 -1
  733. package/lib-es/modules/subtitles-history/index.css +2 -5
  734. package/lib-es/modules/subtitles-history/store.base.js +24 -12
  735. package/lib-es/modules/subtitles-history/store.electron.js +8 -2
  736. package/lib-es/modules/subtitles-history/view.js +7 -5
  737. package/lib-es/modules/toast-manager/index.js +50 -0
  738. package/lib-es/modules/toast-manager/store.js +383 -0
  739. package/lib-es/modules/toast-manager/toast-params.js +82 -0
  740. package/lib-es/modules/toast-manager/type.js +329 -0
  741. package/lib-es/modules/video-window/store.js +28 -50
  742. package/lib-es/modules/whiteboard/components/control-bar/store.js +0 -6
  743. package/lib-es/modules/whiteboard/components/toolbar/store.js +25 -14
  744. package/lib-es/modules/whiteboard/store.js +10 -9
  745. package/lib-es/modules/whiteboard/view.js +0 -1
  746. package/lib-es/modules/widget/store.electron.js +12 -47
  747. package/lib-es/modules/widget/view.js +1 -1
  748. package/lib-es/object-manager.js +2 -0
  749. package/lib-es/plugins/multi-lang-plugin.js +1 -1
  750. package/lib-es/providers/ability-provider.js +29 -1
  751. package/lib-es/providers/annotation/provider.base.js +263 -0
  752. package/lib-es/providers/annotation/provider.browser.js +17 -0
  753. package/lib-es/providers/annotation/provider.electron.js +224 -0
  754. package/lib-es/{fragments/annotation/toolbar/store.js → providers/annotation/standalone-toolbar-control/index.js} +102 -174
  755. package/lib-es/providers/annotation/toolbar-control/index.js +198 -0
  756. package/lib-es/providers/app-list-provider.js +13 -7
  757. package/lib-es/providers/board-share/bar-control/base.js +7 -36
  758. package/lib-es/providers/board-share/bar-control/browser.js +78 -4
  759. package/lib-es/providers/board-share/bar-control/electron.js +36 -12
  760. package/lib-es/providers/board-share/provider.base.js +73 -14
  761. package/lib-es/providers/device-privilege-provider.js +85 -62
  762. package/lib-es/providers/device-provider.js +413 -162
  763. package/lib-es/providers/device-stream-provider.js +37 -111
  764. package/lib-es/providers/dialog/provider.electron.js +6 -1
  765. package/lib-es/providers/interpreter-provider.js +5 -5
  766. package/lib-es/providers/message/provider.js +12 -0
  767. package/lib-es/providers/mouse-detect/provider.js +1 -1
  768. package/lib-es/providers/mouse-detect/struct.js +1 -0
  769. package/lib-es/providers/multi-display-provider.js +15 -2
  770. package/lib-es/providers/phone-audio-provider.js +17 -10
  771. package/lib-es/providers/room-provider/room-provider.js +95 -201
  772. package/lib-es/providers/room-provider/waiting-room-control-manager.js +1 -1
  773. package/lib-es/providers/screen-share/provider.base.js +6 -1
  774. package/lib-es/providers/screen-share/provider.browser.js +13 -9
  775. package/lib-es/providers/screen-share/provider.electron.js +54 -44
  776. package/lib-es/providers/screen-share/strategy/electron.js +18 -3
  777. package/lib-es/providers/screen-share/stream-state-sync.js +4 -4
  778. package/lib-es/providers/stt-provider/stt-provider.js +65 -102
  779. package/lib-es/providers/stt-provider/type.js +4 -2
  780. package/lib-es/providers/user-audio-volume-provider.js +313 -0
  781. package/lib-es/providers/window/provider.js +23 -13
  782. package/lib-es/providers/window/renderer-window.js +118 -33
  783. package/lib-es/scenes/main-scene.js +113 -83
  784. package/lib-es/scenes/waiting-scene.js +5 -5
  785. package/lib-es/shared-data/member-data.js +35 -61
  786. package/lib-es/shared-data/pin-data.js +8 -11
  787. package/lib-es/shared-data/setting.js +1 -1
  788. package/lib-es/shared-data/user-audio-volume.js +97 -0
  789. package/lib-es/shared-data/video-window.js +49 -60
  790. package/lib-es/translations/enUS.js +13 -3
  791. package/lib-es/translations/zhCN.js +12 -2
  792. package/lib-es/type.js +19 -1
  793. package/lib-es/ui-manager.js +1 -1
  794. package/lib-es/ui-scene-switch.js +199 -88
  795. package/lib-es/utilities/browser-api.js +0 -40
  796. package/lib-es/utilities/constant.js +4 -5
  797. package/lib-es/utilities/default-config.js +8 -48
  798. package/lib-es/utilities/dialog-utils.js +1 -1
  799. package/lib-es/utilities/focus-helper.js +1 -1
  800. package/lib-es/utilities/logger.js +12 -40
  801. package/lib-es/utilities/package-info.js +5 -6
  802. package/lib-es/utilities/renderer.js +7 -1
  803. package/lib-es/utilities/shared-storage.js +16 -12
  804. package/lib-es/utilities/tools.js +2 -188
  805. package/lib-es/utilities/validate-params.js +3 -5
  806. package/package.json +7 -8
  807. package/public/js/meeting-manager.js +13 -11
  808. package/lib/electron/window-proxy/browser-window-proxy.js +0 -728
  809. package/lib/fragments/annotation/toolbar/store.d.ts +0 -64
  810. package/lib/fragments/annotation/toolbar/view.js +0 -148
  811. package/lib/fragments/annotation/utils.d.ts +0 -1
  812. package/lib/fragments/annotation/utils.js +0 -27
  813. package/lib/modules/dialog/components/dialog-container/component/body.d.ts +0 -20
  814. package/lib/modules/dialog/components/dialog-container/component/body.js +0 -111
  815. package/lib/modules/dialog/components/host-area-container/index.d.ts +0 -12
  816. package/lib/modules/dialog/components/host-area-container/index.js +0 -153
  817. package/lib/modules/dialog/dialogs/end-meeting/index.d.ts +0 -13
  818. package/lib/modules/dialog/dialogs/interpreter/index.css +0 -30
  819. package/lib/modules/dialog/dialogs/mute-all/index.css +0 -20
  820. package/lib/modules/whiteboard/components/multi-window/index.css +0 -63
  821. package/lib/modules/whiteboard/components/multi-window/index.d.ts +0 -5
  822. package/lib/modules/whiteboard/components/multi-window/index.js +0 -39
  823. package/lib/providers/annotation/provider.d.ts +0 -15
  824. package/lib/providers/annotation/provider.js +0 -69
  825. package/lib/utilities/hooks.d.ts +0 -14
  826. package/lib/utilities/hooks.js +0 -100
  827. package/lib/utilities/mute-action.d.ts +0 -4
  828. package/lib/utilities/mute-action.js +0 -48
  829. package/lib/utilities/platform.d.ts +0 -2
  830. package/lib/utilities/platform.js +0 -14
  831. package/lib/utilities/regex.d.ts +0 -1
  832. package/lib/utilities/regex.js +0 -14
  833. package/lib/utilities/useNamespace.d.ts +0 -15
  834. package/lib/utilities/useNamespace.js +0 -66
  835. package/lib-es/electron/window-proxy/browser-window-proxy.js +0 -720
  836. package/lib-es/fragments/annotation/toolbar/view.js +0 -140
  837. package/lib-es/fragments/annotation/utils.js +0 -20
  838. package/lib-es/modules/dialog/components/dialog-container/component/body.js +0 -103
  839. package/lib-es/modules/dialog/components/host-area-container/index.js +0 -146
  840. package/lib-es/modules/dialog/dialogs/interpreter/index.css +0 -30
  841. package/lib-es/modules/dialog/dialogs/mute-all/index.css +0 -20
  842. package/lib-es/modules/whiteboard/components/multi-window/index.css +0 -63
  843. package/lib-es/modules/whiteboard/components/multi-window/index.js +0 -31
  844. package/lib-es/providers/annotation/provider.js +0 -61
  845. package/lib-es/utilities/hooks.js +0 -82
  846. package/lib-es/utilities/mute-action.js +0 -41
  847. package/lib-es/utilities/platform.js +0 -7
  848. package/lib-es/utilities/regex.js +0 -7
  849. package/lib-es/utilities/useNamespace.js +0 -59
  850. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/color-tool/color-panel/index.d.ts +0 -0
  851. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/color-tool/index.d.ts +0 -0
  852. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/graphic-tool/graphic-panel/index.d.ts +0 -0
  853. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/graphic-tool/graphic-panel/libs.d.ts +0 -0
  854. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/graphic-tool/graphic-panel/libs.js +0 -0
  855. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/graphic-tool/index.d.ts +0 -0
  856. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/item/item.d.ts +0 -0
  857. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/item/item.js +0 -0
  858. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/item/style.css +0 -0
  859. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/panel/index.d.ts +0 -0
  860. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/panel/index.js +0 -0
  861. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/panel/style.css +0 -0
  862. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/pen-tool/index.d.ts +0 -0
  863. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/pen-tool/pen-panel/index.d.ts +0 -0
  864. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/tips/index.d.ts +0 -0
  865. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/tips/index.js +0 -0
  866. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/tips/style.css +0 -0
  867. /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/view.d.ts +0 -0
  868. /package/lib-es/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/graphic-tool/graphic-panel/libs.js +0 -0
  869. /package/lib-es/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/item/item.js +0 -0
  870. /package/lib-es/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/item/style.css +0 -0
  871. /package/lib-es/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/panel/index.js +0 -0
  872. /package/lib-es/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/panel/style.css +0 -0
  873. /package/lib-es/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/tips/index.js +0 -0
  874. /package/lib-es/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/tips/style.css +0 -0
@@ -0,0 +1,391 @@
1
+ "use strict";
2
+
3
+ require("core-js/modules/es.object.define-property.js");
4
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.ToastManagerStore = void 0;
9
+ require("core-js/modules/es.array.includes.js");
10
+ require("core-js/modules/es.string.includes.js");
11
+ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
12
+ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
13
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
14
+ var _i18n = require("agora-ui-foundation/lib/i18n");
15
+ var _type = require("fcr-core/lib/room-control/type");
16
+ var _type2 = require("fcr-core/lib/type");
17
+ var _objectManager = require("../../object-manager");
18
+ var _struct = require("../../providers/screen-share/struct");
19
+ var _type3 = require("../../type");
20
+ var _i18nCommonData = require("../../utilities/i18n-common-data");
21
+ var _logger = require("../../utilities/logger");
22
+ var _type4 = require("./type");
23
+ var ToastManagerStore = exports.ToastManagerStore = /*#__PURE__*/function () {
24
+ function ToastManagerStore(_ref) {
25
+ var _this = this;
26
+ var objectManager = _ref.objectManager;
27
+ (0, _classCallCheck2["default"])(this, ToastManagerStore);
28
+ (0, _defineProperty2["default"])(this, "_logger", (0, _logger.createLogger)({
29
+ prefix: 'ToastManagerStore'
30
+ }));
31
+ (0, _defineProperty2["default"])(this, "_phoneAudioConnectorProviderObserver", {
32
+ onPhoneCallStateUpdated: function onPhoneCallStateUpdated(state, reason) {
33
+ if (state === _type2.FcrRoomConnectorSessionState.END && reason === _type2.FcrRoomConnectorSessionReason.ACCEPTED) {
34
+ _this._messageProvider.showToastByKey({
35
+ key: _type4.FcrUIToastKey.FMT_PSTN_STATUS_VOICECONNECTED
36
+ });
37
+ }
38
+ }
39
+ });
40
+ (0, _defineProperty2["default"])(this, "_devicePrivilegeObserver", {
41
+ onOpenCameraPrivilegeUpdated: function onOpenCameraPrivilegeUpdated(hasVideo, operatorUserRole, cameraEnabled) {
42
+ if (!hasVideo && cameraEnabled) {
43
+ _this._messageProvider.showToastByKey({
44
+ key: _type4.FcrUIToastKey.FMT_ATTENDIES_TIPS_RECEIVE_VIDEO_OFF_YOU,
45
+ params: {
46
+ transI18nOptions: {
47
+ reason1: (0, _i18nCommonData.getUserRoleI18nLabel)(operatorUserRole)
48
+ }
49
+ }
50
+ });
51
+ }
52
+ },
53
+ onOpenMicrophonePrivilegeUpdated: function onOpenMicrophonePrivilegeUpdated(hasAudio, operatorUserRole, microphoneEnabled) {
54
+ if (!hasAudio && microphoneEnabled) {
55
+ _this._messageProvider.showToastByKey({
56
+ key: _type4.FcrUIToastKey.FMT_ATTENDIES_TIPS_RECEIVE_MUTE_YOU,
57
+ params: {
58
+ transI18nOptions: {
59
+ reason1: (0, _i18nCommonData.getUserRoleI18nLabel)(operatorUserRole)
60
+ }
61
+ }
62
+ });
63
+ }
64
+ }
65
+ });
66
+ (0, _defineProperty2["default"])(this, "_mainRoomControlObserver", {
67
+ onWaterMarkEnableUpdated: function onWaterMarkEnableUpdated(enable, operatorUser) {
68
+ if (!_this._mainRoomControlProvider) {
69
+ _this._logger.error('ToastManagerStore: mainRoomControlProvider is not found');
70
+ return;
71
+ }
72
+ var localUserId = _this._currentRoomControlProvider.currentRoomControl.getUserControl().getLocalUser().userId;
73
+ var isPersonalOperation = localUserId === (operatorUser === null || operatorUser === void 0 ? void 0 : operatorUser.userId);
74
+ var toastType = isPersonalOperation ? 'normal' : enable ? 'info' : 'error';
75
+ var key;
76
+ var roleValue = operatorUser === null || operatorUser === void 0 ? void 0 : operatorUser.userRole;
77
+ var canTriggerToast = roleValue === _type3.FcrUserRole.HOST || roleValue === _type3.FcrUserRole.COHOST;
78
+ if (canTriggerToast) {
79
+ if (enable) {
80
+ if (roleValue === _type3.FcrUserRole.HOST) {
81
+ key = _type4.FcrUIToastKey.FMT_SECURITY_SETTING_POPUP_TOAST_FACILITATOR_WATERMARK;
82
+ } else if (roleValue === _type3.FcrUserRole.COHOST) {
83
+ key = _type4.FcrUIToastKey.FMT_SECURITY_SETTING_POPUP_TOAST_CO_FACILITATOR_WATERMARK;
84
+ }
85
+ } else {
86
+ key = _type4.FcrUIToastKey.FMT_SECURITY_SETTING_POPUP_TOAST_TURN_OFF_WATERMARK;
87
+ }
88
+ if (key) {
89
+ _this._messageProvider.showToastByKey({
90
+ key: key,
91
+ params: {
92
+ type: toastType
93
+ }
94
+ });
95
+ }
96
+ }
97
+ },
98
+ onUserRoleChanged: function onUserRoleChanged(targetUser, params) {
99
+ var _this$_mainRoomContro;
100
+ var oldUser = params.oldUser,
101
+ hasHost = params.hasHost;
102
+ var localUser = (_this$_mainRoomContro = _this._mainRoomControlProvider) === null || _this$_mainRoomContro === void 0 ? void 0 : _this$_mainRoomContro.mainRoomControl.getUserControl().getLocalUser();
103
+ var isSelf = targetUser.userId === localUser.userId;
104
+ // 被设置为主持人
105
+ // 本人:
106
+ // xxx(我)成为新主持人
107
+ // 其他人:
108
+ // xxx成为新主持人
109
+ // 被收回主持人
110
+ // 本人:
111
+ // xxx成为新主持人
112
+ // 其他人:
113
+ // xxx成为新主持人
114
+ // 被设置为联席
115
+ // 本人:
116
+ // 你被设置为联席主持人
117
+ // 其他人:
118
+ // xxx现在成为联席主持人
119
+ //
120
+ // 被收回联席
121
+ // 本人:
122
+ // 你的联席主持人身份已被收回
123
+ // 其他人:
124
+ // xxx不再是联席主持人
125
+ // 当会议没有主持人的时候,我通过 hostkey 成为主持人,不需要提醒,如果会议有主持人,代表是移交主持人,走原有逻辑
126
+ if (!hasHost && !isSelf || hasHost && targetUser.userRole === _type3.FcrUserRole.HOST) {
127
+ _this._messageProvider.showToastByKey({
128
+ key: isSelf ? _type4.FcrUIToastKey.FMT_ATTENDIES_TIPS_MINE_NEW_HOST : _type4.FcrUIToastKey.FMT_ATTENDIES_TIPS_NEW_HOST,
129
+ params: {
130
+ transI18nOptions: {
131
+ reason1: targetUser.userName
132
+ }
133
+ }
134
+ });
135
+ } else if (targetUser.userRole === _type3.FcrUserRole.COHOST) {
136
+ _this._messageProvider.showToastByKey({
137
+ key: isSelf ? _type4.FcrUIToastKey.FMT_ATTENDIES_TIPS_MINE_NEW_CO_HOST : _type4.FcrUIToastKey.FMT_ATTENDIES_TIPS_NEW_CO_HOST,
138
+ params: {
139
+ transI18nOptions: {
140
+ reason1: targetUser.userName
141
+ }
142
+ }
143
+ });
144
+ } else if (targetUser.userRole === _type3.FcrUserRole.PARTICIPANT) {
145
+ if ((oldUser === null || oldUser === void 0 ? void 0 : oldUser.userRole) === _type3.FcrUserRole.COHOST) {
146
+ if (isSelf) {
147
+ _this._messageProvider.showToastByKey({
148
+ key: _type4.FcrUIToastKey.FMT_PAIRICIPANT_TIPS_COHOSTBEENREVOKED
149
+ });
150
+ } else {
151
+ _this._messageProvider.showToastByKey({
152
+ key: _type4.FcrUIToastKey.FMT_PAIRICIPANT_TIPS_NO_LONGER_COHOST,
153
+ params: {
154
+ transI18nOptions: {
155
+ reason1: targetUser.userName
156
+ }
157
+ }
158
+ });
159
+ }
160
+ }
161
+ }
162
+ }
163
+ });
164
+ (0, _defineProperty2["default"])(this, "_privilegeObserver", {
165
+ onLocalUserSecurityInfosUpdated: function onLocalUserSecurityInfosUpdated(event) {
166
+ var _event$operatorUser, _event$operatorUser2, _event$operatorUser3, _securityInfo$info, _event$operatorUser4, _event$operatorUser5;
167
+ var securityInfo = event.securityInfo,
168
+ operatorUser = event.operatorUser;
169
+ var enable = securityInfo.enable,
170
+ info = securityInfo.info;
171
+ var targetRoles = info === null || info === void 0 ? void 0 : info.targetRoles;
172
+ var localUser = _this._currentRoomControlProvider.currentRoomControl.getUserControl().getLocalUser();
173
+ var localUserId = localUser.userId;
174
+ var isPersonalOperation = localUserId === ((_event$operatorUser = event.operatorUser) === null || _event$operatorUser === void 0 ? void 0 : _event$operatorUser.userId);
175
+ var toastType = isPersonalOperation ? 'normal' : enable ? 'info' : 'error';
176
+ var operator = isPersonalOperation ? (0, _i18n.transI18n)('fmt_settings_labels_you') : (((_event$operatorUser2 = event.operatorUser) === null || _event$operatorUser2 === void 0 ? void 0 : _event$operatorUser2.userRole) === _type3.FcrUserRole.HOST ? (0, _i18n.transI18n)('fmt_role_host') : (0, _i18n.transI18n)('fmt_role_cohost')) + " ".concat((_event$operatorUser3 = event.operatorUser) === null || _event$operatorUser3 === void 0 ? void 0 : _event$operatorUser3.userName, " ");
177
+ switch ((_securityInfo$info = securityInfo.info) === null || _securityInfo$info === void 0 ? void 0 : _securityInfo$info.action) {
178
+ case _type2.FcrSecurityAction.JoinWithMuteAudio:
179
+ if (enable) {
180
+ _this._messageProvider.showToastByKey({
181
+ key: _type4.FcrUIToastKey.FMT_SETTINGS_TIPS_MUTEALLWHILEJOIN,
182
+ params: {
183
+ type: toastType,
184
+ transI18nOptions: {
185
+ reason1: operator
186
+ }
187
+ }
188
+ });
189
+ }
190
+ break;
191
+ case _type2.FcrSecurityAction.Sharing:
192
+ if (!_this._mainRoomControlProvider) {
193
+ _this._logger.error('ToastManagerStore: mainRoomControlProvider is not found');
194
+ } else {
195
+ var _this$_mainRoomContro2;
196
+ if (!enable && _this._mainRoomControlProvider.boardOwnerUser && ((_this$_mainRoomContro2 = _this._mainRoomControlProvider.boardOwnerUser) === null || _this$_mainRoomContro2 === void 0 ? void 0 : _this$_mainRoomContro2.userId) !== localUserId) {
197
+ _this._messageProvider.showToastByKey({
198
+ key: _type4.FcrUIToastKey.FMT_SCREENTIPS_WHITEBOARD_ALREADYOPENED,
199
+ params: {
200
+ type: toastType
201
+ }
202
+ });
203
+ }
204
+ }
205
+ break;
206
+ case _type2.FcrSecurityAction.StartAudio:
207
+ if (!_this._sharedInterpreterDataSource.localInterpreterUserInfo) {
208
+ _this._messageProvider.showToastByKey({
209
+ key: enable ? _type4.FcrUIToastKey.FMT_SETTINGS_TIPS_ALLOWEDSELFUNMUTING : _type4.FcrUIToastKey.FMT_SETTINGS_TIPS_DISABLEDSELFUNMUTING
210
+ });
211
+ }
212
+ break;
213
+ case _type2.FcrSecurityAction.StartVideo:
214
+ _this._messageProvider.showToastByKey({
215
+ key: enable ? _type4.FcrUIToastKey.FMT_SETTINGS_TIPS_VIDEOENABLED : _type4.FcrUIToastKey.FMT_SETTINGS_TIPS_DISABLEDVIDEO
216
+ });
217
+ break;
218
+ case _type2.FcrSecurityAction.ShareScreen:
219
+ _this._messageProvider.showToastByKey({
220
+ key: enable ? _type4.FcrUIToastKey.FMT_SETTINGS_TIPS_ALLOWEDSCREENSHARING : _type4.FcrUIToastKey.FMT_SETTINGS_TIPS_DISABLEDSCREENSHARING,
221
+ params: {
222
+ type: toastType,
223
+ transI18nOptions: {
224
+ reason1: operator
225
+ }
226
+ }
227
+ });
228
+ break;
229
+ case _type2.FcrSecurityAction.SendChat:
230
+ _this._messageProvider.showToastByKey({
231
+ key: enable ? _type4.FcrUIToastKey.FMT_SETTINGS_TIPS_ALLOWEDCHAT : _type4.FcrUIToastKey.FMT_SETTINGS_TIPS_BANEDCHAT,
232
+ params: {
233
+ transI18nOptions: {
234
+ reason1: operator
235
+ }
236
+ }
237
+ });
238
+ break;
239
+ case _type2.FcrSecurityAction.WaitingRoom:
240
+ var isSelf = localUserId === ((_event$operatorUser4 = event.operatorUser) === null || _event$operatorUser4 === void 0 ? void 0 : _event$operatorUser4.userId);
241
+ var userName = (_event$operatorUser5 = event.operatorUser) === null || _event$operatorUser5 === void 0 ? void 0 : _event$operatorUser5.userName;
242
+ if (!isSelf) {
243
+ if (enable) {
244
+ _this._messageProvider.showToastByKey({
245
+ key: _type4.FcrUIToastKey.FMT_MEETING_TOAST_ENABLED_WAITINGROOM,
246
+ params: {
247
+ type: toastType,
248
+ transI18nOptions: {
249
+ reason1: userName
250
+ }
251
+ }
252
+ });
253
+ } else {
254
+ _this._messageProvider.showToastByKey({
255
+ key: _type4.FcrUIToastKey.FMT_MEETING_TOAST_DISABLED_WAITINGROOM,
256
+ params: {
257
+ type: toastType,
258
+ transI18nOptions: {
259
+ reason1: userName
260
+ }
261
+ }
262
+ });
263
+ }
264
+ }
265
+ break;
266
+ default:
267
+ break;
268
+ }
269
+ var selfRole = localUser.userRole;
270
+ var isHostOrCohost = [_type3.FcrUserRole.HOST, _type3.FcrUserRole.COHOST].includes(selfRole);
271
+ var isSelfOperator = (operatorUser === null || operatorUser === void 0 ? void 0 : operatorUser.userId) === localUser.userId;
272
+
273
+ // 不响应自己的操作
274
+ if (!isSelfOperator) {
275
+ // 主持人或联合主持人显示允许开启、关闭(字幕、转写)的提示
276
+ if (isHostOrCohost) {
277
+ var _securityInfo$info2;
278
+ switch ((_securityInfo$info2 = securityInfo.info) === null || _securityInfo$info2 === void 0 ? void 0 : _securityInfo$info2.action) {
279
+ case _type2.FcrSecurityAction.SttStartTranscribe:
280
+ _this._messageProvider.showToastByKey({
281
+ key: enable ? _type4.FcrUIToastKey.FMT_AI_RTT_TOAST_HOST_ENABLED_RTT : _type4.FcrUIToastKey.FMT_AI_RTT_TOAST_HOST_NOT_PERMITTED_START_STOP_RTT
282
+ });
283
+ break;
284
+ case _type2.FcrSecurityAction.SttStartCaption:
285
+ _this._messageProvider.showToastByKey({
286
+ key: enable ? _type4.FcrUIToastKey.FMT_AI_SUBTITLES_TOAST_HOST_ENABLED_CAPTIONS : _type4.FcrUIToastKey.FMT_AI_SUBTITLES_TOAST_HOST_DISABLED_SUBTITLES
287
+ });
288
+ break;
289
+ default:
290
+ break;
291
+ }
292
+ } else if (targetRoles !== null && targetRoles !== void 0 && targetRoles.includes(selfRole)) {
293
+ var _securityInfo$info3;
294
+ // 普通与会者只在主持人或联合主持人禁止使用, 且自己正在使用时, 才显示提示
295
+ switch ((_securityInfo$info3 = securityInfo.info) === null || _securityInfo$info3 === void 0 ? void 0 : _securityInfo$info3.action) {
296
+ case _type2.FcrSecurityAction.SttStartTranscribe:
297
+ if (!enable && _this._sttProvider.transcribingState) {
298
+ _this._messageProvider.showToastByKey({
299
+ key: _type4.FcrUIToastKey.FMT_AI_RTT_TOAST_HOST_NOT_PERMITTED_START_STOP_RTT
300
+ });
301
+ }
302
+ break;
303
+ case _type2.FcrSecurityAction.SttStartCaption:
304
+ if (!enable && _this._sttProvider.captionState) {
305
+ _this._messageProvider.showToastByKey({
306
+ key: _type4.FcrUIToastKey.FMT_AI_SUBTITLES_TOAST_HOST_DISABLED_SUBTITLES
307
+ });
308
+ }
309
+ break;
310
+ case _type2.FcrSecurityAction.SttStartCaption:
311
+ if (!enable) {
312
+ _this._messageProvider.showToastByKey({
313
+ key: _type4.FcrUIToastKey.FMT_AI_SUBTITLES_TOAST_HOST_DISABLED_SUBTITLES
314
+ });
315
+ }
316
+ break;
317
+ default:
318
+ break;
319
+ }
320
+ }
321
+ }
322
+ }
323
+ });
324
+ (0, _defineProperty2["default"])(this, "_screenShareObserver", {
325
+ onScreenShareErrorOccurred: function onScreenShareErrorOccurred(code, payload) {
326
+ if (code === _struct.FcrUIScreenShareErrorCode.CANNOT_START_SCREEN_CAPTURE) {
327
+ if (payload.captureType === _type2.FcrScreenCaptureType.SCREEN) {
328
+ _this._messageProvider.showToastByKey({
329
+ key: _type4.FcrUIToastKey.FMT_SCREENSHARE_TIPS_FAILD_SCREENSELECT
330
+ });
331
+ } else {
332
+ _this._messageProvider.showToastByKey({
333
+ key: _type4.FcrUIToastKey.FMT_SCREENSHARE_TIPS_FAILD_RESELECT
334
+ });
335
+ }
336
+ }
337
+ }
338
+ });
339
+ (0, _defineProperty2["default"])(this, "_deviceProviderObserver", {
340
+ onMicrophoneStateChanged: function onMicrophoneStateChanged(deviceId, state) {
341
+ if (state === _type2.FcrMediaSourceState.ERROR && deviceId === _this._deviceProvider.microphoneId) {
342
+ _this._messageProvider.showToastByKey({
343
+ key: _type4.FcrUIToastKey.FMT_AUDIO_WINDOW_MIC_TURN_ON_ERROR
344
+ });
345
+ }
346
+ },
347
+ onCameraStateChanged: function onCameraStateChanged(cameraId, state) {
348
+ if (state === _type2.FcrMediaSourceState.ERROR && cameraId === _this._deviceProvider.cameraId) {
349
+ _this._messageProvider.showToastByKey({
350
+ key: _type4.FcrUIToastKey.FMT_AUDIO_WINDOW_CAMERA_TURN_ON_ERROR
351
+ });
352
+ }
353
+ }
354
+ });
355
+ this._deviceProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_DEVICE_PROVIDER);
356
+ this._messageProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_MESSAGE_PROVIDER);
357
+ this._currentRoomControlProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_CURRENT_ROOM_CONTROL_PROVIDER);
358
+ this._sharedInterpreterDataSource = objectManager.getObject(_objectManager.FcrUIObjectKeys.S_SHARED_INTERPRETER_DATA_SOURCE);
359
+ this._privilegeProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_PRIVILEGE_PROVIDER);
360
+ this._sttProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_STT_PROVIDER);
361
+ this._phoneAudioConnectorProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_PHONE_AUDIO_CONNECTOR_PROVIDER);
362
+ this._devicePrivilegeProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_DEVICE_PRIVILEGE_PROVIDER);
363
+ this._deviceProvider.addObserver(this._deviceProviderObserver);
364
+ if (this._currentRoomControlProvider.currentRoomType === _type.FcrRoomType.Mainroom) {
365
+ this._mainRoomControlProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_MAIN_ROOM_CONTROL_PROVIDER);
366
+ this._mainRoomControlProvider.addObserver(this._mainRoomControlObserver);
367
+ this._screenShareProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_SCREEN_SHARE_PROVIDER);
368
+ this._screenShareProvider.addObserver(this._screenShareObserver);
369
+ } else {
370
+ this._logger.error('ToastManagerStore: currentRoomType is not Mainroom');
371
+ }
372
+ this._privilegeProvider.addObserver(this._privilegeObserver);
373
+ this._devicePrivilegeProvider.addObserver(this._devicePrivilegeObserver);
374
+ this._phoneAudioConnectorProvider.addObserver(this._phoneAudioConnectorProviderObserver);
375
+ }
376
+ return (0, _createClass2["default"])(ToastManagerStore, [{
377
+ key: "release",
378
+ value: function release() {
379
+ if (this._mainRoomControlProvider) {
380
+ this._mainRoomControlProvider.removeObserver(this._mainRoomControlObserver);
381
+ }
382
+ if (this._screenShareProvider) {
383
+ this._screenShareProvider.removeObserver(this._screenShareObserver);
384
+ }
385
+ this._privilegeProvider.removeObserver(this._privilegeObserver);
386
+ this._devicePrivilegeProvider.removeObserver(this._devicePrivilegeObserver);
387
+ this._phoneAudioConnectorProvider.removeObserver(this._phoneAudioConnectorProviderObserver);
388
+ this._deviceProvider.removeObserver(this._deviceProviderObserver);
389
+ }
390
+ }]);
391
+ }();
@@ -0,0 +1,7 @@
1
+ import { FcrUIToastParams } from '../../type';
2
+ import { FcrUIToastConfig } from './store';
3
+ import { FcrUIToastKey } from './type';
4
+ export declare class ToastParams {
5
+ private _createToastMap;
6
+ getToastParams(key: FcrUIToastKey, params?: FcrUIToastConfig): FcrUIToastParams;
7
+ }
@@ -0,0 +1,89 @@
1
+ "use strict";
2
+
3
+ require("core-js/modules/es.symbol.js");
4
+ require("core-js/modules/es.array.filter.js");
5
+ require("core-js/modules/es.array.for-each.js");
6
+ require("core-js/modules/es.array.push.js");
7
+ require("core-js/modules/es.object.define-properties.js");
8
+ require("core-js/modules/es.object.define-property.js");
9
+ require("core-js/modules/es.object.get-own-property-descriptor.js");
10
+ require("core-js/modules/es.object.get-own-property-descriptors.js");
11
+ require("core-js/modules/es.object.keys.js");
12
+ require("core-js/modules/esnext.iterator.filter.js");
13
+ require("core-js/modules/esnext.iterator.for-each.js");
14
+ require("core-js/modules/web.dom-collections.for-each.js");
15
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
16
+ Object.defineProperty(exports, "__esModule", {
17
+ value: true
18
+ });
19
+ exports.ToastParams = void 0;
20
+ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
21
+ require("core-js/modules/es.error.cause.js");
22
+ require("core-js/modules/es.error.to-string.js");
23
+ require("core-js/modules/es.array.iterator.js");
24
+ require("core-js/modules/es.array.map.js");
25
+ require("core-js/modules/es.map.js");
26
+ require("core-js/modules/es.object.to-string.js");
27
+ require("core-js/modules/es.object.values.js");
28
+ require("core-js/modules/es.string.iterator.js");
29
+ require("core-js/modules/esnext.iterator.constructor.js");
30
+ require("core-js/modules/esnext.iterator.map.js");
31
+ require("core-js/modules/esnext.map.delete-all.js");
32
+ require("core-js/modules/esnext.map.emplace.js");
33
+ require("core-js/modules/esnext.map.every.js");
34
+ require("core-js/modules/esnext.map.filter.js");
35
+ require("core-js/modules/esnext.map.find.js");
36
+ require("core-js/modules/esnext.map.find-key.js");
37
+ require("core-js/modules/esnext.map.includes.js");
38
+ require("core-js/modules/esnext.map.key-of.js");
39
+ require("core-js/modules/esnext.map.map-keys.js");
40
+ require("core-js/modules/esnext.map.map-values.js");
41
+ require("core-js/modules/esnext.map.merge.js");
42
+ require("core-js/modules/esnext.map.reduce.js");
43
+ require("core-js/modules/esnext.map.some.js");
44
+ require("core-js/modules/esnext.map.update.js");
45
+ require("core-js/modules/web.dom-collections.iterator.js");
46
+ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
47
+ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
48
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
49
+ var _i18n = require("agora-ui-foundation/lib/i18n");
50
+ var _type = require("./type");
51
+ var _excluded = ["transI18nOptions"];
52
+ 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; }
53
+ 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) { (0, _defineProperty2["default"])(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; }
54
+ var ToastParams = exports.ToastParams = /*#__PURE__*/function () {
55
+ function ToastParams() {
56
+ (0, _classCallCheck2["default"])(this, ToastParams);
57
+ (0, _defineProperty2["default"])(this, "_createToastMap", new Map(Object.values(_type.FcrUIToastKey).map(function (key) {
58
+ return [key, function (params) {
59
+ var transI18nOptions = params.transI18nOptions,
60
+ rest = (0, _objectWithoutProperties2["default"])(params, _excluded);
61
+ if (key === _type.FcrUIToastKey.ERR_MESSAGE) {
62
+ var _params$message;
63
+ return _objectSpread(_objectSpread(_objectSpread({}, _type.DefaultToastParamsMap[key]), rest), {}, {
64
+ message: (_params$message = params.message) !== null && _params$message !== void 0 ? _params$message : 'Unknown error'
65
+ });
66
+ }
67
+ if (key === _type.FcrUIToastKey.WARN_MESSAGE) {
68
+ var _params$message2;
69
+ return _objectSpread(_objectSpread(_objectSpread({}, _type.DefaultToastParamsMap[key]), rest), {}, {
70
+ message: (_params$message2 = params.message) !== null && _params$message2 !== void 0 ? _params$message2 : 'Unknown warning'
71
+ });
72
+ }
73
+ return _objectSpread(_objectSpread({}, _type.DefaultToastParamsMap[key]), {}, {
74
+ message: (0, _i18n.transI18n)(key, params.transI18nOptions)
75
+ }, rest);
76
+ }];
77
+ })));
78
+ }
79
+ return (0, _createClass2["default"])(ToastParams, [{
80
+ key: "getToastParams",
81
+ value: function getToastParams(key, params) {
82
+ var createToastFunc = this._createToastMap.get(key);
83
+ if (!createToastFunc) {
84
+ throw new Error("Toast params not found for key: ".concat(key));
85
+ }
86
+ return createToastFunc(params || {});
87
+ }
88
+ }]);
89
+ }();
@@ -0,0 +1,112 @@
1
+ export declare enum FcrUIToastKey {
2
+ ERR_MESSAGE = "err_message",
3
+ WARN_MESSAGE = "warn_message",
4
+ FMT_SECURITY_TIPS_LOCK_MEETING_ON = "fmt_security_tips_lock_meeting_on",
5
+ FMT_SECURITY_TIPS_LOCK_MEETING_OFF = "fmt_security_tips_lock_meeting_off",
6
+ FMT_UIMANAGER_TIPS_MEETINGUNLOCKED = "fmt_uimanager_tips_meetingunlocked",
7
+ FMT_WAITINGROOM_MOBILE_SETTING_TIPS_DISABLE = "fmt_waitingroom_mobile_setting_tips_disable",
8
+ FMT_WAITINGROOM_SETTING_TIPS_ENABLE = "fmt_waitingroom_setting_tips_enable",
9
+ FMT_SCREENTIPS_NETWORK_ERROR_UNABLE_START_SCREEN_SHARE = "fmt_screenshare_toast_network_error_unable_start_screen_share",
10
+ FMT_INTERPRETATION_INTERPRETER_TOAST_LABEL_OPEN_MICRO = "fmt_interpretation_interpreter_toast_label_open_micro",
11
+ FMT_CHAT_TOAST_INFRACTION_ERROR = "fmt_chat_toast_infraction_error",
12
+ FMT_PSTN_STATUS_HUNGUP = "fmt_PSTN_status_hungup",
13
+ FMT_PSTN_STATUS_VOICECONNECTED = "fmt_PSTN_status_voiceconnected",
14
+ FMT_STATUSBAR_STATUS_COPPIED = "fmt_statusbar_status_coppied",
15
+ FMT_MEETING_MAINWINDOW_TOPBAR_LEFT_POPUP_TOAST_COPY_DONE = "fmt_meeting_mainwindow_topbar_left_popup_toast_copy_done",
16
+ FMT_INFORMATION_TIPS_NUMBERCOPYFAILED = "fmt_information_tips_numbercopyfailed",
17
+ FMT_ADDITIONAL_TIPS_INVITATION = "fmt_additional_tips_invitation",
18
+ FMT_ADDITIONAL_TIPS_INVITATIONFAILED = "fmt_additional_tips_invitationfailed",
19
+ FMT_UIMANAGER_TIPS_PASSWORDCOPIED = "fmt_uimanager_tips_passwordcopied",
20
+ FMT_SETTINGS_TIPS_PASSWORDCOPYFAILED = "fmt_settings_tips_passwordcopyfailed",
21
+ FMT_SHARING_TIPS_COPYFULL_FAILED = "fmt_sharing_tips_copyfull_failed",
22
+ FMT_INTERPRETATION_MAINWINDOW_TOAST_LABEL_INTERPRET_OFFLINE_CONTROLLER = "fmt_interpretation_mainwindow_toast_label_interpret_offline_controller",
23
+ FMT_INTERPRETATION_INTERPRETER_POPUP_LABEL_LANGUAGE_CHANGE_BY_COCONTROLLER = "fmt_interpretation_interpreter_popup_label_language_change_by_cocontroller",
24
+ FMT_INTERPRETATION_MAINWINDOW_TOAST_LABEL_UPDATE_LANGUAGE = "fmt_interpretation_mainwindow_toast_label_update_language",
25
+ FMT_INTERPRETATION_MOBILE_TOAST_CONTROLLER_TOAST_LABEL_UPDATE_INTERPRETER_BY_COCONTROLLER = "fmt_interpretation_mobile_toast_controller_toast_label_update_interpreter_by_cocontroller",
26
+ FMT_INTERPRETATION_INTERPRETER_TOAST_LABEL_RETURN_CHANNEL = "fmt_interpretation_interpreter_toast_label_return_channel",
27
+ FMT_BROADCAST_LIVESTREAM_TIPS_HAND_OVER_PC_TO_MOBILE = "fmt_broadcast_livestream_tips_hand_over_pc_to_mobile",
28
+ FMT_BROADCAST_LIVESTREAM_STOPPED = "fmt_broadcast_livestream_stopped",
29
+ FMT_PSTN_TOAST_MERGED = "fmt_PSTN_toast_merged",
30
+ FMT_HOSTKEY_MEETINGROOM_TOAST_NOW_HOST = "fmt_hostkey_meetingroom_toast_now_host",
31
+ FMT_UIMANAGER_TIPS_ALLMUTED = "fmt_uimanager_tips_allmuted",
32
+ FMT_WAITINGROOM_MOBILE_MEMBERLIST_TIPS_ALL_REMOVED = "fmt_waitingroom_mobile_memberlist_tips_all_removed",
33
+ FMT_WAITINGROOM_MOBILE_MEMBERLIST_TIPS_ALL_AMITTED = "fmt_waitingroom_mobile_memberlist_tips_all_amitted",
34
+ FMT_INTERNALSETTING_OTHER_HIDE_MY_WINDOW_PIN_CANCELLED = "fmt_internalsetting_other_hide_my_window_pin_cancelled",
35
+ FMT_ATTENDIES_TIPS_CHAT_OFF = "fmt_attendies_tips_chat_off",
36
+ FMT_ATTENDIES_TOAST_CANT_SETHOST = "fmt_attendies_toast_cant_sethost",
37
+ FMT_ATTENDIES_TOAST_CANT_SETCOHOST = "fmt_attendies_toast_cant_setcohost",
38
+ FMT_UIMANAGER_TIPS_USERLEAFT = "fmt_uimanager_tips_userleaft",
39
+ FMT_ADDITIONAL_TIPS_NICKNAME_CHANGE_SUCCESS = "fmt_additional_tips_nickname_change_success",
40
+ FMT_WAITINGROOM_PUT_IN_SUCCESS = "fmt_waitingroom_put_in_success",
41
+ FMT_WAITINGROOM_SETTING_POPUP_TOAST_UNABLE_MOVE_CREATOR = "fmt_waitingroom_setting_popup_toast_unable_move_creator",
42
+ FMT_WAITINGROOM_SETTING_POPUP_TOAST_MOVE_IN_FAILED = "fmt_waitingroom_setting_popup_toast_move_in_failed",
43
+ FMT_INTERNALSSETTING_OTHER_HIDE_NO_VIDEO_TOAST = "fmt_internalsetting_other_hide_no_video_toast",
44
+ FMT_ATTENDIES_BUTTON_REVOKEEHOST_ERROR = "fmt_attendies_button_revokehost_error",
45
+ FMT_ATTENDIES_TOAST_COHOST_UPPER_LIMIT = "fmt_attendies_toast_cohost_upper_limit",
46
+ FMT_DEVICE_TOAST_SWITCH_DEVICE = "fmt_device_toast_switch_device",
47
+ FMT_INTERNALSSETTING_OTHER_HIDE_ME_TOAST = "fmt_internalsetting_other_hide_me_toast",
48
+ FMT_SHARE_TIPS_SHARINGDISABLED = "fmt_share_tips_sharingdisabled",
49
+ FMT_STATUSBAR_TIPS_COPYFAILED = "fmt_statusbar_tips_copyfailed",
50
+ FMT_LIVESTREAM_UNABLE_SWITCH_GRID_VIEW = "fmt_livestream_unable_switch_grid_view",
51
+ FMT_STATUSBAR_HOVER_UNABLE_SWITCH_GRID_VIEW = "fmt_statusbar_hover_unable_switch_grid_view",
52
+ FMT_RECORD_TIPS_CLOUDRECORDING_START = "fmt_record_tips_Cloudrecording_Start",
53
+ FMT_LOCALRECORD_TIPS_ALREADY_START = "fmt_localrecord_tips_already_start",
54
+ FMT_RECORD_TOAST_RECORD_PAUSED = "fmt_record_toast_record_paused",
55
+ FMT_RECORD_RECORD_STOPED = "fmt_record_record_stoped",
56
+ FMT_INFORMATION_TIPS_BEENCOPIED = "fmt_information_tips_beencopied",
57
+ FMT_AI_SUBTITLES_LABEL_STOPPED_TRANSCRIPTION_SELF = "fmt_ai_subtitles_label_stopped_transcription_self",
58
+ FMT_AI_SUBTITLES_TOAST_STOPPED_TRANSCRIPTION = "fmt_ai_subtitles_toast_stopped_transcription",
59
+ FMT_AI_SUBTITLES_TOAST_RTT_REQUEST_SENT = "fmt_ai_subtitles_toast_rtt_request_sent",
60
+ FMT_AI_SUBTITLES_TOAST_RTT_HOST_DECLINED_REQUEST = "fmt_ai_subtitles_toast_rtt_host_declined_request",
61
+ FMT_AI_SUBTITLES_TOAST_HOST_DISABLED_SUBTITLES = "fmt_ai_subtitles_toast_host_disabled_subtitles",
62
+ FMT_ATTENDIES_TIPS_RECEIVE_VIDEO_OFF_YOU = "fmt_attendies_tips_receive_video_off_you",
63
+ FMT_ATTENDIES_TIPS_RECEIVE_MUTE_YOU = "fmt_attendies_tips_receive_mute_you",
64
+ FMT_GATEWAY_TIPS_NODATA = "fmt_gateway_tips_nodata",
65
+ FMT_TOOLBAR_LABEL_NODEVICE = "fmt_toolbar_label_nodevice",
66
+ FMT_TOOLBAR_TIPS_HOST_FORBID_OPEN_CAMERA = "fmt_toolbar_tips_host_forbid_open_camera",
67
+ FMT_TOOLBAR_TIPS_HOST_FORBID_OPEN_MIC = "fmt_toolbar_tips_host_forbid_open_mic",
68
+ FMT_SETTINGS_TIPS_MUTEALLWHILEJOIN = "fmt_settings_tips_muteallwhilejoin",
69
+ FMT_SETTINGS_TIPS_ALLOWEDSELFUNMUTING = "fmt_settings_tips_allowedselfunmuting",
70
+ FMT_SETTINGS_TIPS_DISABLEDSELFUNMUTING = "fmt_settings_tips_disabledselfunmuting",
71
+ FMT_SETTINGS_TIPS_VIDEOENABLED = "fmt_settings_tips_videoenabled",
72
+ FMT_SETTINGS_TIPS_DISABLEDVIDEO = "fmt_settings_tips_disabledvideo",
73
+ FMT_SETTINGS_TIPS_ALLOWEDSCREENSHARING = "fmt_settings_tips_allowedScreensharing",
74
+ FMT_SETTINGS_TIPS_DISABLEDSCREENSHARING = "fmt_settings_tips_disabledScreensharing",
75
+ FMT_SETTINGS_TIPS_ALLOWEDCHAT = "fmt_settings_tips_allowedchat",
76
+ FMT_SETTINGS_TIPS_BANEDCHAT = "fmt_settings_tips_banedchat",
77
+ FMT_SCREENTIPS_WHITEBOARD_ALREADYOPENED = "fmt_screenshare_whiteboard_tips_alreadyopend",
78
+ FMT_SECURITY_SETTING_POPUP_TOAST_FACILITATOR_WATERMARK = "fmt_security_setting_popup_toast_facilitator_watermark",
79
+ FMT_SECURITY_SETTING_POPUP_TOAST_CO_FACILITATOR_WATERMARK = "fmt_security_setting_popup_toast_co_facilitator_watermark",
80
+ FMT_SECURITY_SETTING_POPUP_TOAST_TURN_OFF_WATERMARK = "fmt_security_setting_popup_toast_turn_off_watermark",
81
+ FMT_ATTENDIES_TIPS_MINE_NEW_HOST = "fmt_attendies_tips_mine_new_host",
82
+ FMT_ATTENDIES_TIPS_NEW_HOST = "fmt_attendies_tips_new_host",
83
+ FMT_ATTENDIES_TIPS_MINE_NEW_CO_HOST = "fmt_attendies_tips_mine_new_co_host",
84
+ FMT_ATTENDIES_TIPS_NEW_CO_HOST = "fmt_attendies_tips_new_co_host",
85
+ FMT_PAIRICIPANT_TIPS_COHOSTBEENREVOKED = "fmt_pairicipant_tips_cohostbeenrevoke",
86
+ FMT_PAIRICIPANT_TIPS_NO_LONGER_COHOST = "fmt_pairicipant_tips_nolongercohost",
87
+ FMT_AI_RTT_TOAST_HOST_ENABLED_RTT = "fmt_ai_rtt_toast_host_enabled_rtt",
88
+ FMT_AI_RTT_TOAST_HOST_NOT_PERMITTED_START_STOP_RTT = "fmt_ai_rtt_toast_host_not_permitted_start_stop_rtt",
89
+ FMT_AI_SUBTITLES_TOAST_HOST_ENABLED_CAPTIONS = "fmt_ai_subtitles_toast_host_enabled_captions",
90
+ FMT_AI_SUBTITLES_TOAST_CHANGE_LANGUAGE_SELF = "fmt_ai_subtitles_toast_change_language_self",
91
+ FMT_AI_SUBTITLES_TOAST_CHANGE_LANGUAGE_ATTENDEES = "fmt_ai_subtitles_toast_change_language_attendees",
92
+ FMT_AI_SUBTITLES_TOAST_YOU_TURNED_OFF_SUBTITLES = "fmt_ai_subtitles_toast_you_turned_off_subtitles",
93
+ FMT_ATTENDIES_TOAST_HOST_TURNED_OFF_VIDEO = "fmt_attendies_toast_host_turned_off_video",
94
+ FMT_ATTENDIES_TOAST_HOST_ENABLED_MUTE = "fmt_attendies_toast_host_enabled_mute",
95
+ FMT_INTERNALSETTING_OTHER_HIDE_NO_VIDEO_PIN_CANCELLED = "fmt_internalsetting_other_hide_no_video_pin_cancelled",
96
+ FMT_SETTINGS_TIPS_SCREENLOCKED = "fmt_settings_tips_screenlocked",
97
+ FMT_SETTINGS_TIPS_SCREENUNLOCK = "fmt_settings_tips_screenunlock",
98
+ FMT_MEETING_TOAST_HOST_JOIN_MEETING = "fmt_meeting_toast_host_join_meeting",
99
+ FMT_MEETING_TOAST_STARTED_NEW_SHARE = "fmt_meeting_toast_started_new_share",
100
+ FMT_MEETING_TOAST_ENABLED_WAITINGROOM = "fmt_meeting_toast_enabled_waitingroom",
101
+ FMT_MEETING_TOAST_DISABLED_WAITINGROOM = "fmt_meeting_toast_disabled_waitingroom",
102
+ FMT_SCREENSHARE_TIPS_FAILD_RESELECT = "fmt_screenshare_tips_faild_reselect",
103
+ FMT_SCREENSHARE_TIPS_FAILD_SCREENSELECT = "fmt_screenshare_tips_faild_screenselect",
104
+ FMT_SCREENSHARE_TIPS_ALREADYOPENED = "fmt_screenshare_tips_alreadyopened",
105
+ FMT_WHITEBOARD_TIPS_SHARE_FAILED = "fmt_whiteboard_tips_share_failed",
106
+ FMT_AUDIO_WINDOW_MIC_TURN_ON_ERROR = "fmt_audio_window_mic_turn_on_error",
107
+ FMT_AUDIO_WINDOW_CAMERA_TURN_ON_ERROR = "fmt_audio_window_camera_turn_on_error"
108
+ }
109
+ export declare const DefaultToastParamsMap: Record<FcrUIToastKey, {
110
+ type: 'error' | 'warn' | 'info' | 'normal';
111
+ duration?: number;
112
+ }>;