fcr-ui-scene 3.7.9-alpha → 3.8.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 (394) hide show
  1. package/lib/creator/index.d.ts +6 -3
  2. package/lib/creator/index.js +38 -20
  3. package/lib/creator/provider-initializer.browser.js +30 -2
  4. package/lib/creator/provider-initializer.electron.js +34 -6
  5. package/lib/electron/app.js +0 -1
  6. package/lib/electron/bootstrap-sdk.d.ts +3 -1
  7. package/lib/electron/bootstrap-sdk.js +93 -375
  8. package/lib/electron/exit-codes.d.ts +6 -1
  9. package/lib/electron/exit-codes.js +5 -0
  10. package/lib/electron/injections.d.ts +10 -4
  11. package/lib/electron/injections.js +116 -74
  12. package/lib/electron/ipc/ipc.js +13 -11
  13. package/lib/electron/ipc/type.d.ts +3 -1
  14. package/lib/electron/ipc/type.js +2 -0
  15. package/lib/electron/main.js +3 -1
  16. package/lib/electron/preload.js +2 -1
  17. package/lib/electron/process-manager/constants.d.ts +1 -0
  18. package/lib/electron/process-manager/constants.js +8 -0
  19. package/lib/electron/{event-manager.d.ts → process-manager/event-manager.d.ts} +3 -4
  20. package/lib/electron/{event-manager.js → process-manager/event-manager.js} +38 -30
  21. package/lib/electron/process-manager/index.d.ts +179 -0
  22. package/lib/electron/process-manager/index.js +848 -0
  23. package/lib/electron/process-manager/state-manager.d.ts +135 -0
  24. package/lib/electron/process-manager/state-manager.js +358 -0
  25. package/lib/electron/process-manager/types.d.ts +80 -0
  26. package/lib/electron/process-manager/types.js +79 -0
  27. package/lib/electron/sdk-helper.d.ts +4 -0
  28. package/lib/electron/sdk-helper.js +39 -2
  29. package/lib/fragments/annotation/libs.d.ts +1 -1
  30. package/lib/fragments/annotation/libs.js +12 -12
  31. package/lib/fragments/annotation/store.d.ts +1 -1
  32. package/lib/fragments/annotation/toolbar/components/graphic-tool/graphic-panel/libs.d.ts +1 -1
  33. package/lib/fragments/annotation/toolbar/components/graphic-tool/graphic-panel/libs.js +21 -21
  34. package/lib/fragments/annotation/toolbar/components/pen-tool/index.js +3 -3
  35. package/lib/fragments/annotation/toolbar/store.d.ts +1 -1
  36. package/lib/fragments/annotation/toolbar/store.js +10 -10
  37. package/lib/fragments/annotation/toolbar/view.js +7 -7
  38. package/lib/fragments/whiteboard/store.d.ts +2 -2
  39. package/lib/fragments/whiteboard/store.js +28 -22
  40. package/lib/fragments/whiteboard/view.js +2 -2
  41. package/lib/index.d.ts +1 -1
  42. package/lib/index.js +2 -2
  43. package/lib/modules/action-bar/components/apps/index.js +1 -37
  44. package/lib/modules/action-bar/components/collapse/index.d.ts +2 -1
  45. package/lib/modules/action-bar/components/collapse/index.js +11 -2
  46. package/lib/modules/action-bar/components/item/index.js +2 -2
  47. package/lib/modules/action-bar/components/screen-share/index.browser.js +21 -14
  48. package/lib/modules/action-bar/components/screen-share/index.electron.js +38 -24
  49. package/lib/modules/action-bar/components/screen-share/submenu.js +6 -5
  50. package/lib/modules/action-bar/components/security/index.js +2 -2
  51. package/lib/modules/action-bar/index.css +26 -0
  52. package/lib/modules/action-bar/main-scene/store.base.d.ts +6 -4
  53. package/lib/modules/action-bar/main-scene/store.base.js +41 -46
  54. package/lib/modules/action-bar/type.d.ts +0 -10
  55. package/lib/modules/audio-stream/index.d.ts +1 -1
  56. package/lib/modules/audio-stream/index.js +22 -8
  57. package/lib/modules/caption/draggable-container/index.css +10 -0
  58. package/lib/modules/caption/draggable-container/index.d.ts +4 -0
  59. package/lib/modules/caption/draggable-container/index.js +167 -0
  60. package/lib/modules/caption/index.d.ts +10 -0
  61. package/lib/modules/caption/index.js +127 -0
  62. package/lib/modules/caption/store.d.ts +53 -0
  63. package/lib/modules/caption/store.js +358 -0
  64. package/lib/modules/caption/type.d.ts +13 -0
  65. package/lib/modules/caption/type.js +14 -0
  66. package/lib/modules/caption/view.css +158 -0
  67. package/lib/modules/caption/view.d.ts +4 -0
  68. package/lib/modules/caption/view.js +281 -0
  69. package/lib/modules/chat/chat-room-store.d.ts +1 -1
  70. package/lib/modules/chat/chat-room-store.js +6 -6
  71. package/lib/modules/chat/components/message-list/message-item/index.js +60 -18
  72. package/lib/modules/chat/index.css +7 -0
  73. package/lib/modules/chat/store.d.ts +1 -0
  74. package/lib/modules/chat/store.js +3 -3
  75. package/lib/modules/components/apps/app-item/index.css +16 -1
  76. package/lib/modules/components/apps/app-item/index.js +102 -35
  77. package/lib/modules/components/apps/app-list.js +17 -1
  78. package/lib/modules/components/apps/types.d.ts +11 -1
  79. package/lib/modules/components/caption-menu/index.css +58 -0
  80. package/lib/modules/components/caption-menu/index.d.ts +43 -0
  81. package/lib/modules/components/caption-menu/index.js +115 -0
  82. package/lib/modules/components/caption-menu/participants-privilege-control-options.d.ts +2 -0
  83. package/lib/modules/components/caption-menu/participants-privilege-control-options.js +73 -0
  84. package/lib/modules/components/caption-menu/steps/index.css +73 -0
  85. package/lib/modules/components/caption-menu/steps/index.d.ts +11 -0
  86. package/lib/modules/components/caption-menu/steps/index.js +56 -0
  87. package/lib/modules/components/caption-menu/translation-setting-options.d.ts +17 -0
  88. package/lib/modules/components/caption-menu/translation-setting-options.js +188 -0
  89. package/lib/modules/components/control-bar/index.d.ts +3 -3
  90. package/lib/modules/components/control-bar/index.js +10 -10
  91. package/lib/modules/components/device-control/components/audio-menu/index.js +17 -0
  92. package/lib/modules/components/device-control/components/carmera/index.js +3 -0
  93. package/lib/modules/components/device-control/components/microphone/index.js +4 -1
  94. package/lib/modules/components/device-control/index.css +12 -4
  95. package/lib/modules/components/device-control/store.base.d.ts +1 -0
  96. package/lib/modules/components/device-control/store.base.js +2 -0
  97. package/lib/modules/components/security-menu/index.js +147 -65
  98. package/lib/modules/components/security-menu/store.d.ts +15 -0
  99. package/lib/modules/components/security-menu/store.js +78 -16
  100. package/lib/modules/components/toolbar/components/clean-tool/index.d.ts +1 -1
  101. package/lib/modules/components/toolbar/components/clean-tool/index.js +4 -4
  102. package/lib/modules/components/toolbar/components/color-tool/index.d.ts +1 -1
  103. package/lib/modules/components/toolbar/components/graphic-tool/graphic-panel/index.d.ts +1 -1
  104. package/lib/modules/components/toolbar/components/graphic-tool/graphic-panel/libs.d.ts +1 -1
  105. package/lib/modules/components/toolbar/components/graphic-tool/graphic-panel/libs.js +21 -21
  106. package/lib/modules/components/toolbar/components/graphic-tool/index.d.ts +1 -1
  107. package/lib/modules/components/toolbar/components/multiple-color-tool/index.d.ts +1 -1
  108. package/lib/modules/components/toolbar/components/pen-tool/index.d.ts +1 -1
  109. package/lib/modules/components/toolbar/components/pen-tool/index.js +3 -3
  110. package/lib/modules/components/toolbar/index.d.ts +2 -2
  111. package/lib/modules/components/toolbar/index.js +35 -34
  112. package/lib/modules/components/toolbar/style.css +1 -1
  113. package/lib/modules/components/toolbar/types.d.ts +1 -1
  114. package/lib/modules/connection-gateway/store.d.ts +1 -0
  115. package/lib/modules/connection-gateway/store.js +5 -0
  116. package/lib/modules/control-bar/components/apps-popover/index.d.ts +3 -0
  117. package/lib/modules/control-bar/components/apps-popover/index.js +41 -0
  118. package/lib/modules/control-bar/components/carmera/index.js +7 -39
  119. package/lib/modules/control-bar/components/cloud-recording-buttons.js +18 -33
  120. package/lib/modules/control-bar/components/microphone/index.js +3 -43
  121. package/lib/modules/control-bar/components/more-actions/index.js +9 -1
  122. package/lib/modules/control-bar/components/share-audio/index.d.ts +2 -0
  123. package/lib/modules/control-bar/components/share-audio/index.js +4 -10
  124. package/lib/modules/control-bar/enums.d.ts +2 -1
  125. package/lib/modules/control-bar/enums.js +1 -0
  126. package/lib/modules/control-bar/hooks.d.ts +1 -0
  127. package/lib/modules/control-bar/hooks.js +140 -1
  128. package/lib/modules/control-bar/store.d.ts +9 -5
  129. package/lib/modules/control-bar/store.js +92 -41
  130. package/lib/modules/control-bar/type.d.ts +3 -0
  131. package/lib/modules/control-bar/view.js +46 -58
  132. package/lib/modules/dialog/components/confirm/index.js +0 -1
  133. package/lib/modules/dialog/components/dialog-container/component/body.d.ts +8 -0
  134. package/lib/modules/dialog/components/dialog-container/component/body.js +44 -5
  135. package/lib/modules/dialog/components/dialog-container/index.css +4 -1
  136. package/lib/modules/dialog/components/dialog-container/index.d.ts +1 -0
  137. package/lib/modules/dialog/components/dialog-container/index.js +8 -1
  138. package/lib/modules/dialog/components/normal-window/index.d.ts +1 -0
  139. package/lib/modules/dialog/components/normal-window/index.js +3 -1
  140. package/lib/modules/dialog/dialogs/caption/index.d.ts +21 -0
  141. package/lib/modules/dialog/dialogs/caption/index.js +42 -0
  142. package/lib/modules/dialog/dialogs/chat/components/actions.js +2 -2
  143. package/lib/modules/dialog/dialogs/confirm/index.js +1 -1
  144. package/lib/modules/dialog/dialogs/participant/components/actions.js +2 -2
  145. package/lib/modules/dialog/dialogs/subtitles-history/index.d.ts +27 -0
  146. package/lib/modules/dialog/dialogs/subtitles-history/index.js +51 -0
  147. package/lib/modules/dialog/store.base.d.ts +1 -1
  148. package/lib/modules/dialog/store.browser.d.ts +1 -1
  149. package/lib/modules/dialog/store.electron.d.ts +1 -3
  150. package/lib/modules/dialog/store.electron.js +0 -9
  151. package/lib/modules/event-sound/enum.d.ts +5 -0
  152. package/lib/modules/event-sound/enum.js +20 -0
  153. package/lib/modules/event-sound/index.d.ts +0 -10
  154. package/lib/modules/event-sound/index.js +1 -12
  155. package/lib/modules/event-sound/store.d.ts +2 -2
  156. package/lib/modules/event-sound/store.js +21 -22
  157. package/lib/modules/event-toast/index.js +7 -1
  158. package/lib/modules/interpreter/store.js +4 -2
  159. package/lib/modules/layout/components/Aside.d.ts +2 -1
  160. package/lib/modules/layout/components/Aside.js +97 -58
  161. package/lib/modules/layout/components/CommonVideoRenderer.js +1 -2
  162. package/lib/modules/layout/components/index.css +15 -2
  163. package/lib/modules/layout/store.base.d.ts +12 -1
  164. package/lib/modules/layout/store.base.js +149 -54
  165. package/lib/modules/layout/store.electron.js +7 -3
  166. package/lib/modules/layout/type.d.ts +4 -0
  167. package/lib/modules/layout/view.js +27 -5
  168. package/lib/modules/notification/index.css +4 -4
  169. package/lib/modules/notification/store.d.ts +5 -3
  170. package/lib/modules/notification/store.js +9 -2
  171. package/lib/modules/notification/view.d.ts +1 -0
  172. package/lib/modules/notification/view.js +33 -2
  173. package/lib/modules/participant/components/participants/components/footer/components/drop-menu/index.css +0 -1
  174. package/lib/modules/participant/components/participants/components/footer/index.js +1 -1
  175. package/lib/modules/participant/components/participants/components/render-user/components/attendee/index.js +2 -2
  176. package/lib/modules/participant/components/participants/components/render-user/components/user-action/index.d.ts +6 -1
  177. package/lib/modules/participant/components/participants/components/render-user/index.d.ts +1 -1
  178. package/lib/modules/participant/components/participants/index.js +13 -1
  179. package/lib/modules/participant/store.base.d.ts +1 -2
  180. package/lib/modules/participant/store.base.js +78 -81
  181. package/lib/modules/participant/type.d.ts +3 -1
  182. package/lib/modules/participant/type.js +2 -0
  183. package/lib/modules/pc-audio-connect/main-scene/store.d.ts +1 -0
  184. package/lib/modules/pc-audio-connect/main-scene/store.js +5 -0
  185. package/lib/modules/pc-audio-connect/waiting-scene/store.d.ts +2 -0
  186. package/lib/modules/pc-audio-connect/waiting-scene/store.js +10 -6
  187. package/lib/modules/phone-audio-connect/store.d.ts +1 -0
  188. package/lib/modules/phone-audio-connect/store.js +5 -0
  189. package/lib/modules/secondary-window/store.d.ts +1 -2
  190. package/lib/modules/secondary-window/store.js +22 -14
  191. package/lib/modules/secondary-window/type.d.ts +1 -1
  192. package/lib/modules/secondary-window/view.js +7 -8
  193. package/lib/modules/setting/audio-whiteList/audio-device-adaptation.d.ts +46 -0
  194. package/lib/modules/setting/audio-whiteList/audio-device-adaptation.js +70 -0
  195. package/lib/modules/setting/audio-whiteList/audio-whiteList-manager.d.ts +52 -0
  196. package/lib/modules/setting/audio-whiteList/audio-whiteList-manager.js +374 -0
  197. package/lib/modules/setting/caption_and_transcribing/index.css +88 -0
  198. package/lib/modules/setting/caption_and_transcribing/index.d.ts +3 -0
  199. package/lib/modules/setting/caption_and_transcribing/index.js +96 -0
  200. package/lib/modules/setting/general-settings/general-settings.d.ts +4 -0
  201. package/lib/modules/setting/general-settings/general-settings.js +3 -3
  202. package/lib/modules/setting/index.d.ts +1 -0
  203. package/lib/modules/setting/index.js +14 -9
  204. package/lib/modules/setting/state/index.js +5 -3
  205. package/lib/modules/setting/store.base.d.ts +33 -6
  206. package/lib/modules/setting/store.base.js +133 -32
  207. package/lib/modules/setting/store.browser.js +4 -9
  208. package/lib/modules/setting/store.electron.d.ts +11 -0
  209. package/lib/modules/setting/store.electron.js +106 -1
  210. package/lib/modules/setting/type.d.ts +2 -1
  211. package/lib/modules/setting/type.js +1 -0
  212. package/lib/modules/setting/video-settings/video-settings-basic.js +1 -7
  213. package/lib/modules/setting/view.js +12 -4
  214. package/lib/modules/share-screen/store.base.d.ts +1 -1
  215. package/lib/modules/share-screen/store.base.js +3 -0
  216. package/lib/modules/share-screen/store.electron.d.ts +3 -1
  217. package/lib/modules/share-screen/store.electron.js +158 -23
  218. package/lib/modules/state-bar/index.css +73 -2
  219. package/lib/modules/state-bar/main-scene/store.base.d.ts +2 -0
  220. package/lib/modules/state-bar/main-scene/store.base.js +7 -1
  221. package/lib/modules/state-bar/main-scene/store.browser.js +1 -1
  222. package/lib/modules/state-bar/main-scene/store.electron.js +1 -1
  223. package/lib/modules/state-bar/store.base.d.ts +5 -0
  224. package/lib/modules/state-bar/store.base.js +29 -2
  225. package/lib/modules/state-bar/subtitles-history-state.d.ts +7 -0
  226. package/lib/modules/state-bar/subtitles-history-state.js +108 -0
  227. package/lib/modules/state-bar/view.js +16 -1
  228. package/lib/modules/state-bar/waiting-scene/store.base.d.ts +1 -0
  229. package/lib/modules/state-bar/waiting-scene/store.base.js +5 -0
  230. package/lib/modules/subtitles-history/components/actions.d.ts +5 -0
  231. package/lib/modules/subtitles-history/components/actions.js +36 -0
  232. package/lib/modules/subtitles-history/components/list-item.d.ts +12 -0
  233. package/lib/modules/subtitles-history/components/list-item.js +102 -0
  234. package/lib/modules/subtitles-history/components/list.d.ts +10 -0
  235. package/lib/modules/subtitles-history/components/list.js +182 -0
  236. package/lib/modules/subtitles-history/components/respond-dialog-content.d.ts +5 -0
  237. package/lib/modules/subtitles-history/components/respond-dialog-content.js +44 -0
  238. package/lib/modules/subtitles-history/components/settings/index.css +5 -0
  239. package/lib/modules/subtitles-history/components/settings/index.d.ts +2 -0
  240. package/lib/modules/subtitles-history/components/settings/index.js +53 -0
  241. package/lib/modules/subtitles-history/components/timer.d.ts +3 -0
  242. package/lib/modules/subtitles-history/components/timer.js +44 -0
  243. package/lib/modules/subtitles-history/components/title.d.ts +1 -0
  244. package/lib/modules/subtitles-history/components/title.js +15 -0
  245. package/lib/modules/subtitles-history/empty.d.ts +2 -0
  246. package/lib/modules/subtitles-history/empty.js +22 -0
  247. package/lib/modules/subtitles-history/index.css +129 -0
  248. package/lib/modules/subtitles-history/index.d.ts +13 -0
  249. package/lib/modules/subtitles-history/index.js +107 -0
  250. package/lib/modules/subtitles-history/store.base.d.ts +76 -0
  251. package/lib/modules/subtitles-history/store.base.js +796 -0
  252. package/lib/modules/subtitles-history/store.electron.d.ts +15 -0
  253. package/lib/modules/subtitles-history/store.electron.js +154 -0
  254. package/lib/modules/subtitles-history/type.d.ts +4 -0
  255. package/lib/modules/subtitles-history/type.js +6 -0
  256. package/lib/modules/subtitles-history/view.d.ts +1 -0
  257. package/lib/modules/subtitles-history/view.js +104 -0
  258. package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/picker.js +2 -2
  259. package/lib/modules/whiteboard/components/toolbar/components/eraser-picker.js +5 -5
  260. package/lib/modules/whiteboard/components/toolbar/components/pen-picker.js +15 -15
  261. package/lib/modules/whiteboard/components/toolbar/components/shape-picker.js +21 -21
  262. package/lib/modules/whiteboard/components/toolbar/hooks/index.js +23 -21
  263. package/lib/modules/whiteboard/components/toolbar/store.d.ts +7 -6
  264. package/lib/modules/whiteboard/components/toolbar/store.js +14 -15
  265. package/lib/modules/whiteboard/store.d.ts +2 -3
  266. package/lib/modules/whiteboard/store.electron.d.ts +2 -0
  267. package/lib/modules/whiteboard/store.electron.js +35 -0
  268. package/lib/modules/whiteboard/store.js +14 -2
  269. package/lib/modules/whiteboard/type.d.ts +0 -35
  270. package/lib/modules/whiteboard/type.js +1 -26
  271. package/lib/modules/widget/type.d.ts +3 -66
  272. package/lib/object-manager.d.ts +3 -1
  273. package/lib/object-manager.js +2 -0
  274. package/lib/providers/ability-provider.d.ts +24 -0
  275. package/lib/providers/ability-provider.js +21 -0
  276. package/lib/providers/app-list-provider.d.ts +90 -4
  277. package/lib/providers/app-list-provider.js +157 -13
  278. package/lib/providers/board-share/bar-control/base.d.ts +4 -5
  279. package/lib/providers/board-share/bar-control/base.js +4 -4
  280. package/lib/providers/board-share/bar-control/browser.d.ts +2 -2
  281. package/lib/providers/board-share/bar-control/electron.d.ts +4 -5
  282. package/lib/providers/board-share/bar-control/electron.js +2 -0
  283. package/lib/providers/board-share/provider.base.d.ts +6 -6
  284. package/lib/providers/board-share/provider.base.js +20 -3
  285. package/lib/providers/board-share/provider.browser.js +2 -2
  286. package/lib/providers/board-share/provider.electron.js +1 -2
  287. package/lib/providers/board-share/type.d.ts +1 -2
  288. package/lib/providers/device-provider.d.ts +15 -5
  289. package/lib/providers/device-provider.js +199 -145
  290. package/lib/providers/dialog/provider.base.js +1 -1
  291. package/lib/providers/dialog/provider.electron.js +3 -0
  292. package/lib/providers/interpreter-provider.js +4 -9
  293. package/lib/providers/multi-display-provider.d.ts +1 -1
  294. package/lib/providers/privilege-provider.d.ts +241 -139
  295. package/lib/providers/privilege-provider.js +577 -318
  296. package/lib/providers/room-provider/waiting-room-control-manager.d.ts +1 -1
  297. package/lib/providers/screen-share/constant.d.ts +1 -0
  298. package/lib/providers/screen-share/constant.js +8 -0
  299. package/lib/providers/screen-share/provider.base.d.ts +9 -7
  300. package/lib/providers/screen-share/provider.base.js +20 -27
  301. package/lib/providers/screen-share/provider.browser.js +14 -18
  302. package/lib/providers/screen-share/provider.electron.d.ts +3 -0
  303. package/lib/providers/screen-share/provider.electron.js +66 -25
  304. package/lib/providers/screen-share/strategy/electron.d.ts +2 -1
  305. package/lib/providers/screen-share/strategy/electron.js +64 -56
  306. package/lib/providers/screen-share/strategy/type.d.ts +2 -2
  307. package/lib/providers/screen-share/stream-state-sync.js +5 -3
  308. package/lib/providers/screen-share/struct.d.ts +14 -4
  309. package/lib/providers/screen-share/struct.js +16 -5
  310. package/lib/providers/screen-share/type.d.ts +16 -2
  311. package/lib/providers/stt-provider/stt-provider.d.ts +88 -0
  312. package/lib/providers/stt-provider/stt-provider.js +1007 -0
  313. package/lib/providers/stt-provider/type.d.ts +160 -0
  314. package/lib/providers/stt-provider/type.js +19 -0
  315. package/lib/providers/window/main-window.d.ts +1 -0
  316. package/lib/providers/window/main-window.js +6 -1
  317. package/lib/providers/window/renderer-window.d.ts +4 -0
  318. package/lib/providers/window/renderer-window.js +19 -1
  319. package/lib/providers/window/type.d.ts +4 -0
  320. package/lib/runtime.d.ts +8 -7
  321. package/lib/runtime.js +1 -2
  322. package/lib/scenes/main-scene.js +112 -66
  323. package/lib/schema.d.ts +70 -8
  324. package/lib/schema.js +7 -2
  325. package/lib/shared-data/app-list-data.d.ts +4 -0
  326. package/lib/shared-data/app-list-data.js +21 -1
  327. package/lib/shared-data/config.d.ts +5 -1
  328. package/lib/shared-data/layout-data.d.ts +5 -0
  329. package/lib/shared-data/layout-data.js +35 -9
  330. package/lib/shared-data/member-data.d.ts +2 -3
  331. package/lib/shared-data/screen-share/index.d.ts +0 -2
  332. package/lib/shared-data/screen-share/index.js +20 -36
  333. package/lib/shared-data/screen-share/type.d.ts +0 -8
  334. package/lib/shared-data/security-data.d.ts +4 -0
  335. package/lib/shared-data/security-data.js +14 -10
  336. package/lib/shared-data/setting.d.ts +16 -1
  337. package/lib/shared-data/setting.js +33 -6
  338. package/lib/shared-data/stt-setting.ts/constant.d.ts +29 -0
  339. package/lib/shared-data/stt-setting.ts/constant.js +35 -0
  340. package/lib/shared-data/stt-setting.ts/index.d.ts +67 -0
  341. package/lib/shared-data/stt-setting.ts/index.js +202 -0
  342. package/lib/shared-data/stt-setting.ts/type.d.ts +10 -0
  343. package/lib/shared-data/stt-setting.ts/type.js +14 -0
  344. package/lib/shared-data/video-window.d.ts +1 -2
  345. package/lib/shared-data/video-window.js +20 -32
  346. package/lib/translations/enUS.d.ts +9 -0
  347. package/lib/translations/enUS.js +21 -4
  348. package/lib/translations/zhCN.d.ts +9 -0
  349. package/lib/translations/zhCN.js +21 -4
  350. package/lib/type.d.ts +20 -15
  351. package/lib/type.js +1 -0
  352. package/lib/{ui-scene.d.ts → ui-scene-switch.d.ts} +1 -1
  353. package/lib/{ui-scene.js → ui-scene-switch.js} +29 -9
  354. package/lib/utilities/constant.d.ts +6 -2
  355. package/lib/utilities/constant.js +5 -1
  356. package/lib/utilities/default-config.d.ts +3 -3
  357. package/lib/utilities/default-config.js +7 -17
  358. package/lib/utilities/focus-helper.js +18 -11
  359. package/lib/utilities/renderer.d.ts +4 -6
  360. package/lib/utilities/renderer.js +10 -4
  361. package/lib/utilities/tools.d.ts +1 -0
  362. package/lib/utilities/tools.js +6 -1
  363. package/lib/utilities/ui-resources.d.ts +9 -2
  364. package/lib/utilities/ui-resources.js +36 -12
  365. package/package.json +13 -8
  366. package/public/index.html +1 -0
  367. package/public/meeting-manager.js +23 -9
  368. package/installer/icons/favicon.ico +0 -0
  369. package/installer/icons/favicon.png +0 -0
  370. package/installer/icons/icon.png +0 -0
  371. package/installer/mac/entitlements.mac.plist +0 -16
  372. package/lib/modules/participant/components/participants/components/footer/components/footer/index.css +0 -17
  373. package/lib/modules/participant/components/participants/components/footer/components/footer/index.d.ts +0 -5
  374. package/lib/modules/participant/components/participants/components/footer/components/footer/index.js +0 -242
  375. package/lib/modules/participant/components/participants/components/participants/components/attendee/index.css +0 -192
  376. package/lib/modules/participant/components/participants/components/participants/components/attendee/index.d.ts +0 -4
  377. package/lib/modules/participant/components/participants/components/participants/components/attendee/index.js +0 -206
  378. package/lib/modules/participant/components/participants/components/participants/components/participants-more/index.css +0 -57
  379. package/lib/modules/participant/components/participants/components/participants/components/participants-more/index.d.ts +0 -5
  380. package/lib/modules/participant/components/participants/components/participants/components/participants-more/index.js +0 -229
  381. package/lib/modules/participant/components/participants/components/participants/components/user-row/index.d.ts +0 -5
  382. package/lib/modules/participant/components/participants/components/participants/components/user-row/index.js +0 -68
  383. package/lib/modules/participant/components/participants/components/participants/index.css +0 -105
  384. package/lib/modules/participant/components/participants/components/participants/index.d.ts +0 -3
  385. package/lib/modules/participant/components/participants/components/participants/index.js +0 -117
  386. package/lib/modules/participant/components/participants/types.d.ts +0 -101
  387. package/lib/modules/participant/components/participants/types.js +0 -37
  388. package/lib/modules/setting/config.d.ts +0 -36
  389. package/lib/modules/setting/config.js +0 -36
  390. package/lib/modules/widget/sdk.d.ts +0 -30
  391. package/lib/modules/widget/sdk.js +0 -224
  392. package/lib/widget-sdk.d.ts +0 -2
  393. package/lib/widget-sdk.js +0 -13
  394. /package/public/assets/electron/sound_effects/{pretest.mp3 → speakerTest.mp3} +0 -0
