fcr-ui-scene 3.7.5 → 3.7.7

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 (401) hide show
  1. package/installer/icons/icon.png +0 -0
  2. package/installer/mac/entitlements.mac.plist +1 -5
  3. package/lib/creator/index.js +15 -7
  4. package/lib/creator/provider-initializer.browser.js +13 -4
  5. package/lib/creator/provider-initializer.electron.js +22 -10
  6. package/lib/creator.d.ts +36 -0
  7. package/lib/creator.js +465 -0
  8. package/lib/electron/bootstrap-sdk.js +90 -6
  9. package/lib/electron/injections.d.ts +1 -0
  10. package/lib/electron/injections.js +5 -1
  11. package/lib/electron/ipc/type.d.ts +1 -0
  12. package/lib/electron/ipc/type.js +1 -0
  13. package/lib/electron/preload.js +1 -0
  14. package/lib/electron/sdk-helper.d.ts +3 -0
  15. package/lib/electron/sdk-helper.js +53 -19
  16. package/lib/electron/struct.d.ts +7 -1
  17. package/lib/electron/struct.js +8 -1
  18. package/lib/electron/until.d.ts +7 -1
  19. package/lib/electron/until.js +11 -2
  20. package/lib/fragments/annotation/store.js +2 -0
  21. package/lib/modules/action-bar/components/item/index.js +1 -0
  22. package/lib/modules/action-bar/components/more/poppover-content.js +1 -1
  23. package/lib/modules/action-bar/components/screen-share/index.browser.js +4 -2
  24. package/lib/modules/action-bar/components/screen-share/index.electron.js +4 -2
  25. package/lib/modules/action-bar/components/screen-share/submenu.d.ts +5 -1
  26. package/lib/modules/action-bar/components/screen-share/submenu.js +12 -9
  27. package/lib/modules/action-bar/index.d.ts +55 -14
  28. package/lib/modules/action-bar/index.dev.js +94 -0
  29. package/lib/modules/action-bar/index.js +78 -32
  30. package/lib/modules/action-bar/store.d.ts +259 -0
  31. package/lib/modules/action-bar/store.js +1529 -0
  32. package/lib/modules/action-bar/types.d.ts +90 -0
  33. package/lib/modules/action-bar/types.js +6 -0
  34. package/lib/modules/action-bar/view.d.ts +1 -1
  35. package/lib/modules/action-bar/view.js +2 -2
  36. package/lib/modules/annotation/annotation-index.d.ts +2 -0
  37. package/lib/modules/annotation/annotation-index.js +80 -0
  38. package/lib/modules/annotation/annotation-toolbar-store.d.ts +75 -0
  39. package/lib/modules/annotation/annotation-toolbar-store.js +459 -0
  40. package/lib/modules/annotation/board-cursor.css +77 -0
  41. package/lib/modules/annotation/components/color-picker/components/color.d.ts +5 -0
  42. package/lib/modules/annotation/components/color-picker/components/color.js +38 -0
  43. package/lib/modules/annotation/components/color-picker/components/panel.d.ts +1 -0
  44. package/lib/modules/annotation/components/color-picker/components/panel.js +109 -0
  45. package/lib/modules/annotation/components/color-picker/components/picker.d.ts +1 -0
  46. package/lib/modules/annotation/components/color-picker/components/picker.js +75 -0
  47. package/lib/modules/annotation/components/color-picker/index.d.ts +2 -0
  48. package/lib/modules/annotation/components/color-picker/index.js +47 -0
  49. package/lib/modules/annotation/components/eraser-picker.d.ts +4 -0
  50. package/lib/modules/annotation/components/eraser-picker.js +144 -0
  51. package/lib/modules/annotation/components/expansion/index.d.ts +1 -0
  52. package/lib/modules/annotation/components/expansion/index.js +100 -0
  53. package/lib/modules/annotation/components/extra-tool-picker.d.ts +1 -0
  54. package/lib/modules/annotation/components/extra-tool-picker.js +62 -0
  55. package/lib/modules/annotation/components/history.d.ts +2 -0
  56. package/lib/modules/annotation/components/history.js +78 -0
  57. package/lib/modules/annotation/components/icons/fold-icon.d.ts +2 -0
  58. package/lib/modules/annotation/components/icons/fold-icon.js +41 -0
  59. package/lib/modules/annotation/components/icons/move-icon.d.ts +1 -0
  60. package/lib/modules/annotation/components/icons/move-icon.js +66 -0
  61. package/lib/modules/annotation/components/item/index.d.ts +1 -0
  62. package/lib/modules/annotation/components/item/index.js +43 -0
  63. package/lib/modules/annotation/components/move-handle.d.ts +5 -0
  64. package/lib/modules/annotation/components/move-handle.js +134 -0
  65. package/lib/modules/annotation/components/pen-picker.d.ts +4 -0
  66. package/lib/modules/annotation/components/pen-picker.js +155 -0
  67. package/lib/modules/annotation/components/screen-capture-picker.d.ts +4 -0
  68. package/lib/modules/annotation/components/screen-capture-picker.js +85 -0
  69. package/lib/modules/annotation/components/shape-picker.d.ts +4 -0
  70. package/lib/modules/annotation/components/shape-picker.js +210 -0
  71. package/lib/modules/annotation/hooks/index.d.ts +14 -0
  72. package/lib/modules/annotation/hooks/index.js +292 -0
  73. package/lib/modules/annotation/index.d.ts +45 -0
  74. package/lib/modules/annotation/index.js +168 -0
  75. package/lib/modules/annotation/store.d.ts +98 -0
  76. package/lib/modules/annotation/store.js +620 -0
  77. package/lib/modules/annotation/style.css +36 -0
  78. package/lib/modules/annotation/view.d.ts +3 -0
  79. package/lib/modules/annotation/view.js +44 -0
  80. package/lib/modules/audio-stream/index.js +4 -2
  81. package/lib/modules/chat/index.css +8 -0
  82. package/lib/modules/chat/view.js +7 -1
  83. package/lib/modules/components/control-bar/components/switch-theme/index.css +2 -0
  84. package/lib/modules/components/control-bar/components/switch-theme/index.js +5 -7
  85. package/lib/modules/components/control-bar/index.css +0 -2
  86. package/lib/modules/components/control-bar/index.d.ts +1 -0
  87. package/lib/modules/components/control-bar/index.js +51 -15
  88. package/lib/modules/components/device-control/store.d.ts +42 -0
  89. package/lib/modules/components/device-control/store.js +241 -0
  90. package/lib/modules/components/leave-meeting/main-scene/store.d.ts +3 -0
  91. package/lib/modules/components/leave-meeting/main-scene/store.js +12 -0
  92. package/lib/modules/components/leave-meeting/store.base.d.ts +4 -3
  93. package/lib/modules/components/leave-meeting/store.base.js +0 -10
  94. package/lib/modules/components/leave-meeting/store.d.ts +39 -0
  95. package/lib/modules/components/leave-meeting/store.js +270 -0
  96. package/lib/modules/components/leave-meeting/waiting-scene/store.d.ts +5 -1
  97. package/lib/modules/components/leave-meeting/waiting-scene/store.js +17 -3
  98. package/lib/modules/components/member-window/components/member-actions/components/more-actions.js +1 -2
  99. package/lib/modules/components/member-window/components/video-player/components/local-video-player-with-zoom.js +4 -3
  100. package/lib/modules/components/member-window/components/video-player/components/zoomable-container.js +18 -32
  101. package/lib/modules/components/toolbar/components/capture-tool/index.d.ts +0 -1
  102. package/lib/modules/components/toolbar/components/capture-tool/index.js +1 -2
  103. package/lib/modules/components/toolbar/components/vertical-frame/index.js +2 -2
  104. package/lib/modules/components/toolbar/hooks/use-resize-visible.js +45 -32
  105. package/lib/modules/components/toolbar/index.js +6 -24
  106. package/lib/modules/control-bar/components/annotation-button/index.d.ts +1 -0
  107. package/lib/modules/control-bar/components/annotation-button/index.js +72 -0
  108. package/lib/modules/control-bar/components/boundary-detector.d.ts +7 -5
  109. package/lib/modules/control-bar/components/boundary-detector.js +22 -2
  110. package/lib/modules/control-bar/components/cloud-recording-buttons.d.ts +3 -0
  111. package/lib/modules/control-bar/components/cloud-recording-buttons.js +68 -3
  112. package/lib/modules/control-bar/hooks.js +2 -1
  113. package/lib/modules/control-bar/store.d.ts +1 -0
  114. package/lib/modules/control-bar/store.js +21 -7
  115. package/lib/modules/control-bar/types.d.ts +5 -16
  116. package/lib/modules/control-bar/view.js +96 -28
  117. package/lib/modules/dialog/components/confirm/index.js +6 -24
  118. package/lib/modules/dialog/components/dialog-container/component/body.d.ts +1 -0
  119. package/lib/modules/dialog/components/dialog-container/component/body.js +3 -2
  120. package/lib/modules/dialog/components/dialog-container/index.css +8 -1
  121. package/lib/modules/dialog/components/dialog-container/index.d.ts +1 -0
  122. package/lib/modules/dialog/components/dialog-container/index.js +4 -1
  123. package/lib/modules/dialog/components/normal-window/index.d.ts +1 -0
  124. package/lib/modules/dialog/components/normal-window/index.js +3 -1
  125. package/lib/modules/dialog/dialogs/chat/index.js +2 -1
  126. package/lib/modules/dialog/dialogs/control-bar-leave-meeting/index.js +0 -1
  127. package/lib/modules/dialog/dialogs/device-setting/index.d.ts +1 -0
  128. package/lib/modules/dialog/dialogs/device-setting/index.js +4 -2
  129. package/lib/modules/dialog/dialogs/end-meeting/index.d.ts +1 -0
  130. package/lib/modules/dialog/dialogs/end-meeting/index.js +2 -1
  131. package/lib/modules/dialog/dialogs/invite/index.d.ts +1 -0
  132. package/lib/modules/dialog/dialogs/invite/index.js +2 -1
  133. package/lib/modules/dialog/dialogs/mute-all/index.d.ts +1 -0
  134. package/lib/modules/dialog/dialogs/mute-all/index.js +2 -1
  135. package/lib/modules/dialog/dialogs/participant/index.js +9 -2
  136. package/lib/modules/dialog/dialogs/pre-setting/index.d.ts +3 -3
  137. package/lib/modules/dialog/dialogs/pre-setting/index.js +25 -20
  138. package/lib/modules/dialog/dialogs/share-screen-selection/index.js +1 -1
  139. package/lib/modules/dialog/dialogs/sub-window/index.js +1 -7
  140. package/lib/modules/dialog/dialogs/toast/index.d.ts +1 -1
  141. package/lib/modules/dialog/dialogs/toast/index.js +1 -1
  142. package/lib/modules/dialog/dialogs/video-window/index.d.ts +4 -1
  143. package/lib/modules/dialog/dialogs/video-window/index.js +5 -2
  144. package/lib/modules/dialog/dialogs/widget/electron.d.ts +6 -0
  145. package/lib/modules/dialog/dialogs/widget/electron.js +38 -0
  146. package/lib/modules/dialog/dialogs/widget/index.d.ts +2 -0
  147. package/lib/modules/dialog/dialogs/widget/index.js +11 -3
  148. package/lib/modules/dialog/hooks/use-popover-watcher.js +1 -3
  149. package/lib/modules/dialog/hooks/useElectron.d.ts +28 -0
  150. package/lib/modules/dialog/hooks/useElectron.js +277 -0
  151. package/lib/modules/dialog/index.css +6 -2
  152. package/lib/modules/dialog/level-config.d.ts +1 -0
  153. package/lib/modules/dialog/level-config.js +2 -1
  154. package/lib/modules/dialog/store.base.d.ts +2 -0
  155. package/lib/modules/dialog/store.browser.d.ts +2 -0
  156. package/lib/modules/dialog/store.browser.js +6 -1
  157. package/lib/modules/dialog/store.d.ts +135 -0
  158. package/lib/modules/dialog/store.electron.d.ts +9 -1
  159. package/lib/modules/dialog/store.electron.js +64 -4
  160. package/lib/modules/dialog/store.js +616 -0
  161. package/lib/modules/dialog/type.d.ts +3 -0
  162. package/lib/modules/event-confirm/components/window/index.d.ts +7 -0
  163. package/lib/modules/event-confirm/components/window/index.js +221 -0
  164. package/lib/modules/event-confirm/index.css +24 -0
  165. package/lib/modules/event-confirm/index.d.ts +27 -0
  166. package/lib/modules/event-confirm/index.js +76 -0
  167. package/lib/modules/event-confirm/store.d.ts +50 -0
  168. package/lib/modules/event-confirm/store.js +394 -0
  169. package/lib/modules/event-confirm/view.d.ts +2 -0
  170. package/lib/modules/event-confirm/view.js +55 -0
  171. package/lib/modules/event-toast/index.css +0 -1
  172. package/lib/modules/event-toast/index.js +1 -0
  173. package/lib/modules/event-toast/store.base.d.ts +2 -0
  174. package/lib/modules/event-toast/store.base.js +40 -21
  175. package/lib/modules/event-toast/store.d.ts +9 -5
  176. package/lib/modules/event-toast/store.electron.d.ts +2 -0
  177. package/lib/modules/event-toast/store.electron.js +19 -9
  178. package/lib/modules/event-toast/store.js +57 -39
  179. package/lib/modules/layout/components/CommonVideoRenderer.js +1 -0
  180. package/lib/modules/layout/store.d.ts +176 -0
  181. package/lib/modules/layout/store.electron.js +1 -1
  182. package/lib/modules/layout/store.js +1452 -0
  183. package/lib/modules/participant/components/confirm-input/index.js +1 -1
  184. package/lib/modules/participant/store.base.d.ts +30 -3
  185. package/lib/modules/participant/store.base.js +249 -96
  186. package/lib/modules/participant/store.browser.js +4 -3
  187. package/lib/modules/participant/store.d.ts +222 -0
  188. package/lib/modules/participant/store.electron.js +5 -3
  189. package/lib/modules/participant/store.js +1929 -0
  190. package/lib/modules/pc-audio-connect/index.d.ts +22 -0
  191. package/lib/modules/pc-audio-connect/index.js +67 -0
  192. package/lib/modules/pc-audio-connect/main-scene/store.js +1 -0
  193. package/lib/modules/pc-audio-connect/store.d.ts +46 -0
  194. package/lib/modules/pc-audio-connect/store.js +304 -0
  195. package/lib/modules/secondary-window/store.d.ts +1 -1
  196. package/lib/modules/secondary-window/store.js +14 -22
  197. package/lib/modules/secondary-window/view.js +10 -10
  198. package/lib/modules/setting/audio-settings/audio-settings.js +0 -17
  199. package/lib/modules/setting/dialog-wrapper.d.ts +2 -0
  200. package/lib/modules/setting/dialog-wrapper.js +110 -0
  201. package/lib/modules/setting/index.js +1 -1
  202. package/lib/modules/setting/state/index.js +1 -1
  203. package/lib/modules/setting/store.base.d.ts +5 -2
  204. package/lib/modules/setting/store.base.js +72 -26
  205. package/lib/modules/setting/store.d.ts +261 -0
  206. package/lib/modules/setting/store.js +1321 -0
  207. package/lib/modules/share-screen/components/selection/index.css +4 -0
  208. package/lib/modules/share-screen/store.base.js +17 -4
  209. package/lib/modules/share-screen/store.d.ts +148 -0
  210. package/lib/modules/share-screen/store.electron.js +5 -2
  211. package/lib/modules/share-screen/store.js +960 -0
  212. package/lib/modules/share-screen/types.d.ts +26 -0
  213. package/lib/modules/share-screen/types.js +6 -0
  214. package/lib/modules/state-bar/layout-config.js +6 -0
  215. package/lib/modules/state-bar/main-scene/store.base.d.ts +2 -0
  216. package/lib/modules/state-bar/main-scene/store.base.js +6 -0
  217. package/lib/modules/state-bar/store.d.ts +124 -0
  218. package/lib/modules/state-bar/store.js +664 -0
  219. package/lib/modules/video-window/index.css +6 -0
  220. package/lib/modules/video-window/popover-watcher.d.ts +5 -10
  221. package/lib/modules/video-window/popover-watcher.js +34 -31
  222. package/lib/modules/video-window/store.d.ts +32 -5
  223. package/lib/modules/video-window/store.js +156 -63
  224. package/lib/modules/video-window/view.js +50 -1
  225. package/lib/modules/whiteboard/components/progress/electron.d.ts +1 -0
  226. package/lib/modules/whiteboard/components/progress/electron.js +33 -0
  227. package/lib/modules/whiteboard/index.d.ts +1 -1
  228. package/lib/modules/whiteboard/index.js +1 -1
  229. package/lib/modules/whiteboard/store.d.ts +3 -0
  230. package/lib/modules/whiteboard/store.js +31 -2
  231. package/lib/modules/whiteboard/view.js +10 -1
  232. package/lib/modules/widget/sdk.js +1 -1
  233. package/lib/modules/widget/store.base.d.ts +1 -0
  234. package/lib/modules/widget/store.browser.d.ts +1 -0
  235. package/lib/modules/widget/store.browser.js +60 -4
  236. package/lib/modules/widget/store.d.ts +5 -8
  237. package/lib/modules/widget/store.electron.d.ts +1 -0
  238. package/lib/modules/widget/store.electron.js +59 -2
  239. package/lib/modules/widget/store.js +4 -47
  240. package/lib/modules/widget/type.d.ts +3 -2
  241. package/lib/modules/widget/view.js +9 -4
  242. package/lib/modules/widget/web-widget.d.ts +2 -1
  243. package/lib/modules/widget/web-widget.js +7 -5
  244. package/lib/object-manager.d.ts +2 -2
  245. package/lib/object-manager.js +1 -1
  246. package/lib/providers/annotation-provider.d.ts +124 -0
  247. package/lib/providers/annotation-provider.js +369 -0
  248. package/lib/providers/board-share/bar-control/base.d.ts +1 -1
  249. package/lib/providers/board-share/bar-control/base.js +37 -28
  250. package/lib/providers/board-share/bar-control/electron.d.ts +1 -1
  251. package/lib/providers/board-share/bar-control/electron.js +19 -16
  252. package/lib/providers/board-share/provider.base.d.ts +8 -1
  253. package/lib/providers/board-share/provider.base.js +12 -2
  254. package/lib/providers/board-share/provider.browser.d.ts +3 -0
  255. package/lib/providers/board-share/provider.browser.js +21 -3
  256. package/lib/providers/device-provider.d.ts +16 -2
  257. package/lib/providers/device-provider.js +53 -60
  258. package/lib/providers/dialog/provider.base.d.ts +1 -0
  259. package/lib/providers/dialog/provider.browser.d.ts +1 -0
  260. package/lib/providers/dialog/provider.browser.js +7 -2
  261. package/lib/providers/dialog/provider.electron.d.ts +4 -1
  262. package/lib/providers/dialog/provider.electron.js +94 -2
  263. package/lib/providers/dialog/type.d.ts +7 -0
  264. package/lib/providers/dialog-provider.d.ts +137 -0
  265. package/lib/providers/dialog-provider.js +194 -0
  266. package/lib/providers/message-provider.d.ts +69 -0
  267. package/lib/providers/message-provider.js +140 -0
  268. package/lib/providers/mouse-detect/provider.d.ts +9 -1
  269. package/lib/providers/mouse-detect/provider.js +119 -5
  270. package/lib/providers/mouse-detect/struct.d.ts +2 -1
  271. package/lib/providers/mouse-detect/struct.js +1 -0
  272. package/lib/providers/mouse-detect/type.d.ts +2 -0
  273. package/lib/providers/multi-display-provider.d.ts +3 -5
  274. package/lib/providers/multi-display-provider.js +0 -9
  275. package/lib/providers/renderer-provider.d.ts +5 -0
  276. package/lib/providers/renderer-provider.js +5 -0
  277. package/lib/providers/room-provider/room-provider.d.ts +4 -14
  278. package/lib/providers/room-provider/room-provider.js +28 -39
  279. package/lib/providers/room-provider.d.ts +194 -0
  280. package/lib/providers/room-provider.js +916 -0
  281. package/lib/providers/screen-share/provider.base.js +3 -11
  282. package/lib/providers/screen-share/provider.browser.js +23 -14
  283. package/lib/providers/screen-share/provider.electron.d.ts +1 -0
  284. package/lib/providers/screen-share/provider.electron.js +44 -17
  285. package/lib/providers/screen-share/strategy/browser.js +16 -13
  286. package/lib/providers/screen-share/strategy/electron.d.ts +2 -2
  287. package/lib/providers/screen-share/strategy/electron.js +15 -10
  288. package/lib/providers/screen-share/strategy/type.d.ts +6 -0
  289. package/lib/providers/screen-share/stream-state-sync.d.ts +3 -2
  290. package/lib/providers/screen-share/stream-state-sync.js +26 -16
  291. package/lib/providers/screen-share/struct.d.ts +9 -7
  292. package/lib/providers/screen-share/struct.js +11 -8
  293. package/lib/providers/screen-share/type.d.ts +7 -1
  294. package/lib/providers/screen-share-provider.d.ts +245 -0
  295. package/lib/providers/screen-share-provider.js +850 -0
  296. package/lib/providers/sharing-provider.d.ts +42 -0
  297. package/lib/providers/sharing-provider.js +228 -0
  298. package/lib/providers/user-setting-storage-provider.d.ts +21 -0
  299. package/lib/providers/user-setting-storage-provider.js +65 -0
  300. package/lib/providers/whiteboard-provider.d.ts +2 -4
  301. package/lib/providers/whiteboard-provider.js +4 -7
  302. package/lib/providers/widget-provider.d.ts +5 -3
  303. package/lib/providers/widget-provider.js +12 -18
  304. package/lib/providers/window/main-window.d.ts +0 -5
  305. package/lib/providers/window/main-window.js +3 -44
  306. package/lib/providers/window/renderer-window.d.ts +1 -0
  307. package/lib/providers/window/renderer-window.js +13 -2
  308. package/lib/runtime.d.ts +1 -0
  309. package/lib/runtime.js +2 -1
  310. package/lib/scenes/main-scene.js +5 -0
  311. package/lib/shared-context/board-context.d.ts +2 -0
  312. package/lib/shared-context/board-context.js +2 -0
  313. package/lib/shared-data/member-data.d.ts +0 -8
  314. package/lib/shared-data/member-data.js +26 -78
  315. package/lib/shared-data/widget-data.d.ts +13 -0
  316. package/lib/shared-data/widget-data.js +50 -0
  317. package/lib/shared-data-source/annotation-data.d.ts +17 -0
  318. package/lib/{modules/action-bar/store.base.js → shared-data-source/annotation-data.js} +34 -41
  319. package/lib/shared-data-source/app-list-data.d.ts +34 -0
  320. package/lib/shared-data-source/app-list-data.js +133 -0
  321. package/lib/shared-data-source/chat-data.d.ts +25 -0
  322. package/lib/shared-data-source/chat-data.js +139 -0
  323. package/lib/shared-data-source/config.d.ts +35 -0
  324. package/lib/shared-data-source/config.js +40 -0
  325. package/lib/shared-data-source/confirm-data.d.ts +44 -0
  326. package/lib/shared-data-source/confirm-data.js +201 -0
  327. package/lib/shared-data-source/device-privilege-data.d.ts +8 -0
  328. package/lib/shared-data-source/device-privilege-data.js +25 -0
  329. package/lib/shared-data-source/interpreter.d.ts +77 -0
  330. package/lib/shared-data-source/interpreter.js +247 -0
  331. package/lib/shared-data-source/layout-data.d.ts +31 -0
  332. package/lib/shared-data-source/layout-data.js +189 -0
  333. package/lib/shared-data-source/meeting-time.d.ts +90 -0
  334. package/lib/shared-data-source/meeting-time.js +416 -0
  335. package/lib/shared-data-source/member-data.d.ts +139 -0
  336. package/lib/shared-data-source/member-data.js +517 -0
  337. package/lib/shared-data-source/pin-data.d.ts +13 -0
  338. package/lib/{modules/action-bar/waiting-scene/store.js → shared-data-source/pin-data.js} +55 -35
  339. package/lib/shared-data-source/screen-share-data.d.ts +357 -0
  340. package/lib/shared-data-source/screen-share-data.js +513 -0
  341. package/lib/shared-data-source/security-data.d.ts +39 -0
  342. package/lib/shared-data-source/security-data.js +156 -0
  343. package/lib/shared-data-source/setting.d.ts +67 -0
  344. package/lib/shared-data-source/setting.js +220 -0
  345. package/lib/shared-data-source/speaker-spotlight.d.ts +5 -0
  346. package/lib/shared-data-source/speaker-spotlight.js +15 -0
  347. package/lib/shared-data-source/video-window.d.ts +165 -0
  348. package/lib/shared-data-source/video-window.js +1266 -0
  349. package/lib/shared-data-source/waiting-room.d.ts +46 -0
  350. package/lib/shared-data-source/waiting-room.js +222 -0
  351. package/lib/{shared-data → shared-data-source}/whiteboard-data.d.ts +2 -2
  352. package/lib/{shared-data → shared-data-source}/whiteboard-data.js +23 -17
  353. package/lib/translations/enUS.d.ts +0 -2
  354. package/lib/translations/enUS.js +4 -6
  355. package/lib/translations/zhCN.d.ts +0 -2
  356. package/lib/translations/zhCN.js +4 -6
  357. package/lib/type.d.ts +5 -0
  358. package/lib/ui-scene.d.ts +2 -4
  359. package/lib/ui-scene.js +31 -42
  360. package/lib/utilities/board-context.d.ts +4 -0
  361. package/lib/utilities/board-context.js +12 -0
  362. package/lib/utilities/constant.d.ts +3 -1
  363. package/lib/utilities/constant.js +5 -2
  364. package/lib/utilities/copyText.d.ts +2 -0
  365. package/lib/utilities/copyText.js +48 -0
  366. package/lib/utilities/default-config.d.ts +18 -0
  367. package/lib/utilities/default-config.js +19 -1
  368. package/lib/utilities/focus-helper.js +10 -3
  369. package/lib/utilities/logger.js +3 -1
  370. package/lib/utilities/renderer-event.d.ts +10 -0
  371. package/lib/utilities/renderer-event.js +95 -0
  372. package/lib/utilities/renderer.d.ts +1 -0
  373. package/lib/utilities/renderer.js +7 -1
  374. package/lib/utilities/screen-capture-permission.d.ts +2 -0
  375. package/lib/utilities/screen-capture-permission.js +24 -0
  376. package/lib/utilities/screen.d.ts +3 -0
  377. package/lib/utilities/screen.js +53 -0
  378. package/lib/utilities/video-track-render-context.d.ts +6 -0
  379. package/lib/utilities/video-track-render-context.js +9 -0
  380. package/lib/waiting-room-control-manager.d.ts +28 -0
  381. package/lib/waiting-room-control-manager.js +230 -0
  382. package/package.json +5 -5
  383. package/public/index.html +35 -4
  384. package/lib/modules/action-bar/store.base.d.ts +0 -15
  385. package/lib/modules/action-bar/waiting-scene/store.d.ts +0 -6
  386. package/lib/providers/board-share/bar-control.d.ts +0 -51
  387. package/lib/providers/board-share/bar-control.js +0 -390
  388. package/lib/providers/board-share/provider.d.ts +0 -66
  389. package/lib/providers/board-share/provider.js +0 -456
  390. package/lib/providers/screen-share/provider.d.ts +0 -69
  391. package/lib/providers/screen-share/provider.js +0 -615
  392. package/lib/providers/window/browser-window-proxy.js +0 -1
  393. package/lib/providers/window/ipc-protocol.d.ts +0 -0
  394. package/lib/providers/window/ipc-protocol.js +0 -1
  395. package/lib/providers/window/main-process-handler.d.ts +0 -0
  396. package/lib/providers/window/main-process-handler.js +0 -1
  397. package/lib/providers/window/main-process-integration.d.ts +0 -0
  398. package/lib/providers/window/main-process-integration.js +0 -1
  399. package/lib/utilities/ipc-protocol.d.ts +0 -91
  400. package/lib/utilities/ipc-protocol.js +0 -61
  401. /package/lib/{providers/window/browser-window-proxy.d.ts → modules/action-bar/index.dev.d.ts} +0 -0
