fcr-ui-scene 3.5.1 → 3.6.1

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 (395) 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 +145 -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 +39 -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/board/index.js +0 -2
  22. package/lib/modules/action-bar/components/breakout-room/index.js +0 -2
  23. package/lib/modules/action-bar/components/item/index.d.ts +2 -0
  24. package/lib/modules/action-bar/components/item/index.js +4 -2
  25. package/lib/modules/action-bar/components/leave/index.js +2 -12
  26. package/lib/modules/action-bar/components/more/index.js +1 -0
  27. package/lib/modules/action-bar/components/more/poppover-content.js +6 -9
  28. package/lib/modules/action-bar/components/participants/index.js +1 -9
  29. package/lib/modules/action-bar/components/record/index.js +43 -106
  30. package/lib/modules/action-bar/components/record/popover.d.ts +4 -0
  31. package/lib/modules/action-bar/components/record/popover.js +57 -0
  32. package/lib/modules/action-bar/components/record/stop-record-dialog.js +1 -0
  33. package/lib/modules/action-bar/components/screen-share/index.js +11 -3
  34. package/lib/modules/action-bar/components/screen-share/submenu.js +2 -2
  35. package/lib/modules/action-bar/components/security/index.js +2 -1
  36. package/lib/modules/action-bar/components/smaller/index.js +1 -1
  37. package/lib/modules/action-bar/components/trigger-output-language/index.js +17 -22
  38. package/lib/modules/action-bar/components/trigger-subscribe-language/index.js +2 -1
  39. package/lib/modules/action-bar/index.css +3 -2
  40. package/lib/modules/action-bar/index.js +2 -1
  41. package/lib/modules/action-bar/store.d.ts +5 -2
  42. package/lib/modules/action-bar/store.js +34 -22
  43. package/lib/modules/action-bar/types.d.ts +1 -0
  44. package/lib/modules/action-bar/view.js +1 -1
  45. package/lib/modules/audio-stream/index.js +4 -4
  46. package/lib/modules/chat/chat-room-store.js +4 -5
  47. package/lib/modules/chat/components/chat-bar/index.d.ts +1 -1
  48. package/lib/modules/chat/components/chat-bar/index.js +5 -3
  49. package/lib/modules/chat/components/chat-select/select-item/index.js +1 -1
  50. package/lib/modules/chat/components/message-list/index.js +1 -2
  51. package/lib/modules/chat/components/message-list/message-item/index.d.ts +0 -1
  52. package/lib/modules/chat/components/message-list/message-item/index.js +9 -10
  53. package/lib/modules/chat/index.css +24 -0
  54. package/lib/modules/chat/view.js +13 -3
  55. package/lib/modules/components/device-control/components/carmera/index.js +4 -5
  56. package/lib/modules/components/device-control/components/microphone/index.js +4 -5
  57. package/lib/modules/components/device-control/index.css +6 -3
  58. package/lib/modules/components/leave-meeting/components/assign-host.js +26 -4
  59. package/lib/modules/components/leave-meeting/components/index.css +35 -0
  60. package/lib/modules/components/leave-meeting/index.js +1 -0
  61. package/lib/modules/components/leave-meeting/store.js +25 -67
  62. package/lib/modules/components/member-window/components/member-actions/components/audio-control.js +3 -2
  63. package/lib/modules/components/member-window/components/member-actions/components/icon-buttons/index.js +1 -2
  64. package/lib/modules/components/member-window/components/member-actions/components/icon-status.js +10 -9
  65. package/lib/modules/components/member-window/components/member-actions/components/more-actions.js +2 -2
  66. package/lib/modules/components/member-window/components/member-actions/components/user-info.js +1 -1
  67. package/lib/modules/components/member-window/components/member-actions/index.js +2 -4
  68. package/lib/modules/components/member-window/components/member-actions/libs/index.js +0 -1
  69. package/lib/modules/components/member-window/components/video-player/components/remote-video-player.d.ts +1 -1
  70. package/lib/modules/components/member-window/components/video-player/components/remote-video-player.js +4 -16
  71. package/lib/modules/components/member-window/index.css +19 -7
  72. package/lib/modules/components/member-window/index.js +0 -1
  73. package/lib/modules/components/member-window/types.d.ts +1 -1
  74. package/lib/modules/components/security-menu/index.css +2 -2
  75. package/lib/modules/components/security-menu/index.js +80 -28
  76. package/lib/modules/components/tab-frame/index.css +1 -1
  77. package/lib/modules/connection-gateway/components/phone/index.js +1 -1
  78. package/lib/modules/control-bar/components/meeting-details/index.css +1 -1
  79. package/lib/modules/control-bar/components/meeting-details/index.js +15 -9
  80. package/lib/modules/control-bar/components/more-actions/index.js +3 -21
  81. package/lib/modules/control-bar/components/share-state-nav/index.js +4 -20
  82. package/lib/modules/control-bar/index.d.ts +2 -0
  83. package/lib/modules/control-bar/index.js +3 -1
  84. package/lib/modules/control-bar/store.d.ts +12 -3
  85. package/lib/modules/control-bar/store.js +106 -98
  86. package/lib/modules/control-bar/view.js +1 -6
  87. package/lib/modules/device-pretest/audio-preview/speaker-detection.js +1 -1
  88. package/lib/modules/dialog/components/chat/electron.d.ts +1 -3
  89. package/lib/modules/dialog/components/chat/index.js +24 -17
  90. package/lib/modules/dialog/components/confirm-leave-meeting/index.d.ts +6 -0
  91. package/lib/modules/dialog/components/confirm-leave-meeting/index.js +86 -0
  92. package/lib/modules/dialog/components/control-bar/index.d.ts +1 -2
  93. package/lib/modules/dialog/components/control-bar/index.js +5 -17
  94. package/lib/modules/dialog/components/dialog-container/component/body.d.ts +1 -0
  95. package/lib/modules/dialog/components/dialog-container/component/body.js +4 -2
  96. package/lib/modules/dialog/components/dialog-container/index.css +18 -1
  97. package/lib/modules/dialog/components/dialog-container/index.d.ts +1 -0
  98. package/lib/modules/dialog/components/dialog-container/index.js +3 -1
  99. package/lib/modules/dialog/components/participant/index.d.ts +0 -1
  100. package/lib/modules/dialog/components/participant/index.js +15 -24
  101. package/lib/modules/dialog/components/pre-setting/electron.d.ts +2 -0
  102. package/lib/modules/dialog/components/pre-setting/electron.js +51 -0
  103. package/lib/modules/dialog/components/pre-setting/index.css +26 -0
  104. package/lib/modules/dialog/components/pre-setting/index.d.ts +6 -0
  105. package/lib/modules/dialog/components/pre-setting/index.js +38 -0
  106. package/lib/modules/dialog/components/pre-setting-container/component/body.d.ts +8 -0
  107. package/lib/modules/dialog/components/pre-setting-container/component/body.js +80 -0
  108. package/lib/modules/dialog/components/pre-setting-container/index.css +82 -0
  109. package/lib/modules/dialog/components/pre-setting-container/index.d.ts +18 -0
  110. package/lib/modules/dialog/components/pre-setting-container/index.js +117 -0
  111. package/lib/modules/dialog/components/rename/index.d.ts +4 -0
  112. package/lib/modules/dialog/components/rename/index.js +72 -0
  113. package/lib/modules/dialog/components/share-screen-selection/index.js +1 -2
  114. package/lib/modules/dialog/components/video-window/index.js +18 -16
  115. package/lib/modules/dialog/components/widget/electron.d.ts +2 -1
  116. package/lib/modules/dialog/components/widget/electron.js +3 -2
  117. package/lib/modules/dialog/components/widget/index.d.ts +2 -1
  118. package/lib/modules/dialog/components/widget/index.js +4 -6
  119. package/lib/modules/dialog/dialogs.d.ts +1 -0
  120. package/lib/modules/dialog/dialogs.js +3 -2
  121. package/lib/modules/dialog/hooks/useElectron.d.ts +2 -0
  122. package/lib/modules/dialog/hooks/useElectron.js +22 -101
  123. package/lib/modules/dialog/index.d.ts +2 -0
  124. package/lib/modules/dialog/index.js +2 -2
  125. package/lib/modules/dialog/store.d.ts +8 -3
  126. package/lib/modules/dialog/store.js +38 -26
  127. package/lib/modules/dialog/type.d.ts +1 -0
  128. package/lib/modules/dialog/view.js +2 -1
  129. package/lib/modules/event-confirm/index.d.ts +2 -0
  130. package/lib/modules/event-confirm/index.js +2 -1
  131. package/lib/modules/event-confirm/store.d.ts +9 -1
  132. package/lib/modules/event-confirm/store.js +100 -8
  133. package/lib/modules/event-confirm/view.js +55 -46
  134. package/lib/modules/{sound-effect → event-sound}/index.d.ts +3 -2
  135. package/lib/modules/{sound-effect → event-sound}/index.js +9 -5
  136. package/lib/modules/event-toast/store.js +6 -1
  137. package/lib/modules/interpreter/dialog-content/index.js +4 -1
  138. package/lib/modules/interpreter/index.d.ts +2 -0
  139. package/lib/modules/interpreter/index.js +2 -1
  140. package/lib/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/index.js +3 -0
  141. package/lib/modules/interpreter/store.d.ts +2 -2
  142. package/lib/modules/interpreter/store.js +30 -24
  143. package/lib/modules/interpreter/type.d.ts +2 -0
  144. package/lib/modules/invite/components/pstn-invite.js +2 -25
  145. package/lib/modules/invite/components/voip-invite.css +26 -0
  146. package/lib/modules/invite/components/voip-invite.d.ts +1 -0
  147. package/lib/modules/invite/components/voip-invite.js +8 -11
  148. package/lib/modules/invite/index.css +16 -3
  149. package/lib/modules/invite/index.d.ts +2 -1
  150. package/lib/modules/invite/index.js +2 -1
  151. package/lib/modules/invite/store.d.ts +5 -1
  152. package/lib/modules/invite/store.js +8 -1
  153. package/lib/modules/layout/components/Aside.js +0 -1
  154. package/lib/modules/layout/components/Carousel.d.ts +1 -1
  155. package/lib/modules/layout/components/Carousel.js +16 -118
  156. package/lib/modules/layout/components/CommonVideoRenderer.d.ts +13 -0
  157. package/lib/modules/layout/components/CommonVideoRenderer.js +214 -0
  158. package/lib/modules/layout/components/Gallery.d.ts +1 -0
  159. package/lib/modules/layout/components/Gallery.js +62 -205
  160. package/lib/modules/layout/components/index.css +17 -34
  161. package/lib/modules/layout/index.d.ts +2 -0
  162. package/lib/modules/layout/index.js +2 -1
  163. package/lib/modules/layout/store.d.ts +5 -2
  164. package/lib/modules/layout/store.js +53 -39
  165. package/lib/modules/layout/type.d.ts +4 -0
  166. package/lib/modules/layout/type.js +6 -1
  167. package/lib/modules/live-streaming/store.d.ts +1 -0
  168. package/lib/modules/live-streaming/store.js +19 -8
  169. package/lib/modules/participant/components/confirm-input/index.d.ts +4 -4
  170. package/lib/modules/participant/components/confirm-input/index.js +74 -6
  171. package/lib/modules/participant/components/participants/components/footer/components/drop-menu/index.css +27 -3
  172. package/lib/modules/participant/components/participants/components/footer/components/footer/index.css +4 -0
  173. package/lib/modules/participant/components/participants/components/footer/components/footer/index.js +3 -4
  174. package/lib/modules/participant/components/participants/components/participants/components/attendee/index.css +4 -3
  175. package/lib/modules/participant/components/participants/components/participants/components/attendee/index.js +1 -0
  176. package/lib/modules/participant/components/participants/components/participants/components/participants-more/index.css +9 -1
  177. package/lib/modules/participant/components/participants/components/participants/components/participants-more/index.js +1 -1
  178. package/lib/modules/participant/components/participants/components/participants/index.css +1 -0
  179. package/lib/modules/participant/components/participants/components/render-user/components/attendee/index.css +18 -0
  180. package/lib/modules/participant/components/participants/components/render-user/components/attendee/index.js +12 -5
  181. package/lib/modules/participant/components/participants/components/render-user/components/user-action/components/move-actions-popover/index.js +1 -8
  182. package/lib/modules/participant/index.css +6 -0
  183. package/lib/modules/participant/index.d.ts +1 -0
  184. package/lib/modules/participant/index.js +9 -0
  185. package/lib/modules/participant/store.d.ts +6 -0
  186. package/lib/modules/participant/store.js +130 -96
  187. package/lib/modules/pc-audio-connect/store.js +3 -2
  188. package/lib/modules/phone-audio-connect/index.d.ts +2 -0
  189. package/lib/modules/phone-audio-connect/index.js +2 -1
  190. package/lib/modules/phone-audio-connect/store.d.ts +4 -1
  191. package/lib/modules/phone-audio-connect/store.js +4 -2
  192. package/lib/modules/setting/audio-settings/audio-settings.js +70 -48
  193. package/lib/modules/setting/audio-settings/index.css +23 -6
  194. package/lib/modules/setting/general-settings/general-settings.d.ts +1 -2
  195. package/lib/modules/setting/general-settings/general-settings.js +111 -37
  196. package/lib/modules/setting/general-settings/index.css +15 -0
  197. package/lib/modules/setting/index.d.ts +4 -1
  198. package/lib/modules/setting/index.js +7 -4
  199. package/lib/modules/setting/state/index.js +1 -1
  200. package/lib/modules/setting/store.d.ts +24 -11
  201. package/lib/modules/setting/store.js +203 -142
  202. package/lib/modules/setting/video-settings/index.css +13 -2
  203. package/lib/modules/setting/video-settings/video-settings-basic.js +18 -27
  204. package/lib/modules/setting/video-settings/video-settings.d.ts +0 -2
  205. package/lib/modules/setting/video-settings/video-settings.js +3 -2
  206. package/lib/modules/setting/view.d.ts +11 -2
  207. package/lib/modules/setting/view.js +93 -71
  208. package/lib/modules/share-screen/components/selection/index.js +6 -2
  209. package/lib/modules/share-screen/index.d.ts +4 -1
  210. package/lib/modules/share-screen/index.js +3 -1
  211. package/lib/modules/share-screen/store.d.ts +15 -5
  212. package/lib/modules/share-screen/store.js +105 -59
  213. package/lib/modules/share-screen/view.js +1 -1
  214. package/lib/modules/state-bar/index.css +4 -2
  215. package/lib/modules/state-bar/index.d.ts +2 -0
  216. package/lib/modules/state-bar/index.js +2 -1
  217. package/lib/modules/state-bar/layout-config.js +1 -0
  218. package/lib/modules/state-bar/live-streaming-state.js +1 -0
  219. package/lib/modules/state-bar/meeting-detail.css +10 -1
  220. package/lib/modules/state-bar/meeting-details.js +35 -25
  221. package/lib/modules/state-bar/meeting-network-state.css +8 -0
  222. package/lib/modules/state-bar/meeting-time.js +9 -20
  223. package/lib/modules/state-bar/store.d.ts +5 -1
  224. package/lib/modules/state-bar/store.js +10 -3
  225. package/lib/modules/state-bar/view.js +17 -6
  226. package/lib/modules/video-window/components/members/index.js +0 -3
  227. package/lib/modules/waiting-room-layout/index.css +13 -0
  228. package/lib/modules/waiting-room-layout/index.d.ts +2 -1
  229. package/lib/modules/waiting-room-layout/index.js +2 -1
  230. package/lib/modules/waiting-room-layout/store.d.ts +12 -1
  231. package/lib/modules/waiting-room-layout/store.js +42 -6
  232. package/lib/modules/waiting-room-layout/view.js +22 -5
  233. package/lib/modules/whiteboard/components/control-bar/index.css +1 -1
  234. package/lib/modules/whiteboard/components/control-bar/index.js +0 -2
  235. package/lib/modules/whiteboard/components/scene-pagination.js +0 -2
  236. package/lib/modules/whiteboard/components/switch-theme/libs.d.ts +1 -1
  237. package/lib/modules/whiteboard/components/switch-theme/libs.js +3 -1
  238. package/lib/modules/whiteboard/components/toolbar/ style.css +1 -0
  239. package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/color.js +1 -2
  240. package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/panel.js +1 -0
  241. package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/picker.js +1 -0
  242. package/lib/modules/whiteboard/components/toolbar/components/eraser-picker.js +3 -14
  243. package/lib/modules/whiteboard/components/toolbar/components/expansion/index.d.ts +1 -0
  244. package/lib/modules/whiteboard/components/toolbar/components/expansion/index.js +83 -0
  245. package/lib/modules/whiteboard/components/toolbar/components/extra-tool-picker.js +2 -2
  246. package/lib/modules/whiteboard/components/toolbar/components/history.js +3 -3
  247. package/lib/modules/whiteboard/components/toolbar/components/item/index.d.ts +1 -0
  248. package/lib/modules/whiteboard/components/toolbar/components/item/index.js +42 -0
  249. package/lib/modules/whiteboard/components/toolbar/components/pen-picker.js +2 -2
  250. package/lib/modules/whiteboard/components/toolbar/components/screen-capture-picker.js +2 -2
  251. package/lib/modules/whiteboard/components/toolbar/components/shape-picker.js +3 -3
  252. package/lib/modules/whiteboard/components/toolbar/hooks/index.js +6 -6
  253. package/lib/modules/whiteboard/components/toolbar/index.js +9 -113
  254. package/lib/modules/whiteboard/components/toolbar/store.d.ts +18 -0
  255. package/lib/modules/whiteboard/components/toolbar/store.js +276 -83
  256. package/lib/modules/whiteboard/context.d.ts +1 -2
  257. package/lib/modules/whiteboard/index.d.ts +1 -14
  258. package/lib/modules/whiteboard/index.js +131 -426
  259. package/lib/modules/whiteboard/view.js +12 -10
  260. package/lib/modules/widget/sdk.js +2 -2
  261. package/lib/object-manager.d.ts +8 -0
  262. package/lib/object-manager.js +75 -0
  263. package/lib/plugins/browser-runtime-plugin.js +19 -14
  264. package/lib/providers/ability-provider.d.ts +8 -0
  265. package/lib/providers/ability-provider.js +14 -0
  266. package/lib/providers/device-privilege-provider.d.ts +1 -0
  267. package/lib/providers/device-privilege-provider.js +53 -75
  268. package/lib/providers/device-provider.d.ts +18 -8
  269. package/lib/providers/device-provider.js +378 -206
  270. package/lib/providers/device-stream-provider.js +0 -4
  271. package/lib/providers/dialog-provider.d.ts +1 -0
  272. package/lib/providers/dialog-provider.js +4 -18
  273. package/lib/providers/event-provider.js +45 -2
  274. package/lib/providers/interpreter-provider.d.ts +4 -0
  275. package/lib/providers/interpreter-provider.js +166 -137
  276. package/lib/providers/message-provider.js +44 -2
  277. package/lib/providers/privilege-provider.d.ts +33 -0
  278. package/lib/providers/privilege-provider.js +120 -45
  279. package/lib/providers/room-provider.d.ts +12 -10
  280. package/lib/providers/room-provider.js +162 -262
  281. package/lib/providers/screen-share-provider.d.ts +4 -0
  282. package/lib/providers/screen-share-provider.js +3 -6
  283. package/lib/providers/widget-provider.js +6 -4
  284. package/lib/runtime.d.ts +20 -8
  285. package/lib/scenes/main-scene.d.ts +2 -0
  286. package/lib/scenes/main-scene.js +95 -37
  287. package/lib/scenes/waiting-scene.js +16 -13
  288. package/lib/schema.d.ts +55 -32
  289. package/lib/schema.js +23 -9
  290. package/lib/shared-data-source/config.d.ts +6 -2
  291. package/lib/shared-data-source/config.js +81 -10
  292. package/lib/shared-data-source/meeting-time.js +2 -2
  293. package/lib/shared-data-source/member-data.d.ts +16 -20
  294. package/lib/shared-data-source/member-data.js +121 -110
  295. package/lib/shared-data-source/screen-share-data-source.d.ts +37 -0
  296. package/lib/shared-data-source/screen-share-data-source.js +134 -0
  297. package/lib/shared-data-source/security-data.d.ts +1 -0
  298. package/lib/shared-data-source/security-data.js +3 -5
  299. package/lib/shared-data-source/setting.d.ts +1 -0
  300. package/lib/shared-data-source/setting.js +33 -17
  301. package/lib/shared-data-source/video-window.d.ts +3 -4
  302. package/lib/shared-data-source/video-window.js +58 -48
  303. package/lib/translations/enUS.d.ts +48 -1
  304. package/lib/translations/enUS.js +101 -17
  305. package/lib/translations/zhCN.d.ts +48 -1
  306. package/lib/translations/zhCN.js +88 -4
  307. package/lib/type.d.ts +40 -20
  308. package/lib/type.js +14 -1
  309. package/lib/ui-manager.d.ts +11 -9
  310. package/lib/ui-manager.js +118 -29
  311. package/lib/ui-scene.d.ts +7 -4
  312. package/lib/ui-scene.js +111 -130
  313. package/lib/utilities/constant.d.ts +3 -1
  314. package/lib/utilities/constant.js +2 -0
  315. package/lib/utilities/copyText.js +15 -11
  316. package/lib/utilities/default-config.d.ts +2 -0
  317. package/lib/utilities/default-config.js +11 -5
  318. package/lib/utilities/i18n-common-data.d.ts +2 -0
  319. package/lib/utilities/i18n-common-data.js +15 -0
  320. package/lib/utilities/logger.d.ts +0 -1
  321. package/lib/utilities/logger.js +3 -4
  322. package/lib/utilities/renderer.d.ts +0 -9
  323. package/lib/utilities/renderer.js +1 -70
  324. package/lib/utilities/screen.js +3 -1
  325. package/lib/utilities/setting-config-storage.d.ts +6 -1
  326. package/lib/utilities/setting-config-storage.js +21 -4
  327. package/lib/utilities/tools.d.ts +30 -6
  328. package/lib/utilities/tools.js +74 -44
  329. package/lib/utilities/ui-resources.d.ts +6 -0
  330. package/lib/utilities/ui-resources.js +47 -9
  331. package/lib/waiting-room-control-manager.d.ts +4 -4
  332. package/lib/waiting-room-control-manager.js +29 -9
  333. package/package.json +6 -6
  334. package/public/assets/browser/images/default1.jpg +0 -0
  335. package/public/assets/browser/images/default2.jpg +0 -0
  336. package/public/assets/browser/images/default3.jpg +0 -0
  337. package/public/assets/browser/images/default4.jpg +0 -0
  338. package/public/assets/browser/images/default5.jpg +0 -0
  339. package/public/assets/browser/images/default6.jpg +0 -0
  340. package/public/assets/browser/images/default7.jpg +0 -0
  341. package/public/assets/browser/sound_effects/pretest.mp3 +0 -0
  342. package/public/assets/browser/sound_effects/recording_started.mp3 +0 -0
  343. package/public/assets/browser/sound_effects/remote_user_joined.mp3 +0 -0
  344. package/public/assets/browser/sound_effects/speaker_test.mp3 +0 -0
  345. package/public/assets/browser/videos/default8.mp4 +0 -0
  346. package/public/assets/browser/videos/default9.mp4 +0 -0
  347. package/public/assets/electron/images/default1.jpg +0 -0
  348. package/public/assets/electron/images/default2.jpg +0 -0
  349. package/public/assets/electron/sound_effects/pretest.mp3 +0 -0
  350. package/public/assets/electron/videos/default8.mp4 +0 -0
  351. package/public/index.html +103 -82
  352. package/lib/hooks/meeting-time.d.ts +0 -15
  353. package/lib/hooks/meeting-time.js +0 -92
  354. package/lib/login-confirm-dialog.d.ts +0 -13
  355. package/lib/login-confirm-dialog.js +0 -85
  356. package/lib/modules/action-bar/components/apps/appitems.d.ts +0 -3
  357. package/lib/modules/action-bar/components/apps/appitems.js +0 -45
  358. package/lib/modules/components/member-window/components/member-board.d.ts +0 -2
  359. package/lib/modules/components/member-window/components/member-board.js +0 -63
  360. package/lib/modules/dialog/components/system-preference/bg1.png +0 -0
  361. package/lib/modules/dialog/components/system-preference/bg2.png +0 -0
  362. package/lib/modules/dialog/types/index.d.ts +0 -70
  363. package/lib/modules/participant/components/attendee/components/microphone-indicator/index.d.ts +0 -6
  364. package/lib/modules/participant/components/attendee/components/microphone-indicator/index.js +0 -28
  365. package/lib/modules/participant/components/attendee/components/user-avatar/index.d.ts +0 -7
  366. package/lib/modules/participant/components/attendee/components/user-avatar/index.js +0 -39
  367. package/lib/modules/participant/components/attendee/index.css +0 -69
  368. package/lib/modules/participant/components/attendee/index.d.ts +0 -4
  369. package/lib/modules/participant/components/attendee/index.js +0 -337
  370. package/lib/modules/participant/components/drop-menu/index.css +0 -60
  371. package/lib/modules/participant/components/drop-menu/index.d.ts +0 -2
  372. package/lib/modules/participant/components/drop-menu/index.js +0 -189
  373. package/lib/modules/participant/components/footer/buttons.d.ts +0 -6
  374. package/lib/modules/participant/components/footer/buttons.js +0 -52
  375. package/lib/modules/participant/components/footer/index.d.ts +0 -4
  376. package/lib/modules/participant/components/footer/index.js +0 -37
  377. package/lib/modules/participant/components/merge/index.d.ts +0 -11
  378. package/lib/modules/participant/components/merge/index.js +0 -49
  379. package/lib/modules/participant/components/rename/index.d.ts +0 -4
  380. package/lib/modules/participant/components/rename/index.js +0 -45
  381. package/lib/modules/participant/components/user-action/index.d.ts +0 -17
  382. package/lib/modules/participant/components/user-action/index.js +0 -169
  383. package/lib/modules/video-window/deviceState/index.d.ts +0 -16
  384. package/lib/modules/video-window/deviceState/index.js +0 -75
  385. package/lib/modules/video-window/members/index.css +0 -51
  386. package/lib/modules/video-window/members/index.d.ts +0 -2
  387. package/lib/modules/video-window/members/index.js +0 -157
  388. package/lib/modules/video-window/speaking/index.css +0 -69
  389. package/lib/modules/video-window/speaking/index.d.ts +0 -3
  390. package/lib/modules/video-window/speaking/index.js +0 -57
  391. package/lib/modules/video-window/topControl/index.css +0 -35
  392. package/lib/modules/video-window/topControl/index.d.ts +0 -3
  393. package/lib/modules/video-window/topControl/index.js +0 -92
  394. /package/lib/modules/{sound-effect → event-sound}/sound-effect-player.d.ts +0 -0
  395. /package/lib/modules/{sound-effect → event-sound}/sound-effect-player.js +0 -0
