fcr-ui-scene 3.5.1 → 3.6.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 (379) hide show
  1. package/lib/creator.d.ts +14 -0
  2. package/lib/creator.js +239 -14
  3. package/lib/electron/app.js +0 -21
  4. package/lib/electron/bootstrap-sdk.js +136 -7
  5. package/lib/electron/injections.d.ts +19 -7
  6. package/lib/electron/injections.js +206 -77
  7. package/lib/electron/ipc/ipc.d.ts +26 -0
  8. package/lib/electron/ipc/ipc.js +137 -0
  9. package/lib/electron/ipc/type.d.ts +11 -0
  10. package/lib/electron/ipc/type.js +19 -0
  11. package/lib/electron/logger.js +1 -1
  12. package/lib/electron/main.js +1 -1
  13. package/lib/electron/plugins/meeting-state.d.ts +1 -0
  14. package/lib/electron/plugins/meeting-state.js +3 -3
  15. package/lib/electron/plugins/screenshot.js +2 -2
  16. package/lib/electron/preload.js +67 -5
  17. package/lib/electron/window.js +0 -2
  18. package/lib/global.css +21 -0
  19. package/lib/modules/action-bar/components/apps/index.js +1 -0
  20. package/lib/modules/action-bar/components/apps/useWidgetList.js +1 -1
  21. package/lib/modules/action-bar/components/item/index.d.ts +2 -0
  22. package/lib/modules/action-bar/components/item/index.js +4 -2
  23. package/lib/modules/action-bar/components/leave/index.js +1 -0
  24. package/lib/modules/action-bar/components/more/index.js +1 -0
  25. package/lib/modules/action-bar/components/record/index.js +43 -106
  26. package/lib/modules/action-bar/components/record/popover.d.ts +4 -0
  27. package/lib/modules/action-bar/components/record/popover.js +57 -0
  28. package/lib/modules/action-bar/components/record/stop-record-dialog.js +1 -0
  29. package/lib/modules/action-bar/components/screen-share/index.js +15 -3
  30. package/lib/modules/action-bar/components/screen-share/submenu.js +2 -2
  31. package/lib/modules/action-bar/components/security/index.js +2 -1
  32. package/lib/modules/action-bar/components/smaller/index.js +1 -1
  33. package/lib/modules/action-bar/components/trigger-output-language/index.js +17 -22
  34. package/lib/modules/action-bar/components/trigger-subscribe-language/index.js +2 -1
  35. package/lib/modules/action-bar/index.css +3 -2
  36. package/lib/modules/action-bar/index.js +2 -1
  37. package/lib/modules/action-bar/store.d.ts +5 -0
  38. package/lib/modules/action-bar/store.js +30 -12
  39. package/lib/modules/action-bar/types.d.ts +1 -0
  40. package/lib/modules/chat/chat-room-store.js +1 -1
  41. package/lib/modules/chat/components/chat-bar/index.d.ts +1 -1
  42. package/lib/modules/chat/components/chat-bar/index.js +5 -3
  43. package/lib/modules/chat/components/chat-select/select-item/index.js +1 -1
  44. package/lib/modules/chat/components/message-list/index.js +1 -2
  45. package/lib/modules/chat/components/message-list/message-item/index.d.ts +0 -1
  46. package/lib/modules/chat/components/message-list/message-item/index.js +9 -10
  47. package/lib/modules/chat/index.css +24 -0
  48. package/lib/modules/chat/view.js +13 -3
  49. package/lib/modules/components/device-control/components/carmera/index.js +4 -5
  50. package/lib/modules/components/device-control/components/microphone/index.js +4 -5
  51. package/lib/modules/components/device-control/index.css +6 -3
  52. package/lib/modules/components/leave-meeting/components/assign-host.js +26 -4
  53. package/lib/modules/components/leave-meeting/components/index.css +35 -0
  54. package/lib/modules/components/leave-meeting/index.js +1 -0
  55. package/lib/modules/components/leave-meeting/store.js +25 -67
  56. package/lib/modules/components/member-window/components/member-actions/components/audio-control.js +3 -2
  57. package/lib/modules/components/member-window/components/member-actions/components/icon-buttons/index.js +1 -1
  58. package/lib/modules/components/member-window/components/member-actions/components/icon-status.js +10 -9
  59. package/lib/modules/components/member-window/components/member-actions/components/more-actions.js +2 -2
  60. package/lib/modules/components/member-window/components/member-actions/components/user-info.js +1 -1
  61. package/lib/modules/components/member-window/components/member-actions/index.js +2 -2
  62. package/lib/modules/components/member-window/components/video-player/components/remote-video-player.js +3 -14
  63. package/lib/modules/components/member-window/index.css +18 -7
  64. package/lib/modules/components/member-window/types.d.ts +1 -1
  65. package/lib/modules/components/security-menu/index.css +2 -2
  66. package/lib/modules/components/security-menu/index.js +80 -28
  67. package/lib/modules/components/tab-frame/index.css +1 -1
  68. package/lib/modules/control-bar/components/meeting-details/index.css +1 -1
  69. package/lib/modules/control-bar/components/meeting-details/index.js +15 -9
  70. package/lib/modules/control-bar/components/more-actions/index.js +3 -21
  71. package/lib/modules/control-bar/components/share-state-nav/index.js +4 -20
  72. package/lib/modules/control-bar/index.d.ts +2 -0
  73. package/lib/modules/control-bar/index.js +3 -1
  74. package/lib/modules/control-bar/store.d.ts +11 -2
  75. package/lib/modules/control-bar/store.js +103 -95
  76. package/lib/modules/control-bar/view.js +1 -6
  77. package/lib/modules/device-pretest/audio-preview/speaker-detection.js +1 -1
  78. package/lib/modules/dialog/components/chat/electron.d.ts +1 -3
  79. package/lib/modules/dialog/components/chat/index.js +24 -17
  80. package/lib/modules/dialog/components/confirm-leave-meeting/index.d.ts +6 -0
  81. package/lib/modules/dialog/components/confirm-leave-meeting/index.js +86 -0
  82. package/lib/modules/dialog/components/control-bar/index.d.ts +1 -2
  83. package/lib/modules/dialog/components/control-bar/index.js +5 -17
  84. package/lib/modules/dialog/components/dialog-container/component/body.d.ts +1 -0
  85. package/lib/modules/dialog/components/dialog-container/component/body.js +4 -2
  86. package/lib/modules/dialog/components/dialog-container/index.css +2 -1
  87. package/lib/modules/dialog/components/dialog-container/index.d.ts +1 -0
  88. package/lib/modules/dialog/components/dialog-container/index.js +3 -1
  89. package/lib/modules/dialog/components/participant/index.d.ts +0 -1
  90. package/lib/modules/dialog/components/participant/index.js +15 -24
  91. package/lib/modules/dialog/components/pre-setting/electron.d.ts +2 -0
  92. package/lib/modules/dialog/components/pre-setting/electron.js +51 -0
  93. package/lib/modules/dialog/components/pre-setting/index.css +26 -0
  94. package/lib/modules/dialog/components/pre-setting/index.d.ts +6 -0
  95. package/lib/modules/dialog/components/pre-setting/index.js +38 -0
  96. package/lib/modules/dialog/components/pre-setting-container/component/body.d.ts +8 -0
  97. package/lib/modules/dialog/components/pre-setting-container/component/body.js +80 -0
  98. package/lib/modules/dialog/components/pre-setting-container/index.css +82 -0
  99. package/lib/modules/dialog/components/pre-setting-container/index.d.ts +18 -0
  100. package/lib/modules/dialog/components/pre-setting-container/index.js +117 -0
  101. package/lib/modules/dialog/components/rename/index.d.ts +4 -0
  102. package/lib/modules/dialog/components/rename/index.js +72 -0
  103. package/lib/modules/dialog/components/video-window/index.js +18 -16
  104. package/lib/modules/dialog/components/widget/electron.d.ts +2 -1
  105. package/lib/modules/dialog/components/widget/electron.js +3 -2
  106. package/lib/modules/dialog/components/widget/index.d.ts +2 -1
  107. package/lib/modules/dialog/components/widget/index.js +4 -6
  108. package/lib/modules/dialog/dialogs.d.ts +1 -0
  109. package/lib/modules/dialog/dialogs.js +3 -2
  110. package/lib/modules/dialog/hooks/useElectron.d.ts +2 -0
  111. package/lib/modules/dialog/hooks/useElectron.js +11 -13
  112. package/lib/modules/dialog/index.d.ts +2 -0
  113. package/lib/modules/dialog/index.js +2 -1
  114. package/lib/modules/dialog/store.d.ts +8 -3
  115. package/lib/modules/dialog/store.js +38 -26
  116. package/lib/modules/dialog/type.d.ts +1 -0
  117. package/lib/modules/dialog/view.js +2 -1
  118. package/lib/modules/event-confirm/index.d.ts +2 -0
  119. package/lib/modules/event-confirm/index.js +2 -1
  120. package/lib/modules/event-confirm/store.d.ts +9 -1
  121. package/lib/modules/event-confirm/store.js +94 -8
  122. package/lib/modules/event-confirm/view.js +55 -46
  123. package/lib/modules/{sound-effect → event-sound}/index.d.ts +3 -2
  124. package/lib/modules/{sound-effect → event-sound}/index.js +9 -5
  125. package/lib/modules/event-toast/store.js +2 -0
  126. package/lib/modules/interpreter/dialog-content/index.js +4 -1
  127. package/lib/modules/interpreter/index.d.ts +2 -0
  128. package/lib/modules/interpreter/index.js +2 -1
  129. package/lib/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/index.js +3 -0
  130. package/lib/modules/interpreter/store.d.ts +2 -2
  131. package/lib/modules/interpreter/store.js +30 -24
  132. package/lib/modules/interpreter/type.d.ts +2 -0
  133. package/lib/modules/invite/components/pstn-invite.js +3 -9
  134. package/lib/modules/invite/components/voip-invite.css +26 -0
  135. package/lib/modules/invite/components/voip-invite.d.ts +1 -0
  136. package/lib/modules/invite/components/voip-invite.js +8 -11
  137. package/lib/modules/invite/index.css +16 -3
  138. package/lib/modules/invite/index.d.ts +2 -1
  139. package/lib/modules/invite/index.js +2 -1
  140. package/lib/modules/invite/store.d.ts +5 -1
  141. package/lib/modules/invite/store.js +8 -1
  142. package/lib/modules/layout/components/Carousel.d.ts +1 -1
  143. package/lib/modules/layout/components/Carousel.js +16 -118
  144. package/lib/modules/layout/components/CommonVideoRenderer.d.ts +13 -0
  145. package/lib/modules/layout/components/CommonVideoRenderer.js +214 -0
  146. package/lib/modules/layout/components/Gallery.d.ts +1 -0
  147. package/lib/modules/layout/components/Gallery.js +62 -205
  148. package/lib/modules/layout/components/index.css +17 -34
  149. package/lib/modules/layout/index.d.ts +2 -0
  150. package/lib/modules/layout/index.js +2 -1
  151. package/lib/modules/layout/store.d.ts +5 -2
  152. package/lib/modules/layout/store.js +47 -39
  153. package/lib/modules/layout/type.d.ts +4 -0
  154. package/lib/modules/layout/type.js +6 -1
  155. package/lib/modules/live-streaming/store.d.ts +1 -0
  156. package/lib/modules/live-streaming/store.js +19 -8
  157. package/lib/modules/participant/components/confirm-input/index.d.ts +4 -4
  158. package/lib/modules/participant/components/confirm-input/index.js +74 -6
  159. package/lib/modules/participant/components/participants/components/footer/components/drop-menu/index.css +27 -3
  160. package/lib/modules/participant/components/participants/components/footer/components/footer/index.css +4 -0
  161. package/lib/modules/participant/components/participants/components/footer/components/footer/index.js +3 -2
  162. package/lib/modules/participant/components/participants/components/participants/components/attendee/index.css +4 -3
  163. package/lib/modules/participant/components/participants/components/participants/components/attendee/index.js +1 -0
  164. package/lib/modules/participant/components/participants/components/participants/components/participants-more/index.css +9 -1
  165. package/lib/modules/participant/components/participants/components/participants/components/participants-more/index.js +1 -1
  166. package/lib/modules/participant/components/participants/components/participants/index.css +1 -0
  167. package/lib/modules/participant/components/participants/components/render-user/components/attendee/index.css +18 -0
  168. package/lib/modules/participant/components/participants/components/render-user/components/attendee/index.js +12 -5
  169. package/lib/modules/participant/components/participants/components/render-user/components/user-action/components/move-actions-popover/index.js +1 -8
  170. package/lib/modules/participant/index.css +6 -0
  171. package/lib/modules/participant/index.d.ts +1 -0
  172. package/lib/modules/participant/index.js +9 -0
  173. package/lib/modules/participant/store.d.ts +6 -0
  174. package/lib/modules/participant/store.js +130 -96
  175. package/lib/modules/pc-audio-connect/store.js +1 -1
  176. package/lib/modules/phone-audio-connect/index.d.ts +2 -0
  177. package/lib/modules/phone-audio-connect/index.js +2 -1
  178. package/lib/modules/phone-audio-connect/store.d.ts +4 -1
  179. package/lib/modules/phone-audio-connect/store.js +4 -2
  180. package/lib/modules/setting/audio-settings/audio-settings.js +70 -48
  181. package/lib/modules/setting/audio-settings/index.css +23 -6
  182. package/lib/modules/setting/general-settings/general-settings.d.ts +1 -2
  183. package/lib/modules/setting/general-settings/general-settings.js +111 -37
  184. package/lib/modules/setting/general-settings/index.css +15 -0
  185. package/lib/modules/setting/index.d.ts +4 -1
  186. package/lib/modules/setting/index.js +7 -4
  187. package/lib/modules/setting/state/index.js +1 -1
  188. package/lib/modules/setting/store.d.ts +24 -11
  189. package/lib/modules/setting/store.js +203 -142
  190. package/lib/modules/setting/video-settings/index.css +13 -2
  191. package/lib/modules/setting/video-settings/video-settings-basic.js +18 -27
  192. package/lib/modules/setting/video-settings/video-settings.d.ts +0 -2
  193. package/lib/modules/setting/video-settings/video-settings.js +3 -2
  194. package/lib/modules/setting/view.d.ts +11 -2
  195. package/lib/modules/setting/view.js +93 -71
  196. package/lib/modules/share-screen/components/selection/index.js +6 -2
  197. package/lib/modules/share-screen/index.d.ts +4 -1
  198. package/lib/modules/share-screen/index.js +3 -1
  199. package/lib/modules/share-screen/store.d.ts +15 -5
  200. package/lib/modules/share-screen/store.js +105 -59
  201. package/lib/modules/share-screen/view.js +1 -1
  202. package/lib/modules/state-bar/index.css +4 -2
  203. package/lib/modules/state-bar/index.d.ts +2 -0
  204. package/lib/modules/state-bar/index.js +2 -1
  205. package/lib/modules/state-bar/layout-config.js +1 -0
  206. package/lib/modules/state-bar/live-streaming-state.js +1 -0
  207. package/lib/modules/state-bar/meeting-detail.css +10 -1
  208. package/lib/modules/state-bar/meeting-details.js +42 -26
  209. package/lib/modules/state-bar/meeting-network-state.css +8 -0
  210. package/lib/modules/state-bar/meeting-time.js +9 -20
  211. package/lib/modules/state-bar/store.d.ts +5 -1
  212. package/lib/modules/state-bar/store.js +10 -3
  213. package/lib/modules/state-bar/view.js +17 -6
  214. package/lib/modules/video-window/components/members/index.js +0 -3
  215. package/lib/modules/waiting-room-layout/index.css +13 -0
  216. package/lib/modules/waiting-room-layout/index.d.ts +2 -1
  217. package/lib/modules/waiting-room-layout/index.js +2 -1
  218. package/lib/modules/waiting-room-layout/store.d.ts +12 -1
  219. package/lib/modules/waiting-room-layout/store.js +42 -6
  220. package/lib/modules/waiting-room-layout/view.js +22 -5
  221. package/lib/modules/whiteboard/components/control-bar/index.css +1 -1
  222. package/lib/modules/whiteboard/components/switch-theme/libs.d.ts +1 -1
  223. package/lib/modules/whiteboard/components/switch-theme/libs.js +3 -1
  224. package/lib/modules/whiteboard/components/toolbar/ style.css +1 -0
  225. package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/panel.js +1 -0
  226. package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/picker.js +1 -0
  227. package/lib/modules/whiteboard/components/toolbar/components/eraser-picker.js +3 -14
  228. package/lib/modules/whiteboard/components/toolbar/components/expansion/index.d.ts +1 -0
  229. package/lib/modules/whiteboard/components/toolbar/components/expansion/index.js +83 -0
  230. package/lib/modules/whiteboard/components/toolbar/components/extra-tool-picker.js +2 -2
  231. package/lib/modules/whiteboard/components/toolbar/components/history.js +3 -3
  232. package/lib/modules/whiteboard/components/toolbar/components/item/index.d.ts +1 -0
  233. package/lib/modules/whiteboard/components/toolbar/components/item/index.js +42 -0
  234. package/lib/modules/whiteboard/components/toolbar/components/pen-picker.js +2 -2
  235. package/lib/modules/whiteboard/components/toolbar/components/screen-capture-picker.js +2 -2
  236. package/lib/modules/whiteboard/components/toolbar/components/shape-picker.js +3 -3
  237. package/lib/modules/whiteboard/components/toolbar/hooks/index.js +6 -6
  238. package/lib/modules/whiteboard/components/toolbar/index.js +9 -113
  239. package/lib/modules/whiteboard/components/toolbar/store.d.ts +18 -0
  240. package/lib/modules/whiteboard/components/toolbar/store.js +276 -83
  241. package/lib/modules/whiteboard/context.d.ts +1 -2
  242. package/lib/modules/whiteboard/index.d.ts +1 -14
  243. package/lib/modules/whiteboard/index.js +131 -426
  244. package/lib/modules/whiteboard/view.js +12 -10
  245. package/lib/modules/widget/sdk.js +2 -1
  246. package/lib/object-manager.d.ts +8 -0
  247. package/lib/object-manager.js +75 -0
  248. package/lib/plugins/browser-runtime-plugin.js +19 -14
  249. package/lib/providers/ability-provider.d.ts +8 -0
  250. package/lib/providers/ability-provider.js +14 -0
  251. package/lib/providers/device-privilege-provider.d.ts +1 -0
  252. package/lib/providers/device-privilege-provider.js +53 -75
  253. package/lib/providers/device-provider.d.ts +18 -8
  254. package/lib/providers/device-provider.js +397 -209
  255. package/lib/providers/device-stream-provider.js +0 -4
  256. package/lib/providers/dialog-provider.d.ts +1 -0
  257. package/lib/providers/dialog-provider.js +4 -18
  258. package/lib/providers/event-provider.js +45 -2
  259. package/lib/providers/interpreter-provider.d.ts +4 -0
  260. package/lib/providers/interpreter-provider.js +166 -137
  261. package/lib/providers/message-provider.js +44 -2
  262. package/lib/providers/privilege-provider.d.ts +33 -0
  263. package/lib/providers/privilege-provider.js +120 -45
  264. package/lib/providers/room-provider.d.ts +12 -10
  265. package/lib/providers/room-provider.js +162 -262
  266. package/lib/providers/screen-share-provider.d.ts +4 -0
  267. package/lib/providers/screen-share-provider.js +3 -6
  268. package/lib/providers/widget-provider.js +6 -4
  269. package/lib/runtime.d.ts +20 -8
  270. package/lib/scenes/main-scene.d.ts +2 -0
  271. package/lib/scenes/main-scene.js +95 -37
  272. package/lib/scenes/waiting-scene.js +16 -13
  273. package/lib/schema.d.ts +55 -32
  274. package/lib/schema.js +23 -9
  275. package/lib/shared-data-source/config.d.ts +6 -2
  276. package/lib/shared-data-source/config.js +81 -10
  277. package/lib/shared-data-source/member-data.d.ts +16 -20
  278. package/lib/shared-data-source/member-data.js +121 -110
  279. package/lib/shared-data-source/screen-share-data-source.d.ts +37 -0
  280. package/lib/shared-data-source/screen-share-data-source.js +134 -0
  281. package/lib/shared-data-source/security-data.d.ts +1 -0
  282. package/lib/shared-data-source/security-data.js +3 -5
  283. package/lib/shared-data-source/setting.d.ts +1 -0
  284. package/lib/shared-data-source/setting.js +33 -17
  285. package/lib/shared-data-source/video-window.d.ts +3 -3
  286. package/lib/shared-data-source/video-window.js +55 -38
  287. package/lib/translations/enUS.d.ts +48 -1
  288. package/lib/translations/enUS.js +101 -17
  289. package/lib/translations/zhCN.d.ts +48 -1
  290. package/lib/translations/zhCN.js +88 -4
  291. package/lib/type.d.ts +40 -20
  292. package/lib/type.js +14 -1
  293. package/lib/ui-manager.d.ts +11 -9
  294. package/lib/ui-manager.js +118 -29
  295. package/lib/ui-scene.d.ts +7 -4
  296. package/lib/ui-scene.js +111 -128
  297. package/lib/utilities/constant.d.ts +3 -1
  298. package/lib/utilities/constant.js +2 -0
  299. package/lib/utilities/copyText.js +15 -11
  300. package/lib/utilities/default-config.d.ts +2 -0
  301. package/lib/utilities/default-config.js +11 -5
  302. package/lib/utilities/i18n-common-data.d.ts +2 -0
  303. package/lib/utilities/i18n-common-data.js +15 -0
  304. package/lib/utilities/logger.d.ts +0 -1
  305. package/lib/utilities/logger.js +3 -4
  306. package/lib/utilities/renderer.d.ts +0 -9
  307. package/lib/utilities/renderer.js +1 -70
  308. package/lib/utilities/screen.js +3 -1
  309. package/lib/utilities/setting-config-storage.d.ts +6 -1
  310. package/lib/utilities/setting-config-storage.js +21 -4
  311. package/lib/utilities/tools.d.ts +7 -6
  312. package/lib/utilities/tools.js +56 -44
  313. package/lib/utilities/ui-resources.d.ts +6 -0
  314. package/lib/utilities/ui-resources.js +47 -9
  315. package/lib/waiting-room-control-manager.d.ts +4 -4
  316. package/lib/waiting-room-control-manager.js +29 -9
  317. package/package.json +6 -6
  318. package/public/assets/browser/images/default1.jpg +0 -0
  319. package/public/assets/browser/images/default2.jpg +0 -0
  320. package/public/assets/browser/images/default3.jpg +0 -0
  321. package/public/assets/browser/images/default4.jpg +0 -0
  322. package/public/assets/browser/images/default5.jpg +0 -0
  323. package/public/assets/browser/images/default6.jpg +0 -0
  324. package/public/assets/browser/images/default7.jpg +0 -0
  325. package/public/assets/browser/sound_effects/pretest.mp3 +0 -0
  326. package/public/assets/browser/sound_effects/recording_started.mp3 +0 -0
  327. package/public/assets/browser/sound_effects/remote_user_joined.mp3 +0 -0
  328. package/public/assets/browser/sound_effects/speaker_test.mp3 +0 -0
  329. package/public/assets/browser/videos/default8.mp4 +0 -0
  330. package/public/assets/browser/videos/default9.mp4 +0 -0
  331. package/public/assets/electron/images/default1.jpg +0 -0
  332. package/public/assets/electron/images/default2.jpg +0 -0
  333. package/public/assets/electron/sound_effects/pretest.mp3 +0 -0
  334. package/public/assets/electron/videos/default8.mp4 +0 -0
  335. package/public/index.html +103 -82
  336. package/lib/hooks/meeting-time.d.ts +0 -15
  337. package/lib/hooks/meeting-time.js +0 -92
  338. package/lib/login-confirm-dialog.d.ts +0 -13
  339. package/lib/login-confirm-dialog.js +0 -85
  340. package/lib/modules/action-bar/components/apps/appitems.d.ts +0 -3
  341. package/lib/modules/action-bar/components/apps/appitems.js +0 -45
  342. package/lib/modules/components/member-window/components/member-board.d.ts +0 -2
  343. package/lib/modules/components/member-window/components/member-board.js +0 -63
  344. package/lib/modules/dialog/components/system-preference/bg1.png +0 -0
  345. package/lib/modules/dialog/components/system-preference/bg2.png +0 -0
  346. package/lib/modules/dialog/types/index.d.ts +0 -70
  347. package/lib/modules/participant/components/attendee/components/microphone-indicator/index.d.ts +0 -6
  348. package/lib/modules/participant/components/attendee/components/microphone-indicator/index.js +0 -28
  349. package/lib/modules/participant/components/attendee/components/user-avatar/index.d.ts +0 -7
  350. package/lib/modules/participant/components/attendee/components/user-avatar/index.js +0 -39
  351. package/lib/modules/participant/components/attendee/index.css +0 -69
  352. package/lib/modules/participant/components/attendee/index.d.ts +0 -4
  353. package/lib/modules/participant/components/attendee/index.js +0 -337
  354. package/lib/modules/participant/components/drop-menu/index.css +0 -60
  355. package/lib/modules/participant/components/drop-menu/index.d.ts +0 -2
  356. package/lib/modules/participant/components/drop-menu/index.js +0 -189
  357. package/lib/modules/participant/components/footer/buttons.d.ts +0 -6
  358. package/lib/modules/participant/components/footer/buttons.js +0 -52
  359. package/lib/modules/participant/components/footer/index.d.ts +0 -4
  360. package/lib/modules/participant/components/footer/index.js +0 -37
  361. package/lib/modules/participant/components/merge/index.d.ts +0 -11
  362. package/lib/modules/participant/components/merge/index.js +0 -49
  363. package/lib/modules/participant/components/rename/index.d.ts +0 -4
  364. package/lib/modules/participant/components/rename/index.js +0 -45
  365. package/lib/modules/participant/components/user-action/index.d.ts +0 -17
  366. package/lib/modules/participant/components/user-action/index.js +0 -169
  367. package/lib/modules/video-window/deviceState/index.d.ts +0 -16
  368. package/lib/modules/video-window/deviceState/index.js +0 -75
  369. package/lib/modules/video-window/members/index.css +0 -51
  370. package/lib/modules/video-window/members/index.d.ts +0 -2
  371. package/lib/modules/video-window/members/index.js +0 -157
  372. package/lib/modules/video-window/speaking/index.css +0 -69
  373. package/lib/modules/video-window/speaking/index.d.ts +0 -3
  374. package/lib/modules/video-window/speaking/index.js +0 -57
  375. package/lib/modules/video-window/topControl/index.css +0 -35
  376. package/lib/modules/video-window/topControl/index.d.ts +0 -3
  377. package/lib/modules/video-window/topControl/index.js +0 -92
  378. /package/lib/modules/{sound-effect → event-sound}/sound-effect-player.d.ts +0 -0
  379. /package/lib/modules/{sound-effect → event-sound}/sound-effect-player.js +0 -0