@@ -0,0 +1,188 @@
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.useTranslationSettingOptions = exports.useTranslateLanguageOptions = exports.SourceLanguageMapGenerateI18nKey = exports.FcrUICaptionMenuType = void 0;
9
+ require("core-js/modules/es.array.concat.js");
10
+ require("core-js/modules/es.array.map.js");
11
+ require("core-js/modules/es.function.name.js");
12
+ require("core-js/modules/es.object.to-string.js");
13
+ require("core-js/modules/esnext.iterator.constructor.js");
14
+ require("core-js/modules/esnext.iterator.map.js");
15
+ var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
16
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
17
+ var _checkbox = require("agora-ui-foundation/lib/components/checkbox");
18
+ var _switch = require("agora-ui-foundation/lib/components/switch");
19
+ var _type = require("fcr-core/lib/type");
20
+ var _react = require("react");
21
+ var _ = require(".");
22
+ var _type2 = require("../../../shared-data/stt-setting.ts/type");
23
+ var _useLanguageConfig = require("../../interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig");
24
+ var _i18n = require("agora-ui-foundation/lib/i18n");
25
+ var _jsxRuntime = require("react/jsx-runtime");
26
+ var SourceLanguageMapGenerateI18nKey = exports.SourceLanguageMapGenerateI18nKey = (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])({}, _type.FcrLanguage.ZH, 'fmt_ai_subtitles_source_language_options_chinese'), _type.FcrLanguage.EN, 'fmt_ai_subtitles_source_language_options_english'), _type.FcrLanguage.JP, 'fmt_ai_subtitles_source_language_options_japanese');
27
+ var FcrUICaptionMenuType = exports.FcrUICaptionMenuType = /*#__PURE__*/function (FcrUICaptionMenuType) {
28
+ FcrUICaptionMenuType["CAPTION"] = "caption";
29
+ FcrUICaptionMenuType["TRANSCRIBING"] = "transcribing";
30
+ return FcrUICaptionMenuType;
31
+ }({});
32
+ var useTranslateLanguageOptions = exports.useTranslateLanguageOptions = function useTranslateLanguageOptions(languageOptions) {
33
+ var getLanguageConfig = (0, _useLanguageConfig.useLanguageConfig)();
34
+ var t = (0, _i18n.useI18n)();
35
+ var translateLanguageOptions = languageOptions.translateList.map(function (language) {
36
+ var languageConfig = getLanguageConfig(language);
37
+ var text = languageConfig.name;
38
+ if (language === _type.FcrLanguage.ZH) {
39
+ text = t('fmt_ai_subtitles_setting_options_chinese');
40
+ } else if (language === _type.FcrLanguage.EN) {
41
+ text = t('fmt_ai_subtitles_setting_options_english');
42
+ } else if (language === _type.FcrLanguage.JP) {
43
+ text = t('fmt_ai_subtitles_setting_options_japanese');
44
+ }
45
+ return {
46
+ text: text,
47
+ value: language
48
+ };
49
+ });
50
+ return [{
51
+ text: t('fmt_ai_subtitles_setting_options_not_translated'),
52
+ value: _type2.NONE
53
+ }].concat((0, _toConsumableArray2["default"])(translateLanguageOptions));
54
+ };
55
+ var useSourceLanguageMenuOptions = function useSourceLanguageMenuOptions() {
56
+ var _useContext = (0, _react.useContext)(_.CaptionMenuContext),
57
+ languageOptions = _useContext.languageOptions,
58
+ updateSourceLanguage = _useContext.updateSourceLanguage,
59
+ sourceLanguage = _useContext.sourceLanguage;
60
+ var getLanguageConfig = (0, _useLanguageConfig.useLanguageConfig)();
61
+ var transI18n = (0, _i18n.useI18n)();
62
+ var sourceLanguageOptions = languageOptions.sourceList.map(function (language) {
63
+ var languageConfig = getLanguageConfig(language);
64
+ var name = SourceLanguageMapGenerateI18nKey[language] ? transI18n(SourceLanguageMapGenerateI18nKey[language]) : languageConfig.name;
65
+ return {
66
+ key: language,
67
+ title: /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
68
+ label: name,
69
+ styleType: "white",
70
+ checked: sourceLanguage === language,
71
+ checkIconAlignRight: true
72
+ }),
73
+ onButtonClick: function onButtonClick() {
74
+ updateSourceLanguage(language);
75
+ }
76
+ };
77
+ });
78
+ return [{
79
+ type: 'title',
80
+ title: transI18n('fmt_ai_subtitles_setting_label_source_language'),
81
+ key: 'source_language_title',
82
+ onButtonClick: function onButtonClick(e) {
83
+ e.stopPropagation();
84
+ e.preventDefault();
85
+ }
86
+ }, _.line].concat((0, _toConsumableArray2["default"])(sourceLanguageOptions));
87
+ };
88
+ var useTranslationMenuOptions = function useTranslationMenuOptions() {
89
+ var _useContext2 = (0, _react.useContext)(_.CaptionMenuContext),
90
+ languageOptions = _useContext2.languageOptions,
91
+ subscribeTranslateLanguage = _useContext2.subscribeTranslateLanguage,
92
+ translateLanguage = _useContext2.translateLanguage;
93
+ var transI18n = (0, _i18n.useI18n)();
94
+ var translateLanguageOptions = useTranslateLanguageOptions(languageOptions);
95
+ var translationLanguageOptions = translateLanguageOptions.map(function (item) {
96
+ var language = translateLanguage === null ? _type2.NONE : translateLanguage;
97
+ return {
98
+ title: /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
99
+ label: item.text,
100
+ styleType: "white",
101
+ checked: language === item.value
102
+ }),
103
+ key: item.value,
104
+ onButtonClick: function onButtonClick(e) {
105
+ e.stopPropagation();
106
+ e.preventDefault();
107
+ var value = item.value === _type2.NONE ? null : item.value;
108
+ subscribeTranslateLanguage(value);
109
+ }
110
+ };
111
+ });
112
+ return [{
113
+ title: transI18n('fmt_ai_subtitles_setting_label_translation_setting'),
114
+ key: 'traslation_settings_title',
115
+ type: 'title',
116
+ onButtonClick: function onButtonClick(e) {
117
+ e.stopPropagation();
118
+ e.preventDefault();
119
+ }
120
+ }, _.line].concat((0, _toConsumableArray2["default"])(translationLanguageOptions));
121
+ };
122
+ var useTranslationSettingOptions = exports.useTranslationSettingOptions = function useTranslationSettingOptions() {
123
+ var _useContext3 = (0, _react.useContext)(_.CaptionMenuContext),
124
+ isTwoLineCaptionEnabled = _useContext3.isTwoLineCaptionEnabled,
125
+ toggleTwoLineCaptionEnabled = _useContext3.toggleTwoLineCaptionEnabled,
126
+ _useContext3$menuType = _useContext3.menuType,
127
+ menuType = _useContext3$menuType === void 0 ? FcrUICaptionMenuType.CAPTION : _useContext3$menuType,
128
+ isTwoLineTranscribingEnabled = _useContext3.isTwoLineTranscribingEnabled,
129
+ toggleTwoLineTranscribingEnabled = _useContext3.toggleTwoLineTranscribingEnabled,
130
+ hasSetSourceLanguagePermission = _useContext3.hasSetSourceLanguagePermission,
131
+ isSourceLanguageVisible = _useContext3.isSourceLanguageVisible,
132
+ setIsSourceLanguageVisible = _useContext3.setIsSourceLanguageVisible,
133
+ isTranslationVisible = _useContext3.isTranslationVisible,
134
+ setIsTranslationVisible = _useContext3.setIsTranslationVisible;
135
+ var transI18n = (0, _i18n.useI18n)();
136
+ var sourceLanguageOptions = useSourceLanguageMenuOptions();
137
+ var translationLanguageOptions = useTranslationMenuOptions();
138
+ var twoLineProps = menuType === FcrUICaptionMenuType.CAPTION ? {
139
+ value: isTwoLineCaptionEnabled,
140
+ onChange: toggleTwoLineCaptionEnabled
141
+ } : {
142
+ value: isTwoLineTranscribingEnabled,
143
+ onChange: toggleTwoLineTranscribingEnabled
144
+ };
145
+ return [{
146
+ key: 'translate_settings_title',
147
+ title: transI18n('fmt_ai_subtitles_setting_label_translation_setting'),
148
+ type: 'title'
149
+ }, {
150
+ title: transI18n('fmt_ai_subtitles_setting_label_source_language'),
151
+ key: 'source_language',
152
+ options: sourceLanguageOptions,
153
+ disabled: !hasSetSourceLanguagePermission,
154
+ onButtonClick: function onButtonClick(e) {
155
+ e.stopPropagation();
156
+ e.preventDefault();
157
+ setIsSourceLanguageVisible(true);
158
+ setIsTranslationVisible(false);
159
+ },
160
+ visible: isSourceLanguageVisible
161
+ }, {
162
+ title: transI18n('fmt_ai_subtitles_setting_label_translations_display'),
163
+ key: 'translate_display',
164
+ options: translationLanguageOptions,
165
+ onButtonClick: function onButtonClick(e) {
166
+ e.stopPropagation();
167
+ e.preventDefault();
168
+ setIsTranslationVisible(true);
169
+ setIsSourceLanguageVisible(false);
170
+ },
171
+ visible: isTranslationVisible
172
+ }, _.line, {
173
+ key: 'two_line_caption_enabled',
174
+ title: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
175
+ className: "fcr-subtitles-menu-switch-container",
176
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
177
+ children: transI18n('fmt_ai_subtitles_setting_label_bilingual_display')
178
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_switch.FcrSwitch, {
179
+ labels: {
180
+ on: 'ON',
181
+ off: 'OFF'
182
+ },
183
+ value: twoLineProps.value,
184
+ onChange: twoLineProps.onChange
185
+ })]
186
+ })
187
+ }];
188
+ };
@@ -1,6 +1,6 @@
1
1
  import { PropsWithChildren } from 'react';