@@ -90,8 +90,8 @@ require("core-js/modules/esnext.weak-map.emplace.js");
90
90
  require("core-js/modules/web.dom-collections.for-each.js");
91
91
  require("core-js/modules/web.dom-collections.iterator.js");
92
92
  require("core-js/modules/web.timers.js");
93
- var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
94
93
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
94
+ var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
95
95
  var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
96
96
  var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
97
97
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
@@ -103,7 +103,7 @@ var _type = require("fcr-core/lib/type");
103
103
  var _decorator = require("agora-foundation/lib/decorator");
104
104
  var _logger = require("../utilities/logger");
105
105
  var _FcrUIMemberSharedDataSourceImpl;
106
- var _initProto, _init_serverPushTotalUserCount, _init__audioVolumeMap, _init__isLocalUserInPstn, _init__interpreterInputLanguageList, _setIsLocalUserInPstnDecs, _forceAddLocalUserWithControlDecs, _handleAllUserCountUpdatedDecs, _handleUserInfoUpdatedDecs, _syncParticipantsDecs, _onAudioVolumeUpdatedDecs, _handleRemoteUserJoinedDecs, _handleRemoteUserLeftDecs, _handleStreamsAddedDecs, _handleStreamsUpdatedDecs, _handleStreamsRemovedDecs, _updateMemberListWithBoardStateDecs, _ref;
106
+ var _initProto, _init__serverPushTotalUserCount, _init__audioVolumeMap, _init__isLocalUserInPstn, _init__interpreterInputLanguageList, _init__localUser, _init_totalUserCount, _updateMemberListWithBoardStateDecs, _setIsLocalUserInPstnDecs, _handleAllUserCountUpdatedDecs, _setTotalUserCountDecs, _handleUserInfoUpdatedDecs, _syncParticipantsDecs, _onAudioVolumeUpdatedDecs, _handleRemoteUserJoinedDecs, _handleRemoteUserLeftDecs, _handleStreamsAddedDecs, _handleStreamsUpdatedDecs, _handleStreamsRemovedDecs, _ref;
107
107
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
108
108
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
109
109
  function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
