fcr-ui-scene 3.4.4 → 3.4.5

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 (653) hide show
  1. package/package.json +5 -5
  2. package/lib/ scenes/base.d.ts +0 -10
  3. package/lib/ scenes/base.js +0 -75
  4. package/lib/ scenes/main-scene.d.ts +0 -43
  5. package/lib/ scenes/main-scene.js +0 -368
  6. package/lib/ scenes/waiting-scene.d.ts +0 -31
  7. package/lib/ scenes/waiting-scene.js +0 -119
  8. package/lib/common/device-store.d.ts +0 -148
  9. package/lib/common/device-store.js +0 -1571
  10. package/lib/common/device-stream-store.d.ts +0 -31
  11. package/lib/common/device-stream-store.js +0 -532
  12. package/lib/common/event-store.d.ts +0 -144
  13. package/lib/common/event-store.js +0 -291
  14. package/lib/common/remote-renderer.d.ts +0 -15
  15. package/lib/common/remote-renderer.js +0 -138
  16. package/lib/common/room-store.d.ts +0 -58
  17. package/lib/common/room-store.js +0 -402
  18. package/lib/common/security-store.d.ts +0 -121
  19. package/lib/common/security-store.js +0 -969
  20. package/lib/common/type.d.ts +0 -8
  21. package/lib/common/type.js +0 -6
  22. package/lib/electron/bootstrap.d.ts +0 -1
  23. package/lib/electron/bootstrap.js +0 -56
  24. package/lib/electron/dev.d.ts +0 -1
  25. package/lib/electron/dev.js +0 -51
  26. package/lib/error-fallback.css +0 -62
  27. package/lib/error-fallback.d.ts +0 -2
  28. package/lib/error-fallback.js +0 -19
  29. package/lib/fragments/base.d.ts +0 -10
  30. package/lib/fragments/base.js +0 -44
  31. package/lib/fragments/control-bar/cloud-recording-buttons.d.ts +0 -1
  32. package/lib/fragments/control-bar/cloud-recording-buttons.js +0 -67
  33. package/lib/fragments/control-bar/context.d.ts +0 -2
  34. package/lib/fragments/control-bar/context.js +0 -9
  35. package/lib/fragments/control-bar/control-bar-store.d.ts +0 -152
  36. package/lib/fragments/control-bar/control-bar-store.js +0 -1296
  37. package/lib/fragments/control-bar/device/index.d.ts +0 -31
  38. package/lib/fragments/control-bar/device/index.js +0 -210
  39. package/lib/fragments/control-bar/index.css +0 -276
  40. package/lib/fragments/control-bar/index.d.ts +0 -26
  41. package/lib/fragments/control-bar/index.js +0 -233
  42. package/lib/fragments/control-bar/meeting-details/meeting-detail.css +0 -109
  43. package/lib/fragments/control-bar/meeting-details/meeting-details-portal.d.ts +0 -3
  44. package/lib/fragments/control-bar/meeting-details/meeting-details-portal.js +0 -60
  45. package/lib/fragments/control-bar/meeting-details/meeting-details.d.ts +0 -2
  46. package/lib/fragments/control-bar/meeting-details/meeting-details.js +0 -179
  47. package/lib/fragments/control-bar/more-actions/index.css +0 -19
  48. package/lib/fragments/control-bar/more-actions/index.d.ts +0 -7
  49. package/lib/fragments/control-bar/more-actions/index.js +0 -264
  50. package/lib/fragments/control-bar/security-content/index.css +0 -24
  51. package/lib/fragments/control-bar/security-content/index.d.ts +0 -2
  52. package/lib/fragments/control-bar/security-content/index.js +0 -148
  53. package/lib/fragments/control-bar/share-state-nav/index.css +0 -70
  54. package/lib/fragments/control-bar/share-state-nav/index.d.ts +0 -10
  55. package/lib/fragments/control-bar/share-state-nav/index.js +0 -134
  56. package/lib/fragments/control-bar/stop-live-streaming/index.d.ts +0 -1
  57. package/lib/fragments/control-bar/stop-live-streaming/index.js +0 -82
  58. package/lib/fragments/control-bar/transfer-position-icon/index.d.ts +0 -11
  59. package/lib/fragments/control-bar/transfer-position-icon/index.js +0 -46
  60. package/lib/fragments/control-bar/view.d.ts +0 -1
  61. package/lib/fragments/control-bar/view.js +0 -321
  62. package/lib/fragments/live-streaming/context.d.ts +0 -2
  63. package/lib/fragments/live-streaming/context.js +0 -9
  64. package/lib/fragments/live-streaming/index.css +0 -11
  65. package/lib/fragments/live-streaming/index.d.ts +0 -11
  66. package/lib/fragments/live-streaming/index.js +0 -79
  67. package/lib/fragments/live-streaming/store.d.ts +0 -21
  68. package/lib/fragments/live-streaming/store.js +0 -238
  69. package/lib/fragments/live-streaming/view.d.ts +0 -2
  70. package/lib/fragments/live-streaming/view.js +0 -44
  71. package/lib/fragments/share-screen-selection/context.d.ts +0 -2
  72. package/lib/fragments/share-screen-selection/context.js +0 -9
  73. package/lib/fragments/share-screen-selection/index.css +0 -66
  74. package/lib/fragments/share-screen-selection/index.d.ts +0 -9
  75. package/lib/fragments/share-screen-selection/index.js +0 -94
  76. package/lib/fragments/share-screen-selection/open-mic-tips.d.ts +0 -9
  77. package/lib/fragments/share-screen-selection/open-mic-tips.js +0 -55
  78. package/lib/fragments/share-screen-selection/selection-store.d.ts +0 -35
  79. package/lib/fragments/share-screen-selection/selection-store.js +0 -352
  80. package/lib/fragments/share-screen-selection/tips.css +0 -33
  81. package/lib/fragments/share-screen-selection/view.d.ts +0 -9
  82. package/lib/fragments/share-screen-selection/view.js +0 -262
  83. package/lib/fragments/toolbar/components/color-picker/components/color.d.ts +0 -5
  84. package/lib/fragments/toolbar/components/color-picker/components/color.js +0 -56
  85. package/lib/fragments/toolbar/components/color-picker/components/panel.d.ts +0 -1
  86. package/lib/fragments/toolbar/components/color-picker/components/panel.js +0 -118
  87. package/lib/fragments/toolbar/components/color-picker/components/picker.d.ts +0 -1
  88. package/lib/fragments/toolbar/components/color-picker/components/picker.js +0 -77
  89. package/lib/fragments/toolbar/components/color-picker/index.d.ts +0 -2
  90. package/lib/fragments/toolbar/components/color-picker/index.js +0 -57
  91. package/lib/fragments/toolbar/components/color-picker.d.ts +0 -2
  92. package/lib/fragments/toolbar/components/color-picker.js +0 -129
  93. package/lib/fragments/toolbar/components/eraser-picker.d.ts +0 -4
  94. package/lib/fragments/toolbar/components/eraser-picker.js +0 -75
  95. package/lib/fragments/toolbar/components/extension-toolbar-item.d.ts +0 -1
  96. package/lib/fragments/toolbar/components/extension-toolbar-item.js +0 -83
  97. package/lib/fragments/toolbar/components/extra-tool-picker.d.ts +0 -1
  98. package/lib/fragments/toolbar/components/extra-tool-picker.js +0 -64
  99. package/lib/fragments/toolbar/components/fold-icon.d.ts +0 -2
  100. package/lib/fragments/toolbar/components/fold-icon.js +0 -41
  101. package/lib/fragments/toolbar/components/history.d.ts +0 -2
  102. package/lib/fragments/toolbar/components/history.js +0 -46
  103. package/lib/fragments/toolbar/components/pen-picker.d.ts +0 -4
  104. package/lib/fragments/toolbar/components/pen-picker.js +0 -134
  105. package/lib/fragments/toolbar/components/screen-capture-picker.d.ts +0 -4
  106. package/lib/fragments/toolbar/components/screen-capture-picker.js +0 -86
  107. package/lib/fragments/toolbar/components/shape-picker.d.ts +0 -4
  108. package/lib/fragments/toolbar/components/shape-picker.js +0 -148
  109. package/lib/fragments/toolbar/components/toolbar-item.d.ts +0 -1
  110. package/lib/fragments/toolbar/components/toolbar-item.js +0 -42
  111. package/lib/fragments/toolbar/components/transfer-position-icon/index.d.ts +0 -11
  112. package/lib/fragments/toolbar/components/transfer-position-icon/index.js +0 -46
  113. package/lib/fragments/toolbar/components/wrapper.d.ts +0 -1
  114. package/lib/fragments/toolbar/components/wrapper.js +0 -138
  115. package/lib/fragments/toolbar/hooks.d.ts +0 -16
  116. package/lib/fragments/toolbar/hooks.js +0 -256
  117. package/lib/fragments/toolbar/index.d.ts +0 -12
  118. package/lib/fragments/toolbar/index.js +0 -80
  119. package/lib/fragments/toolbar/store.d.ts +0 -62
  120. package/lib/fragments/toolbar/store.js +0 -297
  121. package/lib/fragments/toolbar/style.css +0 -347
  122. package/lib/fragments/toolbar/view.d.ts +0 -1
  123. package/lib/fragments/toolbar/view.js +0 -36
  124. package/lib/modules/Interpreter/action/edit-btn/index.css +0 -3
  125. package/lib/modules/Interpreter/add-button/index.css +0 -4
  126. package/lib/modules/Interpreter/add-button/index.d.ts +0 -11
  127. package/lib/modules/Interpreter/add-button/index.js +0 -43
  128. package/lib/modules/Interpreter/config.d.ts +0 -16
  129. package/lib/modules/Interpreter/config.js +0 -17
  130. package/lib/modules/Interpreter/constant.d.ts +0 -55
  131. package/lib/modules/Interpreter/constant.js +0 -100
  132. package/lib/modules/Interpreter/context.d.ts +0 -2
  133. package/lib/modules/Interpreter/context.js +0 -9
  134. package/lib/modules/Interpreter/footer/components/interpreter-btn/index.d.ts +0 -5
  135. package/lib/modules/Interpreter/footer/components/interpreter-btn/index.js +0 -53
  136. package/lib/modules/Interpreter/footer/components/set-btn/index.d.ts +0 -5
  137. package/lib/modules/Interpreter/footer/components/set-btn/index.js +0 -49
  138. package/lib/modules/Interpreter/index.css +0 -15
  139. package/lib/modules/Interpreter/tooltip-wrapper/index.d.ts +0 -6
  140. package/lib/modules/Interpreter/tooltip-wrapper/index.js +0 -30
  141. package/lib/modules/action-bar/Interpreter/index.d.ts +0 -6
  142. package/lib/modules/action-bar/Interpreter/index.js +0 -41
  143. package/lib/modules/action-bar/action-bar-collapes-items.d.ts +0 -20
  144. package/lib/modules/action-bar/action-bar-collapes-items.js +0 -225
  145. package/lib/modules/action-bar/apps/app-item/index.css +0 -35
  146. package/lib/modules/action-bar/apps/app-item/index.d.ts +0 -12
  147. package/lib/modules/action-bar/apps/app-item/index.js +0 -61
  148. package/lib/modules/action-bar/apps/appitems.d.ts +0 -5
  149. package/lib/modules/action-bar/apps/appitems.js +0 -45
  150. package/lib/modules/action-bar/apps/index.css +0 -8
  151. package/lib/modules/action-bar/apps/index.d.ts +0 -4
  152. package/lib/modules/action-bar/apps/index.js +0 -57
  153. package/lib/modules/action-bar/apps/useAppItemOptions.d.ts +0 -9
  154. package/lib/modules/action-bar/apps/useAppItemOptions.js +0 -29
  155. package/lib/modules/action-bar/apps/useBeautyBackground.d.ts +0 -10
  156. package/lib/modules/action-bar/apps/useBeautyBackground.js +0 -34
  157. package/lib/modules/action-bar/apps/useInterpreter.d.ts +0 -14
  158. package/lib/modules/action-bar/apps/useInterpreter.js +0 -37
  159. package/lib/modules/action-bar/apps/useLiveStreaming.d.ts +0 -16
  160. package/lib/modules/action-bar/apps/useLiveStreaming.js +0 -41
  161. package/lib/modules/action-bar/board/index.d.ts +0 -4
  162. package/lib/modules/action-bar/board/index.js +0 -34
  163. package/lib/modules/action-bar/breakout-room/index.d.ts +0 -4
  164. package/lib/modules/action-bar/breakout-room/index.js +0 -32
  165. package/lib/modules/action-bar/chat/index.css +0 -80
  166. package/lib/modules/action-bar/chat/index.d.ts +0 -5
  167. package/lib/modules/action-bar/chat/index.js +0 -152
  168. package/lib/modules/action-bar/components/apps/useWidgetList.d.ts +0 -7
  169. package/lib/modules/action-bar/components/apps/useWidgetList.js +0 -43
  170. package/lib/modules/action-bar/components/device/index.css +0 -162
  171. package/lib/modules/action-bar/components/device/index.d.ts +0 -8
  172. package/lib/modules/action-bar/components/device/index.js +0 -611
  173. package/lib/modules/action-bar/components/item.d.ts +0 -27
  174. package/lib/modules/action-bar/components/item.js +0 -164
  175. package/lib/modules/action-bar/components/leave/assign-host.d.ts +0 -10
  176. package/lib/modules/action-bar/components/leave/assign-host.js +0 -64
  177. package/lib/modules/action-bar/components/leave/index.css +0 -126
  178. package/lib/modules/action-bar/components/leave/leave-meeting.d.ts +0 -18
  179. package/lib/modules/action-bar/components/leave/leave-meeting.js +0 -153
  180. package/lib/modules/action-bar/components/trigger-input-language-room/fcr_translateswitch.png +0 -0
  181. package/lib/modules/action-bar/components/trigger-input-language-room/index.css +0 -86
  182. package/lib/modules/action-bar/components/trigger-input-language-room/index.d.ts +0 -3
  183. package/lib/modules/action-bar/components/trigger-input-language-room/index.js +0 -215
  184. package/lib/modules/action-bar/components/trigger-output-language-room/constant.d.ts +0 -10
  185. package/lib/modules/action-bar/components/trigger-output-language-room/constant.js +0 -8
  186. package/lib/modules/action-bar/components/trigger-output-language-room/guide-tooltip/index.css +0 -22
  187. package/lib/modules/action-bar/components/trigger-output-language-room/guide-tooltip/index.d.ts +0 -3
  188. package/lib/modules/action-bar/components/trigger-output-language-room/guide-tooltip/index.js +0 -75
  189. package/lib/modules/action-bar/components/trigger-output-language-room/index.d.ts +0 -8
  190. package/lib/modules/action-bar/components/trigger-output-language-room/index.js +0 -98
  191. package/lib/modules/action-bar/components/trigger-output-language-room/trigger-language-room.d.ts +0 -5
  192. package/lib/modules/action-bar/components/trigger-output-language-room/trigger-language-room.js +0 -66
  193. package/lib/modules/action-bar/components/trigger-output-language-room/trigger-main-room.d.ts +0 -5
  194. package/lib/modules/action-bar/components/trigger-output-language-room/trigger-main-room.js +0 -37
  195. package/lib/modules/action-bar/components/trigger-output-language-room/useChangeOutputRoomTool.d.ts +0 -12
  196. package/lib/modules/action-bar/components/trigger-output-language-room/useChangeOutputRoomTool.js +0 -138
  197. package/lib/modules/action-bar/context.d.ts +0 -2
  198. package/lib/modules/action-bar/context.js +0 -9
  199. package/lib/modules/action-bar/device/index.css +0 -157
  200. package/lib/modules/action-bar/device/index.d.ts +0 -8
  201. package/lib/modules/action-bar/device/index.js +0 -613
  202. package/lib/modules/action-bar/item-placement.d.ts +0 -7
  203. package/lib/modules/action-bar/item-placement.js +0 -18
  204. package/lib/modules/action-bar/item.d.ts +0 -27
  205. package/lib/modules/action-bar/item.js +0 -159
  206. package/lib/modules/action-bar/leave/assign-host.d.ts +0 -7
  207. package/lib/modules/action-bar/leave/assign-host.js +0 -66
  208. package/lib/modules/action-bar/leave/index.css +0 -116
  209. package/lib/modules/action-bar/leave/index.d.ts +0 -3
  210. package/lib/modules/action-bar/leave/index.js +0 -115
  211. package/lib/modules/action-bar/leave/leave-meeting.d.ts +0 -6
  212. package/lib/modules/action-bar/leave/leave-meeting.js +0 -135
  213. package/lib/modules/action-bar/live-streaming/index.d.ts +0 -4
  214. package/lib/modules/action-bar/live-streaming/index.js +0 -39
  215. package/lib/modules/action-bar/more/index.css +0 -114
  216. package/lib/modules/action-bar/more/index.d.ts +0 -5
  217. package/lib/modules/action-bar/more/index.js +0 -80
  218. package/lib/modules/action-bar/more/poppover-content.d.ts +0 -8
  219. package/lib/modules/action-bar/more/poppover-content.js +0 -379
  220. package/lib/modules/action-bar/notification-bar/components/interpreter/index.css +0 -58
  221. package/lib/modules/action-bar/notification-bar/components/interpreter/index.d.ts +0 -8
  222. package/lib/modules/action-bar/notification-bar/components/interpreter/index.js +0 -100
  223. package/lib/modules/action-bar/notification-bar/components/virtual-image/index.css +0 -56
  224. package/lib/modules/action-bar/notification-bar/components/virtual-image/index.d.ts +0 -5
  225. package/lib/modules/action-bar/notification-bar/components/virtual-image/index.js +0 -33
  226. package/lib/modules/action-bar/notification-bar/dome.png +0 -0
  227. package/lib/modules/action-bar/notification-bar/fcr_translateswitch.png +0 -0
  228. package/lib/modules/action-bar/notification-bar/index.css +0 -74
  229. package/lib/modules/action-bar/notification-bar/index.d.ts +0 -2
  230. package/lib/modules/action-bar/notification-bar/index.js +0 -99
  231. package/lib/modules/action-bar/participants/index.css +0 -9
  232. package/lib/modules/action-bar/participants/index.d.ts +0 -5
  233. package/lib/modules/action-bar/participants/index.js +0 -75
  234. package/lib/modules/action-bar/record/index.css +0 -39
  235. package/lib/modules/action-bar/record/index.d.ts +0 -5
  236. package/lib/modules/action-bar/record/index.js +0 -161
  237. package/lib/modules/action-bar/record/stop-record-dialog.d.ts +0 -5
  238. package/lib/modules/action-bar/record/stop-record-dialog.js +0 -48
  239. package/lib/modules/action-bar/respond/index.d.ts +0 -4
  240. package/lib/modules/action-bar/respond/index.js +0 -32
  241. package/lib/modules/action-bar/screen-share/index.d.ts +0 -4
  242. package/lib/modules/action-bar/screen-share/index.js +0 -97
  243. package/lib/modules/action-bar/screen-share/submenu.d.ts +0 -1
  244. package/lib/modules/action-bar/screen-share/submenu.js +0 -160
  245. package/lib/modules/action-bar/security/drop-menu.d.ts +0 -1
  246. package/lib/modules/action-bar/security/drop-menu.js +0 -197
  247. package/lib/modules/action-bar/security/index.d.ts +0 -4
  248. package/lib/modules/action-bar/security/index.js +0 -50
  249. package/lib/modules/action-bar/settings/index.d.ts +0 -4
  250. package/lib/modules/action-bar/settings/index.js +0 -41
  251. package/lib/modules/action-bar/smaller.d.ts +0 -1
  252. package/lib/modules/action-bar/smaller.js +0 -52
  253. package/lib/modules/action-bar/switch-input-language-room/fcr_translateswitch.png +0 -0
  254. package/lib/modules/action-bar/switch-input-language-room/index.css +0 -86
  255. package/lib/modules/action-bar/switch-input-language-room/index.d.ts +0 -16
  256. package/lib/modules/action-bar/switch-input-language-room/index.js +0 -236
  257. package/lib/modules/action-bar/switch-output-language-room/drop-menu.d.ts +0 -1
  258. package/lib/modules/action-bar/switch-output-language-room/drop-menu.js +0 -197
  259. package/lib/modules/action-bar/switch-output-language-room/guide-tooltip/index.css +0 -18
  260. package/lib/modules/action-bar/switch-output-language-room/guide-tooltip/index.d.ts +0 -14
  261. package/lib/modules/action-bar/switch-output-language-room/guide-tooltip/index.js +0 -72
  262. package/lib/modules/action-bar/switch-output-language-room/index.d.ts +0 -12
  263. package/lib/modules/action-bar/switch-output-language-room/index.js +0 -303
  264. package/lib/modules/action-bar/switch-output-language-room/notification-bar/components/interpreter/index.css +0 -58
  265. package/lib/modules/action-bar/switch-output-language-room/notification-bar/components/interpreter/index.d.ts +0 -8
  266. package/lib/modules/action-bar/switch-output-language-room/notification-bar/components/interpreter/index.js +0 -100
  267. package/lib/modules/action-bar/switch-output-language-room/notification-bar/components/virtual-image/index.css +0 -56
  268. package/lib/modules/action-bar/switch-output-language-room/notification-bar/components/virtual-image/index.d.ts +0 -5
  269. package/lib/modules/action-bar/switch-output-language-room/notification-bar/components/virtual-image/index.js +0 -33
  270. package/lib/modules/action-bar/switch-output-language-room/notification-bar/dome.png +0 -0
  271. package/lib/modules/action-bar/switch-output-language-room/notification-bar/fcr_translateswitch.png +0 -0
  272. package/lib/modules/action-bar/switch-output-language-room/notification-bar/index.css +0 -74
  273. package/lib/modules/action-bar/switch-output-language-room/notification-bar/index.d.ts +0 -2
  274. package/lib/modules/action-bar/switch-output-language-room/notification-bar/index.js +0 -99
  275. package/lib/modules/action-bar/trigger-input-language-room/fcr_translateswitch.png +0 -0
  276. package/lib/modules/action-bar/trigger-input-language-room/index.css +0 -86
  277. package/lib/modules/action-bar/trigger-input-language-room/index.d.ts +0 -15
  278. package/lib/modules/action-bar/trigger-input-language-room/index.js +0 -220
  279. package/lib/modules/action-bar/trigger-output-language-room/constant.d.ts +0 -10
  280. package/lib/modules/action-bar/trigger-output-language-room/constant.js +0 -8
  281. package/lib/modules/action-bar/trigger-output-language-room/guide-tooltip/index.css +0 -22
  282. package/lib/modules/action-bar/trigger-output-language-room/guide-tooltip/index.d.ts +0 -14
  283. package/lib/modules/action-bar/trigger-output-language-room/guide-tooltip/index.js +0 -75
  284. package/lib/modules/action-bar/trigger-output-language-room/index.d.ts +0 -4
  285. package/lib/modules/action-bar/trigger-output-language-room/index.js +0 -98
  286. package/lib/modules/action-bar/trigger-output-language-room/trigger-language-room.d.ts +0 -5
  287. package/lib/modules/action-bar/trigger-output-language-room/trigger-language-room.js +0 -66
  288. package/lib/modules/action-bar/trigger-output-language-room/trigger-main-room.d.ts +0 -5
  289. package/lib/modules/action-bar/trigger-output-language-room/trigger-main-room.js +0 -36
  290. package/lib/modules/action-bar/trigger-output-language-room/useChangeOutputRoomTool.d.ts +0 -12
  291. package/lib/modules/action-bar/trigger-output-language-room/useChangeOutputRoomTool.js +0 -138
  292. package/lib/modules/action-bar/type.d.ts +0 -6
  293. package/lib/modules/action-bar/type.js +0 -13
  294. package/lib/modules/chat/chat-bar/index.css +0 -85
  295. package/lib/modules/chat/chat-bar/index.d.ts +0 -11
  296. package/lib/modules/chat/chat-bar/index.js +0 -144
  297. package/lib/modules/chat/chat-select/index.css +0 -181
  298. package/lib/modules/chat/chat-select/index.d.ts +0 -12
  299. package/lib/modules/chat/chat-select/index.js +0 -226
  300. package/lib/modules/chat/chat.d.ts +0 -11
  301. package/lib/modules/chat/chat.js +0 -387
  302. package/lib/modules/chat/components/chat-select/select-input/index.d.ts +0 -7
  303. package/lib/modules/chat/components/chat-select/select-input/index.js +0 -35
  304. package/lib/modules/chat/components/chat-select/select-item/index.d.ts +0 -12
  305. package/lib/modules/chat/components/chat-select/select-item/index.js +0 -153
  306. package/lib/modules/chat/components/chat-tabs/index.d.ts +0 -2
  307. package/lib/modules/chat/components/chat-tabs/index.js +0 -61
  308. package/lib/modules/chat/components/message-list/chat-empty/index.d.ts +0 -2
  309. package/lib/modules/chat/components/message-list/chat-empty/index.js +0 -26
  310. package/lib/modules/chat/components/message-list/history-unread-message-button/index.d.ts +0 -7
  311. package/lib/modules/chat/components/message-list/history-unread-message-button/index.js +0 -55
  312. package/lib/modules/chat/components/message-list/message-item/index.d.ts +0 -15
  313. package/lib/modules/chat/components/message-list/message-item/index.js +0 -279
  314. package/lib/modules/chat/components/message-list/scroll-bottom-button/index.d.ts +0 -9
  315. package/lib/modules/chat/components/message-list/scroll-bottom-button/index.js +0 -67
  316. package/lib/modules/chat/contex.d.ts +0 -2
  317. package/lib/modules/chat/contex.js +0 -9
  318. package/lib/modules/chat/demo-wrapper.d.ts +0 -1
  319. package/lib/modules/chat/demo-wrapper.js +0 -42
  320. package/lib/modules/chat/message-list.d.ts +0 -22
  321. package/lib/modules/chat/message-list.js +0 -633
  322. package/lib/modules/components/device-control/type.d.ts +0 -6
  323. package/lib/modules/components/device-control/type.js +0 -13
  324. package/lib/modules/components/dialog-container/component/body.d.ts +0 -7
  325. package/lib/modules/components/dialog-container/component/body.js +0 -46
  326. package/lib/modules/components/dialog-container/index.css +0 -78
  327. package/lib/modules/components/dialog-container/index.d.ts +0 -11
  328. package/lib/modules/components/dialog-container/index.js +0 -110
  329. package/lib/modules/components/member-window/components/member-actions/components/audio-control.d.ts +0 -6
  330. package/lib/modules/components/member-window/components/member-actions/components/audio-control.js +0 -36
  331. package/lib/modules/components/member-window/components/member-actions/components/icon-buttons/index.d.ts +0 -40
  332. package/lib/modules/components/member-window/components/member-actions/components/icon-buttons/index.js +0 -170
  333. package/lib/modules/components/member-window/components/member-actions/components/icon-status.d.ts +0 -11
  334. package/lib/modules/components/member-window/components/member-actions/components/icon-status.js +0 -105
  335. package/lib/modules/components/member-window/components/member-actions/components/layout/index.d.ts +0 -9
  336. package/lib/modules/components/member-window/components/member-actions/components/layout/index.js +0 -42
  337. package/lib/modules/components/member-window/components/member-actions/components/more-actions.d.ts +0 -11
  338. package/lib/modules/components/member-window/components/member-actions/components/more-actions.js +0 -159
  339. package/lib/modules/components/member-window/components/member-actions/components/share-status.d.ts +0 -2
  340. package/lib/modules/components/member-window/components/member-actions/components/share-status.js +0 -32
  341. package/lib/modules/components/member-window/components/member-actions/components/user-info.d.ts +0 -16
  342. package/lib/modules/components/member-window/components/member-actions/components/user-info.js +0 -130
  343. package/lib/modules/components/member-window/components/member-actions/components/user-tag.d.ts +0 -12
  344. package/lib/modules/components/member-window/components/member-actions/components/user-tag.js +0 -57
  345. package/lib/modules/components/member-window/components/member-actions/index.d.ts +0 -3
  346. package/lib/modules/components/member-window/components/member-actions/index.js +0 -122
  347. package/lib/modules/components/member-window/components/member-actions/libs/index.d.ts +0 -2
  348. package/lib/modules/components/member-window/components/member-actions/libs/index.js +0 -24
  349. package/lib/modules/components/member-window/components/member-actions/provider.d.ts +0 -21
  350. package/lib/modules/components/member-window/components/member-actions/provider.js +0 -77
  351. package/lib/modules/components/member-window/components/member-actions/store.d.ts +0 -48
  352. package/lib/modules/components/member-window/components/member-actions/store.js +0 -306
  353. package/lib/modules/components/member-window/components/member-board.d.ts +0 -2
  354. package/lib/modules/components/member-window/components/member-board.js +0 -63
  355. package/lib/modules/components/member-window/components/mic-volume.d.ts +0 -2
  356. package/lib/modules/components/member-window/components/mic-volume.js +0 -23
  357. package/lib/modules/components/member-window/components/video-player/components/local-video-player.d.ts +0 -4
  358. package/lib/modules/components/member-window/components/video-player/components/local-video-player.js +0 -40
  359. package/lib/modules/components/member-window/components/video-player/components/remote-video-player.d.ts +0 -8
  360. package/lib/modules/components/member-window/components/video-player/components/remote-video-player.js +0 -62
  361. package/lib/modules/components/member-window/components/video-player/index.d.ts +0 -9
  362. package/lib/modules/components/member-window/components/video-player/index.js +0 -38
  363. package/lib/modules/components/member-window/types.d.ts +0 -78
  364. package/lib/modules/components/member-window/types.js +0 -6
  365. package/lib/modules/components/toast/index.css +0 -12
  366. package/lib/modules/components/toast/index.d.ts +0 -10
  367. package/lib/modules/components/toast/index.js +0 -66
  368. package/lib/modules/components/toast/store.d.ts +0 -17
  369. package/lib/modules/components/toast/store.js +0 -149
  370. package/lib/modules/components/toast/view.d.ts +0 -2
  371. package/lib/modules/components/toast/view.js +0 -35
  372. package/lib/modules/connection-gateway/components/tabs/index.css +0 -31
  373. package/lib/modules/connection-gateway/components/tabs/index.d.ts +0 -4
  374. package/lib/modules/connection-gateway/components/tabs/index.js +0 -44
  375. package/lib/modules/control-bar/type.d.ts +0 -10
  376. package/lib/modules/control-bar/type.js +0 -18
  377. package/lib/modules/device-pretest/context.d.ts +0 -2
  378. package/lib/modules/device-pretest/context.js +0 -9
  379. package/lib/modules/dialog/components/Interpreter/user-queue/index.css +0 -36
  380. package/lib/modules/dialog/components/Interpreter/user-queue/index.d.ts +0 -3
  381. package/lib/modules/dialog/components/Interpreter/user-queue/index.js +0 -47
  382. package/lib/modules/dialog/components/confirm/electron.d.ts +0 -10
  383. package/lib/modules/dialog/components/confirm/electron.js +0 -84
  384. package/lib/modules/dialog/components/connection-gateway/index.css +0 -27
  385. package/lib/modules/dialog/components/operation-waiting-room/electron.d.ts +0 -5
  386. package/lib/modules/dialog/components/operation-waiting-room/electron.js +0 -42
  387. package/lib/modules/dialog/components/operation-waiting-room/index.css +0 -44
  388. package/lib/modules/dialog/components/operation-waiting-room/index.d.ts +0 -5
  389. package/lib/modules/dialog/components/operation-waiting-room/index.js +0 -156
  390. package/lib/modules/dialog/components/remove-admit-waiting-room/electron.d.ts +0 -12
  391. package/lib/modules/dialog/components/remove-admit-waiting-room/electron.js +0 -33
  392. package/lib/modules/dialog/components/remove-admit-waiting-room/index.css +0 -50
  393. package/lib/modules/dialog/components/remove-admit-waiting-room/index.d.ts +0 -5
  394. package/lib/modules/dialog/components/remove-admit-waiting-room/index.js +0 -80
  395. package/lib/modules/dialog/components/switch-language-channels/electron.d.ts +0 -2
  396. package/lib/modules/dialog/components/switch-language-channels/electron.js +0 -72
  397. package/lib/modules/dialog/components/switch-language-channels/index.css +0 -30
  398. package/lib/modules/dialog/components/switch-language-channels/index.d.ts +0 -4
  399. package/lib/modules/dialog/components/switch-language-channels/index.js +0 -63
  400. package/lib/modules/dialog/components/switch-language-channels/user-queue/index.css +0 -36
  401. package/lib/modules/dialog/components/switch-language-channels/user-queue/index.d.ts +0 -3
  402. package/lib/modules/dialog/components/switch-language-channels/user-queue/index.js +0 -47
  403. package/lib/modules/dialog/components/system-preference/assets/bg1.png +0 -0
  404. package/lib/modules/dialog/components/system-preference/assets/bg2.png +0 -0
  405. package/lib/modules/dialog/components/system-preference/assets/fcr_png_host.png +0 -0
  406. package/lib/modules/dialog/components/widget/electron.d.ts +0 -5
  407. package/lib/modules/dialog/components/widget/electron.js +0 -41
  408. package/lib/modules/dialog/components/widget/index.d.ts +0 -6
  409. package/lib/modules/dialog/components/widget/index.js +0 -41
  410. package/lib/modules/dialog/context.d.ts +0 -2
  411. package/lib/modules/dialog/context.js +0 -9
  412. package/lib/modules/dialog/type.d.ts +0 -84
  413. package/lib/modules/dialog/type.js +0 -6
  414. package/lib/modules/event-notification/context.d.ts +0 -2
  415. package/lib/modules/event-notification/context.js +0 -9
  416. package/lib/modules/event-notification/index.css +0 -58
  417. package/lib/modules/event-notification/index.d.ts +0 -13
  418. package/lib/modules/event-notification/index.js +0 -48
  419. package/lib/modules/event-notification/store.d.ts +0 -17
  420. package/lib/modules/event-notification/store.js +0 -133
  421. package/lib/modules/event-notification/view.d.ts +0 -5
  422. package/lib/modules/event-notification/view.js +0 -114
  423. package/lib/modules/event-toast/context.d.ts +0 -2
  424. package/lib/modules/event-toast/context.js +0 -9
  425. package/lib/modules/invite/context.d.ts +0 -2
  426. package/lib/modules/invite/context.js +0 -9
  427. package/lib/modules/invite/pstn-invite.d.ts +0 -2
  428. package/lib/modules/invite/pstn-invite.js +0 -271
  429. package/lib/modules/invite/voip-invite.d.ts +0 -1
  430. package/lib/modules/invite/voip-invite.js +0 -293
  431. package/lib/modules/layout/components/Layout.d.ts +0 -2
  432. package/lib/modules/layout/components/Layout.js +0 -193
  433. package/lib/modules/layout/context.d.ts +0 -2
  434. package/lib/modules/layout/context.js +0 -9
  435. package/lib/modules/layout/member-window/index.css +0 -419
  436. package/lib/modules/layout/member-window/index.d.ts +0 -74
  437. package/lib/modules/layout/member-window/index.js +0 -882
  438. package/lib/modules/layout/video-window-datasource.d.ts +0 -127
  439. package/lib/modules/layout/video-window-datasource.js +0 -1125
  440. package/lib/modules/live-streaming/context.d.ts +0 -2
  441. package/lib/modules/live-streaming/context.js +0 -9
  442. package/lib/modules/notification/context.d.ts +0 -2
  443. package/lib/modules/notification/context.js +0 -9
  444. package/lib/modules/participant/attendee/index.css +0 -18
  445. package/lib/modules/participant/attendee/index.d.ts +0 -39
  446. package/lib/modules/participant/attendee/index.js +0 -447
  447. package/lib/modules/participant/attendee/participants-more-action.d.ts +0 -18
  448. package/lib/modules/participant/attendee/participants-more-action.js +0 -278
  449. package/lib/modules/participant/attendee/user-more-actions.d.ts +0 -22
  450. package/lib/modules/participant/attendee/user-more-actions.js +0 -76
  451. package/lib/modules/participant/can-moveable/index.d.ts +0 -1
  452. package/lib/modules/participant/can-moveable/index.js +0 -68
  453. package/lib/modules/participant/components/attendee/components/interpreter-tag/index.d.ts +0 -3
  454. package/lib/modules/participant/components/attendee/components/interpreter-tag/index.js +0 -48
  455. package/lib/modules/participant/components/confirm-input/index.d.ts +0 -6
  456. package/lib/modules/participant/components/confirm-input/index.js +0 -49
  457. package/lib/modules/participant/components/drop-menu/util.d.ts +0 -5
  458. package/lib/modules/participant/components/drop-menu/util.js +0 -28
  459. package/lib/modules/participant/components/participants/components/footer/components/buttons.d.ts +0 -6
  460. package/lib/modules/participant/components/participants/components/footer/components/buttons.js +0 -52
  461. package/lib/modules/participant/components/participants/components/footer/components/drop-menu/index.css +0 -60
  462. package/lib/modules/participant/components/participants/components/footer/components/drop-menu/index.d.ts +0 -2
  463. package/lib/modules/participant/components/participants/components/footer/components/drop-menu/index.js +0 -166
  464. package/lib/modules/participant/components/participants/components/footer/components/drop-menu/util.d.ts +0 -5
  465. package/lib/modules/participant/components/participants/components/footer/components/drop-menu/util.js +0 -28
  466. package/lib/modules/participant/components/participants/components/footer/components/footer/index.css +0 -13
  467. package/lib/modules/participant/components/participants/components/footer/components/footer/index.d.ts +0 -5
  468. package/lib/modules/participant/components/participants/components/footer/components/footer/index.js +0 -242
  469. package/lib/modules/participant/components/participants/components/footer/index.d.ts +0 -5
  470. package/lib/modules/participant/components/participants/components/footer/index.js +0 -47
  471. package/lib/modules/participant/components/participants/components/merge/index.d.ts +0 -11
  472. package/lib/modules/participant/components/participants/components/merge/index.js +0 -49
  473. package/lib/modules/participant/components/participants/components/participants/components/attendee/index.css +0 -191
  474. package/lib/modules/participant/components/participants/components/participants/components/attendee/index.d.ts +0 -4
  475. package/lib/modules/participant/components/participants/components/participants/components/attendee/index.js +0 -204
  476. package/lib/modules/participant/components/participants/components/participants/components/participants-more/index.css +0 -49
  477. package/lib/modules/participant/components/participants/components/participants/components/participants-more/index.d.ts +0 -5
  478. package/lib/modules/participant/components/participants/components/participants/components/participants-more/index.js +0 -219
  479. package/lib/modules/participant/components/participants/components/participants/components/user-row/index.d.ts +0 -5
  480. package/lib/modules/participant/components/participants/components/participants/components/user-row/index.js +0 -70
  481. package/lib/modules/participant/components/participants/components/participants/index.css +0 -104
  482. package/lib/modules/participant/components/participants/components/participants/index.d.ts +0 -3
  483. package/lib/modules/participant/components/participants/components/participants/index.js +0 -110
  484. package/lib/modules/participant/components/participants/components/render-tab/index.d.ts +0 -2
  485. package/lib/modules/participant/components/participants/components/render-tab/index.js +0 -49
  486. package/lib/modules/participant/components/participants/components/render-user/components/attendee/components/interpreter-tag/index.d.ts +0 -3
  487. package/lib/modules/participant/components/participants/components/render-user/components/attendee/components/interpreter-tag/index.js +0 -48
  488. package/lib/modules/participant/components/participants/components/render-user/components/attendee/components/microphone-indicator/index.d.ts +0 -6
  489. package/lib/modules/participant/components/participants/components/render-user/components/attendee/components/microphone-indicator/index.js +0 -28
  490. package/lib/modules/participant/components/participants/components/render-user/components/attendee/components/user-avatar/index.d.ts +0 -7
  491. package/lib/modules/participant/components/participants/components/render-user/components/attendee/components/user-avatar/index.js +0 -39
  492. package/lib/modules/participant/components/participants/components/render-user/components/attendee/index.css +0 -69
  493. package/lib/modules/participant/components/participants/components/render-user/components/attendee/index.d.ts +0 -5
  494. package/lib/modules/participant/components/participants/components/render-user/components/attendee/index.js +0 -135
  495. package/lib/modules/participant/components/participants/components/render-user/components/user-action/components/audio-button/index.d.ts +0 -7
  496. package/lib/modules/participant/components/participants/components/render-user/components/user-action/components/audio-button/index.js +0 -31
  497. package/lib/modules/participant/components/participants/components/render-user/components/user-action/components/move-actions-popover/index.d.ts +0 -12
  498. package/lib/modules/participant/components/participants/components/render-user/components/user-action/components/move-actions-popover/index.js +0 -82
  499. package/lib/modules/participant/components/participants/components/render-user/components/user-action/components/move-to-mainroom-button/index.d.ts +0 -4
  500. package/lib/modules/participant/components/participants/components/render-user/components/user-action/components/move-to-mainroom-button/index.js +0 -26
  501. package/lib/modules/participant/components/participants/components/render-user/components/user-action/index.d.ts +0 -2
  502. package/lib/modules/participant/components/participants/components/render-user/components/user-action/index.js +0 -75
  503. package/lib/modules/participant/components/participants/components/render-user/index.d.ts +0 -5
  504. package/lib/modules/participant/components/participants/components/render-user/index.js +0 -21
  505. package/lib/modules/participant/components/participants/render-tab/index.d.ts +0 -2
  506. package/lib/modules/participant/components/participants/render-tab/index.js +0 -49
  507. package/lib/modules/participant/components/participants/render-user/index.d.ts +0 -5
  508. package/lib/modules/participant/components/participants/render-user/index.js +0 -21
  509. package/lib/modules/participant/components/participants/types.d.ts +0 -96
  510. package/lib/modules/participant/components/participants/types.js +0 -37
  511. package/lib/modules/participant/components/user-action/audio-button/index.d.ts +0 -7
  512. package/lib/modules/participant/components/user-action/audio-button/index.js +0 -31
  513. package/lib/modules/participant/components/user-action/move-actions-popover/index.d.ts +0 -12
  514. package/lib/modules/participant/components/user-action/move-actions-popover/index.js +0 -82
  515. package/lib/modules/participant/components/user-action/move-to-mainroom-button/index.d.ts +0 -4
  516. package/lib/modules/participant/components/user-action/move-to-mainroom-button/index.js +0 -26
  517. package/lib/modules/participant/context.d.ts +0 -2
  518. package/lib/modules/participant/context.js +0 -9
  519. package/lib/modules/participant/room-control-drop-menu/index.css +0 -19
  520. package/lib/modules/participant/room-control-drop-menu/index.d.ts +0 -2
  521. package/lib/modules/participant/room-control-drop-menu/index.js +0 -188
  522. package/lib/modules/setting/context.d.ts +0 -2
  523. package/lib/modules/setting/context.js +0 -9
  524. package/lib/modules/share-screen/selection/index.css +0 -70
  525. package/lib/modules/share-screen/selection/index.d.ts +0 -9
  526. package/lib/modules/share-screen/selection/index.js +0 -259
  527. package/lib/modules/share-screen/share-state-bar/index.css +0 -76
  528. package/lib/modules/share-screen/share-state-bar/index.d.ts +0 -4
  529. package/lib/modules/share-screen/share-state-bar/index.js +0 -98
  530. package/lib/modules/state-bar/context.d.ts +0 -2
  531. package/lib/modules/state-bar/context.js +0 -9
  532. package/lib/modules/video-window/components/deviceState/index.d.ts +0 -7
  533. package/lib/modules/video-window/components/deviceState/index.js +0 -75
  534. package/lib/modules/video-window/components/members/index.css +0 -51
  535. package/lib/modules/video-window/components/members/index.d.ts +0 -2
  536. package/lib/modules/video-window/components/members/index.js +0 -130
  537. package/lib/modules/video-window/components/speaking/index.css +0 -86
  538. package/lib/modules/video-window/components/speaking/index.d.ts +0 -3
  539. package/lib/modules/video-window/components/speaking/index.js +0 -48
  540. package/lib/modules/video-window/components/topControl/index.css +0 -35
  541. package/lib/modules/video-window/components/topControl/index.d.ts +0 -3
  542. package/lib/modules/video-window/components/topControl/index.js +0 -79
  543. package/lib/modules/video-window/context.d.ts +0 -2
  544. package/lib/modules/video-window/context.js +0 -9
  545. package/lib/modules/waiting-room-layout/context.d.ts +0 -2
  546. package/lib/modules/waiting-room-layout/context.js +0 -9
  547. package/lib/modules/waiting-room-layout/type.d.ts +0 -0
  548. package/lib/modules/waiting-room-layout/type.js +0 -1
  549. package/lib/modules/whiteboard/app.d.ts +0 -2
  550. package/lib/modules/whiteboard/app.js +0 -49
  551. package/lib/modules/widget/index.css +0 -17
  552. package/lib/modules/widget/index.d.ts +0 -10
  553. package/lib/modules/widget/index.js +0 -114
  554. package/lib/modules/widget/sdk.d.ts +0 -30
  555. package/lib/modules/widget/sdk.js +0 -221
  556. package/lib/modules/widget/store.d.ts +0 -14
  557. package/lib/modules/widget/store.js +0 -28
  558. package/lib/modules/widget/type.d.ts +0 -155
  559. package/lib/modules/widget/type.js +0 -6
  560. package/lib/modules/widget/view.d.ts +0 -2
  561. package/lib/modules/widget/view.js +0 -47
  562. package/lib/modules/widget/web-widget.d.ts +0 -29
  563. package/lib/modules/widget/web-widget.js +0 -234
  564. package/lib/providers/ability-provider.d.ts +0 -24
  565. package/lib/providers/ability-provider.js +0 -36
  566. package/lib/providers/widget-provider.d.ts +0 -44
  567. package/lib/providers/widget-provider.js +0 -167
  568. package/lib/scenes/base.d.ts +0 -10
  569. package/lib/scenes/base.js +0 -75
  570. package/lib/schema.d.ts +0 -114
  571. package/lib/schema.js +0 -77
  572. package/lib/shared-data-source/member-data.d.ts +0 -126
  573. package/lib/shared-data-source/member-data.js +0 -465
  574. package/lib/ui-node.d.ts +0 -25
  575. package/lib/ui-node.js +0 -156
  576. package/lib/utilities/extract.d.ts +0 -5
  577. package/lib/utilities/extract.js +0 -120
  578. package/lib/utilities/logger.d.ts +0 -8
  579. package/lib/utilities/logger.js +0 -42
  580. package/lib/utilities/validate-params.d.ts +0 -2
  581. package/lib/utilities/validate-params.js +0 -16
  582. package/lib/widget-sdk.d.ts +0 -2
  583. package/lib/widget-sdk.js +0 -13
  584. /package/lib/modules/dialog/components/{Interpreter → interpreter}/electron.d.ts +0 -0
  585. /package/lib/modules/dialog/components/{Interpreter → interpreter}/electron.js +0 -0
  586. /package/lib/modules/dialog/components/{Interpreter → interpreter}/index.css +0 -0
  587. /package/lib/modules/dialog/components/{Interpreter → interpreter}/index.d.ts +0 -0
  588. /package/lib/modules/dialog/components/{Interpreter → interpreter}/index.js +0 -0
  589. /package/lib/modules/{Interpreter → interpreter}/action/add-btn/index.css +0 -0
  590. /package/lib/modules/{Interpreter → interpreter}/action/add-btn/index.d.ts +0 -0
  591. /package/lib/modules/{Interpreter → interpreter}/action/add-btn/index.js +0 -0
  592. /package/lib/modules/{Interpreter → interpreter}/action/delete-btn/index.css +0 -0
  593. /package/lib/modules/{Interpreter → interpreter}/action/delete-btn/index.d.ts +0 -0
  594. /package/lib/modules/{Interpreter → interpreter}/action/delete-btn/index.js +0 -0
  595. /package/lib/modules/{Interpreter → interpreter}/action/edit-btn/index.d.ts +0 -0
  596. /package/lib/modules/{Interpreter → interpreter}/action/edit-btn/index.js +0 -0
  597. /package/lib/modules/{Interpreter → interpreter}/action/switch-btn/index.css +0 -0
  598. /package/lib/modules/{Interpreter → interpreter}/action/switch-btn/index.d.ts +0 -0
  599. /package/lib/modules/{Interpreter → interpreter}/action/switch-btn/index.js +0 -0
  600. /package/lib/modules/{Interpreter → interpreter}/dialog-content/index.css +0 -0
  601. /package/lib/modules/{Interpreter → interpreter}/dialog-content/index.d.ts +0 -0
  602. /package/lib/modules/{Interpreter → interpreter}/dialog-content/index.js +0 -0
  603. /package/lib/modules/{Interpreter → interpreter}/footer/index.css +0 -0
  604. /package/lib/modules/{Interpreter → interpreter}/footer/index.d.ts +0 -0
  605. /package/lib/modules/{Interpreter → interpreter}/footer/index.js +0 -0
  606. /package/lib/modules/{Interpreter → interpreter}/index.d.ts +0 -0
  607. /package/lib/modules/{Interpreter → interpreter}/index.js +0 -0
  608. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/index.css +0 -0
  609. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/index.d.ts +0 -0
  610. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/index.js +0 -0
  611. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/index.css +0 -0
  612. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/index.d.ts +0 -0
  613. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/index.js +0 -0
  614. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ar.png +0 -0
  615. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_cn.png +0 -0
  616. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_de.png +0 -0
  617. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_en.png +0 -0
  618. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_es.png +0 -0
  619. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_fr.png +0 -0
  620. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_hi.png +0 -0
  621. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_id.png +0 -0
  622. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_it.png +0 -0
  623. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_jp.png +0 -0
  624. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ko.png +0 -0
  625. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ms.png +0 -0
  626. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_pt.png +0 -0
  627. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ru.png +0 -0
  628. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_th.png +0 -0
  629. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_tr.png +0 -0
  630. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_vi.png +0 -0
  631. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/index.d.ts +0 -0
  632. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/index.js +0 -0
  633. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-user/index.css +0 -0
  634. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-user/index.d.ts +0 -0
  635. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-user/index.js +0 -0
  636. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-user/option-Item.d.ts +0 -0
  637. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-user/option-Item.js +0 -0
  638. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/index.css +0 -0
  639. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/index.d.ts +0 -0
  640. /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/index.js +0 -0
  641. /package/lib/modules/{Interpreter → interpreter}/loading-wrapper/index.css +0 -0
  642. /package/lib/modules/{Interpreter → interpreter}/loading-wrapper/index.d.ts +0 -0
  643. /package/lib/modules/{Interpreter → interpreter}/loading-wrapper/index.js +0 -0
  644. /package/lib/modules/{Interpreter → interpreter}/store.d.ts +0 -0
  645. /package/lib/modules/{Interpreter → interpreter}/store.js +0 -0
  646. /package/lib/modules/{Interpreter/footer/components → interpreter}/tooltip-wrapper/index.d.ts +0 -0
  647. /package/lib/modules/{Interpreter/footer/components → interpreter}/tooltip-wrapper/index.js +0 -0
  648. /package/lib/modules/{Interpreter → interpreter}/type.d.ts +0 -0
  649. /package/lib/modules/{Interpreter → interpreter}/type.js +0 -0
  650. /package/lib/modules/{Interpreter → interpreter}/utils.d.ts +0 -0
  651. /package/lib/modules/{Interpreter → interpreter}/utils.js +0 -0
  652. /package/lib/modules/{Interpreter → interpreter}/view.d.ts +0 -0
  653. /package/lib/modules/{Interpreter → interpreter}/view.js +0 -0