@@ -11,6 +11,7 @@ require("core-js/modules/es.array.slice.js");
11
11
  require("core-js/modules/es.date.to-primitive.js");
12
12
  require("core-js/modules/es.date.to-string.js");
13
13
  require("core-js/modules/es.function.name.js");
14
+ require("core-js/modules/es.number.constructor.js");
14
15
  require("core-js/modules/es.object.create.js");
15
16
  require("core-js/modules/es.object.define-properties.js");
16
17
  require("core-js/modules/es.object.define-property.js");
@@ -32,7 +33,7 @@ Object.defineProperty(exports, "DEFAULT_BEAUTY_VALUE", {
32
33
  return _localVideoPlayer.DEFAULT_BEAUTY_VALUE;
33
34
  }
34
35
  });
35
- exports["default"] = exports.StoreContext = exports.DeviceSettingTab = void 0;
36
+ exports["default"] = exports.StoreContext = exports.SETTING_KEY = exports.DeviceSettingTab = void 0;
36
37
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
37
38
  var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
38
39
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
@@ -55,7 +56,6 @@ require("core-js/modules/es.function.bind.js");
55
56
  require("core-js/modules/es.json.stringify.js");
56
57
  require("core-js/modules/es.map.js");
57
58
  require("core-js/modules/es.math.log10.js");