@@ -120,16 +120,23 @@ var _A = /*#__PURE__*/new WeakMap();
120
120
  var _B = /*#__PURE__*/new WeakMap();
121
121
  var _C = /*#__PURE__*/new WeakMap();
122
122
  var _D = /*#__PURE__*/new WeakMap();
123
- _ref = (_setIsLocalUserInPstnDecs = [_mobx.action, _mobx.action.bound], _forceAddLocalUserWithControlDecs = [_mobx.action, _mobx.action.bound], _handleAllUserCountUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleUserInfoUpdatedDecs = [_mobx.action, _mobx.action.bound], _syncParticipantsDecs = (0, _decorator.debounced)(800), _onAudioVolumeUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleRemoteUserJoinedDecs = [_mobx.action, _mobx.action.bound], _handleRemoteUserLeftDecs = [_mobx.action, _mobx.action.bound], _handleStreamsAddedDecs = [_mobx.action, _mobx.action.bound], _handleStreamsUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleStreamsRemovedDecs = [_mobx.action, _mobx.action.bound], _updateMemberListWithBoardStateDecs = [_mobx.action, _mobx.action.bound], "_dataSource");
123
+ var _E = /*#__PURE__*/new WeakMap();
124
+ var _F = /*#__PURE__*/new WeakMap();
125
+ _ref = (_updateMemberListWithBoardStateDecs = [_mobx.action, _mobx.action.bound], _setIsLocalUserInPstnDecs = [_mobx.action, _mobx.action.bound], _handleAllUserCountUpdatedDecs = [_mobx.action, _mobx.action.bound], _setTotalUserCountDecs = [_mobx.action, _mobx.action.bound], _handleUserInfoUpdatedDecs = [_mobx.action, _mobx.action.bound], _syncParticipantsDecs = (0, _decorator.debounced)(800), _onAudioVolumeUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleRemoteUserJoinedDecs = [_mobx.action, _mobx.action.bound], _handleRemoteUserLeftDecs = [_mobx.action, _mobx.action.bound], _handleStreamsAddedDecs = [_mobx.action, _mobx.action.bound], _handleStreamsUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleStreamsRemovedDecs = [_mobx.action, _mobx.action.bound], "logger");
124
126
  var FcrUIMemberSharedDataSourceImpl = exports.FcrUIMemberSharedDataSourceImpl = /*#__PURE__*/function () {
125
- function FcrUIMemberSharedDataSourceImpl(_mainRoomUserControl, _streamControl, _whiteBoardControl) {
127
+ function FcrUIMemberSharedDataSourceImpl(_mainRoomUserControl, _streamControl, _screenShareProvider, _whiteBoardControl) {
126
128
  var _this = this;
127
129
  (0, _classCallCheck2["default"])(this, FcrUIMemberSharedDataSourceImpl);
128
- (0, _defineProperty2["default"])(this, _ref, (_initProto(this), new _memberListDataSource.FcrUIMemberListDataSourceImpl()));
129
- (0, _defineProperty2["default"])(this, "logger", (0, _logger.createLogger)({
130
+ (0, _defineProperty2["default"])(this, _ref, (_initProto(this), (0, _logger.createLogger)({
130
131
  prefix: 'FcrUIMemberSharedDataSourceImpl'
131
- }));
132
+ })));
133
+ (0, _defineProperty2["default"])(this, "_dataSource", new _memberListDataSource.FcrUIMemberListDataSourceImpl());
132
134
  (0, _defineProperty2["default"])(this, "_disposers", []);
135
+ _classPrivateFieldInitSpec(this, _A, _init__serverPushTotalUserCount(this, 1));
136
+ _classPrivateFieldInitSpec(this, _B, _init__audioVolumeMap(this, new Map()));
137
+ _classPrivateFieldInitSpec(this, _C, _init__isLocalUserInPstn(this, false));
138
+ _classPrivateFieldInitSpec(this, _D, _init__interpreterInputLanguageList(this, []));
139
+ _classPrivateFieldInitSpec(this, _E, _init__localUser(this));
133
140
  (0, _defineProperty2["default"])(this, "_userObserver", {
134
141
  onRemoteUsersJoined: this._handleRemoteUserJoined,
135
142
  onRemoteUsersLeft: this._handleRemoteUserLeft,
@@ -142,25 +149,26 @@ var FcrUIMemberSharedDataSourceImpl = exports.FcrUIMemberSharedDataSourceImpl =
142
149
  onStreamVolumeIndicationUpdated: this._onAudioVolumeUpdated,
143
150
  onStreamsRemoved: this._handleStreamsRemoved
144
151
  });
145
- _classPrivateFieldInitSpec(this, _A, _init_serverPushTotalUserCount(this, 1));
146
- _classPrivateFieldInitSpec(this, _B, _init__audioVolumeMap(this, new Map()));
147
- _classPrivateFieldInitSpec(this, _C, _init__isLocalUserInPstn(this, false));
148
- _classPrivateFieldInitSpec(this, _D, _init__interpreterInputLanguageList(this, []));
152
+ _classPrivateFieldInitSpec(this, _F, _init_totalUserCount(this, 1));
149
153
  this._mainRoomUserControl = _mainRoomUserControl;
150
154
  this._streamControl = _streamControl;
155
+ this._screenShareProvider = _screenShareProvider;
151
156
  this._whiteBoardControl = _whiteBoardControl;
152
157
  this._mainRoomUserControl.addObserver(this._userObserver);
153
158
  this._streamControl.addObserver(this._streamsObserver);
159
+ this._setTotalUserCount();
154
160
  this._initUserList();
155
161
  this.updateMemberListWithBoardState();
162
+ this._localUser = this._mainRoomUserControl.getLocalUser();
156
163
  this._disposers.push((0, _mobx.reaction)(function () {
157
164
  return _this.memberList.length;
158
165
  }, function () {
159
- return _this._syncParticipants();
166
+ _this._setTotalUserCount();
167
+ _this._syncParticipants();
160
168
  }));
161
169
  }
162
170
  return (0, _createClass2["default"])(FcrUIMemberSharedDataSourceImpl, [{
163
- key: "serverPushTotalUserCount",
171
+ key: "_serverPushTotalUserCount",
164
172
  get: function get() {
165
173
  return _classPrivateFieldGet(_A, this);
166
174
  },
@@ -191,10 +199,26 @@ var FcrUIMemberSharedDataSourceImpl = exports.FcrUIMemberSharedDataSourceImpl =
191
199
  set: function set(v) {
192
200
  _classPrivateFieldSet(_D, this, v);
193
201
  }
202
+ }, {
203
+ key: "_localUser",
204
+ get: function get() {
205
+ return _classPrivateFieldGet(_E, this);
206
+ },
207
+ set: function set(v) {
208
+ _classPrivateFieldSet(_E, this, v);
209
+ }
194
210
  }, {
195
211
  key: "totalUserCount",
196
212
  get: function get() {
197
- return this.memberList.length;
213
+ return _classPrivateFieldGet(_F, this);
214
+ },
215
+ set: function set(v) {
216
+ _classPrivateFieldSet(_F, this, v);
217
+ }
218
+ }, {
219
+ key: "localUserId",
220
+ get: function get() {
221
+ return this.localUser.userId;
198
222
  }
199
223
  }, {
200
224
  key: "hasOwnPstnStream",
@@ -211,60 +235,15 @@ var FcrUIMemberSharedDataSourceImpl = exports.FcrUIMemberSharedDataSourceImpl =
211
235
  get: function get() {
212
236
  return this._audioVolumeMap;
213
237
  }
214
- }, {
215
- key: "setIsLocalUserInPstn",
216
- value: function setIsLocalUserInPstn() {
217
- var streams = this._streamControl.getStreamsByUserId(this.localUserId);
218
- var pstnStream = streams.find(function (_ref2) {
219
- var connectorType = _ref2.connectorType;
220
- return connectorType === _fcrCore.FcrRoomConnectorType.PSTN;
221
- });
222
- this._isLocalUserInPstn = !!pstnStream;
223
- }
224
- }, {
225
- key: "localUserMemberData",
226
- get: function get() {
227
- var localUserMemberData = this._getLocalUserInPureList();
228
- if (!localUserMemberData) {
229
- this._forceAddLocalUserWithControl();
230
- return this._getLocalUserInPureList();
231
- }
232
- return localUserMemberData;
233
- }
234
238
  }, {
235
239
  key: "localUser",
236
240
  get: function get() {
237
- return this.localUserMemberData.userInfo;
238
- }
239
- }, {
240
- key: "_forceAddLocalUserWithControl",
241
- value: function _forceAddLocalUserWithControl() {
242
- var userInfo = this._mainRoomUserControl.getLocalUser();
243
- this._dataSource.add(userInfo, this._streamControl.getStreamsByUserId(userInfo.userId), true);
244
- }
245
- }, {
246
- key: "_handleAllUserCountUpdated",
247
- value: function _handleAllUserCountUpdated(_roomId, count) {
248
- this.serverPushTotalUserCount = count;
249
- }
250
- }, {
251
- key: "_getLocalUserInPureList",
252
- value: function _getLocalUserInPureList() {
253
- var _this2 = this;
254
- return this.memberList.find(function (user) {
255
- return user.userId === _this2._mainRoomUserControl.getLocalUser().userId;
256
- });
257
- }
258
- }, {
259
- key: "localUserId",
260
- get: function get() {
261
- return this.localUser.userId || '';
241
+ return this._localUser;
262
242
  }
263
243
  }, {
264
244
  key: "localUserRole",
265
245
  get: function get() {
266
- var _this$localUser$userR;
267
- return (_this$localUser$userR = this.localUser.userRole) !== null && _this$localUser$userR !== void 0 ? _this$localUser$userR : _fcrCore.FcrUserRole.PARTICIPANT;
246
+ return this._localUser.userRole;
268
247
  }
269
248
  }, {
270
249
  key: "localUserRoleString",
@@ -280,9 +259,9 @@ var FcrUIMemberSharedDataSourceImpl = exports.FcrUIMemberSharedDataSourceImpl =
280
259
  }, {
281
260
  key: "remoteMembers",
282
261
  get: function get() {
283
- var _this3 = this;
262
+ var _this2 = this;
284
263
  return this.memberList.filter(function (user) {
285
- return user.userInfo.userId !== _this3.localUserId;
264
+ return user.userInfo.userId !== _this2.localUserId;
286
265
  });
287
266
  }
288
267
  }, {
@@ -292,17 +271,6 @@ var FcrUIMemberSharedDataSourceImpl = exports.FcrUIMemberSharedDataSourceImpl =
292
271
  return memberData.userInfo;
293
272
  });
294
273
  }
295
- }, {
296
- key: "_initUserList",
297
- value: function _initUserList() {
298
- var users = this._mainRoomUserControl.getUsers();
299
- for (var _i = 0, _Object$entries = Object.entries(users); _i < _Object$entries.length; _i++) {
300
- var _Object$entries$_i = (0, _slicedToArray2["default"])(_Object$entries[_i], 2),
301
- userId = _Object$entries$_i[0],
302
- user = _Object$entries$_i[1];
303
- this._dataSource.add(user, this._streamControl.getStreamsByUserId(userId), this._mainRoomUserControl.getLocalUser().userId === userId);
304
- }
305
- }
306
274
  }, {
307
275
  key: "memberList",
308
276
  get: function get() {
@@ -315,11 +283,81 @@ var FcrUIMemberSharedDataSourceImpl = exports.FcrUIMemberSharedDataSourceImpl =
315
283
  return memberData.userInfo;
316
284
  });
317
285
  }
