fcr-ui-scene 1.0.20 → 3.1.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 (872) hide show
  1. package/installer/icons/favicon.ico +0 -0
  2. package/installer/icons/favicon.png +0 -0
  3. package/installer/mac/entitlements.mac.plist +16 -0
  4. package/lib/base.d.ts +12 -0
  5. package/lib/base.js +78 -0
  6. package/lib/common/device-store.d.ts +140 -0
  7. package/lib/common/device-store.js +1378 -0
  8. package/lib/common/device-stream-store.d.ts +36 -0
  9. package/lib/common/device-stream-store.js +372 -0
  10. package/lib/common/device-streams-store.d.ts +34 -0
  11. package/lib/common/device-streams-store.js +403 -0
  12. package/lib/common/event-store.d.ts +117 -0
  13. package/lib/common/event-store.js +235 -0
  14. package/lib/common/security-store.d.ts +123 -0
  15. package/lib/common/security-store.js +978 -0
  16. package/lib/creator.d.ts +8 -0
  17. package/lib/creator.js +37 -0
  18. package/lib/fragments/base.d.ts +10 -0
  19. package/lib/fragments/base.js +44 -0
  20. package/lib/fragments/control-bar/cloud-recording-buttons.d.ts +1 -0
  21. package/lib/fragments/control-bar/cloud-recording-buttons.js +67 -0
  22. package/lib/fragments/control-bar/context.d.ts +3 -0
  23. package/lib/fragments/control-bar/context.js +9 -0
  24. package/lib/fragments/control-bar/control-bar-store.d.ts +152 -0
  25. package/lib/fragments/control-bar/control-bar-store.js +1275 -0
  26. package/lib/fragments/control-bar/device/index.d.ts +31 -0
  27. package/lib/fragments/control-bar/device/index.js +203 -0
  28. package/lib/fragments/control-bar/index.css +276 -0
  29. package/lib/fragments/control-bar/index.d.ts +26 -0
  30. package/lib/fragments/control-bar/index.js +223 -0
  31. package/lib/fragments/control-bar/more-actions/index.css +19 -0
  32. package/lib/fragments/control-bar/more-actions/index.d.ts +7 -0
  33. package/lib/fragments/control-bar/more-actions/index.js +259 -0
  34. package/lib/fragments/control-bar/security-content/index.css +24 -0
  35. package/lib/fragments/control-bar/security-content/index.d.ts +2 -0
  36. package/lib/fragments/control-bar/security-content/index.js +145 -0
  37. package/lib/fragments/control-bar/share-state-nav/index.css +70 -0
  38. package/lib/fragments/control-bar/share-state-nav/index.d.ts +10 -0
  39. package/lib/fragments/control-bar/share-state-nav/index.js +134 -0
  40. package/lib/fragments/control-bar/stop-live-streaming/index.d.ts +1 -0
  41. package/lib/fragments/control-bar/stop-live-streaming/index.js +82 -0
  42. package/lib/fragments/control-bar/transfer-position-icon/index.d.ts +11 -0
  43. package/lib/fragments/control-bar/transfer-position-icon/index.js +46 -0
  44. package/lib/fragments/control-bar/view.d.ts +1 -0
  45. package/lib/fragments/control-bar/view.js +321 -0
  46. package/lib/fragments/live-streaming/context.d.ts +3 -0
  47. package/lib/fragments/live-streaming/context.js +9 -0
  48. package/lib/fragments/live-streaming/index.css +11 -0
  49. package/lib/fragments/live-streaming/index.d.ts +11 -0
  50. package/lib/fragments/live-streaming/index.js +79 -0
  51. package/lib/fragments/live-streaming/store.d.ts +21 -0
  52. package/lib/fragments/live-streaming/store.js +228 -0
  53. package/lib/fragments/live-streaming/view.d.ts +2 -0
  54. package/lib/fragments/live-streaming/view.js +44 -0
  55. package/lib/fragments/participant/context.d.ts +3 -0
  56. package/lib/fragments/participant/context.js +9 -0
  57. package/lib/fragments/participant/index.css +20 -0
  58. package/lib/fragments/participant/index.d.ts +9 -0
  59. package/lib/fragments/participant/index.js +90 -0
  60. package/lib/fragments/participant/room-control-drop-menu/index.css +19 -0
  61. package/lib/fragments/participant/room-control-drop-menu/index.d.ts +2 -0
  62. package/lib/fragments/participant/room-control-drop-menu/index.js +134 -0
  63. package/lib/fragments/participant/store.d.ts +34 -0
  64. package/lib/fragments/participant/store.js +326 -0
  65. package/lib/fragments/participant/view.d.ts +2 -0
  66. package/lib/fragments/participant/view.js +86 -0
  67. package/lib/fragments/share-screen-selection/context.d.ts +3 -0
  68. package/lib/fragments/share-screen-selection/context.js +9 -0
  69. package/lib/fragments/share-screen-selection/index.css +66 -0
  70. package/lib/fragments/share-screen-selection/index.d.ts +9 -0
  71. package/lib/fragments/share-screen-selection/index.js +94 -0
  72. package/lib/fragments/share-screen-selection/open-mic-tips.d.ts +9 -0
  73. package/lib/fragments/share-screen-selection/open-mic-tips.js +55 -0
  74. package/lib/fragments/share-screen-selection/selection-store.d.ts +35 -0
  75. package/lib/fragments/share-screen-selection/selection-store.js +351 -0
  76. package/lib/fragments/share-screen-selection/tips.css +33 -0
  77. package/lib/fragments/share-screen-selection/view.d.ts +9 -0
  78. package/lib/fragments/share-screen-selection/view.js +255 -0
  79. package/lib/fragments/state-bar/index.d.ts +9 -0
  80. package/lib/fragments/state-bar/index.js +68 -0
  81. package/lib/fragments/toolbar/components/color-picker/components/color.d.ts +5 -0
  82. package/lib/fragments/toolbar/components/color-picker/components/color.js +54 -0
  83. package/lib/fragments/toolbar/components/color-picker/components/panel.d.ts +1 -0
  84. package/lib/fragments/toolbar/components/color-picker/components/panel.js +114 -0
  85. package/lib/fragments/toolbar/components/color-picker/components/picker.d.ts +1 -0
  86. package/lib/fragments/toolbar/components/color-picker/components/picker.js +75 -0
  87. package/lib/fragments/toolbar/components/color-picker/index.d.ts +2 -0
  88. package/lib/fragments/toolbar/components/color-picker/index.js +53 -0
  89. package/lib/fragments/toolbar/components/color-picker.d.ts +2 -0
  90. package/lib/fragments/toolbar/components/color-picker.js +127 -0
  91. package/lib/fragments/toolbar/components/eraser-picker.d.ts +4 -0
  92. package/lib/fragments/toolbar/components/eraser-picker.js +84 -0
  93. package/lib/fragments/toolbar/components/extension-toolbar-item.js +78 -0
  94. package/lib/fragments/toolbar/components/extra-tool-picker.d.ts +1 -0
  95. package/lib/fragments/toolbar/components/extra-tool-picker.js +60 -0
  96. package/lib/fragments/toolbar/components/fold-icon.d.ts +2 -0
  97. package/lib/fragments/toolbar/components/fold-icon.js +41 -0
  98. package/lib/fragments/toolbar/components/history.d.ts +2 -0
  99. package/lib/fragments/toolbar/components/history.js +46 -0
  100. package/lib/fragments/toolbar/components/pen-picker.d.ts +4 -0
  101. package/lib/fragments/toolbar/components/pen-picker.js +132 -0
  102. package/lib/fragments/toolbar/components/screen-capture-picker.d.ts +4 -0
  103. package/lib/fragments/toolbar/components/screen-capture-picker.js +84 -0
  104. package/lib/fragments/toolbar/components/shape-picker.d.ts +4 -0
  105. package/lib/fragments/toolbar/components/shape-picker.js +146 -0
  106. package/lib/fragments/toolbar/components/toolbar-item.d.ts +1 -0
  107. package/lib/fragments/toolbar/components/toolbar-item.js +42 -0
  108. package/lib/fragments/toolbar/components/wrapper.d.ts +1 -0
  109. package/lib/fragments/toolbar/components/wrapper.js +138 -0
  110. package/lib/fragments/toolbar/hooks.d.ts +16 -0
  111. package/lib/fragments/toolbar/hooks.js +251 -0
  112. package/lib/fragments/toolbar/index.d.ts +12 -0
  113. package/lib/fragments/toolbar/index.js +80 -0
  114. package/lib/fragments/toolbar/store.d.ts +62 -0
  115. package/lib/fragments/toolbar/store.js +279 -0
  116. package/lib/fragments/toolbar/style.css +347 -0
  117. package/lib/fragments/toolbar/view.d.ts +1 -0
  118. package/lib/fragments/toolbar/view.js +34 -0
  119. package/lib/fragments/type.d.ts +2 -0
  120. package/lib/fragments/type.js +6 -0
  121. package/lib/global.d.ts +8 -0
  122. package/lib/hooks/i18n.d.ts +4 -0
  123. package/lib/hooks/i18n.js +18 -0
  124. package/lib/hooks/meeting-time.d.ts +15 -0
  125. package/lib/hooks/meeting-time.js +92 -0
  126. package/lib/index.d.ts +8 -0
  127. package/lib/index.js +52 -0
  128. package/lib/modules/action-bar/action-bar-collapes-items.d.ts +17 -0
  129. package/lib/modules/action-bar/action-bar-collapes-items.js +199 -0
  130. package/lib/modules/action-bar/board/index.d.ts +4 -0
  131. package/lib/modules/action-bar/board/index.js +34 -0
  132. package/lib/modules/action-bar/breakout-room/index.d.ts +4 -0
  133. package/lib/modules/action-bar/breakout-room/index.js +32 -0
  134. package/lib/modules/action-bar/chat/index.css +80 -0
  135. package/lib/modules/action-bar/chat/index.d.ts +5 -0
  136. package/lib/modules/action-bar/chat/index.js +152 -0
  137. package/lib/modules/action-bar/context.d.ts +3 -0
  138. package/lib/modules/action-bar/context.js +9 -0
  139. package/lib/modules/action-bar/device/index.css +157 -0
  140. package/lib/modules/action-bar/device/index.d.ts +8 -0
  141. package/lib/modules/action-bar/device/index.js +611 -0
  142. package/lib/modules/action-bar/index.css +212 -0
  143. package/lib/modules/action-bar/index.d.ts +25 -0
  144. package/lib/modules/action-bar/index.dev.d.ts +1 -0
  145. package/lib/modules/action-bar/index.dev.js +96 -0
  146. package/lib/modules/action-bar/index.js +89 -0
  147. package/lib/modules/action-bar/item-placement.d.ts +8 -0
  148. package/lib/modules/action-bar/item-placement.js +18 -0
  149. package/lib/modules/action-bar/item.d.ts +27 -0
  150. package/lib/modules/action-bar/item.js +154 -0
  151. package/lib/modules/action-bar/leave/assign-host.d.ts +7 -0
  152. package/lib/modules/action-bar/leave/assign-host.js +64 -0
  153. package/lib/modules/action-bar/leave/index.css +116 -0
  154. package/lib/modules/action-bar/leave/index.d.ts +3 -0
  155. package/lib/modules/action-bar/leave/index.js +110 -0
  156. package/lib/modules/action-bar/leave/leave-meeting.d.ts +6 -0
  157. package/lib/modules/action-bar/leave/leave-meeting.js +135 -0
  158. package/lib/modules/action-bar/live-streaming/index.d.ts +4 -0
  159. package/lib/modules/action-bar/live-streaming/index.js +39 -0
  160. package/lib/modules/action-bar/more/index.css +114 -0
  161. package/lib/modules/action-bar/more/index.d.ts +5 -0
  162. package/lib/modules/action-bar/more/index.js +80 -0
  163. package/lib/modules/action-bar/more/poppover-content.d.ts +8 -0
  164. package/lib/modules/action-bar/more/poppover-content.js +369 -0
  165. package/lib/modules/action-bar/participants/index.css +9 -0
  166. package/lib/modules/action-bar/participants/index.d.ts +5 -0
  167. package/lib/modules/action-bar/participants/index.js +75 -0
  168. package/lib/modules/action-bar/record/index.css +39 -0
  169. package/lib/modules/action-bar/record/index.d.ts +5 -0
  170. package/lib/modules/action-bar/record/index.js +161 -0
  171. package/lib/modules/action-bar/record/stop-record-dialog.d.ts +5 -0
  172. package/lib/modules/action-bar/record/stop-record-dialog.js +48 -0
  173. package/lib/modules/action-bar/respond/index.d.ts +4 -0
  174. package/lib/modules/action-bar/respond/index.js +32 -0
  175. package/lib/modules/action-bar/screen-share/index.d.ts +4 -0
  176. package/lib/modules/action-bar/screen-share/index.js +97 -0
  177. package/lib/modules/action-bar/screen-share/submenu.d.ts +1 -0
  178. package/lib/modules/action-bar/screen-share/submenu.js +159 -0
  179. package/lib/modules/action-bar/security/drop-menu.d.ts +1 -0
  180. package/lib/modules/action-bar/security/drop-menu.js +164 -0
  181. package/lib/modules/action-bar/security/index.d.ts +4 -0
  182. package/lib/modules/action-bar/security/index.js +50 -0
  183. package/lib/modules/action-bar/settings/index.d.ts +4 -0
  184. package/lib/modules/action-bar/settings/index.js +41 -0
  185. package/lib/modules/action-bar/smaller.d.ts +1 -0
  186. package/lib/modules/action-bar/smaller.js +52 -0
  187. package/lib/modules/action-bar/store.d.ts +177 -0
  188. package/lib/modules/action-bar/store.js +1179 -0
  189. package/lib/modules/action-bar/type.d.ts +6 -0
  190. package/lib/modules/action-bar/type.js +13 -0
  191. package/lib/modules/action-bar/view.d.ts +5 -0
  192. package/lib/modules/action-bar/view.js +80 -0
  193. package/lib/modules/audio-stream/index.d.ts +21 -0
  194. package/lib/modules/audio-stream/index.js +119 -0
  195. package/lib/modules/chat/chat-bar/index.css +79 -0
  196. package/lib/modules/chat/chat-bar/index.d.ts +11 -0
  197. package/lib/modules/chat/chat-bar/index.js +125 -0
  198. package/lib/modules/chat/chat-select/index.css +156 -0
  199. package/lib/modules/chat/chat-select/index.d.ts +12 -0
  200. package/lib/modules/chat/chat-select/index.js +186 -0
  201. package/lib/modules/chat/chat.d.ts +12 -0
  202. package/lib/modules/chat/chat.js +295 -0
  203. package/lib/modules/chat/contex.d.ts +3 -0
  204. package/lib/modules/chat/contex.js +9 -0
  205. package/lib/modules/chat/demo-wrapper.d.ts +1 -0
  206. package/lib/modules/chat/demo-wrapper.js +42 -0
  207. package/lib/modules/chat/index.css +17 -0
  208. package/lib/modules/chat/index.d.ts +29 -0
  209. package/lib/modules/chat/index.dev.d.ts +1 -0
  210. package/lib/modules/chat/index.dev.js +58 -0
  211. package/lib/modules/chat/index.js +189 -0
  212. package/lib/modules/chat/message-list.d.ts +22 -0
  213. package/lib/modules/chat/message-list.js +595 -0
  214. package/lib/modules/chat/mock.d.ts +2 -0
  215. package/lib/modules/chat/mock.js +283 -0
  216. package/lib/modules/chat/store.d.ts +132 -0
  217. package/lib/modules/chat/store.js +923 -0
  218. package/lib/modules/chat/util.d.ts +6 -0
  219. package/lib/modules/chat/util.js +69 -0
  220. package/lib/modules/connection-gateway/components/computer/index.css +11 -0
  221. package/lib/modules/connection-gateway/components/computer/index.d.ts +3 -0
  222. package/lib/modules/connection-gateway/components/computer/index.js +66 -0
  223. package/lib/modules/connection-gateway/components/computer/menu.d.ts +0 -0
  224. package/lib/modules/connection-gateway/components/computer/menu.js +1 -0
  225. package/lib/modules/connection-gateway/components/phone/components/callinfo/index.css +36 -0
  226. package/lib/modules/connection-gateway/components/phone/components/callinfo/index.d.ts +10 -0
  227. package/lib/modules/connection-gateway/components/phone/components/callinfo/index.js +75 -0
  228. package/lib/modules/connection-gateway/components/phone/components/calling/index.css +72 -0
  229. package/lib/modules/connection-gateway/components/phone/components/calling/index.d.ts +7 -0
  230. package/lib/modules/connection-gateway/components/phone/components/calling/index.js +58 -0
  231. package/lib/modules/connection-gateway/components/phone/components/remeber/index.css +10 -0
  232. package/lib/modules/connection-gateway/components/phone/components/remeber/index.d.ts +5 -0
  233. package/lib/modules/connection-gateway/components/phone/components/remeber/index.js +24 -0
  234. package/lib/modules/connection-gateway/components/phone/components/useing/index.css +46 -0
  235. package/lib/modules/connection-gateway/components/phone/components/useing/index.d.ts +3 -0
  236. package/lib/modules/connection-gateway/components/phone/components/useing/index.js +36 -0
  237. package/lib/modules/connection-gateway/components/phone/index.css +49 -0
  238. package/lib/modules/connection-gateway/components/phone/index.d.ts +3 -0
  239. package/lib/modules/connection-gateway/components/phone/index.js +181 -0
  240. package/lib/modules/connection-gateway/components/tabs/index.css +31 -0
  241. package/lib/modules/connection-gateway/components/tabs/index.d.ts +4 -0
  242. package/lib/modules/connection-gateway/components/tabs/index.js +43 -0
  243. package/lib/modules/connection-gateway/index.css +6 -0
  244. package/lib/modules/connection-gateway/index.d.ts +16 -0
  245. package/lib/modules/connection-gateway/index.js +67 -0
  246. package/lib/modules/connection-gateway/store.d.ts +80 -0
  247. package/lib/modules/connection-gateway/store.js +698 -0
  248. package/lib/modules/connection-gateway/view.d.ts +1 -0
  249. package/lib/modules/connection-gateway/view.js +22 -0
  250. package/lib/modules/device-pretest/assets/virtual-backdound-resources.d.ts +13 -0
  251. package/lib/modules/device-pretest/assets/virtual-backdound-resources.js +15 -0
  252. package/lib/modules/device-pretest/audio-preview/microphone-detection.d.ts +12 -0
  253. package/lib/modules/device-pretest/audio-preview/microphone-detection.js +71 -0
  254. package/lib/modules/device-pretest/audio-preview/speaker-control.d.ts +1 -0
  255. package/lib/modules/device-pretest/audio-preview/speaker-control.js +63 -0
  256. package/lib/modules/device-pretest/audio-preview/speaker-detection.d.ts +12 -0
  257. package/lib/modules/device-pretest/audio-preview/speaker-detection.js +71 -0
  258. package/lib/modules/device-pretest/context.d.ts +3 -0
  259. package/lib/modules/device-pretest/context.js +9 -0
  260. package/lib/modules/device-pretest/index.css +127 -0
  261. package/lib/modules/device-pretest/index.d.ts +12 -0
  262. package/lib/modules/device-pretest/index.js +242 -0
  263. package/lib/modules/device-pretest/settings/beauty.d.ts +10 -0
  264. package/lib/modules/device-pretest/settings/beauty.js +103 -0
  265. package/lib/modules/device-pretest/settings/camera-select.d.ts +12 -0
  266. package/lib/modules/device-pretest/settings/camera-select.js +53 -0
  267. package/lib/modules/device-pretest/settings/index.css +15 -0
  268. package/lib/modules/device-pretest/settings/video-effect.d.ts +11 -0
  269. package/lib/modules/device-pretest/settings/video-effect.js +50 -0
  270. package/lib/modules/device-pretest/settings/video-settings-basic.d.ts +2 -0
  271. package/lib/modules/device-pretest/settings/video-settings-basic.js +143 -0
  272. package/lib/modules/device-pretest/settings/virtual-background-setting.d.ts +7 -0
  273. package/lib/modules/device-pretest/settings/virtual-background-setting.js +99 -0
  274. package/lib/modules/device-pretest/store.d.ts +69 -0
  275. package/lib/modules/device-pretest/store.js +413 -0
  276. package/lib/modules/device-settings/audio-settings/audio-settings.d.ts +4 -0
  277. package/lib/modules/device-settings/audio-settings/audio-settings.js +297 -0
  278. package/lib/modules/device-settings/audio-settings/index.css +139 -0
  279. package/lib/modules/device-settings/audio-settings/microphone-detection.d.ts +2 -0
  280. package/lib/modules/device-settings/audio-settings/microphone-detection.js +68 -0
  281. package/lib/modules/device-settings/audio-settings/speaker-detection.d.ts +2 -0
  282. package/lib/modules/device-settings/audio-settings/speaker-detection.js +72 -0
  283. package/lib/{fcr-ui-scene/src/containers/stream-window/index.d.ts → modules/device-settings/common/advance-link.d.ts} +1 -1
  284. package/lib/modules/device-settings/common/advance-link.js +27 -0
  285. package/lib/modules/device-settings/common/index.css +26 -0
  286. package/lib/modules/device-settings/common/useNamespace.d.ts +15 -0
  287. package/lib/modules/device-settings/common/useNamespace.js +66 -0
  288. package/lib/modules/device-settings/context.d.ts +3 -0
  289. package/lib/modules/device-settings/context.js +9 -0
  290. package/lib/modules/device-settings/dialog-wrapper.d.ts +2 -0
  291. package/lib/modules/device-settings/dialog-wrapper.js +110 -0
  292. package/lib/modules/device-settings/general-settings/general-settings.d.ts +4 -0
  293. package/lib/modules/device-settings/general-settings/general-settings.js +66 -0
  294. package/lib/modules/device-settings/general-settings/index.css +26 -0
  295. package/lib/modules/device-settings/index.css +109 -0
  296. package/lib/modules/device-settings/index.d.ts +21 -0
  297. package/lib/modules/device-settings/index.dev.d.ts +1 -0
  298. package/lib/modules/device-settings/index.dev.js +112 -0
  299. package/lib/modules/device-settings/index.js +84 -0
  300. package/lib/modules/device-settings/state/index.css +211 -0
  301. package/lib/modules/device-settings/state/index.d.ts +4 -0
  302. package/lib/modules/device-settings/state/index.js +330 -0
  303. package/lib/modules/device-settings/storage-settings/index.css +91 -0
  304. package/lib/modules/device-settings/storage-settings/storage-settings.d.ts +3 -0
  305. package/lib/modules/device-settings/storage-settings/storage-settings.js +84 -0
  306. package/lib/modules/device-settings/store.d.ts +205 -0
  307. package/lib/modules/device-settings/store.js +1035 -0
  308. package/lib/modules/device-settings/video-settings/camera-select.d.ts +2 -0
  309. package/lib/modules/device-settings/video-settings/camera-select.js +51 -0
  310. package/lib/modules/device-settings/video-settings/index.css +327 -0
  311. package/lib/modules/device-settings/video-settings/local-video-player.d.ts +3 -0
  312. package/lib/modules/device-settings/video-settings/local-video-player.js +37 -0
  313. package/lib/modules/device-settings/video-settings/mirror-toggle.d.ts +2 -0
  314. package/lib/modules/device-settings/video-settings/mirror-toggle.js +62 -0
  315. package/lib/modules/device-settings/video-settings/video-settings-basic.d.ts +9 -0
  316. package/lib/modules/device-settings/video-settings/video-settings-basic.js +177 -0
  317. package/lib/modules/device-settings/video-settings/video-settings.d.ts +6 -0
  318. package/lib/modules/device-settings/video-settings/video-settings.js +185 -0
  319. package/lib/modules/device-settings/view.d.ts +10 -0
  320. package/lib/modules/device-settings/view.js +193 -0
  321. package/lib/modules/dialog/components/chat/electron.d.ts +4 -0
  322. package/lib/modules/dialog/components/chat/electron.js +59 -0
  323. package/lib/modules/dialog/components/chat/index.d.ts +7 -0
  324. package/lib/modules/dialog/components/chat/index.js +66 -0
  325. package/lib/modules/dialog/components/confirm/electron.d.ts +10 -0
  326. package/lib/modules/dialog/components/confirm/electron.js +84 -0
  327. package/lib/modules/dialog/components/confirm/index.d.ts +10 -0
  328. package/lib/modules/dialog/components/confirm/index.js +75 -0
  329. package/lib/modules/dialog/components/connection-gateway/electron.d.ts +2 -0
  330. package/lib/modules/dialog/components/connection-gateway/electron.js +62 -0
  331. package/lib/modules/dialog/components/connection-gateway/index.css +27 -0
  332. package/lib/modules/dialog/components/connection-gateway/index.d.ts +3 -0
  333. package/lib/modules/dialog/components/connection-gateway/index.js +74 -0
  334. package/lib/modules/dialog/components/participant/electron.d.ts +2 -0
  335. package/lib/modules/dialog/components/participant/electron.js +85 -0
  336. package/lib/modules/dialog/components/participant/index.d.ts +3 -0
  337. package/lib/modules/dialog/components/participant/index.js +61 -0
  338. package/lib/modules/dialog/components/share-screen-selection/index.d.ts +4 -0
  339. package/lib/modules/dialog/components/share-screen-selection/index.js +42 -0
  340. package/lib/modules/dialog/components/whiteboard/index.d.ts +4 -0
  341. package/lib/modules/dialog/components/whiteboard/index.js +74 -0
  342. package/lib/modules/dialog/context.d.ts +3 -0
  343. package/lib/modules/dialog/context.js +9 -0
  344. package/lib/modules/dialog/dialogs.d.ts +11 -0
  345. package/lib/modules/dialog/dialogs.js +376 -0
  346. package/lib/modules/dialog/index.css +55 -0
  347. package/lib/modules/dialog/index.d.ts +29 -0
  348. package/lib/modules/dialog/index.js +80 -0
  349. package/lib/modules/dialog/store.d.ts +82 -0
  350. package/lib/modules/dialog/store.js +525 -0
  351. package/lib/modules/dialog/view.d.ts +5 -0
  352. package/lib/modules/dialog/view.js +30 -0
  353. package/lib/modules/event-toast/context.d.ts +3 -0
  354. package/lib/modules/event-toast/context.js +9 -0
  355. package/lib/modules/event-toast/index.d.ts +10 -0
  356. package/lib/modules/event-toast/index.js +41 -0
  357. package/lib/modules/event-toast/store.d.ts +9 -0
  358. package/lib/modules/event-toast/store.js +76 -0
  359. package/lib/modules/event-toast/view.d.ts +1 -0
  360. package/lib/modules/event-toast/view.js +14 -0
  361. package/lib/modules/invite/context.d.ts +3 -0
  362. package/lib/modules/invite/context.js +9 -0
  363. package/lib/modules/invite/index.css +318 -0
  364. package/lib/modules/invite/index.d.ts +13 -0
  365. package/lib/modules/invite/index.js +51 -0
  366. package/lib/modules/invite/pstn-invite.d.ts +2 -0
  367. package/lib/modules/invite/pstn-invite.js +271 -0
  368. package/lib/modules/invite/store.d.ts +71 -0
  369. package/lib/modules/invite/store.js +472 -0
  370. package/lib/modules/invite/view.d.ts +1 -0
  371. package/lib/modules/invite/view.js +47 -0
  372. package/lib/modules/invite/voip-invite.d.ts +1 -0
  373. package/lib/modules/invite/voip-invite.js +294 -0
  374. package/lib/modules/layout/components/Aside.d.ts +6 -0
  375. package/lib/modules/layout/components/Aside.js +144 -0
  376. package/lib/modules/layout/components/Carousel.d.ts +1 -0
  377. package/lib/modules/layout/components/Carousel.js +271 -0
  378. package/lib/modules/layout/components/Gallery.d.ts +1 -0
  379. package/lib/modules/layout/components/Gallery.js +360 -0
  380. package/lib/modules/layout/components/Layout.d.ts +2 -0
  381. package/lib/modules/layout/components/Layout.js +160 -0
  382. package/lib/modules/layout/components/UserWindow.d.ts +8 -0
  383. package/lib/modules/layout/components/UserWindow.js +513 -0
  384. package/lib/modules/layout/components/index.css +608 -0
  385. package/lib/modules/layout/components/index.d.ts +5 -0
  386. package/lib/modules/layout/components/index.js +55 -0
  387. package/lib/modules/layout/components/utils.d.ts +1 -0
  388. package/lib/modules/layout/components/utils.js +10 -0
  389. package/lib/modules/layout/context.d.ts +3 -0
  390. package/lib/modules/layout/context.js +9 -0
  391. package/lib/modules/layout/hooks.d.ts +14 -0
  392. package/lib/modules/layout/hooks.js +48 -0
  393. package/lib/modules/layout/index.css +27 -0
  394. package/lib/modules/layout/index.d.ts +10 -0
  395. package/lib/modules/layout/index.dev.d.ts +1 -0
  396. package/lib/modules/layout/index.dev.js +378 -0
  397. package/lib/modules/layout/index.js +72 -0
  398. package/lib/modules/layout/member-window/index.css +321 -0
  399. package/lib/modules/layout/member-window/index.d.ts +66 -0
  400. package/lib/modules/layout/member-window/index.js +730 -0
  401. package/lib/modules/layout/store.d.ts +176 -0
  402. package/lib/modules/layout/store.js +1278 -0
  403. package/lib/modules/layout/type.d.ts +64 -0
  404. package/lib/modules/layout/type.js +52 -0
  405. package/lib/modules/layout/video-window-datasource.d.ts +119 -0
  406. package/lib/modules/layout/video-window-datasource.js +1031 -0
  407. package/lib/modules/layout/view.d.ts +2 -0
  408. package/lib/modules/layout/view.js +10 -0
  409. package/lib/modules/live-streaming/context.d.ts +3 -0
  410. package/lib/modules/live-streaming/context.js +9 -0
  411. package/lib/modules/live-streaming/index.css +0 -0
  412. package/lib/modules/live-streaming/index.d.ts +13 -0
  413. package/lib/modules/live-streaming/index.dev.d.ts +1 -0
  414. package/lib/modules/live-streaming/index.dev.js +59 -0
  415. package/lib/modules/live-streaming/index.js +76 -0
  416. package/lib/modules/live-streaming/store.d.ts +38 -0
  417. package/lib/modules/live-streaming/store.js +360 -0
  418. package/lib/modules/live-streaming/view.d.ts +1 -0
  419. package/lib/modules/live-streaming/view.js +33 -0
  420. package/lib/modules/participant/attendee/index.css +14 -0
  421. package/lib/modules/participant/attendee/index.d.ts +19 -0
  422. package/lib/modules/participant/attendee/index.js +280 -0
  423. package/lib/modules/participant/attendee/participants-more-action.d.ts +18 -0
  424. package/lib/modules/participant/attendee/participants-more-action.js +275 -0
  425. package/lib/modules/participant/attendee/user-more-actions.d.ts +22 -0
  426. package/lib/modules/participant/attendee/user-more-actions.js +76 -0
  427. package/lib/modules/participant/can-moveable/index.d.ts +1 -0
  428. package/lib/modules/participant/can-moveable/index.js +68 -0
  429. package/lib/modules/participant/context.d.ts +3 -0
  430. package/lib/modules/participant/context.js +9 -0
  431. package/lib/modules/participant/index.css +58 -0
  432. package/lib/modules/participant/index.d.ts +25 -0
  433. package/lib/modules/participant/index.dev.d.ts +1 -0
  434. package/lib/modules/participant/index.dev.js +98 -0
  435. package/lib/modules/participant/index.js +93 -0
  436. package/lib/modules/participant/member-list-data-source.d.ts +28 -0
  437. package/lib/modules/participant/member-list-data-source.js +261 -0
  438. package/lib/modules/participant/room-control-drop-menu/index.css +19 -0
  439. package/lib/modules/participant/room-control-drop-menu/index.d.ts +2 -0
  440. package/lib/modules/participant/room-control-drop-menu/index.js +154 -0
  441. package/lib/modules/participant/store.d.ts +145 -0
  442. package/lib/modules/participant/store.js +1334 -0
  443. package/lib/modules/participant/type.d.ts +34 -0
  444. package/lib/modules/participant/type.js +22 -0
  445. package/lib/modules/participant/view.d.ts +11 -0
  446. package/lib/modules/participant/view.js +260 -0
  447. package/lib/modules/setting/audio-settings/audio-settings.d.ts +4 -0
  448. package/lib/modules/setting/audio-settings/audio-settings.js +303 -0
  449. package/lib/modules/setting/audio-settings/index.css +144 -0
  450. package/lib/modules/setting/common/advance-link.d.ts +3 -0
  451. package/lib/modules/setting/common/advance-link.js +27 -0
  452. package/lib/modules/setting/common/index.css +26 -0
  453. package/lib/modules/setting/common/useNamespace.d.ts +15 -0
  454. package/lib/modules/setting/common/useNamespace.js +66 -0
  455. package/lib/modules/setting/config.d.ts +16 -0
  456. package/lib/modules/setting/config.js +17 -0
  457. package/lib/modules/setting/context.d.ts +3 -0
  458. package/lib/modules/setting/context.js +9 -0
  459. package/lib/modules/setting/dialog-wrapper.d.ts +2 -0
  460. package/lib/modules/setting/dialog-wrapper.js +110 -0
  461. package/lib/modules/setting/general-settings/general-settings.d.ts +4 -0
  462. package/lib/modules/setting/general-settings/general-settings.js +66 -0
  463. package/lib/modules/setting/general-settings/index.css +26 -0
  464. package/lib/modules/setting/index.css +115 -0
  465. package/lib/modules/setting/index.d.ts +21 -0
  466. package/lib/modules/setting/index.dev.d.ts +1 -0
  467. package/lib/modules/setting/index.dev.js +71 -0
  468. package/lib/modules/setting/index.js +81 -0
  469. package/lib/modules/setting/state/index.css +211 -0
  470. package/lib/modules/setting/state/index.d.ts +4 -0
  471. package/lib/modules/setting/state/index.js +331 -0
  472. package/lib/modules/setting/storage-settings/index.css +91 -0
  473. package/lib/modules/setting/storage-settings/storage-settings.d.ts +3 -0
  474. package/lib/modules/setting/storage-settings/storage-settings.js +84 -0
  475. package/lib/modules/setting/store.d.ts +213 -0
  476. package/lib/modules/setting/store.js +1125 -0
  477. package/lib/modules/setting/video-settings/index.css +339 -0
  478. package/lib/modules/setting/video-settings/video-settings-basic.d.ts +9 -0
  479. package/lib/modules/setting/video-settings/video-settings-basic.js +160 -0
  480. package/lib/modules/setting/video-settings/video-settings.d.ts +10 -0
  481. package/lib/modules/setting/video-settings/video-settings.js +191 -0
  482. package/lib/modules/setting/view.d.ts +10 -0
  483. package/lib/modules/setting/view.js +139 -0
  484. package/lib/modules/share-screen/context.d.ts +3 -0
  485. package/lib/modules/share-screen/context.js +9 -0
  486. package/lib/modules/share-screen/index.css +0 -0
  487. package/lib/modules/share-screen/index.d.ts +26 -0
  488. package/lib/modules/share-screen/index.dev.d.ts +1 -0
  489. package/lib/modules/share-screen/index.dev.js +96 -0
  490. package/lib/modules/share-screen/index.js +171 -0
  491. package/lib/modules/share-screen/selection/index.css +66 -0
  492. package/lib/modules/share-screen/selection/index.d.ts +9 -0
  493. package/lib/modules/share-screen/selection/index.js +224 -0
  494. package/lib/modules/share-screen/share-state-bar/index.css +38 -0
  495. package/lib/modules/share-screen/share-state-bar/index.d.ts +5 -0
  496. package/lib/modules/share-screen/share-state-bar/index.js +67 -0
  497. package/lib/modules/share-screen/store.d.ts +132 -0
  498. package/lib/modules/share-screen/store.js +1714 -0
  499. package/lib/modules/share-screen/view.d.ts +2 -0
  500. package/lib/modules/share-screen/view.js +45 -0
  501. package/lib/modules/state-bar/assets/fcr_grid_big.svg +3 -0
  502. package/lib/modules/state-bar/assets/fcr_listontop_big.svg +3 -0
  503. package/lib/modules/state-bar/assets/live-streaming.gif +0 -0
  504. package/lib/modules/state-bar/context.d.ts +3 -0
  505. package/lib/modules/state-bar/context.js +9 -0
  506. package/lib/modules/state-bar/index.css +630 -0
  507. package/lib/modules/state-bar/index.d.ts +18 -0
  508. package/lib/modules/state-bar/index.dev.d.ts +1 -0
  509. package/lib/modules/state-bar/index.dev.js +82 -0
  510. package/lib/modules/state-bar/index.js +69 -0
  511. package/lib/modules/state-bar/layout-config.d.ts +5 -0
  512. package/lib/modules/state-bar/layout-config.js +151 -0
  513. package/lib/modules/state-bar/live-streaming-state.d.ts +1 -0
  514. package/lib/modules/state-bar/live-streaming-state.js +199 -0
  515. package/lib/modules/state-bar/meeting-detail.css +107 -0
  516. package/lib/modules/state-bar/meeting-details.d.ts +2 -0
  517. package/lib/modules/state-bar/meeting-details.js +151 -0
  518. package/lib/modules/state-bar/meeting-network-state.css +131 -0
  519. package/lib/modules/state-bar/meeting-network-state.d.ts +2 -0
  520. package/lib/modules/state-bar/meeting-network-state.js +108 -0
  521. package/lib/modules/state-bar/meeting-time.d.ts +2 -0
  522. package/lib/modules/state-bar/meeting-time.js +49 -0
  523. package/lib/modules/state-bar/network-quality.d.ts +2 -0
  524. package/lib/modules/state-bar/network-quality.js +33 -0
  525. package/lib/modules/state-bar/recording.d.ts +1 -0
  526. package/lib/modules/state-bar/recording.js +110 -0
  527. package/lib/modules/state-bar/store.d.ts +70 -0
  528. package/lib/modules/state-bar/store.js +515 -0
  529. package/lib/modules/state-bar/view.d.ts +5 -0
  530. package/lib/modules/state-bar/view.js +182 -0
  531. package/lib/modules/video-window/context.d.ts +3 -0
  532. package/lib/modules/video-window/context.js +9 -0
  533. package/lib/modules/video-window/deviceState/index.d.ts +15 -0
  534. package/lib/modules/video-window/deviceState/index.js +77 -0
  535. package/lib/modules/video-window/index.css +17 -0
  536. package/lib/modules/video-window/index.d.ts +9 -0
  537. package/lib/modules/video-window/index.js +65 -0
  538. package/lib/modules/video-window/members/index.css +50 -0
  539. package/lib/modules/video-window/members/index.d.ts +2 -0
  540. package/lib/modules/video-window/members/index.js +134 -0
  541. package/lib/modules/video-window/speaking/index.css +69 -0
  542. package/lib/modules/video-window/speaking/index.d.ts +3 -0
  543. package/lib/modules/video-window/speaking/index.js +57 -0
  544. package/lib/modules/video-window/store.d.ts +88 -0
  545. package/lib/modules/video-window/store.js +598 -0
  546. package/lib/modules/video-window/topControl/index.css +35 -0
  547. package/lib/modules/video-window/topControl/index.d.ts +3 -0
  548. package/lib/modules/video-window/topControl/index.js +85 -0
  549. package/lib/modules/video-window/type.d.ts +23 -0
  550. package/lib/modules/video-window/type.js +32 -0
  551. package/lib/modules/video-window/view.d.ts +2 -0
  552. package/lib/modules/video-window/view.js +63 -0
  553. package/lib/modules/whiteboard/app.d.ts +2 -0
  554. package/lib/modules/whiteboard/app.js +55 -0
  555. package/lib/modules/whiteboard/components/control-bar/index.css +49 -0
  556. package/lib/modules/whiteboard/components/control-bar/index.d.ts +2 -0
  557. package/lib/modules/whiteboard/components/control-bar/index.js +163 -0
  558. package/lib/modules/whiteboard/components/control-bar/store.d.ts +36 -0
  559. package/lib/modules/whiteboard/components/control-bar/store.js +288 -0
  560. package/lib/modules/whiteboard/components/loading/index.css +76 -0
  561. package/lib/modules/whiteboard/components/loading/index.d.ts +2 -0
  562. package/lib/modules/whiteboard/components/loading/index.js +68 -0
  563. package/lib/modules/whiteboard/components/loading/loading.png +0 -0
  564. package/lib/modules/whiteboard/components/multi-window/index.css +63 -0
  565. package/lib/modules/whiteboard/components/multi-window/index.d.ts +5 -0
  566. package/lib/modules/whiteboard/components/multi-window/index.js +34 -0
  567. package/lib/modules/whiteboard/components/pagination/index.css +228 -0
  568. package/lib/modules/whiteboard/components/pagination/index.d.ts +15 -0
  569. package/lib/modules/whiteboard/components/pagination/index.js +163 -0
  570. package/lib/modules/whiteboard/components/pagination/store.d.ts +19 -0
  571. package/lib/modules/whiteboard/components/pagination/store.js +17 -0
  572. package/lib/modules/whiteboard/components/progress/electron.d.ts +1 -0
  573. package/lib/modules/whiteboard/components/progress/electron.js +32 -0
  574. package/lib/modules/whiteboard/components/progress/index.d.ts +5 -0
  575. package/lib/modules/whiteboard/components/progress/index.js +43 -0
  576. package/lib/modules/whiteboard/components/progress/style.css +50 -0
  577. package/lib/modules/whiteboard/components/scene-pagination.d.ts +1 -0
  578. package/lib/modules/whiteboard/components/scene-pagination.js +32 -0
  579. package/lib/modules/whiteboard/components/switch-theme/index.css +94 -0
  580. package/lib/modules/whiteboard/components/switch-theme/index.d.ts +2 -0
  581. package/lib/modules/whiteboard/components/switch-theme/index.js +77 -0
  582. package/lib/modules/whiteboard/components/switch-theme/item.d.ts +8 -0
  583. package/lib/modules/whiteboard/components/switch-theme/item.js +44 -0
  584. package/lib/modules/whiteboard/components/switch-theme/libs.d.ts +3 -0
  585. package/lib/modules/whiteboard/components/switch-theme/libs.js +28 -0
  586. package/lib/modules/whiteboard/components/toolbar/ style.css +588 -0
  587. package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/color.d.ts +5 -0
  588. package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/color.js +39 -0
  589. package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/panel.d.ts +1 -0
  590. package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/panel.js +105 -0
  591. package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/picker.d.ts +1 -0
  592. package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/picker.js +63 -0
  593. package/lib/modules/whiteboard/components/toolbar/components/color-picker/index.d.ts +2 -0
  594. package/lib/modules/whiteboard/components/toolbar/components/color-picker/index.js +44 -0
  595. package/lib/modules/whiteboard/components/toolbar/components/eraser-picker.d.ts +4 -0
  596. package/lib/modules/whiteboard/components/toolbar/components/eraser-picker.js +98 -0
  597. package/lib/modules/whiteboard/components/toolbar/components/extra-tool-picker.d.ts +1 -0
  598. package/lib/modules/whiteboard/components/toolbar/components/extra-tool-picker.js +59 -0
  599. package/lib/modules/whiteboard/components/toolbar/components/history.d.ts +2 -0
  600. package/lib/modules/whiteboard/components/toolbar/components/history.js +46 -0
  601. package/lib/modules/whiteboard/components/toolbar/components/icons/fold-icon.d.ts +2 -0
  602. package/lib/modules/whiteboard/components/toolbar/components/icons/fold-icon.js +41 -0
  603. package/lib/modules/whiteboard/components/toolbar/components/icons/move-icon.d.ts +1 -0
  604. package/lib/modules/whiteboard/components/toolbar/components/icons/move-icon.js +66 -0
  605. package/lib/modules/whiteboard/components/toolbar/components/move-handle.d.ts +5 -0
  606. package/lib/modules/whiteboard/components/toolbar/components/move-handle.js +131 -0
  607. package/lib/modules/whiteboard/components/toolbar/components/pen-picker.d.ts +4 -0
  608. package/lib/modules/whiteboard/components/toolbar/components/pen-picker.js +112 -0
  609. package/lib/modules/whiteboard/components/toolbar/components/screen-capture-picker.d.ts +4 -0
  610. package/lib/modules/whiteboard/components/toolbar/components/screen-capture-picker.js +74 -0
  611. package/lib/modules/whiteboard/components/toolbar/components/shape-picker.d.ts +4 -0
  612. package/lib/modules/whiteboard/components/toolbar/components/shape-picker.js +163 -0
  613. package/lib/modules/whiteboard/components/toolbar/hooks/index.d.ts +14 -0
  614. package/lib/modules/whiteboard/components/toolbar/hooks/index.js +211 -0
  615. package/lib/modules/whiteboard/components/toolbar/index.d.ts +2 -0
  616. package/lib/modules/whiteboard/components/toolbar/index.js +175 -0
  617. package/lib/modules/whiteboard/components/toolbar/store.d.ts +50 -0
  618. package/lib/modules/whiteboard/components/toolbar/store.js +224 -0
  619. package/lib/modules/whiteboard/context.d.ts +66 -0
  620. package/lib/modules/whiteboard/context.js +34 -0
  621. package/lib/modules/whiteboard/i18n/config.d.ts +1 -0
  622. package/lib/modules/whiteboard/i18n/config.js +15 -0
  623. package/lib/modules/whiteboard/i18n/en/index.d.ts +32 -0
  624. package/lib/modules/whiteboard/i18n/en/index.js +38 -0
  625. package/lib/modules/whiteboard/i18n/zh/index.d.ts +32 -0
  626. package/lib/modules/whiteboard/i18n/zh/index.js +38 -0
  627. package/lib/modules/whiteboard/index.d.ts +114 -0
  628. package/lib/modules/whiteboard/index.js +1082 -0
  629. package/lib/modules/whiteboard/style.css +142 -0
  630. package/lib/modules/whiteboard/type.d.ts +96 -0
  631. package/lib/modules/whiteboard/type.js +94 -0
  632. package/lib/modules/whiteboard/utils.d.ts +11 -0
  633. package/lib/modules/whiteboard/utils.js +25 -0
  634. package/lib/plugins/browser-runtime-plugin.d.ts +0 -0
  635. package/lib/plugins/browser-runtime-plugin.js +70 -0
  636. package/lib/plugins/css-preset-plugin.d.ts +1 -0
  637. package/lib/plugins/css-preset-plugin.js +22 -0
  638. package/lib/plugins/electron-rtc-plugin.d.ts +1 -0
  639. package/lib/plugins/electron-rtc-plugin.js +5 -0
  640. package/lib/plugins/module-dev-plugin.d.ts +12 -0
  641. package/lib/plugins/module-dev-plugin.js +181 -0
  642. package/lib/plugins/multi-lang-plugin.d.ts +5 -0
  643. package/lib/plugins/multi-lang-plugin.js +17 -0
  644. package/lib/plugins/rtm-plugin.d.ts +1 -0
  645. package/lib/plugins/rtm-plugin.js +5 -0
  646. package/lib/plugins/web-rtc-plugin.d.ts +1 -0
  647. package/lib/plugins/web-rtc-plugin.js +5 -0
  648. package/lib/translations/enUS.d.ts +993 -0
  649. package/lib/translations/enUS.js +1016 -0
  650. package/lib/translations/zhCN.d.ts +993 -0
  651. package/lib/translations/zhCN.js +1016 -0
  652. package/lib/type.d.ts +107 -0
  653. package/lib/type.js +42 -0
  654. package/lib/ui-manager.d.ts +17 -0
  655. package/lib/ui-manager.js +555 -0
  656. package/lib/ui-scene.d.ts +13 -0
  657. package/lib/ui-scene.js +142 -0
  658. package/lib/utilities/board-context.d.ts +5 -0
  659. package/lib/utilities/board-context.js +12 -0
  660. package/lib/utilities/constant.d.ts +248 -0
  661. package/lib/utilities/constant.js +232 -0
  662. package/lib/utilities/copyText.d.ts +2 -0
  663. package/lib/utilities/copyText.js +43 -0
  664. package/lib/utilities/default-config.d.ts +32 -0
  665. package/lib/utilities/default-config.js +39 -0
  666. package/lib/utilities/extract.d.ts +5 -0
  667. package/lib/utilities/extract.js +97 -0
  668. package/lib/utilities/hooks.d.ts +14 -0
  669. package/lib/utilities/hooks.js +99 -0
  670. package/lib/utilities/mute-action.d.ts +4 -0
  671. package/lib/utilities/mute-action.js +48 -0
  672. package/lib/utilities/parameters.d.ts +7 -0
  673. package/lib/utilities/parameters.js +20 -0
  674. package/lib/utilities/platform.d.ts +1 -0
  675. package/lib/utilities/platform.js +11 -0
  676. package/lib/utilities/regex.d.ts +1 -0
  677. package/lib/utilities/regex.js +14 -0
  678. package/lib/utilities/renderer-event.d.ts +9 -0
  679. package/lib/utilities/renderer-event.js +76 -0
  680. package/lib/utilities/renderer.d.ts +23 -0
  681. package/lib/utilities/renderer.js +109 -0
  682. package/lib/utilities/screen.d.ts +3 -0
  683. package/lib/utilities/screen.js +41 -0
  684. package/lib/utilities/tools.d.ts +25 -0
  685. package/lib/utilities/tools.js +164 -0
  686. package/lib/utilities/ui-resources.d.ts +2 -0
  687. package/lib/utilities/ui-resources.js +9 -0
  688. package/lib/utilities/useNamespace.d.ts +15 -0
  689. package/lib/utilities/useNamespace.js +66 -0
  690. package/lib/utilities/video-track-render-context.d.ts +8 -0
  691. package/lib/utilities/video-track-render-context.js +9 -0
  692. package/package.json +59 -84
  693. package/public/assets/fcr_chat_reddot.svg +5 -0
  694. package/public/assets/fcr_defaultpage.png +0 -0
  695. package/public/assets/fcr_grid_big.svg +3 -0
  696. package/public/assets/fcr_listontop_big.svg +3 -0
  697. package/public/assets/pretest.mp3 +0 -0
  698. package/public/assets/state-bar-logo.png +0 -0
  699. package/public/assets/step-gradient.svg +10 -0
  700. package/public/extensions/agora-extension-virtual-background/agora-wasm.wasm +0 -0
  701. package/public/extensions/ai-denoiser/denoiser-wasm-simd.wasm +0 -0
  702. package/public/extensions/ai-denoiser/denoiser-wasm.js +1 -0
  703. package/public/extensions/ai-denoiser/denoiser-wasm.wasm +0 -0
  704. package/public/index.html +26 -0
  705. package/lib/fcr-ui-kit/src/components/avatar/helper.d.ts +0 -2
  706. package/lib/fcr-ui-kit/src/components/avatar/index.d.ts +0 -8
  707. package/lib/fcr-ui-kit/src/components/button/index.d.ts +0 -82
  708. package/lib/fcr-ui-kit/src/components/checkbox/index.d.ts +0 -12
  709. package/lib/fcr-ui-kit/src/components/dialog/class-dialog.d.ts +0 -51
  710. package/lib/fcr-ui-kit/src/components/dialog/confirm-dialog.d.ts +0 -70
  711. package/lib/fcr-ui-kit/src/components/dialog/global-dialog.d.ts +0 -11
  712. package/lib/fcr-ui-kit/src/components/dialog/index.d.ts +0 -68
  713. package/lib/fcr-ui-kit/src/components/dropdown/index.d.ts +0 -58
  714. package/lib/fcr-ui-kit/src/components/input/index.d.ts +0 -69
  715. package/lib/fcr-ui-kit/src/components/input-number/index.d.ts +0 -69
  716. package/lib/fcr-ui-kit/src/components/pagination/index.d.ts +0 -27
  717. package/lib/fcr-ui-kit/src/components/popover/index.d.ts +0 -47
  718. package/lib/fcr-ui-kit/src/components/progress/index.d.ts +0 -11
  719. package/lib/fcr-ui-kit/src/components/radio/index.d.ts +0 -21
  720. package/lib/fcr-ui-kit/src/components/slider/index.d.ts +0 -22
  721. package/lib/fcr-ui-kit/src/components/sound-player/index.d.ts +0 -6
  722. package/lib/fcr-ui-kit/src/components/svg-img/clickable-icon.d.ts +0 -25
  723. package/lib/fcr-ui-kit/src/components/svg-img/index.d.ts +0 -15
  724. package/lib/fcr-ui-kit/src/components/svg-img/mic.d.ts +0 -5
  725. package/lib/fcr-ui-kit/src/components/svg-img/svg-dict.d.ts +0 -12
  726. package/lib/fcr-ui-kit/src/components/svg-img/type.d.ts +0 -196
  727. package/lib/fcr-ui-kit/src/components/svga-player/index.d.ts +0 -15
  728. package/lib/fcr-ui-kit/src/components/svga-player/svga-types.d.ts +0 -1
  729. package/lib/fcr-ui-kit/src/components/table/index.d.ts +0 -9
  730. package/lib/fcr-ui-kit/src/components/tabs/index.d.ts +0 -14
  731. package/lib/fcr-ui-kit/src/components/textarea/helper.d.ts +0 -2
  732. package/lib/fcr-ui-kit/src/components/textarea/index.d.ts +0 -100
  733. package/lib/fcr-ui-kit/src/components/toast/index.d.ts +0 -122
  734. package/lib/fcr-ui-kit/src/components/tooltip/dialog.d.ts +0 -19
  735. package/lib/fcr-ui-kit/src/components/tooltip/index.d.ts +0 -89
  736. package/lib/fcr-ui-kit/src/components/tooltip/info.d.ts +0 -6
  737. package/lib/fcr-ui-kit/src/components/volume/index.d.ts +0 -8
  738. package/lib/fcr-ui-kit/src/utils/click-anywhere.d.ts +0 -1
  739. package/lib/fcr-ui-kit/src/utils/hooks/animations.d.ts +0 -14
  740. package/lib/fcr-ui-kit/src/utils/hooks/use-click-anywhere.d.ts +0 -2
  741. package/lib/fcr-ui-kit/src/utils/tailwindcss.d.ts +0 -3
  742. package/lib/fcr-ui-scene/src/app.d.ts +0 -5
  743. package/lib/fcr-ui-scene/src/configs/base-theme.d.ts +0 -391
  744. package/lib/fcr-ui-scene/src/configs/base-ui.d.ts +0 -12
  745. package/lib/fcr-ui-scene/src/configs/room-template.d.ts +0 -3
  746. package/lib/fcr-ui-scene/src/containers/action-bar/chat/index.d.ts +0 -3
  747. package/lib/fcr-ui-scene/src/containers/action-bar/cloud/index.d.ts +0 -3
  748. package/lib/fcr-ui-scene/src/containers/action-bar/device/index.d.ts +0 -9
  749. package/lib/fcr-ui-scene/src/containers/action-bar/index.d.ts +0 -24
  750. package/lib/fcr-ui-scene/src/containers/action-bar/leave/index.d.ts +0 -4
  751. package/lib/fcr-ui-scene/src/containers/action-bar/participants/index.d.ts +0 -5
  752. package/lib/fcr-ui-scene/src/containers/action-bar/raise-hands/index.d.ts +0 -3
  753. package/lib/fcr-ui-scene/src/containers/action-bar/record/index.d.ts +0 -3
  754. package/lib/fcr-ui-scene/src/containers/action-bar/screen-share/index.d.ts +0 -3
  755. package/lib/fcr-ui-scene/src/containers/action-bar/setting/index.d.ts +0 -3
  756. package/lib/fcr-ui-scene/src/containers/action-bar/toolbox/index.d.ts +0 -3
  757. package/lib/fcr-ui-scene/src/containers/action-bar/whiteboard/index.d.ts +0 -3
  758. package/lib/fcr-ui-scene/src/containers/breakout-room/ask-help-list.d.ts +0 -10
  759. package/lib/fcr-ui-scene/src/containers/breakout-room/broadcast-panel.d.ts +0 -4
  760. package/lib/fcr-ui-scene/src/containers/breakout-room/create-panel.d.ts +0 -4
  761. package/lib/fcr-ui-scene/src/containers/breakout-room/group-info-panel.d.ts +0 -2
  762. package/lib/fcr-ui-scene/src/containers/breakout-room/group-panel.d.ts +0 -5
  763. package/lib/fcr-ui-scene/src/containers/breakout-room/group-status-panel.d.ts +0 -2
  764. package/lib/fcr-ui-scene/src/containers/breakout-room/grouping.d.ts +0 -15
  765. package/lib/fcr-ui-scene/src/containers/breakout-room/index.d.ts +0 -3
  766. package/lib/fcr-ui-scene/src/containers/breakout-room/search-panel.d.ts +0 -5
  767. package/lib/fcr-ui-scene/src/containers/breakout-room/wizard.d.ts +0 -6
  768. package/lib/fcr-ui-scene/src/containers/cloud/dialog-header.d.ts +0 -3
  769. package/lib/fcr-ui-scene/src/containers/cloud/index.d.ts +0 -6
  770. package/lib/fcr-ui-scene/src/containers/cloud/personal.d.ts +0 -3
  771. package/lib/fcr-ui-scene/src/containers/cloud/public.d.ts +0 -4
  772. package/lib/fcr-ui-scene/src/containers/common/interact-labels.d.ts +0 -6
  773. package/lib/fcr-ui-scene/src/containers/device-pretest/basic-settings.d.ts +0 -4
  774. package/lib/fcr-ui-scene/src/containers/device-pretest/beauty-filter.d.ts +0 -2
  775. package/lib/fcr-ui-scene/src/containers/device-pretest/beauty-slider.d.ts +0 -2
  776. package/lib/fcr-ui-scene/src/containers/device-pretest/device-select.d.ts +0 -4
  777. package/lib/fcr-ui-scene/src/containers/device-pretest/index.d.ts +0 -4
  778. package/lib/fcr-ui-scene/src/containers/device-pretest/mirror-toggle.d.ts +0 -4
  779. package/lib/fcr-ui-scene/src/containers/device-pretest/video-portal.d.ts +0 -2
  780. package/lib/fcr-ui-scene/src/containers/device-pretest/virtual-background.d.ts +0 -4
  781. package/lib/fcr-ui-scene/src/containers/device-settings/audio-settings.d.ts +0 -2
  782. package/lib/fcr-ui-scene/src/containers/device-settings/dialog-wrapper.d.ts +0 -2
  783. package/lib/fcr-ui-scene/src/containers/device-settings/index.d.ts +0 -3
  784. package/lib/fcr-ui-scene/src/containers/device-settings/video-settings.d.ts +0 -2
  785. package/lib/fcr-ui-scene/src/containers/dialog/class-info.d.ts +0 -3
  786. package/lib/fcr-ui-scene/src/containers/dialog/confirm.d.ts +0 -3
  787. package/lib/fcr-ui-scene/src/containers/dialog/index.d.ts +0 -2
  788. package/lib/fcr-ui-scene/src/containers/layout/cover-view.d.ts +0 -2
  789. package/lib/fcr-ui-scene/src/containers/layout/gallery-view.d.ts +0 -3
  790. package/lib/fcr-ui-scene/src/containers/layout/presentation-view.d.ts +0 -3
  791. package/lib/fcr-ui-scene/src/containers/loading/index.d.ts +0 -3
  792. package/lib/fcr-ui-scene/src/containers/participants/dialog.d.ts +0 -2
  793. package/lib/fcr-ui-scene/src/containers/participants/index.d.ts +0 -5
  794. package/lib/fcr-ui-scene/src/containers/status-bar/class-duration/index.d.ts +0 -3
  795. package/lib/fcr-ui-scene/src/containers/status-bar/fullscreen/index.d.ts +0 -3
  796. package/lib/fcr-ui-scene/src/containers/status-bar/index.d.ts +0 -4
  797. package/lib/fcr-ui-scene/src/containers/status-bar/layout-switch/index.d.ts +0 -22
  798. package/lib/fcr-ui-scene/src/containers/status-bar/network/index.d.ts +0 -4
  799. package/lib/fcr-ui-scene/src/containers/status-bar/record-status/index.d.ts +0 -3
  800. package/lib/fcr-ui-scene/src/containers/status-bar/room-info/index.d.ts +0 -4
  801. package/lib/fcr-ui-scene/src/containers/status-bar/share/index.d.ts +0 -3
  802. package/lib/fcr-ui-scene/src/containers/status-bar/widgets/index.d.ts +0 -3
  803. package/lib/fcr-ui-scene/src/containers/stream-window/context.d.ts +0 -52
  804. package/lib/fcr-ui-scene/src/containers/video-player/index.d.ts +0 -2
  805. package/lib/fcr-ui-scene/src/containers/video-player/players.d.ts +0 -3
  806. package/lib/fcr-ui-scene/src/containers/widget/break-out-room/index.d.ts +0 -2
  807. package/lib/fcr-ui-scene/src/containers/widget/draggable-wrapper/index.d.ts +0 -7
  808. package/lib/fcr-ui-scene/src/containers/widget/helpers.d.ts +0 -40
  809. package/lib/fcr-ui-scene/src/containers/widget/hooks.d.ts +0 -21
  810. package/lib/fcr-ui-scene/src/containers/widget/index.d.ts +0 -7
  811. package/lib/fcr-ui-scene/src/containers/widget/participants/index.d.ts +0 -2
  812. package/lib/fcr-ui-scene/src/extension/board.d.ts +0 -73
  813. package/lib/fcr-ui-scene/src/extension/edu-tool.d.ts +0 -57
  814. package/lib/fcr-ui-scene/src/extension/events.d.ts +0 -91
  815. package/lib/fcr-ui-scene/src/extension/type.d.ts +0 -94
  816. package/lib/fcr-ui-scene/src/index.d.ts +0 -39
  817. package/lib/fcr-ui-scene/src/lock.d.ts +0 -8
  818. package/lib/fcr-ui-scene/src/preset.d.ts +0 -1
  819. package/lib/fcr-ui-scene/src/resources/translations/enUs.d.ts +0 -400
  820. package/lib/fcr-ui-scene/src/resources/translations/zhCn.d.ts +0 -405
  821. package/lib/fcr-ui-scene/src/scenarios/classroom.d.ts +0 -2
  822. package/lib/fcr-ui-scene/src/scenarios/layout/index.d.ts +0 -2
  823. package/lib/fcr-ui-scene/src/type.d.ts +0 -361
  824. package/lib/fcr-ui-scene/src/uistores/action-bar.d.ts +0 -58
  825. package/lib/fcr-ui-scene/src/uistores/base.d.ts +0 -58
  826. package/lib/fcr-ui-scene/src/uistores/breakout.d.ts +0 -225
  827. package/lib/fcr-ui-scene/src/uistores/cloud/helper.d.ts +0 -26
  828. package/lib/fcr-ui-scene/src/uistores/cloud/index.d.ts +0 -51
  829. package/lib/fcr-ui-scene/src/uistores/cloud/struct.d.ts +0 -131
  830. package/lib/fcr-ui-scene/src/uistores/context.d.ts +0 -7
  831. package/lib/fcr-ui-scene/src/uistores/device-setting.d.ts +0 -214
  832. package/lib/fcr-ui-scene/src/uistores/gallery-view.d.ts +0 -16
  833. package/lib/fcr-ui-scene/src/uistores/getters.d.ts +0 -40
  834. package/lib/fcr-ui-scene/src/uistores/index.d.ts +0 -47
  835. package/lib/fcr-ui-scene/src/uistores/layout.d.ts +0 -64
  836. package/lib/fcr-ui-scene/src/uistores/notification.d.ts +0 -9
  837. package/lib/fcr-ui-scene/src/uistores/participants.d.ts +0 -48
  838. package/lib/fcr-ui-scene/src/uistores/presentation-view.d.ts +0 -24
  839. package/lib/fcr-ui-scene/src/uistores/status-bar.d.ts +0 -47
  840. package/lib/fcr-ui-scene/src/uistores/stream.d.ts +0 -48
  841. package/lib/fcr-ui-scene/src/uistores/subscription/abstract.d.ts +0 -45
  842. package/lib/fcr-ui-scene/src/uistores/subscription/index.d.ts +0 -13
  843. package/lib/fcr-ui-scene/src/uistores/subscription/main-room.d.ts +0 -14
  844. package/lib/fcr-ui-scene/src/uistores/subscription/type.d.ts +0 -10
  845. package/lib/fcr-ui-scene/src/uistores/type.d.ts +0 -86
  846. package/lib/fcr-ui-scene/src/uistores/widget.d.ts +0 -49
  847. package/lib/fcr-ui-scene/src/utils/asset.d.ts +0 -1
  848. package/lib/fcr-ui-scene/src/utils/check.d.ts +0 -7
  849. package/lib/fcr-ui-scene/src/utils/clamp-bounds.d.ts +0 -14
  850. package/lib/fcr-ui-scene/src/utils/config-loader.d.ts +0 -7
  851. package/lib/fcr-ui-scene/src/utils/grid/index.d.ts +0 -9
  852. package/lib/fcr-ui-scene/src/utils/hooks/use-authorization.d.ts +0 -5
  853. package/lib/fcr-ui-scene/src/utils/hooks/use-device-switch.d.ts +0 -29
  854. package/lib/fcr-ui-scene/src/utils/hooks/use-drag-position.d.ts +0 -21
  855. package/lib/fcr-ui-scene/src/utils/hooks/use-network.d.ts +0 -17
  856. package/lib/fcr-ui-scene/src/utils/hooks/use-pin-stream.d.ts +0 -4
  857. package/lib/fcr-ui-scene/src/utils/hooks/use-rnd-position.d.ts +0 -24
  858. package/lib/fcr-ui-scene/src/utils/hooks/use-store.d.ts +0 -1
  859. package/lib/fcr-ui-scene/src/utils/hooks/use-video-renderable.d.ts +0 -3
  860. package/lib/fcr-ui-scene/src/utils/hooks/use-z-index.d.ts +0 -8
  861. package/lib/fcr-ui-scene/src/utils/index.d.ts +0 -7
  862. package/lib/fcr-ui-scene/src/utils/launch-options-holder.d.ts +0 -10
  863. package/lib/fcr-ui-scene/src/utils/rtc-extensions.d.ts +0 -29
  864. package/lib/fcr-ui-scene/src/utils/short-name.d.ts +0 -1
  865. package/lib/fcr-ui-scene/src/utils/stream/index.d.ts +0 -3
  866. package/lib/fcr-ui-scene/src/utils/stream/state-keeper.d.ts +0 -18
  867. package/lib/fcr-ui-scene/src/utils/stream/struct.d.ts +0 -67
  868. package/lib/fcr-ui-scene/src/utils/vsd-pattern.d.ts +0 -1
  869. package/lib/fcr-ui-scene/src/utils/z-index-controller.d.ts +0 -9
  870. package/lib/fcr-ui-scene/tailwind.config.d.ts +0 -1
  871. package/lib/scene.bundle.js +0 -2
  872. /package/lib/{fcr-ui-scene/src/containers/video-player/tools-overlay.d.ts → fragments/toolbar/components/extension-toolbar-item.d.ts} +0 -0