58
- require("core-js/modules/es.number.constructor.js");
59
59
  require("core-js/modules/es.number.to-fixed.js");
60
60
  require("core-js/modules/es.object.assign.js");
61
61
  require("core-js/modules/es.object.entries.js");
@@ -106,7 +106,7 @@ var _i18n = require("agora-ui-foundation/lib/i18n");
106
106
  var _logger = require("../../utilities/logger");
107
107
  var _excluded = ["dialogId"];
108
108
  var _SettingStore;
109
- var _initProto, _init_loudestStreamVolumeLevel, _init_microphoneVolumeLevel, _init_isWifiConnected, _init_dialogConfig, _init_networkState, _init_performanceState, _init_localAudioStreamMap, _init_remoteAudioStreamMap, _init_localVideoStreamMap, _init_remoteVideoStreamMap, _init_systemMemorySize, _init_systemCpuDesc, _init_config, _init_getSystemInfoTimer, _setDialogConfigDecs, _setSettingDecs, _onEventDecs, _onNetworkStatsUpdatedDecs, _calculateSystemInfoDecs, _getSystemInformationDecs, _clearGetSystemInfoIntervalDecs, _closeDialogDecs, _onLocalAudioStatsUpdatedDecs, _onRemoteAudioStatsUpdatedDecs, _onLocalVideoStatsUpdatedDecs, _onRemoteVideoStatsUpdatedDecs, _onStreamsAddedDecs, _onStreamsUpdatedDecs, _onStreamsRemovedDecs, _onPerformanceUpdatedDecs, _onAudioVolumeUpdatedDecs, _preHandleSettingDecs, _ref;
109
+ var _initProto, _init_loudestStreamVolumeLevel, _init_isPreMeetingSettingsStore, _init_microphoneVolumeLevel, _init_isWifiConnected, _init_dialogConfig, _init_networkState, _init_performanceState, _init_localAudioStreamMap, _init_remoteAudioStreamMap, _init_localVideoStreamMap, _init_remoteVideoStreamMap, _init_systemMemorySize, _init_systemCpuDesc, _init_config, _init_getSystemInfoTimer, _setDialogConfigDecs, _setSettingDecs, _onEventDecs, _onNetworkStatsUpdatedDecs, _clearGetSystemInfoIntervalDecs, _closeDialogDecs, _onLocalAudioStatsUpdatedDecs, _onRemoteAudioStatsUpdatedDecs, _onLocalVideoStatsUpdatedDecs, _onRemoteVideoStatsUpdatedDecs, _onStreamsAddedDecs, _onStreamsUpdatedDecs, _onStreamsRemovedDecs, _onPerformanceUpdatedDecs, _onAudioVolumeUpdatedDecs, _preHandleSettingDecs, _setMeetingSettingsToLocalStorageDecs, _getMeetingSettingsFromLocalStorageDecs, _initDialogConfigDecs, _changeMediaSettingDecs, _ref;
110
110
  function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