@@ -117,7 +117,7 @@ var _struct = require("./struct");
117
117
  var _i18n2 = require("../../hooks/i18n");
118
118
  var _jsxRuntime = require("react/jsx-runtime");
119
119
  var _ParticipantStoreBase;
120
- var _initProto, _init__operatorRenameUserName, _init__mainList, _init__isChecked, _init__participantsWindowActive, _init_enableParticipantsJoinWithMute, _init_searchText, _init_currentModal, _init_mergeConfirmDialog, _init_mergeUserId, _init_activeTab, _init_interpreterInputLanguageList, _init_newName, _init_allowUnmute, _init_joinWithMuteAudio, _init_showBecomeHostButton, _setCurrentModalDecs, _setParticipantsWindowActiveDecs, _handlerSearchUserDecs, _openRemoveAdmitWaitingRoomDialogDecs, _setAllowUnmuteDecs, _setAllowJoinWithMuteAudioDecs, _openMuteAllDialogDecs, _handlerRoomControlActionDecs, _moveToMainRoomByUserIdsDecs, _kickOutWaitingRoomAllMemberDecs, _moveToMainRoomAllMemberDecs, _removeWaitingRoomUserDecs, _handleConfirmChangeNameDecs, _handleCancelChangeNameDecs, _closeChangeNameDialogDecs, _getOutputLanguageDecs, _handlerUserActionDecs, _handleActiveTabDecs, _moveToWaitingRoomByUserIdDecs, _kickOutUserDecs, _onPeerSessionReceivedDecs, _ref;
120
+ var _initProto, _init__mainList, _init__isChecked, _init__participantsWindowActive, _init_enableParticipantsJoinWithMute, _init_searchText, _init_currentModal, _init_mergeConfirmDialog, _init_mergeUserId, _init_activeTab, _init_interpreterInputLanguageList, _init_newName, _init_allowUnmute, _init_joinWithMuteAudio, _init_showBecomeHostButton, _init__userCount, _setCurrentModalDecs, _setParticipantsWindowActiveDecs, _handlerSearchUserDecs, _openRemoveAdmitWaitingRoomDialogDecs, _setAllowUnmuteDecs, _setAllowJoinWithMuteAudioDecs, _openMuteAllDialogDecs, _handlerRoomControlActionDecs, _moveToMainRoomByUserIdsDecs, _kickOutWaitingRoomAllMemberDecs, _moveToMainRoomAllMemberDecs, _removeWaitingRoomUserDecs, _handleUserCountUpdatedDecs, _handleConfirmChangeNameDecs, _handleCancelChangeNameDecs, _closeChangeNameDialogDecs, _getOutputLanguageDecs, _handlerUserActionDecs, _handleActiveTabDecs, _moveToWaitingRoomByUserIdDecs, _kickOutUserDecs, _onPeerSessionReceivedDecs, _ref;
121
121
  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; }
