fcr-ui-scene 1.0.20 → 3.1.0-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 (813) hide show
  1. package/lib/base.d.ts +13 -0
  2. package/lib/base.js +78 -0
  3. package/lib/common/device-store.d.ts +140 -0
  4. package/lib/common/device-store.js +1378 -0
  5. package/lib/common/device-stream-store.d.ts +36 -0
  6. package/lib/common/device-stream-store.js +372 -0
  7. package/lib/common/event-store.d.ts +118 -0
  8. package/lib/common/event-store.js +235 -0
  9. package/lib/common/security-store.d.ts +123 -0
  10. package/lib/common/security-store.js +978 -0
  11. package/lib/creator.d.ts +8 -0
  12. package/lib/creator.js +37 -0
  13. package/lib/electron/app.d.ts +1 -0
  14. package/lib/electron/app.js +140 -0
  15. package/lib/electron/default-options.d.ts +2 -0
  16. package/lib/electron/default-options.js +26 -0
  17. package/lib/electron/env.d.ts +5 -0
  18. package/lib/electron/env.js +13 -0
  19. package/lib/electron/index.d.ts +2 -0
  20. package/lib/electron/index.js +20 -0
  21. package/lib/electron/injections.d.ts +45 -0
  22. package/lib/electron/injections.js +689 -0
  23. package/lib/electron/main.d.ts +2 -0
  24. package/lib/electron/main.js +63 -0
  25. package/lib/electron/plugins/screenshot.d.ts +2 -0
  26. package/lib/electron/plugins/screenshot.js +49 -0
  27. package/lib/electron/preload.js +35 -0
  28. package/lib/electron/tools.d.ts +5 -0
  29. package/lib/electron/tools.js +57 -0
  30. package/lib/electron/window.d.ts +12 -0
  31. package/lib/electron/window.js +107 -0
  32. package/lib/fragments/base.d.ts +10 -0
  33. package/lib/fragments/base.js +44 -0
  34. package/lib/fragments/control-bar/cloud-recording-buttons.d.ts +1 -0
  35. package/lib/fragments/control-bar/cloud-recording-buttons.js +67 -0
  36. package/lib/fragments/control-bar/context.d.ts +3 -0
  37. package/lib/fragments/control-bar/context.js +9 -0
  38. package/lib/fragments/control-bar/control-bar-store.d.ts +152 -0
  39. package/lib/fragments/control-bar/control-bar-store.js +1275 -0
  40. package/lib/fragments/control-bar/device/index.d.ts +31 -0
  41. package/lib/fragments/control-bar/device/index.js +203 -0
  42. package/lib/fragments/control-bar/index.css +276 -0
  43. package/lib/fragments/control-bar/index.d.ts +26 -0
  44. package/lib/fragments/control-bar/index.js +223 -0
  45. package/lib/fragments/control-bar/more-actions/index.css +19 -0
  46. package/lib/fragments/control-bar/more-actions/index.d.ts +7 -0
  47. package/lib/fragments/control-bar/more-actions/index.js +259 -0
  48. package/lib/fragments/control-bar/security-content/index.css +24 -0
  49. package/lib/fragments/control-bar/security-content/index.d.ts +2 -0
  50. package/lib/fragments/control-bar/security-content/index.js +145 -0
  51. package/lib/fragments/control-bar/share-state-nav/index.css +70 -0
  52. package/lib/fragments/control-bar/share-state-nav/index.d.ts +10 -0
  53. package/lib/fragments/control-bar/share-state-nav/index.js +134 -0
  54. package/lib/fragments/control-bar/stop-live-streaming/index.d.ts +1 -0
  55. package/lib/fragments/control-bar/stop-live-streaming/index.js +82 -0
  56. package/lib/fragments/control-bar/transfer-position-icon/index.d.ts +11 -0
  57. package/lib/fragments/control-bar/transfer-position-icon/index.js +46 -0
  58. package/lib/fragments/control-bar/view.d.ts +1 -0
  59. package/lib/fragments/control-bar/view.js +321 -0
  60. package/lib/fragments/live-streaming/context.d.ts +3 -0
  61. package/lib/fragments/live-streaming/context.js +9 -0
  62. package/lib/fragments/live-streaming/index.css +11 -0
  63. package/lib/fragments/live-streaming/index.d.ts +11 -0
  64. package/lib/fragments/live-streaming/index.js +79 -0
  65. package/lib/fragments/live-streaming/store.d.ts +21 -0
  66. package/lib/fragments/live-streaming/store.js +228 -0
  67. package/lib/fragments/live-streaming/view.d.ts +2 -0
  68. package/lib/fragments/live-streaming/view.js +44 -0
  69. package/lib/fragments/share-screen-selection/context.d.ts +3 -0
  70. package/lib/fragments/share-screen-selection/context.js +9 -0
  71. package/lib/fragments/share-screen-selection/index.css +66 -0
  72. package/lib/fragments/share-screen-selection/index.d.ts +9 -0
  73. package/lib/fragments/share-screen-selection/index.js +94 -0
  74. package/lib/fragments/share-screen-selection/open-mic-tips.d.ts +9 -0
  75. package/lib/fragments/share-screen-selection/open-mic-tips.js +55 -0
  76. package/lib/fragments/share-screen-selection/selection-store.d.ts +36 -0
  77. package/lib/fragments/share-screen-selection/selection-store.js +351 -0
  78. package/lib/fragments/share-screen-selection/tips.css +33 -0
  79. package/lib/fragments/share-screen-selection/view.d.ts +9 -0
  80. package/lib/fragments/share-screen-selection/view.js +255 -0
  81. package/lib/fragments/toolbar/components/color-picker/components/color.d.ts +5 -0
  82. package/lib/fragments/toolbar/components/color-picker/components/color.js +54 -0
  83. package/lib/fragments/toolbar/components/color-picker/components/panel.d.ts +1 -0
  84. package/lib/fragments/toolbar/components/color-picker/components/panel.js +114 -0
  85. package/lib/fragments/toolbar/components/color-picker/components/picker.d.ts +1 -0
  86. package/lib/fragments/toolbar/components/color-picker/components/picker.js +75 -0
  87. package/lib/fragments/toolbar/components/color-picker/index.d.ts +2 -0
  88. package/lib/fragments/toolbar/components/color-picker/index.js +53 -0
  89. package/lib/fragments/toolbar/components/color-picker.d.ts +2 -0
  90. package/lib/fragments/toolbar/components/color-picker.js +127 -0
  91. package/lib/fragments/toolbar/components/eraser-picker.d.ts +4 -0
  92. package/lib/fragments/toolbar/components/eraser-picker.js +84 -0
  93. package/lib/fragments/toolbar/components/extension-toolbar-item.d.ts +1 -0
  94. package/lib/fragments/toolbar/components/extension-toolbar-item.js +78 -0
  95. package/lib/fragments/toolbar/components/extra-tool-picker.d.ts +1 -0
  96. package/lib/fragments/toolbar/components/extra-tool-picker.js +60 -0
  97. package/lib/fragments/toolbar/components/fold-icon.d.ts +2 -0
  98. package/lib/fragments/toolbar/components/fold-icon.js +41 -0
  99. package/lib/fragments/toolbar/components/history.d.ts +2 -0
  100. package/lib/fragments/toolbar/components/history.js +46 -0
  101. package/lib/fragments/toolbar/components/pen-picker.d.ts +4 -0
  102. package/lib/fragments/toolbar/components/pen-picker.js +132 -0
  103. package/lib/fragments/toolbar/components/screen-capture-picker.d.ts +4 -0
  104. package/lib/fragments/toolbar/components/screen-capture-picker.js +84 -0
  105. package/lib/fragments/toolbar/components/shape-picker.d.ts +4 -0
  106. package/lib/fragments/toolbar/components/shape-picker.js +146 -0
  107. package/lib/fragments/toolbar/components/toolbar-item.d.ts +1 -0
  108. package/lib/fragments/toolbar/components/toolbar-item.js +42 -0
  109. package/lib/fragments/toolbar/components/wrapper.d.ts +1 -0
  110. package/lib/fragments/toolbar/components/wrapper.js +138 -0
  111. package/lib/fragments/toolbar/hooks.d.ts +16 -0
  112. package/lib/fragments/toolbar/hooks.js +251 -0
  113. package/lib/fragments/toolbar/index.d.ts +12 -0
  114. package/lib/fragments/toolbar/index.js +80 -0
  115. package/lib/fragments/toolbar/store.d.ts +62 -0
  116. package/lib/fragments/toolbar/store.js +279 -0
  117. package/lib/fragments/toolbar/style.css +347 -0
  118. package/lib/fragments/toolbar/view.d.ts +1 -0
  119. package/lib/fragments/toolbar/view.js +34 -0
  120. package/lib/global.d.ts +8 -0
  121. package/lib/hooks/i18n.d.ts +4 -0
  122. package/lib/hooks/i18n.js +18 -0
  123. package/lib/hooks/meeting-time.d.ts +15 -0
  124. package/lib/hooks/meeting-time.js +92 -0
  125. package/lib/index.d.ts +8 -0
  126. package/lib/index.js +52 -0
  127. package/lib/modules/action-bar/action-bar-collapes-items.d.ts +17 -0
  128. package/lib/modules/action-bar/action-bar-collapes-items.js +199 -0
  129. package/lib/modules/action-bar/board/index.d.ts +4 -0
  130. package/lib/modules/action-bar/board/index.js +34 -0
  131. package/lib/modules/action-bar/breakout-room/index.d.ts +4 -0
  132. package/lib/modules/action-bar/breakout-room/index.js +32 -0
  133. package/lib/modules/action-bar/chat/index.css +80 -0
  134. package/lib/modules/action-bar/chat/index.d.ts +5 -0
  135. package/lib/modules/action-bar/chat/index.js +152 -0
  136. package/lib/modules/action-bar/context.d.ts +3 -0
  137. package/lib/modules/action-bar/context.js +9 -0
  138. package/lib/modules/action-bar/device/index.css +157 -0
  139. package/lib/modules/action-bar/device/index.d.ts +8 -0
  140. package/lib/modules/action-bar/device/index.js +611 -0
  141. package/lib/modules/action-bar/index.css +212 -0
  142. package/lib/modules/action-bar/index.d.ts +25 -0
  143. package/lib/modules/action-bar/index.dev.d.ts +1 -0
  144. package/lib/modules/action-bar/index.dev.js +96 -0
  145. package/lib/modules/action-bar/index.js +89 -0
  146. package/lib/modules/action-bar/item-placement.d.ts +8 -0
  147. package/lib/modules/action-bar/item-placement.js +18 -0
  148. package/lib/modules/action-bar/item.d.ts +27 -0
  149. package/lib/modules/action-bar/item.js +154 -0
  150. package/lib/modules/action-bar/leave/assign-host.d.ts +8 -0
  151. package/lib/modules/action-bar/leave/assign-host.js +64 -0
  152. package/lib/modules/action-bar/leave/index.css +116 -0
  153. package/lib/modules/action-bar/leave/index.d.ts +3 -0
  154. package/lib/modules/action-bar/leave/index.js +110 -0
  155. package/lib/modules/action-bar/leave/leave-meeting.d.ts +7 -0
  156. package/lib/modules/action-bar/leave/leave-meeting.js +135 -0
  157. package/lib/modules/action-bar/live-streaming/index.d.ts +4 -0
  158. package/lib/modules/action-bar/live-streaming/index.js +39 -0
  159. package/lib/modules/action-bar/more/index.css +114 -0
  160. package/lib/modules/action-bar/more/index.d.ts +5 -0
  161. package/lib/modules/action-bar/more/index.js +80 -0
  162. package/lib/modules/action-bar/more/poppover-content.d.ts +9 -0
  163. package/lib/modules/action-bar/more/poppover-content.js +369 -0
  164. package/lib/modules/action-bar/participants/index.css +9 -0
  165. package/lib/modules/action-bar/participants/index.d.ts +5 -0
  166. package/lib/modules/action-bar/participants/index.js +75 -0
  167. package/lib/modules/action-bar/record/index.css +39 -0
  168. package/lib/modules/action-bar/record/index.d.ts +5 -0
  169. package/lib/modules/action-bar/record/index.js +161 -0
  170. package/lib/modules/action-bar/record/stop-record-dialog.d.ts +5 -0
  171. package/lib/modules/action-bar/record/stop-record-dialog.js +48 -0
  172. package/lib/modules/action-bar/respond/index.d.ts +4 -0
  173. package/lib/modules/action-bar/respond/index.js +32 -0
  174. package/lib/modules/action-bar/screen-share/index.d.ts +4 -0
  175. package/lib/modules/action-bar/screen-share/index.js +97 -0
  176. package/lib/modules/action-bar/screen-share/submenu.d.ts +1 -0
  177. package/lib/modules/action-bar/screen-share/submenu.js +159 -0
  178. package/lib/modules/action-bar/security/drop-menu.d.ts +1 -0
  179. package/lib/modules/action-bar/security/drop-menu.js +164 -0
  180. package/lib/modules/action-bar/security/index.d.ts +4 -0
  181. package/lib/modules/action-bar/security/index.js +50 -0
  182. package/lib/modules/action-bar/settings/index.d.ts +4 -0
  183. package/lib/modules/action-bar/settings/index.js +41 -0
  184. package/lib/modules/action-bar/smaller.d.ts +1 -0
  185. package/lib/modules/action-bar/smaller.js +52 -0
  186. package/lib/modules/action-bar/store.d.ts +177 -0
  187. package/lib/modules/action-bar/store.js +1179 -0
  188. package/lib/modules/action-bar/type.d.ts +6 -0
  189. package/lib/modules/action-bar/type.js +13 -0
  190. package/lib/modules/action-bar/view.d.ts +5 -0
  191. package/lib/modules/action-bar/view.js +80 -0
  192. package/lib/modules/audio-stream/index.d.ts +21 -0
  193. package/lib/modules/audio-stream/index.js +119 -0
  194. package/lib/modules/chat/chat-bar/index.css +79 -0
  195. package/lib/modules/chat/chat-bar/index.d.ts +11 -0
  196. package/lib/modules/chat/chat-bar/index.js +125 -0
  197. package/lib/modules/chat/chat-select/index.css +156 -0
  198. package/lib/modules/chat/chat-select/index.d.ts +13 -0
  199. package/lib/modules/chat/chat-select/index.js +186 -0
  200. package/lib/modules/chat/chat.d.ts +12 -0
  201. package/lib/modules/chat/chat.js +295 -0
  202. package/lib/modules/chat/contex.d.ts +3 -0
  203. package/lib/modules/chat/contex.js +9 -0
  204. package/lib/modules/chat/demo-wrapper.d.ts +2 -0
  205. package/lib/modules/chat/demo-wrapper.js +42 -0
  206. package/lib/modules/chat/index.css +17 -0
  207. package/lib/modules/chat/index.d.ts +29 -0
  208. package/lib/modules/chat/index.dev.d.ts +1 -0
  209. package/lib/modules/chat/index.dev.js +58 -0
  210. package/lib/modules/chat/index.js +189 -0
  211. package/lib/modules/chat/message-list.d.ts +22 -0
  212. package/lib/modules/chat/message-list.js +595 -0
  213. package/lib/modules/chat/mock.d.ts +2 -0
  214. package/lib/modules/chat/mock.js +283 -0
  215. package/lib/modules/chat/store.d.ts +132 -0
  216. package/lib/modules/chat/store.js +923 -0
  217. package/lib/modules/chat/util.d.ts +6 -0
  218. package/lib/modules/chat/util.js +69 -0
  219. package/lib/modules/connection-gateway/components/computer/index.css +11 -0
  220. package/lib/modules/connection-gateway/components/computer/index.d.ts +3 -0
  221. package/lib/modules/connection-gateway/components/computer/index.js +66 -0
  222. package/lib/modules/connection-gateway/components/phone/components/callinfo/index.css +36 -0
  223. package/lib/modules/connection-gateway/components/phone/components/callinfo/index.d.ts +10 -0
  224. package/lib/modules/connection-gateway/components/phone/components/callinfo/index.js +75 -0
  225. package/lib/modules/connection-gateway/components/phone/components/calling/index.css +72 -0
  226. package/lib/modules/connection-gateway/components/phone/components/calling/index.d.ts +7 -0
  227. package/lib/modules/connection-gateway/components/phone/components/calling/index.js +58 -0
  228. package/lib/modules/connection-gateway/components/phone/components/remeber/index.css +10 -0
  229. package/lib/modules/connection-gateway/components/phone/components/remeber/index.d.ts +5 -0
  230. package/lib/modules/connection-gateway/components/phone/components/remeber/index.js +24 -0
  231. package/lib/modules/connection-gateway/components/phone/components/useing/index.css +46 -0
  232. package/lib/modules/connection-gateway/components/phone/components/useing/index.d.ts +3 -0
  233. package/lib/modules/connection-gateway/components/phone/components/useing/index.js +36 -0
  234. package/lib/modules/connection-gateway/components/phone/index.css +49 -0
  235. package/lib/modules/connection-gateway/components/phone/index.d.ts +3 -0
  236. package/lib/modules/connection-gateway/components/phone/index.js +181 -0
  237. package/lib/modules/connection-gateway/components/tabs/index.css +31 -0
  238. package/lib/modules/connection-gateway/components/tabs/index.d.ts +4 -0
  239. package/lib/modules/connection-gateway/components/tabs/index.js +43 -0
  240. package/lib/modules/connection-gateway/index.css +6 -0
  241. package/lib/modules/connection-gateway/index.d.ts +16 -0
  242. package/lib/modules/connection-gateway/index.js +67 -0
  243. package/lib/modules/connection-gateway/store.d.ts +80 -0
  244. package/lib/modules/connection-gateway/store.js +698 -0
  245. package/lib/modules/connection-gateway/view.d.ts +1 -0
  246. package/lib/modules/connection-gateway/view.js +22 -0
  247. package/lib/modules/device-pretest/assets/virtual-backdound-resources.d.ts +13 -0
  248. package/lib/modules/device-pretest/assets/virtual-backdound-resources.js +15 -0
  249. package/lib/modules/device-pretest/audio-preview/microphone-detection.d.ts +12 -0
  250. package/lib/modules/device-pretest/audio-preview/microphone-detection.js +71 -0
  251. package/lib/modules/device-pretest/audio-preview/speaker-control.d.ts +2 -0
  252. package/lib/modules/device-pretest/audio-preview/speaker-control.js +63 -0
  253. package/lib/modules/device-pretest/audio-preview/speaker-detection.d.ts +12 -0
  254. package/lib/modules/device-pretest/audio-preview/speaker-detection.js +71 -0
  255. package/lib/modules/device-pretest/context.d.ts +3 -0
  256. package/lib/modules/device-pretest/context.js +9 -0
  257. package/lib/modules/device-pretest/index.css +127 -0
  258. package/lib/modules/device-pretest/index.d.ts +13 -0
  259. package/lib/modules/device-pretest/index.js +242 -0
  260. package/lib/modules/device-pretest/settings/beauty.d.ts +10 -0
  261. package/lib/modules/device-pretest/settings/beauty.js +103 -0
  262. package/lib/modules/device-pretest/settings/camera-select.d.ts +12 -0
  263. package/lib/modules/device-pretest/settings/camera-select.js +53 -0
  264. package/lib/modules/device-pretest/settings/index.css +15 -0
  265. package/lib/modules/device-pretest/settings/video-effect.d.ts +12 -0
  266. package/lib/modules/device-pretest/settings/video-effect.js +50 -0
  267. package/lib/modules/device-pretest/settings/video-settings-basic.d.ts +2 -0
  268. package/lib/modules/device-pretest/settings/video-settings-basic.js +143 -0
  269. package/lib/modules/device-pretest/settings/virtual-background-setting.d.ts +7 -0
  270. package/lib/modules/device-pretest/settings/virtual-background-setting.js +99 -0
  271. package/lib/modules/device-pretest/store.d.ts +69 -0
  272. package/lib/modules/device-pretest/store.js +413 -0
  273. package/lib/modules/dialog/components/chat/electron.d.ts +4 -0
  274. package/lib/modules/dialog/components/chat/electron.js +59 -0
  275. package/lib/modules/dialog/components/chat/index.d.ts +7 -0
  276. package/lib/modules/dialog/components/chat/index.js +66 -0
  277. package/lib/modules/dialog/components/confirm/electron.d.ts +10 -0
  278. package/lib/modules/dialog/components/confirm/electron.js +84 -0
  279. package/lib/modules/dialog/components/confirm/index.d.ts +10 -0
  280. package/lib/modules/dialog/components/confirm/index.js +75 -0
  281. package/lib/modules/dialog/components/connection-gateway/electron.d.ts +2 -0
  282. package/lib/modules/dialog/components/connection-gateway/electron.js +62 -0
  283. package/lib/modules/dialog/components/connection-gateway/index.css +27 -0
  284. package/lib/modules/dialog/components/connection-gateway/index.d.ts +3 -0
  285. package/lib/modules/dialog/components/connection-gateway/index.js +74 -0
  286. package/lib/modules/dialog/components/participant/electron.d.ts +2 -0
  287. package/lib/modules/dialog/components/participant/electron.js +85 -0
  288. package/lib/modules/dialog/components/participant/index.d.ts +3 -0
  289. package/lib/modules/dialog/components/participant/index.js +61 -0
  290. package/lib/modules/dialog/components/share-screen-selection/index.d.ts +4 -0
  291. package/lib/modules/dialog/components/share-screen-selection/index.js +42 -0
  292. package/lib/modules/dialog/components/whiteboard/index.d.ts +4 -0
  293. package/lib/modules/dialog/components/whiteboard/index.js +74 -0
  294. package/lib/modules/dialog/context.d.ts +3 -0
  295. package/lib/modules/dialog/context.js +9 -0
  296. package/lib/modules/dialog/dialogs.d.ts +11 -0
  297. package/lib/modules/dialog/dialogs.js +376 -0
  298. package/lib/modules/dialog/index.css +55 -0
  299. package/lib/modules/dialog/index.d.ts +29 -0
  300. package/lib/modules/dialog/index.js +80 -0
  301. package/lib/modules/dialog/store.d.ts +82 -0
  302. package/lib/modules/dialog/store.js +525 -0
  303. package/lib/modules/dialog/view.d.ts +5 -0
  304. package/lib/modules/dialog/view.js +30 -0
  305. package/lib/modules/event-toast/context.d.ts +3 -0
  306. package/lib/modules/event-toast/context.js +9 -0
  307. package/lib/modules/event-toast/index.d.ts +10 -0
  308. package/lib/modules/event-toast/index.js +41 -0
  309. package/lib/modules/event-toast/store.d.ts +9 -0
  310. package/lib/modules/event-toast/store.js +76 -0
  311. package/lib/modules/event-toast/view.d.ts +1 -0
  312. package/lib/modules/event-toast/view.js +14 -0
  313. package/lib/modules/invite/context.d.ts +3 -0
  314. package/lib/modules/invite/context.js +9 -0
  315. package/lib/modules/invite/index.css +318 -0
  316. package/lib/modules/invite/index.d.ts +13 -0
  317. package/lib/modules/invite/index.js +51 -0
  318. package/lib/modules/invite/pstn-invite.d.ts +2 -0
  319. package/lib/modules/invite/pstn-invite.js +271 -0
  320. package/lib/modules/invite/store.d.ts +71 -0
  321. package/lib/modules/invite/store.js +472 -0
  322. package/lib/modules/invite/view.d.ts +1 -0
  323. package/lib/modules/invite/view.js +47 -0
  324. package/lib/modules/invite/voip-invite.d.ts +2 -0
  325. package/lib/modules/invite/voip-invite.js +294 -0
  326. package/lib/modules/layout/components/Aside.d.ts +7 -0
  327. package/lib/modules/layout/components/Aside.js +144 -0
  328. package/lib/modules/layout/components/Carousel.d.ts +1 -0
  329. package/lib/modules/layout/components/Carousel.js +271 -0
  330. package/lib/modules/layout/components/Gallery.d.ts +1 -0
  331. package/lib/modules/layout/components/Gallery.js +360 -0
  332. package/lib/modules/layout/components/Layout.d.ts +2 -0
  333. package/lib/modules/layout/components/Layout.js +160 -0
  334. package/lib/modules/layout/components/index.css +608 -0
  335. package/lib/modules/layout/components/index.d.ts +5 -0
  336. package/lib/modules/layout/components/index.js +55 -0
  337. package/lib/modules/layout/components/utils.d.ts +1 -0
  338. package/lib/modules/layout/components/utils.js +10 -0
  339. package/lib/modules/layout/context.d.ts +3 -0
  340. package/lib/modules/layout/context.js +9 -0
  341. package/lib/modules/layout/index.css +27 -0
  342. package/lib/modules/layout/index.d.ts +10 -0
  343. package/lib/modules/layout/index.dev.d.ts +1 -0
  344. package/lib/modules/layout/index.dev.js +378 -0
  345. package/lib/modules/layout/index.js +72 -0
  346. package/lib/modules/layout/member-window/index.css +321 -0
  347. package/lib/modules/layout/member-window/index.d.ts +67 -0
  348. package/lib/modules/layout/member-window/index.js +730 -0
  349. package/lib/modules/layout/store.d.ts +177 -0
  350. package/lib/modules/layout/store.js +1278 -0
  351. package/lib/modules/layout/type.d.ts +64 -0
  352. package/lib/modules/layout/type.js +52 -0
  353. package/lib/modules/layout/video-window-datasource.d.ts +119 -0
  354. package/lib/modules/layout/video-window-datasource.js +1031 -0
  355. package/lib/modules/layout/view.d.ts +2 -0
  356. package/lib/modules/layout/view.js +10 -0
  357. package/lib/modules/live-streaming/context.d.ts +3 -0
  358. package/lib/modules/live-streaming/context.js +9 -0
  359. package/lib/modules/live-streaming/index.css +0 -0
  360. package/lib/modules/live-streaming/index.d.ts +13 -0
  361. package/lib/modules/live-streaming/index.dev.d.ts +1 -0
  362. package/lib/modules/live-streaming/index.dev.js +59 -0
  363. package/lib/modules/live-streaming/index.js +76 -0
  364. package/lib/modules/live-streaming/store.d.ts +38 -0
  365. package/lib/modules/live-streaming/store.js +360 -0
  366. package/lib/modules/live-streaming/view.d.ts +1 -0
  367. package/lib/modules/live-streaming/view.js +33 -0
  368. package/lib/modules/participant/attendee/index.css +14 -0
  369. package/lib/modules/participant/attendee/index.d.ts +19 -0
  370. package/lib/modules/participant/attendee/index.js +280 -0
  371. package/lib/modules/participant/attendee/participants-more-action.d.ts +18 -0
  372. package/lib/modules/participant/attendee/participants-more-action.js +275 -0
  373. package/lib/modules/participant/attendee/user-more-actions.d.ts +22 -0
  374. package/lib/modules/participant/attendee/user-more-actions.js +76 -0
  375. package/lib/modules/participant/can-moveable/index.d.ts +1 -0
  376. package/lib/modules/participant/can-moveable/index.js +68 -0
  377. package/lib/modules/participant/context.d.ts +3 -0
  378. package/lib/modules/participant/context.js +9 -0
  379. package/lib/modules/participant/index.css +58 -0
  380. package/lib/modules/participant/index.d.ts +25 -0
  381. package/lib/modules/participant/index.dev.d.ts +1 -0
  382. package/lib/modules/participant/index.dev.js +98 -0
  383. package/lib/modules/participant/index.js +93 -0
  384. package/lib/modules/participant/member-list-data-source.d.ts +28 -0
  385. package/lib/modules/participant/member-list-data-source.js +261 -0
  386. package/lib/modules/participant/room-control-drop-menu/index.css +19 -0
  387. package/lib/modules/participant/room-control-drop-menu/index.d.ts +2 -0
  388. package/lib/modules/participant/room-control-drop-menu/index.js +154 -0
  389. package/lib/modules/participant/store.d.ts +145 -0
  390. package/lib/modules/participant/store.js +1334 -0
  391. package/lib/modules/participant/type.d.ts +34 -0
  392. package/lib/modules/participant/type.js +22 -0
  393. package/lib/modules/participant/view.d.ts +11 -0
  394. package/lib/modules/participant/view.js +260 -0
  395. package/lib/modules/setting/audio-settings/audio-settings.d.ts +4 -0
  396. package/lib/modules/setting/audio-settings/audio-settings.js +303 -0
  397. package/lib/modules/setting/audio-settings/index.css +144 -0
  398. package/lib/{fcr-ui-scene/src/containers/stream-window/index.d.ts → modules/setting/common/advance-link.d.ts} +1 -1
  399. package/lib/modules/setting/common/advance-link.js +27 -0
  400. package/lib/modules/setting/common/index.css +26 -0
  401. package/lib/modules/setting/common/useNamespace.d.ts +15 -0
  402. package/lib/modules/setting/common/useNamespace.js +66 -0
  403. package/lib/modules/setting/config.d.ts +16 -0
  404. package/lib/modules/setting/config.js +17 -0
  405. package/lib/modules/setting/context.d.ts +3 -0
  406. package/lib/modules/setting/context.js +9 -0
  407. package/lib/modules/setting/dialog-wrapper.d.ts +2 -0
  408. package/lib/modules/setting/dialog-wrapper.js +110 -0
  409. package/lib/modules/setting/general-settings/general-settings.d.ts +4 -0
  410. package/lib/modules/setting/general-settings/general-settings.js +66 -0
  411. package/lib/modules/setting/general-settings/index.css +26 -0
  412. package/lib/modules/setting/index.css +115 -0
  413. package/lib/modules/setting/index.d.ts +21 -0
  414. package/lib/modules/setting/index.dev.d.ts +1 -0
  415. package/lib/modules/setting/index.dev.js +71 -0
  416. package/lib/modules/setting/index.js +81 -0
  417. package/lib/modules/setting/state/index.css +211 -0
  418. package/lib/modules/setting/state/index.d.ts +4 -0
  419. package/lib/modules/setting/state/index.js +331 -0
  420. package/lib/modules/setting/storage-settings/index.css +91 -0
  421. package/lib/modules/setting/storage-settings/storage-settings.d.ts +3 -0
  422. package/lib/modules/setting/storage-settings/storage-settings.js +84 -0
  423. package/lib/modules/setting/store.d.ts +213 -0
  424. package/lib/modules/setting/store.js +1125 -0
  425. package/lib/modules/setting/video-settings/index.css +339 -0
  426. package/lib/modules/setting/video-settings/video-settings-basic.d.ts +9 -0
  427. package/lib/modules/setting/video-settings/video-settings-basic.js +160 -0
  428. package/lib/modules/setting/video-settings/video-settings.d.ts +10 -0
  429. package/lib/modules/setting/video-settings/video-settings.js +191 -0
  430. package/lib/modules/setting/view.d.ts +10 -0
  431. package/lib/modules/setting/view.js +139 -0
  432. package/lib/modules/share-screen/index.css +0 -0
  433. package/lib/modules/share-screen/index.d.ts +26 -0
  434. package/lib/modules/share-screen/index.dev.d.ts +1 -0
  435. package/lib/modules/share-screen/index.dev.js +96 -0
  436. package/lib/modules/share-screen/index.js +171 -0
  437. package/lib/modules/share-screen/selection/index.css +66 -0
  438. package/lib/modules/share-screen/selection/index.d.ts +9 -0
  439. package/lib/modules/share-screen/selection/index.js +224 -0
  440. package/lib/modules/share-screen/share-state-bar/index.css +38 -0
  441. package/lib/modules/share-screen/share-state-bar/index.d.ts +5 -0
  442. package/lib/modules/share-screen/share-state-bar/index.js +67 -0
  443. package/lib/modules/share-screen/store.d.ts +132 -0
  444. package/lib/modules/share-screen/store.js +1714 -0
  445. package/lib/modules/share-screen/view.d.ts +2 -0
  446. package/lib/modules/share-screen/view.js +45 -0
  447. package/lib/modules/state-bar/assets/fcr_grid_big.svg +3 -0
  448. package/lib/modules/state-bar/assets/fcr_listontop_big.svg +3 -0
  449. package/lib/modules/state-bar/assets/live-streaming.gif +0 -0
  450. package/lib/modules/state-bar/context.d.ts +3 -0
  451. package/lib/modules/state-bar/context.js +9 -0
  452. package/lib/modules/state-bar/index.css +630 -0
  453. package/lib/modules/state-bar/index.d.ts +18 -0
  454. package/lib/modules/state-bar/index.dev.d.ts +1 -0
  455. package/lib/modules/state-bar/index.dev.js +82 -0
  456. package/lib/modules/state-bar/index.js +69 -0
  457. package/lib/modules/state-bar/layout-config.d.ts +5 -0
  458. package/lib/modules/state-bar/layout-config.js +151 -0
  459. package/lib/modules/state-bar/live-streaming-state.d.ts +1 -0
  460. package/lib/modules/state-bar/live-streaming-state.js +199 -0
  461. package/lib/modules/state-bar/meeting-detail.css +107 -0
  462. package/lib/modules/state-bar/meeting-details.d.ts +2 -0
  463. package/lib/modules/state-bar/meeting-details.js +151 -0
  464. package/lib/modules/state-bar/meeting-network-state.css +131 -0
  465. package/lib/modules/state-bar/meeting-network-state.d.ts +2 -0
  466. package/lib/modules/state-bar/meeting-network-state.js +108 -0
  467. package/lib/modules/state-bar/meeting-time.d.ts +2 -0
  468. package/lib/modules/state-bar/meeting-time.js +49 -0
  469. package/lib/modules/state-bar/network-quality.d.ts +2 -0
  470. package/lib/modules/state-bar/network-quality.js +33 -0
  471. package/lib/modules/state-bar/recording.d.ts +1 -0
  472. package/lib/modules/state-bar/recording.js +110 -0
  473. package/lib/modules/state-bar/store.d.ts +70 -0
  474. package/lib/modules/state-bar/store.js +515 -0
  475. package/lib/modules/state-bar/view.d.ts +5 -0
  476. package/lib/modules/state-bar/view.js +182 -0
  477. package/lib/modules/video-window/context.d.ts +3 -0
  478. package/lib/modules/video-window/context.js +9 -0
  479. package/lib/modules/video-window/deviceState/index.d.ts +15 -0
  480. package/lib/modules/video-window/deviceState/index.js +77 -0
  481. package/lib/modules/video-window/index.css +17 -0
  482. package/lib/modules/video-window/index.d.ts +9 -0
  483. package/lib/modules/video-window/index.js +65 -0
  484. package/lib/modules/video-window/members/index.css +50 -0
  485. package/lib/modules/video-window/members/index.d.ts +2 -0
  486. package/lib/modules/video-window/members/index.js +134 -0
  487. package/lib/modules/video-window/speaking/index.css +69 -0
  488. package/lib/modules/video-window/speaking/index.d.ts +3 -0
  489. package/lib/modules/video-window/speaking/index.js +57 -0
  490. package/lib/modules/video-window/store.d.ts +88 -0
  491. package/lib/modules/video-window/store.js +598 -0
  492. package/lib/modules/video-window/topControl/index.css +35 -0
  493. package/lib/modules/video-window/topControl/index.d.ts +3 -0
  494. package/lib/modules/video-window/topControl/index.js +85 -0
  495. package/lib/modules/video-window/type.d.ts +23 -0
  496. package/lib/modules/video-window/type.js +32 -0
  497. package/lib/modules/video-window/view.d.ts +2 -0
  498. package/lib/modules/video-window/view.js +63 -0
  499. package/lib/modules/whiteboard/app.d.ts +2 -0
  500. package/lib/modules/whiteboard/app.js +55 -0
  501. package/lib/modules/whiteboard/components/control-bar/index.css +49 -0
  502. package/lib/modules/whiteboard/components/control-bar/index.d.ts +2 -0
  503. package/lib/modules/whiteboard/components/control-bar/index.js +163 -0
  504. package/lib/modules/whiteboard/components/control-bar/store.d.ts +36 -0
  505. package/lib/modules/whiteboard/components/control-bar/store.js +288 -0
  506. package/lib/modules/whiteboard/components/loading/index.css +76 -0
  507. package/lib/modules/whiteboard/components/loading/index.d.ts +2 -0
  508. package/lib/modules/whiteboard/components/loading/index.js +68 -0
  509. package/lib/modules/whiteboard/components/loading/loading.png +0 -0
  510. package/lib/modules/whiteboard/components/multi-window/index.css +63 -0
  511. package/lib/modules/whiteboard/components/multi-window/index.d.ts +5 -0
  512. package/lib/modules/whiteboard/components/multi-window/index.js +34 -0
  513. package/lib/modules/whiteboard/components/pagination/index.css +228 -0
  514. package/lib/modules/whiteboard/components/pagination/index.d.ts +15 -0
  515. package/lib/modules/whiteboard/components/pagination/index.js +163 -0
  516. package/lib/modules/whiteboard/components/pagination/store.d.ts +19 -0
  517. package/lib/modules/whiteboard/components/pagination/store.js +17 -0
  518. package/lib/modules/whiteboard/components/progress/electron.d.ts +1 -0
  519. package/lib/modules/whiteboard/components/progress/electron.js +32 -0
  520. package/lib/modules/whiteboard/components/progress/index.d.ts +5 -0
  521. package/lib/modules/whiteboard/components/progress/index.js +43 -0
  522. package/lib/modules/whiteboard/components/progress/style.css +50 -0
  523. package/lib/modules/whiteboard/components/scene-pagination.d.ts +1 -0
  524. package/lib/modules/whiteboard/components/scene-pagination.js +32 -0
  525. package/lib/modules/whiteboard/components/switch-theme/index.css +94 -0
  526. package/lib/modules/whiteboard/components/switch-theme/index.d.ts +2 -0
  527. package/lib/modules/whiteboard/components/switch-theme/index.js +77 -0
  528. package/lib/modules/whiteboard/components/switch-theme/item.d.ts +8 -0
  529. package/lib/modules/whiteboard/components/switch-theme/item.js +44 -0
  530. package/lib/modules/whiteboard/components/switch-theme/libs.d.ts +3 -0
  531. package/lib/modules/whiteboard/components/switch-theme/libs.js +28 -0
  532. package/lib/modules/whiteboard/components/toolbar/ style.css +588 -0
  533. package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/color.d.ts +5 -0
  534. package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/color.js +39 -0
  535. package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/panel.d.ts +1 -0
  536. package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/panel.js +105 -0
  537. package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/picker.d.ts +1 -0
  538. package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/picker.js +63 -0
  539. package/lib/modules/whiteboard/components/toolbar/components/color-picker/index.d.ts +2 -0
  540. package/lib/modules/whiteboard/components/toolbar/components/color-picker/index.js +44 -0
  541. package/lib/modules/whiteboard/components/toolbar/components/eraser-picker.d.ts +4 -0
  542. package/lib/modules/whiteboard/components/toolbar/components/eraser-picker.js +98 -0
  543. package/lib/modules/whiteboard/components/toolbar/components/extra-tool-picker.d.ts +1 -0
  544. package/lib/modules/whiteboard/components/toolbar/components/extra-tool-picker.js +59 -0
  545. package/lib/modules/whiteboard/components/toolbar/components/history.d.ts +2 -0
  546. package/lib/modules/whiteboard/components/toolbar/components/history.js +46 -0
  547. package/lib/modules/whiteboard/components/toolbar/components/icons/fold-icon.d.ts +2 -0
  548. package/lib/modules/whiteboard/components/toolbar/components/icons/fold-icon.js +41 -0
  549. package/lib/modules/whiteboard/components/toolbar/components/icons/move-icon.d.ts +1 -0
  550. package/lib/modules/whiteboard/components/toolbar/components/icons/move-icon.js +66 -0
  551. package/lib/modules/whiteboard/components/toolbar/components/move-handle.d.ts +5 -0
  552. package/lib/modules/whiteboard/components/toolbar/components/move-handle.js +131 -0
  553. package/lib/modules/whiteboard/components/toolbar/components/pen-picker.d.ts +4 -0
  554. package/lib/modules/whiteboard/components/toolbar/components/pen-picker.js +112 -0
  555. package/lib/modules/whiteboard/components/toolbar/components/screen-capture-picker.d.ts +4 -0
  556. package/lib/modules/whiteboard/components/toolbar/components/screen-capture-picker.js +74 -0
  557. package/lib/modules/whiteboard/components/toolbar/components/shape-picker.d.ts +4 -0
  558. package/lib/modules/whiteboard/components/toolbar/components/shape-picker.js +163 -0
  559. package/lib/modules/whiteboard/components/toolbar/hooks/index.d.ts +14 -0
  560. package/lib/modules/whiteboard/components/toolbar/hooks/index.js +211 -0
  561. package/lib/modules/whiteboard/components/toolbar/index.d.ts +2 -0
  562. package/lib/modules/whiteboard/components/toolbar/index.js +175 -0
  563. package/lib/modules/whiteboard/components/toolbar/store.d.ts +50 -0
  564. package/lib/modules/whiteboard/components/toolbar/store.js +224 -0
  565. package/lib/modules/whiteboard/context.d.ts +66 -0
  566. package/lib/modules/whiteboard/context.js +34 -0
  567. package/lib/modules/whiteboard/index.d.ts +115 -0
  568. package/lib/modules/whiteboard/index.js +1082 -0
  569. package/lib/modules/whiteboard/style.css +142 -0
  570. package/lib/modules/whiteboard/type.d.ts +96 -0
  571. package/lib/modules/whiteboard/type.js +94 -0
  572. package/lib/modules/whiteboard/utils.d.ts +11 -0
  573. package/lib/modules/whiteboard/utils.js +25 -0
  574. package/lib/plugins/browser-runtime-plugin.d.ts +0 -0
  575. package/lib/plugins/browser-runtime-plugin.js +67 -0
  576. package/lib/plugins/css-preset-plugin.d.ts +1 -0
  577. package/lib/plugins/css-preset-plugin.js +22 -0
  578. package/lib/plugins/electron-rtc-plugin.d.ts +1 -0
  579. package/lib/plugins/electron-rtc-plugin.js +5 -0
  580. package/lib/plugins/module-dev-plugin.d.ts +12 -0
  581. package/lib/plugins/module-dev-plugin.js +181 -0
  582. package/lib/plugins/multi-lang-plugin.d.ts +5 -0
  583. package/lib/plugins/multi-lang-plugin.js +17 -0
  584. package/lib/plugins/rtm-plugin.d.ts +1 -0
  585. package/lib/plugins/rtm-plugin.js +5 -0
  586. package/lib/plugins/web-rtc-plugin.d.ts +1 -0
  587. package/lib/plugins/web-rtc-plugin.js +5 -0
  588. package/lib/runtime.d.ts +86 -0
  589. package/lib/translations/enUS.d.ts +993 -0
  590. package/lib/translations/enUS.js +1016 -0
  591. package/lib/translations/zhCN.d.ts +993 -0
  592. package/lib/translations/zhCN.js +1016 -0
  593. package/lib/type.d.ts +107 -0
  594. package/lib/type.js +42 -0
  595. package/lib/ui-manager.d.ts +17 -0
  596. package/lib/ui-manager.js +555 -0
  597. package/lib/ui-scene.d.ts +13 -0
  598. package/lib/ui-scene.js +142 -0
  599. package/lib/utilities/board-context.d.ts +5 -0
  600. package/lib/utilities/board-context.js +12 -0
  601. package/lib/utilities/constant.d.ts +248 -0
  602. package/lib/utilities/constant.js +232 -0
  603. package/lib/utilities/copyText.d.ts +2 -0
  604. package/lib/utilities/copyText.js +43 -0
  605. package/lib/utilities/default-config.d.ts +32 -0
  606. package/lib/utilities/default-config.js +39 -0
  607. package/lib/utilities/extract.d.ts +5 -0
  608. package/lib/utilities/extract.js +97 -0
  609. package/lib/utilities/hooks.d.ts +14 -0
  610. package/lib/utilities/hooks.js +99 -0
  611. package/lib/utilities/mute-action.d.ts +4 -0
  612. package/lib/utilities/mute-action.js +48 -0
  613. package/lib/utilities/parameters.d.ts +7 -0
  614. package/lib/utilities/parameters.js +20 -0
  615. package/lib/utilities/platform.d.ts +1 -0
  616. package/lib/utilities/platform.js +11 -0
  617. package/lib/utilities/regex.d.ts +1 -0
  618. package/lib/utilities/regex.js +14 -0
  619. package/lib/utilities/renderer-event.d.ts +9 -0
  620. package/lib/utilities/renderer-event.js +76 -0
  621. package/lib/utilities/renderer.d.ts +23 -0
  622. package/lib/utilities/renderer.js +109 -0
  623. package/lib/utilities/screen.d.ts +3 -0
  624. package/lib/utilities/screen.js +41 -0
  625. package/lib/utilities/tools.d.ts +25 -0
  626. package/lib/utilities/tools.js +164 -0
  627. package/lib/utilities/ui-resources.d.ts +2 -0
  628. package/lib/utilities/ui-resources.js +9 -0
  629. package/lib/utilities/useNamespace.d.ts +15 -0
  630. package/lib/utilities/useNamespace.js +66 -0
  631. package/lib/utilities/video-track-render-context.d.ts +8 -0
  632. package/lib/utilities/video-track-render-context.js +9 -0
  633. package/package.json +61 -85
  634. package/public/assets/fcr_chat_reddot.svg +5 -0
  635. package/public/assets/fcr_defaultpage.png +0 -0
  636. package/public/assets/fcr_grid_big.svg +3 -0
  637. package/public/assets/fcr_listontop_big.svg +3 -0
  638. package/public/assets/pretest.mp3 +0 -0
  639. package/public/assets/state-bar-logo.png +0 -0
  640. package/public/assets/step-gradient.svg +10 -0
  641. package/public/extensions/agora-extension-virtual-background/agora-wasm.wasm +0 -0
  642. package/public/extensions/ai-denoiser/denoiser-wasm-simd.wasm +0 -0
  643. package/public/extensions/ai-denoiser/denoiser-wasm.js +1 -0
  644. package/public/extensions/ai-denoiser/denoiser-wasm.wasm +0 -0
  645. package/public/index.html +26 -0
  646. package/lib/fcr-ui-kit/src/components/avatar/helper.d.ts +0 -2
  647. package/lib/fcr-ui-kit/src/components/avatar/index.d.ts +0 -8
  648. package/lib/fcr-ui-kit/src/components/button/index.d.ts +0 -82
  649. package/lib/fcr-ui-kit/src/components/checkbox/index.d.ts +0 -12
  650. package/lib/fcr-ui-kit/src/components/dialog/class-dialog.d.ts +0 -51
  651. package/lib/fcr-ui-kit/src/components/dialog/confirm-dialog.d.ts +0 -70
  652. package/lib/fcr-ui-kit/src/components/dialog/global-dialog.d.ts +0 -11
  653. package/lib/fcr-ui-kit/src/components/dialog/index.d.ts +0 -68
  654. package/lib/fcr-ui-kit/src/components/dropdown/index.d.ts +0 -58
  655. package/lib/fcr-ui-kit/src/components/input/index.d.ts +0 -69
  656. package/lib/fcr-ui-kit/src/components/input-number/index.d.ts +0 -69
  657. package/lib/fcr-ui-kit/src/components/pagination/index.d.ts +0 -27
  658. package/lib/fcr-ui-kit/src/components/popover/index.d.ts +0 -47
  659. package/lib/fcr-ui-kit/src/components/progress/index.d.ts +0 -11
  660. package/lib/fcr-ui-kit/src/components/radio/index.d.ts +0 -21
  661. package/lib/fcr-ui-kit/src/components/slider/index.d.ts +0 -22
  662. package/lib/fcr-ui-kit/src/components/sound-player/index.d.ts +0 -6
  663. package/lib/fcr-ui-kit/src/components/svg-img/clickable-icon.d.ts +0 -25
  664. package/lib/fcr-ui-kit/src/components/svg-img/index.d.ts +0 -15
  665. package/lib/fcr-ui-kit/src/components/svg-img/mic.d.ts +0 -5
  666. package/lib/fcr-ui-kit/src/components/svg-img/svg-dict.d.ts +0 -12
  667. package/lib/fcr-ui-kit/src/components/svg-img/type.d.ts +0 -196
  668. package/lib/fcr-ui-kit/src/components/svga-player/index.d.ts +0 -15
  669. package/lib/fcr-ui-kit/src/components/svga-player/svga-types.d.ts +0 -1
  670. package/lib/fcr-ui-kit/src/components/table/index.d.ts +0 -9
  671. package/lib/fcr-ui-kit/src/components/tabs/index.d.ts +0 -14
  672. package/lib/fcr-ui-kit/src/components/textarea/helper.d.ts +0 -2
  673. package/lib/fcr-ui-kit/src/components/textarea/index.d.ts +0 -100
  674. package/lib/fcr-ui-kit/src/components/toast/index.d.ts +0 -122
  675. package/lib/fcr-ui-kit/src/components/tooltip/dialog.d.ts +0 -19
  676. package/lib/fcr-ui-kit/src/components/tooltip/index.d.ts +0 -89
  677. package/lib/fcr-ui-kit/src/components/tooltip/info.d.ts +0 -6
  678. package/lib/fcr-ui-kit/src/components/volume/index.d.ts +0 -8
  679. package/lib/fcr-ui-kit/src/utils/click-anywhere.d.ts +0 -1
  680. package/lib/fcr-ui-kit/src/utils/hooks/animations.d.ts +0 -14
  681. package/lib/fcr-ui-kit/src/utils/hooks/use-click-anywhere.d.ts +0 -2
  682. package/lib/fcr-ui-kit/src/utils/tailwindcss.d.ts +0 -3
  683. package/lib/fcr-ui-scene/src/app.d.ts +0 -5
  684. package/lib/fcr-ui-scene/src/configs/base-theme.d.ts +0 -391
  685. package/lib/fcr-ui-scene/src/configs/base-ui.d.ts +0 -12
  686. package/lib/fcr-ui-scene/src/configs/room-template.d.ts +0 -3
  687. package/lib/fcr-ui-scene/src/containers/action-bar/chat/index.d.ts +0 -3
  688. package/lib/fcr-ui-scene/src/containers/action-bar/cloud/index.d.ts +0 -3
  689. package/lib/fcr-ui-scene/src/containers/action-bar/device/index.d.ts +0 -9
  690. package/lib/fcr-ui-scene/src/containers/action-bar/index.d.ts +0 -24
  691. package/lib/fcr-ui-scene/src/containers/action-bar/leave/index.d.ts +0 -4
  692. package/lib/fcr-ui-scene/src/containers/action-bar/participants/index.d.ts +0 -5
  693. package/lib/fcr-ui-scene/src/containers/action-bar/raise-hands/index.d.ts +0 -3
  694. package/lib/fcr-ui-scene/src/containers/action-bar/record/index.d.ts +0 -3
  695. package/lib/fcr-ui-scene/src/containers/action-bar/screen-share/index.d.ts +0 -3
  696. package/lib/fcr-ui-scene/src/containers/action-bar/setting/index.d.ts +0 -3
  697. package/lib/fcr-ui-scene/src/containers/action-bar/toolbox/index.d.ts +0 -3
  698. package/lib/fcr-ui-scene/src/containers/action-bar/whiteboard/index.d.ts +0 -3
  699. package/lib/fcr-ui-scene/src/containers/breakout-room/ask-help-list.d.ts +0 -10
  700. package/lib/fcr-ui-scene/src/containers/breakout-room/broadcast-panel.d.ts +0 -4
  701. package/lib/fcr-ui-scene/src/containers/breakout-room/create-panel.d.ts +0 -4
  702. package/lib/fcr-ui-scene/src/containers/breakout-room/group-info-panel.d.ts +0 -2
  703. package/lib/fcr-ui-scene/src/containers/breakout-room/group-panel.d.ts +0 -5
  704. package/lib/fcr-ui-scene/src/containers/breakout-room/group-status-panel.d.ts +0 -2
  705. package/lib/fcr-ui-scene/src/containers/breakout-room/grouping.d.ts +0 -15
  706. package/lib/fcr-ui-scene/src/containers/breakout-room/index.d.ts +0 -3
  707. package/lib/fcr-ui-scene/src/containers/breakout-room/search-panel.d.ts +0 -5
  708. package/lib/fcr-ui-scene/src/containers/breakout-room/wizard.d.ts +0 -6
  709. package/lib/fcr-ui-scene/src/containers/cloud/dialog-header.d.ts +0 -3
  710. package/lib/fcr-ui-scene/src/containers/cloud/index.d.ts +0 -6
  711. package/lib/fcr-ui-scene/src/containers/cloud/personal.d.ts +0 -3
  712. package/lib/fcr-ui-scene/src/containers/cloud/public.d.ts +0 -4
  713. package/lib/fcr-ui-scene/src/containers/common/interact-labels.d.ts +0 -6
  714. package/lib/fcr-ui-scene/src/containers/device-pretest/basic-settings.d.ts +0 -4
  715. package/lib/fcr-ui-scene/src/containers/device-pretest/beauty-filter.d.ts +0 -2
  716. package/lib/fcr-ui-scene/src/containers/device-pretest/beauty-slider.d.ts +0 -2
  717. package/lib/fcr-ui-scene/src/containers/device-pretest/device-select.d.ts +0 -4
  718. package/lib/fcr-ui-scene/src/containers/device-pretest/index.d.ts +0 -4
  719. package/lib/fcr-ui-scene/src/containers/device-pretest/mirror-toggle.d.ts +0 -4
  720. package/lib/fcr-ui-scene/src/containers/device-pretest/video-portal.d.ts +0 -2
  721. package/lib/fcr-ui-scene/src/containers/device-pretest/virtual-background.d.ts +0 -4
  722. package/lib/fcr-ui-scene/src/containers/device-settings/audio-settings.d.ts +0 -2
  723. package/lib/fcr-ui-scene/src/containers/device-settings/dialog-wrapper.d.ts +0 -2
  724. package/lib/fcr-ui-scene/src/containers/device-settings/index.d.ts +0 -3
  725. package/lib/fcr-ui-scene/src/containers/device-settings/video-settings.d.ts +0 -2
  726. package/lib/fcr-ui-scene/src/containers/dialog/class-info.d.ts +0 -3
  727. package/lib/fcr-ui-scene/src/containers/dialog/confirm.d.ts +0 -3
  728. package/lib/fcr-ui-scene/src/containers/dialog/index.d.ts +0 -2
  729. package/lib/fcr-ui-scene/src/containers/layout/cover-view.d.ts +0 -2
  730. package/lib/fcr-ui-scene/src/containers/layout/gallery-view.d.ts +0 -3
  731. package/lib/fcr-ui-scene/src/containers/layout/presentation-view.d.ts +0 -3
  732. package/lib/fcr-ui-scene/src/containers/loading/index.d.ts +0 -3
  733. package/lib/fcr-ui-scene/src/containers/participants/dialog.d.ts +0 -2
  734. package/lib/fcr-ui-scene/src/containers/participants/index.d.ts +0 -5
  735. package/lib/fcr-ui-scene/src/containers/status-bar/class-duration/index.d.ts +0 -3
  736. package/lib/fcr-ui-scene/src/containers/status-bar/fullscreen/index.d.ts +0 -3
  737. package/lib/fcr-ui-scene/src/containers/status-bar/index.d.ts +0 -4
  738. package/lib/fcr-ui-scene/src/containers/status-bar/layout-switch/index.d.ts +0 -22
  739. package/lib/fcr-ui-scene/src/containers/status-bar/network/index.d.ts +0 -4
  740. package/lib/fcr-ui-scene/src/containers/status-bar/record-status/index.d.ts +0 -3
  741. package/lib/fcr-ui-scene/src/containers/status-bar/room-info/index.d.ts +0 -4
  742. package/lib/fcr-ui-scene/src/containers/status-bar/share/index.d.ts +0 -3
  743. package/lib/fcr-ui-scene/src/containers/status-bar/widgets/index.d.ts +0 -3
  744. package/lib/fcr-ui-scene/src/containers/stream-window/context.d.ts +0 -52
  745. package/lib/fcr-ui-scene/src/containers/video-player/index.d.ts +0 -2
  746. package/lib/fcr-ui-scene/src/containers/video-player/players.d.ts +0 -3
  747. package/lib/fcr-ui-scene/src/containers/widget/break-out-room/index.d.ts +0 -2
  748. package/lib/fcr-ui-scene/src/containers/widget/draggable-wrapper/index.d.ts +0 -7
  749. package/lib/fcr-ui-scene/src/containers/widget/helpers.d.ts +0 -40
  750. package/lib/fcr-ui-scene/src/containers/widget/hooks.d.ts +0 -21
  751. package/lib/fcr-ui-scene/src/containers/widget/index.d.ts +0 -7
  752. package/lib/fcr-ui-scene/src/containers/widget/participants/index.d.ts +0 -2
  753. package/lib/fcr-ui-scene/src/extension/board.d.ts +0 -73
  754. package/lib/fcr-ui-scene/src/extension/edu-tool.d.ts +0 -57
  755. package/lib/fcr-ui-scene/src/extension/events.d.ts +0 -91
  756. package/lib/fcr-ui-scene/src/extension/type.d.ts +0 -94
  757. package/lib/fcr-ui-scene/src/index.d.ts +0 -39
  758. package/lib/fcr-ui-scene/src/lock.d.ts +0 -8
  759. package/lib/fcr-ui-scene/src/preset.d.ts +0 -1
  760. package/lib/fcr-ui-scene/src/resources/translations/enUs.d.ts +0 -400
  761. package/lib/fcr-ui-scene/src/resources/translations/zhCn.d.ts +0 -405
  762. package/lib/fcr-ui-scene/src/scenarios/classroom.d.ts +0 -2
  763. package/lib/fcr-ui-scene/src/scenarios/layout/index.d.ts +0 -2
  764. package/lib/fcr-ui-scene/src/type.d.ts +0 -361
  765. package/lib/fcr-ui-scene/src/uistores/action-bar.d.ts +0 -58
  766. package/lib/fcr-ui-scene/src/uistores/base.d.ts +0 -58
  767. package/lib/fcr-ui-scene/src/uistores/breakout.d.ts +0 -225
  768. package/lib/fcr-ui-scene/src/uistores/cloud/helper.d.ts +0 -26
  769. package/lib/fcr-ui-scene/src/uistores/cloud/index.d.ts +0 -51
  770. package/lib/fcr-ui-scene/src/uistores/cloud/struct.d.ts +0 -131
  771. package/lib/fcr-ui-scene/src/uistores/context.d.ts +0 -7
  772. package/lib/fcr-ui-scene/src/uistores/device-setting.d.ts +0 -214
  773. package/lib/fcr-ui-scene/src/uistores/gallery-view.d.ts +0 -16
  774. package/lib/fcr-ui-scene/src/uistores/getters.d.ts +0 -40
  775. package/lib/fcr-ui-scene/src/uistores/index.d.ts +0 -47
  776. package/lib/fcr-ui-scene/src/uistores/layout.d.ts +0 -64
  777. package/lib/fcr-ui-scene/src/uistores/notification.d.ts +0 -9
  778. package/lib/fcr-ui-scene/src/uistores/participants.d.ts +0 -48
  779. package/lib/fcr-ui-scene/src/uistores/presentation-view.d.ts +0 -24
  780. package/lib/fcr-ui-scene/src/uistores/status-bar.d.ts +0 -47
  781. package/lib/fcr-ui-scene/src/uistores/stream.d.ts +0 -48
  782. package/lib/fcr-ui-scene/src/uistores/subscription/abstract.d.ts +0 -45
  783. package/lib/fcr-ui-scene/src/uistores/subscription/index.d.ts +0 -13
  784. package/lib/fcr-ui-scene/src/uistores/subscription/main-room.d.ts +0 -14
  785. package/lib/fcr-ui-scene/src/uistores/subscription/type.d.ts +0 -10
  786. package/lib/fcr-ui-scene/src/uistores/type.d.ts +0 -86
  787. package/lib/fcr-ui-scene/src/uistores/widget.d.ts +0 -49
  788. package/lib/fcr-ui-scene/src/utils/asset.d.ts +0 -1
  789. package/lib/fcr-ui-scene/src/utils/check.d.ts +0 -7
  790. package/lib/fcr-ui-scene/src/utils/clamp-bounds.d.ts +0 -14
  791. package/lib/fcr-ui-scene/src/utils/config-loader.d.ts +0 -7
  792. package/lib/fcr-ui-scene/src/utils/grid/index.d.ts +0 -9
  793. package/lib/fcr-ui-scene/src/utils/hooks/use-authorization.d.ts +0 -5
  794. package/lib/fcr-ui-scene/src/utils/hooks/use-device-switch.d.ts +0 -29
  795. package/lib/fcr-ui-scene/src/utils/hooks/use-drag-position.d.ts +0 -21
  796. package/lib/fcr-ui-scene/src/utils/hooks/use-network.d.ts +0 -17
  797. package/lib/fcr-ui-scene/src/utils/hooks/use-pin-stream.d.ts +0 -4
  798. package/lib/fcr-ui-scene/src/utils/hooks/use-rnd-position.d.ts +0 -24
  799. package/lib/fcr-ui-scene/src/utils/hooks/use-store.d.ts +0 -1
  800. package/lib/fcr-ui-scene/src/utils/hooks/use-video-renderable.d.ts +0 -3
  801. package/lib/fcr-ui-scene/src/utils/hooks/use-z-index.d.ts +0 -8
  802. package/lib/fcr-ui-scene/src/utils/index.d.ts +0 -7
  803. package/lib/fcr-ui-scene/src/utils/launch-options-holder.d.ts +0 -10
  804. package/lib/fcr-ui-scene/src/utils/rtc-extensions.d.ts +0 -29
  805. package/lib/fcr-ui-scene/src/utils/short-name.d.ts +0 -1
  806. package/lib/fcr-ui-scene/src/utils/stream/index.d.ts +0 -3
  807. package/lib/fcr-ui-scene/src/utils/stream/state-keeper.d.ts +0 -18
  808. package/lib/fcr-ui-scene/src/utils/stream/struct.d.ts +0 -67
  809. package/lib/fcr-ui-scene/src/utils/vsd-pattern.d.ts +0 -1
  810. package/lib/fcr-ui-scene/src/utils/z-index-controller.d.ts +0 -9
  811. package/lib/fcr-ui-scene/tailwind.config.d.ts +0 -1
  812. package/lib/scene.bundle.js +0 -2
  813. /package/lib/{fcr-ui-scene/src/containers/video-player/tools-overlay.d.ts → electron/preload.d.ts} +0 -0