111
111
  function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
112
112
  function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
@@ -122,6 +122,7 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
122
122
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
123
123
  function _setFunctionName(e, t, n) { "symbol" == _typeof(t) && (t = (t = t.description) ? "[" + t + "]" : ""); try { Object.defineProperty(e, "name", { configurable: !0, value: n ? n + " " + t : t }); } catch (e) {} return e; }
124
124
  function _checkInRHS(e) { if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (null !== e ? _typeof(e) : "null")); return e; }
125
+ var SETTING_KEY = exports.SETTING_KEY = 'setting';
125
126
  var DeviceSettingTab = exports.DeviceSettingTab = /*#__PURE__*/function (DeviceSettingTab) {
126
127
  DeviceSettingTab["GENERAL"] = "general";
127
128
  DeviceSettingTab["AUDIO"] = "audio";
@@ -152,9 +153,11 @@ var _K = /*#__PURE__*/new WeakMap();
152
153
  var _L = /*#__PURE__*/new WeakMap();
153
154
  var _M = /*#__PURE__*/new WeakMap();
154
155
  var _N = /*#__PURE__*/new WeakMap();
155
- _ref = (_setDialogConfigDecs = [_mobx.action, _mobx.action.bound], _setSettingDecs = [_mobx.action, _mobx.action.bound], _onEventDecs = [_mobx.action, _mobx.action.bound], _onNetworkStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _calculateSystemInfoDecs = [_mobx.action, _mobx.action.bound], _getSystemInformationDecs = [_mobx.action, _mobx.action.bound], _clearGetSystemInfoIntervalDecs = [_mobx.action, _mobx.action.bound], _closeDialogDecs = [_mobx.action, _mobx.action.bound], _onLocalAudioStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onRemoteAudioStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onLocalVideoStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onRemoteVideoStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onStreamsAddedDecs = [_mobx.action, _mobx.action.bound], _onStreamsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onStreamsRemovedDecs = [_mobx.action, _mobx.action.bound], _onPerformanceUpdatedDecs = [_mobx.action, _mobx.action.bound], _onAudioVolumeUpdatedDecs = [_mobx.action, _mobx.action.bound], _preHandleSettingDecs = [_mobx.action, _mobx.action.bound], "logger");
156
+ var _O = /*#__PURE__*/new WeakMap();
157
+ _ref = (_setDialogConfigDecs = [_mobx.action, _mobx.action.bound], _setSettingDecs = [_mobx.action, _mobx.action.bound], _onEventDecs = [_mobx.action, _mobx.action.bound], _onNetworkStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _clearGetSystemInfoIntervalDecs = [_mobx.action, _mobx.action.bound], _closeDialogDecs = [_mobx.action, _mobx.action.bound], _onLocalAudioStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onRemoteAudioStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onLocalVideoStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onRemoteVideoStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onStreamsAddedDecs = [_mobx.action, _mobx.action.bound], _onStreamsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onStreamsRemovedDecs = [_mobx.action, _mobx.action.bound], _onPerformanceUpdatedDecs = [_mobx.action, _mobx.action.bound], _onAudioVolumeUpdatedDecs = [_mobx.action, _mobx.action.bound], _preHandleSettingDecs = [_mobx.action, _mobx.action.bound], _setMeetingSettingsToLocalStorageDecs = [_mobx.action, _mobx.action.bound], _getMeetingSettingsFromLocalStorageDecs = [_mobx.action, _mobx.action.bound], _initDialogConfigDecs = [_mobx.action, _mobx.action.bound], _changeMediaSettingDecs = [_mobx.action, _mobx.action.bound], "_localStorageProvider");
156
158
  var SettingStore = exports["default"] = /*#__PURE__*/function () {
157
159
  function SettingStore(_ref2) {
160
+ var _this$_roomControl, _this$_streamControl, _this$_streamControl2;
158
161
  var monitorControl = _ref2.monitorControl,
159
162
  uiEventStore = _ref2.uiEventStore,
160
163
  deviceStore = _ref2.deviceStore,
@@ -166,11 +169,15 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
166
169
  messageProvider = _ref2.messageProvider,
167
170
  dialogProvider = _ref2.dialogProvider,
168
171
  sharedSettingDataSource = _ref2.sharedSettingDataSource,
169
- settingConfig = _ref2.settingConfig;
172
+ settingConfig = _ref2.settingConfig,
173
+ localStorageProvider = _ref2.localStorageProvider,
174
+ userId = _ref2.userId;
170
175
  (0, _classCallCheck2["default"])(this, SettingStore);
171
- (0, _defineProperty2["default"])(this, _ref, (_initProto(this), (0, _logger.createLogger)({
176
+ // @internal
177
+ (0, _defineProperty2["default"])(this, _ref, void _initProto(this));
178
+ (0, _defineProperty2["default"])(this, "logger", (0, _logger.createLogger)({
172
179
  prefix: 'SettingStore'
173
- })));
180
+ }));
174
181
  (0, _defineProperty2["default"])(this, "_enableRemoteVideoStatsDebugLog", false);
175
182
  (0, _defineProperty2["default"])(this, "_disposers", []);
176
183
  (0, _defineProperty2["default"])(this, "_currentDialogId", '');
@@ -203,15 +210,16 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
203
210
  onStreamVolumeIndicationUpdated: this._onAudioVolumeUpdated
204
211
  });
205
212
  _classPrivateFieldInitSpec(this, _A, _init_loudestStreamVolumeLevel(this, 0));
206
- _classPrivateFieldInitSpec(this, _B, _init_microphoneVolumeLevel(this, 0));
207
- _classPrivateFieldInitSpec(this, _C, _init_isWifiConnected(this, false));
208
- _classPrivateFieldInitSpec(this, _D, _init_dialogConfig(this, {
213
+ _classPrivateFieldInitSpec(this, _B, _init_isPreMeetingSettingsStore(this, true));
214
+ _classPrivateFieldInitSpec(this, _C, _init_microphoneVolumeLevel(this, 0));
215
+ _classPrivateFieldInitSpec(this, _D, _init_isWifiConnected(this, false));
216
+ _classPrivateFieldInitSpec(this, _E, _init_dialogConfig(this, {
209
217
  // activeTab: DeviceSettingTab.AUDIO,
210
- activeTab: DeviceSettingTab.STATE,
218
+ activeTab: DeviceSettingTab.GENERAL,
211
219
  highlightSelector: undefined,
212
220
  videoActiveTab: 'basic'
213
221
  }));
214
- _classPrivateFieldInitSpec(this, _E, _init_networkState(this, {
222
+ _classPrivateFieldInitSpec(this, _F, _init_networkState(this, {
215
223
  txPacketLoss: -1,
216
224
  rxPacketLoss: -1,
217
225
  rtt: 0,
@@ -226,7 +234,7 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
226
234
  rxVideoKBitrate: 0,
227
235
  rxVideoKBytes: 0
228
236
  }));
229
- _classPrivateFieldInitSpec(this, _F, _init_performanceState(this, {
237
+ _classPrivateFieldInitSpec(this, _G, _init_performanceState(this, {
230
238
  cpuTotalUsage: 0,
231
239
  cpuAppUsage: 0,
232
240
  cpuOtherAppUsage: 0,
@@ -236,14 +244,15 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
236
244
  memoryAppUsageInKbytes: 0,
237
245
  memoryOtherAppUsageInKbytes: 0
238
246
  }));
239
- _classPrivateFieldInitSpec(this, _G, _init_localAudioStreamMap(this, new Map()));
240
- _classPrivateFieldInitSpec(this, _H, _init_remoteAudioStreamMap(this, new Map()));
241
- _classPrivateFieldInitSpec(this, _I, _init_localVideoStreamMap(this, new Map()));
242
- _classPrivateFieldInitSpec(this, _J, _init_remoteVideoStreamMap(this, new Map()));
243
- _classPrivateFieldInitSpec(this, _K, _init_systemMemorySize(this, 0));
244
- _classPrivateFieldInitSpec(this, _L, _init_systemCpuDesc(this, ''));
245
- _classPrivateFieldInitSpec(this, _M, _init_config(this, undefined));
246
- _classPrivateFieldInitSpec(this, _N, _init_getSystemInfoTimer(this, null));
247
+ _classPrivateFieldInitSpec(this, _H, _init_localAudioStreamMap(this, new Map()));
248
+ _classPrivateFieldInitSpec(this, _I, _init_remoteAudioStreamMap(this, new Map()));
249
+ _classPrivateFieldInitSpec(this, _J, _init_localVideoStreamMap(this, new Map()));
250
+ _classPrivateFieldInitSpec(this, _K, _init_remoteVideoStreamMap(this, new Map()));
251
+ _classPrivateFieldInitSpec(this, _L, _init_systemMemorySize(this, 0));
252
+ _classPrivateFieldInitSpec(this, _M, _init_systemCpuDesc(this, ''));
253
+ _classPrivateFieldInitSpec(this, _N, _init_config(this, undefined));
254
+ _classPrivateFieldInitSpec(this, _O, _init_getSystemInfoTimer(this, null));
255
+ this._localStorageProvider = localStorageProvider;
247
256
  this._monitorControl = monitorControl;
248
257
  this._streamControl = streamControl;
249
258
  this._roomControl = roomControl;
@@ -255,6 +264,13 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
255
264
  this._dialogProvider = dialogProvider;
256
265
  this._sharedSettingDataSource = sharedSettingDataSource;
257
266
  this._settingConfig = settingConfig;
267
+ this._userId = userId;
268
+ if (this._roomControl) {
269
+ this.isPreMeetingSettingsStore = false;
270
+ } else {
271
+ this.isPreMeetingSettingsStore = true;
272
+ }
273
+ this._initDialogConfig();
258
274
  var defaultVideoGallerySize = (0, _parameters.getDefaultVideoGallerySize)(parameters);
259
275
  if (defaultVideoGallerySize) {
260
276
  defaultVideoGallerySize = Math.min(Math.max(defaultVideoGallerySize, 16), 25);
@@ -262,8 +278,8 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
262
278
  this._uiEventStore.addObserver(this._onEventObserver);
263
279
  this._dialogProvider.addObserver(this._onEventObserver);
264
280
  this._monitorControl.addObserver(this._monitorObserver);
265
- this._roomControl.addObserver(this._roomObserver);
266
- this._streamControl.addObserver(this._streamObserver);
281
+ (_this$_roomControl = this._roomControl) === null || _this$_roomControl === void 0 || _this$_roomControl.addObserver(this._roomObserver);
282
+ (_this$_streamControl = this._streamControl) === null || _this$_streamControl === void 0 || _this$_streamControl.addObserver(this._streamObserver);
267
283
  this.startMicrophoneTest = this.startMicrophoneTest.bind(this);
268
284
  this.stopMicrophoneTest = this.stopMicrophoneTest.bind(this);
269
285
  this._syncSystemInfo();
@@ -278,10 +294,11 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
278
294
  this._setupAudioVolumeAnalyzerTask();
279
295
  }
280
296
  var streamInfoList = new Map();
281
- this._streamControl.getStreamList().forEach(function (streamInfo) {
297
+ (_this$_streamControl2 = this._streamControl) === null || _this$_streamControl2 === void 0 || _this$_streamControl2.getStreamList().forEach(function (streamInfo) {
282
298
  streamInfoList.set(streamInfo.streamId, streamInfo);
283
299
  });
284
300
  this._streamInfoList = streamInfoList;
301
+ this.setSetting(this.setting);
285
302
  // @ts-ignore
286
303
  window._settingStore = this;
287
304
  }
@@ -294,7 +311,7 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
294
311
  _classPrivateFieldSet(_A, this, v);
295
312
  }
296
313
  }, {
297
- key: "microphoneVolumeLevel",
314
+ key: "isPreMeetingSettingsStore",
298
315
  get: function get() {
299
316
  return _classPrivateFieldGet(_B, this);
300
317
  },
@@ -302,7 +319,7 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
302
319
  _classPrivateFieldSet(_B, this, v);
303
320
  }
304
321
  }, {
305
- key: "isWifiConnected",
322
+ key: "microphoneVolumeLevel",
306
323
  get: function get() {
307
324
  return _classPrivateFieldGet(_C, this);
308
325
  },
@@ -310,7 +327,7 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
310
327
  _classPrivateFieldSet(_C, this, v);
311
328
  }
312
329
  }, {
313
- key: "dialogConfig",
330
+ key: "isWifiConnected",
314
331
  get: function get() {
315
332
  return _classPrivateFieldGet(_D, this);
316
333
  },
@@ -318,7 +335,7 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
318
335
  _classPrivateFieldSet(_D, this, v);
319
336
  }
320
337
  }, {
321
- key: "networkState",
338
+ key: "dialogConfig",
322
339
  get: function get() {
323
340
  return _classPrivateFieldGet(_E, this);
324
341
  },
@@ -326,7 +343,7 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
326
343
  _classPrivateFieldSet(_E, this, v);
327
344
  }
328
345
  }, {
329
- key: "performanceState",
346
+ key: "networkState",
330
347
  get: function get() {
331
348
  return _classPrivateFieldGet(_F, this);
332
349
  },
@@ -334,7 +351,7 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
334
351
  _classPrivateFieldSet(_F, this, v);
335
352
  }
336
353
  }, {
337
- key: "localAudioStreamMap",
354
+ key: "performanceState",
338
355
  get: function get() {
339
356
  return _classPrivateFieldGet(_G, this);
340
357
  },
@@ -342,7 +359,7 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
342
359
  _classPrivateFieldSet(_G, this, v);
343
360
  }
344
361
  }, {
345
- key: "remoteAudioStreamMap",
362
+ key: "localAudioStreamMap",
346
363
  get: function get() {
347
364
  return _classPrivateFieldGet(_H, this);
348
365
  },
@@ -350,7 +367,7 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
350
367
  _classPrivateFieldSet(_H, this, v);
351
368
  }
352
369
  }, {
353
- key: "localVideoStreamMap",
370
+ key: "remoteAudioStreamMap",
354
371
  get: function get() {
355
372
  return _classPrivateFieldGet(_I, this);
356
373
  },
@@ -358,7 +375,7 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
358
375
  _classPrivateFieldSet(_I, this, v);
359
376
  }
360
377
  }, {
361
- key: "remoteVideoStreamMap",
378
+ key: "localVideoStreamMap",
362
379
  get: function get() {
363
380
  return _classPrivateFieldGet(_J, this);
364
381
  },
@@ -366,7 +383,7 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
366
383
  _classPrivateFieldSet(_J, this, v);
367
384
  }
368
385
  }, {
369
- key: "systemMemorySize",
386
+ key: "remoteVideoStreamMap",
370
387
  get: function get() {
371
388
  return _classPrivateFieldGet(_K, this);
372
389
  },
@@ -374,7 +391,7 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
374
391
  _classPrivateFieldSet(_K, this, v);
375
392
  }