286
+ }, {
287
+ key: "updateMemberListWithBoardState",
288
+ value: function updateMemberListWithBoardState() {
289
+ var _this3 = this;
290
+ (0, _mobx.runInAction)(function () {
291
+ if (_this3._whiteBoardControl) {
292
+ var boardInfo = _this3._whiteBoardControl.getBoardActiveInfo();
293
+ var isActive = boardInfo.isActive,
294
+ ownerUserId = boardInfo.ownerUserId;
295
+ _this3._dataSource.list.forEach(function (user) {
296
+ var isBoardActive = isActive && user.userId === ownerUserId;
297
+ user.setUserInfo(_objectSpread(_objectSpread({}, user.userInfo), {}, {
298
+ isBoardActive: isBoardActive
299
+ }));
300
+ });
301
+ _this3._dataSource.list = (0, _toConsumableArray2["default"])(_this3._dataSource.list);
302
+ }
303
+ });
304
+ }
305
+ }, {
306
+ key: "release",
307
+ value: function release() {
308
+ this._disposers.forEach(function (disposer) {
309
+ return disposer();
310
+ });
311
+ this._disposers = [];
312
+ this._mainRoomUserControl.removeObserver(this._userObserver);
313
+ this._streamControl.removeObserver(this._streamsObserver);
314
+ }
315
+ }, {
316
+ key: "_setIsLocalUserInPstn",
317
+ value: function _setIsLocalUserInPstn() {
318
+ var streams = this._streamControl.getStreamsByUserId(this.localUserId);
319
+ var pstnStream = streams.find(function (_ref2) {
320
+ var connectorType = _ref2.connectorType;
321
+ return connectorType === _fcrCore.FcrRoomConnectorType.PSTN;
322
+ });
323
+ this._isLocalUserInPstn = !!pstnStream;
324
+ }
325
+ }, {
326
+ key: "_handleAllUserCountUpdated",
327
+ value: function _handleAllUserCountUpdated(_roomId, count) {
328
+ this._serverPushTotalUserCount = count;
329
+ }
330
+ }, {
331
+ key: "_setTotalUserCount",
332
+ value: function _setTotalUserCount() {
333
+ this.totalUserCount = this._mainRoomUserControl.getAllUserCount();
334
+ }
335
+ }, {
336
+ key: "_initUserList",
337
+ value: function _initUserList() {
338
+ var users = this._mainRoomUserControl.getUsers();
339
+ for (var _i = 0, _Object$entries = Object.entries(users); _i < _Object$entries.length; _i++) {
340
+ var _Object$entries$_i = (0, _slicedToArray2["default"])(_Object$entries[_i], 2),
341
+ userId = _Object$entries$_i[0],
342
+ user = _Object$entries$_i[1];
343
+ this._dataSource.add(user, this._streamControl.getStreamsByUserId(userId), this._mainRoomUserControl.getLocalUser().userId === userId);
344
+ }
345
+ }
318
346
  }, {
319
347
  key: "_handleUserInfoUpdated",
320
348
  value: function _handleUserInfoUpdated(roomId, event) {
349
+ var _this$_screenSharePro;
321
350
  var targetUser = event.modifiedUser;
351
+ if (event.modifiedUser.userId === this.localUserId) {
352
+ this._localUser = this._mainRoomUserControl.getLocalUser();
353
+ }
322
354
  this._dataSource.updateUserInfo(targetUser, true);
355
+ // 共享屏幕
356
+ var isModifiySharingScreenUser = this._screenShareProvider.isSharingScreen && ((_this$_screenSharePro = this._screenShareProvider.screenSharingOwner) === null || _this$_screenSharePro === void 0 ? void 0 : _this$_screenSharePro.userId) === targetUser.userId;
357
+ if (isModifiySharingScreenUser) {
358
+ this._screenShareProvider.screenSharingOwner = targetUser;
359
+ }
360
+ this.updateMemberListWithBoardState();
323
361
  }
324
362
  }, {
325
363
  key: "_syncParticipants",
@@ -329,7 +367,7 @@ var FcrUIMemberSharedDataSourceImpl = exports.FcrUIMemberSharedDataSourceImpl =
329
367
  _this4.logger.warn('[FcrUIMemberSharedDataSourceImpl] _syncParticipants: start sync');
330
368
  var mainRoomUsersCount = _this4._mainRoomUserControl.getAllUserCount();
331
369
  var pureListLen = _this4.memberList.length;
332
- if (mainRoomUsersCount !== pureListLen || _this4.totalUserCount !== pureListLen) {
370
+ if (mainRoomUsersCount !== pureListLen) {
333
371
  _this4.logger.warn('[FcrUIMemberSharedDataSourceImpl] _syncParticipants: need sync');
334
372
  // 有差异,优先进行以userControl内列表的遍历补充
335
373
  var controlUserList = _this4._mainRoomUserControl.getUserList();
@@ -383,7 +421,7 @@ var FcrUIMemberSharedDataSourceImpl = exports.FcrUIMemberSharedDataSourceImpl =
383
421
  var modifiedStream = e.modifiedStream;
384
422
  _this7._dataSource.updateWithStreamAdd(modifiedStream);
385
423
  });
386
- _this7.setIsLocalUserInPstn();
424
+ _this7._setIsLocalUserInPstn();
387
425
  });