122
122
  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; }
123
123
  function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
@@ -145,7 +145,7 @@ var _L = /*#__PURE__*/new WeakMap();
145
145
  var _M = /*#__PURE__*/new WeakMap();
146
146
  var _N = /*#__PURE__*/new WeakMap();
147
147
  var _O = /*#__PURE__*/new WeakMap();
148
- _ref = (_setCurrentModalDecs = [_mobx.action, _mobx.action.bound], _setParticipantsWindowActiveDecs = [_mobx.action, _mobx.action.bound], _handlerSearchUserDecs = [_mobx.action, _mobx.action.bound], _openRemoveAdmitWaitingRoomDialogDecs = [_mobx.action, _mobx.action.bound], _setAllowUnmuteDecs = [_mobx.action, _mobx.action.bound], _setAllowJoinWithMuteAudioDecs = [_mobx.action, _mobx.action.bound], _openMuteAllDialogDecs = [_mobx.action, _mobx.action.bound], _handlerRoomControlActionDecs = [_mobx.action, _mobx.action.bound], _moveToMainRoomByUserIdsDecs = [_mobx.action, _mobx.action.bound], _kickOutWaitingRoomAllMemberDecs = [_mobx.action, _mobx.action.bound], _moveToMainRoomAllMemberDecs = [_mobx.action, _mobx.action.bound], _removeWaitingRoomUserDecs = [_mobx.action, _mobx.action.bound], _handleConfirmChangeNameDecs = [_mobx.action, _mobx.action.bound], _handleCancelChangeNameDecs = [_mobx.action, _mobx.action.bound], _closeChangeNameDialogDecs = [_mobx.action, _mobx.action.bound], _getOutputLanguageDecs = [_mobx.action, _mobx.action.bound], _handlerUserActionDecs = [_mobx.action, _mobx.action.bound], _handleActiveTabDecs = [_mobx.action, _mobx.action.bound], _moveToWaitingRoomByUserIdDecs = [_mobx.action, _mobx.action.bound], _kickOutUserDecs = [_mobx.action, _mobx.action.bound], _onPeerSessionReceivedDecs = [_mobx.action, _mobx.action.bound], "logger");
148
+ _ref = (_setCurrentModalDecs = [_mobx.action, _mobx.action.bound], _setParticipantsWindowActiveDecs = [_mobx.action, _mobx.action.bound], _handlerSearchUserDecs = [_mobx.action, _mobx.action.bound], _openRemoveAdmitWaitingRoomDialogDecs = [_mobx.action, _mobx.action.bound], _setAllowUnmuteDecs = [_mobx.action, _mobx.action.bound], _setAllowJoinWithMuteAudioDecs = [_mobx.action, _mobx.action.bound], _openMuteAllDialogDecs = [_mobx.action, _mobx.action.bound], _handlerRoomControlActionDecs = [_mobx.action, _mobx.action.bound], _moveToMainRoomByUserIdsDecs = [_mobx.action, _mobx.action.bound], _kickOutWaitingRoomAllMemberDecs = [_mobx.action, _mobx.action.bound], _moveToMainRoomAllMemberDecs = [_mobx.action, _mobx.action.bound], _removeWaitingRoomUserDecs = [_mobx.action, _mobx.action.bound], _handleUserCountUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleConfirmChangeNameDecs = [_mobx.action, _mobx.action.bound], _handleCancelChangeNameDecs = [_mobx.action, _mobx.action.bound], _closeChangeNameDialogDecs = [_mobx.action, _mobx.action.bound], _getOutputLanguageDecs = [_mobx.action, _mobx.action.bound], _handlerUserActionDecs = [_mobx.action, _mobx.action.bound], _handleActiveTabDecs = [_mobx.action, _mobx.action.bound], _moveToWaitingRoomByUserIdDecs = [_mobx.action, _mobx.action.bound], _kickOutUserDecs = [_mobx.action, _mobx.action.bound], _onPeerSessionReceivedDecs = [_mobx.action, _mobx.action.bound], "logger");
149
149
  var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function () {
150
150
  // #endregion
151
151
 
@@ -191,7 +191,8 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
191
191
  (0, _defineProperty2["default"])(this, "_userObserver", {
192
192
  onRemoteUsersJoined: this._handleRemoteUsersJoined.bind(this),
193
193
  onUserPropertiesUpdated: this._handleUserPropertiesUpdated.bind(this),
194
- onUserInfoUpdated: this._handleUserInfoUpdated.bind(this)
194
+ onUserInfoUpdated: this._handleUserInfoUpdated.bind(this),
195
+ onAllUserCountUpdated: this._handleUserCountUpdated.bind(this)
195
196
  });
196
197
  (0, _defineProperty2["default"])(this, "_whitebaordObderver", {
197
198
  onActive: function onActive(ownerId, operatorUser) {
@@ -201,22 +202,23 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
201
202
  _this._sharedMemberDataSource.updateMemberListWithBoardState();
202
203
  }
203
204
  });
204
- (0, _defineProperty2["default"])(this, "_operatorRenameUserId", '');
205
- _classPrivateFieldInitSpec(this, _A, _init__operatorRenameUserName(this, ''));
206
- _classPrivateFieldInitSpec(this, _B, _init__mainList(this, []));
207
- _classPrivateFieldInitSpec(this, _C, _init__isChecked(this, {}));
208
- _classPrivateFieldInitSpec(this, _D, _init__participantsWindowActive(this, false));
209
- _classPrivateFieldInitSpec(this, _E, _init_enableParticipantsJoinWithMute(this, false));
210
- _classPrivateFieldInitSpec(this, _F, _init_searchText(this, ''));
211
- _classPrivateFieldInitSpec(this, _G, _init_currentModal(this, 'modal'));
212
- _classPrivateFieldInitSpec(this, _H, _init_mergeConfirmDialog(this, false));
213
- _classPrivateFieldInitSpec(this, _I, _init_mergeUserId(this, ''));
214
- _classPrivateFieldInitSpec(this, _J, _init_activeTab(this, _type5.FcrUIRoomType.MAIN_ROOM));
215
- _classPrivateFieldInitSpec(this, _K, _init_interpreterInputLanguageList(this, []));
216
- _classPrivateFieldInitSpec(this, _L, _init_newName(this, ''));
217
- _classPrivateFieldInitSpec(this, _M, _init_allowUnmute(this, false));
218
- _classPrivateFieldInitSpec(this, _N, _init_joinWithMuteAudio(this, false));
219
- _classPrivateFieldInitSpec(this, _O, _init_showBecomeHostButton(this, false));
205
+ (0, _defineProperty2["default"])(this, "_renamingUserId", '');
206
+ (0, _defineProperty2["default"])(this, "_renamingUserName", '');
207
+ _classPrivateFieldInitSpec(this, _A, _init__mainList(this, []));
208
+ _classPrivateFieldInitSpec(this, _B, _init__isChecked(this, {}));
209
+ _classPrivateFieldInitSpec(this, _C, _init__participantsWindowActive(this, false));
210
+ _classPrivateFieldInitSpec(this, _D, _init_enableParticipantsJoinWithMute(this, false));
211
+ _classPrivateFieldInitSpec(this, _E, _init_searchText(this, ''));
212
+ _classPrivateFieldInitSpec(this, _F, _init_currentModal(this, 'modal'));
213
+ _classPrivateFieldInitSpec(this, _G, _init_mergeConfirmDialog(this, false));
214
+ _classPrivateFieldInitSpec(this, _H, _init_mergeUserId(this, ''));
215
+ _classPrivateFieldInitSpec(this, _I, _init_activeTab(this, _type5.FcrUIRoomType.MAIN_ROOM));
216
+ _classPrivateFieldInitSpec(this, _J, _init_interpreterInputLanguageList(this, []));
217
+ _classPrivateFieldInitSpec(this, _K, _init_newName(this, ''));
218
+ _classPrivateFieldInitSpec(this, _L, _init_allowUnmute(this, false));
219
+ _classPrivateFieldInitSpec(this, _M, _init_joinWithMuteAudio(this, false));
220
+ _classPrivateFieldInitSpec(this, _N, _init_showBecomeHostButton(this, false));
221
+ _classPrivateFieldInitSpec(this, _O, _init__userCount(this, 0));
220
222
  (0, _defineProperty2["default"])(this, "allowedOperations", (0, _mobxUtils.computedFn)(function (userId, userRole) {
221
223
  return _this.getAllowedOperations(userRole, userId === _this.localUser.userId);
222
224
  }));
@@ -275,6 +277,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
275
277
  this._abilityProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_ABILITY_PROVIDER);
