fcr-ui-scene 1.0.40 → 3.1.0-2
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.
- package/lib/base.d.ts +13 -0
- package/lib/base.js +78 -0
- package/lib/common/device-store.d.ts +140 -0
- package/lib/common/device-store.js +1378 -0
- package/lib/common/device-stream-store.d.ts +36 -0
- package/lib/common/device-stream-store.js +372 -0
- package/lib/common/event-store.d.ts +118 -0
- package/lib/common/event-store.js +235 -0
- package/lib/common/security-store.d.ts +123 -0
- package/lib/common/security-store.js +978 -0
- package/lib/creator.d.ts +8 -0
- package/lib/creator.js +37 -0
- package/lib/electron/app.d.ts +1 -0
- package/lib/electron/app.js +140 -0
- package/lib/electron/default-options.d.ts +2 -0
- package/lib/electron/default-options.js +25 -0
- package/lib/electron/env.d.ts +5 -0
- package/lib/electron/env.js +13 -0
- package/lib/electron/index.d.ts +2 -0
- package/lib/electron/index.js +20 -0
- package/lib/electron/injections.d.ts +45 -0
- package/lib/electron/injections.js +689 -0
- package/lib/electron/main.d.ts +2 -0
- package/lib/electron/main.js +63 -0
- package/lib/electron/plugins/screenshot.d.ts +2 -0
- package/lib/electron/plugins/screenshot.js +49 -0
- package/lib/electron/preload.js +35 -0
- package/lib/electron/tools.d.ts +5 -0
- package/lib/electron/tools.js +57 -0
- package/lib/electron/window.d.ts +12 -0
- package/lib/electron/window.js +113 -0
- package/lib/fragments/base.d.ts +10 -0
- package/lib/fragments/base.js +44 -0
- package/lib/fragments/control-bar/cloud-recording-buttons.d.ts +1 -0
- package/lib/fragments/control-bar/cloud-recording-buttons.js +67 -0
- package/lib/fragments/control-bar/context.d.ts +3 -0
- package/lib/fragments/control-bar/context.js +9 -0
- package/lib/fragments/control-bar/control-bar-store.d.ts +152 -0
- package/lib/fragments/control-bar/control-bar-store.js +1275 -0
- package/lib/fragments/control-bar/device/index.d.ts +31 -0
- package/lib/fragments/control-bar/device/index.js +203 -0
- package/lib/fragments/control-bar/index.css +276 -0
- package/lib/fragments/control-bar/index.d.ts +26 -0
- package/lib/fragments/control-bar/index.js +223 -0
- package/lib/fragments/control-bar/more-actions/index.css +19 -0
- package/lib/fragments/control-bar/more-actions/index.d.ts +7 -0
- package/lib/fragments/control-bar/more-actions/index.js +259 -0
- package/lib/fragments/control-bar/security-content/index.css +24 -0
- package/lib/fragments/control-bar/security-content/index.d.ts +2 -0
- package/lib/fragments/control-bar/security-content/index.js +145 -0
- package/lib/fragments/control-bar/share-state-nav/index.css +70 -0
- package/lib/fragments/control-bar/share-state-nav/index.d.ts +10 -0
- package/lib/fragments/control-bar/share-state-nav/index.js +134 -0
- package/lib/fragments/control-bar/stop-live-streaming/index.d.ts +1 -0
- package/lib/fragments/control-bar/stop-live-streaming/index.js +82 -0
- package/lib/fragments/control-bar/transfer-position-icon/index.d.ts +11 -0
- package/lib/fragments/control-bar/transfer-position-icon/index.js +46 -0
- package/lib/fragments/control-bar/view.d.ts +1 -0
- package/lib/fragments/control-bar/view.js +321 -0
- package/lib/fragments/live-streaming/context.d.ts +3 -0
- package/lib/fragments/live-streaming/context.js +9 -0
- package/lib/fragments/live-streaming/index.css +11 -0
- package/lib/fragments/live-streaming/index.d.ts +11 -0
- package/lib/fragments/live-streaming/index.js +79 -0
- package/lib/fragments/live-streaming/store.d.ts +21 -0
- package/lib/fragments/live-streaming/store.js +228 -0
- package/lib/fragments/live-streaming/view.d.ts +2 -0
- package/lib/fragments/live-streaming/view.js +44 -0
- package/lib/fragments/share-screen-selection/context.d.ts +3 -0
- package/lib/fragments/share-screen-selection/context.js +9 -0
- package/lib/fragments/share-screen-selection/index.css +66 -0
- package/lib/fragments/share-screen-selection/index.d.ts +9 -0
- package/lib/fragments/share-screen-selection/index.js +94 -0
- package/lib/fragments/share-screen-selection/open-mic-tips.d.ts +9 -0
- package/lib/fragments/share-screen-selection/open-mic-tips.js +55 -0
- package/lib/fragments/share-screen-selection/selection-store.d.ts +36 -0
- package/lib/fragments/share-screen-selection/selection-store.js +351 -0
- package/lib/fragments/share-screen-selection/tips.css +33 -0
- package/lib/fragments/share-screen-selection/view.d.ts +9 -0
- package/lib/fragments/share-screen-selection/view.js +255 -0
- package/lib/fragments/toolbar/components/color-picker/components/color.d.ts +5 -0
- package/lib/fragments/toolbar/components/color-picker/components/color.js +54 -0
- package/lib/fragments/toolbar/components/color-picker/components/panel.d.ts +1 -0
- package/lib/fragments/toolbar/components/color-picker/components/panel.js +114 -0
- package/lib/fragments/toolbar/components/color-picker/components/picker.d.ts +1 -0
- package/lib/fragments/toolbar/components/color-picker/components/picker.js +75 -0
- package/lib/fragments/toolbar/components/color-picker/index.d.ts +2 -0
- package/lib/fragments/toolbar/components/color-picker/index.js +53 -0
- package/lib/fragments/toolbar/components/color-picker.d.ts +2 -0
- package/lib/fragments/toolbar/components/color-picker.js +127 -0
- package/lib/fragments/toolbar/components/eraser-picker.d.ts +4 -0
- package/lib/fragments/toolbar/components/eraser-picker.js +84 -0
- package/lib/fragments/toolbar/components/extension-toolbar-item.d.ts +1 -0
- package/lib/fragments/toolbar/components/extension-toolbar-item.js +78 -0
- package/lib/fragments/toolbar/components/extra-tool-picker.d.ts +1 -0
- package/lib/fragments/toolbar/components/extra-tool-picker.js +60 -0
- package/lib/fragments/toolbar/components/fold-icon.d.ts +2 -0
- package/lib/fragments/toolbar/components/fold-icon.js +41 -0
- package/lib/fragments/toolbar/components/history.d.ts +2 -0
- package/lib/fragments/toolbar/components/history.js +46 -0
- package/lib/fragments/toolbar/components/pen-picker.d.ts +4 -0
- package/lib/fragments/toolbar/components/pen-picker.js +132 -0
- package/lib/fragments/toolbar/components/screen-capture-picker.d.ts +4 -0
- package/lib/fragments/toolbar/components/screen-capture-picker.js +84 -0
- package/lib/fragments/toolbar/components/shape-picker.d.ts +4 -0
- package/lib/fragments/toolbar/components/shape-picker.js +146 -0
- package/lib/fragments/toolbar/components/toolbar-item.d.ts +1 -0
- package/lib/fragments/toolbar/components/toolbar-item.js +42 -0
- package/lib/fragments/toolbar/components/wrapper.d.ts +1 -0
- package/lib/fragments/toolbar/components/wrapper.js +138 -0
- package/lib/fragments/toolbar/hooks.d.ts +16 -0
- package/lib/fragments/toolbar/hooks.js +251 -0
- package/lib/fragments/toolbar/index.d.ts +12 -0
- package/lib/fragments/toolbar/index.js +80 -0
- package/lib/fragments/toolbar/store.d.ts +62 -0
- package/lib/fragments/toolbar/store.js +279 -0
- package/lib/fragments/toolbar/style.css +347 -0
- package/lib/fragments/toolbar/view.d.ts +1 -0
- package/lib/fragments/toolbar/view.js +34 -0
- package/lib/global.d.ts +8 -0
- package/lib/hooks/i18n.d.ts +4 -0
- package/lib/hooks/i18n.js +18 -0
- package/lib/hooks/meeting-time.d.ts +15 -0
- package/lib/hooks/meeting-time.js +92 -0
- package/lib/index.d.ts +8 -0
- package/lib/index.js +52 -0
- package/lib/modules/action-bar/action-bar-collapes-items.d.ts +17 -0
- package/lib/modules/action-bar/action-bar-collapes-items.js +199 -0
- package/lib/modules/action-bar/board/index.d.ts +4 -0
- package/lib/modules/action-bar/board/index.js +34 -0
- package/lib/modules/action-bar/breakout-room/index.d.ts +4 -0
- package/lib/modules/action-bar/breakout-room/index.js +32 -0
- package/lib/modules/action-bar/chat/index.css +80 -0
- package/lib/modules/action-bar/chat/index.d.ts +5 -0
- package/lib/modules/action-bar/chat/index.js +152 -0
- package/lib/modules/action-bar/context.d.ts +3 -0
- package/lib/modules/action-bar/context.js +9 -0
- package/lib/modules/action-bar/device/index.css +157 -0
- package/lib/modules/action-bar/device/index.d.ts +8 -0
- package/lib/modules/action-bar/device/index.js +611 -0
- package/lib/modules/action-bar/index.css +212 -0
- package/lib/modules/action-bar/index.d.ts +25 -0
- package/lib/modules/action-bar/index.dev.d.ts +1 -0
- package/lib/modules/action-bar/index.dev.js +96 -0
- package/lib/modules/action-bar/index.js +89 -0
- package/lib/modules/action-bar/item-placement.d.ts +8 -0
- package/lib/modules/action-bar/item-placement.js +18 -0
- package/lib/modules/action-bar/item.d.ts +27 -0
- package/lib/modules/action-bar/item.js +154 -0
- package/lib/modules/action-bar/leave/assign-host.d.ts +8 -0
- package/lib/modules/action-bar/leave/assign-host.js +64 -0
- package/lib/modules/action-bar/leave/index.css +116 -0
- package/lib/modules/action-bar/leave/index.d.ts +3 -0
- package/lib/modules/action-bar/leave/index.js +110 -0
- package/lib/modules/action-bar/leave/leave-meeting.d.ts +7 -0
- package/lib/modules/action-bar/leave/leave-meeting.js +135 -0
- package/lib/modules/action-bar/live-streaming/index.d.ts +4 -0
- package/lib/modules/action-bar/live-streaming/index.js +39 -0
- package/lib/modules/action-bar/more/index.css +114 -0
- package/lib/modules/action-bar/more/index.d.ts +5 -0
- package/lib/modules/action-bar/more/index.js +80 -0
- package/lib/modules/action-bar/more/poppover-content.d.ts +9 -0
- package/lib/modules/action-bar/more/poppover-content.js +369 -0
- package/lib/modules/action-bar/participants/index.css +9 -0
- package/lib/modules/action-bar/participants/index.d.ts +5 -0
- package/lib/modules/action-bar/participants/index.js +75 -0
- package/lib/modules/action-bar/record/index.css +39 -0
- package/lib/modules/action-bar/record/index.d.ts +5 -0
- package/lib/modules/action-bar/record/index.js +161 -0
- package/lib/modules/action-bar/record/stop-record-dialog.d.ts +5 -0
- package/lib/modules/action-bar/record/stop-record-dialog.js +48 -0
- package/lib/modules/action-bar/respond/index.d.ts +4 -0
- package/lib/modules/action-bar/respond/index.js +32 -0
- package/lib/modules/action-bar/screen-share/index.d.ts +4 -0
- package/lib/modules/action-bar/screen-share/index.js +97 -0
- package/lib/modules/action-bar/screen-share/submenu.d.ts +1 -0
- package/lib/modules/action-bar/screen-share/submenu.js +159 -0
- package/lib/modules/action-bar/security/drop-menu.d.ts +1 -0
- package/lib/modules/action-bar/security/drop-menu.js +164 -0
- package/lib/modules/action-bar/security/index.d.ts +4 -0
- package/lib/modules/action-bar/security/index.js +50 -0
- package/lib/modules/action-bar/settings/index.d.ts +4 -0
- package/lib/modules/action-bar/settings/index.js +41 -0
- package/lib/modules/action-bar/smaller.d.ts +1 -0
- package/lib/modules/action-bar/smaller.js +52 -0
- package/lib/modules/action-bar/store.d.ts +177 -0
- package/lib/modules/action-bar/store.js +1179 -0
- package/lib/modules/action-bar/type.d.ts +6 -0
- package/lib/modules/action-bar/type.js +13 -0
- package/lib/modules/action-bar/view.d.ts +5 -0
- package/lib/modules/action-bar/view.js +80 -0
- package/lib/modules/audio-stream/index.d.ts +21 -0
- package/lib/modules/audio-stream/index.js +119 -0
- package/lib/modules/chat/chat-bar/index.css +79 -0
- package/lib/modules/chat/chat-bar/index.d.ts +11 -0
- package/lib/modules/chat/chat-bar/index.js +125 -0
- package/lib/modules/chat/chat-select/index.css +156 -0
- package/lib/modules/chat/chat-select/index.d.ts +13 -0
- package/lib/modules/chat/chat-select/index.js +186 -0
- package/lib/modules/chat/chat.d.ts +12 -0
- package/lib/modules/chat/chat.js +295 -0
- package/lib/modules/chat/contex.d.ts +3 -0
- package/lib/modules/chat/contex.js +9 -0
- package/lib/modules/chat/demo-wrapper.d.ts +2 -0
- package/lib/modules/chat/demo-wrapper.js +42 -0
- package/lib/modules/chat/index.css +17 -0
- package/lib/modules/chat/index.d.ts +29 -0
- package/lib/modules/chat/index.dev.d.ts +1 -0
- package/lib/modules/chat/index.dev.js +58 -0
- package/lib/modules/chat/index.js +189 -0
- package/lib/modules/chat/message-list.d.ts +22 -0
- package/lib/modules/chat/message-list.js +595 -0
- package/lib/modules/chat/mock.d.ts +2 -0
- package/lib/modules/chat/mock.js +283 -0
- package/lib/modules/chat/store.d.ts +132 -0
- package/lib/modules/chat/store.js +923 -0
- package/lib/modules/chat/util.d.ts +6 -0
- package/lib/modules/chat/util.js +69 -0
- package/lib/modules/connection-gateway/components/computer/index.css +11 -0
- package/lib/modules/connection-gateway/components/computer/index.d.ts +3 -0
- package/lib/modules/connection-gateway/components/computer/index.js +66 -0
- package/lib/modules/connection-gateway/components/phone/components/callinfo/index.css +36 -0
- package/lib/modules/connection-gateway/components/phone/components/callinfo/index.d.ts +10 -0
- package/lib/modules/connection-gateway/components/phone/components/callinfo/index.js +75 -0
- package/lib/modules/connection-gateway/components/phone/components/calling/index.css +72 -0
- package/lib/modules/connection-gateway/components/phone/components/calling/index.d.ts +7 -0
- package/lib/modules/connection-gateway/components/phone/components/calling/index.js +58 -0
- package/lib/modules/connection-gateway/components/phone/components/remeber/index.css +10 -0
- package/lib/modules/connection-gateway/components/phone/components/remeber/index.d.ts +5 -0
- package/lib/modules/connection-gateway/components/phone/components/remeber/index.js +24 -0
- package/lib/modules/connection-gateway/components/phone/components/useing/index.css +46 -0
- package/lib/modules/connection-gateway/components/phone/components/useing/index.d.ts +3 -0
- package/lib/modules/connection-gateway/components/phone/components/useing/index.js +36 -0
- package/lib/modules/connection-gateway/components/phone/index.css +49 -0
- package/lib/modules/connection-gateway/components/phone/index.d.ts +3 -0
- package/lib/modules/connection-gateway/components/phone/index.js +181 -0
- package/lib/modules/connection-gateway/components/tabs/index.css +31 -0
- package/lib/modules/connection-gateway/components/tabs/index.d.ts +4 -0
- package/lib/modules/connection-gateway/components/tabs/index.js +43 -0
- package/lib/modules/connection-gateway/index.css +6 -0
- package/lib/modules/connection-gateway/index.d.ts +16 -0
- package/lib/modules/connection-gateway/index.js +67 -0
- package/lib/modules/connection-gateway/store.d.ts +80 -0
- package/lib/modules/connection-gateway/store.js +698 -0
- package/lib/modules/connection-gateway/view.d.ts +1 -0
- package/lib/modules/connection-gateway/view.js +22 -0
- package/lib/modules/device-pretest/assets/virtual-backdound-resources.d.ts +13 -0
- package/lib/modules/device-pretest/assets/virtual-backdound-resources.js +15 -0
- package/lib/modules/device-pretest/audio-preview/microphone-detection.d.ts +12 -0
- package/lib/modules/device-pretest/audio-preview/microphone-detection.js +71 -0
- package/lib/modules/device-pretest/audio-preview/speaker-control.d.ts +2 -0
- package/lib/modules/device-pretest/audio-preview/speaker-control.js +63 -0
- package/lib/modules/device-pretest/audio-preview/speaker-detection.d.ts +12 -0
- package/lib/modules/device-pretest/audio-preview/speaker-detection.js +71 -0
- package/lib/modules/device-pretest/context.d.ts +3 -0
- package/lib/modules/device-pretest/context.js +9 -0
- package/lib/modules/device-pretest/index.css +127 -0
- package/lib/modules/device-pretest/index.d.ts +13 -0
- package/lib/modules/device-pretest/index.js +242 -0
- package/lib/modules/device-pretest/settings/beauty.d.ts +10 -0
- package/lib/modules/device-pretest/settings/beauty.js +103 -0
- package/lib/modules/device-pretest/settings/camera-select.d.ts +12 -0
- package/lib/modules/device-pretest/settings/camera-select.js +53 -0
- package/lib/modules/device-pretest/settings/index.css +15 -0
- package/lib/modules/device-pretest/settings/video-effect.d.ts +12 -0
- package/lib/modules/device-pretest/settings/video-effect.js +50 -0
- package/lib/modules/device-pretest/settings/video-settings-basic.d.ts +2 -0
- package/lib/modules/device-pretest/settings/video-settings-basic.js +143 -0
- package/lib/modules/device-pretest/settings/virtual-background-setting.d.ts +7 -0
- package/lib/modules/device-pretest/settings/virtual-background-setting.js +99 -0
- package/lib/modules/device-pretest/store.d.ts +69 -0
- package/lib/modules/device-pretest/store.js +413 -0
- package/lib/modules/dialog/components/chat/electron.d.ts +4 -0
- package/lib/modules/dialog/components/chat/electron.js +59 -0
- package/lib/modules/dialog/components/chat/index.d.ts +7 -0
- package/lib/modules/dialog/components/chat/index.js +66 -0
- package/lib/modules/dialog/components/confirm/electron.d.ts +10 -0
- package/lib/modules/dialog/components/confirm/electron.js +84 -0
- package/lib/modules/dialog/components/confirm/index.d.ts +10 -0
- package/lib/modules/dialog/components/confirm/index.js +75 -0
- package/lib/modules/dialog/components/connection-gateway/electron.d.ts +2 -0
- package/lib/modules/dialog/components/connection-gateway/electron.js +62 -0
- package/lib/modules/dialog/components/connection-gateway/index.css +27 -0
- package/lib/modules/dialog/components/connection-gateway/index.d.ts +3 -0
- package/lib/modules/dialog/components/connection-gateway/index.js +74 -0
- package/lib/modules/dialog/components/participant/electron.d.ts +2 -0
- package/lib/modules/dialog/components/participant/electron.js +85 -0
- package/lib/modules/dialog/components/participant/index.d.ts +3 -0
- package/lib/modules/dialog/components/participant/index.js +61 -0
- package/lib/modules/dialog/components/share-screen-selection/index.d.ts +4 -0
- package/lib/modules/dialog/components/share-screen-selection/index.js +42 -0
- package/lib/modules/dialog/components/whiteboard/index.d.ts +4 -0
- package/lib/modules/dialog/components/whiteboard/index.js +74 -0
- package/lib/modules/dialog/context.d.ts +3 -0
- package/lib/modules/dialog/context.js +9 -0
- package/lib/modules/dialog/dialogs.d.ts +11 -0
- package/lib/modules/dialog/dialogs.js +376 -0
- package/lib/modules/dialog/index.css +55 -0
- package/lib/modules/dialog/index.d.ts +29 -0
- package/lib/modules/dialog/index.js +80 -0
- package/lib/modules/dialog/store.d.ts +82 -0
- package/lib/modules/dialog/store.js +525 -0
- package/lib/modules/dialog/view.d.ts +5 -0
- package/lib/modules/dialog/view.js +30 -0
- package/lib/modules/event-toast/context.d.ts +3 -0
- package/lib/modules/event-toast/context.js +9 -0
- package/lib/modules/event-toast/index.d.ts +10 -0
- package/lib/modules/event-toast/index.js +41 -0
- package/lib/modules/event-toast/store.d.ts +9 -0
- package/lib/modules/event-toast/store.js +76 -0
- package/lib/modules/event-toast/view.d.ts +1 -0
- package/lib/modules/event-toast/view.js +14 -0
- package/lib/modules/invite/context.d.ts +3 -0
- package/lib/modules/invite/context.js +9 -0
- package/lib/modules/invite/index.css +318 -0
- package/lib/modules/invite/index.d.ts +13 -0
- package/lib/modules/invite/index.js +51 -0
- package/lib/modules/invite/pstn-invite.d.ts +2 -0
- package/lib/modules/invite/pstn-invite.js +271 -0
- package/lib/modules/invite/store.d.ts +71 -0
- package/lib/modules/invite/store.js +472 -0
- package/lib/modules/invite/view.d.ts +1 -0
- package/lib/modules/invite/view.js +47 -0
- package/lib/modules/invite/voip-invite.d.ts +2 -0
- package/lib/modules/invite/voip-invite.js +294 -0
- package/lib/modules/layout/components/Aside.d.ts +7 -0
- package/lib/modules/layout/components/Aside.js +144 -0
- package/lib/modules/layout/components/Carousel.d.ts +1 -0
- package/lib/modules/layout/components/Carousel.js +271 -0
- package/lib/modules/layout/components/Gallery.d.ts +1 -0
- package/lib/modules/layout/components/Gallery.js +360 -0
- package/lib/modules/layout/components/Layout.d.ts +2 -0
- package/lib/modules/layout/components/Layout.js +160 -0
- package/lib/modules/layout/components/index.css +608 -0
- package/lib/modules/layout/components/index.d.ts +5 -0
- package/lib/modules/layout/components/index.js +55 -0
- package/lib/modules/layout/components/utils.d.ts +1 -0
- package/lib/modules/layout/components/utils.js +10 -0
- package/lib/modules/layout/context.d.ts +3 -0
- package/lib/modules/layout/context.js +9 -0
- package/lib/modules/layout/index.css +27 -0
- package/lib/modules/layout/index.d.ts +10 -0
- package/lib/modules/layout/index.dev.d.ts +1 -0
- package/lib/modules/layout/index.dev.js +378 -0
- package/lib/modules/layout/index.js +72 -0
- package/lib/modules/layout/member-window/index.css +321 -0
- package/lib/modules/layout/member-window/index.d.ts +67 -0
- package/lib/modules/layout/member-window/index.js +730 -0
- package/lib/modules/layout/store.d.ts +177 -0
- package/lib/modules/layout/store.js +1278 -0
- package/lib/modules/layout/type.d.ts +64 -0
- package/lib/modules/layout/type.js +52 -0
- package/lib/modules/layout/video-window-datasource.d.ts +119 -0
- package/lib/modules/layout/video-window-datasource.js +1031 -0
- package/lib/modules/layout/view.d.ts +2 -0
- package/lib/modules/layout/view.js +10 -0
- package/lib/modules/live-streaming/context.d.ts +3 -0
- package/lib/modules/live-streaming/context.js +9 -0
- package/lib/modules/live-streaming/index.css +0 -0
- package/lib/modules/live-streaming/index.d.ts +13 -0
- package/lib/modules/live-streaming/index.dev.d.ts +1 -0
- package/lib/modules/live-streaming/index.dev.js +59 -0
- package/lib/modules/live-streaming/index.js +76 -0
- package/lib/modules/live-streaming/store.d.ts +38 -0
- package/lib/modules/live-streaming/store.js +360 -0
- package/lib/modules/live-streaming/view.d.ts +1 -0
- package/lib/modules/live-streaming/view.js +33 -0
- package/lib/modules/participant/attendee/index.css +14 -0
- package/lib/modules/participant/attendee/index.d.ts +19 -0
- package/lib/modules/participant/attendee/index.js +280 -0
- package/lib/modules/participant/attendee/participants-more-action.d.ts +18 -0
- package/lib/modules/participant/attendee/participants-more-action.js +275 -0
- package/lib/modules/participant/attendee/user-more-actions.d.ts +22 -0
- package/lib/modules/participant/attendee/user-more-actions.js +76 -0
- package/lib/modules/participant/can-moveable/index.d.ts +1 -0
- package/lib/modules/participant/can-moveable/index.js +68 -0
- package/lib/modules/participant/context.d.ts +3 -0
- package/lib/modules/participant/context.js +9 -0
- package/lib/modules/participant/index.css +58 -0
- package/lib/modules/participant/index.d.ts +25 -0
- package/lib/modules/participant/index.dev.d.ts +1 -0
- package/lib/modules/participant/index.dev.js +98 -0
- package/lib/modules/participant/index.js +93 -0
- package/lib/modules/participant/member-list-data-source.d.ts +28 -0
- package/lib/modules/participant/member-list-data-source.js +261 -0
- package/lib/modules/participant/room-control-drop-menu/index.css +19 -0
- package/lib/modules/participant/room-control-drop-menu/index.d.ts +2 -0
- package/lib/modules/participant/room-control-drop-menu/index.js +154 -0
- package/lib/modules/participant/store.d.ts +145 -0
- package/lib/modules/participant/store.js +1334 -0
- package/lib/modules/participant/type.d.ts +34 -0
- package/lib/modules/participant/type.js +22 -0
- package/lib/modules/participant/view.d.ts +11 -0
- package/lib/modules/participant/view.js +260 -0
- package/lib/modules/setting/audio-settings/audio-settings.d.ts +4 -0
- package/lib/modules/setting/audio-settings/audio-settings.js +303 -0
- package/lib/modules/setting/audio-settings/index.css +144 -0
- package/lib/{fcr-ui-scene/src/containers/stream-window/index.d.ts → modules/setting/common/advance-link.d.ts} +1 -1
- package/lib/modules/setting/common/advance-link.js +27 -0
- package/lib/modules/setting/common/index.css +26 -0
- package/lib/modules/setting/common/useNamespace.d.ts +15 -0
- package/lib/modules/setting/common/useNamespace.js +66 -0
- package/lib/modules/setting/config.d.ts +16 -0
- package/lib/modules/setting/config.js +17 -0
- package/lib/modules/setting/context.d.ts +3 -0
- package/lib/modules/setting/context.js +9 -0
- package/lib/modules/setting/dialog-wrapper.d.ts +2 -0
- package/lib/modules/setting/dialog-wrapper.js +110 -0
- package/lib/modules/setting/general-settings/general-settings.d.ts +4 -0
- package/lib/modules/setting/general-settings/general-settings.js +66 -0
- package/lib/modules/setting/general-settings/index.css +26 -0
- package/lib/modules/setting/index.css +115 -0
- package/lib/modules/setting/index.d.ts +21 -0
- package/lib/modules/setting/index.dev.d.ts +1 -0
- package/lib/modules/setting/index.dev.js +71 -0
- package/lib/modules/setting/index.js +81 -0
- package/lib/modules/setting/state/index.css +211 -0
- package/lib/modules/setting/state/index.d.ts +4 -0
- package/lib/modules/setting/state/index.js +331 -0
- package/lib/modules/setting/storage-settings/index.css +91 -0
- package/lib/modules/setting/storage-settings/storage-settings.d.ts +3 -0
- package/lib/modules/setting/storage-settings/storage-settings.js +84 -0
- package/lib/modules/setting/store.d.ts +213 -0
- package/lib/modules/setting/store.js +1125 -0
- package/lib/modules/setting/video-settings/index.css +339 -0
- package/lib/modules/setting/video-settings/video-settings-basic.d.ts +9 -0
- package/lib/modules/setting/video-settings/video-settings-basic.js +160 -0
- package/lib/modules/setting/video-settings/video-settings.d.ts +10 -0
- package/lib/modules/setting/video-settings/video-settings.js +191 -0
- package/lib/modules/setting/view.d.ts +10 -0
- package/lib/modules/setting/view.js +139 -0
- package/lib/modules/share-screen/index.css +0 -0
- package/lib/modules/share-screen/index.d.ts +26 -0
- package/lib/modules/share-screen/index.dev.d.ts +1 -0
- package/lib/modules/share-screen/index.dev.js +96 -0
- package/lib/modules/share-screen/index.js +171 -0
- package/lib/modules/share-screen/selection/index.css +66 -0
- package/lib/modules/share-screen/selection/index.d.ts +9 -0
- package/lib/modules/share-screen/selection/index.js +224 -0
- package/lib/modules/share-screen/share-state-bar/index.css +38 -0
- package/lib/modules/share-screen/share-state-bar/index.d.ts +5 -0
- package/lib/modules/share-screen/share-state-bar/index.js +67 -0
- package/lib/modules/share-screen/store.d.ts +132 -0
- package/lib/modules/share-screen/store.js +1714 -0
- package/lib/modules/share-screen/view.d.ts +2 -0
- package/lib/modules/share-screen/view.js +45 -0
- package/lib/modules/state-bar/assets/fcr_grid_big.svg +3 -0
- package/lib/modules/state-bar/assets/fcr_listontop_big.svg +3 -0
- package/lib/modules/state-bar/assets/live-streaming.gif +0 -0
- package/lib/modules/state-bar/context.d.ts +3 -0
- package/lib/modules/state-bar/context.js +9 -0
- package/lib/modules/state-bar/index.css +630 -0
- package/lib/modules/state-bar/index.d.ts +18 -0
- package/lib/modules/state-bar/index.dev.d.ts +1 -0
- package/lib/modules/state-bar/index.dev.js +82 -0
- package/lib/modules/state-bar/index.js +69 -0
- package/lib/modules/state-bar/layout-config.d.ts +5 -0
- package/lib/modules/state-bar/layout-config.js +151 -0
- package/lib/modules/state-bar/live-streaming-state.d.ts +1 -0
- package/lib/modules/state-bar/live-streaming-state.js +199 -0
- package/lib/modules/state-bar/meeting-detail.css +107 -0
- package/lib/modules/state-bar/meeting-details.d.ts +2 -0
- package/lib/modules/state-bar/meeting-details.js +151 -0
- package/lib/modules/state-bar/meeting-network-state.css +131 -0
- package/lib/modules/state-bar/meeting-network-state.d.ts +2 -0
- package/lib/modules/state-bar/meeting-network-state.js +108 -0
- package/lib/modules/state-bar/meeting-time.d.ts +2 -0
- package/lib/modules/state-bar/meeting-time.js +49 -0
- package/lib/modules/state-bar/network-quality.d.ts +2 -0
- package/lib/modules/state-bar/network-quality.js +33 -0
- package/lib/modules/state-bar/recording.d.ts +1 -0
- package/lib/modules/state-bar/recording.js +110 -0
- package/lib/modules/state-bar/store.d.ts +70 -0
- package/lib/modules/state-bar/store.js +515 -0
- package/lib/modules/state-bar/view.d.ts +5 -0
- package/lib/modules/state-bar/view.js +182 -0
- package/lib/modules/video-window/context.d.ts +3 -0
- package/lib/modules/video-window/context.js +9 -0
- package/lib/modules/video-window/deviceState/index.d.ts +15 -0
- package/lib/modules/video-window/deviceState/index.js +77 -0
- package/lib/modules/video-window/index.css +17 -0
- package/lib/modules/video-window/index.d.ts +9 -0
- package/lib/modules/video-window/index.js +65 -0
- package/lib/modules/video-window/members/index.css +50 -0
- package/lib/modules/video-window/members/index.d.ts +2 -0
- package/lib/modules/video-window/members/index.js +134 -0
- package/lib/modules/video-window/speaking/index.css +69 -0
- package/lib/modules/video-window/speaking/index.d.ts +3 -0
- package/lib/modules/video-window/speaking/index.js +57 -0
- package/lib/modules/video-window/store.d.ts +88 -0
- package/lib/modules/video-window/store.js +598 -0
- package/lib/modules/video-window/topControl/index.css +35 -0
- package/lib/modules/video-window/topControl/index.d.ts +3 -0
- package/lib/modules/video-window/topControl/index.js +85 -0
- package/lib/modules/video-window/type.d.ts +23 -0
- package/lib/modules/video-window/type.js +32 -0
- package/lib/modules/video-window/view.d.ts +2 -0
- package/lib/modules/video-window/view.js +63 -0
- package/lib/modules/whiteboard/app.d.ts +2 -0
- package/lib/modules/whiteboard/app.js +55 -0
- package/lib/modules/whiteboard/components/control-bar/index.css +49 -0
- package/lib/modules/whiteboard/components/control-bar/index.d.ts +2 -0
- package/lib/modules/whiteboard/components/control-bar/index.js +163 -0
- package/lib/modules/whiteboard/components/control-bar/store.d.ts +36 -0
- package/lib/modules/whiteboard/components/control-bar/store.js +288 -0
- package/lib/modules/whiteboard/components/loading/index.css +76 -0
- package/lib/modules/whiteboard/components/loading/index.d.ts +2 -0
- package/lib/modules/whiteboard/components/loading/index.js +68 -0
- package/lib/modules/whiteboard/components/loading/loading.png +0 -0
- package/lib/modules/whiteboard/components/multi-window/index.css +63 -0
- package/lib/modules/whiteboard/components/multi-window/index.d.ts +5 -0
- package/lib/modules/whiteboard/components/multi-window/index.js +34 -0
- package/lib/modules/whiteboard/components/pagination/index.css +228 -0
- package/lib/modules/whiteboard/components/pagination/index.d.ts +15 -0
- package/lib/modules/whiteboard/components/pagination/index.js +163 -0
- package/lib/modules/whiteboard/components/pagination/store.d.ts +19 -0
- package/lib/modules/whiteboard/components/pagination/store.js +17 -0
- package/lib/modules/whiteboard/components/progress/electron.d.ts +1 -0
- package/lib/modules/whiteboard/components/progress/electron.js +32 -0
- package/lib/modules/whiteboard/components/progress/index.d.ts +5 -0
- package/lib/modules/whiteboard/components/progress/index.js +43 -0
- package/lib/modules/whiteboard/components/progress/style.css +50 -0
- package/lib/modules/whiteboard/components/scene-pagination.d.ts +1 -0
- package/lib/modules/whiteboard/components/scene-pagination.js +32 -0
- package/lib/modules/whiteboard/components/switch-theme/index.css +94 -0
- package/lib/modules/whiteboard/components/switch-theme/index.d.ts +2 -0
- package/lib/modules/whiteboard/components/switch-theme/index.js +77 -0
- package/lib/modules/whiteboard/components/switch-theme/item.d.ts +8 -0
- package/lib/modules/whiteboard/components/switch-theme/item.js +44 -0
- package/lib/modules/whiteboard/components/switch-theme/libs.d.ts +3 -0
- package/lib/modules/whiteboard/components/switch-theme/libs.js +28 -0
- package/lib/modules/whiteboard/components/toolbar/ style.css +588 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/color.d.ts +5 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/color.js +39 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/panel.d.ts +1 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/panel.js +105 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/picker.d.ts +1 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/picker.js +63 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/index.d.ts +2 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/index.js +44 -0
- package/lib/modules/whiteboard/components/toolbar/components/eraser-picker.d.ts +4 -0
- package/lib/modules/whiteboard/components/toolbar/components/eraser-picker.js +98 -0
- package/lib/modules/whiteboard/components/toolbar/components/extra-tool-picker.d.ts +1 -0
- package/lib/modules/whiteboard/components/toolbar/components/extra-tool-picker.js +59 -0
- package/lib/modules/whiteboard/components/toolbar/components/history.d.ts +2 -0
- package/lib/modules/whiteboard/components/toolbar/components/history.js +46 -0
- package/lib/modules/whiteboard/components/toolbar/components/icons/fold-icon.d.ts +2 -0
- package/lib/modules/whiteboard/components/toolbar/components/icons/fold-icon.js +41 -0
- package/lib/modules/whiteboard/components/toolbar/components/icons/move-icon.d.ts +1 -0
- package/lib/modules/whiteboard/components/toolbar/components/icons/move-icon.js +66 -0
- package/lib/modules/whiteboard/components/toolbar/components/move-handle.d.ts +5 -0
- package/lib/modules/whiteboard/components/toolbar/components/move-handle.js +131 -0
- package/lib/modules/whiteboard/components/toolbar/components/pen-picker.d.ts +4 -0
- package/lib/modules/whiteboard/components/toolbar/components/pen-picker.js +112 -0
- package/lib/modules/whiteboard/components/toolbar/components/screen-capture-picker.d.ts +4 -0
- package/lib/modules/whiteboard/components/toolbar/components/screen-capture-picker.js +74 -0
- package/lib/modules/whiteboard/components/toolbar/components/shape-picker.d.ts +4 -0
- package/lib/modules/whiteboard/components/toolbar/components/shape-picker.js +163 -0
- package/lib/modules/whiteboard/components/toolbar/hooks/index.d.ts +14 -0
- package/lib/modules/whiteboard/components/toolbar/hooks/index.js +211 -0
- package/lib/modules/whiteboard/components/toolbar/index.d.ts +2 -0
- package/lib/modules/whiteboard/components/toolbar/index.js +175 -0
- package/lib/modules/whiteboard/components/toolbar/store.d.ts +50 -0
- package/lib/modules/whiteboard/components/toolbar/store.js +224 -0
- package/lib/modules/whiteboard/context.d.ts +66 -0
- package/lib/modules/whiteboard/context.js +34 -0
- package/lib/modules/whiteboard/index.d.ts +115 -0
- package/lib/modules/whiteboard/index.js +1082 -0
- package/lib/modules/whiteboard/style.css +142 -0
- package/lib/modules/whiteboard/type.d.ts +96 -0
- package/lib/modules/whiteboard/type.js +94 -0
- package/lib/modules/whiteboard/utils.d.ts +11 -0
- package/lib/modules/whiteboard/utils.js +25 -0
- package/lib/plugins/browser-runtime-plugin.d.ts +0 -0
- package/lib/plugins/browser-runtime-plugin.js +67 -0
- package/lib/plugins/css-preset-plugin.d.ts +1 -0
- package/lib/plugins/css-preset-plugin.js +22 -0
- package/lib/plugins/electron-rtc-plugin.d.ts +1 -0
- package/lib/plugins/electron-rtc-plugin.js +5 -0
- package/lib/plugins/module-dev-plugin.d.ts +12 -0
- package/lib/plugins/module-dev-plugin.js +181 -0
- package/lib/plugins/multi-lang-plugin.d.ts +5 -0
- package/lib/plugins/multi-lang-plugin.js +17 -0
- package/lib/plugins/rtm-plugin.d.ts +1 -0
- package/lib/plugins/rtm-plugin.js +5 -0
- package/lib/plugins/web-rtc-plugin.d.ts +1 -0
- package/lib/plugins/web-rtc-plugin.js +5 -0
- package/lib/runtime.d.ts +86 -0
- package/lib/translations/enUS.d.ts +993 -0
- package/lib/translations/enUS.js +1016 -0
- package/lib/translations/zhCN.d.ts +993 -0
- package/lib/translations/zhCN.js +1016 -0
- package/lib/type.d.ts +107 -0
- package/lib/type.js +42 -0
- package/lib/ui-manager.d.ts +17 -0
- package/lib/ui-manager.js +555 -0
- package/lib/ui-scene.d.ts +13 -0
- package/lib/ui-scene.js +142 -0
- package/lib/utilities/board-context.d.ts +5 -0
- package/lib/utilities/board-context.js +12 -0
- package/lib/utilities/constant.d.ts +248 -0
- package/lib/utilities/constant.js +232 -0
- package/lib/utilities/copyText.d.ts +2 -0
- package/lib/utilities/copyText.js +43 -0
- package/lib/utilities/default-config.d.ts +32 -0
- package/lib/utilities/default-config.js +39 -0
- package/lib/utilities/extract.d.ts +5 -0
- package/lib/utilities/extract.js +97 -0
- package/lib/utilities/hooks.d.ts +14 -0
- package/lib/utilities/hooks.js +99 -0
- package/lib/utilities/mute-action.d.ts +4 -0
- package/lib/utilities/mute-action.js +48 -0
- package/lib/utilities/parameters.d.ts +7 -0
- package/lib/utilities/parameters.js +20 -0
- package/lib/utilities/platform.d.ts +1 -0
- package/lib/utilities/platform.js +11 -0
- package/lib/utilities/regex.d.ts +1 -0
- package/lib/utilities/regex.js +14 -0
- package/lib/utilities/renderer-event.d.ts +9 -0
- package/lib/utilities/renderer-event.js +76 -0
- package/lib/utilities/renderer.d.ts +23 -0
- package/lib/utilities/renderer.js +109 -0
- package/lib/utilities/screen.d.ts +3 -0
- package/lib/utilities/screen.js +41 -0
- package/lib/utilities/tools.d.ts +25 -0
- package/lib/utilities/tools.js +164 -0
- package/lib/utilities/ui-resources.d.ts +2 -0
- package/lib/utilities/ui-resources.js +9 -0
- package/lib/utilities/useNamespace.d.ts +15 -0
- package/lib/utilities/useNamespace.js +66 -0
- package/lib/utilities/video-track-render-context.d.ts +8 -0
- package/lib/utilities/video-track-render-context.js +9 -0
- package/package.json +61 -85
- package/public/assets/fcr_chat_reddot.svg +5 -0
- package/public/assets/fcr_defaultpage.png +0 -0
- package/public/assets/fcr_grid_big.svg +3 -0
- package/public/assets/fcr_listontop_big.svg +3 -0
- package/public/assets/pretest.mp3 +0 -0
- package/public/assets/state-bar-logo.png +0 -0
- package/public/assets/step-gradient.svg +10 -0
- package/public/extensions/agora-extension-virtual-background/agora-wasm.wasm +0 -0
- package/public/extensions/ai-denoiser/denoiser-wasm-simd.wasm +0 -0
- package/public/extensions/ai-denoiser/denoiser-wasm.js +1 -0
- package/public/extensions/ai-denoiser/denoiser-wasm.wasm +0 -0
- package/public/index.html +26 -0
- package/.github/workflows/gitee-sync.yml +0 -27
- package/lib/fcr-ui-kit/src/components/avatar/helper.d.ts +0 -2
- package/lib/fcr-ui-kit/src/components/avatar/index.d.ts +0 -8
- package/lib/fcr-ui-kit/src/components/button/index.d.ts +0 -82
- package/lib/fcr-ui-kit/src/components/checkbox/index.d.ts +0 -12
- package/lib/fcr-ui-kit/src/components/dialog/class-dialog.d.ts +0 -51
- package/lib/fcr-ui-kit/src/components/dialog/confirm-dialog.d.ts +0 -70
- package/lib/fcr-ui-kit/src/components/dialog/global-dialog.d.ts +0 -11
- package/lib/fcr-ui-kit/src/components/dialog/index.d.ts +0 -68
- package/lib/fcr-ui-kit/src/components/dropdown/index.d.ts +0 -58
- package/lib/fcr-ui-kit/src/components/input/index.d.ts +0 -69
- package/lib/fcr-ui-kit/src/components/input-number/index.d.ts +0 -69
- package/lib/fcr-ui-kit/src/components/pagination/index.d.ts +0 -27
- package/lib/fcr-ui-kit/src/components/popover/index.d.ts +0 -47
- package/lib/fcr-ui-kit/src/components/progress/index.d.ts +0 -11
- package/lib/fcr-ui-kit/src/components/radio/index.d.ts +0 -21
- package/lib/fcr-ui-kit/src/components/slider/index.d.ts +0 -22
- package/lib/fcr-ui-kit/src/components/sound-player/index.d.ts +0 -6
- package/lib/fcr-ui-kit/src/components/svg-img/clickable-icon.d.ts +0 -25
- package/lib/fcr-ui-kit/src/components/svg-img/index.d.ts +0 -15
- package/lib/fcr-ui-kit/src/components/svg-img/mic.d.ts +0 -5
- package/lib/fcr-ui-kit/src/components/svg-img/svg-dict.d.ts +0 -12
- package/lib/fcr-ui-kit/src/components/svg-img/type.d.ts +0 -196
- package/lib/fcr-ui-kit/src/components/svga-player/index.d.ts +0 -15
- package/lib/fcr-ui-kit/src/components/svga-player/svga-types.d.ts +0 -1
- package/lib/fcr-ui-kit/src/components/table/index.d.ts +0 -9
- package/lib/fcr-ui-kit/src/components/tabs/index.d.ts +0 -14
- package/lib/fcr-ui-kit/src/components/textarea/helper.d.ts +0 -2
- package/lib/fcr-ui-kit/src/components/textarea/index.d.ts +0 -100
- package/lib/fcr-ui-kit/src/components/toast/index.d.ts +0 -122
- package/lib/fcr-ui-kit/src/components/tooltip/dialog.d.ts +0 -19
- package/lib/fcr-ui-kit/src/components/tooltip/index.d.ts +0 -89
- package/lib/fcr-ui-kit/src/components/tooltip/info.d.ts +0 -6
- package/lib/fcr-ui-kit/src/components/volume/index.d.ts +0 -8
- package/lib/fcr-ui-kit/src/utils/click-anywhere.d.ts +0 -1
- package/lib/fcr-ui-kit/src/utils/hooks/animations.d.ts +0 -14
- package/lib/fcr-ui-kit/src/utils/hooks/use-click-anywhere.d.ts +0 -2
- package/lib/fcr-ui-kit/src/utils/tailwindcss.d.ts +0 -3
- package/lib/fcr-ui-scene/src/app.d.ts +0 -5
- package/lib/fcr-ui-scene/src/configs/base-theme.d.ts +0 -391
- package/lib/fcr-ui-scene/src/configs/base-ui.d.ts +0 -12
- package/lib/fcr-ui-scene/src/configs/room-template.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/action-bar/chat/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/action-bar/cloud/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/action-bar/device/index.d.ts +0 -9
- package/lib/fcr-ui-scene/src/containers/action-bar/index.d.ts +0 -24
- package/lib/fcr-ui-scene/src/containers/action-bar/leave/index.d.ts +0 -4
- package/lib/fcr-ui-scene/src/containers/action-bar/participants/index.d.ts +0 -5
- package/lib/fcr-ui-scene/src/containers/action-bar/raise-hands/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/action-bar/record/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/action-bar/screen-share/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/action-bar/setting/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/action-bar/toolbox/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/action-bar/whiteboard/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/breakout-room/ask-help-list.d.ts +0 -10
- package/lib/fcr-ui-scene/src/containers/breakout-room/broadcast-panel.d.ts +0 -4
- package/lib/fcr-ui-scene/src/containers/breakout-room/create-panel.d.ts +0 -4
- package/lib/fcr-ui-scene/src/containers/breakout-room/group-info-panel.d.ts +0 -2
- package/lib/fcr-ui-scene/src/containers/breakout-room/group-panel.d.ts +0 -5
- package/lib/fcr-ui-scene/src/containers/breakout-room/group-status-panel.d.ts +0 -2
- package/lib/fcr-ui-scene/src/containers/breakout-room/grouping.d.ts +0 -15
- package/lib/fcr-ui-scene/src/containers/breakout-room/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/breakout-room/search-panel.d.ts +0 -5
- package/lib/fcr-ui-scene/src/containers/breakout-room/wizard.d.ts +0 -6
- package/lib/fcr-ui-scene/src/containers/cloud/dialog-header.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/cloud/index.d.ts +0 -6
- package/lib/fcr-ui-scene/src/containers/cloud/personal.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/cloud/public.d.ts +0 -4
- package/lib/fcr-ui-scene/src/containers/common/interact-labels.d.ts +0 -6
- package/lib/fcr-ui-scene/src/containers/device-pretest/basic-settings.d.ts +0 -4
- package/lib/fcr-ui-scene/src/containers/device-pretest/beauty-filter.d.ts +0 -2
- package/lib/fcr-ui-scene/src/containers/device-pretest/beauty-slider.d.ts +0 -2
- package/lib/fcr-ui-scene/src/containers/device-pretest/device-select.d.ts +0 -4
- package/lib/fcr-ui-scene/src/containers/device-pretest/index.d.ts +0 -4
- package/lib/fcr-ui-scene/src/containers/device-pretest/mirror-toggle.d.ts +0 -4
- package/lib/fcr-ui-scene/src/containers/device-pretest/video-portal.d.ts +0 -2
- package/lib/fcr-ui-scene/src/containers/device-pretest/virtual-background.d.ts +0 -4
- package/lib/fcr-ui-scene/src/containers/device-settings/audio-settings.d.ts +0 -2
- package/lib/fcr-ui-scene/src/containers/device-settings/dialog-wrapper.d.ts +0 -2
- package/lib/fcr-ui-scene/src/containers/device-settings/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/device-settings/video-settings.d.ts +0 -2
- package/lib/fcr-ui-scene/src/containers/dialog/class-info.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/dialog/confirm.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/dialog/index.d.ts +0 -2
- package/lib/fcr-ui-scene/src/containers/layout/cover-view.d.ts +0 -2
- package/lib/fcr-ui-scene/src/containers/layout/gallery-view.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/layout/presentation-view.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/loading/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/participants/dialog.d.ts +0 -2
- package/lib/fcr-ui-scene/src/containers/participants/index.d.ts +0 -5
- package/lib/fcr-ui-scene/src/containers/status-bar/class-duration/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/status-bar/fullscreen/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/status-bar/index.d.ts +0 -4
- package/lib/fcr-ui-scene/src/containers/status-bar/layout-switch/index.d.ts +0 -22
- package/lib/fcr-ui-scene/src/containers/status-bar/network/index.d.ts +0 -4
- package/lib/fcr-ui-scene/src/containers/status-bar/record-status/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/status-bar/room-info/index.d.ts +0 -4
- package/lib/fcr-ui-scene/src/containers/status-bar/share/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/status-bar/widgets/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/stream-window/context.d.ts +0 -52
- package/lib/fcr-ui-scene/src/containers/video-player/index.d.ts +0 -2
- package/lib/fcr-ui-scene/src/containers/video-player/players.d.ts +0 -2
- package/lib/fcr-ui-scene/src/containers/widget/break-out-room/index.d.ts +0 -2
- package/lib/fcr-ui-scene/src/containers/widget/draggable-wrapper/index.d.ts +0 -7
- package/lib/fcr-ui-scene/src/containers/widget/helpers.d.ts +0 -40
- package/lib/fcr-ui-scene/src/containers/widget/hooks.d.ts +0 -21
- package/lib/fcr-ui-scene/src/containers/widget/index.d.ts +0 -7
- package/lib/fcr-ui-scene/src/containers/widget/participants/index.d.ts +0 -2
- package/lib/fcr-ui-scene/src/extension/board.d.ts +0 -73
- package/lib/fcr-ui-scene/src/extension/edu-tool.d.ts +0 -57
- package/lib/fcr-ui-scene/src/extension/events.d.ts +0 -91
- package/lib/fcr-ui-scene/src/extension/type.d.ts +0 -94
- package/lib/fcr-ui-scene/src/index.d.ts +0 -39
- package/lib/fcr-ui-scene/src/lock.d.ts +0 -8
- package/lib/fcr-ui-scene/src/preset.d.ts +0 -1
- package/lib/fcr-ui-scene/src/resources/translations/enUs.d.ts +0 -400
- package/lib/fcr-ui-scene/src/resources/translations/zhCn.d.ts +0 -405
- package/lib/fcr-ui-scene/src/scenarios/classroom.d.ts +0 -2
- package/lib/fcr-ui-scene/src/scenarios/layout/index.d.ts +0 -2
- package/lib/fcr-ui-scene/src/type.d.ts +0 -361
- package/lib/fcr-ui-scene/src/uistores/action-bar.d.ts +0 -58
- package/lib/fcr-ui-scene/src/uistores/base.d.ts +0 -58
- package/lib/fcr-ui-scene/src/uistores/breakout.d.ts +0 -225
- package/lib/fcr-ui-scene/src/uistores/cloud/helper.d.ts +0 -26
- package/lib/fcr-ui-scene/src/uistores/cloud/index.d.ts +0 -51
- package/lib/fcr-ui-scene/src/uistores/cloud/struct.d.ts +0 -131
- package/lib/fcr-ui-scene/src/uistores/context.d.ts +0 -7
- package/lib/fcr-ui-scene/src/uistores/device-setting.d.ts +0 -222
- package/lib/fcr-ui-scene/src/uistores/gallery-view.d.ts +0 -16
- package/lib/fcr-ui-scene/src/uistores/getters.d.ts +0 -42
- package/lib/fcr-ui-scene/src/uistores/index.d.ts +0 -47
- package/lib/fcr-ui-scene/src/uistores/layout.d.ts +0 -64
- package/lib/fcr-ui-scene/src/uistores/notification.d.ts +0 -9
- package/lib/fcr-ui-scene/src/uistores/participants.d.ts +0 -48
- package/lib/fcr-ui-scene/src/uistores/presentation-view.d.ts +0 -24
- package/lib/fcr-ui-scene/src/uistores/status-bar.d.ts +0 -47
- package/lib/fcr-ui-scene/src/uistores/stream.d.ts +0 -48
- package/lib/fcr-ui-scene/src/uistores/subscription/abstract.d.ts +0 -45
- package/lib/fcr-ui-scene/src/uistores/subscription/index.d.ts +0 -13
- package/lib/fcr-ui-scene/src/uistores/subscription/main-room.d.ts +0 -14
- package/lib/fcr-ui-scene/src/uistores/subscription/type.d.ts +0 -10
- package/lib/fcr-ui-scene/src/uistores/type.d.ts +0 -86
- package/lib/fcr-ui-scene/src/uistores/widget.d.ts +0 -49
- package/lib/fcr-ui-scene/src/utils/asset.d.ts +0 -1
- package/lib/fcr-ui-scene/src/utils/check.d.ts +0 -7
- package/lib/fcr-ui-scene/src/utils/clamp-bounds.d.ts +0 -14
- package/lib/fcr-ui-scene/src/utils/config-loader.d.ts +0 -7
- package/lib/fcr-ui-scene/src/utils/grid/index.d.ts +0 -9
- package/lib/fcr-ui-scene/src/utils/hooks/use-authorization.d.ts +0 -5
- package/lib/fcr-ui-scene/src/utils/hooks/use-device-switch.d.ts +0 -29
- package/lib/fcr-ui-scene/src/utils/hooks/use-drag-position.d.ts +0 -21
- package/lib/fcr-ui-scene/src/utils/hooks/use-network.d.ts +0 -17
- package/lib/fcr-ui-scene/src/utils/hooks/use-pin-stream.d.ts +0 -4
- package/lib/fcr-ui-scene/src/utils/hooks/use-rnd-position.d.ts +0 -24
- package/lib/fcr-ui-scene/src/utils/hooks/use-store.d.ts +0 -1
- package/lib/fcr-ui-scene/src/utils/hooks/use-video-renderable.d.ts +0 -3
- package/lib/fcr-ui-scene/src/utils/hooks/use-z-index.d.ts +0 -8
- package/lib/fcr-ui-scene/src/utils/index.d.ts +0 -7
- package/lib/fcr-ui-scene/src/utils/launch-options-holder.d.ts +0 -10
- package/lib/fcr-ui-scene/src/utils/rtc-extensions.d.ts +0 -29
- package/lib/fcr-ui-scene/src/utils/short-name.d.ts +0 -1
- package/lib/fcr-ui-scene/src/utils/stream/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/utils/stream/state-keeper.d.ts +0 -18
- package/lib/fcr-ui-scene/src/utils/stream/struct.d.ts +0 -67
- package/lib/fcr-ui-scene/src/utils/vsd-pattern.d.ts +0 -1
- package/lib/fcr-ui-scene/src/utils/z-index-controller.d.ts +0 -9
- package/lib/fcr-ui-scene/tailwind.config.d.ts +0 -1
- package/lib/scene.bundle.js +0 -2
- /package/lib/{fcr-ui-scene/src/containers/video-player/tools-overlay.d.ts → electron/preload.d.ts} +0 -0
|
@@ -0,0 +1,598 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("core-js/modules/es.symbol.js");
|
|
4
|
+
require("core-js/modules/es.symbol.description.js");
|
|
5
|
+
require("core-js/modules/es.symbol.to-primitive.js");
|
|
6
|
+
require("core-js/modules/es.error.cause.js");
|
|
7
|
+
require("core-js/modules/es.error.to-string.js");
|
|
8
|
+
require("core-js/modules/es.array.is-array.js");
|
|
9
|
+
require("core-js/modules/es.date.to-primitive.js");
|
|
10
|
+
require("core-js/modules/es.function.bind.js");
|
|
11
|
+
require("core-js/modules/es.function.name.js");
|
|
12
|
+
require("core-js/modules/es.number.constructor.js");
|
|
13
|
+
require("core-js/modules/es.object.create.js");
|
|
14
|
+
require("core-js/modules/es.object.define-property.js");
|
|
15
|
+
require("core-js/modules/es.object.get-own-property-descriptor.js");
|
|
16
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
17
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
18
|
+
Object.defineProperty(exports, "__esModule", {
|
|
19
|
+
value: true
|
|
20
|
+
});
|
|
21
|
+
exports["default"] = void 0;
|
|
22
|
+
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
23
|
+
require("core-js/modules/es.array.filter.js");
|
|
24
|
+
require("core-js/modules/es.array.find.js");
|
|
25
|
+
require("core-js/modules/es.array.for-each.js");
|
|
26
|
+
require("core-js/modules/es.array.iterator.js");
|
|
27
|
+
require("core-js/modules/es.array.push.js");
|
|
28
|
+
require("core-js/modules/es.array.slice.js");
|
|
29
|
+
require("core-js/modules/es.array.some.js");
|
|
30
|
+
require("core-js/modules/es.map.js");
|
|
31
|
+
require("core-js/modules/es.object.to-string.js");
|
|
32
|
+
require("core-js/modules/es.object.values.js");
|
|
33
|
+
require("core-js/modules/es.string.iterator.js");
|
|
34
|
+
require("core-js/modules/es.weak-map.js");
|
|
35
|
+
require("core-js/modules/web.dom-collections.for-each.js");
|
|
36
|
+
require("core-js/modules/web.dom-collections.iterator.js");
|
|
37
|
+
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
38
|
+
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
39
|
+
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
40
|
+
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
41
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
42
|
+
var _mobx = require("mobx");
|
|
43
|
+
var _constant = require("../../utilities/constant");
|
|
44
|
+
var _decorator = require("agora-foundation/lib/decorator");
|
|
45
|
+
var _type2 = require("./type");
|
|
46
|
+
var _type3 = require("../layout/type");
|
|
47
|
+
var _type4 = require("agora-rte-sdk/lib/core/rtc/type");
|
|
48
|
+
var _renderer = require("../../utilities/renderer");
|
|
49
|
+
var _type5 = require("agora-edu-core/lib/type");
|
|
50
|
+
var _VideoWindowStore;
|
|
51
|
+
var _initProto, _init_userVolumeMap, _init_speakHover, _init_videoWindowPreviewType, _init_videoWindowCurrentWidth, _init_videoWindowCurrentHeight, _init_foldList, _init_workareaX, _init_workareaY, _init_workareaWidth, _init_workareaHeight, _init_localUserRole, _init__spotlightStreamId, _init_shouldHideNonVideoParticipants, _init_connectType, _init_bounds, _setBoundsDecs, _onAudioVolumeUpdatedDecs, _changeVideoWindowBoundsDecs, _onUserInfoUpdatedDecs, _setVideoWindowPreviewTypeDecs, _closeVideoWindowDecs, _setSpeakHoverDecs, _getAllowedOperationsDecs, _getCurrentDisplayBoundsDecs, _handleStreamsAddedOrUpdatedDecs, _ref;
|
|
52
|
+
function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
|
|
53
|
+
function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
|
|
54
|
+
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
|
55
|
+
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
|
56
|
+
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
|
57
|
+
function _applyDecs(e, t, r, n, o, a) { function i(e, t, r) { return function (n, o) { return r && r(n), e[t].call(n, o); }; } function c(e, t) { for (var r = 0; r < e.length; r++) e[r].call(t); return t; } function s(e, t, r, n) { if ("function" != typeof e && (n || void 0 !== e)) throw new TypeError(t + " must " + (r || "be") + " a function" + (n ? "" : " or undefined")); return e; } function applyDec(e, t, r, n, o, a, c, u, l, f, p, d, h) { function m(e) { if (!h(e)) throw new TypeError("Attempted to access private element on non-instance"); } var y, v = t[0], g = t[3], b = !u; if (!b) { r || Array.isArray(v) || (v = [v]); var w = {}, S = [], A = 3 === o ? "get" : 4 === o || d ? "set" : "value"; f ? (p || d ? w = { get: _setFunctionName(function () { return g(this); }, n, "get"), set: function set(e) { t[4](this, e); } } : w[A] = g, p || _setFunctionName(w[A], n, 2 === o ? "" : A)) : p || (w = Object.getOwnPropertyDescriptor(e, n)); } for (var P = e, j = v.length - 1; j >= 0; j -= r ? 2 : 1) { var D = v[j], E = r ? v[j - 1] : void 0, I = {}, O = { kind: ["field", "accessor", "method", "getter", "setter", "class"][o], name: n, metadata: a, addInitializer: function (e, t) { if (e.v) throw Error("attempted to call addInitializer after decoration was finished"); s(t, "An initializer", "be", !0), c.push(t); }.bind(null, I) }; try { if (b) (y = s(D.call(E, P, O), "class decorators", "return")) && (P = y);else { var k, F; O["static"] = l, O["private"] = f, f ? 2 === o ? k = function k(e) { return m(e), w.value; } : (o < 4 && (k = i(w, "get", m)), 3 !== o && (F = i(w, "set", m))) : (k = function k(e) { return e[n]; }, (o < 2 || 4 === o) && (F = function F(e, t) { e[n] = t; })); var N = O.access = { has: f ? h.bind() : function (e) { return n in e; } }; if (k && (N.get = k), F && (N.set = F), P = D.call(E, d ? { get: w.get, set: w.set } : w[A], O), d) { if ("object" == _typeof(P) && P) (y = s(P.get, "accessor.get")) && (w.get = y), (y = s(P.set, "accessor.set")) && (w.set = y), (y = s(P.init, "accessor.init")) && S.push(y);else if (void 0 !== P) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0"); } else s(P, (p ? "field" : "method") + " decorators", "return") && (p ? S.push(P) : w[A] = P); } } finally { I.v = !0; } } return (p || d) && u.push(function (e, t) { for (var r = S.length - 1; r >= 0; r--) t = S[r].call(e, t); return t; }), p || b || (f ? d ? u.push(i(w, "get"), i(w, "set")) : u.push(2 === o ? w[A] : i.call.bind(w[A])) : Object.defineProperty(e, n, w)), P; } function u(e, t) { return Object.defineProperty(e, Symbol.metadata || Symbol["for"]("Symbol.metadata"), { configurable: !0, enumerable: !0, value: t }); } if (arguments.length >= 6) var l = a[Symbol.metadata || Symbol["for"]("Symbol.metadata")]; var f = Object.create(null == l ? null : l), p = function (e, t, r, n) { var o, a, i = [], s = function s(t) { return _checkInRHS(t) === e; }, u = new Map(); function l(e) { e && i.push(c.bind(null, e)); } for (var f = 0; f < t.length; f++) { var p = t[f]; if (Array.isArray(p)) { var d = p[1], h = p[2], m = p.length > 3, y = 16 & d, v = !!(8 & d), g = 0 == (d &= 7), b = h + "/" + v; if (!g && !m) { var w = u.get(b); if (!0 === w || 3 === w && 4 !== d || 4 === w && 3 !== d) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + h); u.set(b, !(d > 2) || d); } applyDec(v ? e : e.prototype, p, y, m ? "#" + h : _toPropertyKey(h), d, n, v ? a = a || [] : o = o || [], i, v, m, g, 1 === d, v && m ? s : r); } } return l(o), l(a), i; }(e, t, o, f); return r.length || u(e, f), { e: p, get c() { var t = []; return r.length && [u(applyDec(e, [r], n, e.name, 5, f, t), f), c.bind(null, t, e)]; } }; }
|
|
58
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
59
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
60
|
+
function _setFunctionName(e, t, n) { "symbol" == _typeof(t) && (t = (t = t.description) ? "[" + t + "]" : ""); try { Object.defineProperty(e, "name", { configurable: !0, value: n ? n + " " + t : t }); } catch (e) {} return e; }
|
|
61
|
+
function _checkInRHS(e) { if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (null !== e ? _typeof(e) : "null")); return e; }
|
|
62
|
+
var _A = /*#__PURE__*/new WeakMap();
|
|
63
|
+
var _B = /*#__PURE__*/new WeakMap();
|
|
64
|
+
var _C = /*#__PURE__*/new WeakMap();
|
|
65
|
+
var _D = /*#__PURE__*/new WeakMap();
|
|
66
|
+
var _E = /*#__PURE__*/new WeakMap();
|
|
67
|
+
var _F = /*#__PURE__*/new WeakMap();
|
|
68
|
+
var _G = /*#__PURE__*/new WeakMap();
|
|
69
|
+
var _H = /*#__PURE__*/new WeakMap();
|
|
70
|
+
var _I = /*#__PURE__*/new WeakMap();
|
|
71
|
+
var _J = /*#__PURE__*/new WeakMap();
|
|
72
|
+
var _K = /*#__PURE__*/new WeakMap();
|
|
73
|
+
var _L = /*#__PURE__*/new WeakMap();
|
|
74
|
+
var _M = /*#__PURE__*/new WeakMap();
|
|
75
|
+
var _N = /*#__PURE__*/new WeakMap();
|
|
76
|
+
var _O = /*#__PURE__*/new WeakMap();
|
|
77
|
+
_ref = (_setBoundsDecs = [_mobx.action, _mobx.action.bound], _onAudioVolumeUpdatedDecs = [_mobx.action, _mobx.action.bound], _changeVideoWindowBoundsDecs = [_mobx.action, _mobx.action.bound], _onUserInfoUpdatedDecs = [_mobx.action, _mobx.action.bound], _setVideoWindowPreviewTypeDecs = [_mobx.action, _mobx.action.bound], _closeVideoWindowDecs = [_mobx.action, _mobx.action.bound], _setSpeakHoverDecs = [_mobx.action, _mobx.action.bound], _getAllowedOperationsDecs = [_mobx.action, _mobx.action.bound], _getCurrentDisplayBoundsDecs = [_mobx.action, _mobx.action.bound], _handleStreamsAddedOrUpdatedDecs = [_mobx.action, _mobx.action.bound], "_uiEventStore");
|
|
78
|
+
var VideoWindowStore = exports["default"] = /*#__PURE__*/function () {
|
|
79
|
+
function VideoWindowStore(params) {
|
|
80
|
+
var _this = this;
|
|
81
|
+
(0, _classCallCheck2["default"])(this, VideoWindowStore);
|
|
82
|
+
(0, _defineProperty2["default"])(this, _ref, void _initProto(this));
|
|
83
|
+
(0, _defineProperty2["default"])(this, "_releaseVideoWindowListeners", []);
|
|
84
|
+
(0, _defineProperty2["default"])(this, "_subscriptions", []);
|
|
85
|
+
_classPrivateFieldInitSpec(this, _A, _init_userVolumeMap(this, new Map()));
|
|
86
|
+
_classPrivateFieldInitSpec(this, _B, _init_speakHover(this));
|
|
87
|
+
_classPrivateFieldInitSpec(this, _C, _init_videoWindowPreviewType(this, _type2.FcrVideoWindowPreviewType.MIX));
|
|
88
|
+
_classPrivateFieldInitSpec(this, _D, _init_videoWindowCurrentWidth(this));
|
|
89
|
+
_classPrivateFieldInitSpec(this, _E, _init_videoWindowCurrentHeight(this));
|
|
90
|
+
_classPrivateFieldInitSpec(this, _F, _init_foldList(this, []));
|
|
91
|
+
_classPrivateFieldInitSpec(this, _G, _init_workareaX(this, 0));
|
|
92
|
+
_classPrivateFieldInitSpec(this, _H, _init_workareaY(this, 0));
|
|
93
|
+
_classPrivateFieldInitSpec(this, _I, _init_workareaWidth(this, 0));
|
|
94
|
+
_classPrivateFieldInitSpec(this, _J, _init_workareaHeight(this, 0));
|
|
95
|
+
_classPrivateFieldInitSpec(this, _K, _init_localUserRole(this, _type5.FcrUserRole.PARTICIPANT));
|
|
96
|
+
_classPrivateFieldInitSpec(this, _L, _init__spotlightStreamId(this, ''));
|
|
97
|
+
_classPrivateFieldInitSpec(this, _M, _init_shouldHideNonVideoParticipants(this, false));
|
|
98
|
+
_classPrivateFieldInitSpec(this, _N, _init_connectType(this, _type2.ConnectType.COMPUTER));
|
|
99
|
+
_classPrivateFieldInitSpec(this, _O, _init_bounds(this, {
|
|
100
|
+
width: 0,
|
|
101
|
+
height: 0
|
|
102
|
+
}));
|
|
103
|
+
var uiEventStore = params.uiEventStore,
|
|
104
|
+
userControl = params.userControl,
|
|
105
|
+
streamControl = params.streamControl,
|
|
106
|
+
securityStore = params.securityStore,
|
|
107
|
+
deviceStore = params.deviceStore,
|
|
108
|
+
mediaControl = params.mediaControl,
|
|
109
|
+
deviceStreamStore = params.deviceStreamStore;
|
|
110
|
+
this._uiEventStore = uiEventStore;
|
|
111
|
+
this._deviceStore = deviceStore;
|
|
112
|
+
this._deviceStreamStore = deviceStreamStore;
|
|
113
|
+
this._streamControl = streamControl;
|
|
114
|
+
this._mediaControl = mediaControl;
|
|
115
|
+
this._securityStore = securityStore;
|
|
116
|
+
this._uiEventStore.addObserver({
|
|
117
|
+
onEvent: this.onEvent
|
|
118
|
+
});
|
|
119
|
+
this._streamControl.addObserver({
|
|
120
|
+
onAudioVolumeUpdated: this._onAudioVolumeUpdated,
|
|
121
|
+
onStreamsAdded: this._handleStreamsAddedOrUpdated,
|
|
122
|
+
onStreamsUpdated: this._handleStreamsAddedOrUpdated,
|
|
123
|
+
onStreamsRemoved: this._handleStreamsAddedOrUpdated
|
|
124
|
+
});
|
|
125
|
+
this._userControl = userControl;
|
|
126
|
+
this._userControl.addObserver({
|
|
127
|
+
onUserInfoUpdated: this.onUserInfoUpdated
|
|
128
|
+
});
|
|
129
|
+
this.setLocalUserRole(userControl.getLocalUser().userRole);
|
|
130
|
+
this.speakHover = false;
|
|
131
|
+
this.videoWindowCurrentHeight = _type2.DefaultVideoWindowHeight;
|
|
132
|
+
this.videoWindowCurrentWidth = _type2.DefaultVideoWindowWidth;
|
|
133
|
+
this._subscriptions.push((0, _mobx.reaction)(function () {
|
|
134
|
+
return _this._deviceStore.microphoneVolumeLevel;
|
|
135
|
+
}, function (volume) {
|
|
136
|
+
(0, _mobx.runInAction)(function () {
|
|
137
|
+
_this.userVolumeMap.set('0', volume);
|
|
138
|
+
});
|
|
139
|
+
}));
|
|
140
|
+
}
|
|
141
|
+
return (0, _createClass2["default"])(VideoWindowStore, [{
|
|
142
|
+
key: "userVolumeMap",
|
|
143
|
+
get: function get() {
|
|
144
|
+
return _classPrivateFieldGet(_A, this);
|
|
145
|
+
},
|
|
146
|
+
set: function set(v) {
|
|
147
|
+
_classPrivateFieldSet(_A, this, v);
|
|
148
|
+
}
|
|
149
|
+
}, {
|
|
150
|
+
key: "speakHover",
|
|
151
|
+
get: function get() {
|
|
152
|
+
return _classPrivateFieldGet(_B, this);
|
|
153
|
+
},
|
|
154
|
+
set: function set(v) {
|
|
155
|
+
_classPrivateFieldSet(_B, this, v);
|
|
156
|
+
}
|
|
157
|
+
}, {
|
|
158
|
+
key: "videoWindowPreviewType",
|
|
159
|
+
get: function get() {
|
|
160
|
+
return _classPrivateFieldGet(_C, this);
|
|
161
|
+
},
|
|
162
|
+
set: function set(v) {
|
|
163
|
+
_classPrivateFieldSet(_C, this, v);
|
|
164
|
+
}
|
|
165
|
+
}, {
|
|
166
|
+
key: "videoWindowCurrentWidth",
|
|
167
|
+
get: function get() {
|
|
168
|
+
return _classPrivateFieldGet(_D, this);
|
|
169
|
+
},
|
|
170
|
+
set: function set(v) {
|
|
171
|
+
_classPrivateFieldSet(_D, this, v);
|
|
172
|
+
}
|
|
173
|
+
}, {
|
|
174
|
+
key: "videoWindowCurrentHeight",
|
|
175
|
+
get: function get() {
|
|
176
|
+
return _classPrivateFieldGet(_E, this);
|
|
177
|
+
},
|
|
178
|
+
set: function set(v) {
|
|
179
|
+
_classPrivateFieldSet(_E, this, v);
|
|
180
|
+
}
|
|
181
|
+
}, {
|
|
182
|
+
key: "foldList",
|
|
183
|
+
get: function get() {
|
|
184
|
+
return _classPrivateFieldGet(_F, this);
|
|
185
|
+
},
|
|
186
|
+
set: function set(v) {
|
|
187
|
+
_classPrivateFieldSet(_F, this, v);
|
|
188
|
+
}
|
|
189
|
+
}, {
|
|
190
|
+
key: "workareaX",
|
|
191
|
+
get: function get() {
|
|
192
|
+
return _classPrivateFieldGet(_G, this);
|
|
193
|
+
},
|
|
194
|
+
set: function set(v) {
|
|
195
|
+
_classPrivateFieldSet(_G, this, v);
|
|
196
|
+
}
|
|
197
|
+
}, {
|
|
198
|
+
key: "workareaY",
|
|
199
|
+
get: function get() {
|
|
200
|
+
return _classPrivateFieldGet(_H, this);
|
|
201
|
+
},
|
|
202
|
+
set: function set(v) {
|
|
203
|
+
_classPrivateFieldSet(_H, this, v);
|
|
204
|
+
}
|
|
205
|
+
}, {
|
|
206
|
+
key: "workareaWidth",
|
|
207
|
+
get: function get() {
|
|
208
|
+
return _classPrivateFieldGet(_I, this);
|
|
209
|
+
},
|
|
210
|
+
set: function set(v) {
|
|
211
|
+
_classPrivateFieldSet(_I, this, v);
|
|
212
|
+
}
|
|
213
|
+
}, {
|
|
214
|
+
key: "workareaHeight",
|
|
215
|
+
get: function get() {
|
|
216
|
+
return _classPrivateFieldGet(_J, this);
|
|
217
|
+
},
|
|
218
|
+
set: function set(v) {
|
|
219
|
+
_classPrivateFieldSet(_J, this, v);
|
|
220
|
+
}
|
|
221
|
+
}, {
|
|
222
|
+
key: "localUserRole",
|
|
223
|
+
get: function get() {
|
|
224
|
+
return _classPrivateFieldGet(_K, this);
|
|
225
|
+
},
|
|
226
|
+
set: function set(v) {
|
|
227
|
+
_classPrivateFieldSet(_K, this, v);
|
|
228
|
+
}
|
|
229
|
+
}, {
|
|
230
|
+
key: "_spotlightStreamId",
|
|
231
|
+
get: function get() {
|
|
232
|
+
return _classPrivateFieldGet(_L, this);
|
|
233
|
+
},
|
|
234
|
+
set: function set(v) {
|
|
235
|
+
_classPrivateFieldSet(_L, this, v);
|
|
236
|
+
}
|
|
237
|
+
}, {
|
|
238
|
+
key: "shouldHideNonVideoParticipants",
|
|
239
|
+
get: function get() {
|
|
240
|
+
return _classPrivateFieldGet(_M, this);
|
|
241
|
+
},
|
|
242
|
+
set: function set(v) {
|
|
243
|
+
_classPrivateFieldSet(_M, this, v);
|
|
244
|
+
}
|
|
245
|
+
}, {
|
|
246
|
+
key: "connectType",
|
|
247
|
+
get: function get() {
|
|
248
|
+
return _classPrivateFieldGet(_N, this);
|
|
249
|
+
},
|
|
250
|
+
set: function set(v) {
|
|
251
|
+
_classPrivateFieldSet(_N, this, v);
|
|
252
|
+
}
|
|
253
|
+
}, {
|
|
254
|
+
key: "bounds",
|
|
255
|
+
get: function get() {
|
|
256
|
+
return _classPrivateFieldGet(_O, this);
|
|
257
|
+
},
|
|
258
|
+
set: function set(v) {
|
|
259
|
+
_classPrivateFieldSet(_O, this, v);
|
|
260
|
+
}
|
|
261
|
+
}, {
|
|
262
|
+
key: "setBounds",
|
|
263
|
+
value: function setBounds(width, height) {
|
|
264
|
+
this.bounds = {
|
|
265
|
+
width: width,
|
|
266
|
+
height: height
|
|
267
|
+
};
|
|
268
|
+
}
|
|
269
|
+
}, {
|
|
270
|
+
key: "setVideoOrientation",
|
|
271
|
+
value: function setVideoOrientation() {
|
|
272
|
+
this._deviceStore.setVideoOrientation();
|
|
273
|
+
}
|
|
274
|
+
}, {
|
|
275
|
+
key: "release",
|
|
276
|
+
value: function release() {
|
|
277
|
+
this._subscriptions.forEach(function (fn) {
|
|
278
|
+
return fn();
|
|
279
|
+
});
|
|
280
|
+
}
|
|
281
|
+
}, {
|
|
282
|
+
key: "_onAudioVolumeUpdated",
|
|
283
|
+
value: function _onAudioVolumeUpdated(roomId, streamId, volume) {
|
|
284
|
+
this.userVolumeMap.set(streamId, volume);
|
|
285
|
+
}
|
|
286
|
+
}, {
|
|
287
|
+
key: "foldListRenderData",
|
|
288
|
+
get: function get() {
|
|
289
|
+
var filterList = this.filterFoldList(this.foldList, this.shouldHideNonVideoParticipants);
|
|
290
|
+
return this.sliceFoldList(filterList, this.videoWindowPreviewType);
|
|
291
|
+
}
|
|
292
|
+
}, {
|
|
293
|
+
key: "findSpotlightUser",
|
|
294
|
+
get: function get() {
|
|
295
|
+
var _this2 = this;
|
|
296
|
+
return this._spotlightStreamId ? this.foldList.find(function (item) {
|
|
297
|
+
return item.videoStreamId === _this2._spotlightStreamId || item.audioStreamId === _this2._spotlightStreamId;
|
|
298
|
+
}) : null;
|
|
299
|
+
}
|
|
300
|
+
}, {
|
|
301
|
+
key: "hasPinnedStream",
|
|
302
|
+
get: function get() {
|
|
303
|
+
var filterList = this.filterFoldList(this.foldList, this.shouldHideNonVideoParticipants);
|
|
304
|
+
return filterList.some(function (item) {
|
|
305
|
+
return item.isPin;
|
|
306
|
+
});
|
|
307
|
+
}
|
|
308
|
+
}, {
|
|
309
|
+
key: "getLocalUserId",
|
|
310
|
+
value: function getLocalUserId() {
|
|
311
|
+
return this._userControl.getLocalUser().userId;
|
|
312
|
+
}
|
|
313
|
+
}, {
|
|
314
|
+
key: "removePin",
|
|
315
|
+
value: function removePin(streamId) {
|
|
316
|
+
this._uiEventStore.sendEvent(_constant.UIAction.VIDEO_WINDOW_PIN_ACTION, {
|
|
317
|
+
action: _constant.VideoWindowPinType.REMOVE_PIN,
|
|
318
|
+
streamId: streamId
|
|
319
|
+
});
|
|
320
|
+
}
|
|
321
|
+
}, {
|
|
322
|
+
key: "addPin",
|
|
323
|
+
value: function addPin(streamId) {
|
|
324
|
+
this._uiEventStore.sendEvent(_constant.UIAction.VIDEO_WINDOW_PIN_ACTION, {
|
|
325
|
+
action: _constant.VideoWindowPinType.ADD_PIN,
|
|
326
|
+
streamId: streamId
|
|
327
|
+
});
|
|
328
|
+
}
|
|
329
|
+
}, {
|
|
330
|
+
key: "startPlayLocalVideo",
|
|
331
|
+
value: function startPlayLocalVideo(element) {
|
|
332
|
+
this._deviceStore.startPlayLocalVideo(element);
|
|
333
|
+
}
|
|
334
|
+
}, {
|
|
335
|
+
key: "stopPlayLocalVideo",
|
|
336
|
+
value: function stopPlayLocalVideo(element) {
|
|
337
|
+
this._deviceStore.stopPlayLocalVideo(element);
|
|
338
|
+
}
|
|
339
|
+
}, {
|
|
340
|
+
key: "startRenderRemoteVideo",
|
|
341
|
+
value: function startRenderRemoteVideo(streamId, type, renderMode, isMirror, element) {
|
|
342
|
+
return this._streamControl.startRenderRemoteVideoStream(streamId, type, {
|
|
343
|
+
renderMode: renderMode,
|
|
344
|
+
isMirror: isMirror
|
|
345
|
+
}, element);
|
|
346
|
+
}
|
|
347
|
+
}, {
|
|
348
|
+
key: "stopRenderRemoteVideo",
|
|
349
|
+
value: function stopRenderRemoteVideo(streamId, element) {
|
|
350
|
+
this._streamControl.stopRenderRemoteVideoStream(streamId, element);
|
|
351
|
+
}
|
|
352
|
+
}, {
|
|
353
|
+
key: "sendParticipantEvent",
|
|
354
|
+
value: function sendParticipantEvent(payload) {
|
|
355
|
+
this._uiEventStore.sendEvent(_constant.UIAction.PARTICIPANT_ACTION, payload);
|
|
356
|
+
}
|
|
357
|
+
}, {
|
|
358
|
+
key: "muteAudio",
|
|
359
|
+
value: function muteAudio(mute, userId) {
|
|
360
|
+
this._uiEventStore.sendEvent(_constant.UIAction.PARTICIPANT_ACTION, {
|
|
361
|
+
action: mute ? _constant.ParticipantType.MUTE_AUDIO : _constant.ParticipantType.UNMUTE_AUDIO,
|
|
362
|
+
userId: userId
|
|
363
|
+
});
|
|
364
|
+
}
|
|
365
|
+
}, {
|
|
366
|
+
key: "setLocalUserRole",
|
|
367
|
+
value: function setLocalUserRole(role) {
|
|
368
|
+
this.localUserRole = role;
|
|
369
|
+
}
|
|
370
|
+
}, {
|
|
371
|
+
key: "computedVideoWindowHeight",
|
|
372
|
+
value: function computedVideoWindowHeight(list) {
|
|
373
|
+
var _height = _type2.DefaultVideoWindowHeight;
|
|
374
|
+
var listCount = list.length > 4 ? 4 : list.length;
|
|
375
|
+
if (this.videoWindowPreviewType !== _type2.FcrVideoWindowPreviewType.MIX) {
|
|
376
|
+
if (this.videoWindowPreviewType === _type2.FcrVideoWindowPreviewType.SMALL) {
|
|
377
|
+
_height = _type2.DefaultVideoWindowHeight + _type2.VideoWindowItemHeight;
|
|
378
|
+
} else if (this.videoWindowPreviewType === _type2.FcrVideoWindowPreviewType.MIDDLE) {
|
|
379
|
+
_height = _type2.DefaultVideoWindowHeight + listCount * _type2.VideoWindowItemHeight;
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
return _height;
|
|
383
|
+
}
|
|
384
|
+
}, {
|
|
385
|
+
key: "sliceFoldList",
|
|
386
|
+
value: function sliceFoldList(list, previewType) {
|
|
387
|
+
return previewType === _type2.FcrVideoWindowPreviewType.MIDDLE ? list.slice(0, 4) : previewType === _type2.FcrVideoWindowPreviewType.SMALL ? list.slice(0, 1) : [];
|
|
388
|
+
}
|
|
389
|
+
}, {
|
|
390
|
+
key: "changeVideoWindowBounds",
|
|
391
|
+
value: function changeVideoWindowBounds(x, y, width, height, list) {
|
|
392
|
+
this._uiEventStore.sendEvent(_constant.UIAction.VIDEO_WINDOW_BOUNDS, {
|
|
393
|
+
videoWindowHeight: this.computedVideoWindowHeight(list),
|
|
394
|
+
videoWindowPreviewType: this.videoWindowPreviewType,
|
|
395
|
+
workareaX: x,
|
|
396
|
+
workareaY: y,
|
|
397
|
+
workareaWidth: width || this.workareaWidth,
|
|
398
|
+
workareaHeight: height || this.workareaHeight
|
|
399
|
+
});
|
|
400
|
+
}
|
|
401
|
+
}, {
|
|
402
|
+
key: "openPrivateChat",
|
|
403
|
+
value: function openPrivateChat(userId) {
|
|
404
|
+
var _this$_userControl;
|
|
405
|
+
if (!this._securityStore.permitPrivateChat(userId)) {
|
|
406
|
+
return;
|
|
407
|
+
}
|
|
408
|
+
this._uiEventStore.updateAside({
|
|
409
|
+
chat: true
|
|
410
|
+
});
|
|
411
|
+
var user = Object.values(this === null || this === void 0 || (_this$_userControl = this._userControl) === null || _this$_userControl === void 0 ? void 0 : _this$_userControl.getUsers()).find(function (u) {
|
|
412
|
+
return u.userId === userId;
|
|
413
|
+
});
|
|
414
|
+
user && this._uiEventStore.notifyChatUpdateTarget(user);
|
|
415
|
+
}
|
|
416
|
+
}, {
|
|
417
|
+
key: "hasMutePermission",
|
|
418
|
+
value: function hasMutePermission(targetRole) {
|
|
419
|
+
return this._securityStore.hasMutePermission(targetRole);
|
|
420
|
+
}
|
|
421
|
+
}, {
|
|
422
|
+
key: "hasUnmutePermission",
|
|
423
|
+
value: function hasUnmutePermission(targetRole) {
|
|
424
|
+
return this._securityStore.hasUnmutePermission(targetRole);
|
|
425
|
+
}
|
|
426
|
+
}, {
|
|
427
|
+
key: "hasRequestStartAudioPermission",
|
|
428
|
+
value: function hasRequestStartAudioPermission(targetRole) {
|
|
429
|
+
return this._securityStore.hasRequestStartAudioPermission(targetRole);
|
|
430
|
+
}
|
|
431
|
+
}, {
|
|
432
|
+
key: "onUserInfoUpdated",
|
|
433
|
+
value: function onUserInfoUpdated(roomId, event) {
|
|
434
|
+
this.setLocalUserRole(this._userControl.getLocalUser().userRole);
|
|
435
|
+
}
|
|
436
|
+
}, {
|
|
437
|
+
key: "setVideoWindowPreviewType",
|
|
438
|
+
value: function setVideoWindowPreviewType(type) {
|
|
439
|
+
this.videoWindowPreviewType = type;
|
|
440
|
+
this.changeVideoWindowBounds(this.workareaX, this.workareaY, this.workareaWidth, this.workareaHeight, this.filterFoldList(this.foldList, this.shouldHideNonVideoParticipants));
|
|
441
|
+
this._uiEventStore.sendEvent(_constant.UIAction.VIDEO_WINDOW_RESIZE, {
|
|
442
|
+
width: _type2.DefaultVideoWindowWidth,
|
|
443
|
+
height: this.computedVideoWindowHeight(this.filterFoldList(this.foldList, this.shouldHideNonVideoParticipants))
|
|
444
|
+
});
|
|
445
|
+
}
|
|
446
|
+
}, {
|
|
447
|
+
key: "closeVideoWindow",
|
|
448
|
+
value: function closeVideoWindow() {
|
|
449
|
+
this.videoWindowPreviewType = _type2.FcrVideoWindowPreviewType.MIX;
|
|
450
|
+
}
|
|
451
|
+
}, {
|
|
452
|
+
key: "microphoneEnabled",
|
|
453
|
+
get: function get() {
|
|
454
|
+
return this._deviceStore.microphoneEnabled;
|
|
455
|
+
}
|
|
456
|
+
}, {
|
|
457
|
+
key: "microphoneVolumeLevel",
|
|
458
|
+
get: function get() {
|
|
459
|
+
return this._deviceStore.microphoneVolumeLevel;
|
|
460
|
+
}
|
|
461
|
+
}, {
|
|
462
|
+
key: "filterFoldList",
|
|
463
|
+
value: function filterFoldList(list, shouldHideNonVideoParticipants) {
|
|
464
|
+
var sourceList = list.filter(function (i) {
|
|
465
|
+
return !i.isMySelf || i.videoSourceType !== _type4.AgoraRtcVideoSourceType.SCREEN;
|
|
466
|
+
});
|
|
467
|
+
var _list = shouldHideNonVideoParticipants ? sourceList.filter(function (i) {
|
|
468
|
+
return i.isMySelf || i.hasVideoStream || i.videoSourceType === _type4.AgoraRtcVideoSourceType.SCREEN || i.type === _type3.FcrUIWindowType.BOARD;
|
|
469
|
+
}) : sourceList;
|
|
470
|
+
return _list;
|
|
471
|
+
}
|
|
472
|
+
}, {
|
|
473
|
+
key: "videoWindowHeight",
|
|
474
|
+
get: function get() {
|
|
475
|
+
var filterList = this.filterFoldList(this.foldList, this.shouldHideNonVideoParticipants);
|
|
476
|
+
var list = this.sliceFoldList(filterList, this.videoWindowPreviewType);
|
|
477
|
+
return _type2.DefaultVideoWindowHeight + list.length * _type2.VideoWindowItemHeight;
|
|
478
|
+
}
|
|
479
|
+
}, {
|
|
480
|
+
key: "setSpeakHover",
|
|
481
|
+
value: function setSpeakHover(hover) {
|
|
482
|
+
this.speakHover = hover;
|
|
483
|
+
}
|
|
484
|
+
}, {
|
|
485
|
+
key: "getAllowedOperations",
|
|
486
|
+
value: function getAllowedOperations(targetRole, isSelf) {
|
|
487
|
+
return this._securityStore.getAllowedOperations(targetRole, isSelf);
|
|
488
|
+
}
|
|
489
|
+
}, {
|
|
490
|
+
key: "getCurrentDisplayBounds",
|
|
491
|
+
value: function () {
|
|
492
|
+
var _getCurrentDisplayBounds = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(id, type) {
|
|
493
|
+
var allApplicationWindows, filterList, _getCurrentWorkArea, x, y, width, height;
|
|
494
|
+
return _regenerator["default"].wrap(function _callee$(_context) {
|
|
495
|
+
while (1) switch (_context.prev = _context.next) {
|
|
496
|
+
case 0:
|
|
497
|
+
_context.next = 2;
|
|
498
|
+
return this._mediaControl.getWindowList();
|
|
499
|
+
case 2:
|
|
500
|
+
allApplicationWindows = _context.sent;
|
|
501
|
+
filterList = this.filterFoldList(this.foldList, this.shouldHideNonVideoParticipants);
|
|
502
|
+
_getCurrentWorkArea = (0, _renderer.getCurrentWorkArea)(id, type, allApplicationWindows), x = _getCurrentWorkArea.x, y = _getCurrentWorkArea.y, width = _getCurrentWorkArea.width, height = _getCurrentWorkArea.height;
|
|
503
|
+
this.workareaX = x;
|
|
504
|
+
this.workareaY = y;
|
|
505
|
+
this.workareaWidth = width;
|
|
506
|
+
this.workareaHeight = height;
|
|
507
|
+
this.changeVideoWindowBounds(x, y, width, height, filterList);
|
|
508
|
+
case 10:
|
|
509
|
+
case "end":
|
|
510
|
+
return _context.stop();
|
|
511
|
+
}
|
|
512
|
+
}, _callee, this);
|
|
513
|
+
}));
|
|
514
|
+
function getCurrentDisplayBounds(_x, _x2) {
|
|
515
|
+
return _getCurrentDisplayBounds.apply(this, arguments);
|
|
516
|
+
}
|
|
517
|
+
return getCurrentDisplayBounds;
|
|
518
|
+
}()
|
|
519
|
+
}, {
|
|
520
|
+
key: "_handleStreamsAddedOrUpdated",
|
|
521
|
+
value: function _handleStreamsAddedOrUpdated() {
|
|
522
|
+
var _this$_userControl$ge = this._userControl.getLocalUser(),
|
|
523
|
+
userId = _this$_userControl$ge.userId;
|
|
524
|
+
var streams = this._streamControl.getStreamsByUserId(userId);
|
|
525
|
+
var hasPstnStream = streams.some(function (_ref2) {
|
|
526
|
+
var connectorType = _ref2.connectorType;
|
|
527
|
+
return connectorType === _type5.FcrRoomConnectorType.PSTN;
|
|
528
|
+
});
|
|
529
|
+
this.connectType = hasPstnStream ? _type2.ConnectType.PHONE : _type2.ConnectType.COMPUTER;
|
|
530
|
+
}
|
|
531
|
+
}, {
|
|
532
|
+
key: "openConnection",
|
|
533
|
+
value: function openConnection(type) {
|
|
534
|
+
this._uiEventStore.openDialog(_constant.DialogKey.CONNECTION_GATEWAY, '', {
|
|
535
|
+
type: type
|
|
536
|
+
});
|
|
537
|
+
}
|
|
538
|
+
}, {
|
|
539
|
+
key: "enableMicrophone",
|
|
540
|
+
value: function enableMicrophone(enable) {
|
|
541
|
+
this._deviceStreamStore.enableMicrophoneWithStream(enable);
|
|
542
|
+
}
|
|
543
|
+
}, {
|
|
544
|
+
key: "onEvent",
|
|
545
|
+
value: function onEvent(action, payload) {
|
|
546
|
+
if (action === _constant.UIAction.SET_CURRENT_SHARE_SCREEN) {
|
|
547
|
+
var _ref3 = payload,
|
|
548
|
+
id = _ref3.id,
|
|
549
|
+
type = _ref3.type;
|
|
550
|
+
this.getCurrentDisplayBounds(id, type);
|
|
551
|
+
}
|
|
552
|
+
if (action === _constant.UIAction.VIDEO_WINDOW_RESIZE) {
|
|
553
|
+
var _ref4 = payload,
|
|
554
|
+
width = _ref4.width,
|
|
555
|
+
height = _ref4.height;
|
|
556
|
+
this.videoWindowCurrentHeight = height;
|
|
557
|
+
this.videoWindowCurrentWidth = width;
|
|
558
|
+
}
|
|
559
|
+
if (action === _constant.UIAction.CUSTOM_SETTINGS_CHANGED) {
|
|
560
|
+
var _ref5 = payload,
|
|
561
|
+
shouldHideNonVideoParticipants = _ref5.shouldHideNonVideoParticipants;
|
|
562
|
+
this.shouldHideNonVideoParticipants = shouldHideNonVideoParticipants;
|
|
563
|
+
}
|
|
564
|
+
if (action === _constant.UIAction.FOLD_LIST_CHANGED) {
|
|
565
|
+
this.foldList = payload || [];
|
|
566
|
+
this.changeVideoWindowBounds(this.workareaX, this.workareaY, this.workareaWidth, this.workareaHeight, this.filterFoldList(payload, this.shouldHideNonVideoParticipants));
|
|
567
|
+
}
|
|
568
|
+
if (action === _constant.UIAction.SPOTLIGHT_STREAM_CHANGED) {
|
|
569
|
+
var _ref6 = payload,
|
|
570
|
+
_type = _ref6.type,
|
|
571
|
+
streamId = _ref6.streamId;
|
|
572
|
+
if (_type === 'add') {
|
|
573
|
+
this._spotlightStreamId = streamId;
|
|
574
|
+
} else {
|
|
575
|
+
this._spotlightStreamId = '';
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
}]);
|
|
580
|
+
}();
|
|
581
|
+
_VideoWindowStore = VideoWindowStore;
|
|
582
|
+
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_VideoWindowStore, [[_mobx.observable, 1, "userVolumeMap"], [_mobx.observable, 1, "speakHover"], [_mobx.observable, 1, "videoWindowPreviewType"], [_mobx.observable, 1, "videoWindowCurrentWidth"], [_mobx.observable, 1, "videoWindowCurrentHeight"], [_mobx.observable, 1, "foldList"], [_mobx.observable, 1, "workareaX"], [_mobx.observable, 1, "workareaY"], [_mobx.observable, 1, "workareaWidth"], [_mobx.observable, 1, "workareaHeight"], [_mobx.observable, 1, "localUserRole"], [_mobx.observable, 1, "_spotlightStreamId"], [_mobx.observable, 1, "shouldHideNonVideoParticipants"], [_mobx.observable, 1, "connectType"], [_mobx.observable, 1, "bounds"], [_setBoundsDecs, 18, "setBounds"], [_decorator.bound, 2, "setVideoOrientation"], [_onAudioVolumeUpdatedDecs, 18, "_onAudioVolumeUpdated"], [_mobx.computed, 3, "foldListRenderData"], [_mobx.computed, 3, "findSpotlightUser"], [_mobx.computed, 3, "hasPinnedStream"], [_decorator.bound, 2, "removePin"], [_decorator.bound, 2, "addPin"], [_decorator.bound, 2, "startPlayLocalVideo"], [_decorator.bound, 2, "stopPlayLocalVideo"], [_decorator.bound, 2, "startRenderRemoteVideo"], [_decorator.bound, 2, "stopRenderRemoteVideo"], [_decorator.bound, 2, "sendParticipantEvent"], [_decorator.bound, 2, "muteAudio"], [_mobx.action, 2, "setLocalUserRole"], [_decorator.bound, 2, "computedVideoWindowHeight"], [_decorator.bound, 2, "sliceFoldList"], [_changeVideoWindowBoundsDecs, 18, "changeVideoWindowBounds"], [_decorator.bound, 2, "openPrivateChat"], [_decorator.bound, 2, "hasMutePermission"], [_decorator.bound, 2, "hasUnmutePermission"], [_decorator.bound, 2, "hasRequestStartAudioPermission"], [_onUserInfoUpdatedDecs, 18, "onUserInfoUpdated"], [_setVideoWindowPreviewTypeDecs, 18, "setVideoWindowPreviewType"], [_closeVideoWindowDecs, 18, "closeVideoWindow"], [_decorator.bound, 2, "filterFoldList"], [_mobx.computed, 3, "videoWindowHeight"], [_setSpeakHoverDecs, 18, "setSpeakHover"], [_getAllowedOperationsDecs, 18, "getAllowedOperations"], [_getCurrentDisplayBoundsDecs, 18, "getCurrentDisplayBounds"], [_handleStreamsAddedOrUpdatedDecs, 18, "_handleStreamsAddedOrUpdated"], [_decorator.bound, 2, "openConnection"], [_decorator.bound, 2, "enableMicrophone"], [_decorator.bound, 2, "onEvent"]], []).e, 16);
|
|
583
|
+
_init_userVolumeMap = _applyDecs$e[0];
|
|
584
|
+
_init_speakHover = _applyDecs$e[1];
|
|
585
|
+
_init_videoWindowPreviewType = _applyDecs$e[2];
|
|
586
|
+
_init_videoWindowCurrentWidth = _applyDecs$e[3];
|
|
587
|
+
_init_videoWindowCurrentHeight = _applyDecs$e[4];
|
|
588
|
+
_init_foldList = _applyDecs$e[5];
|
|
589
|
+
_init_workareaX = _applyDecs$e[6];
|
|
590
|
+
_init_workareaY = _applyDecs$e[7];
|
|
591
|
+
_init_workareaWidth = _applyDecs$e[8];
|
|
592
|
+
_init_workareaHeight = _applyDecs$e[9];
|
|
593
|
+
_init_localUserRole = _applyDecs$e[10];
|
|
594
|
+
_init__spotlightStreamId = _applyDecs$e[11];
|
|
595
|
+
_init_shouldHideNonVideoParticipants = _applyDecs$e[12];
|
|
596
|
+
_init_connectType = _applyDecs$e[13];
|
|
597
|
+
_init_bounds = _applyDecs$e[14];
|
|
598
|
+
_initProto = _applyDecs$e[15];
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
.fcr-video-window-topcontrol {
|
|
2
|
+
display: flex;
|
|
3
|
+
width: 100%;
|
|
4
|
+
gap: 3px;
|
|
5
|
+
height: 38px;
|
|
6
|
+
box-sizing: border-box;
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
background-color: var(--fcr_web_ui_scene_fill5);
|
|
9
|
+
border-radius: var(--fcr_cornerradius_m) var(--fcr_cornerradius_m) 0 0;
|
|
10
|
+
padding: 4px 6px;
|
|
11
|
+
visibility: hidden;
|
|
12
|
+
border: 1px solid var(--fcr_ui_scene_line1);
|
|
13
|
+
border-bottom: none;
|
|
14
|
+
-webkit-app-region: drag;
|
|
15
|
+
user-select: none;
|
|
16
|
+
-webkit-user-select: none;
|
|
17
|
+
}
|
|
18
|
+
.fcr-video-window-topcontrol.fcr-video-window-topcontrol_hover {
|
|
19
|
+
visibility: visible;
|
|
20
|
+
}
|
|
21
|
+
.fcr-video-window-topcontrol-item {
|
|
22
|
+
width: 30px;
|
|
23
|
+
height: 30px;
|
|
24
|
+
display: flex;
|
|
25
|
+
justify-content: center;
|
|
26
|
+
flex-direction: column-reverse;
|
|
27
|
+
border-radius: var(--fcr_cornerradius_xs);
|
|
28
|
+
-webkit-app-region: no-drag;
|
|
29
|
+
}
|
|
30
|
+
.fcr-video-window-topcontrol-item:hover {
|
|
31
|
+
background: var(--fcr_web_ui_scene_hover);
|
|
32
|
+
}
|
|
33
|
+
.fcr-video-window-topcontrol-item:hover svg path {
|
|
34
|
+
fill: var(--fcr_ui_scene_ramp_brand6);
|
|
35
|
+
}
|