@@ -0,0 +1,242 @@
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.FcrMeetingPreview = void 0;
9
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
10
+ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
11
+ var _devicePretest = require("agora-ui-foundation/lib/components/device-pretest");
12
+ var _useNamespace = require("../../utilities/useNamespace");
13
+ require("./index.css");
14
+ var _react = require("react");
15
+ var _context = require("./context");
16
+ var _localVideoPlayer = require("agora-ui-foundation/lib/components/local-video-player");
17
+ var _mobxReact = require("mobx-react");
18
+ require("agora-ui-foundation/lib/components/local-video-player/index.css");
19
+ require("../setting/video-settings/index.css");
20
+ var _videoEffect = require("./settings/video-effect");
21
+ var _env = require("agora-foundation/lib/utilities/env");
22
+ var _speakerControl = require("./audio-preview/speaker-control");
23
+ var _videoSettingsBasic = require("./settings/video-settings-basic");
24
+ var _virtualBackgroundSetting = require("./settings/virtual-background-setting");
25
+ var _beauty = require("./settings/beauty");
26
+ var _icon = require("agora-ui-foundation/lib/components/icon");
27
+ var _type = require("agora-ui-foundation/lib/components/icon/type");
28
+ var _tooltip = require("agora-ui-foundation/lib/components/tooltip");
29
+ var _i18n = require("agora-ui-foundation/lib/i18n");
30
+ var _dialog = require("agora-ui-foundation/lib/components/dialog");
31
+ var _jsxRuntime = require("react/jsx-runtime");
32
+ var FcrMeetingPreview = exports.FcrMeetingPreview = (0, _mobxReact.observer)(function (_ref) {
33
+ var onClick = _ref.onClick,
34
+ roomInfo = _ref.roomInfo,
35
+ nickName = _ref.nickName,
36
+ onExit = _ref.onExit;
37
+ var ns = (0, _useNamespace.useNamespace)('meeting-preview');
38
+ var deviceSettingsNs = (0, _useNamespace.useNamespace)('device-settings-video');
39
+ var transI18n = (0, _i18n.useI18n)();
40
+ var _useContext = (0, _react.useContext)(_context.PretestStoreContext),
41
+ setVideoOrientation = _useContext.setVideoOrientation,
42
+ setBeautyOptions = _useContext.setBeautyOptions,
43
+ isLocalMirrorEnabled = _useContext.isLocalMirrorEnabled,
44
+ isLocalEditBeautyOptions = _useContext.isLocalEditBeautyOptions,
45
+ currentBeautyKey = _useContext.currentBeautyKey,
46
+ beautyOptions = _useContext.beautyOptions,
47
+ cameraDeviceId = _useContext.cameraId,
48
+ cameraEnabled = _useContext.cameraEnabled,
49
+ previewCameraEnabled = _useContext.previewCameraEnabled,
50
+ activeTab = _useContext.activeTab,
51
+ setActiveTab = _useContext.setActiveTab,
52
+ microphoneEnabled = _useContext.microphoneEnabled,
53
+ enableBeauty = _useContext.enableBeauty,
54
+ currentVirtualBackgroundName = _useContext.currentVirtualBackgroundName,
55
+ microphoneList = _useContext.microphoneList,
56
+ cameraList = _useContext.cameraList,
57
+ startPlayLocalVideo = _useContext.startPlayLocalVideo,
58
+ stopPlayLocalVideo = _useContext.stopPlayLocalVideo,
59
+ setCameraEnabled = _useContext.setCameraEnabled,
60
+ setMicrophoneEnabled = _useContext.setMicrophoneEnabled,
61
+ enableBeautyEffect = _useContext.enableBeautyEffect,
62
+ toggleLocalMirrorPreview = _useContext.toggleLocalMirrorPreview,
63
+ toggleLocalMirror = _useContext.toggleLocalMirror,
64
+ enableVirtualBackground = _useContext.enableVirtualBackground,
65
+ setEditBeautyKey = _useContext.setEditBeautyKey,
66
+ virtualBackgroundList = _useContext.virtualBackgroundList,
67
+ showForceOpenEffectDialog = _useContext.showForceOpenEffectDialog,
68
+ handleForceOpenVideoEffect = _useContext.handleForceOpenVideoEffect,
69
+ handleCancelForceOpenVideoEffect = _useContext.handleCancelForceOpenVideoEffect;
70
+ var containerRef = (0, _react.useRef)(null);
71
+ var currentBeautyKeyRef = (0, _react.useRef)(currentBeautyKey);
72
+ var _useState = (0, _react.useState)(beautyOptions[currentBeautyKey] || _localVideoPlayer.DEFAULT_BEAUTY_VALUE),
73
+ _useState2 = (0, _slicedToArray2["default"])(_useState, 2),
74
+ currentEditValue = _useState2[0],
75
+ setCurrentEditValue = _useState2[1];
76
+ var _useState3 = (0, _react.useState)(null),
77
+ _useState4 = (0, _slicedToArray2["default"])(_useState3, 2),
78
+ containerDom = _useState4[0],
79
+ setContainerDom = _useState4[1];
80
+ var _useState5 = (0, _react.useState)(_localVideoPlayer.VideoViewType.SELFIE_VIEW),
81
+ _useState6 = (0, _slicedToArray2["default"])(_useState5, 2),
82
+ currentVideoViewType = _useState6[0],
83
+ setCurrentVideoViewType = _useState6[1];
84
+ (0, _react.useEffect)(function () {
85
+ setContainerDom(containerRef.current);
86
+ }, []);
87
+ (0, _react.useEffect)(function () {
88
+ setCurrentEditValue(beautyOptions[currentBeautyKey] || _localVideoPlayer.DEFAULT_BEAUTY_VALUE);
89
+ currentBeautyKeyRef.current = currentBeautyKey;
90
+ }, [currentBeautyKey]);
91
+ (0, _react.useEffect)(function () {
92
+ if (!isLocalMirrorEnabled) {
93
+ setCurrentVideoViewType(_localVideoPlayer.VideoViewType.SELFIE_VIEW);
94
+ }
95
+ }, [isLocalMirrorEnabled]);
96
+ var handleBeautyValueChange = function handleBeautyValueChange(value) {
97
+ setCurrentEditValue(value);
98
+ setBeautyOptions((0, _defineProperty2["default"])({}, currentBeautyKeyRef.current, value));
99
+ };
100
+ var handleResetBeautyValueChange = function handleResetBeautyValueChange() {
101
+ setCurrentEditValue(_localVideoPlayer.DEFAULT_BEAUTY_VALUE);
102
+ setBeautyOptions((0, _defineProperty2["default"])({}, currentBeautyKeyRef.current, _localVideoPlayer.DEFAULT_BEAUTY_VALUE));
103
+ };
104
+ var handleVideoViewChange = function handleVideoViewChange(key) {
105
+ toggleLocalMirrorPreview(key === _localVideoPlayer.VideoViewType.SELFIE_VIEW);
106
+ setCurrentVideoViewType(key);
107
+ };
108
+ var handleUpdateSetting = function handleUpdateSetting(key) {
109
+ switch (key) {
110
+ case 'Video':
111
+ {
112
+ setCameraEnabled(!cameraEnabled);
113
+ break;
114
+ }
115
+ case 'Audio':
116
+ {
117
+ setMicrophoneEnabled(!microphoneEnabled);
118
+ break;
119
+ }
120
+ case 'Mirror':
121
+ {
122
+ var enable = !isLocalMirrorEnabled;
123
+ toggleLocalMirror(enable);
124
+ if (enable) {
125
+ setCurrentVideoViewType(_localVideoPlayer.VideoViewType.SELFIE_VIEW);
126
+ } else {
127
+ setCurrentVideoViewType(_localVideoPlayer.VideoViewType.CAMERA_VIEW);
128
+ }
129
+ break;
130
+ }
131
+ case 'Beauty':
132
+ {
133
+ enableBeautyEffect(!enableBeauty);
134
+ handleActiveTab('beauty-filter');
135
+ break;
136
+ }
137
+ case 'VirtualBg':
138
+ {
139
+ handleActiveTab('virtual-background');
140
+ break;
141
+ }
142
+ default:
143
+ {
144
+ break;
145
+ }
146
+ }
147
+ };
148
+ var handleActiveTab = function handleActiveTab(tabKey) {
149
+ setActiveTab(tabKey);
150
+ };
151
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
152
+ className: ns.e('wrapper'),
153
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_tooltip.FcrToolTip, {
154
+ content: transI18n('fmt_device_button_signout'),
155
+ mouseEnterDelay: 0,
156
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
157
+ className: ns.e('close'),
158
+ onClick: function onClick() {
159
+ onExit();
160
+ },
161
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
162
+ type: _type.FcrIconType.FCR_CLOSE,
163
+ size: 30
164
+ // TODO: color
165
+ ,
166
+ colors: {
167
+ iconPrimary: '#282829'
168
+ }
169
+ })
170
+ })
171
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_devicePretest.FcrDevicePretestPage, {
172
+ nickName: nickName,
173
+ handleAction: onClick,
174
+ updateSetting: handleUpdateSetting,
175
+ meetingInfo: roomInfo,
176
+ videoInfos: {
177
+ enableVideo: cameraEnabled,
178
+ enableAudio: microphoneEnabled,
179
+ enableBeauty: enableBeauty,
180
+ enableMirror: isLocalMirrorEnabled,
181
+ enableVirtualBg: currentVirtualBackgroundName !== 'None',
182
+ noMicrophone: microphoneList.length === 0,
183
+ noCamera: cameraList.length === 0
184
+ },
185
+ videoPlayer: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
186
+ className: deviceSettingsNs.b(),
187
+ ref: containerRef,
188
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_localVideoPlayer.LocalVideoPlayer, {
189
+ isLocalMirrorEnabled: isLocalMirrorEnabled,
190
+ userName: nickName || '',
191
+ showSlider: activeTab === 'beauty-filter' && isLocalEditBeautyOptions,
192
+ handleResetBeautyValueChange: handleResetBeautyValueChange,
193
+ currentEditValue: currentEditValue,
194
+ containerDom: containerDom,
195
+ handleBeautyValueChange: handleBeautyValueChange,
196
+ setVideoOrientation: setVideoOrientation,
197
+ cameraDeviceId: cameraDeviceId,
198
+ showCameraPreview: cameraEnabled || previewCameraEnabled,
199
+ showTopTips: !cameraEnabled && previewCameraEnabled,
200
+ startLocalVideo: startPlayLocalVideo,
201
+ stopLocalVideo: stopPlayLocalVideo,
202
+ currentVideoViewType: currentVideoViewType,
203
+ handleVideoViewChange: handleVideoViewChange
204
+ })
205
+ }),
206
+ speakerElement: (0, _env.isElectron)() ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_speakerControl.SpeakerControl, {}) : null,
207
+ showCameraPreview: cameraEnabled || previewCameraEnabled
208
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
209
+ className: ns.e('settings'),
210
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_videoEffect.VideoEffect, {
211
+ currentTab: activeTab,
212
+ handleActiveTab: handleActiveTab,
213
+ tabContents: {
214
+ 'basic': /*#__PURE__*/(0, _jsxRuntime.jsx)(_videoSettingsBasic.VideoSettingsBasic4Custom, {}),
215
+ 'virtual-background': /*#__PURE__*/(0, _jsxRuntime.jsx)(_virtualBackgroundSetting.VirtualBackgroundSetting, {
216
+ currentVirtualBackgroundName: currentVirtualBackgroundName,
217
+ enableVirtualBackground: enableVirtualBackground,
218
+ virtualBackgroundList: virtualBackgroundList
219
+ }),
220
+ 'beauty-filter': /*#__PURE__*/(0, _jsxRuntime.jsx)(_beauty.Beauty, {
221
+ enableBeauty: enableBeauty,
222
+ setEditBeautyKey: setEditBeautyKey,
223
+ currentBeautyKey: currentBeautyKey,
224
+ enableBeautyEffect: enableBeautyEffect,
225
+ beautySettingOption: beautyOptions
226
+ })
227
+ }
228
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_dialog.FcrBasicConfirmDialog, {
229
+ visible: showForceOpenEffectDialog,
230
+ onOk: handleForceOpenVideoEffect,
231
+ getContainer: function getContainer() {
232
+ return containerRef.current;
233
+ },
234
+ onCancel: handleCancelForceOpenVideoEffect,
235
+ title: transI18n('fmt_device_remind_property_title'),
236
+ text: transI18n('fmt_device_remind_property_content'),
237
+ cancelText: transI18n('fmt_security_buttons_cancel'),
238
+ okText: transI18n('fmt_settings_tips_confirmactivate')
239
+ })]
240
+ })]
241
+ });
242
+ });
@@ -0,0 +1,10 @@
1
+ import { FC, PropsWithChildren } from 'react';
2
+ import { BeautyKey } from '../../setting/store';
3
+ import { FcrBeautyOptions } from 'agora-edu-core/lib/media-control/type';
4
+ export declare const Beauty: FC<PropsWithChildren<{
5
+ enableBeauty: boolean;
6
+ setEditBeautyKey: (key: BeautyKey) => void;
7
+ currentBeautyKey: BeautyKey;
8
+ enableBeautyEffect: (enable: boolean) => void;
9
+ beautySettingOption: FcrBeautyOptions;
10
+ }>>;
@@ -0,0 +1,103 @@
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.Beauty = void 0;
9
+ require("core-js/modules/es.array.map.js");
10
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
11
+ var _icon = require("agora-ui-foundation/lib/components/icon");
12
+ var _type = require("agora-ui-foundation/lib/components/icon/type");
13
+ var _switch = require("agora-ui-foundation/lib/components/switch");
14
+ var _classnames = _interopRequireDefault(require("classnames"));
15
+ var _mobxReact = require("mobx-react");
16
+ var _useNamespace = require("../../setting/common/useNamespace");
17
+ var _store = require("../../setting/store");
18
+ var _i18n = require("agora-ui-foundation/lib/i18n");
19
+ var _jsxRuntime = require("react/jsx-runtime");
20
+ var BeautyOptionsCard = function BeautyOptionsCard(props) {
21
+ var ns = (0, _useNamespace.useNamespace)('beauty-setting');
22
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
23
+ className: (0, _classnames["default"])(ns.e('card'), (0, _defineProperty2["default"])((0, _defineProperty2["default"])({}, ns.e('card__content-active'), props.isActive), ns.e('card__content-disable'), props.isDisabled)),
24
+ onClick: props.onCardClick,
25
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
26
+ className: ns.e('card-container'),
27
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
28
+ className: (0, _classnames["default"])(ns.e('card-container__wrapper'), (0, _defineProperty2["default"])((0, _defineProperty2["default"])({}, ns.e('card-container__wrapper-highlight'), props.isHightLight), ns.e('card-container__wrapper-disable'), props.isDisabled)),
29
+ children: props.card
30
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
31
+ className: (0, _classnames["default"])(ns.e('card-title'), (0, _defineProperty2["default"])({}, ns.e('card-title-disable'), props.isDisabled)),
32
+ children: props.title
33
+ })]
34
+ })
35
+ });
36
+ };
37
+ var Beauty = exports.Beauty = (0, _mobxReact.observer)(function (_ref) {
38
+ var enableBeauty = _ref.enableBeauty,
39
+ setEditBeautyKey = _ref.setEditBeautyKey,
40
+ currentBeautyKey = _ref.currentBeautyKey,
41
+ enableBeautyEffect = _ref.enableBeautyEffect,
42
+ beautySettingOption = _ref.beautySettingOption;
43
+ var ns = (0, _useNamespace.useNamespace)('beauty-setting');
44
+ var transI18n = (0, _i18n.useI18n)();
45
+ var beautyOptions = [{
46
+ key: 'none',
47
+ title: enableBeauty ? transI18n('fmt_device_statues_opend') : transI18n('fmt_device_statues_closed'),
48
+ card: /*#__PURE__*/(0, _jsxRuntime.jsx)(_switch.FcrSwitch, {
49
+ value: enableBeauty,
50
+ onChange: function onChange(value) {
51
+ enableBeautyEffect(value);
52
+ }
53
+ })
54
+ }, {
55
+ key: 'lighteningLevel',
56
+ title: transI18n('fmt_device_options_whitening'),
57
+ card: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
58
+ type: _type.FcrIconType.FCR_SMOOTH,
59
+ size: 48
60
+ })
61
+ }, {
62
+ key: 'smoothnessLevel',
63
+ title: transI18n('fmt_device_options_smoother'),
64
+ card: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
65
+ type: _type.FcrIconType.FCR_BEAUTY_RETOUCH,
66
+ size: 48
67
+ })
68
+ }, {
69
+ key: 'rednessLevel',
70
+ title: transI18n('fmt_device_options_brighter'),
71
+ card: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
72
+ type: _type.FcrIconType.FCR_BEAUTY_BLUSH,
73
+ size: 48
74
+ })
75
+ }];
76
+ var handleCardClick = function handleCardClick(key) {
77
+ if (!enableBeauty) {
78
+ return;
79
+ }
80
+ setEditBeautyKey(key);
81
+ };
82
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
83
+ className: ns.e('container'),
84
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
85
+ className: "fcr-device-settings-video__tips",
86
+ children: transI18n('fmt_device_tips_videoeffectson')
87
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
88
+ className: ns.e('beauty-options'),
89
+ children: beautyOptions.map(function (item, index) {
90
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(BeautyOptionsCard, {
91
+ title: item.title,
92
+ isDisabled: !enableBeauty,
93
+ card: item.card,
94
+ isActive: item.key === currentBeautyKey,
95
+ isHightLight: item.key !== 'none' && beautySettingOption[item.key] !== _store.DEFAULT_BEAUTY_VALUE,
96
+ onCardClick: function onCardClick() {
97
+ return handleCardClick(item.key);
98
+ }
99
+ }, item.key);
100
+ })
101
+ })]
102
+ });
103
+ });
@@ -0,0 +1,12 @@
1
+ import { FC } from 'react';
2
+ export declare const CameraSelect: FC<{
3
+ size?: 'small' | 'medium' | 'large';
4
+ styleType?: 'white';
5
+ blurred?: boolean;
6
+ cameraDeviceId: string;
7
+ setCameraDevice: (v: string) => void;
8
+ cameraDeviceList: {
9
+ text: string;
10
+ value: string;
11
+ }[];
12
+ }>;
@@ -0,0 +1,53 @@
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.CameraSelect = void 0;
9
+ var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
10
+ var _i18n = require("agora-ui-foundation/lib/i18n");
11
+ var _select = require("agora-ui-foundation/lib/components/select");
12
+ var _mobxReact = require("mobx-react");
13
+ var _icon = require("agora-ui-foundation/lib/components/icon");
14
+ var _type = require("agora-ui-foundation/lib/components/icon/type");
15
+ var _jsxRuntime = require("react/jsx-runtime");
16
+ var CameraSelect = exports.CameraSelect = (0, _mobxReact.observer)(function (_ref) {
17
+ var size = _ref.size,
18
+ styleType = _ref.styleType,
19
+ blurred = _ref.blurred,
20
+ cameraDeviceId = _ref.cameraDeviceId,
21
+ setCameraDevice = _ref.setCameraDevice,
22
+ cameraDeviceList = _ref.cameraDeviceList;
23
+ var t = (0, _i18n.useI18n)();
24
+ return cameraDeviceList.length > 0 ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_select.FcrSelect, {
25
+ options: (0, _toConsumableArray2["default"])(cameraDeviceList),
26
+ value: cameraDeviceId,
27
+ onChange: function onChange(v) {
28
+ return setCameraDevice(v);
29
+ },
30
+ disabled: cameraDeviceList.length === 0,
31
+ blurred: blurred,
32
+ placeholder: t('fmt_toolbar_label_nodevice'),
33
+ size: size,
34
+ styleType: styleType
35
+ }) : /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
36
+ className: "fcr-device-settings-video__device-select-no-device",
37
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
38
+ size: 20,
39
+ type: _type.FcrIconType.FCR_SETTING_NONE,
40
+ colors: {
41
+ iconPrimary: 'var(--fcr_ui_scene_white10)'
42
+ }
43
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
44
+ children: t('fmt_toolbar_label_nodevice')
45
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
46
+ colors: {
47
+ iconPrimary: 'var(--fcr_ui_scene_white10)'
48
+ },
49
+ type: _type.FcrIconType.FCR_DROPDOWN,
50
+ size: 24
51
+ })]
52
+ });
53
+ });
@@ -0,0 +1,15 @@
1
+ .fcr-beauty-setting__card-container__wrapper-highlight {
2
+ background-color: var(--fcr_ui_scene_ramp_brand6);
3
+ }
4
+
5
+ .fcr-beauty-setting__card-container__wrapper-disable {
6
+ background-color: var(--fcr_ui_scene_ramp_brand1);
7
+ }
8
+
9
+ .fcr-beauty-setting__card-title-disable {
10
+ color: var(--fcr_ui_scene_icontext3);
11
+ }
12
+
13
+ .fcr-beauty-setting__card.fcr-beauty-setting__card__content-disable {
14
+ cursor: not-allowed;
15
+ }
@@ -0,0 +1,11 @@
1
+ export type TabKeyType = 'basic' | 'virtual-background' | 'beauty-filter';
2
+ interface IVideoEffect {
3
+ children?: React.ReactNode;
4
+ currentTab?: TabKeyType;
5
+ tabContents: {
6
+ [key in TabKeyType]: React.ReactNode;
7
+ };
8
+ handleActiveTab?: (tabKey: TabKeyType) => void;
9
+ }
10
+ export declare const VideoEffect: React.FC<IVideoEffect>;
11
+ export {};
@@ -0,0 +1,50 @@
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.VideoEffect = void 0;
8
+ var _tabs = require("agora-ui-foundation/lib/components/tabs");
9
+ var _mobxReact = require("mobx-react");
10
+ var _useNamespace = require("../../setting/common/useNamespace");
11
+ var _i18n = require("agora-ui-foundation/lib/i18n");
12
+ var _jsxRuntime = require("react/jsx-runtime");
13
+ // import './index.css';
14
+
15
+ var VideoEffect = exports.VideoEffect = (0, _mobxReact.observer)(function (props) {
16
+ var t = (0, _i18n.useI18n)();
17
+ var ns = (0, _useNamespace.useNamespace)('device-settings-video');
18
+ var tabContents = props.tabContents,
19
+ _props$currentTab = props.currentTab,
20
+ currentTab = _props$currentTab === void 0 ? 'basic' : _props$currentTab,
21
+ handleActiveTab = props.handleActiveTab;
22
+ var tabItems = [{
23
+ label: t('fmt_setting_option_basics'),
24
+ key: 'basic'
25
+ }, {
26
+ label: t('fmt_setting_option_backgrounds'),
27
+ key: 'virtual-background'
28
+ }, {
29
+ label: t('fmt_device_labels_specialeffects'),
30
+ key: 'beauty-filter'
31
+ }];
32
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
33
+ className: ns.e('tab-wrapper'),
34
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
35
+ style: {
36
+ fontSize: 0
37
+ },
38
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_tabs.FcrFashionTabs, {
39
+ items: tabItems,
40
+ activeKey: currentTab,
41
+ onChange: function onChange(key) {
42
+ handleActiveTab === null || handleActiveTab === void 0 || handleActiveTab(key);
43
+ }
44
+ })
45
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
46
+ className: ns.e('active-tab-wrapper'),
47
+ children: tabContents[currentTab]
48
+ }), props.children]
49
+ });
50
+ });
@@ -0,0 +1,2 @@
1
+ import { FC, PropsWithChildren } from 'react';
2
+ export declare const VideoSettingsBasic4Custom: FC<PropsWithChildren<{}>>;
@@ -0,0 +1,143 @@
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.VideoSettingsBasic4Custom = void 0;
8
+ require("core-js/modules/es.array.concat.js");
9
+ var _react = require("react");
10
+ var _i18n = require("agora-ui-foundation/lib/i18n");
11
+ var _useNamespace = require("../../setting/common/useNamespace");
12
+ var _mobxReact = require("mobx-react");
13
+ var _cameraSelect = require("./camera-select");
14
+ var _microphoneDetection = require("../audio-preview/microphone-detection");
15
+ var _context = require("../context");
16
+ var _volumeIndicator = require("agora-ui-foundation/lib/components/volume-indicator");
17
+ var _speakerDetection = require("../audio-preview/speaker-detection");
18
+ var _constant = require("../../../utilities/constant");
19
+ var _jsxRuntime = require("react/jsx-runtime");
20
+ var VideoSettingsBasic4Custom = exports.VideoSettingsBasic4Custom = (0, _mobxReact.observer)(function () {
21
+ var ns = (0, _useNamespace.useNamespace)('video-settings-basic_preview');
22
+ var t = (0, _i18n.useI18n)();
23
+ var _useContext = (0, _react.useContext)(_context.PretestStoreContext),
24
+ microphoneVolumeLevel = _useContext.microphoneVolumeLevel,
25
+ speakerVolumeLevel = _useContext.speakerVolumeLevel,
26
+ setCameraDevice = _useContext.setCameraId,
27
+ cameraDeviceList = _useContext.cameraDeviceList,
28
+ cameraDeviceId = _useContext.cameraId,
29
+ speakerId = _useContext.speakerId,
30
+ microphoneId = _useContext.microphoneId,
31
+ speakerDeviceList = _useContext.speakerDeviceList,
32
+ microphoneDeviceList = _useContext.microphoneDeviceList,
33
+ setSpeakerId = _useContext.setSpeakerId,
34
+ stopMicrophoneTest = _useContext.stopMicrophoneTest,
35
+ startMicrophoneTest = _useContext.startMicrophoneTest,
36
+ setMicrophoneId = _useContext.setMicrophoneId,
37
+ stopSpeakerTest = _useContext.stopSpeakerTest,
38
+ startSpeakerTest = _useContext.startSpeakerTest,
39
+ speakerDetecting = _useContext.speakerDetecting,
40
+ microphoneDetecting = _useContext.microphoneDetecting;
41
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
42
+ className: ns.b(),
43
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
44
+ className: ns.e('basic-form'),
45
+ id: _constant.HighlightElement.VIDEO_BASIC,
46
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
47
+ className: ns.e('form-row'),
48
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
49
+ className: ns.e('form-column'),
50
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
51
+ className: ns.e('form-item'),
52
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
53
+ className: "".concat(ns.e('form-label'), " ", 'label--l'),
54
+ children: t('fmt_toolbar_label_camera')
55
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_cameraSelect.CameraSelect, {
56
+ size: 'small',
57
+ styleType: 'white',
58
+ blurred: false,
59
+ cameraDeviceId: cameraDeviceId !== null && cameraDeviceId !== void 0 ? cameraDeviceId : '',
60
+ setCameraDevice: setCameraDevice,
61
+ cameraDeviceList: cameraDeviceList
62
+ })]
63
+ })
64
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
65
+ className: "".concat(ns.e('form-column'), " ").concat(ns.e('form-column-max-width')),
66
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
67
+ className: ns.e('form-item'),
68
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
69
+ className: "".concat(ns.e('form-label'), " ", 'label--l'),
70
+ children: t('fmt_setting_label_Mic')
71
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_microphoneDetection.MicrophoneDetection, {
72
+ disabled: speakerDetecting,
73
+ microphoneDeviceId: microphoneId !== null && microphoneId !== void 0 ? microphoneId : '',
74
+ microphoneDeviceList: microphoneDeviceList,
75
+ setMicrophoneDevice: setMicrophoneId,
76
+ startMicrophoneTest: startMicrophoneTest,
77
+ stopMicrophoneTest: stopMicrophoneTest
78
+ })]
79
+ })
80
+ })]
81
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
82
+ className: "".concat(ns.e('form-row')),
83
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
84
+ className: ns.e('form-column')
85
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
86
+ className: ns.e('form-column'),
87
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
88
+ className: ns.e('form-item'),
89
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
90
+ className: ns.e('form-label-inline'),
91
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
92
+ className: ns.e('form-label'),
93
+ children: t('fmt_internalsetting_label_inputlevel')
94
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_volumeIndicator.FcrVolumeIndicator, {
95
+ value: microphoneVolumeLevel / 100,
96
+ barCount: 13
97
+ })]
98
+ })
99
+ })
100
+ })]
101
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
102
+ className: ns.e('form-row'),
103
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
104
+ className: ns.e('form-column'),
105
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
106
+ className: ns.e('form-item'),
107
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
108
+ className: "".concat(ns.e('form-label'), " ", 'label--l'),
109
+ children: t('fmt_setting_label_Speaker')
110
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_speakerDetection.SpeakerDetection, {
111
+ disabled: microphoneDetecting,
112
+ speakerDeviceId: speakerId !== null && speakerId !== void 0 ? speakerId : '',
113
+ speakerDeviceList: speakerDeviceList,
114
+ setSpeakerDevice: setSpeakerId,
115
+ startSpeakerTest: startSpeakerTest,
116
+ stopSpeakerTest: stopSpeakerTest
117
+ })]
118
+ })
119
+ })
120
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
121
+ className: ns.e('form-row'),
122
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
123
+ className: ns.e('form-column')
124
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
125
+ className: ns.e('form-column'),
126
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
127
+ className: ns.e('form-item'),
128
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
129
+ className: ns.e('form-label-inline'),
130
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
131
+ className: ns.e('form-label'),
132
+ children: t('fmt_setting_label_oututlevel')
133
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_volumeIndicator.FcrVolumeIndicator, {
134
+ value: speakerVolumeLevel / 100,
135
+ barCount: 13
136
+ })]
137
+ })
138
+ })
139
+ })]
140
+ })]
141
+ })
142
+ });
143
+ });
@@ -0,0 +1,7 @@
1
+ import { FC, PropsWithChildren } from 'react';
2
+ import { VirtualBackground } from '../assets/virtual-backdound-resources';
3
+ export declare const VirtualBackgroundSetting: FC<PropsWithChildren<{
4
+ currentVirtualBackgroundName: string;
5
+ enableVirtualBackground: (enable: boolean, item?: VirtualBackground) => void;
6
+ virtualBackgroundList: VirtualBackground[];
7
+ }>>;