@@ -0,0 +1,978 @@
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.every.js");
9
+ require("core-js/modules/es.array.is-array.js");
10
+ require("core-js/modules/es.date.to-primitive.js");
11
+ require("core-js/modules/es.function.name.js");
12
+ require("core-js/modules/es.map.js");
13
+ require("core-js/modules/es.number.constructor.js");
14
+ require("core-js/modules/es.object.create.js");
15
+ require("core-js/modules/es.object.define-property.js");
16
+ require("core-js/modules/es.object.get-own-property-descriptor.js");
17
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
18
+ var _typeof = require("@babel/runtime/helpers/typeof");
19
+ Object.defineProperty(exports, "__esModule", {
20
+ value: true
21
+ });
22
+ exports.FcrSecurityStore = void 0;
23
+ var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
24
+ require("core-js/modules/es.array.find.js");
25
+ require("core-js/modules/es.array.for-each.js");
26
+ require("core-js/modules/es.array.includes.js");
27
+ require("core-js/modules/es.array.iterator.js");
28
+ require("core-js/modules/es.array.push.js");
29
+ require("core-js/modules/es.array.some.js");
30
+ require("core-js/modules/es.date.to-json.js");
31
+ require("core-js/modules/es.function.bind.js");
32
+ require("core-js/modules/es.json.stringify.js");
33
+ require("core-js/modules/es.object.keys.js");
34
+ require("core-js/modules/es.object.to-string.js");
35
+ require("core-js/modules/es.object.values.js");
36
+ require("core-js/modules/es.string.includes.js");
37
+ require("core-js/modules/es.string.iterator.js");
38
+ require("core-js/modules/es.weak-map.js");
39
+ require("core-js/modules/web.dom-collections.for-each.js");
40
+ require("core-js/modules/web.dom-collections.iterator.js");
41
+ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
42
+ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
43
+ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
44
+ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
45
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
46
+ var _type = require("agora-edu-core/lib/type");
47
+ var _decorator = require("agora-foundation/lib/decorator");
48
+ var _mobx = require("mobx");
49
+ var _mobxUtils = require("mobx-utils");
50
+ var _constant = require("../utilities/constant");
51
+ var _rendererEvent = require("../utilities/renderer-event");
52
+ var _lodash = require("lodash");
53
+ var _user = require("agora-edu-core/lib/utilities/user");
54
+ var _toast = require("agora-ui-foundation/lib/components/toast");
55
+ var _enums = require("agora-edu-core/lib/room-control/whiteboard-control/enums");
56
+ var _logger = require("agora-foundation/lib/logger");
57
+ var _type2 = require("agora-ui-foundation/lib/components/icon/type");
58
+ var _type3 = require("../modules/whiteboard/type");
59
+ var _i18n = require("agora-ui-foundation/lib/i18n");
60
+ var _FcrSecurityStore;
61
+ var _initProto, _init_securityInfos, _init_permissionInfos, _init_privilegeOperator, _init_boardOwnerUser, _handlePermissionUpdatedDecs, _handleSecurityUpdatedDecs, _ref;
62
+ function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
63
+ function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
64
+ function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
65
+ function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
66
+ 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"); }
67
+ 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)]; } }; }
68
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
69
+ 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); }
70
+ 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; }
71
+ 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; }
72
+ var _A = /*#__PURE__*/new WeakMap();
73
+ var _B = /*#__PURE__*/new WeakMap();
74
+ var _C = /*#__PURE__*/new WeakMap();
75
+ var _D = /*#__PURE__*/new WeakMap();
76
+ _ref = (_handlePermissionUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleSecurityUpdatedDecs = [_mobx.action, _mobx.action.bound], "logger");
77
+ var FcrSecurityStore = exports.FcrSecurityStore = /*#__PURE__*/function () {
78
+ function FcrSecurityStore(_privilegeControl, _userControl, _streamControl, _roomSessionControl, _uiEventStore) {
79
+ var _this = this;
80
+ (0, _classCallCheck2["default"])(this, FcrSecurityStore);
81
+ (0, _defineProperty2["default"])(this, _ref, (_initProto(this), (0, _logger.getLogger)()));
82
+ (0, _defineProperty2["default"])(this, "_disposers", []);
83
+ _classPrivateFieldInitSpec(this, _A, _init_securityInfos(this));
84
+ _classPrivateFieldInitSpec(this, _B, _init_permissionInfos(this));
85
+ _classPrivateFieldInitSpec(this, _C, _init_privilegeOperator(this));
86
+ _classPrivateFieldInitSpec(this, _D, _init_boardOwnerUser(this));
87
+ (0, _defineProperty2["default"])(this, "allowChangeSelfName", (0, _mobxUtils.computedFn)(function () {
88
+ var info = _this.securityInfos.find(function (_ref2) {
89
+ var info = _ref2.info;
90
+ return (info === null || info === void 0 ? void 0 : info.action) === _type.FcrSecurityAction.ChangeName;
91
+ });
92
+ return !!(info !== null && info !== void 0 && info.enable);
93
+ }));
94
+ (0, _defineProperty2["default"])(this, "allowChat", (0, _mobxUtils.computedFn)(function () {
95
+ var info = _this.securityInfos.find(function (_ref3) {
96
+ var info = _ref3.info;
97
+ return (info === null || info === void 0 ? void 0 : info.action) === _type.FcrSecurityAction.SendChat;
98
+ });
99
+ return !!(info !== null && info !== void 0 && info.enable);
100
+ }));
101
+ (0, _defineProperty2["default"])(this, "convertSendChatPayload", function (payload) {
102
+ return {
103
+ "public": !!payload["public"],
104
+ "private": {
105
+ host: !!payload["private"].host,
106
+ cohost: !!payload["private"].cohost,
107
+ participant: !!payload["private"].participant
108
+ }
109
+ };
110
+ });
111
+ // 允许发送公聊和私聊
112
+ (0, _defineProperty2["default"])(this, "allowedAllChat", (0, _mobxUtils.computedFn)(function () {
113
+ var info = _this.securityInfos.find(function (_ref4) {
114
+ var info = _ref4.info;
115
+ return (info === null || info === void 0 ? void 0 : info.action) === _type.FcrSecurityAction.SendChat;
116
+ });
117
+ var payload = info && info.info && _this.convertSendChatPayload(info.info.payload);
118
+ return !!(info !== null && info !== void 0 && info.enable) && payload && payload["public"] && payload["private"].host && payload["private"].cohost && payload["private"].participant;
119
+ }));
120
+ // 允许发送公聊,禁止发送私聊
121
+ (0, _defineProperty2["default"])(this, "allowedPublicChatAndDisallowedPrivateChat", (0, _mobxUtils.computedFn)(function () {
122
+ var info = _this.securityInfos.find(function (_ref5) {
123
+ var info = _ref5.info;
124
+ return (info === null || info === void 0 ? void 0 : info.action) === _type.FcrSecurityAction.SendChat;
125
+ });
126
+ var payload = info && info.info && _this.convertSendChatPayload(info.info.payload);
127
+ return !!(info !== null && info !== void 0 && info.enable) && payload && payload["public"] && payload["private"].host && !payload["private"].cohost && !payload["private"].participant;
128
+ }));
129
+ // 禁止发送公聊,只能私聊给主持人和联席主持人
130
+ (0, _defineProperty2["default"])(this, "disallowedPublicChatAndDisallowedPrivateChatToParticipant", (0, _mobxUtils.computedFn)(function () {
131
+ var info = _this.securityInfos.find(function (_ref6) {
132
+ var info = _ref6.info;
133
+ return (info === null || info === void 0 ? void 0 : info.action) === _type.FcrSecurityAction.SendChat;
134
+ });
135
+ var payload = info && info.info && _this.convertSendChatPayload(info.info.payload);
136
+ return !!(info !== null && info !== void 0 && info.enable) && payload && !payload["public"] && payload["private"].host && payload["private"].cohost && !payload["private"].participant;
137
+ }));
138
+ // 禁止发送所有聊天
139
+ (0, _defineProperty2["default"])(this, "disallowedAllChat", (0, _mobxUtils.computedFn)(function () {
140
+ var info = _this.securityInfos.find(function (_ref7) {
141
+ var info = _ref7.info;
142
+ return (info === null || info === void 0 ? void 0 : info.action) === _type.FcrSecurityAction.SendChat;
143
+ });
144
+ var payload = info && info.info && _this.convertSendChatPayload(info.info.payload);
145
+ return !(info !== null && info !== void 0 && info.enable) || payload && !payload["public"] && !payload["private"].host && !payload["private"].cohost && !payload["private"].participant;
146
+ }));
147
+ (0, _defineProperty2["default"])(this, "allowJoinWithMuteAudio", (0, _mobxUtils.computedFn)(function () {
148
+ var info = _this.securityInfos.find(function (_ref8) {
149
+ var info = _ref8.info;
150
+ return (info === null || info === void 0 ? void 0 : info.action) === _type.FcrSecurityAction.JoinWithMuteAudio;
151
+ });
152
+ return !!(info !== null && info !== void 0 && info.enable);
153
+ }));
154
+ (0, _defineProperty2["default"])(this, "allowShareScreen", (0, _mobxUtils.computedFn)(function () {
155
+ var info = _this.securityInfos.find(function (_ref9) {
156
+ var info = _ref9.info;
157
+ return (info === null || info === void 0 ? void 0 : info.action) === _type.FcrSecurityAction.ShareScreen;
158
+ });
159
+ return !!(info !== null && info !== void 0 && info.enable);
160
+ }));
161
+ (0, _defineProperty2["default"])(this, "allowScreenShareAndBoard", (0, _mobxUtils.computedFn)(function () {
162
+ var _info$info;
163
+ var info = _this.securityInfos.find(function (_ref10) {
164
+ var info = _ref10.info;
165
+ return (info === null || info === void 0 ? void 0 : info.action) === _type.FcrSecurityAction.Sharing;
166
+ });
167
+ var shareState = info === null || info === void 0 || (_info$info = info.info) === null || _info$info === void 0 ? void 0 : _info$info.payload;
168
+ var screenShareState = shareState.screen === _enums.FcrSharePermissionState.ON;
169
+ return screenShareState;
170
+ }));
171
+ (0, _defineProperty2["default"])(this, "allowBoardWrite", (0, _mobxUtils.computedFn)(function () {
172
+ var _info$info2, _shareState$board;
173
+ var info = _this.securityInfos.find(function (_ref11) {
174
+ var info = _ref11.info;
175
+ return (info === null || info === void 0 ? void 0 : info.action) === _type.FcrSecurityAction.Sharing;
176
+ });
177
+ var shareState = info === null || info === void 0 || (_info$info2 = info.info) === null || _info$info2 === void 0 ? void 0 : _info$info2.payload;
178
+ var boardWriteState = ((_shareState$board = shareState.board) === null || _shareState$board === void 0 ? void 0 : _shareState$board.write) === _enums.FcrSharePermissionState.ON;
179
+ return boardWriteState;
180
+ }));
181
+ (0, _defineProperty2["default"])(this, "allowUnmuteSelfVideo", (0, _mobxUtils.computedFn)(function () {
182
+ var info = _this.securityInfos.find(function (_ref12) {
183
+ var info = _ref12.info;
184
+ return (info === null || info === void 0 ? void 0 : info.action) === _type.FcrSecurityAction.StartVideo;
185
+ });
186
+ return !!(info !== null && info !== void 0 && info.enable);
187
+ }));
188
+ (0, _defineProperty2["default"])(this, "allowUnmuteSelfAudio", (0, _mobxUtils.computedFn)(function () {
189
+ var info = _this.securityInfos.find(function (_ref13) {
190
+ var info = _ref13.info;
191
+ return (info === null || info === void 0 ? void 0 : info.action) === _type.FcrSecurityAction.StartAudio;
192
+ });
193
+ return !!(info !== null && info !== void 0 && info.enable);
194
+ }));
195
+ (0, _defineProperty2["default"])(this, "isLockRoomEnabled", (0, _mobxUtils.computedFn)(function () {
196
+ var info = _this.securityInfos.find(function (_ref14) {
197
+ var info = _ref14.info;
198
+ return (info === null || info === void 0 ? void 0 : info.action) === _type.FcrSecurityAction.LockedRoom;
199
+ });
200
+ return !!(info !== null && info !== void 0 && info.enable);
201
+ }));
202
+ (0, _defineProperty2["default"])(this, "isWaitingRoomEnabled", (0, _mobxUtils.computedFn)(function () {
203
+ var info = _this.securityInfos.find(function (_ref15) {
204
+ var info = _ref15.info;
205
+ return (info === null || info === void 0 ? void 0 : info.action) === _type.FcrSecurityAction.WaitingRoom;
206
+ });
207
+ return !!(info !== null && info !== void 0 && info.enable);
208
+ }));
209
+ (0, _defineProperty2["default"])(this, "hasMutePermission", function (targetRole) {
210
+ return _this._hasPermission(_type.FcrPermissionAction.StreamMuteAudio, targetRole);
211
+ });
212
+ (0, _defineProperty2["default"])(this, "hasUnmutePermission", function (targetRole) {
213
+ return _this._hasPermission(_type.FcrPermissionAction.StreamStartAudio, targetRole);
214
+ });
215
+ (0, _defineProperty2["default"])(this, "hasRequestStartAudioPermission", function (targetRole) {
216
+ return _this._hasPermission(_type.FcrPermissionAction.StreamRequestStartAudio, targetRole);
217
+ });
218
+ (0, _defineProperty2["default"])(this, "hasRequestStartVideoPermission", function (targetRole) {
219
+ return _this._hasPermission(_type.FcrPermissionAction.StreamRequestStartVideo, targetRole);
220
+ });
221
+ (0, _defineProperty2["default"])(this, "hasStartVideoPermission", function (targetRole) {
222
+ return _this._hasPermission(_type.FcrPermissionAction.StreamStartVideo, targetRole);
223
+ });
224
+ (0, _defineProperty2["default"])(this, "hasStopVideoPermission", function (targetRole) {
225
+ return _this._hasPermission(_type.FcrPermissionAction.StreamStopVideo, targetRole);
226
+ });
227
+ (0, _defineProperty2["default"])(this, "hasSelfMutePermission", function () {
228
+ return _this._hasPermission(_type.FcrPermissionAction.StreamMuteAudio, _type.FcrPrivilegeUserRole.SELF);
229
+ });
230
+ (0, _defineProperty2["default"])(this, "hasAllMutePermission", function () {
231
+ return _this._hasPermission(_type.FcrPermissionAction.StreamMuteAudio, _type.FcrPrivilegeUserRole.PARTICIPANT);
232
+ });
233
+ (0, _defineProperty2["default"])(this, "hasSelfUnmutePermission", function () {
234
+ return _this._hasPermission(_type.FcrPermissionAction.StreamStartAudio, _type.FcrPrivilegeUserRole.SELF);
235
+ });
236
+ (0, _defineProperty2["default"])(this, "hasAllUnmutePermission", function () {
237
+ return _this._hasPermission(_type.FcrPermissionAction.StreamStartAudio, _type.FcrPrivilegeUserRole.PARTICIPANT);
238
+ });
239
+ (0, _defineProperty2["default"])(this, "hasRevokeHostPermission", function () {
240
+ return _this._hasPermission(_type.FcrPermissionAction.UserRevokeRole, _type.FcrPrivilegeUserRole.HOST);
241
+ });
242
+ (0, _defineProperty2["default"])(this, "hasKickOutPermission", function (targetRole) {
243
+ return _this._hasPermission(_type.FcrPermissionAction.UserKickOut, targetRole);
244
+ });
245
+ (0, _defineProperty2["default"])(this, "hasStartScreenSharePermission", function () {
246
+ return _this._hasPermission(_type.FcrPermissionAction.StreamStartScreenShare, _type.FcrPrivilegeUserRole.SELF);
247
+ });
248
+ (0, _defineProperty2["default"])(this, "hasChatSendPublicPermission", function () {
249
+ return _this._hasPermission(_type.FcrPermissionAction.ChatSendPublic, _type.FcrPrivilegeUserRole.SELF);
250
+ });
251
+ // 是否有权限发送私信息
252
+ (0, _defineProperty2["default"])(this, "hasPermissionToSendPrivateMessage", function (targetRole) {
253
+ return _this._hasPermission(_type.FcrPermissionAction.ChatSendPrivate, targetRole);
254
+ });
255
+ // 是否有“控制发送所有人消息”的权限
256
+ (0, _defineProperty2["default"])(this, "hasPermissionToControlAllowSendAll", function () {
257
+ return _this._hasPermission(_type.FcrPermissionAction.ChatAllowSendPublic, _type.FcrPrivilegeUserRole.PARTICIPANT);
258
+ });
259
+ // 是否有“控制禁止发送所有人消息”的权限
260
+ (0, _defineProperty2["default"])(this, "hasPermissionToControlDisallowSendAll", function () {
261
+ return _this._hasPermission(_type.FcrPermissionAction.ChatDisallowSendPublic, _type.FcrPrivilegeUserRole.SELF);
262
+ });
263
+ // 是否有“控制发送私信”的权限
264
+ (0, _defineProperty2["default"])(this, "hasPermissionToControlAllowSendPrivate", function () {
265
+ return _this._hasPermission(_type.FcrPermissionAction.ChatAllowSendPrivate, _type.FcrPrivilegeUserRole.SELF);
266
+ });
267
+ // 是否有“控制禁止发送私信”的权限
268
+ (0, _defineProperty2["default"])(this, "hasPermissionToControlDisallowSendPrivate", function () {
269
+ return _this._hasPermission(_type.FcrPermissionAction.ChatDisallowSendPrivate, _type.FcrPrivilegeUserRole.SELF);
270
+ });
271
+ (0, _defineProperty2["default"])(this, "hasStartCloudRecordingPermission", function () {
272
+ return _this._hasPermission(_type.FcrPermissionAction.RecordStartCloudRecording, _type.FcrPrivilegeUserRole.SELF);
273
+ });
274
+ (0, _defineProperty2["default"])(this, "hasStartLiveStreamingPermission", function () {
275
+ return _this._hasPermission(_type.FcrPermissionAction.LiveStart, _type.FcrPrivilegeUserRole.SELF);
276
+ });
277
+ (0, _defineProperty2["default"])(this, "hasStopLiveStreamingPermission", function () {
278
+ return _this._hasPermission(_type.FcrPermissionAction.LiveStop, _type.FcrPrivilegeUserRole.SELF);
279
+ });
280
+ (0, _defineProperty2["default"])(this, "hasGetLiveStreamingLinkPermission", function () {
281
+ return _this._hasPermission(_type.FcrPermissionAction.LiveGetLink, _type.FcrPrivilegeUserRole.SELF);
282
+ });
283
+ (0, _defineProperty2["default"])(this, "hasEnableStartAudioPermission", function () {
284
+ return _this._hasPermission(_type.FcrPermissionAction.StreamEnableStartAudio, _type.FcrPrivilegeUserRole.PARTICIPANT);
285
+ });
286
+ (0, _defineProperty2["default"])(this, "hasEnableChangeNamePermission", function () {
287
+ return _this._hasPermission(_type.FcrPermissionAction.UserEnableChangeName, _type.FcrPrivilegeUserRole.PARTICIPANT);
288
+ });
289
+ (0, _defineProperty2["default"])(this, "hasEnableStartVideoPermission", function () {
290
+ return _this._hasPermission(_type.FcrPermissionAction.StreamEnableStartVideo, _type.FcrPrivilegeUserRole.PARTICIPANT);
291
+ });
292
+ (0, _defineProperty2["default"])(this, "hasEnableJoinWithAudioPermission", function () {
293
+ return _this._hasPermission(_type.FcrPermissionAction.StreamEnableJoinWithAudio, _type.FcrPrivilegeUserRole.PARTICIPANT);
294
+ });
295
+ (0, _defineProperty2["default"])(this, "hasEnableStartScreenSharePermission", function () {
296
+ return _this._hasPermission(_type.FcrPermissionAction.StreamEnableStartScreenShare, _type.FcrPrivilegeUserRole.PARTICIPANT);
297
+ });
298
+ (0, _defineProperty2["default"])(this, "hasLockRoomPermission", function () {
299
+ return _this._hasPermission(_type.FcrPermissionAction.RoomLock, _type.FcrPrivilegeUserRole.PARTICIPANT);
300
+ });
301
+ //全体静音
302
+ (0, _defineProperty2["default"])(this, "muteAll", function () {
303
+ _this._streamControl.updatePublishPrivilegeOfStreams({
304
+ audioPrivilege: _type.FcrStreamPrivilegeOperation.NOPRIVILEGE,
305
+ videoPrivilege: _type.FcrStreamPrivilegeOperation.NOOPERATION
306
+ }, {
307
+ targetRoleType: [_type.FcrUserRole.PARTICIPANT],
308
+ targetRoleTypeIsInclude: true
309
+ });
310
+ });
311
+ //要求所有人解除静音
312
+ (0, _defineProperty2["default"])(this, "unmuteAll", function () {
313
+ _this._streamControl.updatePublishPrivilegeOfStreams({
314
+ audioPrivilege: _type.FcrStreamPrivilegeOperation.HAS_PRIVILEGE,
315
+ videoPrivilege: _type.FcrStreamPrivilegeOperation.NOOPERATION
316
+ }, {
317
+ targetRoleType: [_type.FcrUserRole.PARTICIPANT],
318
+ targetRoleTypeIsInclude: true
319
+ });
320
+ });
321
+ (0, _defineProperty2["default"])(this, "setLockRoomEnabled", function (enable) {
322
+ _this._privilegeControl.enableLockedRoom(enable, [_type.FcrPrivilegeUserRole.HOST, _type.FcrPrivilegeUserRole.PARTICIPANT]);
323
+ });
324
+ (0, _defineProperty2["default"])(this, "setWaitingRoomEnabled", function () {
325
+ _this._privilegeControl.enableWaitingRoom(true);
326
+ });
327
+ (0, _defineProperty2["default"])(this, "setAllowChangeSelfName", function () {
328
+ _this._privilegeControl.allowChangeName(true, [_type.FcrPrivilegeUserRole.PARTICIPANT]);
329
+ });
330
+ //设置是否允许聊天
331
+ (0, _defineProperty2["default"])(this, "setAllowChat", function (enable) {
332
+ var payload = enable ? {
333
+ "public": true,
334
+ "private": {
335
+ host: true,
336
+ cohost: true,
337
+ participant: true
338
+ }
339
+ } : undefined;
340
+ _this._privilegeControl.allowSendChat(enable, [_type.FcrPrivilegeUserRole.PARTICIPANT], payload);
341
+ });
342
+ (0, _defineProperty2["default"])(this, "setAllowChatWithPayload", function (enable, payload) {
343
+ _this._privilegeControl.allowSendChat(enable, [_type.FcrPrivilegeUserRole.PARTICIPANT], payload);
344
+ });
345
+ //设置成允许公聊但不允许私聊
346
+ (0, _defineProperty2["default"])(this, "setAllowedPublicChatAndDisallowedPrivateChat", function () {
347
+ _this.setAllowChatWithPayload(true, {
348
+ "public": true,
349
+ "private": {
350
+ host: true,
351
+ cohost: false,
352
+ participant: false
353
+ }
354
+ });
355
+ });
356
+ //设置成不允许公聊,只允许私聊给主持人和联席主持人
357
+ (0, _defineProperty2["default"])(this, "setDisallowedPublicChatAndDisallowedPrivateChatToParticipant", function () {
358
+ _this.setAllowChatWithPayload(true, {
359
+ "public": false,
360
+ "private": {
361
+ host: true,
362
+ cohost: true,
363
+ participant: false
364
+ }
365
+ });
366
+ });
367
+ //所有人加入会议时静音
368
+ (0, _defineProperty2["default"])(this, "setAllowJoinWithMuteAudio", function (enable) {
369
+ _this._privilegeControl.allowJoinWithMuteAudio(enable, [_type.FcrPrivilegeUserRole.PARTICIPANT, _type.FcrPrivilegeUserRole.COHOST]);
370
+ });
371
+ //允许屏幕共享
372
+ (0, _defineProperty2["default"])(this, "setAllowShareScreen", function (state) {
373
+ var enable = state ? _enums.FcrSharePermissionState.ON : _enums.FcrSharePermissionState.OFF;
374
+ var payload = {
375
+ screen: enable,
376
+ board: {
377
+ start: enable
378
+ }
379
+ };
380
+ _this._privilegeControl.allowShare(_enums.FcrSharePermissionState.ON, payload);
381
+ });
382
+ //允许开启视频
383
+ (0, _defineProperty2["default"])(this, "setAllowUnmuteSelfVideo", function (enable) {
384
+ _this._privilegeControl.allowStartVideo(enable, [_type.FcrPrivilegeUserRole.PARTICIPANT]);
385
+ });
386
+ //允许自我解除静音
387
+ (0, _defineProperty2["default"])(this, "setAllowUnmuteSelfAudio", function (enable) {
388
+ _this._privilegeControl.allowStartAudio(enable, [_type.FcrPrivilegeUserRole.PARTICIPANT]);
389
+ });
390
+ (0, _defineProperty2["default"])(this, "_hasPermission", (0, _mobxUtils.computedFn)(function (action, targetRole) {
391
+ var convertedRole = targetRole === _type.FcrPrivilegeUserRole.SELF ? [_this.localUser.userRole, _type.FcrPrivilegeUserRole.SELF] : [targetRole];
392
+ var info = _this.permissionInfos.find(function (_ref16) {
393
+ var _info$targetRoles;
394
+ var info = _ref16.info;
395
+ return (info === null || info === void 0 ? void 0 : info.action) === action && ((info === null || info === void 0 || (_info$targetRoles = info.targetRoles) === null || _info$targetRoles === void 0 ? void 0 : _info$targetRoles.length) === 0 || convertedRole.some(function (role) {
396
+ var _info$targetRoles2;
397
+ return info === null || info === void 0 || (_info$targetRoles2 = info.targetRoles) === null || _info$targetRoles2 === void 0 ? void 0 : _info$targetRoles2.includes(role);
398
+ }));
399
+ });
400
+ return !!(info !== null && info !== void 0 && info.enable);
401
+ }));
402
+ (0, _defineProperty2["default"])(this, "_hasPermissionWithParams", (0, _mobxUtils.computedFn)(function (action, targetRole, params) {
403
+ var convertedRole = targetRole === _type.FcrPrivilegeUserRole.SELF ? [_this.localUser.userRole, _type.FcrPrivilegeUserRole.SELF] : [targetRole];
404
+ var matchParams = function matchParams(_params) {
405
+ return (0, _lodash.every)(Object.keys(params), function (key) {
406
+ return _params && _params[key].includes(params[key]);
407
+ });
408
+ };
409
+ var info = _this.permissionInfos.find(function (_ref17) {
410
+ var _info$targetRoles3, _info$params;
411
+ var info = _ref17.info;
412
+ return (info === null || info === void 0 ? void 0 : info.action) === action && ((info === null || info === void 0 || (_info$targetRoles3 = info.targetRoles) === null || _info$targetRoles3 === void 0 ? void 0 : _info$targetRoles3.length) === 0 || convertedRole.some(function (role) {
413
+ var _info$targetRoles4;
414
+ return info === null || info === void 0 || (_info$targetRoles4 = info.targetRoles) === null || _info$targetRoles4 === void 0 ? void 0 : _info$targetRoles4.includes(role);
415
+ })) && matchParams((_info$params = info.params) !== null && _info$params !== void 0 ? _info$params : {});
416
+ });
417
+ return !!(info !== null && info !== void 0 && info.enable);
418
+ }));
419
+ (0, _defineProperty2["default"])(this, "_handleUnmuteSessionReceived", function () {});
420
+ this._privilegeControl = _privilegeControl;
421
+ this._userControl = _userControl;
422
+ this._streamControl = _streamControl;
423
+ this._roomSessionControl = _roomSessionControl;
424
+ this._uiEventStore = _uiEventStore;
425
+ this.securityInfos = this._privilegeControl.getAllSecurityInfo();
426
+ this.permissionInfos = this._privilegeControl.getAllLocalUserPermissionInfo();
427
+ this._addReactions();
428
+ (0, _rendererEvent.addEventListener)(this._handleProcessEvent);
429
+ this._uiEventStore.addObserver({
430
+ onEvent: function onEvent(action, payload) {
431
+ if (action === _constant.UIAction.WHITEBOARD_CHANGED) {
432
+ if (payload.action === _type3.WhiteboardBaseEvents.SET_OWNER_USER_ID) {
433
+ var _this$_userControl;
434
+ _this.boardOwnerUser = Object.values(_this === null || _this === void 0 || (_this$_userControl = _this._userControl) === null || _this$_userControl === void 0 ? void 0 : _this$_userControl.getUsers()).find(function (u) {
435
+ return u.userId === payload.payload;
436
+ });
437
+ }
438
+ }
439
+ }
440
+ });
441
+ this._privilegeControl.addObserver({
442
+ onLocalUserPermissionInfoAdded: this._handlePermissionUpdated.bind(this),
443
+ onLocalUserPermissionInfoDeleted: this._handlePermissionUpdated.bind(this),
444
+ onSecurityInfoUpdated: this._handleSecurityUpdated.bind(this)
445
+ });
446
+
447
+ //@ts-ignore
448
+ window.securityStore = this;
449
+ }
450
+ return (0, _createClass2["default"])(FcrSecurityStore, [{
451
+ key: "securityInfos",
452
+ get: function get() {
453
+ return _classPrivateFieldGet(_A, this);
454
+ },
455
+ set: function set(v) {
456
+ _classPrivateFieldSet(_A, this, v);
457
+ }
458
+ }, {
459
+ key: "permissionInfos",
460
+ get: function get() {
461
+ return _classPrivateFieldGet(_B, this);
462
+ },
463
+ set: function set(v) {
464
+ _classPrivateFieldSet(_B, this, v);
465
+ }
466
+ }, {
467
+ key: "privilegeOperator",
468
+ get: function get() {
469
+ return _classPrivateFieldGet(_C, this);
470
+ },
471
+ set: function set(v) {
472
+ _classPrivateFieldSet(_C, this, v);
473
+ }
474
+ }, {
475
+ key: "boardOwnerUser",
476
+ get: function get() {
477
+ return _classPrivateFieldGet(_D, this);
478
+ },
479
+ set: function set(v) {
480
+ _classPrivateFieldSet(_D, this, v);
481
+ }
482
+ }, {
483
+ key: "release",
484
+ value: function release() {
485
+ this._removeReactions();
486
+ (0, _rendererEvent.removeEventListener)(this._handleProcessEvent);
487
+ }
488
+ }, {
489
+ key: "localUser",
490
+ get: function get() {
491
+ return this._userControl.getLocalUser();
492
+ }
493
+ }, {
494
+ key: "hasCallMergePermission",
495
+ value: function hasCallMergePermission() {
496
+ return this._hasPermission(_type.FcrPermissionAction.CallMerge, _type.FcrPrivilegeUserRole.PARTICIPANT);
497
+ }
498
+ }, {
499
+ key: "hasCallSplitPermission",
500
+ value: function hasCallSplitPermission() {
501
+ return this._hasPermission(_type.FcrPermissionAction.CallSplit, _type.FcrPrivilegeUserRole.PARTICIPANT);
502
+ }
503
+ }, {
504
+ key: "hasSetRolePermission",
505
+ value:
506
+ // 是否有设置角色的权限
507
+ function hasSetRolePermission(targetRole, setToRole) {
508
+ return this._hasPermissionWithParams(_type.FcrPermissionAction.UserSetRole, targetRole, {
509
+ role: (0, _user.convertFcrPrivilegeRoleToStringPrivilegeRole)(setToRole)
510
+ });
511
+ }
512
+ }, {
513
+ key: "hasEndRoomPermission",
514
+ value: function hasEndRoomPermission() {
515
+ return this._hasPermission(_type.FcrPermissionAction.RoomEnd, _type.FcrPrivilegeUserRole.PARTICIPANT);
516
+ }
517
+ }, {
518
+ key: "hasAssignHostBeforeLeavingPermission",
519
+ value: function hasAssignHostBeforeLeavingPermission(role) {
520
+ return this._hasPermissionWithParams(_type.FcrPermissionAction.UserSetRole, _type.FcrPrivilegeUserRole.PARTICIPANT, {
521
+ role: (0, _user.convertFcrPrivilegeRoleToStringPrivilegeRole)(role)
522
+ });
523
+ }
524
+ }, {
525
+ key: "hasStartBoardPermission",
526
+ value: function hasStartBoardPermission() {
527
+ return this._hasPermission(_type.FcrPermissionAction.BoardStart, _type.FcrPrivilegeUserRole.SELF);
528
+ }
529
+ }, {
530
+ key: "hasCloseBoardPermission",
531
+ value: function hasCloseBoardPermission() {
532
+ return this._hasPermission(_type.FcrPermissionAction.BoardClose, _type.FcrPrivilegeUserRole.SELF);
533
+ }
534
+ }, {
535
+ key: "hasWriteBoardPermission",
536
+ value: function hasWriteBoardPermission() {
537
+ return this._hasPermission(_type.FcrPermissionAction.BoardWrite, _type.FcrPrivilegeUserRole.SELF);
538
+ }
539
+ }, {
540
+ key: "hasAllowStartBoardPermission",
541
+ value: function hasAllowStartBoardPermission() {
542
+ return this._hasPermission(_type.FcrPermissionAction.BoardAllowStart, _type.FcrPrivilegeUserRole.SELF);
543
+ }
544
+ }, {
545
+ key: "hasDisallowStartBoardPermission",
546
+ value: function hasDisallowStartBoardPermission() {
547
+ return this._hasPermission(_type.FcrPermissionAction.BoardDisallowStart, _type.FcrPrivilegeUserRole.SELF);
548
+ }
549
+ }, {
550
+ key: "hasAllowWriteBoardPermission",
551
+ value: function hasAllowWriteBoardPermission() {
552
+ return this._hasPermission(_type.FcrPermissionAction.BoardAllowWrite, _type.FcrPrivilegeUserRole.SELF);
553
+ }
554
+ }, {
555
+ key: "hasDisallowWriteBoardPermission",
556
+ value: function hasDisallowWriteBoardPermission() {
557
+ return this._hasPermission(_type.FcrPermissionAction.BoardDisallowWrite, _type.FcrPrivilegeUserRole.SELF);
558
+ }
559
+ }, {
560
+ key: "hasAllowScreenShareAndBoardPermission",
561
+ value: function hasAllowScreenShareAndBoardPermission() {
562
+ var _this$_privilegeContr;
563
+ return (_this$_privilegeContr = this._privilegeControl.getSecurityInfo(_type.FcrSecurityAction.Sharing)) === null || _this$_privilegeContr === void 0 ? void 0 : _this$_privilegeContr.enable;
564
+ }
565
+ }, {
566
+ key: "getAllowedOperations",
567
+ value: function getAllowedOperations(targetUserRole, isSelf) {
568
+ var operations = [];
569
+ if (this.hasRequestStartVideoPermission(targetUserRole)) {
570
+ //请求开启摄像头权限
571
+ operations.push('request_start_video');
572
+ }
573
+ if (this.hasStartVideoPermission(isSelf ? _type.FcrPrivilegeUserRole.SELF : targetUserRole)) {
574
+ //开启摄像头权限
575
+ operations.push('start_video');
576
+ }
577
+ if (this.hasStopVideoPermission(isSelf ? _type.FcrPrivilegeUserRole.SELF : targetUserRole)) {
578
+ //关闭摄像头权限
579
+ operations.push('stop_video');
580
+ }
581
+ if (this.hasPermissionToSendPrivateMessage(targetUserRole)) {
582
+ //私聊权限
583
+ operations.push('private_chat');
584
+ }
585
+ operations.push('pin');
586
+ if (this.hasSetRolePermission(targetUserRole, _type.FcrPrivilegeUserRole.HOST)) {
587
+ //设为主持人权限
588
+ operations.push('set_as_host');
589
+ }
590
+ if (this.hasSetRolePermission(targetUserRole, _type.FcrPrivilegeUserRole.COHOST)) {
591
+ //设为联席主持人权限
592
+ operations.push('set_as_co_host');
593
+ }
594
+ if (this.hasSetRolePermission(targetUserRole, _type.FcrPrivilegeUserRole.PARTICIPANT)) {
595
+ //撤销联席主持人权限
596
+ operations.push('revoke_co_host');
597
+ }
598
+ if (this.hasCallMergePermission()) {
599
+ //与视频合并权限
600
+ operations.push('merge_video');
601
+ }
602
+ if (this.hasKickOutPermission(targetUserRole)) {
603
+ //移除房间权限
604
+ operations.push('kick_out');
605
+ }
606
+ return operations;
607
+ }
608
+ }, {
609
+ key: "allowShare",
610
+ value: function () {
611
+ var _allowShare = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(enable, payload) {
612
+ return _regenerator["default"].wrap(function _callee$(_context) {
613
+ while (1) switch (_context.prev = _context.next) {
614
+ case 0:
615
+ this.logger.info('allowShare', enable);
616
+ _context.next = 3;
617
+ return this._privilegeControl.allowShare(enable, payload);
618
+ case 3:
619
+ return _context.abrupt("return", _context.sent);
620
+ case 4:
621
+ case "end":
622
+ return _context.stop();
623
+ }
624
+ }, _callee, this);
625
+ }));
626
+ function allowShare(_x, _x2) {
627
+ return _allowShare.apply(this, arguments);
628
+ }
629
+ return allowShare;
630
+ }()
631
+ }, {
632
+ key: "setAllowWriteBoard",
633
+ value: function () {
634
+ var _setAllowWriteBoard = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee2(state, payload) {
635
+ return _regenerator["default"].wrap(function _callee2$(_context2) {
636
+ while (1) switch (_context2.prev = _context2.next) {
637
+ case 0:
638
+ this.logger.info('setAllowWriteBoard', state);
639
+ _context2.next = 3;
640
+ return this._privilegeControl.allowWriteBoard(state, payload);
641
+ case 3:
642
+ return _context2.abrupt("return", _context2.sent);
643
+ case 4:
644
+ case "end":
645
+ return _context2.stop();
646
+ }
647
+ }, _callee2, this);
648
+ }));
649
+ function setAllowWriteBoard(_x3, _x4) {
650
+ return _setAllowWriteBoard.apply(this, arguments);
651
+ }
652
+ return setAllowWriteBoard;
653
+ }()
654
+ }, {
655
+ key: "_handlePermissionUpdated",
656
+ value: function _handlePermissionUpdated() {
657
+ this.permissionInfos = this._privilegeControl.getAllLocalUserPermissionInfo();
658
+ }
659
+ }, {
660
+ key: "_handleSecurityUpdated",
661
+ value: function _handleSecurityUpdated(roomId, event) {
662
+ var _securityInfo$info,
663
+ _securityInfo$info2,
664
+ _securityInfo$info3,
665
+ _securityInfo$info4,
666
+ _securityInfo$info5,
667
+ _securityInfo$info6,
668
+ _this2 = this;
669
+ this.securityInfos = this._privilegeControl.getAllSecurityInfo();
670
+ this.privilegeOperator = event.operatorUser;
671
+ var securityInfo = event.securityInfo;
672
+ var enable = securityInfo.enable;
673
+ var operator = this.localUser.userRole === _type.FcrUserRole.HOST ? (0, _i18n.transI18n)('fmt_settings_labels_you') : (0, _i18n.transI18n)('fmt_role_host');
674
+ if (((_securityInfo$info = securityInfo.info) === null || _securityInfo$info === void 0 ? void 0 : _securityInfo$info.action) === _type.FcrSecurityAction.JoinWithMuteAudio) {
675
+ if (enable) {
676
+ this._uiEventStore.showToast({
677
+ type: 'info',
678
+ message: (0, _i18n.transI18n)('fmt_settings_tips_muteallwhilejoin', {
679
+ reason1: operator
680
+ })
681
+ });
682
+ }
683
+ } else if (((_securityInfo$info2 = securityInfo.info) === null || _securityInfo$info2 === void 0 ? void 0 : _securityInfo$info2.action) === _type.FcrSecurityAction.StartAudio) {
684
+ var toastMessage = enable ? (0, _i18n.transI18n)('fmt_settings_tips_allowedselfunmuting', {
685
+ reason1: operator
686
+ }) : (0, _i18n.transI18n)('fmt_settings_tips_disabledselfunmuting', {
687
+ reason1: operator
688
+ });
689
+ this._uiEventStore.showToast({
690
+ type: 'info',
691
+ message: toastMessage
692
+ });
693
+ } else if (((_securityInfo$info3 = securityInfo.info) === null || _securityInfo$info3 === void 0 ? void 0 : _securityInfo$info3.action) === _type.FcrSecurityAction.StartVideo) {
694
+ var _toastMessage = enable ? (0, _i18n.transI18n)('fmt_settings_tips_videoenabled', {
695
+ reason1: operator
696
+ }) : (0, _i18n.transI18n)('fmt_settings_tips_disabledvideo', {
697
+ reason1: operator
698
+ });
699
+ this._uiEventStore.showToast({
700
+ type: 'info',
701
+ message: _toastMessage
702
+ });
703
+ } else if (((_securityInfo$info4 = securityInfo.info) === null || _securityInfo$info4 === void 0 ? void 0 : _securityInfo$info4.action) === _type.FcrSecurityAction.ShareScreen) {
704
+ var _toastMessage2 = enable ? (0, _i18n.transI18n)('fmt_settings_tips_allowedScreensharing', {
705
+ reason1: operator
706
+ }) : (0, _i18n.transI18n)('fmt_settings_tips_disabledScreensharing', {
707
+ reason1: operator
708
+ });
709
+ this._uiEventStore.showToast({
710
+ type: 'info',
711
+ message: _toastMessage2
712
+ });
713
+ } else if (((_securityInfo$info5 = securityInfo.info) === null || _securityInfo$info5 === void 0 ? void 0 : _securityInfo$info5.action) === _type.FcrSecurityAction.SendChat) {
714
+ var _toastMessage3 = enable ? (0, _i18n.transI18n)('fmt_settings_tips_allowedchat', {
715
+ reason1: operator
716
+ }) : (0, _i18n.transI18n)('fmt_settings_tips_banedchat', {
717
+ reason1: operator
718
+ });
719
+ this._uiEventStore.showToast({
720
+ type: 'info',
721
+ message: _toastMessage3
722
+ });
723
+ } else if (((_securityInfo$info6 = securityInfo.info) === null || _securityInfo$info6 === void 0 ? void 0 : _securityInfo$info6.action) === _type.FcrSecurityAction.Sharing && !enable) {
724
+ var _this$boardOwnerUser, _this$boardOwnerUser2;
725
+ if (!this.boardOwnerUser) return;
726
+ var isHost = [_type.FcrUserRole.HOST, _type.FcrUserRole.COHOST].includes((_this$boardOwnerUser = this.boardOwnerUser) === null || _this$boardOwnerUser === void 0 ? void 0 : _this$boardOwnerUser.userRole);
727
+ if (!isHost) {
728
+ this._uiEventStore.sendEvent(_constant.UIAction.CLOSE_WHITEBOARD);
729
+ } else {
730
+ return;
731
+ }
732
+ if (((_this$boardOwnerUser2 = this.boardOwnerUser) === null || _this$boardOwnerUser2 === void 0 ? void 0 : _this$boardOwnerUser2.userId) !== this.localUser.userId) {
733
+ this._uiEventStore.showToast({
734
+ type: 'info',
735
+ message: (0, _i18n.transI18n)('fmt_screenshare_whiteboard_tips_alreadyopend')
736
+ });
737
+ } else {
738
+ var dialogKey = this._uiEventStore.openConfirmDialog({
739
+ title: (0, _i18n.transI18n)('fmt_screenshare_whiteboard_tips_stoppedboard'),
740
+ content: (0, _i18n.transI18n)('fmt_settings_tips_sharingprohibited', {
741
+ reason1: operator
742
+ }),
743
+ icon: _type2.FcrIconType.FCR_SCREENSHARING,
744
+ okText: (0, _i18n.transI18n)('fmt_screenshare_whiteboard_button_gotit'),
745
+ showCancel: false,
746
+ onOk: function onOk() {
747
+ _this2._uiEventStore.closeDialog(dialogKey);
748
+ },
749
+ onCancel: function onCancel() {
750
+ _this2._uiEventStore.closeDialog(dialogKey);
751
+ }
752
+ });
753
+ }
754
+ }
755
+ }
756
+ }, {
757
+ key: "permitPrivateChat",
758
+ value: function permitPrivateChat(userId) {
759
+ var _this$_userControl$ge;
760
+ var localUserRole = (_this$_userControl$ge = this._userControl.getLocalUser()) === null || _this$_userControl$ge === void 0 ? void 0 : _this$_userControl$ge.userRole;
761
+ // 参会者才需要权限控制
762
+ if (localUserRole === _type.FcrUserRole.PARTICIPANT) {
763
+ var toastObj = {
764
+ id: 'private-toast',
765
+ toastProps: {
766
+ type: 'error',
767
+ content: (0, _i18n.transI18n)('fmt_settings_tips_Blockallchat'),
768
+ size: 'small'
769
+ },
770
+ customRootClass: 'participants-container'
771
+ };
772
+ var needToast = false;
773
+ // 禁止所有聊天
774
+ if (!this.allowChat() || this.disallowedAllChat()) {
775
+ needToast = true;
776
+ }
777
+ var targetUserRole = this._userControl.getUser(userId).userRole;
778
+
779
+ // 公聊但允许私聊主持人和联席主持人
780
+ if (this.allowedPublicChatAndDisallowedPrivateChat() && targetUserRole === _type.FcrUserRole.PARTICIPANT) {
781
+ toastObj.toastProps.content = (0, _i18n.transI18n)('fmt_settings_tips_groupchatonly');
782
+ needToast = true;
783
+ }
784
+
785
+ // 仅允许私聊主持人和联席主持人
786
+ if (this.disallowedPublicChatAndDisallowedPrivateChatToParticipant() && targetUserRole === _type.FcrUserRole.PARTICIPANT) {
787
+ toastObj.toastProps.content = (0, _i18n.transI18n)('fmt_settings_tips_hostchatonly');
788
+ needToast = true;
789
+ }
790
+ if (needToast) {
791
+ _toast.FcrToastApi.open(toastObj);
792
+ return false;
793
+ }
794
+ return true;
795
+ }
796
+ return true;
797
+ }
798
+
799
+ // for debug use
800
+ }, {
801
+ key: "_printAllPermissions",
802
+ value: function _printAllPermissions() {
803
+ this.logger.debug(JSON.stringify((0, _mobx.toJS)(this.permissionInfos)));
804
+ }
805
+ }, {
806
+ key: "_handleProcessEvent",
807
+ value: function _handleProcessEvent(event) {
808
+ var _ref18 = event,
809
+ action = _ref18.action,
810
+ payload = _ref18.payload;
811
+ switch (action) {
812
+ case _constant.RendererEventAction.FRAGMENT_SET_ALLOW_CHANGE_SELF_NAME:
813
+ // this.setAllowChangeSelfName(payload.allow);
814
+ break;
815
+ case _constant.RendererEventAction.FRAGMENT_SET_ALLOW_CHAT:
816
+ this.setAllowChat(payload.allow);
817
+ break;
818
+ case _constant.RendererEventAction.FRAGMENT_SET_ALLOW_JOIN_WITH_MUTE_AUDIO:
819
+ this.setAllowJoinWithMuteAudio(payload.allow);
820
+ break;
821
+ case _constant.RendererEventAction.FRAGMENT_SET_ALLOW_SHARE_SCREEN:
822
+ this.setAllowShareScreen(payload.allow);
823
+ break;
824
+ case _constant.RendererEventAction.FRAGMENT_SET_ALLOW_UNMUTE_SELF_VIDEO:
825
+ this.setAllowUnmuteSelfVideo(payload.allow);
826
+ break;
827
+ case _constant.RendererEventAction.FRAGMENT_SET_ALLOW_UNMUTE_SELF_AUDIO:
828
+ this.setAllowUnmuteSelfAudio(payload.allow);
829
+ break;
830
+ case _constant.RendererEventAction.FRAGMENT_SET_LOCK_ROOM:
831
+ this.setLockRoomEnabled(payload.allow);
832
+ break;
833
+ case _constant.RendererEventAction.FRAGMENT_SET_ENABLE_WAITING_ROOM:
834
+ // this.setWaitingRoomEnabled(payload.allow);
835
+ break;
836
+ default:
837
+ break;
838
+ }
839
+ }
840
+ }, {
841
+ key: "_addReactions",
842
+ value: function _addReactions() {
843
+ var _this3 = this;
844
+ var securityReactions = [{
845
+ observable: function observable() {
846
+ return _this3.allowChangeSelfName();
847
+ },
848
+ action: _constant.RendererEventAction.MAIN_SET_ALLOW_CHANGE_SELF_NAME
849
+ }, {
850
+ observable: function observable() {
851
+ return _this3.allowChat();
852
+ },
853
+ action: _constant.RendererEventAction.MAIN_SET_ALLOW_CHAT
854
+ }, {
855
+ observable: function observable() {
856
+ return _this3.allowJoinWithMuteAudio();
857
+ },
858
+ action: _constant.RendererEventAction.MAIN_SET_ALLOW_JOIN_WITH_MUTE_AUDIO
859
+ }, {
860
+ observable: function observable() {
861
+ return _this3.allowScreenShareAndBoard();
862
+ },
863
+ action: _constant.RendererEventAction.MAIN_SET_ALLOW_SHARE_SCREEN
864
+ }, {
865
+ observable: function observable() {
866
+ return _this3.allowUnmuteSelfVideo();
867
+ },
868
+ action: _constant.RendererEventAction.MAIN_SET_ALLOW_UNMUTE_SELF_VIDEO
869
+ }, {
870
+ observable: function observable() {
871
+ return _this3.allowUnmuteSelfAudio();
872
+ },
873
+ action: _constant.RendererEventAction.MAIN_SET_ALLOW_UNMUTE_SELF_AUDIO
874
+ }, {
875
+ observable: function observable() {
876
+ return _this3.isLockRoomEnabled();
877
+ },
878
+ action: _constant.RendererEventAction.MAIN_SET_LOCK_ROOM
879
+ }, {
880
+ observable: function observable() {
881
+ return _this3.isWaitingRoomEnabled();
882
+ },
883
+ action: _constant.RendererEventAction.MAIN_SET_ENABLE_WAITING_ROOM
884
+ }, {
885
+ observable: function observable() {
886
+ return _this3.hasStartCloudRecordingPermission();
887
+ },
888
+ action: _constant.RendererEventAction.MAIN_SET_ALLOW_CLOUD_RECORDING_START
889
+ }, {
890
+ observable: function observable() {
891
+ return _this3.hasStartLiveStreamingPermission();
892
+ },
893
+ action: _constant.RendererEventAction.MAIN_SET_ALLOW_LIVE_STREAMING_START
894
+ }, {
895
+ observable: function observable() {
896
+ return _this3.hasStopLiveStreamingPermission();
897
+ },
898
+ action: _constant.RendererEventAction.MAIN_SET_ALLOW_LIVE_STREAMING_STOP
899
+ }, {
900
+ observable: function observable() {
901
+ return _this3.hasGetLiveStreamingLinkPermission();
902
+ },
903
+ action: _constant.RendererEventAction.MAIN_SET_ALLOW_GET_LIVE_STREAMING_LINK
904
+ }, {
905
+ observable: function observable() {
906
+ return _this3.hasAllowScreenShareAndBoardPermission();
907
+ },
908
+ action: _constant.RendererEventAction.SET_ALLOW_SHARE_SCREEN_AND_BOARD
909
+ }, {
910
+ observable: function observable() {
911
+ return _this3.hasAllowWriteBoardPermission();
912
+ },
913
+ action: _constant.RendererEventAction.SET_ALLOW_WRITE_BOARD
914
+ },
915
+ // security item permission
916
+ {
917
+ observable: function observable() {
918
+ return _this3.hasEnableStartScreenSharePermission();
919
+ },
920
+ action: _constant.RendererEventAction.START_SCREEN_SHARE_PERMISSION
921
+ }, {
922
+ observable: function observable() {
923
+ return _this3.hasPermissionToControlAllowSendAll();
924
+ },
925
+ action: _constant.RendererEventAction.ALLOW_SEND_ALL_PERMISSION
926
+ }, {
927
+ observable: function observable() {
928
+ return _this3.hasEnableStartAudioPermission();
929
+ },
930
+ action: _constant.RendererEventAction.START_AUDIO_PERMISSION
931
+ }, {
932
+ observable: function observable() {
933
+ return _this3.hasEnableChangeNamePermission();
934
+ },
935
+ action: _constant.RendererEventAction.CHANGE_NAME_PERMISSION
936
+ }, {
937
+ observable: function observable() {
938
+ return _this3.hasEnableStartVideoPermission();
939
+ },
940
+ action: _constant.RendererEventAction.START_VIDEO_PERMISSION
941
+ }, {
942
+ observable: function observable() {
943
+ return _this3.hasLockRoomPermission();
944
+ },
945
+ action: _constant.RendererEventAction.LOCK_ROOM_PERMISSION
946
+ }];
947
+ securityReactions.forEach(function (_ref19) {
948
+ var observable = _ref19.observable,
949
+ action = _ref19.action;
950
+ _this3._disposers.push((0, _mobx.reaction)(observable, function (allow) {
951
+ window.runtime.sendEvent({
952
+ action: action,
953
+ payload: {
954
+ allow: allow
955
+ }
956
+ });
957
+ }));
958
+ });
959
+ }
960
+ }, {
961
+ key: "_removeReactions",
962
+ value: function _removeReactions() {
963
+ this._disposers.forEach(function (d) {
964
+ return d();
965
+ });
966
+ this._disposers = [];
967
+ }
968
+ }]);
969
+ }();
970
+ _FcrSecurityStore = FcrSecurityStore;
971
+ var _applyDecs$e = _applyDecs(_FcrSecurityStore, [[_mobx.observable, 1, "securityInfos"], [_mobx.observable, 1, "permissionInfos"], [_mobx.observable, 1, "privilegeOperator"], [_mobx.observable, 1, "boardOwnerUser"], [_handlePermissionUpdatedDecs, 18, "_handlePermissionUpdated"], [_handleSecurityUpdatedDecs, 18, "_handleSecurityUpdated"], [_decorator.bound, 2, "_handleProcessEvent"], [_decorator.bound, 2, "_addReactions"], [_decorator.bound, 2, "_removeReactions"]], []).e;
972
+ var _applyDecs$e2 = (0, _slicedToArray2["default"])(_applyDecs$e, 5);
973
+ _init_securityInfos = _applyDecs$e2[0];
974
+ _init_permissionInfos = _applyDecs$e2[1];
975
+ _init_privilegeOperator = _applyDecs$e2[2];
976
+ _init_boardOwnerUser = _applyDecs$e2[3];
977
+ _initProto = _applyDecs$e2[4];
978
+ _applyDecs$e;