@@ -1,31 +0,0 @@
1
- import { FcrInterpreterRoomControl } from 'fcr-core/lib/room-control/interpreter-control/types';
2
- import { StoreConfig } from '../type';
3
- export declare class FcrDeviceStreamStore {
4
- protected logger: import("agora-foundation/lib/logger").Logger;
5
- private _roomControl;
6
- private _deviceStore;
7
- private _securityStore;
8
- private _cameraDeviceId;
9
- private _microphoneDeviceId;
10
- private _uiEventStore;
11
- private _interpreterControl;
12
- private get _localUser();
13
- private get _localCameraStream();
14
- private get _localLoopbackStream();
15
- private get _canStartLocalVideo();
16
- private get _canStartLocalAudio();
17
- private _firstGetMicrophonePrivilege;
18
- constructor({ roomControl, securityStore, deviceStore, uiEventStore, }: Omit<StoreConfig, 'deviceStreamStore'>);
19
- checkoutDevicePermission(mediaType: 'camera' | 'microphone'): Promise<boolean>;
20
- enableCameraWithStream(enable: boolean): Promise<void>;
21
- enableMicrophoneWithStream(enable: boolean, confirmAudioShareWhileMicOff?: boolean): Promise<void>;
22
- release(): void;
23
- private _initLocalStream;
24
- private _handleCameraChanged;
25
- private _handleMicrophoneChanged;
26
- private _bindLocalAudioStream;
27
- private _bindLocalVideoStream;
28
- private _handleProcessEvent;
29
- updateStreams(roomControl: FcrInterpreterRoomControl | null, open: boolean): Promise<void>;
30
- _getInterpreterInfo(): import("fcr-core/lib/room-control/interpreter-control/types").FcrInterpreterUserInfo | null | undefined;
31
- }
@@ -1,532 +0,0 @@
1
- "use strict";
2
-
3
- require("core-js/modules/es.symbol.js");
4
- require("core-js/modules/es.symbol.description.js");
5
- require("core-js/modules/es.symbol.to-primitive.js");
6
- require("core-js/modules/es.error.cause.js");
7
- require("core-js/modules/es.error.to-string.js");
8
- require("core-js/modules/es.array.is-array.js");
9
- require("core-js/modules/es.array.iterator.js");
10
- require("core-js/modules/es.array.push.js");
11
- require("core-js/modules/es.date.to-primitive.js");
12
- require("core-js/modules/es.function.bind.js");
13
- require("core-js/modules/es.function.name.js");
14
- require("core-js/modules/es.map.js");
15
- require("core-js/modules/es.number.constructor.js");
16
- require("core-js/modules/es.object.create.js");
17
- require("core-js/modules/es.object.define-property.js");
18
- require("core-js/modules/es.object.get-own-property-descriptor.js");
19
- require("core-js/modules/es.string.iterator.js");
20
- require("core-js/modules/esnext.function.metadata.js");
21
- require("core-js/modules/esnext.map.delete-all.js");
22
- require("core-js/modules/esnext.map.emplace.js");
23
- require("core-js/modules/esnext.map.every.js");
24
- require("core-js/modules/esnext.map.filter.js");
25
- require("core-js/modules/esnext.map.find.js");
26
- require("core-js/modules/esnext.map.find-key.js");
27
- require("core-js/modules/esnext.map.includes.js");
28
- require("core-js/modules/esnext.map.key-of.js");
29
- require("core-js/modules/esnext.map.map-keys.js");
30
- require("core-js/modules/esnext.map.map-values.js");
31
- require("core-js/modules/esnext.map.merge.js");
32
- require("core-js/modules/esnext.map.reduce.js");
33
- require("core-js/modules/esnext.map.some.js");
34
- require("core-js/modules/esnext.map.update.js");
35
- require("core-js/modules/esnext.symbol.metadata.js");
36
- require("core-js/modules/web.dom-collections.iterator.js");
37
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
38
- var _typeof = require("@babel/runtime/helpers/typeof");
39
- Object.defineProperty(exports, "__esModule", {
40
- value: true
41
- });
42
- exports.FcrDeviceStreamStore = void 0;
43
- var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
44
- require("core-js/modules/es.array.find.js");
45
- require("core-js/modules/es.array.map.js");
46
- require("core-js/modules/es.object.keys.js");
47
- require("core-js/modules/es.object.to-string.js");
48
- require("core-js/modules/esnext.async-iterator.find.js");
49
- require("core-js/modules/esnext.async-iterator.map.js");
50
- require("core-js/modules/esnext.iterator.constructor.js");
51
- require("core-js/modules/esnext.iterator.find.js");
52
- require("core-js/modules/esnext.iterator.map.js");
53
- var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
54
- var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
55
- var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
56
- var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
57
- var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
58
- var _fcrCore = require("fcr-core");
59
- var _decorator = require("agora-foundation/lib/decorator");
60
- var _mobx = require("mobx");
61
- var _type = require("agora-rte-sdk/lib/core/scene/type");
62
- var _type2 = require("agora-rte-sdk/lib/core/rtc/type");
63
- var _logger = require("agora-foundation/lib/logger");
64
- var _i18n = require("agora-ui-foundation/lib/i18n");
65
- var _rendererEvent = require("../utilities/renderer-event");
66
- var _constant = require("../utilities/constant");
67
- var _type3 = require("fcr-core/lib/room-control/type");
68
- var _env = require("agora-foundation/lib/utilities/env");
69
- var _FcrDeviceStreamStore;
70
- var _initProto, _checkoutDevicePermissionDecs, _enableCameraWithStreamDecs, _enableMicrophoneWithStreamDecs, _getInterpreterInfoDecs, _ref;
71
- 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)]; } }; }
72
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
73
- 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); }
74
- 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; }
75
- 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; }
76
- _ref = (_checkoutDevicePermissionDecs = [_mobx.action, _mobx.action.bound], _enableCameraWithStreamDecs = [_mobx.action, _mobx.action.bound], _enableMicrophoneWithStreamDecs = [_mobx.action, _mobx.action.bound], _getInterpreterInfoDecs = [_mobx.action, _mobx.action.bound], "logger");
77
- var FcrDeviceStreamStore = exports.FcrDeviceStreamStore = /*#__PURE__*/function () {
78
- function FcrDeviceStreamStore(_ref2) {
79
- var _roomControl$getRoomI,
80
- _this = this;
81
- var roomControl = _ref2.roomControl,
82
- securityStore = _ref2.securityStore,
83
- deviceStore = _ref2.deviceStore,
84
- uiEventStore = _ref2.uiEventStore;
85
- (0, _classCallCheck2["default"])(this, FcrDeviceStreamStore);
86
- (0, _defineProperty2["default"])(this, _ref, (_initProto(this), (0, _logger.getLogger)()));
87
- (0, _defineProperty2["default"])(this, "_cameraDeviceId", '');
88
- (0, _defineProperty2["default"])(this, "_microphoneDeviceId", '');
89
- (0, _defineProperty2["default"])(this, "_interpreterControl", null);
90
- (0, _defineProperty2["default"])(this, "_firstGetMicrophonePrivilege", true);
91
- this._deviceStore = deviceStore;
92
- this._roomControl = roomControl;
93
- this._securityStore = securityStore;
94
- this._uiEventStore = uiEventStore;
95
- if (((_roomControl$getRoomI = roomControl.getRoomInfo()) === null || _roomControl$getRoomI === void 0 ? void 0 : _roomControl$getRoomI.roomType) === _type3.FcrRoomType.Mainroom) {
96
- var interpreterControl = roomControl.getInterpreterControl();
97
- if (interpreterControl) {
98
- this._interpreterControl = interpreterControl;
99
- }
100
- }
101
- this._deviceStore.addObserver({
102
- onCameraChanged: this._handleCameraChanged,
103
- onMicrophoneChanged: this._handleMicrophoneChanged
104
- });
105
- var streamControl = this._roomControl.getStreamControl();
106
- streamControl.addObserver({
107
- onStreamsAdded: function onStreamsAdded(_, e) {
108
- var _e$find;
109
- var localCameraStream = (_e$find = e.find(function (event) {
110
- return event.modifiedStream.owner.userId === _this._localUser.userId && event.modifiedStream.videoSourceType === _type2.AgoraRtcVideoSourceType.CAMERA;
111
- })) === null || _e$find === void 0 ? void 0 : _e$find.modifiedStream;
112
- if (localCameraStream) {
113
- _this._bindLocalAudioStream();
114
- _this._bindLocalVideoStream();
115
- }
116
- },
117
- onStreamsUpdated: function onStreamsUpdated(_, e) {
118
- var localCamera = e.find(function (event) {
119
- return event.modifiedStream.owner.userId === _this._localUser.userId && event.modifiedStream.videoSourceType === _type2.AgoraRtcVideoSourceType.CAMERA;
120
- });
121
- var localCameraStream = localCamera === null || localCamera === void 0 ? void 0 : localCamera.modifiedStream;
122
- if (localCameraStream) {
123
- var _localCamera$operator;
124
- if (localCameraStream.streamType === _type.AgoraRteMediaStreamType.AUDIO || localCameraStream.streamType === _type.AgoraRteMediaStreamType.NONE) {
125
- if (_this._deviceStore.cameraEnabled) {
126
- _this._deviceStore.setCameraEnabled(false);
127
- _this._uiEventStore.showToast({
128
- type: 'error',
129
- message: (0, _i18n.transI18n)('fmt_uimanager_tips_urturnedoff')
130
- });
131
- }
132
- }
133
- if (_this._getInterpreterInfo() && ((_localCamera$operator = localCamera.operatorUser) === null || _localCamera$operator === void 0 ? void 0 : _localCamera$operator.userId) === _this._localUser.userId) {
134
- return;
135
- }
136
- if (localCameraStream.streamType === _type.AgoraRteMediaStreamType.VIDEO || localCameraStream.streamType === _type.AgoraRteMediaStreamType.NONE) {
137
- if (_this._deviceStore.microphoneEnabled) {
138
- _this._deviceStore.setMicrophoneEnabled(false);
139
- _this._uiEventStore.showToast({
140
- type: 'error',
141
- message: (0, _i18n.transI18n)('fmt_uimanager_tips_urmuted')
142
- });
143
- }
144
- }
145
- _this._bindLocalAudioStream();
146
- _this._bindLocalVideoStream();
147
- }
148
- }
149
- });
150
- var _this$_deviceStore$cu = this._deviceStore.currentDeviceId,
151
- cameraDeviceId = _this$_deviceStore$cu.cameraDeviceId,
152
- microphoneDeviceId = _this$_deviceStore$cu.microphoneDeviceId;
153
- this._cameraDeviceId = cameraDeviceId;
154
- this._microphoneDeviceId = microphoneDeviceId;
155
- this._initLocalStream();
156
- (0, _rendererEvent.addEventListener)(this._handleProcessEvent);
157
- }
158
- return (0, _createClass2["default"])(FcrDeviceStreamStore, [{
159
- key: "_localUser",
160
- get: function get() {
161
- return this._roomControl.getUserControl().getLocalUser();
162
- }
163
- }, {
164
- key: "_localCameraStream",
165
- get: function get() {
166
- var localStreams = this._roomControl.getStreamControl().getStreamsByUserId(this._localUser.userId);
167
- return localStreams.find(function (stream) {
168
- return stream.videoSourceType === _type2.AgoraRtcVideoSourceType.CAMERA;
169
- });
170
- }
171
- }, {
172
- key: "_localLoopbackStream",
173
- get: function get() {
174
- var localStreams = this._roomControl.getStreamControl().getStreamsByUserId(this._localUser.userId);
175
- return localStreams.find(function (stream) {
176
- return stream.audioSourceType === _type2.AgoraRtcAudioSourceType.LOOPBACK;
177
- });
178
- }
179
- }, {
180
- key: "_canStartLocalVideo",
181
- get: function get() {
182
- return this._securityStore.hasStartVideoPermission(_fcrCore.FcrPrivilegeUserRole.SELF);
183
- }
184
- }, {
185
- key: "_canStartLocalAudio",
186
- get: function get() {
187
- return this._securityStore.hasUnmutePermission(_fcrCore.FcrPrivilegeUserRole.SELF);
188
- }
189
- }, {
190
- key: "checkoutDevicePermission",
191
- value: function () {
192
- var _checkoutDevicePermission = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee(mediaType) {
193
- var hasSystemPermission;
194
- return _regenerator["default"].wrap(function _callee$(_context) {
195
- while (1) switch (_context.prev = _context.next) {
196
- case 0:
197
- hasSystemPermission = true;
198
- if (!(0, _env.isElectron)()) {
199
- _context.next = 5;
200
- break;
201
- }
202
- _context.next = 4;
203
- return window.runtime.checkMediaPermission(mediaType);
204
- case 4:
205
- hasSystemPermission = _context.sent;
206
- case 5:
207
- if (!hasSystemPermission) {
208
- this._uiEventStore.openDialog(_constant.DialogKey.SYSTEM_PREFERENCE, '', mediaType);
209
- }
210
- return _context.abrupt("return", hasSystemPermission);
211
- case 7:
212
- case "end":
213
- return _context.stop();
214
- }
215
- }, _callee, this);
216
- }));
217
- function checkoutDevicePermission(_x) {
218
- return _checkoutDevicePermission.apply(this, arguments);
219
- }
220
- return checkoutDevicePermission;
221
- }()
222
- }, {
223
- key: "enableCameraWithStream",
224
- value: function () {
225
- var _enableCameraWithStream = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee2(enable) {
226
- var _this$_roomControl$ge;
227
- var hasVideoPublishPrivilege, hasNoSecurityPermission, isMainRoom, hasDeivcePermission;
228
- return _regenerator["default"].wrap(function _callee2$(_context2) {
229
- while (1) switch (_context2.prev = _context2.next) {
230
- case 0:
231
- if (this._deviceStore.cameraId) {
232
- _context2.next = 2;
233
- break;
234
- }
235
- return _context2.abrupt("return");
236
- case 2:
237
- hasVideoPublishPrivilege = this._localCameraStream && (this._localCameraStream.streamType === _fcrCore.FcrStreamType.BOTH || this._localCameraStream.streamType === _fcrCore.FcrStreamType.VIDEO);
238
- hasNoSecurityPermission = !this._canStartLocalVideo;
239
- isMainRoom = ((_this$_roomControl$ge = this._roomControl.getRoomInfo()) === null || _this$_roomControl$ge === void 0 ? void 0 : _this$_roomControl$ge.roomType) === _type3.FcrRoomType.Mainroom;
240
- if (!(hasNoSecurityPermission && isMainRoom && enable)) {
241
- _context2.next = 11;
242
- break;
243
- }
244
- this._uiEventStore.showToast({
245
- type: 'warn',
246
- message: (0, _i18n.transI18n)('fmt_uimanager_tips_norightsvideo')
247
- });
248
- if (!hasVideoPublishPrivilege) {
249
- _context2.next = 10;
250
- break;
251
- }
252
- _context2.next = 10;
253
- return this._roomControl.getStreamControl().updatePublishPrivilegeOfStreams((0, _defineProperty2["default"])({}, this._localCameraStream.streamId, {
254
- videoPrivilege: _fcrCore.FcrStreamPrivilegeOperation.NOPRIVILEGE,
255
- audioPrivilege: _fcrCore.FcrStreamPrivilegeOperation.NOOPERATION
256
- }));
257
- case 10:
258
- return _context2.abrupt("return");
259
- case 11:
260
- if (!(this._localCameraStream && enable && isMainRoom)) {
261
- _context2.next = 15;
262
- break;
263
- }
264
- if (hasVideoPublishPrivilege) {
265
- _context2.next = 15;
266
- break;
267
- }
268
- _context2.next = 15;
269
- return this._roomControl.getStreamControl().updatePublishPrivilegeOfStreams((0, _defineProperty2["default"])({}, this._localCameraStream.streamId, {
270
- videoPrivilege: _fcrCore.FcrStreamPrivilegeOperation.HAS_PRIVILEGE,
271
- audioPrivilege: _fcrCore.FcrStreamPrivilegeOperation.NOOPERATION
272
- }));
273
- case 15:
274
- _context2.next = 17;
275
- return this.checkoutDevicePermission('camera');
276
- case 17:
277
- hasDeivcePermission = _context2.sent;
278
- if (hasDeivcePermission) {
279
- this._deviceStore.setCameraEnabled(enable);
280
- }
281
- case 19:
282
- case "end":
283
- return _context2.stop();
284
- }
285
- }, _callee2, this);
286
- }));
287
- function enableCameraWithStream(_x2) {
288
- return _enableCameraWithStream.apply(this, arguments);
289
- }
290
- return enableCameraWithStream;
291
- }()
292
- }, {
293
- key: "enableMicrophoneWithStream",
294
- value: function () {
295
- var _enableMicrophoneWithStream = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee3(enable) {
296
- var _this$_roomControl$ge4;
297
- var confirmAudioShareWhileMicOff,
298
- hasAudioPublishPrivilege,
299
- hasNoSecurityPermission,
300
- isMainRoom,
301
- hasDeivcePermission,
302
- _args3 = arguments;
303
- return _regenerator["default"].wrap(function _callee3$(_context3) {
304
- while (1) switch (_context3.prev = _context3.next) {
305
- case 0:
306
- confirmAudioShareWhileMicOff = _args3.length > 1 && _args3[1] !== undefined ? _args3[1] : false;
307
- // const dialogKey =
308
- // !enable &&
309
- // confirmAudioShareWhileMicOff &&
310
- // this._uiEventStore.openConfirmDialog({
311
- // title: transI18n('fmt_screenshare_tips_share_audio_micon'),
312
- // content: transI18n('fmt_screenshare_tips_share_audio_turnonmic'),
313
- // onOk: () => {
314
- // this._setMicrophoneEnabled(true);
315
- // dialogKey && this._uiEventStore.closeDialog(dialogKey);
316
- // },
317
- // onCancel: () => {
318
- // this._setMicrophoneEnabled(false);
319
- // sendEvent({
320
- // action: RendererEventAction.SET_SHARE_WITH_AUDIO_CONTROL_BAR,
321
- // payload: { withAudio: false },
322
- // });
323
- // dialogKey && this._uiEventStore.closeDialog(dialogKey);
324
- // },
325
- // okText: transI18n('fmt_screenshare_button_confirm_shareaudio'),
326
- // cancelText: transI18n('fmt_screenshare_button_giveup_shareaudio'),
327
- // });
328
- // if (!this._deviceStore.microphoneId || dialogKey) return;
329
- hasAudioPublishPrivilege = this._localCameraStream && (this._localCameraStream.streamType === _fcrCore.FcrStreamType.BOTH || this._localCameraStream.streamType === _fcrCore.FcrStreamType.AUDIO);
330
- hasNoSecurityPermission = !this._canStartLocalAudio;
331
- isMainRoom = ((_this$_roomControl$ge4 = this._roomControl.getRoomInfo()) === null || _this$_roomControl$ge4 === void 0 ? void 0 : _this$_roomControl$ge4.roomType) === _type3.FcrRoomType.Mainroom;
332
- if (!this._firstGetMicrophonePrivilege) {
333
- _context3.next = 9;
334
- break;
335
- }
336
- this._firstGetMicrophonePrivilege = false;
337
- if (hasAudioPublishPrivilege) {
338
- this._deviceStore.setMicrophoneEnabled(enable);
339
- }
340
- _context3.next = 25;
341
- break;
342
- case 9:
343
- if (!(enable && hasNoSecurityPermission && isMainRoom && !this._getInterpreterInfo())) {
344
- _context3.next = 15;
345
- break;
346
- }
347
- this._uiEventStore.showToast({
348
- type: 'warn',
349
- message: (0, _i18n.transI18n)('fmt_uimanager_tips_norightsaudio')
350
- });
351
- if (!hasAudioPublishPrivilege) {
352
- _context3.next = 14;
353
- break;
354
- }
355
- _context3.next = 14;
356
- return this._roomControl.getStreamControl().updatePublishPrivilegeOfStreams((0, _defineProperty2["default"])({}, this._localCameraStream.streamId, {
357
- videoPrivilege: _fcrCore.FcrStreamPrivilegeOperation.NOOPERATION,
358
- audioPrivilege: _fcrCore.FcrStreamPrivilegeOperation.NOPRIVILEGE
359
- }));
360
- case 14:
361
- return _context3.abrupt("return");
362
- case 15:
363
- if (!(isMainRoom && this._localCameraStream)) {
364
- _context3.next = 21;
365
- break;
366
- }
367
- if (hasAudioPublishPrivilege) {
368
- _context3.next = 21;
369
- break;
370
- }
371
- if (!enable) {
372
- _context3.next = 21;
373
- break;
374
- }
375
- if (this._getInterpreterInfo()) {
376
- _context3.next = 21;
377
- break;
378
- }
379
- _context3.next = 21;
380
- return this._roomControl.getStreamControl().updatePublishPrivilegeOfStreams((0, _defineProperty2["default"])({}, this._localCameraStream.streamId, {
381
- videoPrivilege: _fcrCore.FcrStreamPrivilegeOperation.NOOPERATION,
382
- audioPrivilege: _fcrCore.FcrStreamPrivilegeOperation.HAS_PRIVILEGE
383
- }));
384
- case 21:
385
- _context3.next = 23;
386
- return this.checkoutDevicePermission('microphone');
387
- case 23:
388
- hasDeivcePermission = _context3.sent;
389
- if (hasDeivcePermission) {
390
- this._deviceStore.setMicrophoneEnabled(enable);
391
- }
392
- case 25:
393
- case "end":
394
- return _context3.stop();
395
- }
396
- }, _callee3, this);
397
- }));
398
- function enableMicrophoneWithStream(_x3) {
399
- return _enableMicrophoneWithStream.apply(this, arguments);
400
- }
401
- return enableMicrophoneWithStream;
402
- }()
403
- }, {
404
- key: "release",
405
- value: function release() {
406
- (0, _rendererEvent.removeEventListener)(this._handleProcessEvent);
407
- }
408
- }, {
409
- key: "_initLocalStream",
410
- value: function _initLocalStream() {
411
- if (this._localCameraStream) {
412
- this._bindLocalVideoStream();
413
- this._bindLocalAudioStream();
414
- }
415
- }
416
- }, {
417
- key: "_handleCameraChanged",
418
- value: function _handleCameraChanged(cameraDeviceId) {
419
- this._cameraDeviceId = cameraDeviceId;
420
- this._bindLocalVideoStream();
421
- }
422
- }, {
423
- key: "_handleMicrophoneChanged",
424
- value: function _handleMicrophoneChanged(microphoneDeviceId) {
425
- this._microphoneDeviceId = microphoneDeviceId;
426
- this._bindLocalAudioStream();
427
- }
428
- }, {
429
- key: "_bindLocalAudioStream",
430
- value: function _bindLocalAudioStream() {
431
- var streamControl = this._roomControl.getStreamControl();
432
- var localCameraStream = this._localCameraStream;
433
- if (localCameraStream && this._microphoneDeviceId && localCameraStream.audioSourceId !== this._microphoneDeviceId) {
434
- streamControl.bindLocalStreams([{
435
- streamId: localCameraStream.streamId,
436
- audioSourceId: this._microphoneDeviceId
437
- }]);
438
- }
439
- }
440
- }, {
441
- key: "_bindLocalVideoStream",
442
- value: function _bindLocalVideoStream() {
443
- var streamControl = this._roomControl.getStreamControl();
444
- var localCameraStream = this._localCameraStream;
445
- if (localCameraStream && this._cameraDeviceId && localCameraStream.videoSourceId !== this._cameraDeviceId) {
446
- streamControl.bindLocalStreams([{
447
- streamId: localCameraStream.streamId,
448
- videoSourceId: this._deviceStore.cameraId
449
- }]);
450
- }
451
- }
452
- }, {
453
- key: "_handleProcessEvent",
454
- value: function _handleProcessEvent(event) {
455
- switch (event.action) {
456
- case _constant.RendererEventAction.POWER_MONITOR_LOCK_SCREEN:
457
- if (this._deviceStore.cameraEnabled) {
458
- this.enableCameraWithStream(false);
459
- }
460
- if (this._deviceStore.microphoneEnabled) {
461
- this.enableMicrophoneWithStream(false);
462
- }
463
- this.logger.info('close camera and microphone due to lock screen');
464
- break;
465
- }
466
- }
467
-
468
- // 控制翻译房间输出流权限
469
- }, {
470
- key: "updateStreams",
471
- value: function () {
472
- var _updateStreams = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee4(roomControl, open) {
473
- var streamControl, streamMap, streamList, stream;
474
- return _regenerator["default"].wrap(function _callee4$(_context4) {
475
- while (1) switch (_context4.prev = _context4.next) {
476
- case 0:
477
- if (!roomControl) {
478
- _context4.next = 9;
479
- break;
480
- }
481
- streamControl = roomControl.getStreamControl();
482
- streamMap = streamControl.getStreams();
483
- streamList = Object.keys(streamMap).map(function (key) {
484
- return streamMap[key];
485
- });
486
- if (!(streamList.length > 0)) {
487
- _context4.next = 9;
488
- break;
489
- }
490
- stream = streamList[0][0];
491
- _context4.next = 8;
492
- return streamControl.updatePublishPrivilegeOfStreams((0, _defineProperty2["default"])({}, stream.streamId, {
493
- videoPrivilege: _fcrCore.FcrStreamPrivilegeOperation.NOOPERATION,
494
- audioPrivilege: open ? _fcrCore.FcrStreamPrivilegeOperation.HAS_PRIVILEGE : _fcrCore.FcrStreamPrivilegeOperation.NOPRIVILEGE
495
- }));
496
- case 8:
497
- this.logger.info("interpreterLog- ".concat(open ? 'ON' : 'OFF', " interpreterRoom input streams"), stream.streamId);
498
- case 9:
499
- case "end":
500
- return _context4.stop();
501
- }
502
- }, _callee4, this);
503
- }));
504
- function updateStreams(_x4, _x5) {
505
- return _updateStreams.apply(this, arguments);
506
- }
507
- return updateStreams;
508
- }()
509
- }, {
510
- key: "_getInterpreterInfo",
511
- value: function
512
- // 获取本地用户关联的翻译官信息
513
- _getInterpreterInfo() {
514
- var _this2 = this;
515
- if (this._interpreterControl) {
516
- var interpreterUsers = this._interpreterControl.getInterpreterUserList(); //翻译官列表
517
- if (interpreterUsers) {
518
- var interpreter = interpreterUsers.find(function (ele) {
519
- return ele.userId === _this2._localUser.userId;
520
- }); //本地用户关联的翻译官信息
521
- return interpreter;
522
- }
523
- }
524
- return null;
525
- }
526
- }]);
527
- }();
528
- _FcrDeviceStreamStore = FcrDeviceStreamStore;
529
- var _applyDecs$e = _applyDecs(_FcrDeviceStreamStore, [[_checkoutDevicePermissionDecs, 18, "checkoutDevicePermission"], [_enableCameraWithStreamDecs, 18, "enableCameraWithStream"], [_enableMicrophoneWithStreamDecs, 18, "enableMicrophoneWithStream"], [_decorator.bound, 2, "_handleCameraChanged"], [_decorator.bound, 2, "_handleMicrophoneChanged"], [_decorator.bound, 2, "_bindLocalAudioStream"], [_decorator.bound, 2, "_bindLocalVideoStream"], [_decorator.bound, 2, "_handleProcessEvent"], [_decorator.bound, 2, "updateStreams"], [_getInterpreterInfoDecs, 18, "_getInterpreterInfo"]], []).e;
530
- var _applyDecs$e2 = (0, _slicedToArray2["default"])(_applyDecs$e, 1);
531
- _initProto = _applyDecs$e2[0];
532
- _applyDecs$e;