376
393
  }, {
377
- key: "systemCpuDesc",
394
+ key: "systemMemorySize",
378
395
  get: function get() {
379
396
  return _classPrivateFieldGet(_L, this);
380
397
  },
@@ -382,7 +399,7 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
382
399
  _classPrivateFieldSet(_L, this, v);
383
400
  }
384
401
  }, {
385
- key: "config",
402
+ key: "systemCpuDesc",
386
403
  get: function get() {
387
404
  return _classPrivateFieldGet(_M, this);
388
405
  },
@@ -390,13 +407,21 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
390
407
  _classPrivateFieldSet(_M, this, v);
391
408
  }
392
409
  }, {
393
- key: "getSystemInfoTimer",
410
+ key: "config",
394
411
  get: function get() {
395
412
  return _classPrivateFieldGet(_N, this);
396
413
  },
397
414
  set: function set(v) {
398
415
  _classPrivateFieldSet(_N, this, v);
399
416
  }
417
+ }, {
418
+ key: "getSystemInfoTimer",
419
+ get: function get() {
420
+ return _classPrivateFieldGet(_O, this);
421
+ },
422
+ set: function set(v) {
423
+ _classPrivateFieldSet(_O, this, v);
424
+ }
400
425
  }, {
401
426
  key: "maxVideoSendInfo",
402
427
  get: function get() {
@@ -566,37 +591,51 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
566
591
  }, {
567
592
  key: "setting",
568
593
  get: function get() {
569
- var _this$_sharedSettingD;
570
- return (_this$_sharedSettingD = this._sharedSettingDataSource) === null || _this$_sharedSettingD === void 0 ? void 0 : _this$_sharedSettingD.setting;
594
+ return this._sharedSettingDataSource.setting;
571
595
  }
572
596
  }, {
573
597
  key: "settingConfig",
574
598
  get: function get() {
575
599
  return this._settingConfig;
576
600
  }
601
+ }, {
602
+ key: "messageProvider",
603
+ get: function get() {
604
+ return this._messageProvider;
605
+ }
577
606
  }, {
578
607
  key: "enableVirtualBackground",
579
608
  value: function enableVirtualBackground(enable, source) {
580
609
  this._deviceStore.enableVirtualBackground(enable, source);
610
+ this._setMeetingSettingsToLocalStorage({
611
+ enable: enable,
612
+ source: source
613
+ });
581
614
  }
582
615
  }, {
583
616
  key: "setEditBeautyKey",
584
617
  value: function setEditBeautyKey(key) {
585
618
  this._deviceStore.setEditBeautyKey(key);
619
+ this._setMeetingSettingsToLocalStorage({
620
+ editBeautyKey: key
621
+ });
586
622
  }
587
623
  }, {
588
624
  key: "enableBeautyEffect",
589
625
  value: function enableBeautyEffect(enable) {
590
626
  this._deviceStore.enableBeautyEffect(enable);
627
+ this._setMeetingSettingsToLocalStorage({
628
+ enableBeauty: enable
629
+ });
591
630
  }
592
631
  }, {
593
632
  key: "_initReactions",
594
633
  value: function _initReactions() {
595
634
  var _this = this;
596
635
  this._disposers.push((0, _mobx.reaction)(function () {
597
- return _this.setting;
598
- }, function (setting) {
599
- if (setting.shouldHideNonVideoParticipants) {
636
+ return _this.setting.shouldHideNonVideoParticipants;
637
+ }, function (shouldHideNonVideoParticipants) {
638
+ if (shouldHideNonVideoParticipants) {
600
639
  _this._uiEventStore.showToast({
601
640
  type: 'normal',
602
641
  message: (0, _i18n.transI18n)('fmt_internalsetting_other_hide_no_video_toast')
@@ -647,10 +686,16 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
647
686
  key: "setCameraDevice",
648
687
  value: function setCameraDevice(id) {
649
688
  this._deviceStore.setCameraId(id);
689
+ this._setMeetingSettingsToLocalStorage({
690
+ cameraDeviceId: id
691
+ });
650
692
  }
651
693
  }, {
652
694
  key: "setMicrophoneDevice",
653
695
  value: function setMicrophoneDevice(deviceId) {
696
+ this._setMeetingSettingsToLocalStorage({
697
+ microphoneDeviceId: deviceId
698
+ });
654
699
  this._deviceStore.setMicrophoneId(deviceId);
655
700
  }
656
701
  }, {
@@ -666,16 +711,25 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
666
711
  }, {
667
712
  key: "setSpeakerDevice",
668
713
  value: function setSpeakerDevice(deviceId) {
714
+ this._setMeetingSettingsToLocalStorage({
715
+ speakerDeviceId: deviceId
716
+ });
669
717
  this._deviceStore.setSpeakerId(deviceId);
670
718
  }
671
719
  }, {
672
720
  key: "setSpeakerVolume",
673
721
  value: function setSpeakerVolume(value) {
722
+ this._setMeetingSettingsToLocalStorage({
723
+ speakerVolume: value
724
+ });
674
725
  this._deviceStore.setSpeakerVolume(value);
675
726
  }
676
727
  }, {
677
728
  key: "setMicrophoneVolume",
678
729
  value: function setMicrophoneVolume(value) {
730
+ this._setMeetingSettingsToLocalStorage({
731
+ microphoneVolume: value
732
+ });
679
733
  this._deviceStore.setMicrophoneVolume(value);
680
734
  }
681
735
  }, {
@@ -686,6 +740,9 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
686
740
  }, {
687
741
  key: "setBeautyOptions",
688
742
  value: function setBeautyOptions(beautyOption) {
743
+ this._setMeetingSettingsToLocalStorage({
744
+ beautyOptions: _objectSpread(_objectSpread({}, this.beautyOptions), beautyOption)
745
+ });
689
746
  return this._deviceStore.setBeautyOptions(beautyOption);
690
747
  }
691
748
  }, {
@@ -744,6 +801,9 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
744
801
  _this4.startVideo(enable);
745
802
  });
746
803
  this._deviceStore.toggleLocalMirror(enable);
804
+ this._setMeetingSettingsToLocalStorage({
805
+ isLocalMirrorEnabled: enable
806
+ });
747
807
  }
748
808
  }, {
749
809
  key: "setSettingVideoOpened",
@@ -769,24 +829,12 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
769
829
  case 2:
770
830
  _yield$window$runtime = _context.sent;
771
831
  isWifiConnected = _yield$window$runtime.isWifiConnected;
772
- // const { cpuUsage, memoryUsage, totalCpuUsage, totalMemoryUsage } =
773
- // await window.runtime.getRendererProcessUsage();
774
-
775
832
  (0, _mobx.runInAction)(function () {
776
833
  var cpus = window.runtime.getSystemCpuInfo();
777
834
  var cpuInfo = cpus.length === 0 ? '' : "".concat(cpus.length, "-").concat(cpus[0].model);
778
835
  _this5.systemCpuDesc = cpuInfo;
779
836
  _this5.systemMemorySize = window.runtime.getSystemMemorySize() / 1024;
780
837
  _this5.isWifiConnected = isWifiConnected;
781
-
782
- // this.performanceState.cpuAppUsage = Number(cpuUsage.toFixed(2));
783
- // this.performanceState.cpuOtherAppUsage = Number((totalCpuUsage - cpuUsage).toFixed(2));
784
- // this.performanceState.cpuTotalUsage = totalCpuUsage;
785
- // this.performanceState.memoryAppUsageRatio = (memoryUsage / totalMemoryUsage) * 100;
786
- // this.performanceState.memoryAppUsageInKbytes = memoryUsage / 1024;
787
- // this.performanceState.memoryOtherAppUsageInKbytes = (totalMemoryUsage - memoryUsage) / 1024;
788
- // this.performanceState.memoryOtherAppUsageRatio = (totalMemoryUsage - memoryUsage) / 1024;
789
- // this.performanceState.memoryTotalUsageRatio = (memoryUsage / totalMemoryUsage) * 100;
790
838
  });
791
839
  case 5:
792
840
  case "end":
@@ -808,10 +856,35 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
808
856
  track.setCaptureParams(_objectSpread(_objectSpread({}, _config.hdCameraVideoEncoderConfig), {}, {
809
857
  isMirror: this._deviceStore.currentIsMirror
810
858
  }));
859
+ this._setVideoEncoderConfigForCameraStream(_config.hdCameraVideoEncoderConfig);
811
860
  } else {
812
861
  track.setCaptureParams(_objectSpread(_objectSpread({}, _config.defaultCameraVideoEncoderConfig), {}, {
813
862
  isMirror: this._deviceStore.currentIsMirror
814
863
  }));
864
+ this._setVideoEncoderConfigForCameraStream(_config.defaultCameraVideoEncoderConfig);
865
+ }
866
+ }
867
+ }, {
868
+ key: "_setVideoEncoderConfigForCameraStream",
869
+ value: function _setVideoEncoderConfigForCameraStream(config) {
870
+ var _this$_streamControl3;
871
+ var localStreams = (_this$_streamControl3 = this._streamControl) === null || _this$_streamControl3 === void 0 ? void 0 : _this$_streamControl3.getStreamsByUserId(this._userId);
872
+ if (localStreams) {
873
+ var _iterator = _createForOfIteratorHelper(localStreams),
874
+ _step;
875
+ try {
876
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
877
+ var stream = _step.value;
878
+ if (stream.videoSourceType === _fcrCore.FcrVideoSourceType.CAMERA) {
879
+ var _this$_streamControl4;
880
+ (_this$_streamControl4 = this._streamControl) === null || _this$_streamControl4 === void 0 || _this$_streamControl4.setVideoEncoderConfig(stream.streamId, config, _fcrCore.FcrVideoStreamType.HIGH_STREAM);
881
+ }
882
+ }
883
+ } catch (err) {
884
+ _iterator.e(err);
885
+ } finally {
886
+ _iterator.f();
887
+ }
815
888
  }
816
889
  }
817
890
 
@@ -882,31 +955,35 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
882
955
  }, {
883
956
  key: "release",
884
957
  value: function release() {
958
+ var _this$_roomControl2, _this$_streamControl5;
885
959
  if (this.getSystemInfoTimer) {
886
960
  this.clearGetSystemInfoInterval();
887
961
  }
888
962
  this._monitorControl.removeObserver(this._monitorObserver);
889
963
  this._dialogProvider.removeObserver(this._onEventObserver);
890
964
  this._uiEventStore.removeObserver(this._onEventObserver);
891
- this._roomControl.removeObserver(this._roomObserver);
892
- this._streamControl.removeObserver(this._streamObserver);
965
+ (_this$_roomControl2 = this._roomControl) === null || _this$_roomControl2 === void 0 || _this$_roomControl2.removeObserver(this._roomObserver);
966
+ (_this$_streamControl5 = this._streamControl) === null || _this$_streamControl5 === void 0 || _this$_streamControl5.removeObserver(this._streamObserver);
893
967
  this._disposeReactions();
894
968
  }
895
969
  }, {
896
970
  key: "setDialogConfig",
897
971
  value: function setDialogConfig(dialogConfig) {
898
972
  Object.assign(this.dialogConfig, dialogConfig);
973
+ this._setMeetingSettingsToLocalStorage({
974
+ dialogConfig: this.dialogConfig
975
+ });
899
976
  }
900
977
  }, {
901
978
  key: "setSetting",
902
979
  value: function setSetting(setting) {
903
- var _this$_sharedSettingD2,
904
- _this6 = this;
980
+ var _this6 = this;
905
981
  var newSetting = this._preHandleSetting(setting);
906
982
  var assignedSetting = _objectSpread(_objectSpread({}, this.setting), newSetting);
907
- (_this$_sharedSettingD2 = this._sharedSettingDataSource) === null || _this$_sharedSettingD2 === void 0 || _this$_sharedSettingD2.setSetting(assignedSetting);
983
+ this._sharedSettingDataSource.setSetting(assignedSetting);
908
984
  if (newSetting.displayedMaxAttendees) {
909
- this._sharedLayoutDataSource.setLayoutSize(newSetting.displayedMaxAttendees);
985
+ var _this$_sharedLayoutDa;
986
+ (_this$_sharedLayoutDa = this._sharedLayoutDataSource) === null || _this$_sharedLayoutDa === void 0 || _this$_sharedLayoutDa.setLayoutSize(newSetting.displayedMaxAttendees);
910
987
  }
911
988
  var settingActions = {
912
989
  autoAdjustmentMicrophoneVolume: function autoAdjustmentMicrophoneVolume(enable) {
@@ -955,7 +1032,7 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
955
1032
  var _ref3 = payload,
956
1033
  dialogId = _ref3.dialogId,
957
1034
  config = (0, _objectWithoutProperties2["default"])(_ref3, _excluded);
958
- this._currentDialogId = dialogId;
1035
+ // this._currentDialogId = dialogId;
959
1036
  this.setDialogConfig(config);
960
1037
  }
961
1038
  }
@@ -967,49 +1044,6 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
967
1044
  this.networkState[key] = Math.floor(stats[key]);
968
1045
  }
969
1046
  }
970
- }, {
971
- key: "calculateSystemInfo",
972
- value: function () {
973
- var _calculateSystemInfo = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee2() {
974
- var _yield$window$runtime2, cpuUsage, memoryUsage, totalCpuUsage, totalMemoryUsage;
975
- return _regenerator["default"].wrap(function _callee2$(_context2) {
976
- while (1) switch (_context2.prev = _context2.next) {
977
- case 0:
978
- _context2.next = 2;
979
- return window.runtime.getRendererProcessUsage();
980
- case 2:
981
- _yield$window$runtime2 = _context2.sent;
982
- cpuUsage = _yield$window$runtime2.cpuUsage;
983
- memoryUsage = _yield$window$runtime2.memoryUsage;
984
- totalCpuUsage = _yield$window$runtime2.totalCpuUsage;
985
- totalMemoryUsage = _yield$window$runtime2.totalMemoryUsage;
986
- this.performanceState.cpuAppUsage = Number(cpuUsage.toFixed(2));
987
- this.performanceState.cpuOtherAppUsage = Number((totalCpuUsage - cpuUsage).toFixed(2));
988
- this.performanceState.cpuTotalUsage = totalCpuUsage;
989
- this.performanceState.memoryAppUsageRatio = memoryUsage / totalMemoryUsage * 100;
990
- this.performanceState.memoryAppUsageInKbytes = memoryUsage / 1024;
991
- this.performanceState.memoryOtherAppUsageInKbytes = (totalMemoryUsage - memoryUsage) / 1024;
992
- this.performanceState.memoryOtherAppUsageRatio = (totalMemoryUsage - memoryUsage) / 1024;
993
- this.performanceState.memoryTotalUsageRatio = memoryUsage / totalMemoryUsage * 100;
994
- case 15:
995
- case "end":
996
- return _context2.stop();
997
- }
998
- }, _callee2, this);
999
- }));
1000
- function calculateSystemInfo() {
1001
- return _calculateSystemInfo.apply(this, arguments);
1002
- }
1003
- return calculateSystemInfo;
1004
- }()
1005
- }, {
1006
- key: "getSystemInformation",
1007
- value: function getSystemInformation() {
1008
- if (!this.performanceState.cpuAppUsage && !this.performanceState.memoryAppUsageInKbytes) this.calculateSystemInfo();
1009
- if (!this.getSystemInfoTimer) {
1010
- this.getSystemInfoTimer = setInterval(this.calculateSystemInfo, 10000);
1011
- }
1012
- }
1013
1047
  }, {
1014
1048
  key: "clearGetSystemInfoInterval",
1015
1049
  value: function clearGetSystemInfoInterval() {
@@ -1069,27 +1103,27 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
1069
1103
  }, {
1070
1104
  key: "_onStreamsAdded",
1071
1105
  value: function _onStreamsAdded(roomId, events) {
1072
- var _iterator = _createForOfIteratorHelper(events),
1073
- _step;
1106
+ var _iterator2 = _createForOfIteratorHelper(events),
1107
+ _step2;
1074
1108
  try {
1075
- for (_iterator.s(); !(_step = _iterator.n()).done;) {
1076
- var event = _step.value;
1109
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
1110
+ var event = _step2.value;
1077
1111
  this._streamInfoList.set(event.modifiedStream.streamId, event.modifiedStream);
1078
1112
  }
1079
1113
  } catch (err) {
1080
- _iterator.e(err);
1114
+ _iterator2.e(err);
1081
1115
  } finally {
1082
- _iterator.f();
1116
+ _iterator2.f();
1083
1117
  }
1084
1118
  }
1085
1119
  }, {
1086
1120
  key: "_onStreamsUpdated",
1087
1121
  value: function _onStreamsUpdated(roomId, events) {
1088
- var _iterator2 = _createForOfIteratorHelper(events),
1089
- _step2;
1122
+ var _iterator3 = _createForOfIteratorHelper(events),
1123
+ _step3;
1090
1124
  try {
1091
- for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
1092
- var event = _step2.value;
1125
+ for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
1126
+ var event = _step3.value;
1093
1127
  if (event.modifiedStream.audioSourceState !== _fcrCore.FcrMediaSourceState.OPEN) {
1094
1128
  this.localAudioStreamMap["delete"](event.modifiedStream.streamId);
1095
1129
  this.remoteAudioStreamMap["delete"](event.modifiedStream.streamId);
@@ -1102,19 +1136,19 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
1102
1136
  this._streamInfoList.set(event.modifiedStream.streamId, event.modifiedStream);
1103
1137
  }
1104
1138
  } catch (err) {
1105
- _iterator2.e(err);
1139
+ _iterator3.e(err);
1106
1140
  } finally {
1107
- _iterator2.f();
1141
+ _iterator3.f();
1108
1142
  }
1109
1143
  }
1110
1144
  }, {
1111
1145
  key: "_onStreamsRemoved",
1112
1146
  value: function _onStreamsRemoved(roomId, events) {
1113
- var _iterator3 = _createForOfIteratorHelper(events),
1114
- _step3;
1147
+ var _iterator4 = _createForOfIteratorHelper(events),
1148
+ _step4;
1115
1149
  try {
1116
- for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
1117
- var event = _step3.value;
1150
+ for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
1151
+ var event = _step4.value;
1118
1152
  this.localAudioStreamMap["delete"](event.modifiedStream.streamId);
1119
1153
  this.remoteAudioStreamMap["delete"](event.modifiedStream.streamId);
1120
1154
  this.localVideoStreamMap["delete"](event.modifiedStream.streamId);
@@ -1123,9 +1157,9 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
1123
1157
  this._streamInfoList["delete"](event.modifiedStream.streamId);
1124
1158
  }
1125
1159
  } catch (err) {
1126
- _iterator3.e(err);
1160
+ _iterator4.e(err);
1127
1161
  } finally {
1128
- _iterator3.f();
1162
+ _iterator4.f();
1129
1163
  }
1130
1164
  }
1131
1165
  }, {
@@ -1159,18 +1193,18 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
1159
1193
  }, {
1160
1194
  key: "_handleCameraListUpdated",
1161
1195
  value: function () {
1162
- var _handleCameraListUpdated2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee3(cameraList) {
1163
- return _regenerator["default"].wrap(function _callee3$(_context3) {
1164
- while (1) switch (_context3.prev = _context3.next) {
1196
+ var _handleCameraListUpdated2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee2(cameraList) {
1197
+ return _regenerator["default"].wrap(function _callee2$(_context2) {
1198
+ while (1) switch (_context2.prev = _context2.next) {
1165
1199
  case 0:
1166
1200
  if (cameraList.length > 0) {
1167
1201
  this._settingVideoOpened && this._deviceStore.startOrStopCamera(true);
1168
1202
  }
1169
1203
  case 1:
1170
1204
  case "end":
1171
- return _context3.stop();
1205
+ return _context2.stop();
1172
1206
  }
1173
- }, _callee3, this);
1207
+ }, _callee2, this);
1174
1208
  }));
1175
1209
  function _handleCameraListUpdated(_x) {
1176
1210
  return _handleCameraListUpdated2.apply(this, arguments);
@@ -1193,23 +1227,50 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
1193
1227
  }
1194
1228
  return newSetting;
1195
1229
  }
1230
+ }, {
1231
+ key: "_setMeetingSettingsToLocalStorage",
1232
+ value: function _setMeetingSettingsToLocalStorage(value) {
1233
+ var oldValue = this._getMeetingSettingsFromLocalStorage() || {};
1234
+ this._localStorageProvider.write(SETTING_KEY, _objectSpread(_objectSpread({}, oldValue), value));
1235
+ }
1236
+ }, {
1237
+ key: "_getMeetingSettingsFromLocalStorage",
1238
+ value: function _getMeetingSettingsFromLocalStorage() {
1239
+ return this._localStorageProvider.read(SETTING_KEY);
1240
+ }
1241
+ }, {
1242
+ key: "_initDialogConfig",
1243
+ value: function _initDialogConfig() {
1244
+ var value = this._getMeetingSettingsFromLocalStorage();
1245
+ if (value && !this.isPreMeetingSettingsStore) {
1246
+ var _value$dialogConfig;
1247
+ this.dialogConfig = (_value$dialogConfig = value.dialogConfig) !== null && _value$dialogConfig !== void 0 ? _value$dialogConfig : this.dialogConfig;
1248
+ }
1249
+ }
1250
+ }, {
1251
+ key: "changeMediaSetting",
1252
+ value: function changeMediaSetting(key, value) {
1253
+ this.settingConfig.media[key] = value;
1254
+ this._setMeetingSettingsToLocalStorage((0, _defineProperty2["default"])({}, key, value));
1255
+ }
1196
1256
  }]);