276
278
  this._eventProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_EVENT_PROVIDER);
277
279
  this._screenShareProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_SCREEN_SHARE_PROVIDER);
280
+ this._userCount = this._userControl.getAllUserCount();
278
281
 
279
282
  // Get shared data sources
280
283
  this._sharedPinDataSource = objectManager.getObject(_objectManager.FcrUIObjectKeys.S_SHARED_PIN_DATA_SOURCE);
@@ -313,7 +316,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
313
316
  this._setupWaitingRoomUserCountListener();
314
317
  }
315
318
  return (0, _createClass2["default"])(ParticipantStoreBase, [{
316
- key: "_operatorRenameUserName",
319
+ key: "_mainList",
317
320
  get: function get() {
318
321
  return _classPrivateFieldGet(_A, this);
319
322
  },
@@ -321,7 +324,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
321
324
  _classPrivateFieldSet(_A, this, v);
322
325
  }
323
326
  }, {
324
- key: "_mainList",
327
+ key: "_isChecked",
325
328
  get: function get() {
326
329
  return _classPrivateFieldGet(_B, this);
327
330
  },
@@ -329,7 +332,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
329
332
  _classPrivateFieldSet(_B, this, v);
330
333
  }
331
334
  }, {
332
- key: "_isChecked",
335
+ key: "_participantsWindowActive",
333
336
  get: function get() {
334
337
  return _classPrivateFieldGet(_C, this);
335
338
  },
@@ -337,7 +340,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
337
340
  _classPrivateFieldSet(_C, this, v);
338
341
  }