388
426
  }
389
427
  }, {
@@ -395,7 +433,7 @@ var FcrUIMemberSharedDataSourceImpl = exports.FcrUIMemberSharedDataSourceImpl =
395
433
  var modifiedStream = e.modifiedStream;
396
434
  _this8._dataSource.updateStreamInfo(modifiedStream);
397
435
  });
398
- _this8.setIsLocalUserInPstn();
436
+ _this8._setIsLocalUserInPstn();
399
437
  });
400
438
  }
401
439
  }, {
@@ -407,45 +445,18 @@ var FcrUIMemberSharedDataSourceImpl = exports.FcrUIMemberSharedDataSourceImpl =
407
445
  var modifiedStream = e.modifiedStream;
408
446
  _this9._dataSource.updateWithStreamRemove(modifiedStream);
409
447
  });
410
- _this9.setIsLocalUserInPstn();
411
- });
412
- }
413
- }, {
414
- key: "updateMemberListWithBoardState",
415
- value: function updateMemberListWithBoardState() {
416
- var _this10 = this;
417
- (0, _mobx.runInAction)(function () {
418
- if (_this10._whiteBoardControl) {
419
- var boardInfo = _this10._whiteBoardControl.getBoardActiveInfo();
420
- var isActive = boardInfo.isActive,
421
- ownerUserId = boardInfo.ownerUserId;
422
- _this10._dataSource.list.forEach(function (user) {
423
- var isBoardActive = isActive && user.userId === ownerUserId;
424
- user.setUserInfo(_objectSpread(_objectSpread({}, user.userInfo), {}, {
425
- isBoardActive: isBoardActive
426
- }));
427
- });
428
- _this10._dataSource.list = (0, _toConsumableArray2["default"])(_this10._dataSource.list);
429
- }
448
+ _this9._setIsLocalUserInPstn();
430
449
  });
431
450
  }
432
- }, {
433
- key: "release",
434
- value: function release() {
435
- this._disposers.forEach(function (disposer) {
436
- return disposer();
437
- });
438
- this._disposers = [];
439
- this._mainRoomUserControl.removeObserver(this._userObserver);
440
- this._streamControl.removeObserver(this._streamsObserver);
441
- }
442
451
  }]);