1197
1257
  }();
1198
1258
  _SettingStore = SettingStore;
1199
- var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_SettingStore, [[_mobx.observable, 1, "loudestStreamVolumeLevel"], [_mobx.observable, 1, "microphoneVolumeLevel"], [_mobx.observable, 1, "isWifiConnected"], [_mobx.observable, 1, "dialogConfig"], [_mobx.observable, 1, "networkState"], [_mobx.observable, 1, "performanceState"], [_mobx.observable, 1, "localAudioStreamMap"], [_mobx.observable, 1, "remoteAudioStreamMap"], [_mobx.observable, 1, "localVideoStreamMap"], [_mobx.observable, 1, "remoteVideoStreamMap"], [_mobx.observable, 1, "systemMemorySize"], [_mobx.observable, 1, "systemCpuDesc"], [_mobx.observable, 1, "config"], [_mobx.observable, 1, "getSystemInfoTimer"], [_mobx.computed, 3, "maxVideoSendInfo"], [_mobx.computed, 3, "maxVideoReceiveInfo"], [_mobx.computed, 3, "sendScreenShareInfo"], [_mobx.computed, 3, "receiveScreenShareInfo"], [_mobx.computed, 3, "microphoneVolumeDb"], [_mobx.computed, 3, "speakerVolumeDb"], [_mobx.computed, 3, "speakerTestVolumeLevel"], [_mobx.computed, 3, "microphoneTestVolumeLevel"], [_mobx.computed, 3, "speakerVolume"], [_mobx.computed, 3, "microphoneVolume"], [_mobx.computed, 3, "isLocalMirrorEnabled"], [_mobx.computed, 3, "isLocalEditBeautyOptions"], [_mobx.computed, 3, "currentBeautyKey"], [_mobx.computed, 3, "beautyOptions"], [_mobx.computed, 3, "cameraDeviceId"], [_mobx.computed, 3, "cameraEnabled"], [_mobx.computed, 3, "showForceOpenEffectDialog"], [_mobx.computed, 3, "currentVirtualBackgroundName"], [_mobx.computed, 3, "cameraDeviceList"], [_mobx.computed, 3, "microphoneDeviceId"], [_mobx.computed, 3, "speakerDeviceId"], [_mobx.computed, 3, "speakerDeviceList"], [_mobx.computed, 3, "microphoneDeviceList"], [_mobx.computed, 3, "enableBeauty"], [_mobx.computed, 3, "virtualBackgroundList"], [_mobx.computed, 3, "currentIsMirror"], [_mobx.computed, 3, "microphoneDetecting"], [_mobx.computed, 3, "speakerDetecting"], [_mobx.computed, 3, "setting"], [_decorator.bound, 2, "enableVirtualBackground"], [_decorator.bound, 2, "setEditBeautyKey"], [_decorator.bound, 2, "enableBeautyEffect"], [_decorator.bound, 2, "_initReactions"], [_decorator.bound, 2, "setCameraDevice"], [_decorator.bound, 2, "setMicrophoneDevice"], [_decorator.bound, 2, "stopSpeakerTest"], [_decorator.bound, 2, "startSpeakerTest"], [_decorator.bound, 2, "setSpeakerDevice"], [_decorator.bound, 2, "setSpeakerVolume"], [_decorator.bound, 2, "setMicrophoneVolume"], [_decorator.bound, 2, "setVideoOrientation"], [_decorator.bound, 2, "setBeautyOptions"], [_decorator.bound, 2, "toggleLocalMirrorPreview"], [_decorator.bound, 2, "startVideo"], [_decorator.bound, 2, "stopVideo"], [_decorator.bound, 2, "handleForceOpenVideoEffect"], [_decorator.bound, 2, "handleCancelForceOpenVideoEffect"], [_decorator.bound, 2, "toggleLocalMirror"], [_decorator.bound, 2, "setSettingVideoOpened"], [_decorator.bound, 2, "_syncSystemInfo"], [_decorator.bound, 2, "startCameraTest"], [_decorator.bound, 2, "stopCameraTest"], [_setDialogConfigDecs, 18, "setDialogConfig"], [_setSettingDecs, 18, "setSetting"], [_onEventDecs, 18, "_onEvent"], [_onNetworkStatsUpdatedDecs, 18, "_onNetworkStatsUpdated"], [_calculateSystemInfoDecs, 18, "calculateSystemInfo"], [_getSystemInformationDecs, 18, "getSystemInformation"], [_clearGetSystemInfoIntervalDecs, 18, "clearGetSystemInfoInterval"], [_closeDialogDecs, 18, "closeDialog"], [_onLocalAudioStatsUpdatedDecs, 18, "_onLocalAudioStatsUpdated"], [_onRemoteAudioStatsUpdatedDecs, 18, "_onRemoteAudioStatsUpdated"], [_onLocalVideoStatsUpdatedDecs, 18, "_onLocalVideoStatsUpdated"], [_onRemoteVideoStatsUpdatedDecs, 18, "_onRemoteVideoStatsUpdated"], [_onStreamsAddedDecs, 18, "_onStreamsAdded"], [_onStreamsUpdatedDecs, 18, "_onStreamsUpdated"], [_onStreamsRemovedDecs, 18, "_onStreamsRemoved"], [_onPerformanceUpdatedDecs, 18, "_onPerformanceUpdated"], [_decorator.bound, 2, "_handleCameraChanged"], [_decorator.bound, 2, "_handleCameraListUpdated"], [_onAudioVolumeUpdatedDecs, 18, "_onAudioVolumeUpdated"], [_preHandleSettingDecs, 18, "_preHandleSetting"]], []).e, 15);
1259
+ var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_SettingStore, [[_mobx.observable, 1, "loudestStreamVolumeLevel"], [_mobx.observable, 1, "isPreMeetingSettingsStore"], [_mobx.observable, 1, "microphoneVolumeLevel"], [_mobx.observable, 1, "isWifiConnected"], [_mobx.observable, 1, "dialogConfig"], [_mobx.observable, 1, "networkState"], [_mobx.observable, 1, "performanceState"], [_mobx.observable, 1, "localAudioStreamMap"], [_mobx.observable, 1, "remoteAudioStreamMap"], [_mobx.observable, 1, "localVideoStreamMap"], [_mobx.observable, 1, "remoteVideoStreamMap"], [_mobx.observable, 1, "systemMemorySize"], [_mobx.observable, 1, "systemCpuDesc"], [_mobx.observable, 1, "config"], [_mobx.observable, 1, "getSystemInfoTimer"], [_mobx.computed, 3, "maxVideoSendInfo"], [_mobx.computed, 3, "maxVideoReceiveInfo"], [_mobx.computed, 3, "sendScreenShareInfo"], [_mobx.computed, 3, "receiveScreenShareInfo"], [_mobx.computed, 3, "microphoneVolumeDb"], [_mobx.computed, 3, "speakerVolumeDb"], [_mobx.computed, 3, "speakerTestVolumeLevel"], [_mobx.computed, 3, "microphoneTestVolumeLevel"], [_mobx.computed, 3, "speakerVolume"], [_mobx.computed, 3, "microphoneVolume"], [_mobx.computed, 3, "isLocalMirrorEnabled"], [_mobx.computed, 3, "isLocalEditBeautyOptions"], [_mobx.computed, 3, "currentBeautyKey"], [_mobx.computed, 3, "beautyOptions"], [_mobx.computed, 3, "cameraDeviceId"], [_mobx.computed, 3, "cameraEnabled"], [_mobx.computed, 3, "showForceOpenEffectDialog"], [_mobx.computed, 3, "currentVirtualBackgroundName"], [_mobx.computed, 3, "cameraDeviceList"], [_mobx.computed, 3, "microphoneDeviceId"], [_mobx.computed, 3, "speakerDeviceId"], [_mobx.computed, 3, "speakerDeviceList"], [_mobx.computed, 3, "microphoneDeviceList"], [_mobx.computed, 3, "enableBeauty"], [_mobx.computed, 3, "virtualBackgroundList"], [_mobx.computed, 3, "currentIsMirror"], [_mobx.computed, 3, "microphoneDetecting"], [_mobx.computed, 3, "speakerDetecting"], [_mobx.computed, 3, "setting"], [_decorator.bound, 2, "enableVirtualBackground"], [_decorator.bound, 2, "setEditBeautyKey"], [_decorator.bound, 2, "enableBeautyEffect"], [_decorator.bound, 2, "_initReactions"], [_decorator.bound, 2, "setCameraDevice"], [_decorator.bound, 2, "setMicrophoneDevice"], [_decorator.bound, 2, "stopSpeakerTest"], [_decorator.bound, 2, "startSpeakerTest"], [_decorator.bound, 2, "setSpeakerDevice"], [_decorator.bound, 2, "setSpeakerVolume"], [_decorator.bound, 2, "setMicrophoneVolume"], [_decorator.bound, 2, "setVideoOrientation"], [_decorator.bound, 2, "setBeautyOptions"], [_decorator.bound, 2, "toggleLocalMirrorPreview"], [_decorator.bound, 2, "startVideo"], [_decorator.bound, 2, "stopVideo"], [_decorator.bound, 2, "handleForceOpenVideoEffect"], [_decorator.bound, 2, "handleCancelForceOpenVideoEffect"], [_decorator.bound, 2, "toggleLocalMirror"], [_decorator.bound, 2, "setSettingVideoOpened"], [_decorator.bound, 2, "_syncSystemInfo"], [_decorator.bound, 2, "startCameraTest"], [_decorator.bound, 2, "stopCameraTest"], [_setDialogConfigDecs, 18, "setDialogConfig"], [_setSettingDecs, 18, "setSetting"], [_onEventDecs, 18, "_onEvent"], [_onNetworkStatsUpdatedDecs, 18, "_onNetworkStatsUpdated"], [_clearGetSystemInfoIntervalDecs, 18, "clearGetSystemInfoInterval"], [_closeDialogDecs, 18, "closeDialog"], [_onLocalAudioStatsUpdatedDecs, 18, "_onLocalAudioStatsUpdated"], [_onRemoteAudioStatsUpdatedDecs, 18, "_onRemoteAudioStatsUpdated"], [_onLocalVideoStatsUpdatedDecs, 18, "_onLocalVideoStatsUpdated"], [_onRemoteVideoStatsUpdatedDecs, 18, "_onRemoteVideoStatsUpdated"], [_onStreamsAddedDecs, 18, "_onStreamsAdded"], [_onStreamsUpdatedDecs, 18, "_onStreamsUpdated"], [_onStreamsRemovedDecs, 18, "_onStreamsRemoved"], [_onPerformanceUpdatedDecs, 18, "_onPerformanceUpdated"], [_decorator.bound, 2, "_handleCameraChanged"], [_decorator.bound, 2, "_handleCameraListUpdated"], [_onAudioVolumeUpdatedDecs, 18, "_onAudioVolumeUpdated"], [_preHandleSettingDecs, 18, "_preHandleSetting"], [_setMeetingSettingsToLocalStorageDecs, 18, "_setMeetingSettingsToLocalStorage"], [_getMeetingSettingsFromLocalStorageDecs, 18, "_getMeetingSettingsFromLocalStorage"], [_initDialogConfigDecs, 18, "_initDialogConfig"], [_changeMediaSettingDecs, 18, "changeMediaSetting"]], []).e, 16);
1200
1260
  _init_loudestStreamVolumeLevel = _applyDecs$e[0];