339
342
  }, {
340
- key: "_participantsWindowActive",
343
+ key: "enableParticipantsJoinWithMute",
341
344
  get: function get() {
342
345
  return _classPrivateFieldGet(_D, this);
343
346
  },
@@ -345,7 +348,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
345
348
  _classPrivateFieldSet(_D, this, v);
346
349
  }
347
350
  }, {
348
- key: "enableParticipantsJoinWithMute",
351
+ key: "searchText",
349
352
  get: function get() {
350
353
  return _classPrivateFieldGet(_E, this);
351
354
  },
@@ -353,7 +356,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
353
356
  _classPrivateFieldSet(_E, this, v);
354
357
  }
355
358
  }, {
356
- key: "searchText",
359
+ key: "currentModal",
357
360
  get: function get() {
358
361
  return _classPrivateFieldGet(_F, this);
359
362
  },
@@ -361,7 +364,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
361
364
  _classPrivateFieldSet(_F, this, v);
362
365
  }
363
366
  }, {
364
- key: "currentModal",
367
+ key: "mergeConfirmDialog",
365
368
  get: function get() {
366
369
  return _classPrivateFieldGet(_G, this);
367
370
  },
@@ -369,7 +372,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
369
372
  _classPrivateFieldSet(_G, this, v);
370
373
  }
371
374
  }, {
372
- key: "mergeConfirmDialog",
375
+ key: "mergeUserId",
373
376
  get: function get() {
374
377
  return _classPrivateFieldGet(_H, this);
375
378
  },
@@ -377,7 +380,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
377
380
  _classPrivateFieldSet(_H, this, v);
378
381
  }
379
382
  }, {
380
- key: "mergeUserId",
383
+ key: "activeTab",
381
384
  get: function get() {
382
385
  return _classPrivateFieldGet(_I, this);
383
386
  },
@@ -385,7 +388,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
385
388
  _classPrivateFieldSet(_I, this, v);
386
389
  }
387
390
  }, {
388
- key: "activeTab",
391
+ key: "interpreterInputLanguageList",
389
392
  get: function get() {
390
393
  return _classPrivateFieldGet(_J, this);
391
394
  },
@@ -393,7 +396,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
393
396
  _classPrivateFieldSet(_J, this, v);
394
397
  }
395
398
  }, {
396
- key: "interpreterInputLanguageList",
399
+ key: "newName",
397
400
  get: function get() {
398
401
  return _classPrivateFieldGet(_K, this);
399
402
  },
@@ -401,7 +404,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
401
404
  _classPrivateFieldSet(_K, this, v);
402
405
  }
403
406
  }, {
404
- key: "newName",
407
+ key: "allowUnmute",
405
408
  get: function get() {
406
409
  return _classPrivateFieldGet(_L, this);
407
410
  },
@@ -409,7 +412,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
409
412
  _classPrivateFieldSet(_L, this, v);
410
413
  }
411
414
  }, {
412
- key: "allowUnmute",
415
+ key: "joinWithMuteAudio",
413
416
  get: function get() {
414
417
  return _classPrivateFieldGet(_M, this);
415
418
  },
@@ -417,7 +420,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
417
420
  _classPrivateFieldSet(_M, this, v);
418
421
  }
419
422
  }, {
420
- key: "joinWithMuteAudio",
423
+ key: "showBecomeHostButton",
421
424
  get: function get() {
422
425
  return _classPrivateFieldGet(_N, this);
423
426
  },
@@ -425,7 +428,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
425
428
  _classPrivateFieldSet(_N, this, v);
426
429
  }
427
430
  }, {
428
- key: "showBecomeHostButton",
431
+ key: "_userCount",
429
432
  get: // #region getters
430
433
  function get() {
431
434
  return _classPrivateFieldGet(_O, this);
@@ -434,9 +437,9 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
434
437
  _classPrivateFieldSet(_O, this, v);
435
438
  }
436
439
  }, {
437
- key: "operatorRenameUserName",
440
+ key: "renamingUserName",
438
441
  get: function get() {
439
- return this._operatorRenameUserName;
442
+ return this._renamingUserName;
440
443
  }
441
444
  }, {
442
445
  key: "audioVolumeMap",
@@ -498,7 +501,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
498
501
  }, {
499
502
  key: "userCount",
500
503
  get: function get() {
501
- return this.userList.length;
504
+ return this._userCount;
502
505
  }
503
506
  }, {
504
507
  key: "allowUnmuteSelfAudio",
@@ -1066,6 +1069,15 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
1066
1069
  this._sharedPinDataSource.removePin(streamId);
1067
1070
  }
1068
1071
  }
1072
+ }, {
1073
+ key: "isHostSupportedByPlatform",
1074
+ value: function isHostSupportedByPlatform(userId) {
1075
+ var _this$userMap$get3;
1076
+ var user = (_this$userMap$get3 = this.userMap.get(userId)) === null || _this$userMap$get3 === void 0 ? void 0 : _this$userMap$get3.userInfo;
1077
+ if (!user) return false;
1078
+ if (!user.platform) return false;
1079
+ return this._abilityProvider.isHostSupportedByPlatform(user.platform);
1080
+ }
1069
1081
  }, {
1070
1082
  key: "addPin",
1071
1083
  value: function addPin(userId) {
@@ -1355,6 +1367,11 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
1355
1367
  this.showBecomeHostButton = false;
1356
1368
  }
1357
1369
  }