443
452
  }();
444
453
  _FcrUIMemberSharedDataSourceImpl = FcrUIMemberSharedDataSourceImpl;
445
- var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_FcrUIMemberSharedDataSourceImpl, [[_mobx.observable, 1, "serverPushTotalUserCount"], [_mobx.observable, 1, "_audioVolumeMap"], [_mobx.observable, 1, "_isLocalUserInPstn"], [_mobx.observable, 1, "_interpreterInputLanguageList"], [_mobx.computed, 3, "hasOwnPstnStream"], [_mobx.computed, 3, "interpreterInputLanguageList"], [_mobx.computed, 3, "audioVolumeMap"], [_setIsLocalUserInPstnDecs, 18, "setIsLocalUserInPstn"], [_forceAddLocalUserWithControlDecs, 18, "_forceAddLocalUserWithControl"], [_handleAllUserCountUpdatedDecs, 18, "_handleAllUserCountUpdated"], [_mobx.computed, 3, "isLocalUserHost"], [_mobx.computed, 3, "remoteMembers"], [_mobx.computed, 3, "remoteMembersUserInfosList"], [_mobx.computed, 3, "memberList"], [_mobx.computed, 3, "memberUserInfoList"], [_handleUserInfoUpdatedDecs, 18, "_handleUserInfoUpdated"], [_syncParticipantsDecs, 2, "_syncParticipants"], [_onAudioVolumeUpdatedDecs, 18, "_onAudioVolumeUpdated"], [_handleRemoteUserJoinedDecs, 18, "_handleRemoteUserJoined"], [_handleRemoteUserLeftDecs, 18, "_handleRemoteUserLeft"], [_handleStreamsAddedDecs, 18, "_handleStreamsAdded"], [_handleStreamsUpdatedDecs, 18, "_handleStreamsUpdated"], [_handleStreamsRemovedDecs, 18, "_handleStreamsRemoved"], [_updateMemberListWithBoardStateDecs, 18, "updateMemberListWithBoardState"]], []).e, 5);
446
- _init_serverPushTotalUserCount = _applyDecs$e[0];
454
+ var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_FcrUIMemberSharedDataSourceImpl, [[_mobx.observable, 1, "_serverPushTotalUserCount"], [_mobx.observable, 1, "_audioVolumeMap"], [_mobx.observable, 1, "_isLocalUserInPstn"], [_mobx.observable, 1, "_interpreterInputLanguageList"], [_mobx.observable, 1, "_localUser"], [_mobx.observable, 1, "totalUserCount"], [_mobx.computed, 3, "hasOwnPstnStream"], [_mobx.computed, 3, "interpreterInputLanguageList"], [_mobx.computed, 3, "audioVolumeMap"], [_mobx.computed, 3, "isLocalUserHost"], [_mobx.computed, 3, "remoteMembers"], [_mobx.computed, 3, "remoteMembersUserInfosList"], [_mobx.computed, 3, "memberUserInfoList"], [_updateMemberListWithBoardStateDecs, 18, "updateMemberListWithBoardState"], [_setIsLocalUserInPstnDecs, 18, "_setIsLocalUserInPstn"], [_handleAllUserCountUpdatedDecs, 18, "_handleAllUserCountUpdated"], [_setTotalUserCountDecs, 18, "_setTotalUserCount"], [_handleUserInfoUpdatedDecs, 18, "_handleUserInfoUpdated"], [_syncParticipantsDecs, 2, "_syncParticipants"], [_onAudioVolumeUpdatedDecs, 18, "_onAudioVolumeUpdated"], [_handleRemoteUserJoinedDecs, 18, "_handleRemoteUserJoined"], [_handleRemoteUserLeftDecs, 18, "_handleRemoteUserLeft"], [_handleStreamsAddedDecs, 18, "_handleStreamsAdded"], [_handleStreamsUpdatedDecs, 18, "_handleStreamsUpdated"], [_handleStreamsRemovedDecs, 18, "_handleStreamsRemoved"]], []).e, 7);
455
+ _init__serverPushTotalUserCount = _applyDecs$e[0];
447
456
  _init__audioVolumeMap = _applyDecs$e[1];
448
457
  _init__isLocalUserInPstn = _applyDecs$e[2];
449
458
  _init__interpreterInputLanguageList = _applyDecs$e[3];
450
- _initProto = _applyDecs$e[4];
459
+ _init__localUser = _applyDecs$e[4];
460
+ _init_totalUserCount = _applyDecs$e[5];
461
+ _initProto = _applyDecs$e[6];
451
462
  (0, _base.registerDependency)('sharedMemberDataSource');