2
2
  import { WhiteboardThemeType } from '../../whiteboard/type';
3
- import { FcrBoardToolType } from 'fcr-core/lib/room-control/whiteboard-control/enums';
3
+ import { FcrBoardToolType } from 'fcr-core';
4
4
  import './index.css';
5
5
  type WhiteboardProps = {
6
6
  onClose: () => void;
@@ -17,12 +17,12 @@ type WhiteboardProps = {
17
17
  onAdaptive?: () => boolean;
18
18
  onOrigin?: () => boolean;
19
19
  onBoardDomLoaded?: (dom: HTMLDivElement) => void;
20
- isSharingWithAudio?: boolean;
20
+ isSharingAudio?: boolean;
21
21
  ownerUserName: string;
22
22
  isMyBoard: boolean;
23
23
  showControlBar?: boolean;
24
24
  };
25
25
  type PickRequired<T extends object, K extends keyof T> = Required<Pick<T, K>> & Omit<T, K>;
26
- type SharingType<T extends 'whiteboard' | 'screenshare' | undefined> = T extends 'whiteboard' ? WhiteboardProps : PickRequired<Partial<WhiteboardProps>, 'onZoomIn' | 'onZoomOut' | 'onAdaptive' | 'onOrigin' | 'isSharingWithAudio'>;
26
+ type SharingType<T extends 'whiteboard' | 'screenshare' | undefined> = T extends 'whiteboard' ? WhiteboardProps : PickRequired<Partial<WhiteboardProps>, 'onZoomIn' | 'onZoomOut' | 'onAdaptive' | 'onOrigin' | 'isSharingAudio'>;
27
27
  export declare const WhiteboardControlbar: <T extends "whiteboard" | "screenshare">(props: PropsWithChildren<SharingType<T>>) => import("react/jsx-runtime").JSX.Element;
28
28
  export {};
@@ -19,7 +19,7 @@ var _button = require("agora-ui-foundation/lib/components/button");
19
19
  var _divider = _interopRequireDefault(require("agora-ui-foundation/lib/components/divider"));
20
20
  var _i18n = require("agora-ui-foundation/lib/i18n");
21
21
  var _type2 = require("../../whiteboard/type");
22
- var _enums = require("fcr-core/lib/room-control/whiteboard-control/enums");
22
+ var _fcrCore = require("fcr-core");
23
23
  require("./index.css");
24
24
  var _debounce = _interopRequireDefault(require("lodash/debounce"));
25
25
  var _jsxRuntime = require("react/jsx-runtime");
@@ -44,7 +44,7 @@ var WhiteboardControlbar = exports.WhiteboardControlbar = function WhiteboardCon
44
44
  onZoomOut = props.onZoomOut,
45
45
  onAdaptive = props.onAdaptive,
46
46
  onOrigin = props.onOrigin,
47
- isSharingWithAudio = props.isSharingWithAudio,
47
+ isSharingAudio = props.isSharingAudio,
48
48
  _props$showControlBar = props.showControlBar,
49
49
  showControlBar = _props$showControlBar === void 0 ? true : _props$showControlBar;
50
50
  var boardRef = (0, _react.useRef)(undefined);
@@ -80,9 +80,9 @@ var WhiteboardControlbar = exports.WhiteboardControlbar = function WhiteboardCon
80
80
  _useState14 = (0, _slicedToArray2["default"])(_useState13, 2),
81
81
  contianHeight = _useState14[0],
82
82
  setContianHeight = _useState14[1];
83
- var isWhiteboard = sharingType === 'whiteboard';
83
+ var isSharingWhiteboard = sharingType === 'whiteboard';
84
84
  var cursor = (0, _react.useMemo)(function () {
85
- return _enums.FcrBoardToolType[currentTool || _enums.FcrBoardToolType.NONE].toLowerCase();
85
+ return _fcrCore.FcrBoardToolType[currentTool || _fcrCore.FcrBoardToolType.NONE].toLowerCase();
86
86
  }, [currentTool]);
87
87
  var resetHeight = (0, _react.useCallback)(function () {
88
88
  var _boardRef$current;
@@ -111,7 +111,7 @@ var WhiteboardControlbar = exports.WhiteboardControlbar = function WhiteboardCon
111
111
  boardRef.current.addEventListener('transitionend', resetHeight);
112
112
  }
113
113
  };
114
- var showEditButton = !controlEnabled && !isMyBoard && !isHost && isWhiteboard;
114
+ var showEditButton = !controlEnabled && !isMyBoard && !isHost && isSharingWhiteboard;
115
115
  var showChangeThemeButton = (canWriteBoard || isMyBoard || isHost) && setTheme && currentTheme;
116
116
  function setCanvasBound(oprate) {
117
117
  if (!Object.values(_type2.WhiteboardControlbarEvents).includes(oprate) || oprate === _type2.WhiteboardControlbarEvents.ENABLE_CONTROL) {
@@ -207,19 +207,19 @@ var WhiteboardControlbar = exports.WhiteboardControlbar = function WhiteboardCon
207
207
  className: "fcr-whiteboard-controlbar",
208
208
  id: "fcr-whiteboard-controlbar",
209
209
  style: {
210
- height: isWhiteboard ? '100%' : 'auto'
210
+ height: isSharingWhiteboard ? '100%' : 'auto'
211
211
  },
212
212
  children: [showControlBar && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
213
213
  className: "fcr-whiteboard-controlbar-header",
214
214
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
215
215
  className: "fcr-whiteboard-controlbar-left",
216
- children: transI18n(isWhiteboard ? 'fmt_screenshare_whiteboard_tips_someonesharing' : 'fmt_screenshare_room_new_screen_share', {
216
+ children: transI18n(isSharingWhiteboard ? 'fmt_screenshare_whiteboard_tips_someonesharing' : 'fmt_screenshare_room_new_screen_share', {
217
217
  reason1: isMyBoard ? transI18n('fmt_settings_labels_you') : ownerUserName
218
218
  })
219
219
  }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
220
220
  className: "fcr-whiteboard-controlbar-center",
221
- children: [!isWhiteboard && /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
222
- type: isSharingWithAudio ? _type.FcrIconType.FCR_DEVICEAUDIOON : _type.FcrIconType.FCR_DEVICEAUDIOOFF,
221
+ children: [!isSharingWhiteboard && /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
222
+ type: isSharingAudio ? _type.FcrIconType.FCR_DEVICEAUDIOON : _type.FcrIconType.FCR_DEVICEAUDIOOFF,
223
223
  size: 22,
224
224
  colors: {
225
225
  iconPrimary: 'var(--fcr_ui_scene_ramp_green6)'
@@ -335,7 +335,7 @@ var WhiteboardControlbar = exports.WhiteboardControlbar = function WhiteboardCon
335
335
  children: transI18n('fmt_screenshare_whiteboard_button_exitdrawing')
336
336
  })]
337
337
  })]
338
- }), isWhiteboard && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
338
+ }), isSharingWhiteboard && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
339
339
  className: "fcr-whiteboard-controlbar-body",