1370
+ }, {
1371
+ key: "_handleUserCountUpdated",
1372
+ value: function _handleUserCountUpdated(roomId, count) {
1373
+ this._userCount = count;
1374
+ }
1358
1375
  }, {
1359
1376
  key: "_handleUserPropertiesUpdated",
1360
1377
  value: function _handleUserPropertiesUpdated() {
@@ -1369,7 +1386,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
1369
1386
  while (1) switch (_context4.prev = _context4.next) {
1370
1387
  case 0:
1371
1388
  _context4.next = 1;
1372
- return this._userControl.updateUserName(this._operatorRenameUserId, this.newName);
1389
+ return this._userControl.updateUserName(this._renamingUserId, this.newName);
1373
1390
  case 1:
1374
1391
  (0, _mobx.runInAction)(function () {
1375
1392
  _this14._closeChangeNameDialog();
@@ -1394,6 +1411,9 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
1394
1411
  }, {
1395
1412
  key: "_closeChangeNameDialog",
1396
1413
  value: function _closeChangeNameDialog() {
1414
+ this.newName = '';
1415
+ this._renamingUserId = '';
1416
+ this._renamingUserName = '';
1397
1417
  this._dialogProvider.closeDialog(_constant.FcrUIDialogKey.RENAME);
1398
1418
  }
1399
1419
  }, {
@@ -1729,12 +1749,145 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
1729
1749
  }, {
1730
1750
  key: "_setAsHost",
1731
1751
  value: function _setAsHost(userId) {
1732
- this._userControl.updateRemoteUserRole(userId, _type.FcrUserRole.HOST);
1752
+ var canSetHost = this.isHostSupportedByPlatform(userId);
1753
+ if (!canSetHost) {
1754
+ this._showToast((0, _i18n.transI18n)('fmt_uimanager_tips_userleaft'), 'error');
1755
+ return;
1756
+ }
1757
+ this._showSetHostDialog(userId, _type.FcrUserRole.HOST);
1733
1758
  }
1734
1759
  }, {
1735
1760
  key: "_setAsCoHost",
1736
1761
  value: function _setAsCoHost(userId) {
1737
- this._userControl.updateRemoteUserRole(userId, _type.FcrUserRole.COHOST);
1762
+ var canSetHost = this.isHostSupportedByPlatform(userId);
1763
+ if (!canSetHost) {
1764
+ this._showToast((0, _i18n.transI18n)('fmt_uimanager_tips_userleaft'), 'error');
1765
+ return;
1766
+ }
1767
+ this._showSetHostDialog(userId, _type.FcrUserRole.COHOST);
1768
+ }
1769
+
1770
+ /**
1771
+ * 显示设置主持人/联席主持人对话框
1772
+ * @param userId 用户ID
1773
+ * @param type 角色类型
1774
+ */
1775
+ }, {
1776
+ key: "_showSetHostDialog",
1777
+ value: function _showSetHostDialog(userId, type) {
1778
+ var _this16 = this;
1779
+ var user = this.userMap.get(userId);
1780
+ if (!user) {
1781
+ this._showToast((0, _i18n.transI18n)('fmt_uimanager_tips_userleaft'), 'error');
1782
+ return;
1783
+ }
1784
+ var username = user.userInfo.userName;
1785
+ var targetRole = this._getRoleDisplayName(type);
1786
+ this.openConfirmDialog({
1787
+ title: (0, _i18n.transI18n)('fmt_uimanager_labels_Setas', {
1788
+ reason1: targetRole
1789
+ }),
1790
+ content: (0, _i18n.transI18n)('fmt_uimanager_tips_designedas', {
1791
+ reason1: username,
1792
+ reason2: targetRole
1793
+ }),
1794
+ onOk: function onOk() {
1795
+ return _this16._handleSetHostConfirmation(userId, type);
1796
+ },
1797
+ okText: (0, _i18n.transI18n)('fmt_uimanager_labels_Setas', {
1798
+ reason1: targetRole
1799
+ }),
1800
+ cancelText: (0, _i18n.transI18n)('fmt_security_buttons_cancel'),
1801
+ closable: false,
1802
+ alignCenter: true
1803
+ }, 'UPDATE_USER_ROLE');
1804
+ }
1805
+
1806
+ /**
1807
+ * 获取角色显示名称
1808
+ * @param type 角色类型
1809
+ * @returns 角色显示名称
1810
+ */
1811
+ }, {
1812
+ key: "_getRoleDisplayName",
1813
+ value: function _getRoleDisplayName(type) {
1814
+ return type === _type.FcrUserRole.HOST ? (0, _i18n.transI18n)('fmt_role_host') : (0, _i18n.transI18n)('fmt_role_cohost');
1815
+ }
1816
+
1817
+ /**
1818
+ * 处理设置主持人确认操作
1819
+ * @param userId 用户ID
1820
+ * @param type 角色类型
1821
+ */
1822
+ }, {
1823
+ key: "_handleSetHostConfirmation",
1824
+ value: (function () {
1825
+ var _handleSetHostConfirmation2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee6(userId, type) {
1826
+ var _t;
1827
+ return _regenerator["default"].wrap(function (_context6) {
1828
+ while (1) switch (_context6.prev = _context6.next) {
1829
+ case 0:
1830
+ if (this.userMap.has(userId)) {
1831
+ _context6.next = 1;
1832
+ break;
1833
+ }
1834
+ this._showToast((0, _i18n.transI18n)('fmt_uimanager_tips_userleaft'), 'error');
1835
+ return _context6.abrupt("return");
1836
+ case 1:
1837
+ _context6.prev = 1;
1838
+ _context6.next = 2;
1839
+ return this._updateRemoteUserRole(userId, type);
1840
+ case 2:
1841
+ _context6.next = 4;
1842
+ break;
1843
+ case 3:
1844
+ _context6.prev = 3;
1845
+ _t = _context6["catch"](1);
1846
+ this._handleSetHostError(_t);
1847
+ case 4:
1848
+ case "end":
1849
+ return _context6.stop();
1850
+ }
1851
+ }, _callee6, this, [[1, 3]]);
1852
+ }));
1853
+ function _handleSetHostConfirmation(_x2, _x3) {
1854
+ return _handleSetHostConfirmation2.apply(this, arguments);
1855
+ }
1856
+ return _handleSetHostConfirmation;
1857
+ }()
1858
+ /**
1859
+ * 处理设置主持人时的错误
1860
+ * @param error 错误对象
1861
+ */
1862
+ )
1863
+ }, {
1864
+ key: "_handleSetHostError",
1865
+ value: function _handleSetHostError(error) {
1866
+ var _this17 = this;
1867
+ if (error instanceof _error.FcrError) {
1868
+ var errorHandlers = (0, _defineProperty2["default"])((0, _defineProperty2["default"])({}, _constant.ErrorCode.FAILED_TO_UPDATE_USER_ROLE_DUE_TO_PRIVILEGE, function () {
1869
+ _this17._messageProvider.showToast({
1870
+ type: 'error',
1871
+ message: (0, _i18n.transI18n)('fmt_attendies_button_revokehost_error')
1872
+ });
1873
+ }), _constant.ErrorCode.FAILED_TO_UPDATE_USER_ROLE_DUE_TO_LIMIT_REACHED, function () {
1874
+ _this17._messageProvider.showToast({
1875
+ type: 'error',
1876
+ message: (0, _i18n.transI18n)('fmt_attendies_toast_cohost_upper_limit')
1877
+ });
1878
+ });
1879
+ var handler = errorHandlers[error.code];
1880
+ if (handler) {
1881
+ handler();
1882
+ return;
1883
+ }
1884
+ }
1885
+ this.logger.error('Failed to set up the host:', error);
1886
+ }
1887
+ }, {
1888
+ key: "_updateRemoteUserRole",
1889
+ value: function _updateRemoteUserRole(userId, role) {
1890
+ this._userControl.updateRemoteUserRole(userId, role);
1738
1891
  }
1739
1892
  }, {
1740
1893
  key: "_setAsAttendee",
@@ -1749,32 +1902,32 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
1749
1902
  }, {
1750
1903
  key: "_moveToWaitingRoomByUserId",
1751
1904
  value: (function () {
1752
- var _moveToWaitingRoomByUserId2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee6(userId) {
1753
- var username, _t;
1754
- return _regenerator["default"].wrap(function (_context6) {
1755
- while (1) switch (_context6.prev = _context6.next) {
1905
+ var _moveToWaitingRoomByUserId2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee7(userId) {
1906
+ var username, _t2;
1907
+ return _regenerator["default"].wrap(function (_context7) {
1908
+ while (1) switch (_context7.prev = _context7.next) {
1756
1909
  case 0:
1757
1910
  if (!(!userId || typeof userId !== 'string')) {
1758
- _context6.next = 1;
1911
+ _context7.next = 1;
1759
1912
  break;
1760
1913
  }
1761
1914
  this.logger.warn('Invalid userId provided to _moveToWaitingRoomByUserId:', userId);
1762
- return _context6.abrupt("return");
1915
+ return _context7.abrupt("return");
1763
1916
  case 1:
1764
1917
  if (this._isUserExists(userId)) {
1765
- _context6.next = 2;
1918
+ _context7.next = 2;
1766
1919
  break;
1767
1920
  }
1768
1921
  this.logger.warn('User not found for move to waiting room operation:', userId);
1769
- return _context6.abrupt("return");
1922
+ return _context7.abrupt("return");
1770
1923
  case 2:
1771
1924
  username = this._getUserNameById(userId);
1772
- _context6.prev = 3;
1925
+ _context7.prev = 3;
1773
1926
  this.logger.info('Moving user to waiting room:', {
1774
1927
  userId: userId,
1775
1928
  username: username
1776
1929
  });
1777
- _context6.next = 4;
1930
+ _context7.next = 4;
1778
1931
  return this._roomControl.moveToWaitingRoomByUserIds([userId]);
1779
1932
  case 4:
1780
1933
  this._showToast((0, _i18n.transI18n)('fmt_waitingroom_put_in_success', {
@@ -1784,31 +1937,31 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
1784
1937
  userId: userId,
1785
1938
  username: username
1786
1939
  });
1787
- _context6.next = 7;
1940
+ _context7.next = 7;
1788
1941
  break;
1789
1942
  case 5:
1790
- _context6.prev = 5;
1791
- _t = _context6["catch"](3);
1943
+ _context7.prev = 5;
1944
+ _t2 = _context7["catch"](3);
1792
1945
  this.logger.error('Failed to move user to waiting room:', {
1793
1946
  userId: userId,
1794
1947
  username: username,
1795
- error: _t
1948
+ error: _t2
1796
1949
  });
1797
- if (!(_t instanceof _error.FcrError && _t.code === _constant.ErrorCode.FAILED_TO_MOVE_USER_TO_WAITING_ROOM)) {
1798
- _context6.next = 6;
1950
+ if (!(_t2 instanceof _error.FcrError && _t2.code === _constant.ErrorCode.FAILED_TO_MOVE_USER_TO_WAITING_ROOM)) {
1951
+ _context7.next = 6;
1799
1952
  break;
1800
1953
  }
1801
1954
  this._showToast((0, _i18n.transI18n)('fmt_waitingroom_setting_popup_toast_unable_move_creator'), 'error');
1802
- return _context6.abrupt("return");
1955
+ return _context7.abrupt("return");
1803
1956
  case 6:
1804
1957
  this._showToast((0, _i18n.transI18n)('fmt_waitingroom_setting_popup_toast_move_in_failed'), 'error');
1805
1958
  case 7:
1806
1959
  case "end":
1807
- return _context6.stop();
1960
+ return _context7.stop();
1808
1961
  }
1809
- }, _callee6, this, [[3, 5]]);
1962
+ }, _callee7, this, [[3, 5]]);
1810
1963
  }));
1811
- function _moveToWaitingRoomByUserId(_x2) {
1964
+ function _moveToWaitingRoomByUserId(_x4) {
1812
1965
  return _moveToWaitingRoomByUserId2.apply(this, arguments);
1813
1966
  }
1814
1967
  return _moveToWaitingRoomByUserId;
@@ -1884,8 +2037,8 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
1884
2037
  }, {
1885
2038
  key: "_getUserNameById",
1886
2039
  value: function _getUserNameById(userId) {
1887
- var _this$userMap$get3;
1888
- return ((_this$userMap$get3 = this.userMap.get(userId)) === null || _this$userMap$get3 === void 0 ? void 0 : _this$userMap$get3.userInfo.userName) || '';
2040
+ var _this$userMap$get4;
2041
+ return ((_this$userMap$get4 = this.userMap.get(userId)) === null || _this$userMap$get4 === void 0 ? void 0 : _this$userMap$get4.userInfo.userName) || '';
1889
2042
  }
1890
2043
 
1891
2044
  /**
@@ -1897,14 +2050,14 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
1897
2050
  }, {
1898
2051
  key: "_createMainRoomKickOutDialogConfig",
1899
2052
  value: function _createMainRoomKickOutDialogConfig(userId, userName) {
1900
- var _this16 = this;
2053
+ var _this18 = this;
1901
2054
  return {
1902
2055
  title: '',
1903
2056
  content: (0, _i18n.transI18n)('fmt_uimanager_tips_Remove', {
1904
2057
  reason2: userName
1905
2058
  }),
1906
2059
  onOk: function onOk() {
1907
- _this16._executeKickOut(userId, _type3.FcrUserKickedOutType.Once);
2060
+ _this18._executeKickOut(userId, _type3.FcrUserKickedOutType.Once);
1908
2061
  },
1909
2062
  alignCenter: true,
1910
2063
  height: _struct.KICK_OUT_DIALOG_CONFIG.MAIN_ROOM.HEIGHT
@@ -1920,7 +2073,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
1920
2073
  }, {
1921
2074
  key: "_createWaitingRoomKickOutDialogConfig",
1922
2075
  value: function _createWaitingRoomKickOutDialogConfig(userId, userName) {
1923
- var _this17 = this;
2076
+ var _this19 = this;
1924
2077
  return {
1925
2078
  userId: userId,
1926
2079
  type: _struct.KICK_OUT_DIALOG_CONFIG.WAITING_ROOM.TYPE,
@@ -1929,7 +2082,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
1929
2082
  reason1: userName
1930
2083
  }),
1931
2084
  onChecked: function onChecked(isChecked) {
1932
- _this17._isChecked[_struct.KICK_OUT_DIALOG_CONFIG.WAITING_ROOM.TYPE] = isChecked;
2085
+ _this19._isChecked[_struct.KICK_OUT_DIALOG_CONFIG.WAITING_ROOM.TYPE] = isChecked;
1933
2086
  }
1934
2087
  };
1935
2088
  }
@@ -2008,12 +2161,12 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
2008
2161
  }, {
2009
2162
  key: "_setupWaitingRoomUserCountListener",
2010
2163
  value: function _setupWaitingRoomUserCountListener() {
2011
- var _this18 = this;
2164
+ var _this20 = this;
2012
2165
  this._disposers.push((0, _mobx.reaction)(function () {
2013
- return _this18.waitingRoomUserCount;
2166
+ return _this20.waitingRoomUserCount;
2014
2167
  }, function (userCount) {
2015
- if (userCount === 0 && _this18.activeTab === _type5.FcrUIRoomType.WAITING_ROOM) {
2016
- _this18.handleActiveTab(_type5.FcrUIRoomType.MAIN_ROOM);
2168
+ if (userCount === 0 && _this20.activeTab === _type5.FcrUIRoomType.WAITING_ROOM) {
2169
+ _this20.handleActiveTab(_type5.FcrUIRoomType.MAIN_ROOM);
2017
2170
  }
2018
2171
  }));
2019
2172
  }
@@ -2131,7 +2284,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
2131
2284
  }, {
2132
2285
  key: "_showCameraRequestDialog",
2133
2286
  value: function _showCameraRequestDialog(session, sender) {
2134
- var _this19 = this;
2287
+ var _this21 = this;
2135
2288
  this.openConfirmDialog({
2136
2289
  height: 166,
2137
2290
  title: (0, _i18n.transI18n)('fmt_attendies_tips_apply_video_title', {
@@ -2142,11 +2295,11 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
2142
2295
  cancelText: (0, _i18n.transI18n)('fmt_additional_button_refuse'),
2143
2296
  closable: false,
2144
2297
  onOk: function onOk() {
2145
- _this19._peerSessionControl.acceptPeerSession(session);
2146
- _this19._deviceStreamStore.enableCameraWithPreCheck(true);
2298
+ _this21._peerSessionControl.acceptPeerSession(session);
2299
+ _this21._deviceStreamStore.enableCameraWithPreCheck(true);
2147
2300
  },
2148
2301
  onCancel: function onCancel() {
2149
- _this19._peerSessionControl.rejectPeerSession(session);
2302
+ _this21._peerSessionControl.rejectPeerSession(session);
2150
2303
  }
2151
2304
  }, _type2.FcrUISessionKey.REQUEST_OPEN_CAMERA);
2152
2305
  }
@@ -2159,7 +2312,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
2159
2312
  }, {
2160
2313
  key: "_showMicrophoneRequestDialog",
2161
2314
  value: function _showMicrophoneRequestDialog(session, sender) {
2162
- var _this20 = this;
2315
+ var _this22 = this;
2163
2316
  this.openConfirmDialog({
2164
2317
  title: (0, _i18n.transI18n)('fmt_attendies_tips_apply_audio_title', {
2165
2318
  reason1: (0, _i18n.transI18n)(_i18n2.userRoleI18nKey[sender.userRole])
@@ -2169,13 +2322,13 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
2169
2322
  cancelText: (0, _i18n.transI18n)('fmt_additional_options_Keepsilent'),
2170
2323
  closable: false,
2171
2324
  onOk: function onOk() {
2172
- _this20._processedUserOpenDeviceRequests["delete"](session.sessionId);
2173
- _this20._peerSessionControl.acceptPeerSession(session);
2174
- _this20._deviceStreamStore.enableMicrophoneWithPreCheck(true);
2325
+ _this22._processedUserOpenDeviceRequests["delete"](session.sessionId);
2326
+ _this22._peerSessionControl.acceptPeerSession(session);
2327
+ _this22._deviceStreamStore.enableMicrophoneWithPreCheck(true);
2175
2328
  },
2176
2329
  onCancel: function onCancel() {
2177
- _this20._processedUserOpenDeviceRequests["delete"](session.sessionId);
2178
- _this20._peerSessionControl.rejectPeerSession(session);
2330
+ _this22._processedUserOpenDeviceRequests["delete"](session.sessionId);
2331
+ _this22._peerSessionControl.rejectPeerSession(session);
2179
2332
  },
2180
2333
  height: 166
2181
2334
  }, _type2.FcrUISessionKey.REQUEST_OPEN_MICROPHONE);
@@ -2192,21 +2345,21 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
2192
2345
  }]);
2193
2346
  }();
2194
2347
  _ParticipantStoreBase = ParticipantStoreBase;
2195
- var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_ParticipantStoreBase, [[_mobx.observable, 1, "_operatorRenameUserName"], [_mobx.observable, 1, "_mainList"], [_mobx.observable, 1, "_isChecked"], [_mobx.observable, 1, "_participantsWindowActive"], [_mobx.observable, 1, "enableParticipantsJoinWithMute"], [_mobx.observable, 1, "searchText"], [_mobx.observable, 1, "currentModal"], [_mobx.observable, 1, "mergeConfirmDialog"], [_mobx.observable, 1, "mergeUserId"], [_mobx.observable, 1, "activeTab"], [_mobx.observable, 1, "interpreterInputLanguageList"], [_mobx.observable, 1, "newName"], [_mobx.observable, 1, "allowUnmute"], [_mobx.observable, 1, "joinWithMuteAudio"], [_mobx.observable, 1, "showBecomeHostButton"], [_mobx.computed, 3, "operatorRenameUserName"], [_mobx.computed, 3, "audioVolumeMap"], [_mobx.computed, 3, "userListSource"], [_mobx.computed, 3, "spotlightStreamId"], [_mobx.computed, 3, "mergeUserInfo"], [_mobx.computed, 3, "userMap"], [_mobx.computed, 3, "userCount"], [_mobx.computed, 3, "pinedStreamIds"], [_mobx.computed, 3, "hasPinnedStream"], [_mobx.computed, 3, "userList"], [_mobx.computed, 3, "localMicVolume"], [_mobx.computed, 3, "hasRevokeHostPermission"], [_mobx.computed, 3, "waitingRoomUserCount"], [_mobx.computed, 3, "isNewWaitingRoomUserEnter"], [_decorator.bound, 2, "hasMutePermission"], [_decorator.bound, 2, "hasWaitingRoomPermission"], [_decorator.bound, 2, "hasUnmutePermission"], [_decorator.bound, 2, "hasRequestStartAudioPermission"], [_setCurrentModalDecs, 18, "setCurrentModal"], [_decorator.bound, 2, "closeParticipantsAside"], [_decorator.bound, 2, "closeDialog"], [_setParticipantsWindowActiveDecs, 18, "setParticipantsWindowActive"], [_handlerSearchUserDecs, 18, "handlerSearchUser"], [_decorator.bound, 2, "onInvite"], [_decorator.bound, 2, "setMergeConfirmDialog"], [_decorator.bound, 2, "mergeConfirmDialogOk"], [_openRemoveAdmitWaitingRoomDialogDecs, 18, "openRemoveAdmitWaitingRoomDialog"], [_setAllowUnmuteDecs, 18, "setAllowUnmute"], [_setAllowJoinWithMuteAudioDecs, 18, "setAllowJoinWithMuteAudio"], [_openMuteAllDialogDecs, 18, "openMuteAllDialog"], [_handlerRoomControlActionDecs, 18, "handlerRoomControlAction"], [_decorator.bound, 2, "moveParticipantFromDialogToAside"], [_moveToMainRoomByUserIdsDecs, 18, "moveToMainRoomByUserIds"], [_kickOutWaitingRoomAllMemberDecs, 18, "kickOutWaitingRoomAllMember"], [_moveToMainRoomAllMemberDecs, 18, "moveToMainRoomAllMember"], [_removeWaitingRoomUserDecs, 18, "removeWaitingRoomUser"], [_decorator.bound, 2, "removePin"], [_decorator.bound, 2, "addPin"], [_decorator.bound, 2, "_getPinStreamIdFromUser"], [_handleConfirmChangeNameDecs, 18, "handleConfirmChangeName"], [_handleCancelChangeNameDecs, 18, "handleCancelChangeName"], [_closeChangeNameDialogDecs, 18, "_closeChangeNameDialog"], [_getOutputLanguageDecs, 18, "_getOutputLanguage"], [_handlerUserActionDecs, 18, "handlerUserAction"], [_handleActiveTabDecs, 18, "handleActiveTab"], [_moveToWaitingRoomByUserIdDecs, 18, "_moveToWaitingRoomByUserId"], [_kickOutUserDecs, 18, "_kickOutUser"], [_onPeerSessionReceivedDecs, 18, "_onPeerSessionReceived"], [_decorator.bound, 2, "_onPeerSessionAccepted"], [_decorator.bound, 2, "_onPeerSessionRejected"], [_decorator.bound, 2, "_handleEvent"]], []).e, 16);
2196
- _init__operatorRenameUserName = _applyDecs$e[0];
2197
- _init__mainList = _applyDecs$e[1];
2198
- _init__isChecked = _applyDecs$e[2];
2199
- _init__participantsWindowActive = _applyDecs$e[3];
2200
- _init_enableParticipantsJoinWithMute = _applyDecs$e[4];
2201
- _init_searchText = _applyDecs$e[5];
2202
- _init_currentModal = _applyDecs$e[6];
2203
- _init_mergeConfirmDialog = _applyDecs$e[7];
2204
- _init_mergeUserId = _applyDecs$e[8];
2205
- _init_activeTab = _applyDecs$e[9];
2206
- _init_interpreterInputLanguageList = _applyDecs$e[10];
2207
- _init_newName = _applyDecs$e[11];
2208
- _init_allowUnmute = _applyDecs$e[12];
2209
- _init_joinWithMuteAudio = _applyDecs$e[13];
2210
- _init_showBecomeHostButton = _applyDecs$e[14];
2348
+ var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_ParticipantStoreBase, [[_mobx.observable, 1, "_mainList"], [_mobx.observable, 1, "_isChecked"], [_mobx.observable, 1, "_participantsWindowActive"], [_mobx.observable, 1, "enableParticipantsJoinWithMute"], [_mobx.observable, 1, "searchText"], [_mobx.observable, 1, "currentModal"], [_mobx.observable, 1, "mergeConfirmDialog"], [_mobx.observable, 1, "mergeUserId"], [_mobx.observable, 1, "activeTab"], [_mobx.observable, 1, "interpreterInputLanguageList"], [_mobx.observable, 1, "newName"], [_mobx.observable, 1, "allowUnmute"], [_mobx.observable, 1, "joinWithMuteAudio"], [_mobx.observable, 1, "showBecomeHostButton"], [_mobx.observable, 1, "_userCount"], [_mobx.computed, 3, "audioVolumeMap"], [_mobx.computed, 3, "userListSource"], [_mobx.computed, 3, "spotlightStreamId"], [_mobx.computed, 3, "mergeUserInfo"], [_mobx.computed, 3, "userMap"], [_mobx.computed, 3, "userCount"], [_mobx.computed, 3, "pinedStreamIds"], [_mobx.computed, 3, "hasPinnedStream"], [_mobx.computed, 3, "userList"], [_mobx.computed, 3, "localMicVolume"], [_mobx.computed, 3, "hasRevokeHostPermission"], [_mobx.computed, 3, "waitingRoomUserCount"], [_mobx.computed, 3, "isNewWaitingRoomUserEnter"], [_decorator.bound, 2, "hasMutePermission"], [_decorator.bound, 2, "hasWaitingRoomPermission"], [_decorator.bound, 2, "hasUnmutePermission"], [_decorator.bound, 2, "hasRequestStartAudioPermission"], [_setCurrentModalDecs, 18, "setCurrentModal"], [_decorator.bound, 2, "closeParticipantsAside"], [_decorator.bound, 2, "closeDialog"], [_setParticipantsWindowActiveDecs, 18, "setParticipantsWindowActive"], [_handlerSearchUserDecs, 18, "handlerSearchUser"], [_decorator.bound, 2, "onInvite"], [_decorator.bound, 2, "setMergeConfirmDialog"], [_decorator.bound, 2, "mergeConfirmDialogOk"], [_openRemoveAdmitWaitingRoomDialogDecs, 18, "openRemoveAdmitWaitingRoomDialog"], [_setAllowUnmuteDecs, 18, "setAllowUnmute"], [_setAllowJoinWithMuteAudioDecs, 18, "setAllowJoinWithMuteAudio"], [_openMuteAllDialogDecs, 18, "openMuteAllDialog"], [_handlerRoomControlActionDecs, 18, "handlerRoomControlAction"], [_decorator.bound, 2, "moveParticipantFromDialogToAside"], [_moveToMainRoomByUserIdsDecs, 18, "moveToMainRoomByUserIds"], [_kickOutWaitingRoomAllMemberDecs, 18, "kickOutWaitingRoomAllMember"], [_moveToMainRoomAllMemberDecs, 18, "moveToMainRoomAllMember"], [_removeWaitingRoomUserDecs, 18, "removeWaitingRoomUser"], [_decorator.bound, 2, "removePin"], [_decorator.bound, 2, "addPin"], [_decorator.bound, 2, "_getPinStreamIdFromUser"], [_handleUserCountUpdatedDecs, 18, "_handleUserCountUpdated"], [_handleConfirmChangeNameDecs, 18, "handleConfirmChangeName"], [_handleCancelChangeNameDecs, 18, "handleCancelChangeName"], [_closeChangeNameDialogDecs, 18, "_closeChangeNameDialog"], [_getOutputLanguageDecs, 18, "_getOutputLanguage"], [_handlerUserActionDecs, 18, "handlerUserAction"], [_handleActiveTabDecs, 18, "handleActiveTab"], [_moveToWaitingRoomByUserIdDecs, 18, "_moveToWaitingRoomByUserId"], [_kickOutUserDecs, 18, "_kickOutUser"], [_onPeerSessionReceivedDecs, 18, "_onPeerSessionReceived"], [_decorator.bound, 2, "_onPeerSessionAccepted"], [_decorator.bound, 2, "_onPeerSessionRejected"], [_decorator.bound, 2, "_handleEvent"]], []).e, 16);
2349
+ _init__mainList = _applyDecs$e[0];
2350
+ _init__isChecked = _applyDecs$e[1];
2351
+ _init__participantsWindowActive = _applyDecs$e[2];
2352
+ _init_enableParticipantsJoinWithMute = _applyDecs$e[3];
2353
+ _init_searchText = _applyDecs$e[4];
2354
+ _init_currentModal = _applyDecs$e[5];
2355
+ _init_mergeConfirmDialog = _applyDecs$e[6];
2356
+ _init_mergeUserId = _applyDecs$e[7];
2357
+ _init_activeTab = _applyDecs$e[8];
2358
+ _init_interpreterInputLanguageList = _applyDecs$e[9];
2359
+ _init_newName = _applyDecs$e[10];
2360
+ _init_allowUnmute = _applyDecs$e[11];
2361
+ _init_joinWithMuteAudio = _applyDecs$e[12];
2362
+ _init_showBecomeHostButton = _applyDecs$e[13];
2363
+ _init__userCount = _applyDecs$e[14];
2211
2364
  _initProto = _applyDecs$e[15];
2212
2365
  var StoreContext = exports.StoreContext = /*#__PURE__*/(0, _react.createContext)(null);