fcr-ui-scene-mobile 3.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (281) hide show
  1. package/lib/assets/ground_glass_bg.png +0 -0
  2. package/lib/base.d.ts +11 -0
  3. package/lib/base.js +39 -0
  4. package/lib/common/device-store.d.ts +86 -0
  5. package/lib/common/device-store.js +642 -0
  6. package/lib/common/device-stream-store.d.ts +26 -0
  7. package/lib/common/device-stream-store.js +298 -0
  8. package/lib/common/event-store.d.ts +124 -0
  9. package/lib/common/event-store.js +249 -0
  10. package/lib/common/global-context.d.ts +11 -0
  11. package/lib/common/global-context.js +9 -0
  12. package/lib/common/member-list-data-source.d.ts +28 -0
  13. package/lib/common/member-list-data-source.js +305 -0
  14. package/lib/common/participant-store.d.ts +195 -0
  15. package/lib/common/participant-store.js +1577 -0
  16. package/lib/common/security-store.d.ts +119 -0
  17. package/lib/common/security-store.js +948 -0
  18. package/lib/common/setting-store.d.ts +181 -0
  19. package/lib/common/setting-store.js +797 -0
  20. package/lib/common/type.d.ts +73 -0
  21. package/lib/common/type.js +22 -0
  22. package/lib/config/default-config.d.ts +32 -0
  23. package/lib/config/default-config.js +39 -0
  24. package/lib/config/setting-config.d.ts +16 -0
  25. package/lib/config/setting-config.js +17 -0
  26. package/lib/creator.d.ts +10 -0
  27. package/lib/creator.js +49 -0
  28. package/lib/global.d.ts +8 -0
  29. package/lib/hooks/meeting-time.d.ts +15 -0
  30. package/lib/hooks/meeting-time.js +92 -0
  31. package/lib/hooks/useIsNodePresent.d.ts +4 -0
  32. package/lib/hooks/useIsNodePresent.js +53 -0
  33. package/lib/hooks/useOnRefMount.d.ts +2 -0
  34. package/lib/hooks/useOnRefMount.js +27 -0
  35. package/lib/index.d.ts +6 -0
  36. package/lib/index.js +50 -0
  37. package/lib/mobile-global.css +28 -0
  38. package/lib/modules/action-bar/bottom-icons.d.ts +17 -0
  39. package/lib/modules/action-bar/bottom-icons.js +160 -0
  40. package/lib/modules/action-bar/context.d.ts +2 -0
  41. package/lib/modules/action-bar/context.js +9 -0
  42. package/lib/modules/action-bar/index.css +33 -0
  43. package/lib/modules/action-bar/index.d.ts +27 -0
  44. package/lib/modules/action-bar/index.js +46 -0
  45. package/lib/modules/action-bar/member-list-popup/attendee/index.css +130 -0
  46. package/lib/modules/action-bar/member-list-popup/attendee/index.d.ts +19 -0
  47. package/lib/modules/action-bar/member-list-popup/attendee/index.js +252 -0
  48. package/lib/modules/action-bar/member-list-popup/attendee/list.d.ts +1 -0
  49. package/lib/modules/action-bar/member-list-popup/attendee/list.js +82 -0
  50. package/lib/modules/action-bar/member-list-popup/index.css +35 -0
  51. package/lib/modules/action-bar/member-list-popup/index.d.ts +7 -0
  52. package/lib/modules/action-bar/member-list-popup/index.js +40 -0
  53. package/lib/modules/action-bar/member-list-popup/participant-more-actions/index.css +0 -0
  54. package/lib/modules/action-bar/member-list-popup/participant-more-actions/index.d.ts +12 -0
  55. package/lib/modules/action-bar/member-list-popup/participant-more-actions/index.js +58 -0
  56. package/lib/modules/action-bar/more-popup/index.css +71 -0
  57. package/lib/modules/action-bar/more-popup/index.d.ts +2 -0
  58. package/lib/modules/action-bar/more-popup/index.js +126 -0
  59. package/lib/modules/action-bar/store.d.ts +196 -0
  60. package/lib/modules/action-bar/store.js +1425 -0
  61. package/lib/modules/action-bar/type.d.ts +6 -0
  62. package/lib/modules/action-bar/type.js +13 -0
  63. package/lib/modules/action-bar/view.d.ts +2 -0
  64. package/lib/modules/action-bar/view.js +75 -0
  65. package/lib/modules/audio-stream/ index.d.ts +19 -0
  66. package/lib/modules/audio-stream/ index.js +109 -0
  67. package/lib/modules/audio-stream/index.d.ts +25 -0
  68. package/lib/modules/audio-stream/index.js +135 -0
  69. package/lib/modules/chat/chat-bar/index.css +97 -0
  70. package/lib/modules/chat/chat-bar/index.d.ts +12 -0
  71. package/lib/modules/chat/chat-bar/index.js +129 -0
  72. package/lib/modules/chat/chat-notification/index.css +71 -0
  73. package/lib/modules/chat/chat-notification/index.d.ts +3 -0
  74. package/lib/modules/chat/chat-notification/index.js +75 -0
  75. package/lib/modules/chat/chat-select/index.css +183 -0
  76. package/lib/modules/chat/chat-select/index.d.ts +12 -0
  77. package/lib/modules/chat/chat-select/index.js +223 -0
  78. package/lib/modules/chat/contex.d.ts +2 -0
  79. package/lib/modules/chat/contex.js +9 -0
  80. package/lib/modules/chat/demo-wrapper.d.ts +1 -0
  81. package/lib/modules/chat/demo-wrapper.js +42 -0
  82. package/lib/modules/chat/index.css +108 -0
  83. package/lib/modules/chat/index.d.ts +28 -0
  84. package/lib/modules/chat/index.dev.d.ts +1 -0
  85. package/lib/modules/chat/index.dev.js +58 -0
  86. package/lib/modules/chat/index.js +208 -0
  87. package/lib/modules/chat/message-list.d.ts +22 -0
  88. package/lib/modules/chat/message-list.js +617 -0
  89. package/lib/modules/chat/mock.d.ts +2 -0
  90. package/lib/modules/chat/mock.js +283 -0
  91. package/lib/modules/chat/store.d.ts +183 -0
  92. package/lib/modules/chat/store.js +1101 -0
  93. package/lib/modules/chat/util.d.ts +6 -0
  94. package/lib/modules/chat/util.js +69 -0
  95. package/lib/modules/chat/view.d.ts +11 -0
  96. package/lib/modules/chat/view.js +414 -0
  97. package/lib/modules/layout/bottom-drawer/index.css +34 -0
  98. package/lib/modules/layout/bottom-drawer/index.d.ts +3 -0
  99. package/lib/modules/layout/bottom-drawer/index.js +129 -0
  100. package/lib/modules/layout/components/Layout.d.ts +1 -0
  101. package/lib/modules/layout/components/Layout.js +98 -0
  102. package/lib/modules/layout/components/equip-request-popup/index.css +30 -0
  103. package/lib/modules/layout/components/equip-request-popup/index.d.ts +3 -0
  104. package/lib/modules/layout/components/equip-request-popup/index.js +78 -0
  105. package/lib/modules/layout/components/index.css +78 -0
  106. package/lib/modules/layout/components/index.d.ts +2 -0
  107. package/lib/modules/layout/components/index.js +25 -0
  108. package/lib/modules/layout/context.d.ts +2 -0
  109. package/lib/modules/layout/context.js +9 -0
  110. package/lib/modules/layout/drawer-header/index.css +27 -0
  111. package/lib/modules/layout/drawer-header/index.d.ts +10 -0
  112. package/lib/modules/layout/drawer-header/index.js +54 -0
  113. package/lib/modules/layout/index.css +22 -0
  114. package/lib/modules/layout/index.d.ts +8 -0
  115. package/lib/modules/layout/index.js +47 -0
  116. package/lib/modules/layout/store.d.ts +59 -0
  117. package/lib/modules/layout/store.js +379 -0
  118. package/lib/modules/layout/type.d.ts +65 -0
  119. package/lib/modules/layout/type.js +52 -0
  120. package/lib/modules/layout/view.d.ts +2 -0
  121. package/lib/modules/layout/view.js +10 -0
  122. package/lib/modules/member-layout/context.d.ts +2 -0
  123. package/lib/modules/member-layout/context.js +9 -0
  124. package/lib/modules/member-layout/data.d.ts +2 -0
  125. package/lib/modules/member-layout/data.js +304 -0
  126. package/lib/modules/member-layout/grid/index.css +98 -0
  127. package/lib/modules/member-layout/grid/index.d.ts +21 -0
  128. package/lib/modules/member-layout/grid/index.js +316 -0
  129. package/lib/modules/member-layout/index.css +88 -0
  130. package/lib/modules/member-layout/index.d.ts +8 -0
  131. package/lib/modules/member-layout/index.js +45 -0
  132. package/lib/modules/member-layout/share-toast/index.css +30 -0
  133. package/lib/modules/member-layout/share-toast/index.d.ts +5 -0
  134. package/lib/modules/member-layout/share-toast/index.js +43 -0
  135. package/lib/modules/member-layout/speaker/index.css +30 -0
  136. package/lib/modules/member-layout/speaker/index.d.ts +9 -0
  137. package/lib/modules/member-layout/speaker/index.js +28 -0
  138. package/lib/modules/member-layout/store.d.ts +70 -0
  139. package/lib/modules/member-layout/store.js +479 -0
  140. package/lib/modules/member-layout/user/index.css +121 -0
  141. package/lib/modules/member-layout/user/index.d.ts +34 -0
  142. package/lib/modules/member-layout/user/index.js +355 -0
  143. package/lib/modules/member-layout/user/types.d.ts +16 -0
  144. package/lib/modules/member-layout/user/types.js +6 -0
  145. package/lib/modules/member-layout/view.d.ts +2 -0
  146. package/lib/modules/member-layout/view.js +225 -0
  147. package/lib/modules/state-bar/context.d.ts +2 -0
  148. package/lib/modules/state-bar/context.js +9 -0
  149. package/lib/modules/state-bar/index.css +79 -0
  150. package/lib/modules/state-bar/index.d.ts +17 -0
  151. package/lib/modules/state-bar/index.js +55 -0
  152. package/lib/modules/state-bar/leaving-room/index.css +14 -0
  153. package/lib/modules/state-bar/leaving-room/index.d.ts +7 -0
  154. package/lib/modules/state-bar/leaving-room/index.js +38 -0
  155. package/lib/modules/state-bar/meeting-detail/index.css +72 -0
  156. package/lib/modules/state-bar/meeting-detail/index.d.ts +2 -0
  157. package/lib/modules/state-bar/meeting-detail/index.js +59 -0
  158. package/lib/modules/state-bar/meeting-detail/meeting-info/copy.d.ts +4 -0
  159. package/lib/modules/state-bar/meeting-detail/meeting-info/copy.js +81 -0
  160. package/lib/modules/state-bar/meeting-detail/meeting-info/index.css +92 -0
  161. package/lib/modules/state-bar/meeting-detail/meeting-info/index.d.ts +2 -0
  162. package/lib/modules/state-bar/meeting-detail/meeting-info/index.js +188 -0
  163. package/lib/modules/state-bar/meeting-detail/net-quality/index.css +27 -0
  164. package/lib/modules/state-bar/meeting-detail/net-quality/index.d.ts +2 -0
  165. package/lib/modules/state-bar/meeting-detail/net-quality/index.js +87 -0
  166. package/lib/modules/state-bar/store.d.ts +76 -0
  167. package/lib/modules/state-bar/store.js +561 -0
  168. package/lib/modules/state-bar/view.d.ts +7 -0
  169. package/lib/modules/state-bar/view.js +215 -0
  170. package/lib/modules/whiteboard/app.d.ts +2 -0
  171. package/lib/modules/whiteboard/app.js +41 -0
  172. package/lib/modules/whiteboard/components/control-bar/index.css +53 -0
  173. package/lib/modules/whiteboard/components/control-bar/index.d.ts +2 -0
  174. package/lib/modules/whiteboard/components/control-bar/index.js +156 -0
  175. package/lib/modules/whiteboard/components/control-bar/store.d.ts +35 -0
  176. package/lib/modules/whiteboard/components/control-bar/store.js +288 -0
  177. package/lib/modules/whiteboard/components/loading/index.css +76 -0
  178. package/lib/modules/whiteboard/components/loading/index.d.ts +2 -0
  179. package/lib/modules/whiteboard/components/loading/index.js +68 -0
  180. package/lib/modules/whiteboard/components/loading/loading.png +0 -0
  181. package/lib/modules/whiteboard/components/multi-window/index.css +65 -0
  182. package/lib/modules/whiteboard/components/multi-window/index.d.ts +5 -0
  183. package/lib/modules/whiteboard/components/multi-window/index.js +39 -0
  184. package/lib/modules/whiteboard/components/pagination/index.css +228 -0
  185. package/lib/modules/whiteboard/components/pagination/index.d.ts +15 -0
  186. package/lib/modules/whiteboard/components/pagination/index.js +163 -0
  187. package/lib/modules/whiteboard/components/pagination/store.d.ts +18 -0
  188. package/lib/modules/whiteboard/components/pagination/store.js +17 -0
  189. package/lib/modules/whiteboard/components/progress/index.d.ts +5 -0
  190. package/lib/modules/whiteboard/components/progress/index.js +43 -0
  191. package/lib/modules/whiteboard/components/progress/style.css +52 -0
  192. package/lib/modules/whiteboard/components/scene-pagination.d.ts +1 -0
  193. package/lib/modules/whiteboard/components/scene-pagination.js +30 -0
  194. package/lib/modules/whiteboard/components/switch-theme/index.css +98 -0
  195. package/lib/modules/whiteboard/components/switch-theme/index.d.ts +3 -0
  196. package/lib/modules/whiteboard/components/switch-theme/index.js +89 -0
  197. package/lib/modules/whiteboard/components/switch-theme/item.d.ts +9 -0
  198. package/lib/modules/whiteboard/components/switch-theme/item.js +53 -0
  199. package/lib/modules/whiteboard/components/switch-theme/libs.d.ts +4 -0
  200. package/lib/modules/whiteboard/components/switch-theme/libs.js +29 -0
  201. package/lib/modules/whiteboard/components/toolbar/ style.css +588 -0
  202. package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/color.d.ts +5 -0
  203. package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/color.js +38 -0
  204. package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/panel.d.ts +1 -0
  205. package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/panel.js +107 -0
  206. package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/picker.d.ts +1 -0
  207. package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/picker.js +59 -0
  208. package/lib/modules/whiteboard/components/toolbar/components/color-picker/index.d.ts +2 -0
  209. package/lib/modules/whiteboard/components/toolbar/components/color-picker/index.js +44 -0
  210. package/lib/modules/whiteboard/components/toolbar/components/eraser-picker.d.ts +4 -0
  211. package/lib/modules/whiteboard/components/toolbar/components/eraser-picker.js +89 -0
  212. package/lib/modules/whiteboard/components/toolbar/components/extra-tool-picker.d.ts +1 -0
  213. package/lib/modules/whiteboard/components/toolbar/components/extra-tool-picker.js +63 -0
  214. package/lib/modules/whiteboard/components/toolbar/components/history.d.ts +2 -0
  215. package/lib/modules/whiteboard/components/toolbar/components/history.js +46 -0
  216. package/lib/modules/whiteboard/components/toolbar/components/icons/fold-icon.d.ts +2 -0
  217. package/lib/modules/whiteboard/components/toolbar/components/icons/fold-icon.js +39 -0
  218. package/lib/modules/whiteboard/components/toolbar/components/icons/move-icon.d.ts +1 -0
  219. package/lib/modules/whiteboard/components/toolbar/components/icons/move-icon.js +66 -0
  220. package/lib/modules/whiteboard/components/toolbar/components/move-handle.d.ts +5 -0
  221. package/lib/modules/whiteboard/components/toolbar/components/move-handle.js +134 -0
  222. package/lib/modules/whiteboard/components/toolbar/components/pen-picker.d.ts +4 -0
  223. package/lib/modules/whiteboard/components/toolbar/components/pen-picker.js +106 -0
  224. package/lib/modules/whiteboard/components/toolbar/components/shape-picker.d.ts +4 -0
  225. package/lib/modules/whiteboard/components/toolbar/components/shape-picker.js +168 -0
  226. package/lib/modules/whiteboard/components/toolbar/hooks/index.d.ts +14 -0
  227. package/lib/modules/whiteboard/components/toolbar/hooks/index.js +211 -0
  228. package/lib/modules/whiteboard/components/toolbar/index.d.ts +2 -0
  229. package/lib/modules/whiteboard/components/toolbar/index.js +183 -0
  230. package/lib/modules/whiteboard/components/toolbar/store.d.ts +51 -0
  231. package/lib/modules/whiteboard/components/toolbar/store.js +248 -0
  232. package/lib/modules/whiteboard/context.d.ts +69 -0
  233. package/lib/modules/whiteboard/context.js +36 -0
  234. package/lib/modules/whiteboard/index.d.ts +119 -0
  235. package/lib/modules/whiteboard/index.js +1134 -0
  236. package/lib/modules/whiteboard/style.css +143 -0
  237. package/lib/modules/whiteboard/type.d.ts +94 -0
  238. package/lib/modules/whiteboard/type.js +89 -0
  239. package/lib/modules/whiteboard/utils.d.ts +12 -0
  240. package/lib/modules/whiteboard/utils.js +36 -0
  241. package/lib/plugins/css-preset-plugin.d.ts +1 -0
  242. package/lib/plugins/css-preset-plugin.js +29 -0
  243. package/lib/plugins/module-dev-plugin.d.ts +12 -0
  244. package/lib/plugins/module-dev-plugin.js +183 -0
  245. package/lib/plugins/multi-lang-plugin.d.ts +1 -0
  246. package/lib/plugins/multi-lang-plugin.js +19 -0
  247. package/lib/plugins/rtm-plugin.d.ts +1 -0
  248. package/lib/plugins/rtm-plugin.js +5 -0
  249. package/lib/plugins/web-rtc-plugin.d.ts +1 -0
  250. package/lib/plugins/web-rtc-plugin.js +5 -0
  251. package/lib/translations/enUS.d.ts +1855 -0
  252. package/lib/translations/enUS.js +1895 -0
  253. package/lib/translations/zhCN.d.ts +1852 -0
  254. package/lib/translations/zhCN.js +1892 -0
  255. package/lib/type.d.ts +121 -0
  256. package/lib/type.js +46 -0
  257. package/lib/ui-manager.d.ts +32 -0
  258. package/lib/ui-manager.js +426 -0
  259. package/lib/ui-scene.d.ts +14 -0
  260. package/lib/ui-scene.js +141 -0
  261. package/lib/utilities/board-context.d.ts +4 -0
  262. package/lib/utilities/board-context.js +12 -0
  263. package/lib/utilities/constant.d.ts +286 -0
  264. package/lib/utilities/constant.js +271 -0
  265. package/lib/utilities/copyText.d.ts +2 -0
  266. package/lib/utilities/copyText.js +43 -0
  267. package/lib/utilities/extract.d.ts +5 -0
  268. package/lib/utilities/extract.js +117 -0
  269. package/lib/utilities/hooks.d.ts +14 -0
  270. package/lib/utilities/hooks.js +101 -0
  271. package/lib/utilities/mute-action.d.ts +4 -0
  272. package/lib/utilities/mute-action.js +48 -0
  273. package/lib/utilities/parameters.d.ts +7 -0
  274. package/lib/utilities/parameters.js +20 -0
  275. package/lib/utilities/regex.d.ts +1 -0
  276. package/lib/utilities/regex.js +14 -0
  277. package/lib/utilities/tools.d.ts +27 -0
  278. package/lib/utilities/tools.js +169 -0
  279. package/lib/utilities/useNamespace.d.ts +15 -0
  280. package/lib/utilities/useNamespace.js +66 -0
  281. package/package.json +63 -0