1201
- _init_microphoneVolumeLevel = _applyDecs$e[1];
1202
- _init_isWifiConnected = _applyDecs$e[2];
1203
- _init_dialogConfig = _applyDecs$e[3];
1204
- _init_networkState = _applyDecs$e[4];
1205
- _init_performanceState = _applyDecs$e[5];
1206
- _init_localAudioStreamMap = _applyDecs$e[6];
1207
- _init_remoteAudioStreamMap = _applyDecs$e[7];
1208
- _init_localVideoStreamMap = _applyDecs$e[8];
1209
- _init_remoteVideoStreamMap = _applyDecs$e[9];
1210
- _init_systemMemorySize = _applyDecs$e[10];
1211
- _init_systemCpuDesc = _applyDecs$e[11];
1212
- _init_config = _applyDecs$e[12];
1213
- _init_getSystemInfoTimer = _applyDecs$e[13];
1214
- _initProto = _applyDecs$e[14];
1261
+ _init_isPreMeetingSettingsStore = _applyDecs$e[1];
1262
+ _init_microphoneVolumeLevel = _applyDecs$e[2];
1263
+ _init_isWifiConnected = _applyDecs$e[3];
1264
+ _init_dialogConfig = _applyDecs$e[4];
1265
+ _init_networkState = _applyDecs$e[5];
1266
+ _init_performanceState = _applyDecs$e[6];
1267
+ _init_localAudioStreamMap = _applyDecs$e[7];
1268
+ _init_remoteAudioStreamMap = _applyDecs$e[8];
1269
+ _init_localVideoStreamMap = _applyDecs$e[9];
1270
+ _init_remoteVideoStreamMap = _applyDecs$e[10];
1271
+ _init_systemMemorySize = _applyDecs$e[11];
1272
+ _init_systemCpuDesc = _applyDecs$e[12];
1273
+ _init_config = _applyDecs$e[13];
1274
+ _init_getSystemInfoTimer = _applyDecs$e[14];
1275
+ _initProto = _applyDecs$e[15];
1215
1276
  var StoreContext = exports.StoreContext = /*#__PURE__*/(0, _react.createContext)(null);