340
340
  ref: handleBoardRef,
341
341
  style: {
@@ -19,6 +19,7 @@ var _store = require("../../store.base");
19
19
  require("../../index.css");
20
20
  var _type2 = require("../../../../../type");
21
21
  var _type3 = require("../../../../setting/type");
22
+ var _deviceProvider = require("../../../../../providers/device-provider");
22
23
  var _jsxRuntime = require("react/jsx-runtime");
23
24
  var AudioMenu = (0, _mobxReact.observer)(function (_ref) {
24
25
  var onConnectClick = _ref.onConnectClick,
@@ -36,12 +37,28 @@ var AudioMenu = (0, _mobxReact.observer)(function (_ref) {
36
37
  connectType = _useContext.connectType,
37
38
  stopAudioByComputer = _useContext.stopAudioByComputer;
38
39
  var microphoneOptions = microphoneList.map(function (device) {
40
+ if (device.deviceId === _deviceProvider.DEFAULT_DEVICE_ID) {
41
+ return {
42
+ text: transI18n('fmt_device_label_speaker_follow_system', {
43
+ reason1: transI18n('fmt_device_label_speaker_default')
44
+ }),
45
+ value: device.deviceId
46
+ };
47
+ }
39
48
  return {
40
49
  text: device.deviceName,
41
50
  value: device.deviceId
42
51
  };
43
52
  });
44
53
  var speakerOptions = speakerList.map(function (device) {
54
+ if (device.deviceId === _deviceProvider.DEFAULT_DEVICE_ID) {
55
+ return {
56
+ text: transI18n('fmt_device_label_speaker_follow_system', {
57
+ reason1: transI18n('fmt_device_label_speaker_default')
58
+ }),
59
+ value: device.deviceId
60
+ };
61
+ }
45
62
  return {
46
63
  text: device.deviceName,
47
64
  value: device.deviceId
@@ -86,6 +86,9 @@ var CameraControl = exports.CameraControl = (0, _mobxReact.observer)(function (p
86
86
  onMoreClick: function onMoreClick() {}
87
87
  }),
88
88
  trigger: "click",
89
+ overlayInnerStyle: {
90
+ width: 'fit-content'
91
+ },
89
92
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
90
93
  onClick: function onClick(e) {
91
94
  e.stopPropagation();
@@ -79,7 +79,7 @@ var MicrophoneControl = exports.MicrophoneControl = (0, _mobxReact.observer)(fun
79
79
  } else {
80
80
  return transI18n('fmt_audio_popup_button_turning_on');
81
81
  }
82
- }, [microphoneState]);
82
+ }, [microphoneState, transI18n]);
83
83
  var noMic = microphoneList.length === 0;
84
84
  var noMicColor = {
85
85
  iconPrimary: "var(--fcr_web_ui_scene_mainicon1)",
@@ -142,6 +142,9 @@ var MicrophoneControl = exports.MicrophoneControl = (0, _mobxReact.observer)(fun
142
142
  visible: popoverOpened,
143
143
  onVisibleChange: handlePopoverVisibleChanged,
144
144
  trigger: "click",
145
+ overlayInnerStyle: {
146
+ width: 'fit-content'
147
+ },
145
148
  content: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
146
149
  children: [connectType === _type2.FcrUIConnectType.NONE && /*#__PURE__*/(0, _jsxRuntime.jsx)(_noneMenu["default"], {
147
150
  onItemClick: function onItemClick() {
@@ -64,6 +64,8 @@
64
64
  box-shadow: var(--fcr_web_light_dropup_m) !important;
65
65
  text-align: left !important;
66
66
  margin-left: 10px;
67
+ max-width: 280px;
68
+ min-width: 200px;
67
69
  }
68
70
 
69
71
  .fcr-device-popover-content-device {
@@ -74,10 +76,12 @@
74
76
  border-top-style: solid;
75
77
  }
76
78
  .fcr-device-popover-content-device-label {
77
- color: var(--fcr_ui_scene_icontext1);
78
79
  font-size: 12px;
80
+ color: var(--fcr_ui_scene_icontext1);
81
+ padding: 0 10px;
82
+ height: 32px;
79
83
  line-height: 32px;
80
- padding-left: 13px;
84
+ font-weight: 700;
81
85
  }
82
86
  .fcr-device-popover-content-device-options {
83
87
  margin-top: 8px;
@@ -88,6 +92,8 @@
88
92
  width: 100%;
89
93
  padding: 0 6px;
90
94
  transition: all 0.2s ease;
95
+ flex-direction: row-reverse;
96
+ justify-content: space-between;
91
97
  }
92
98
  .fcr-device-popover-content-device-options .fcr-radio:hover {
93
99
  background: var(--fcr_web_ui_scene_hover);
@@ -111,7 +117,6 @@
111
117
  transition: all 0.1s ease;
112
118
  }
113
119
  .fcr-device-popover-content-device-options .fcr-radio-label {
114
- padding-left: 8px;
115
120
  color: var(--fcr_ui_scene_icontext1);
116
121
  font-size: 13px;
117
122
  line-height: 100%;
@@ -126,7 +131,7 @@
126
131
  border-radius: var(--fcr_cornerradius_xxs);
127
132
  height: 32px;
128
133
  width: 100%;
129
- padding: 4px 6px 4px 36px;
134
+ padding: 4px 6px 4px 10px;
130
135
  font-size: 13px;
131
136
  line-height: 100%;
132
137
  color: var(--fcr_ui_scene_icontext1, #373c42);
@@ -138,6 +143,9 @@
138
143
  }
139
144
  .fcr-device-popover-content-more-item.contain-icon {
140
145
  padding: 4px 6px;
146
+ padding-left: 10px;
147
+ flex-direction: row-reverse;
148
+ justify-content: space-between;
141
149
  }
142
150
  .fcr-device-popover-content-more-item:hover {
143
151
  color: var(--fcr_web_ui_scene_mainicon2);
@@ -7,6 +7,7 @@ export declare abstract class DeviceControlStoreBase {
7
7
  private _roomControl;
8
8
  private _dialogProvider;
9
9
  private _facilityProvider;
10
+ private _sharedSettingDataSource;
10
11
  private _streamControlObserver;
11
12
  accessor isPstnUser: boolean;
12
13
  accessor phoneMicEnabled: boolean;
@@ -89,6 +89,7 @@ var DeviceControlStoreBase = exports.DeviceControlStoreBase = /*#__PURE__*/funct
89
89
  this._deviceProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_DEVICE_PROVIDER);
90
90
  this._facilityProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_FACILITY_PROVIDER);
91
91
  var currentRoomProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_CURRENT_ROOM_CONTROL_PROVIDER);
92
+ this._sharedSettingDataSource = objectManager.getObject(_objectManager.FcrUIObjectKeys.S_SHARED_SETTING_DATA_SOURCE);
92
93
  this._roomControl = currentRoomProvider.currentRoomControl;
93
94
  this._roomControl.getStreamControl().addObserver(this._streamControlObserver);
94
95
  }
@@ -172,6 +173,7 @@ var DeviceControlStoreBase = exports.DeviceControlStoreBase = /*#__PURE__*/funct
172
173
  key: "openDeviceSettingDialog",
173
174
  value: function openDeviceSettingDialog(arg) {
174
175
  this._dialogProvider.openDialog(_constant.FcrUIDialogKey.SETTINGS, arg);
176
+ this._sharedSettingDataSource.setDialogConfig(arg);
175
177
  }
176
178
  }, {
177
179
  key: "openConnection",