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,293 +0,0 @@
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.VoipInvite = void 0;
9
- var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
10
- require("core-js/modules/es.string.trim.js");
11
- var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
12
- var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
13
- var _button = require("agora-ui-foundation/lib/components/button");
14
- var _icon = require("agora-ui-foundation/lib/components/icon");
15
- var _actionPhone = require("agora-ui-foundation/lib/components/action-phone");
16
- var _type = require("agora-ui-foundation/lib/components/icon/type");
17
- var _input = require("agora-ui-foundation/lib/components/input");
18
- var _radio = require("agora-ui-foundation/lib/components/radio");
19
- var _select = require("agora-ui-foundation/lib/components/select");
20
- var _tabs = require("agora-ui-foundation/lib/components/tabs");
21
- var _classnames = _interopRequireDefault(require("classnames"));
22
- var _mobxReact = require("mobx-react");
23
- var _react = require("react");
24
- var _store = require("./store");
25
- var _type2 = require("fcr-core/lib/room-control/room-connector-control/type");
26
- var _i18n = require("agora-ui-foundation/lib/i18n");
27
- var _jsxRuntime = require("react/jsx-runtime");
28
- var CallType = /*#__PURE__*/function (CallType) {
29
- CallType["INCOMING"] = "incoming";
30
- CallType["OUTGOING"] = "outgoing";
31
- return CallType;
32
- }(CallType || {});
33
- var VoipType = /*#__PURE__*/function (VoipType) {
34
- VoipType["H323"] = "h323";
35
- VoipType["SIP"] = "sip";
36
- return VoipType;
37
- }(VoipType || {});
38
- var ErrorTips = function ErrorTips(_ref) {
39
- var isError = _ref.isError,
40
- errorTip = _ref.errorTip;
41
- var t = (0, _i18n.useI18n)();
42
- return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
43
- className: "invite__invite-error-tips",
44
- children: isError ? errorTip || t('fmt_PSTN_tips_unempty') : ''
45
- });
46
- };
47
- var VoipInvite = exports.VoipInvite = (0, _mobxReact.observer)(function () {
48
- var _calledVoipInfo$state;
49
- // 呼入/呼出
50
- var _useState = (0, _react.useState)(CallType.OUTGOING),
51
- _useState2 = (0, _slicedToArray2["default"])(_useState, 2),
52
- currentTab = _useState2[0],
53
- setCurrentTab = _useState2[1];
54
- var _useState3 = (0, _react.useState)(VoipType.H323),
55
- _useState4 = (0, _slicedToArray2["default"])(_useState3, 2),
56
- currentVoipType = _useState4[0],
57
- setCurrentVoipType = _useState4[1];
58
- var _useState5 = (0, _react.useState)(''),
59
- _useState6 = (0, _slicedToArray2["default"])(_useState5, 2),
60
- callVoip = _useState6[0],
61
- setCallVoip = _useState6[1]; // 拨打的voip号码
62
- var _useState7 = (0, _react.useState)(false),
63
- _useState8 = (0, _slicedToArray2["default"])(_useState7, 2),
64
- isIpError = _useState8[0],
65
- setIsError = _useState8[1];
66
- var _useContext = (0, _react.useContext)(_store.StoreContext),
67
- localVoipList = _useContext.localVoipList,
68
- ipInfo = _useContext.ipInfo,
69
- isVoipCalling = _useContext.isVoipCalling,
70
- startSessionByVoip = _useContext.startSessionByVoip,
71
- stopSession = _useContext.stopSession,
72
- calledVoipInfo = _useContext.calledVoipInfo;
73
- var _useState9 = (0, _react.useState)(false),
74
- _useState10 = (0, _slicedToArray2["default"])(_useState9, 2),
75
- isLoading = _useState10[0],
76
- setIsLoading = _useState10[1];
77
- var handleCallVoip = function handleCallVoip() {
78
- checkInput(callVoip, setIsError);
79
- if (callVoip.trim().length === 0) {
80
- return;
81
- }
82
- setIsLoading(true);
83
- var voipType = currentVoipType === VoipType.H323 ? _type2.FcrIPConnectorSessionType.H323 : _type2.FcrIPConnectorSessionType.SIP;
84
- startSessionByVoip(callVoip, voipType);
85
- setIsLoading(false);
86
- };
87
- var handleEndCallVoip = /*#__PURE__*/function () {
88
- var _ref2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee() {
89
- return _regenerator["default"].wrap(function _callee$(_context) {
90
- while (1) switch (_context.prev = _context.next) {
91
- case 0:
92
- setIsLoading(true);
93
- _context.next = 3;
94
- return stopSession('voip');
95
- case 3:
96
- setIsLoading(false);
97
- case 4:
98
- case "end":
99
- return _context.stop();
100
- }
101
- }, _callee);
102
- }));
103
- return function handleEndCallVoip() {
104
- return _ref2.apply(this, arguments);
105
- };
106
- }();
107
- var checkInput = (0, _react.useCallback)(function (input, setError) {
108
- setError(input.trim().length === 0);
109
- }, []);
110
- var t = (0, _i18n.useI18n)();
111
- var voipStatusTips = (0, _react.useMemo)(function () {
112
- switch (calledVoipInfo.state) {
113
- // case InviteStatus.SUCCESS:
114
- // return '成功';
115
- case _store.InviteStatus.ERROR:
116
- return t('fmt_pstn_status_failed');
117
- case _store.InviteStatus.REJECT:
118
- return t('fmt_pstn_status_hungup');
119
- case _store.InviteStatus.RINGING:
120
- return t('fmt_pstn_status_ringing');
121
- case _store.InviteStatus.ACCEPTED:
122
- return t('fmt_pstn_status_Answered');
123
- case _store.InviteStatus.CALLING:
124
- return t('fmt_pstn_status_calling');
125
- default:
126
- return t('fmt_pstn_status_calling');
127
- }
128
- }, [calledVoipInfo.state]);
129
- return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
130
- className: "invite__voip-invite",
131
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_tabs.FcrTabs, {
132
- items: [{
133
- label: t('fmt_sip_options_callout'),
134
- key: CallType.OUTGOING
135
- }, {
136
- label: t('fmt_sip_options_callin'),
137
- key: CallType.INCOMING
138
- }],
139
- activeKey: currentTab,
140
- onChange: function onChange(key) {
141
- return setCurrentTab(key);
142
- }
143
- }), currentTab === CallType.OUTGOING && !isVoipCalling && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
144
- className: "invite__voip-invite__edit-content",
145
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
146
- type: _type.FcrIconType.FCR_SIPDEVICE,
147
- size: 48,
148
- colors: {
149
- iconPrimary: 'var(--fcr_ui_scene_ramp_purple6)',
150
- iconSecondary: 'var(--fcr_ui_scene_ramp_green6)'
151
- }
152
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
153
- className: "invite__voip-invite__edit-content-title",
154
- children: t('fmt_actionbar_label_dialsip')
155
- }), currentTab === CallType.OUTGOING && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
156
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_input.FcrInput, {
157
- placeholder: t('fmt_sip_inputtips_sip_323'),
158
- size: "small",
159
- shape: "rounded",
160
- value: callVoip,
161
- onChange: function onChange(val) {
162
- setCallVoip(val);
163
- },
164
- onBlur: function onBlur() {
165
- return checkInput(callVoip, setIsError);
166
- }
167
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(ErrorTips, {
168
- isError: isIpError
169
- })]
170
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
171
- className: "invite__voip-invite__voip_type",
172
- children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_radio.FcrRadioGroup, {
173
- defaultValue: VoipType.H323,
174
- value: currentVoipType,
175
- onChange: function onChange(value) {
176
- setCurrentVoipType(value);
177
- },
178
- children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_button.FcrButton, {
179
- type: "primary",
180
- size: "M",
181
- shape: "rounded",
182
- className: "invite__voip-invite__voip_type__h323-button",
183
- onClick: function onClick() {
184
- return setCurrentVoipType(VoipType.H323);
185
- },
186
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
187
- children: "H323"
188
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_radio.FcrRadio, {
189
- styleType: "white",
190
- value: VoipType.H323
191
- })]
192
- }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_button.FcrButton, {
193
- type: "primary",
194
- size: "M",
195
- shape: "rounded",
196
- className: "invite__voip-invite__voip_type__sip-button",
197
- onClick: function onClick() {
198
- return setCurrentVoipType(VoipType.SIP);
199
- },
200
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
201
- children: "SIP"
202
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_radio.FcrRadio, {
203
- styleType: "white",
204
- value: VoipType.SIP
205
- })]
206
- })]
207
- })
208
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.FcrButton, {
209
- size: "S",
210
- styleType: "success",
211
- className: (0, _classnames["default"])('invite__voip-invite__call-button', {
212
- 'invite__voip-invite__call-button-error': false
213
- }),
214
- loading: isLoading,
215
- onClick: handleCallVoip,
216
- children: t('fmt_sip_button_call')
217
- })]
218
- }), currentTab === CallType.OUTGOING && isVoipCalling && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
219
- className: "invite__voip-invite__edit-content",
220
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_actionPhone.FcrActionPhone, {
221
- size: 'large',
222
- animate: calledVoipInfo.state === _store.InviteStatus.RINGING || calledVoipInfo.state === _store.InviteStatus.CALLING || calledVoipInfo.state === _store.InviteStatus.DEFAULT,
223
- wrapperColor: 'var(--fcr_ui_scene_ramp_purple6)',
224
- circleColor: 'var(--fcr_ui_scene_ramp_purple6)',
225
- icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
226
- type: _type.FcrIconType.FCR_SIPDEVICE,
227
- size: 80,
228
- className: "invite__voip-invite__edit-content-icon",
229
- colors: {
230
- iconPrimary: 'var(--fcr_ui_scene_white10)',
231
- iconSecondary: 'var(--fcr_ui_scene_ramp_green6)'
232
- }
233
- })
234
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
235
- className: "invite__voip-invite__edit-content-ip",
236
- children: callVoip
237
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
238
- className: (0, _classnames["default"])('invite__voip-invite__edit-content-tip', {
239
- 'invite__voip-invite__edit-content-tip-error': calledVoipInfo.state === _store.InviteStatus.ERROR
240
- }),
241
- children: voipStatusTips
242
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.FcrButton, {
243
- size: "S",
244
- className: (0, _classnames["default"])('invite__voip-invite__call-button', {
245
- 'invite__voip-invite__call-button-error': false
246
- }),
247
- styleType: "danger",
248
- loading: isLoading,
249
- disabled: calledVoipInfo.state === _store.InviteStatus.ACCEPTED || ((_calledVoipInfo$state = calledVoipInfo.state) !== null && _calledVoipInfo$state !== void 0 ? _calledVoipInfo$state : _store.InviteStatus.DEFAULT) > _store.InviteStatus.ACCEPTED,
250
- onClick: handleEndCallVoip,
251
- children: t('fmt_sip_button_Hangup')
252
- })]
253
- }), currentTab === CallType.INCOMING && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
254
- className: "invite__voip-invite__edit-content",
255
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
256
- type: _type.FcrIconType.FCR_SIPDEVICE,
257
- size: 48,
258
- colors: {
259
- iconPrimary: 'var(--fcr_ui_scene_ramp_purple6)',
260
- iconSecondary: 'var(--fcr_ui_scene_ramp_green6)'
261
- }
262
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
263
- className: "invite__voip-invite__edit-content-title",
264
- children: t('fmt_sip_label_dialviasip')
265
- }), currentTab === CallType.INCOMING && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
266
- className: "invite__voip-invite__invited-information",
267
- children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
268
- className: "invite__voip-invite__invited-information-item",
269
- children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("label", {
270
- children: [t('fmt_sip_label_dial'), " "]
271
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_select.FcrSelect, {
272
- options: localVoipList,
273
- value: localVoipList !== null && localVoipList !== void 0 && localVoipList.length ? localVoipList[0].value : undefined
274
- })]
275
- }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
276
- className: "invite__voip-invite__invited-information-item",
277
- children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("label", {
278
- children: [" ", t('fmt_sip_label_inputid'), " "]
279
- }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("span", {
280
- children: [" ", ipInfo === null || ipInfo === void 0 ? void 0 : ipInfo.ipRoomId, " "]
281
- })]
282
- }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
283
- className: "invite__voip-invite__invited-information-item",
284
- children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("label", {
285
- children: [" ", t('fmt_sip_label_password'), " "]
286
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
287
- children: " --- "
288
- })]
289
- })]
290
- })]
291
- })]
292
- });
293
- });
@@ -1,2 +0,0 @@
1
- export declare const MinAsideWidth = 320;
2
- export declare const Layout: () => import("react/jsx-runtime").JSX.Element;
@@ -1,193 +0,0 @@
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.MinAsideWidth = exports.Layout = void 0;
18
- var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
19
- var _classnames = _interopRequireDefault(require("classnames"));
20
- var _mobxReact = require("mobx-react");
21
- var _react = _interopRequireWildcard(require("react"));
22
- var _icon = require("agora-ui-foundation/lib/components/icon");
23
- var _type = require("agora-ui-foundation/lib/components/icon/type");
24
- var _i18n = require("agora-ui-foundation/lib/i18n");
25
- var _hooks = require("../../../utilities/hooks");
26
- var _store = require("../store");
27
- var _type2 = require("../type");
28
- var _Aside = require("./Aside");
29
- var _Carousel = require("./Carousel");
30
- var _Gallery = require("./Gallery");
31
- var _utils = require("./utils");
32
- var _watermark = require("agora-ui-foundation/lib/components/watermark");
33
- var _jsxRuntime = require("react/jsx-runtime");
34
- 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); }
35
- 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; }
36
- var MinAsideWidth = exports.MinAsideWidth = 320;
37
- var MaxAsideWidth = 460; // 20240620 设计同步
38
- var AsideOverflow = 100;
39
- var Layout = exports.Layout = (0, _mobxReact.observer)(function () {
40
- var layoutStore = (0, _react.useContext)(_store.StoreContext);
41
- var stateBar = layoutStore.stateBar,
42
- actionBar = layoutStore.actionBar,
43
- layers = layoutStore.layers,
44
- layout = layoutStore.layout,
45
- aside = layoutStore.aside,
46
- barHovering = layoutStore.barHovering,
47
- setHoveringHandler = layoutStore.setHoveringHandler,
48
- resetLockTimer = layoutStore.resetLockTimer,
49
- setHoveringLeaveHandler = layoutStore.setHoveringLeaveHandler,
50
- asideWidth = layoutStore.asideWidth,
51
- chatAction = layoutStore.chatAction,
52
- barHidden = layoutStore.barHidden,
53
- isRobot = layoutStore.isRobot,
54
- getWaterMarkContent = layoutStore.getWaterMarkContent,
55
- isMulti = layoutStore.isMulti,
56
- isWaterMarkEnabled = layoutStore.isWaterMarkEnabled,
57
- localUser = layoutStore.localUser,
58
- setAsideWidth = layoutStore.setAsideWidth,
59
- toggleAside = layoutStore.toggleAside,
60
- asideWidthChanged = layoutStore.asideWidthChanged;
61
- var _useDelayedMeasure = (0, _hooks.useDelayedMeasure)(),
62
- _useDelayedMeasure2 = (0, _slicedToArray2["default"])(_useDelayedMeasure, 2),
63
- _ref = _useDelayedMeasure2[0],
64
- bounds = _useDelayedMeasure2[1];
65
- var getContainer;
66
- var onDragHandler = (0, _react.useCallback)(function (event) {
67
- event.preventDefault();
68
- var handler = event.currentTarget;
69
- handler.setPointerCapture(event.pointerId);
70
- var startX = event.clientX;
71
- var startWidth = aside ? asideWidth : 0;
72
- var onPointerMove = function onPointerMove(event) {
73
- var delta = event.clientX - startX;
74
- var target = startWidth - delta;
75
- var clamped = (0, _utils.clamp)(target, MinAsideWidth, MaxAsideWidth);
76
- if (target > AsideOverflow) {
77
- // setAsideWidth(() => {
78
- // // storage.set(ASIDE_WIDTH, String(clamped));
79
- // asideWidthChanged(clamped);
80
- // !aside && toggleAside(true);
81
- // return clamped;
82
- // });
83
- setAsideWidth(clamped);
84
- } else {
85
- aside && toggleAside(false);
86
- asideWidthChanged(0);
87
- }
88
- };
89
- var onPointerUp = function onPointerUp() {
90
- handler.onpointermove = handler.onpointerup = handler.onpointercancel = null;
91
- };
92
- handler.onpointermove = onPointerMove;
93
- handler.onpointerup = handler.onpointercancel = onPointerUp;
94
- }, [aside, bounds.width, asideWidth]);
95
- var cls = (0, _classnames["default"])('fcr-layout-content-bar fcr-layout-content-bottom', {
96
- 'fcr-layout-content-bar--hidden': barHidden
97
- });
98
- var waterMarkRenderContent = (0, _react.useMemo)(function () {
99
- var remoteWaterMark = getWaterMarkContent();
100
- return isWaterMarkEnabled ? [remoteWaterMark] : [];
101
- }, [isWaterMarkEnabled, localUser]);
102
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_watermark.WaterMark, {
103
- content: waterMarkRenderContent,
104
- width: isMulti ? 120 : bounds.width,
105
- height: isMulti ? 64 : bounds.height,
106
- multiLine: Boolean(isMulti),
107
- children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
108
- className: (0, _classnames["default"])('fcr-layout', "fcr-layout-".concat(layout), {
109
- 'fcr-layout-hovering': barHovering
110
- }),
111
- onMouseEnter: setHoveringHandler,
112
- onMouseLeave: setHoveringLeaveHandler,
113
- onMouseMove: setHoveringHandler,
114
- ref: function ref(node) {
115
- getContainer = node;
116
- _ref(node);
117
- },
118
- children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
119
- className: "fcr-layout-content",
120
- style: {
121
- width: bounds.width - asideWidth
122
- },
123
- children: [!isRobot && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
124
- className: "fcr-layout-content-bar fcr-layout-content-top",
125
- onMouseEnter: resetLockTimer,
126
- onMouseLeave: setHoveringHandler,
127
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
128
- className: "fcr-layout-content-bar-body",
129
- children: stateBar
130
- })
131
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Carousel.Carousel, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(CarouselExpandButton, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(WhoIsSpeaking, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Gallery.Gallery, {}), !isRobot && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
132
- className: cls,
133
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
134
- className: "fcr-layout-content-bar-body",
135
- onMouseEnter: resetLockTimer,
136
- onMouseLeave: setHoveringHandler,
137
- children: actionBar
138
- })
139
- })]
140
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Aside.Aside, {
141
- width: aside ? asideWidth : 0,
142
- onDragHandler: onDragHandler,
143
- chatAction: chatAction
144
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
145
- className: "fcr-layer",
146
- children: layers
147
- })]
148
- })
149
- });
150
- });
151
- var CarouselExpandButton = (0, _mobxReact.observer)(function () {
152
- var _useContext = (0, _react.useContext)(_store.StoreContext),
153
- collapsed = _useContext.collapsed,
154
- toggleCollapsed = _useContext.toggleCollapsed;
155
- return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
156
- className: (0, _classnames["default"])('fcr-layout-content-expand', {
157
- 'fcr-layout-content-collapsed': collapsed
158
- }),
159
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)("button", {
160
- className: "fcr-layout-content-expand-btn",
161
- onClick: function onClick() {
162
- return toggleCollapsed();
163
- },
164
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
165
- type: _type.FcrIconType.FCR_UP2,
166
- size: 48,
167
- colors: {
168
- iconPrimary: 'currentColor'
169
- }
170
- })
171
- })
172
- });
173
- });
174
- var WhoIsSpeaking = (0, _mobxReact.observer)(function () {
175
- var t = (0, _i18n.useI18n)();
176
- var _useContext2 = (0, _react.useContext)(_store.StoreContext),
177
- layout = _useContext2.layout,
178
- collapsed = _useContext2.collapsed,
179
- findSpotlightUser = _useContext2.findSpotlightUser;
180
- var userName = findSpotlightUser === null || findSpotlightUser === void 0 ? void 0 : findSpotlightUser.userName;
181
- var active = userName && layout === _type2.FcrUIVideoWindowLayoutType.Speaker && collapsed;
182
- return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
183
- className: (0, _classnames["default"])('fcr-layout-speaking', {
184
- 'fcr-layout-speaking-active': active
185
- }),
186
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
187
- className: "fcr-layout-speaking-content",
188
- children: t('fmt_modules_status_nowspeaking', {
189
- reason1: userName
190
- })
191
- })
192
- });
193
- });
@@ -1,2 +0,0 @@
1
- import LayoutStore from './store';
2
- export declare const StoreContext: import("react").Context<LayoutStore>;
@@ -1,9 +0,0 @@
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.StoreContext = void 0;
8
- var _react = require("react");
9
- var StoreContext = exports.StoreContext = /*#__PURE__*/(0, _react.createContext)(null);