@@ -0,0 +1,37 @@
1
+ import { CurrentShareBounds } from '../modules/control-bar/types';
2
+ import { AudioProcessingChannel } from 'agora-ui-foundation/lib/components/room-screen-share-state-bar/share-audio';
3
+ export interface FcrUIScreenShareDataSource {
4
+ /**
5
+ * 是否正在屏幕共享
6
+ */
7
+ get isSharingScreen(): boolean;
8
+ /**
9
+ * 当前共享屏幕的 bounds
10
+ */
11
+ get currentShareBounds(): Electron.Rectangle | CurrentShareBounds | null;
12
+ /**
13
+ * 获取当前设置的音效通道
14
+ */
15
+ get currentShareAudioProcessingChannel(): AudioProcessingChannel;
16
+ /**
17
+ * 设置是否正在屏幕共享
18
+ */
19
+ setSharingScreen: (isSharingScreen: boolean) => void;
20
+ /**
21
+ * 设置当前共享的屏幕 bounds
22
+ */
23
+ setCurrentShareBounds: (currentShareBounds: Electron.Rectangle | CurrentShareBounds) => void;
24
+ /**
25
+ * 设置音效通道
26
+ */
27
+ setCurrentShareAudioProcessingChannel: (channel: AudioProcessingChannel) => void;
28
+ }
29
+ export declare class FcrUIScreenShareDataSourceImpl implements FcrUIScreenShareDataSource {
30
+ protected logger: import("agora-foundation/lib/logger").Logger;
31
+ accessor currentShareAudioProcessingChannel: AudioProcessingChannel;
32
+ accessor isSharingScreen: boolean;
33
+ accessor currentShareBounds: CurrentShareBounds | null | Electron.Rectangle;
34
+ setSharingScreen(isSharingScreen: boolean): void;
35
+ setCurrentShareBounds(currentShareBounds: Electron.Rectangle | CurrentShareBounds): void;
36
+ setCurrentShareAudioProcessingChannel(channel: AudioProcessingChannel): void;
37
+ }
@@ -0,0 +1,134 @@
1
+ "use strict";
2
+
3
+ require("core-js/modules/es.symbol.js");
4
+ require("core-js/modules/es.symbol.description.js");
5
+ require("core-js/modules/es.symbol.to-primitive.js");
6
+ require("core-js/modules/es.error.cause.js");
7
+ require("core-js/modules/es.error.to-string.js");
8
+ require("core-js/modules/es.array.is-array.js");
9
+ require("core-js/modules/es.array.push.js");
10
+ require("core-js/modules/es.date.to-primitive.js");
11
+ require("core-js/modules/es.function.bind.js");
12
+ require("core-js/modules/es.function.name.js");
13
+ require("core-js/modules/es.map.js");
14
+ require("core-js/modules/es.number.constructor.js");
15
+ require("core-js/modules/es.object.create.js");
16
+ require("core-js/modules/es.object.define-property.js");
17
+ require("core-js/modules/es.object.get-own-property-descriptor.js");
18
+ require("core-js/modules/esnext.function.metadata.js");
19
+ require("core-js/modules/esnext.map.delete-all.js");
20
+ require("core-js/modules/esnext.map.emplace.js");
21
+ require("core-js/modules/esnext.map.every.js");
22
+ require("core-js/modules/esnext.map.filter.js");
23
+ require("core-js/modules/esnext.map.find.js");
24
+ require("core-js/modules/esnext.map.find-key.js");
25
+ require("core-js/modules/esnext.map.includes.js");
26
+ require("core-js/modules/esnext.map.key-of.js");
27
+ require("core-js/modules/esnext.map.map-keys.js");
28
+ require("core-js/modules/esnext.map.map-values.js");
29
+ require("core-js/modules/esnext.map.merge.js");
30
+ require("core-js/modules/esnext.map.reduce.js");
31
+ require("core-js/modules/esnext.map.some.js");
32
+ require("core-js/modules/esnext.map.update.js");
33
+ require("core-js/modules/esnext.symbol.metadata.js");
34
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
35
+ var _typeof = require("@babel/runtime/helpers/typeof");
36
+ Object.defineProperty(exports, "__esModule", {
37
+ value: true
38
+ });
39
+ exports.FcrUIScreenShareDataSourceImpl = void 0;
40
+ require("core-js/modules/es.array.iterator.js");
41
+ require("core-js/modules/es.date.to-json.js");
42
+ require("core-js/modules/es.json.stringify.js");
43
+ require("core-js/modules/es.object.to-string.js");
44
+ require("core-js/modules/es.string.iterator.js");
45
+ require("core-js/modules/es.weak-map.js");
46
+ require("core-js/modules/esnext.weak-map.delete-all.js");
47
+ require("core-js/modules/esnext.weak-map.emplace.js");
48
+ require("core-js/modules/web.dom-collections.iterator.js");
49
+ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
50
+ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
51
+ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
52
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
53
+ var _mobx = require("mobx");
54
+ var _base = require("../base");
55
+ var _logger = require("../utilities/logger");
56
+ var _env = require("agora-foundation/lib/utilities/env");
57
+ var _shareAudio = require("agora-ui-foundation/lib/components/room-screen-share-state-bar/share-audio");
58
+ var _FcrUIScreenShareDataSourceImpl;
59
+ var _initProto, _init_currentShareAudioProcessingChannel, _init_isSharingScreen, _init_currentShareBounds, _setSharingScreenDecs, _setCurrentShareBoundsDecs, _setCurrentShareAudioProcessingChannelDecs, _ref;
60
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
61
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
62
+ function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
63
+ function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
64
+ function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
65
+ function _applyDecs(e, t, r, n, o, a) { function i(e, t, r) { return function (n, o) { return r && r(n), e[t].call(n, o); }; } function c(e, t) { for (var r = 0; r < e.length; r++) e[r].call(t); return t; } function s(e, t, r, n) { if ("function" != typeof e && (n || void 0 !== e)) throw new TypeError(t + " must " + (r || "be") + " a function" + (n ? "" : " or undefined")); return e; } function applyDec(e, t, r, n, o, a, c, u, l, f, p, d, h) { function m(e) { if (!h(e)) throw new TypeError("Attempted to access private element on non-instance"); } var y, v = t[0], g = t[3], b = !u; if (!b) { r || Array.isArray(v) || (v = [v]); var w = {}, S = [], A = 3 === o ? "get" : 4 === o || d ? "set" : "value"; f ? (p || d ? w = { get: _setFunctionName(function () { return g(this); }, n, "get"), set: function set(e) { t[4](this, e); } } : w[A] = g, p || _setFunctionName(w[A], n, 2 === o ? "" : A)) : p || (w = Object.getOwnPropertyDescriptor(e, n)); } for (var P = e, j = v.length - 1; j >= 0; j -= r ? 2 : 1) { var D = v[j], E = r ? v[j - 1] : void 0, I = {}, O = { kind: ["field", "accessor", "method", "getter", "setter", "class"][o], name: n, metadata: a, addInitializer: function (e, t) { if (e.v) throw Error("attempted to call addInitializer after decoration was finished"); s(t, "An initializer", "be", !0), c.push(t); }.bind(null, I) }; try { if (b) (y = s(D.call(E, P, O), "class decorators", "return")) && (P = y);else { var k, F; O["static"] = l, O["private"] = f, f ? 2 === o ? k = function k(e) { return m(e), w.value; } : (o < 4 && (k = i(w, "get", m)), 3 !== o && (F = i(w, "set", m))) : (k = function k(e) { return e[n]; }, (o < 2 || 4 === o) && (F = function F(e, t) { e[n] = t; })); var N = O.access = { has: f ? h.bind() : function (e) { return n in e; } }; if (k && (N.get = k), F && (N.set = F), P = D.call(E, d ? { get: w.get, set: w.set } : w[A], O), d) { if ("object" == _typeof(P) && P) (y = s(P.get, "accessor.get")) && (w.get = y), (y = s(P.set, "accessor.set")) && (w.set = y), (y = s(P.init, "accessor.init")) && S.push(y);else if (void 0 !== P) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0"); } else s(P, (p ? "field" : "method") + " decorators", "return") && (p ? S.push(P) : w[A] = P); } } finally { I.v = !0; } } return (p || d) && u.push(function (e, t) { for (var r = S.length - 1; r >= 0; r--) t = S[r].call(e, t); return t; }), p || b || (f ? d ? u.push(i(w, "get"), i(w, "set")) : u.push(2 === o ? w[A] : i.call.bind(w[A])) : Object.defineProperty(e, n, w)), P; } function u(e, t) { return Object.defineProperty(e, Symbol.metadata || Symbol["for"]("Symbol.metadata"), { configurable: !0, enumerable: !0, value: t }); } if (arguments.length >= 6) var l = a[Symbol.metadata || Symbol["for"]("Symbol.metadata")]; var f = Object.create(null == l ? null : l), p = function (e, t, r, n) { var o, a, i = [], s = function s(t) { return _checkInRHS(t) === e; }, u = new Map(); function l(e) { e && i.push(c.bind(null, e)); } for (var f = 0; f < t.length; f++) { var p = t[f]; if (Array.isArray(p)) { var d = p[1], h = p[2], m = p.length > 3, y = 16 & d, v = !!(8 & d), g = 0 == (d &= 7), b = h + "/" + v; if (!g && !m) { var w = u.get(b); if (!0 === w || 3 === w && 4 !== d || 4 === w && 3 !== d) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + h); u.set(b, !(d > 2) || d); } applyDec(v ? e : e.prototype, p, y, m ? "#" + h : _toPropertyKey(h), d, n, v ? a = a || [] : o = o || [], i, v, m, g, 1 === d, v && m ? s : r); } } return l(o), l(a), i; }(e, t, o, f); return r.length || u(e, f), { e: p, get c() { var t = []; return r.length && [u(applyDec(e, [r], n, e.name, 5, f, t), f), c.bind(null, t, e)]; } }; }
66
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
67
+ 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); }
68
+ 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; }
69
+ 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; }
70
+ var _A = /*#__PURE__*/new WeakMap();
71
+ var _B = /*#__PURE__*/new WeakMap();
72
+ var _C = /*#__PURE__*/new WeakMap();
73
+ _ref = (_setSharingScreenDecs = [_mobx.action, _mobx.action.bound], _setCurrentShareBoundsDecs = [_mobx.action, _mobx.action.bound], _setCurrentShareAudioProcessingChannelDecs = [_mobx.action, _mobx.action.bound], "logger");
74
+ var FcrUIScreenShareDataSourceImpl = exports.FcrUIScreenShareDataSourceImpl = /*#__PURE__*/function () {
75
+ function FcrUIScreenShareDataSourceImpl() {
76
+ (0, _classCallCheck2["default"])(this, FcrUIScreenShareDataSourceImpl);
77
+ (0, _defineProperty2["default"])(this, _ref, (_initProto(this), (0, _logger.createLogger)({
78
+ prefix: 'FcrUIScreenShareDataSourceImpl'
79
+ })));
80
+ _classPrivateFieldInitSpec(this, _A, _init_currentShareAudioProcessingChannel(this, _shareAudio.AudioProcessingChannel.MONO));
81
+ _classPrivateFieldInitSpec(this, _B, _init_isSharingScreen(this, false));
82
+ _classPrivateFieldInitSpec(this, _C, _init_currentShareBounds(this, (0, _env.isElectron)() ? window.runtime.browserWindow.getBounds() : null));
83
+ }
84
+ return (0, _createClass2["default"])(FcrUIScreenShareDataSourceImpl, [{
85
+ key: "currentShareAudioProcessingChannel",
86
+ get: function get() {
87
+ return _classPrivateFieldGet(_A, this);
88
+ },
89
+ set: function set(v) {
90
+ _classPrivateFieldSet(_A, this, v);
91
+ }
92
+ }, {
93
+ key: "isSharingScreen",
94
+ get: function get() {
95
+ return _classPrivateFieldGet(_B, this);
96
+ },
97
+ set: function set(v) {
98
+ _classPrivateFieldSet(_B, this, v);
99
+ }
100
+ }, {
101
+ key: "currentShareBounds",
102
+ get: function get() {
103
+ return _classPrivateFieldGet(_C, this);
104
+ },
105
+ set: function set(v) {
106
+ _classPrivateFieldSet(_C, this, v);
107
+ }
108
+ }, {
109
+ key: "setSharingScreen",
110
+ value: function setSharingScreen(isSharingScreen) {
111
+ this.isSharingScreen = isSharingScreen;
112
+ this.logger.info("setSharingScreen: ".concat(isSharingScreen));
113
+ }
114
+ }, {
115
+ key: "setCurrentShareBounds",
116
+ value: function setCurrentShareBounds(currentShareBounds) {
117
+ this.currentShareBounds = currentShareBounds;
118
+ this.logger.info("setCurrentShareBounds: ".concat(JSON.stringify(currentShareBounds)));
119
+ }
120
+ }, {
121
+ key: "setCurrentShareAudioProcessingChannel",
122
+ value: function setCurrentShareAudioProcessingChannel(channel) {
123
+ this.currentShareAudioProcessingChannel = channel;
124
+ this.logger.info("setCurrentShareAudioProcessingChannel: ".concat(channel));
125
+ }
126
+ }]);
127
+ }();
128
+ _FcrUIScreenShareDataSourceImpl = FcrUIScreenShareDataSourceImpl;
129
+ var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_FcrUIScreenShareDataSourceImpl, [[_mobx.observable, 1, "currentShareAudioProcessingChannel"], [_mobx.observable, 1, "isSharingScreen"], [_mobx.observable, 1, "currentShareBounds"], [_setSharingScreenDecs, 18, "setSharingScreen"], [_setCurrentShareBoundsDecs, 18, "setCurrentShareBounds"], [_setCurrentShareAudioProcessingChannelDecs, 18, "setCurrentShareAudioProcessingChannel"]], []).e, 4);
130
+ _init_currentShareAudioProcessingChannel = _applyDecs$e[0];
131
+ _init_isSharingScreen = _applyDecs$e[1];
132
+ _init_currentShareBounds = _applyDecs$e[2];
133
+ _initProto = _applyDecs$e[3];
134
+ (0, _base.registerDependency)('screenShareDataSource');
@@ -4,6 +4,7 @@ export interface FcrSecurityCheckedStateType {
4
4
  lockRoom: boolean;
5
5
  enableWaitingRoom: boolean;
6
6
  enableJoinWithAudio: boolean;
7
+ joinWithCloseVideo: boolean;
7
8
  enableWatermark: boolean;
8
9
  shareScreen: boolean;
9
10
  shareWhiteboard: boolean;
@@ -106,6 +106,7 @@ var FcrUISecuritySharedDataSourceImpl = exports.FcrUISecuritySharedDataSourceImp
106
106
  lockRoom: this._privilegeProvider.isLockRoomEnabled(),
107
107
  enableWaitingRoom: this._privilegeProvider.isWaitingRoomEnabled(),
108
108
  enableJoinWithAudio: this._privilegeProvider.allowJoinWithMuteAudio(),
109
+ joinWithCloseVideo: this._privilegeProvider.allowJoinWithMutedVideo(),
109
110
  enableWatermark: this._privilegeProvider.isWaterMarkEnabled(),
110
111
  shareScreen: this._privilegeProvider.allowScreenShareAndBoard(),
111
112
  shareWhiteboard: this._privilegeProvider.allowBoardWrite(),
@@ -133,10 +134,7 @@ var FcrUISecuritySharedDataSourceImpl = exports.FcrUISecuritySharedDataSourceImp
133
134
  }, {
134
135
  key: "_handleLocalUserSecurityInfosUpdated",
135
136
  value: function _handleLocalUserSecurityInfosUpdated(event) {
136
- var _event$operatorUser;
137
- if (((_event$operatorUser = event.operatorUser) === null || _event$operatorUser === void 0 ? void 0 : _event$operatorUser.userId) !== this.localUserId) {
138
- this._refreshCheckedStateMap();
139
- }
137
+ this._refreshCheckedStateMap();
140
138
  }
141
139
  }, {
142
140
  key: "release",
@@ -150,7 +148,7 @@ var FcrUISecuritySharedDataSourceImpl = exports.FcrUISecuritySharedDataSourceImp
150
148
  }]);
151
149
  }();
152
150
  _FcrUISecuritySharedDataSourceImpl = FcrUISecuritySharedDataSourceImpl;
153
- var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_FcrUISecuritySharedDataSourceImpl, [[_mobx.observable, 1, "_checkedStateMap"], [_mobx.computed, 3, "localUserId"], [_setCheckedStateMapDecs, 18, "setCheckedStateMap"]], []).e, 2);
151
+ var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_FcrUISecuritySharedDataSourceImpl, [[_mobx.observable, 1, "_checkedStateMap"], [_setCheckedStateMapDecs, 18, "setCheckedStateMap"]], []).e, 2);
154
152
  _init__checkedStateMap = _applyDecs$e[0];
155
153
  _initProto = _applyDecs$e[1];
156
154
  (0, _base.registerDependency)('sharedSecuritySharedDataSource');
@@ -31,4 +31,5 @@ export declare class FcrUISharedSettingDataSourceImpl implements FcrUISharedSett
31
31
  get setting(): CustomSetting;
32
32
  private _preHandleSetting;
33
33
  setSetting(assignedSetting: Partial<CustomSetting>): void;
34
+ private _initSetting;
34
35
  }