@@ -0,0 +1,271 @@
1
+ "use strict";
2
+
3
+ require("core-js/modules/es.object.define-property.js");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.VideoWindowPinType = exports.UIAction = exports.RoomType = exports.RoomControlType = exports.RendererEventAction = exports.ParticipantType = exports.HighlightElement = exports.DialogKey = void 0;
8
+ var RendererEventAction = exports.RendererEventAction = /*#__PURE__*/function (RendererEventAction) {
9
+ RendererEventAction["FRAGMENT_LOADED"] = "FRAGMENT_LOADED";
10
+ RendererEventAction["FRAGMENT_CLOSED"] = "FRAGMENT_CLOSED";
11
+ RendererEventAction["START_SHARE_SCREEN"] = "START_SHARE_SCREEN";
12
+ RendererEventAction["STOP_SHARE_SCREEN"] = "STOP_SHARE_SCREEN";
13
+ RendererEventAction["POWER_MONITOR_LOCK_SCREEN"] = "POWER_MONITOR_LOCK_SCREEN";
14
+ RendererEventAction["POWER_MONITOR_SUSPEND"] = "POWER_MONITOR_SUSPEND";
15
+ RendererEventAction["POWER_MONITOR_RESUME"] = "POWER_MONITOR_RESUME";
16
+ RendererEventAction["POWER_MONITOR_UNLOCK_SCREEN"] = "POWER_MONITOR_UNLOCK_SCREEN";
17
+ RendererEventAction["START_NEW_SHARE_SCREEN"] = "START_NEW_SHARE_SCREEN";
18
+ RendererEventAction["INIT_SHARE_SCREEN_SELECTION"] = "INIT_SHARE_SCREEN_SELECTION";
19
+ RendererEventAction["CLOSE_SHARE_SCREEN_SELECTION"] = "CLOSE_SHARE_SCREEN_SELECTION";
20
+ RendererEventAction["MOVE_SHARE_SCREEN_SELECTION_TO_TOP"] = "MOVE_SHARE_SCREEN_SELECTION_TO_TOP";
21
+ RendererEventAction["INIT_CONTROL_BAR"] = "INIT_CONTROL_BAR";
22
+ RendererEventAction["OPEN_CONTROL_BAR"] = "OPEN_CONTROL_BAR";
23
+ RendererEventAction["CLOSE_CONTROL_BAR"] = "CLOSE_CONTROL_BAR";
24
+ RendererEventAction["INIT_TOOLBAR"] = "INIT_TOOLBAR";
25
+ RendererEventAction["UPDATE_TOOLBAR"] = "UPDATE_TOOLBAR";
26
+ RendererEventAction["CHOOSE_NEW_CONTENT_TO_SHARE"] = "CHOOSE_NEW_CONTENT_TO_SHARE";
27
+ RendererEventAction["PARTICIPANT_ACTION"] = "PARTICIPANT_ACTION";
28
+ RendererEventAction["CLOSE_PARTICIPANTS_WINDOW"] = "CLOSE_PARTICIPANTS_WINDOW";
29
+ RendererEventAction["ROOM_CONTROL_ACTION"] = "ROOM_CONTROL_ACTION";
30
+ RendererEventAction["INIT_PARTICIPANT_LIST"] = "INIT_PARTICIPANT_LIST";
31
+ RendererEventAction["UPDATE_PARTICIPANT"] = "UPDATE_PARTICIPANT";
32
+ RendererEventAction["OPEN_AUDIO_SETTING"] = "OPEN_AUDIO_SETTING";
33
+ RendererEventAction["OPEN_VIDEO_SETTING"] = "OPEN_VIDEO_SETTING";
34
+ RendererEventAction["OPEN_VIRTUAL_BACKGROUND"] = "OPEN_VIRTUAL_BACKGROUND";
35
+ RendererEventAction["OPEN_VIDEO_FILTER"] = "OPEN_VIDEO_FILTER";
36
+ RendererEventAction["SET_MICROPHONE_DEVICE"] = "SET_MICROPHONE_DEVICE";
37
+ RendererEventAction["SET_CAMERA_DEVICE"] = "SET_CAMERA_DEVICE";
38
+ RendererEventAction["SET_SPEAKER_DEVICE"] = "SET_SPEAKER_DEVICE";
39
+ RendererEventAction["MUTE_LOCAL_AUDIO"] = "MUTE_LOCAL_AUDIO";
40
+ RendererEventAction["UNMUTE_LOCAL_AUDIO"] = "UNMUTE_LOCAL_AUDIO";
41
+ RendererEventAction["MUTE_LOCAL_VIDEO"] = "MUTE_LOCAL_VIDEO";
42
+ RendererEventAction["UNMUTE_LOCAL_VIDEO"] = "UNMUTE_LOCAL_VIDEO";
43
+ RendererEventAction["UPDATE_MICROPHONE_LIST"] = "UPDATE_MICROPHONE_LIST";
44
+ RendererEventAction["UPDATE_CAMERA_LIST"] = "UPDATE_CAMERA_LIST";
45
+ RendererEventAction["UPDATE_SPEAKER_LIST"] = "UPDATE_SPEAKER_LIST";
46
+ RendererEventAction["MAIN_SET_LOCK_ROOM"] = "MAIN_SET_LOCK_ROOM";
47
+ RendererEventAction["MAIN_SET_ENABLE_WAITING_ROOM"] = "MAIN_SET_ENABLE_WAITING_ROOM";
48
+ RendererEventAction["MAIN_SET_ALLOW_CHANGE_SELF_NAME"] = "MAIN_SET_ALLOW_CHANGE_SELF_NAME";
49
+ RendererEventAction["MAIN_SET_ALLOW_CHAT"] = "MAIN_SET_ALLOW_CHAT";
50
+ RendererEventAction["MAIN_SET_ALLOW_JOIN_WITH_MUTE_AUDIO"] = "MAIN_SET_ALLOW_JOIN_WITH_MUTE_AUDIO";
51
+ RendererEventAction["MAIN_SET_ALLOW_SHARE_SCREEN"] = "MAIN_SET_ALLOW_SHARE_SCREEN";
52
+ RendererEventAction["MAIN_SET_ALLOW_UNMUTE_SELF_VIDEO"] = "MAIN_SET_ALLOW_UNMUTE_SELF_VIDEO";
53
+ RendererEventAction["MAIN_SET_ALLOW_UNMUTE_SELF_AUDIO"] = "MAIN_SET_ALLOW_UNMUTE_SELF_AUDIO";
54
+ RendererEventAction["MAIN_SET_ALLOW_CLOUD_RECORDING_START"] = "MAIN_SET_ALLOW_CLOUD_RECORDING_START";
55
+ RendererEventAction["MAIN_SET_ALLOW_BOARD_WRITE"] = "MAIN_SET_ALLOW_BOARD_WRITE";
56
+ RendererEventAction["FRAGMENT_SET_LOCK_ROOM"] = "FRAGMENT_SET_LOCK_ROOM";
57
+ RendererEventAction["FRAGMENT_SET_ENABLE_WAITING_ROOM"] = "FRAGMENT_SET_ENABLE_WAITING_ROOM";
58
+ RendererEventAction["FRAGMENT_SET_ALLOW_CHANGE_SELF_NAME"] = "FRAGMENT_SET_ALLOW_CHANGE_SELF_NAME";
59
+ RendererEventAction["FRAGMENT_SET_ALLOW_CHAT"] = "FRAGMENT_SET_ALLOW_CHAT";
60
+ RendererEventAction["FRAGMENT_SET_ALLOW_JOIN_WITH_MUTE_AUDIO"] = "FRAGMENT_SET_ALLOW_JOIN_WITH_MUTE_AUDIO";
61
+ RendererEventAction["FRAGMENT_SET_ALLOW_SHARE_SCREEN"] = "FRAGMENT_SET_ALLOW_SHARE_SCREEN";
62
+ RendererEventAction["FRAGMENT_SET_ALLOW_BOARD_WRITE"] = "FRAGMENT_SET_ALLOW_BOARD_WRITE";
63
+ RendererEventAction["FRAGMENT_SET_ALLOW_UNMUTE_SELF_VIDEO"] = "FRAGMENT_SET_ALLOW_UNMUTE_SELF_VIDEO";
64
+ RendererEventAction["FRAGMENT_SET_ALLOW_UNMUTE_SELF_AUDIO"] = "FRAGMENT_SET_ALLOW_UNMUTE_SELF_AUDIO";
65
+ RendererEventAction["START_SCREEN_SHARE_PERMISSION"] = "START_SCREEN_SHARE_PERMISSION";
66
+ RendererEventAction["ALLOW_SEND_ALL_PERMISSION"] = "ALLOW_SEND_ALL_PERMISSION";
67
+ RendererEventAction["START_AUDIO_PERMISSION"] = "START_AUDIO_PERMISSION";
68
+ RendererEventAction["CHANGE_NAME_PERMISSION"] = "CHANGE_NAME_PERMISSION";
69
+ RendererEventAction["START_VIDEO_PERMISSION"] = "START_VIDEO_PERMISSION";
70
+ RendererEventAction["LOCK_ROOM_PERMISSION"] = "LOCK_ROOM_PERMISSION";
71
+ RendererEventAction["OPEN_CHAT"] = "OPEN_CHAT";
72
+ RendererEventAction["OPEN_SETTING"] = "OPEN_SETTING";
73
+ RendererEventAction["LEAVE_ROOM"] = "LEAVE_ROOM";
74
+ RendererEventAction["END_ROOM"] = "END_ROOM";
75
+ RendererEventAction["OPEN_PARTICIPANTS"] = "OPEN_PARTICIPANTS";
76
+ RendererEventAction["NEW_MESSAGE"] = "NEW_MESSAGE";
77
+ RendererEventAction["SET_CONTROL_BAR_LOCAL_AUDIO_STATE"] = "SET_CONTROL_BAR_LOCAL_AUDIO_STATE";
78
+ RendererEventAction["SET_CONTROL_BAR_LOCAL_VIDEO_STATE"] = "SET_CONTROL_BAR_LOCAL_VIDEO_STATE";
79
+ RendererEventAction["SET_CONTROL_BAR_LOCAL_AUDIO_VOLUME"] = "SET_CONTROL_BAR_LOCAL_AUDIO_VOLUME";
80
+ RendererEventAction["SET_CONTROL_BAR_CONNECT_TYPE"] = "SET_CONTROL_BAR_CONNECT_TYPE";
81
+ RendererEventAction["SET_CONTROL_BAR_PHONECALL_STATE"] = "SET_CONTROL_BAR_PHONECALL_STATE";
82
+ RendererEventAction["START_LIVE_STREAMING"] = "START_LIVE_STREAMING";
83
+ RendererEventAction["STOP_LIVE_STREAMING"] = "STOP_LIVE_STREAMING";
84
+ RendererEventAction["INIT_LIVE_STREAMING"] = "INIT_LIVE_STREAMING";
85
+ RendererEventAction["SET_LIVE_STREAMING_STATE"] = "SET_LIVE_STREAMING_STATE";
86
+ RendererEventAction["LIVE_STREAMING_ERROR_STATE"] = "LIVE_STREAMING_ERROR_STATE";
87
+ RendererEventAction["OPEN_LIVE_STEAMING_DIALOG"] = "OPEN_LIVE_STEAMING_DIALOG";
88
+ RendererEventAction["DISPLAY_METRICS_CHANGED"] = "DISPLAY_METRICS_CHANGED";
89
+ RendererEventAction["CHANGE_LIVE_STREAMING_STATE"] = "CHANGE_LIVE_STREAMING_STATE";
90
+ RendererEventAction["CHANGE_LIVE_STREAMING_INFO"] = "CHANGE_LIVE_STREAMING_INFO";
91
+ RendererEventAction["CLOUD_RECORDING_STATE_CHANGED"] = "CLOUD_RECORDING_STATE_CHANGED";
92
+ RendererEventAction["CLOUD_RECORDING_START"] = "CLOUD_RECORDING_START";
93
+ RendererEventAction["CLOUD_RECORDING_PAUSE"] = "CLOUD_RECORDING_PAUSE";
94
+ RendererEventAction["CLOUD_RECORDING_RESUME"] = "CLOUD_RECORDING_RESUME";
95
+ RendererEventAction["CLOUD_RECORDING_STOP"] = "CLOUD_RECORDING_STOP";
96
+ RendererEventAction["USER_ROLE_CHANGED"] = "USER_ROLE_CHANGED";
97
+ RendererEventAction["MOVE_LIVE_STREAMING_TO_TOP"] = "MOVE_LIVE_STREAMING_TO_TOP";
98
+ RendererEventAction["MAIN_SET_ALLOW_LIVE_STREAMING_START"] = "MAIN_SET_ALLOW_LIVE_STREAMING_START";
99
+ RendererEventAction["MAIN_SET_ALLOW_LIVE_STREAMING_STOP"] = "MAIN_SET_ALLOW_LIVE_STREAMING_STOP";
100
+ RendererEventAction["MAIN_SET_ALLOW_GET_LIVE_STREAMING_LINK"] = "MAIN_SET_ALLOW_GET_LIVE_STREAMING_LINK";
101
+ RendererEventAction["CLOSE_LIVE_STREAMING"] = "CLOSE_LIVE_STREAMING";
102
+ RendererEventAction["SHOW_TOAST"] = "SHOW_TOAST";
103
+ RendererEventAction["SET_CONTROL_BAR_WINDOW_ID"] = "SET_CONTROL_BAR_WINDOW_ID";
104
+ RendererEventAction["SET_ALLOW_SHARE_SCREEN_AND_BOARD"] = "SET_ALLOW_SHARE_SCREEN_AND_BOARD";
105
+ RendererEventAction["SET_ALLOW_WRITE_BOARD"] = "SET_ALLOW_WRITE_BOARD";
106
+ RendererEventAction["GET_OWNER_USER"] = "GET_OWNER_USER";
107
+ RendererEventAction["GET_LOCAL_USER"] = "GET_LOCAL_USER";
108
+ RendererEventAction["SET_OWNER_USER"] = "SET_OWNER_USER";
109
+ RendererEventAction["SET_LOCAL_USER"] = "SET_LOCAL_USER";
110
+ RendererEventAction["STOP_BOARD_SHARE"] = "STOP_BOARD_SHARE";
111
+ RendererEventAction["SET_SHARE_WITH_AUDIO"] = "SET_SHARE_WITH_AUDIO";
112
+ RendererEventAction["CALL_HIDE"] = "CALL_HIDE";
113
+ RendererEventAction["CALL_SHOW"] = "CALL_SHOW";
114
+ RendererEventAction["SET_SHARE_WITH_AUDIO_CONTROL_BAR"] = "SET_SHARE_WITH_AUDIO_CONTROL_BAR";
115
+ RendererEventAction["SET_REMOTE_USERS"] = "SET_REMOTE_USERS";
116
+ RendererEventAction["SET_HAS_ASSIGN_HOST_BEFORE_LEAVING_PERMISSION"] = "SET_HAS_ASSIGN_HOST_BEFORE_LEAVING_PERMISSION";
117
+ RendererEventAction["SET_IS_PSTN_USER"] = "SET_IS_PSTN_USER";
118
+ RendererEventAction["SET_IS_LOCKED"] = "SET_IS_LOCKED";
119
+ RendererEventAction["SET_HAS_END_ROOM_PERMISSION"] = "SET_HAS_END_ROOM_PERMISSION";
120
+ RendererEventAction["KEEP_PHONE_AUDIO_CONNECTION"] = "KEEP_PHONE_AUDIO_CONNECTION";
121
+ RendererEventAction["REISSUE_CONTROLBAR_INFO"] = "REISSUE_CONTROLBAR_INFO";
122
+ RendererEventAction["ASSIGN_HOST"] = "ASSIGN_HOST";
123
+ RendererEventAction["CALL_CLOSE_MAIN_WINDOW"] = "CALL_CLOSE_MAIN_WINDOW";
124
+ return RendererEventAction;
125
+ }({});
126
+ var ParticipantType = exports.ParticipantType = /*#__PURE__*/function (ParticipantType) {
127
+ ParticipantType["MUTE_AUDIO"] = "MUTE_AUDIO";
128
+ ParticipantType["UNMUTE_AUDIO"] = "UNMUTE_AUDIO";
129
+ ParticipantType["MUTE_VIDEO"] = "MUTE_VIDEO";
130
+ ParticipantType["UNMUTE_VIDEO"] = "UNMUTE_VIDEO";
131
+ ParticipantType["PRIVATE_CHAT"] = "PRIVATE_CHAT";
132
+ ParticipantType["KICK_OUT"] = "KICK_OUT";
133
+ ParticipantType["ADD_PIN"] = "ADD_PIN";
134
+ ParticipantType["REMOVE_PIN"] = "REMOVE_PIN";
135
+ ParticipantType["SET_AS_HOST"] = "SET_AS_HOST";
136
+ ParticipantType["SET_AS_CO_HOST"] = "SET_AS_CO_HOST";
137
+ ParticipantType["SET_AS_ATTENDEE"] = "SET_AS_ATTENDEE";
138
+ ParticipantType["RENAME"] = "RENAME";
139
+ ParticipantType["ALL_RECORDING_LOCAL_VIDEO"] = "ALL_RECORDING_LOCAL_VIDEO";
140
+ ParticipantType["PUT_IN_WAITING_ROOM"] = "PUT_IN_WAITING_ROOM";
141
+ ParticipantType["STOP_RAISE_HAND"] = "STOP_RAISE_HAND";
142
+ ParticipantType["SET_MAIN_SPEAKER"] = "SET_MAIN_SPEAKER";
143
+ ParticipantType["MERGE_VIDEO"] = "MERGE_VIDEO";
144
+ ParticipantType["REMOVE_WAITING_ROOM"] = "REMOVE_WAITING_ROOM";
145
+ return ParticipantType;
146
+ }({});
147
+ var VideoWindowPinType = exports.VideoWindowPinType = /*#__PURE__*/function (VideoWindowPinType) {
148
+ VideoWindowPinType["REMOVE_PIN"] = "REMOVE_PIN";
149
+ VideoWindowPinType["ADD_PIN"] = "ADD_PIN";
150
+ VideoWindowPinType["REPLACE_PIN"] = "REPLACE_PIN";
151
+ return VideoWindowPinType;
152
+ }({});
153
+ var RoomControlType = exports.RoomControlType = /*#__PURE__*/function (RoomControlType) {
154
+ RoomControlType["MUTE_ALL_AUDIO"] = "MUTE_ALL_AUDIO";
155
+ RoomControlType["UNMUTE_ALL_AUDIO"] = "UNMUTE_ALL_AUDIO";
156
+ RoomControlType["ALLOW_ATTENDEE_TO_UNMUTE"] = "ALLOW_ATTENDEE_TO_UNMUTE";
157
+ RoomControlType["ALLOW_ATTENDEE_TO_OPEN_CAMERA"] = "ALLOW_ATTENDEE_TO_OPEN_CAMERA";
158
+ RoomControlType["REVOKE_HOST"] = "REVOKE_HOST";
159
+ RoomControlType["PLAY_JOIN_LEAVE_SOUND"] = "PLAY_JOIN_LEAVE_SOUND";
160
+ RoomControlType["LOCK_ROOM"] = "LOCK_ROOM";
161
+ RoomControlType["ENABLE_WAITING_ROOM"] = "ENABLE_WAITING_ROOM";
162
+ RoomControlType["RENAME"] = "RENAME";
163
+ RoomControlType["JOIN_WITH_MUTE_AUDIO"] = "JOIN_WITH_MUTE_AUDIO";
164
+ return RoomControlType;
165
+ }({});
166
+ var UIAction = exports.UIAction = /*#__PURE__*/function (UIAction) {
167
+ UIAction[UIAction["OPEN_DIALOG"] = 0] = "OPEN_DIALOG";
168
+ UIAction[UIAction["CLOSE_DIALOG"] = 1] = "CLOSE_DIALOG";
169
+ UIAction[UIAction["SHOW_TOAST"] = 2] = "SHOW_TOAST";
170
+ UIAction[UIAction["UPDATE_ASIDE"] = 3] = "UPDATE_ASIDE";
171
+ UIAction[UIAction["UPDATE_SHARE_STATE"] = 4] = "UPDATE_SHARE_STATE";
172
+ UIAction[UIAction["RECEIVE_NEW_CHAT_MESSAGES"] = 5] = "RECEIVE_NEW_CHAT_MESSAGES";
173
+ UIAction[UIAction["START_SHARE_SCREEN"] = 6] = "START_SHARE_SCREEN";
174
+ UIAction[UIAction["STOP_SHARE_SCREEN"] = 7] = "STOP_SHARE_SCREEN";
175
+ UIAction[UIAction["TOGGLE_LAYOUT"] = 8] = "TOGGLE_LAYOUT";
176
+ UIAction[UIAction["TOGGLE_LAYOUT_SIZE"] = 9] = "TOGGLE_LAYOUT_SIZE";
177
+ UIAction[UIAction["LAYOUT_CHANGED"] = 10] = "LAYOUT_CHANGED";
178
+ UIAction[UIAction["LAYOUT_SIZE_CHANGED"] = 11] = "LAYOUT_SIZE_CHANGED";
179
+ UIAction[UIAction["SET_MAIN_SPEAKER"] = 12] = "SET_MAIN_SPEAKER";
180
+ UIAction[UIAction["OPEN_DEVICE_SETTING"] = 13] = "OPEN_DEVICE_SETTING";
181
+ UIAction[UIAction["OPEN_DEVICE_SETTING_DIALOG"] = 14] = "OPEN_DEVICE_SETTING_DIALOG";
182
+ UIAction[UIAction["EXIT_ROOM"] = 15] = "EXIT_ROOM";
183
+ UIAction[UIAction["PARTICIPANT_ACTION"] = 16] = "PARTICIPANT_ACTION";
184
+ UIAction[UIAction["CHAT_UPDATE_TARGET"] = 17] = "CHAT_UPDATE_TARGET";
185
+ UIAction[UIAction["CHAT_RESET_TARGET"] = 18] = "CHAT_RESET_TARGET";
186
+ UIAction[UIAction["OPEN_LIVE_STEAMING_DIALOG"] = 19] = "OPEN_LIVE_STEAMING_DIALOG";
187
+ UIAction[UIAction["CLOSE_LIVE_STEAMING_DIALOG"] = 20] = "CLOSE_LIVE_STEAMING_DIALOG";
188
+ UIAction[UIAction["STOP_LIVE_STREAMING"] = 21] = "STOP_LIVE_STREAMING";
189
+ UIAction[UIAction["CLOUD_RECORDING"] = 22] = "CLOUD_RECORDING";
190
+ UIAction[UIAction["TOGGLE_LAYOUT_BAR_LOCK"] = 23] = "TOGGLE_LAYOUT_BAR_LOCK";
191
+ UIAction[UIAction["TOGGLE_LAYOUT_ACTIONBAR_HIDDEN"] = 24] = "TOGGLE_LAYOUT_ACTIONBAR_HIDDEN";
192
+ UIAction[UIAction["SET_WINDOW_BOUNDS"] = 25] = "SET_WINDOW_BOUNDS";
193
+ UIAction[UIAction["OPEN_CONNECTION_DIALOG"] = 26] = "OPEN_CONNECTION_DIALOG";
194
+ UIAction[UIAction["CLOSE_CONNECTION_DIALOG"] = 27] = "CLOSE_CONNECTION_DIALOG";
195
+ UIAction[UIAction["CONNECT_AUDIO"] = 28] = "CONNECT_AUDIO";
196
+ UIAction[UIAction["OPEN_INVITE_DIALOG"] = 29] = "OPEN_INVITE_DIALOG";
197
+ UIAction[UIAction["CLOSE_INVITE_DIALOG"] = 30] = "CLOSE_INVITE_DIALOG";
198
+ UIAction[UIAction["ASIDE_WIDTH_CHANGED"] = 31] = "ASIDE_WIDTH_CHANGED";
199
+ UIAction[UIAction["VIDEO_WINDOW_BOUNDS"] = 32] = "VIDEO_WINDOW_BOUNDS";
200
+ UIAction[UIAction["VIDEO_WINDOW_RESIZE"] = 33] = "VIDEO_WINDOW_RESIZE";
201
+ UIAction[UIAction["FOLD_LIST_CHANGED"] = 34] = "FOLD_LIST_CHANGED";
202
+ UIAction[UIAction["MAIN_LIST_CHANGED"] = 35] = "MAIN_LIST_CHANGED";
203
+ UIAction[UIAction["MAIN_LIST_LENGTH_CHANGED"] = 36] = "MAIN_LIST_LENGTH_CHANGED";
204
+ UIAction[UIAction["OPEN_WHITEBOARD"] = 37] = "OPEN_WHITEBOARD";
205
+ UIAction[UIAction["CLOSE_WHITEBOARD"] = 38] = "CLOSE_WHITEBOARD";
206
+ UIAction[UIAction["WHITEBOARD_CHANGED"] = 39] = "WHITEBOARD_CHANGED";
207
+ UIAction[UIAction["SET_USER_PIN_STATE"] = 40] = "SET_USER_PIN_STATE";
208
+ UIAction[UIAction["VIDEO_WINDOW_PIN_ACTION"] = 41] = "VIDEO_WINDOW_PIN_ACTION";
209
+ UIAction[UIAction["SPOTLIGHT_STREAM_CHANGED"] = 42] = "SPOTLIGHT_STREAM_CHANGED";
210
+ UIAction[UIAction["CUSTOM_SETTINGS_CHANGED"] = 43] = "CUSTOM_SETTINGS_CHANGED";
211
+ UIAction[UIAction["CAROUSEL_COLLAPSED"] = 44] = "CAROUSEL_COLLAPSED";
212
+ UIAction[UIAction["STOP_SCREEN_CAPTURE"] = 45] = "STOP_SCREEN_CAPTURE";
213
+ UIAction[UIAction["ENGINE_RECONNECTED"] = 46] = "ENGINE_RECONNECTED";
214
+ UIAction[UIAction["SET_CURRENT_SHARE_SCREEN"] = 47] = "SET_CURRENT_SHARE_SCREEN";
215
+ UIAction[UIAction["WAITING_ROOM_CREATED"] = 48] = "WAITING_ROOM_CREATED";
216
+ UIAction[UIAction["TOGGLE_PARTICIPANT_TAB"] = 49] = "TOGGLE_PARTICIPANT_TAB";
217
+ UIAction[UIAction["CURRENT_PARTITIPANT_TAB"] = 50] = "CURRENT_PARTITIPANT_TAB";
218
+ UIAction[UIAction["RECEIVE_NEW_CHAT_MESSAGES_FOR_RED"] = 51] = "RECEIVE_NEW_CHAT_MESSAGES_FOR_RED";
219
+ UIAction[UIAction["CHAT_ROOM_CLOSED"] = 52] = "CHAT_ROOM_CLOSED";
220
+ UIAction[UIAction["CHAT_ROOM_TAB_CHANGE"] = 53] = "CHAT_ROOM_TAB_CHANGE";
221
+ UIAction[UIAction["CHAT_VISIBLE"] = 54] = "CHAT_VISIBLE";
222
+ UIAction[UIAction["WAITING_ROOM_DESTROYED"] = 55] = "WAITING_ROOM_DESTROYED";
223
+ UIAction[UIAction["MOVE_TO_MAIN_ROOM_ALL_MEMBER"] = 56] = "MOVE_TO_MAIN_ROOM_ALL_MEMBER";
224
+ UIAction[UIAction["CLOSE_WAITING_ROOM_DIALOG"] = 57] = "CLOSE_WAITING_ROOM_DIALOG";
225
+ UIAction[UIAction["SET_REMOTE_USERS"] = 58] = "SET_REMOTE_USERS";
226
+ UIAction[UIAction["SET_HAS_ASSIGN_HOST_BEFORE_LEAVING_PERMISSION"] = 59] = "SET_HAS_ASSIGN_HOST_BEFORE_LEAVING_PERMISSION";
227
+ UIAction[UIAction["SET_IS_PSTN_USER"] = 60] = "SET_IS_PSTN_USER";
228
+ UIAction[UIAction["SET_HAS_END_ROOM_PERMISSION"] = 61] = "SET_HAS_END_ROOM_PERMISSION";
229
+ UIAction[UIAction["WATERMARK_INFO_UPDATE"] = 62] = "WATERMARK_INFO_UPDATE";
230
+ UIAction[UIAction["CHANGE_PARTICIPANT_TAB"] = 63] = "CHANGE_PARTICIPANT_TAB";
231
+ UIAction[UIAction["SET_CHAT_SLOT_TYPE"] = 64] = "SET_CHAT_SLOT_TYPE";
232
+ UIAction[UIAction["REFRESH_WINDOW_DATA_SPOTLIGHT_ENABLED"] = 65] = "REFRESH_WINDOW_DATA_SPOTLIGHT_ENABLED";
233
+ return UIAction;
234
+ }({});
235
+ var DialogKey = exports.DialogKey = /*#__PURE__*/function (DialogKey) {
236
+ DialogKey["DEVICE_SETTINGS"] = "device-settings";
237
+ DialogKey["CHAT"] = "chat";
238
+ DialogKey["PARTICIPANT"] = "participant";
239
+ DialogKey["CONFIRM"] = "confirm";
240
+ DialogKey["SHARE_SCREEN"] = "share-screen-selection";
241
+ DialogKey["CONTROL_BAR"] = "control-bar";
242
+ DialogKey["LIVE_STREAMING"] = "live-streaming";
243
+ DialogKey["VIDEO_WINDOW"] = "video-window";
244
+ DialogKey["CONNECTION_GATEWAY"] = "connection-gateway";
245
+ DialogKey["INVITE"] = "invite";
246
+ DialogKey["TOOLBAR"] = "toolbar";
247
+ DialogKey["WHITEBOARD"] = "whiteboard";
248
+ DialogKey["PROGRESS_DIALOG"] = "progress-dialog";
249
+ DialogKey["WAITING_ROOM"] = "waiting-room";
250
+ return DialogKey;
251
+ }({});
252
+ var HighlightElement = exports.HighlightElement = /*#__PURE__*/function (HighlightElement) {
253
+ HighlightElement["VIDEO_BASIC"] = "fcr_VIDEO_BASIC_highlighter";
254
+ HighlightElement["VIDEO_MAX_PERSON"] = "fcr_VIDEO_MAX_PERSON_highlighter";
255
+ HighlightElement["AUDIO_SPEAKER"] = "fcr_AUDIO_SPEAKER_highlighter";
256
+ HighlightElement["AUDIO_MICROPHONE"] = "fcr_AUDIO_MICROPHONE_highlighter";
257
+ HighlightElement["AUDIO_NOISE_REDUCE"] = "fcr_AUDIO_NOISE_REDUCE_highlighter";
258
+ HighlightElement["AUDIO_PRO_AUDIO"] = "fcr_AUDIO_PRO_AUDIO_highlighter";
259
+ HighlightElement["CPU_STATE"] = "fcr_CPU_STATE_highlighter";
260
+ HighlightElement["MEMORY_STATE"] = "fcr_MEMORY_STATE_highlighter";
261
+ HighlightElement["NETWORK_STATE"] = "fcr_NETWORK_STATE_highlighter";
262
+ HighlightElement["TRANSLATE_SOURCE"] = "fcr_TRANSLATE_SOURCE_highlighter";
263
+ HighlightElement["TRANSLATE_TARGET"] = "fcr_TRANSLATE_TARGET_highlighter";
264
+ HighlightElement["TRANSLATE_INTERPRETER"] = "fcr_TRANSLATE_INTERPRETER_highlighter";
265
+ return HighlightElement;
266
+ }({});
267
+ var RoomType = exports.RoomType = /*#__PURE__*/function (RoomType) {
268
+ RoomType["MAIN_ROOM"] = "MAIN_ROOM";
269
+ RoomType["WAITING_ROOM"] = "WAITING_ROOM";
270
+ return RoomType;
271
+ }({});
@@ -0,0 +1,2 @@
1
+ declare function copyText(text: string): Promise<void>;
2
+ export { copyText };
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+
3
+ require("core-js/modules/es.object.define-property.js");
4
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.copyText = copyText;
9
+ var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
10
+ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
11
+ function copyText(_x) {
12
+ return _copyText.apply(this, arguments);
13
+ }
14
+ function _copyText() {
15
+ _copyText = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee(text) {
16
+ var input;
17
+ return _regenerator["default"].wrap(function _callee$(_context) {
18
+ while (1) switch (_context.prev = _context.next) {
19
+ case 0:
20
+ _context.prev = 0;
21
+ _context.next = 3;
22
+ return navigator.clipboard.writeText(text);
23
+ case 3:
24
+ _context.next = 14;
25
+ break;
26
+ case 5:
27
+ _context.prev = 5;
28
+ _context.t0 = _context["catch"](0);
29
+ input = document.createElement('input');
30
+ input.setAttribute('readonly', 'readonly');
31
+ input.setAttribute('value', text);
32
+ document.body.appendChild(input);
33
+ input.select();
34
+ document.execCommand('copy');
35
+ document.body.removeChild(input);
36
+ case 14:
37
+ case "end":
38
+ return _context.stop();
39
+ }
40
+ }, _callee, null, [[0, 5]]);
41
+ }));
42
+ return _copyText.apply(this, arguments);
43
+ }
@@ -0,0 +1,5 @@
1
+ import { FcrStreamInfo, FcrUserInfo } from 'fcr-core/lib/type';
2
+ import { AgoraRteVideoSourceType } from 'agora-rte-sdk/lib/type';
3
+ export declare const extractUserStreams: (users: Map<string, FcrUserInfo>, streamByUid: Map<string, FcrStreamInfo>, sourceTypes: AgoraRteVideoSourceType[]) => Set<FcrStreamInfo>;
4
+ export declare const getVideoStreams: (streamByUid: Map<string, FcrStreamInfo>, sourceTypes: AgoraRteVideoSourceType[]) => Set<FcrStreamInfo>;
5
+ export declare const getAudioStreams: (streamByUid: Map<string, FcrStreamInfo>) => Set<FcrStreamInfo>;
@@ -0,0 +1,117 @@
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.iterator.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.from.js");
9
+ require("core-js/modules/es.array.is-array.js");
10
+ require("core-js/modules/es.array.slice.js");
11
+ require("core-js/modules/es.date.to-string.js");
12
+ require("core-js/modules/es.function.name.js");
13
+ require("core-js/modules/es.object.define-property.js");
14
+ require("core-js/modules/es.regexp.exec.js");
15
+ require("core-js/modules/es.regexp.test.js");
16
+ require("core-js/modules/es.regexp.to-string.js");
17
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
18
+ Object.defineProperty(exports, "__esModule", {
19
+ value: true
20
+ });
21
+ exports.getVideoStreams = exports.getAudioStreams = exports.extractUserStreams = void 0;
22
+ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
23
+ require("core-js/modules/es.array.includes.js");
24
+ require("core-js/modules/es.array.iterator.js");
25
+ require("core-js/modules/es.object.to-string.js");
26
+ require("core-js/modules/es.set.js");
27
+ require("core-js/modules/es.string.includes.js");
28
+ require("core-js/modules/es.string.iterator.js");
29
+ require("core-js/modules/esnext.set.add-all.js");
30
+ require("core-js/modules/esnext.set.delete-all.js");
31
+ require("core-js/modules/esnext.set.difference.v2.js");
32
+ require("core-js/modules/esnext.set.difference.js");
33
+ require("core-js/modules/esnext.set.every.js");
34
+ require("core-js/modules/esnext.set.filter.js");
35
+ require("core-js/modules/esnext.set.find.js");
36
+ require("core-js/modules/esnext.set.intersection.v2.js");
37
+ require("core-js/modules/esnext.set.intersection.js");
38
+ require("core-js/modules/esnext.set.is-disjoint-from.v2.js");
39
+ require("core-js/modules/esnext.set.is-disjoint-from.js");
40
+ require("core-js/modules/esnext.set.is-subset-of.v2.js");
41
+ require("core-js/modules/esnext.set.is-subset-of.js");
42
+ require("core-js/modules/esnext.set.is-superset-of.v2.js");
43
+ require("core-js/modules/esnext.set.is-superset-of.js");
44
+ require("core-js/modules/esnext.set.join.js");
45
+ require("core-js/modules/esnext.set.map.js");
46
+ require("core-js/modules/esnext.set.reduce.js");
47
+ require("core-js/modules/esnext.set.some.js");
48
+ require("core-js/modules/esnext.set.symmetric-difference.v2.js");
49
+ require("core-js/modules/esnext.set.symmetric-difference.js");
50
+ require("core-js/modules/esnext.set.union.v2.js");
51
+ require("core-js/modules/esnext.set.union.js");
52
+ require("core-js/modules/web.dom-collections.iterator.js");
53
+ function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
54
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
55
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
56
+ var extractUserStreams = exports.extractUserStreams = function extractUserStreams(users, streamByUid, sourceTypes) {
57
+ var streams = new Set();
58
+ var _iterator = _createForOfIteratorHelper(users),
59
+ _step;
60
+ try {
61
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
62
+ var _step$value = (0, _slicedToArray2["default"])(_step.value, 1),
63
+ userId = _step$value[0];
64
+ if (streamByUid.has(userId)) {
65
+ var stream = streamByUid.get(userId);
66
+ if (stream && sourceTypes.includes(stream.videoSourceType)) {
67
+ streams.add(stream);
68
+ }
69
+ }
70
+ }
71
+ } catch (err) {
72
+ _iterator.e(err);
73
+ } finally {
74
+ _iterator.f();
75
+ }
76
+ return streams;
77
+ };
78
+ var getVideoStreams = exports.getVideoStreams = function getVideoStreams(streamByUid, sourceTypes) {
79
+ var streams = new Set();
80
+ var _iterator2 = _createForOfIteratorHelper(streamByUid),
81
+ _step2;
82
+ try {
83
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
84
+ var _step2$value = (0, _slicedToArray2["default"])(_step2.value, 1),
85
+ userId = _step2$value[0];
86
+ var stream = streamByUid.get(userId);
87
+ if (stream && sourceTypes.includes(stream.videoSourceType)) {
88
+ streams.add(stream);
89
+ }
90
+ }
91
+ } catch (err) {
92
+ _iterator2.e(err);
93
+ } finally {
94
+ _iterator2.f();
95
+ }
96
+ return streams;
97
+ };
98
+ var getAudioStreams = exports.getAudioStreams = function getAudioStreams(streamByUid) {
99
+ var streams = new Set();
100
+ var _iterator3 = _createForOfIteratorHelper(streamByUid),
101
+ _step3;
102
+ try {
103
+ for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
104
+ var _step3$value = (0, _slicedToArray2["default"])(_step3.value, 1),
105
+ userId = _step3$value[0];
106
+ var stream = streamByUid.get(userId);
107
+ if (stream && stream.audioSourceType) {
108
+ streams.add(stream);
109
+ }
110
+ }
111
+ } catch (err) {
112
+ _iterator3.e(err);
113
+ } finally {
114
+ _iterator3.f();
115
+ }
116
+ return streams;
117
+ };
@@ -0,0 +1,14 @@
1
+ export declare const useUnmount: (callback: () => void) => void;
2
+ export declare const LanguageName: Record<string, string>;
3
+ export declare const useTheme: () => readonly ["dark" | "light", () => void];
4
+ export declare const useWindowFocus: () => boolean;
5
+ export declare const useDelayedValue: <T>(realValue: T, delay: number) => T | null;
6
+ type DelayedMeasureResult = [
7
+ ref: (element: HTMLElement | null) => void,
8
+ bounds: {
9
+ width: number;
10
+ height: number;
11
+ }
12
+ ];
13
+ export declare const useDelayedMeasure: (delay?: number) => DelayedMeasureResult;
14
+ export {};
@@ -0,0 +1,101 @@
1
+ "use strict";
2
+
3
+ require("core-js/modules/es.array.iterator.js");
4
+ require("core-js/modules/es.object.define-property.js");
5
+ require("core-js/modules/es.object.get-own-property-descriptor.js");
6
+ require("core-js/modules/es.object.to-string.js");
7
+ require("core-js/modules/es.string.iterator.js");
8
+ require("core-js/modules/es.weak-map.js");
9
+ require("core-js/modules/esnext.weak-map.delete-all.js");
10
+ require("core-js/modules/esnext.weak-map.emplace.js");
11
+ require("core-js/modules/web.dom-collections.iterator.js");
12
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
13
+ var _typeof = require("@babel/runtime/helpers/typeof");
14
+ Object.defineProperty(exports, "__esModule", {
15
+ value: true
16
+ });
17
+ exports.useWindowFocus = exports.useUnmount = exports.useTheme = exports.useDelayedValue = exports.useDelayedMeasure = exports.LanguageName = void 0;
18
+ require("core-js/modules/web.timers.js");
19
+ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
20
+ var _react = require("react");
21
+ var _reactUseMeasure = _interopRequireDefault(require("react-use-measure"));
22
+ var theme_ = _interopRequireWildcard(require("agora-ui-foundation/lib/theme/generate"));
23
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
24
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
25
+ // FIXME: Files in 'lib' are commonjs modules.
26
+ // There's no variable binding unless you reference the whole module.
27
+
28
+ var useUnmount = exports.useUnmount = function useUnmount(callback) {
29
+ (0, _react.useEffect)(function () {
30
+ return callback;
31
+ }, []);
32
+ };
33
+ var LanguageName = exports.LanguageName = {
34
+ zh: '简体中文',
35
+ en: 'English'
36
+ };
37
+ var useTheme = exports.useTheme = function useTheme() {
38
+ var _useState = (0, _react.useState)(theme_.themeMode),
39
+ _useState2 = (0, _slicedToArray2["default"])(_useState, 2),
40
+ theme = _useState2[0],
41
+ setTheme = _useState2[1];
42
+ var toggleTheme = (0, _react.useCallback)(function () {
43
+ var nextTheme = theme_.themeMode === 'light' ? 'dark' : 'light';
44
+ theme_.setThemeMode(nextTheme);
45
+ setTheme(theme_.themeMode);
46
+ theme_.generateTheme();
47
+ document.documentElement.style.colorScheme = nextTheme;
48
+ }, []);
49
+ return [theme, toggleTheme];
50
+ };
51
+ var useWindowFocus = exports.useWindowFocus = function useWindowFocus() {
52
+ var _useState3 = (0, _react.useState)(true),
53
+ _useState4 = (0, _slicedToArray2["default"])(_useState3, 2),
54
+ focus = _useState4[0],
55
+ setFocus = _useState4[1];
56
+ (0, _react.useEffect)(function () {
57
+ var onFocus = function onFocus() {
58
+ return setFocus(true);
59
+ };
60
+ var onBlur = function onBlur() {
61
+ return setFocus(false);
62
+ };
63
+ window.addEventListener('focus', onFocus);
64
+ window.addEventListener('blur', onBlur);
65
+ return function () {
66
+ window.removeEventListener('focus', onFocus);
67
+ window.removeEventListener('blur', onBlur);
68
+ };
69
+ }, []);
70
+ return focus;
71
+ };
72
+ var useDelayedValue = exports.useDelayedValue = function useDelayedValue(realValue, delay) {
73
+ var _useState5 = (0, _react.useState)(null),
74
+ _useState6 = (0, _slicedToArray2["default"])(_useState5, 2),
75
+ value = _useState6[0],
76
+ setValue = _useState6[1];
77
+ (0, _react.useEffect)(function () {
78
+ var timer = setTimeout(function () {
79
+ return setValue(realValue);
80
+ }, delay);
81
+ return function () {
82
+ return clearTimeout(timer);
83
+ };
84
+ }, [realValue, delay]);
85
+ return value;
86
+ };
87
+ // Delay `useMeasure()`'s refreshing, improve re-layout performance.
88
+ // Also a workaround for 'loop completed with undelivered notifications' error.
89
+ // Since we only need width and height, other properties are hidden from type.
90
+ var useDelayedMeasure = exports.useDelayedMeasure = function useDelayedMeasure() {
91
+ var delay = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
92
+ var _useMeasure = (0, _reactUseMeasure["default"])(),
93
+ _useMeasure2 = (0, _slicedToArray2["default"])(_useMeasure, 2),
94
+ ref = _useMeasure2[0],
95
+ bounds_ = _useMeasure2[1];
96
+ var bounds = useDelayedValue(bounds_, delay) || {
97
+ width: 0,
98
+ height: 0
99
+ };
100
+ return [ref, bounds];
101
+ };
@@ -0,0 +1,4 @@
1
+ export declare const actionMute: (isMyself: boolean, hasAudio: boolean, muteAudioPermission: boolean, startAudioPermission: boolean, requestStartAudioPermission: boolean) => {
2
+ isShowActionAudio: boolean;
3
+ actionAudioTag: string;
4
+ };
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+
3
+ require("core-js/modules/es.object.define-property.js");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.actionMute = void 0;
8
+ var actionMute = exports.actionMute = function actionMute(isMyself, hasAudio, muteAudioPermission, startAudioPermission, requestStartAudioPermission) {
9
+ var isShowActionAudio = true;
10
+ var actionAudioTag = '';
11
+ if (isMyself) {
12
+ if (hasAudio) {
13
+ if (muteAudioPermission) {
14
+ isShowActionAudio = true;
15
+ actionAudioTag = 'fmt_participants_member_button_mute';
16
+ } else {
17
+ isShowActionAudio = false;
18
+ }
19
+ } else {
20
+ if (startAudioPermission) {
21
+ isShowActionAudio = true;
22
+ actionAudioTag = 'fmt_participants_member_button_unmute';
23
+ } else {
24
+ isShowActionAudio = false;
25
+ }
26
+ }
27
+ } else {
28
+ if (hasAudio) {
29
+ if (muteAudioPermission) {
30
+ isShowActionAudio = true;
31
+ actionAudioTag = 'fmt_participants_member_button_mute';
32
+ } else {
33
+ isShowActionAudio = false;
34
+ }
35
+ } else {
36
+ if (requestStartAudioPermission) {
37
+ actionAudioTag = 'fmt_attendies_options_applyunmute';
38
+ isShowActionAudio = true;
39
+ } else {
40
+ isShowActionAudio = false;
41
+ }
42
+ }
43
+ }
44
+ return {
45
+ isShowActionAudio: isShowActionAudio,
46
+ actionAudioTag: actionAudioTag
47
+ };
48
+ };
@@ -0,0 +1,7 @@
1
+ type FcrUISceneParameters = {
2
+ scene?: Record<string, unknown>;
3
+ };
4
+ export declare const isSkipPretest: (parameters?: FcrUISceneParameters) => boolean;
5
+ export declare const isOpenDefaultCamera: (parameters?: FcrUISceneParameters) => boolean;
6
+ export declare const isOpenDefaultMicrophone: (parameters?: FcrUISceneParameters) => boolean;
7
+ export {};
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+
3
+ require("core-js/modules/es.object.define-property.js");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.isSkipPretest = exports.isOpenDefaultMicrophone = exports.isOpenDefaultCamera = void 0;
8
+ var _valueCheck = require("agora-foundation/lib/utilities/value-check");
9
+ var isSkipPretest = exports.isSkipPretest = function isSkipPretest(parameters) {
10
+ var _parameters$scene$ski, _parameters$scene;
11
+ return (0, _valueCheck.isTrueValue)((_parameters$scene$ski = parameters === null || parameters === void 0 || (_parameters$scene = parameters.scene) === null || _parameters$scene === void 0 ? void 0 : _parameters$scene.skipPretest) !== null && _parameters$scene$ski !== void 0 ? _parameters$scene$ski : true);
12
+ };
13
+ var isOpenDefaultCamera = exports.isOpenDefaultCamera = function isOpenDefaultCamera(parameters) {
14
+ var _parameters$scene2;
15
+ return (0, _valueCheck.isTrueValue)(parameters === null || parameters === void 0 || (_parameters$scene2 = parameters.scene) === null || _parameters$scene2 === void 0 ? void 0 : _parameters$scene2.openDefaultCamera);
16
+ };
17
+ var isOpenDefaultMicrophone = exports.isOpenDefaultMicrophone = function isOpenDefaultMicrophone(parameters) {
18
+ var _parameters$scene3;
19
+ return (0, _valueCheck.isTrueValue)(parameters === null || parameters === void 0 || (_parameters$scene3 = parameters.scene) === null || _parameters$scene3 === void 0 ? void 0 : _parameters$scene3.openDefaultMicrophone);
20
+ };