fcr-ui-scene 1.0.20 → 3.1.0-1
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 +26 -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 +107 -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/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 -3
- 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 -214
- package/lib/fcr-ui-scene/src/uistores/gallery-view.d.ts +0 -16
- package/lib/fcr-ui-scene/src/uistores/getters.d.ts +0 -40
- 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,1278 @@
|
|
|
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.name.js");
|
|
11
|
+
require("core-js/modules/es.number.constructor.js");
|
|
12
|
+
require("core-js/modules/es.object.create.js");
|
|
13
|
+
require("core-js/modules/es.object.define-property.js");
|
|
14
|
+
require("core-js/modules/es.object.get-own-property-descriptor.js");
|
|
15
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
16
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
17
|
+
Object.defineProperty(exports, "__esModule", {
|
|
18
|
+
value: true
|
|
19
|
+
});
|
|
20
|
+
exports["default"] = void 0;
|
|
21
|
+
require("core-js/modules/es.array.filter.js");
|
|
22
|
+
require("core-js/modules/es.array.find.js");
|
|
23
|
+
require("core-js/modules/es.array.for-each.js");
|
|
24
|
+
require("core-js/modules/es.array.iterator.js");
|
|
25
|
+
require("core-js/modules/es.array.push.js");
|
|
26
|
+
require("core-js/modules/es.array.slice.js");
|
|
27
|
+
require("core-js/modules/es.array.some.js");
|
|
28
|
+
require("core-js/modules/es.function.bind.js");
|
|
29
|
+
require("core-js/modules/es.map.js");
|
|
30
|
+
require("core-js/modules/es.object.to-string.js");
|
|
31
|
+
require("core-js/modules/es.object.values.js");
|
|
32
|
+
require("core-js/modules/es.set.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
|
+
require("core-js/modules/web.timers.js");
|
|
38
|
+
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
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 _type = require("agora-edu-core/lib/type");
|
|
44
|
+
var _decorator = require("agora-foundation/lib/decorator");
|
|
45
|
+
var _logger = require("agora-foundation/lib/logger");
|
|
46
|
+
var _type2 = require("agora-rte-sdk/lib/core/rtc/type");
|
|
47
|
+
var _type3 = require("../video-window/type");
|
|
48
|
+
var _constant = require("../../utilities/constant");
|
|
49
|
+
var _type4 = require("./type");
|
|
50
|
+
var _Layout = require("./components/Layout");
|
|
51
|
+
var _videoWindowDatasource = require("./video-window-datasource");
|
|
52
|
+
var _toast = require("agora-ui-foundation/lib/components/toast");
|
|
53
|
+
var _type5 = require("../whiteboard/type");
|
|
54
|
+
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
55
|
+
var _LayoutStore;
|
|
56
|
+
var _initProto, _participantDecs, _init_participant, _chatDecs, _init_chat, _chatActionDecs, _init_chatAction, _stateBarDecs, _init_stateBar, _actionBarDecs, _init_actionBar, _layersDecs, _init_layers, _whiteboardDecs, _init_whiteboard, _init_collapsed, _init_galleryMaxSize, _init_aside, _init_asideContent, _init_localUserRole, _init_barHovering, _init_barLocked, _init_barHidden, _init_asideWidth, _init_userVolumeMap, _init_chatRoomState, _init_videoWindowPreviewType, _init_whiteboardActive, _init_spotlightStreamId, _init_shouldHideNonVideoParticipants, _init_participantCount, _init_ownerUser, _init_localUser, _init_documentVisible, _init_enableSpotlight, _setWhiteboardActiveDecs, _handleLayoutUpdatedDecs, _init__handleLayoutUpdated, _handleFoldListChangedDecs, _handleMainListChangedDecs, _setAsideWidthDecs, _setDocumentVisibilityDecs, _updateSlotsDecs, _updateAsideContentDecs, _getAllowedOperationsDecs, _toggleLayoutDecs, _toggleCollapsedDecs, _setGalleryMaxSizeDecs, _toggleAsideDecs, _asideWidthChangedDecs, _toggleLayoutBarLockDecs, _toggleLayoutBarHiddenDecs, _setBarHoveringDecs, _resetLockTimerDecs, _setHoveringHandlerDecs, _setHoveringLeaveHandlerDecs, _onAllUserCountUpdatedDecs, _onUserInfoUpdatedDecs, _handleConnectionUpdatedDecs, _onAudioVolumeUpdatedDecs, _ref;
|
|
57
|
+
function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
|
|
58
|
+
function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
|
|
59
|
+
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
|
60
|
+
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
|
61
|
+
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"); }
|
|
62
|
+
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)]; } }; }
|
|
63
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
64
|
+
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); }
|
|
65
|
+
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; }
|
|
66
|
+
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; }
|
|
67
|
+
var _A = /*#__PURE__*/new WeakMap();
|
|
68
|
+
var _B = /*#__PURE__*/new WeakMap();
|
|
69
|
+
var _C = /*#__PURE__*/new WeakMap();
|
|
70
|
+
var _D = /*#__PURE__*/new WeakMap();
|
|
71
|
+
var _E = /*#__PURE__*/new WeakMap();
|
|
72
|
+
var _F = /*#__PURE__*/new WeakMap();
|
|
73
|
+
var _G = /*#__PURE__*/new WeakMap();
|
|
74
|
+
var _H = /*#__PURE__*/new WeakMap();
|
|
75
|
+
var _I = /*#__PURE__*/new WeakMap();
|
|
76
|
+
var _J = /*#__PURE__*/new WeakMap();
|
|
77
|
+
var _K = /*#__PURE__*/new WeakMap();
|
|
78
|
+
var _L = /*#__PURE__*/new WeakMap();
|
|
79
|
+
var _M = /*#__PURE__*/new WeakMap();
|
|
80
|
+
var _N = /*#__PURE__*/new WeakMap();
|
|
81
|
+
var _O = /*#__PURE__*/new WeakMap();
|
|
82
|
+
var _P = /*#__PURE__*/new WeakMap();
|
|
83
|
+
var _Q = /*#__PURE__*/new WeakMap();
|
|
84
|
+
var _R = /*#__PURE__*/new WeakMap();
|
|
85
|
+
var _S = /*#__PURE__*/new WeakMap();
|
|
86
|
+
var _T = /*#__PURE__*/new WeakMap();
|
|
87
|
+
var _U = /*#__PURE__*/new WeakMap();
|
|
88
|
+
var _V = /*#__PURE__*/new WeakMap();
|
|
89
|
+
var _W = /*#__PURE__*/new WeakMap();
|
|
90
|
+
var _X = /*#__PURE__*/new WeakMap();
|
|
91
|
+
var _Y = /*#__PURE__*/new WeakMap();
|
|
92
|
+
var _Z = /*#__PURE__*/new WeakMap();
|
|
93
|
+
var _a = /*#__PURE__*/new WeakMap();
|
|
94
|
+
_ref = (_participantDecs = [_mobx.observable, _mobx.observable.ref], _chatDecs = [_mobx.observable, _mobx.observable.ref], _chatActionDecs = [_mobx.observable, _mobx.observable.ref], _stateBarDecs = [_mobx.observable, _mobx.observable.ref], _actionBarDecs = [_mobx.observable, _mobx.observable.ref], _layersDecs = [_mobx.observable, _mobx.observable.ref], _whiteboardDecs = [_mobx.observable, _mobx.observable.ref], _setWhiteboardActiveDecs = [_mobx.action, _mobx.action.bound], _handleLayoutUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleFoldListChangedDecs = [_mobx.action, _mobx.action.bound], _handleMainListChangedDecs = [_mobx.action, _mobx.action.bound], _setAsideWidthDecs = [_mobx.action, _mobx.action.bound], _setDocumentVisibilityDecs = [_mobx.action, _mobx.action.bound], _updateSlotsDecs = [_mobx.action, _mobx.action.bound], _updateAsideContentDecs = [_mobx.action, _mobx.action.bound], _getAllowedOperationsDecs = [_mobx.action, _mobx.action.bound], _toggleLayoutDecs = [_mobx.action, _mobx.action.bound], _toggleCollapsedDecs = [_mobx.action, _mobx.action.bound], _setGalleryMaxSizeDecs = [_mobx.action, _mobx.action.bound], _toggleAsideDecs = [_mobx.action, _mobx.action.bound], _asideWidthChangedDecs = [_mobx.action, _mobx.action.bound], _toggleLayoutBarLockDecs = [_mobx.action, _mobx.action.bound], _toggleLayoutBarHiddenDecs = [_mobx.action, _mobx.action.bound], _setBarHoveringDecs = [_mobx.action, _mobx.action.bound], _resetLockTimerDecs = [_mobx.action, _mobx.action.bound], _setHoveringHandlerDecs = [_mobx.action, _mobx.action.bound], _setHoveringLeaveHandlerDecs = [_mobx.action, _mobx.action.bound], _onAllUserCountUpdatedDecs = [_mobx.action, _mobx.action.bound], _onUserInfoUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleConnectionUpdatedDecs = [_mobx.action, _mobx.action.bound], _onAudioVolumeUpdatedDecs = [_mobx.action, _mobx.action.bound], "_videoWindowDataSource");
|
|
95
|
+
var LayoutStore = exports["default"] = /*#__PURE__*/function () {
|
|
96
|
+
function LayoutStore(params) {
|
|
97
|
+
var _this = this;
|
|
98
|
+
(0, _classCallCheck2["default"])(this, LayoutStore);
|
|
99
|
+
(0, _defineProperty2["default"])(this, _ref, (_initProto(this), new _videoWindowDatasource.FcrUIVideoWindowDataSource()));
|
|
100
|
+
(0, _defineProperty2["default"])(this, "logger", (0, _logger.getLogger)());
|
|
101
|
+
// Slots
|
|
102
|
+
_classPrivateFieldInitSpec(this, _A, _init_participant(this, null));
|
|
103
|
+
_classPrivateFieldInitSpec(this, _B, _init_chat(this, null));
|
|
104
|
+
_classPrivateFieldInitSpec(this, _C, _init_chatAction(this, null));
|
|
105
|
+
_classPrivateFieldInitSpec(this, _D, _init_stateBar(this, null));
|
|
106
|
+
_classPrivateFieldInitSpec(this, _E, _init_actionBar(this, null));
|
|
107
|
+
_classPrivateFieldInitSpec(this, _F, _init_layers(this, null));
|
|
108
|
+
_classPrivateFieldInitSpec(this, _G, _init_whiteboard(this, null));
|
|
109
|
+
// State
|
|
110
|
+
_classPrivateFieldInitSpec(this, _H, _init_collapsed(this, true));
|
|
111
|
+
_classPrivateFieldInitSpec(this, _I, _init_galleryMaxSize(this, _type4.GalleryMaxSize.Normal));
|
|
112
|
+
_classPrivateFieldInitSpec(this, _J, _init_aside(this, false));
|
|
113
|
+
_classPrivateFieldInitSpec(this, _K, _init_asideContent(this, {
|
|
114
|
+
participant: false,
|
|
115
|
+
chat: false
|
|
116
|
+
}));
|
|
117
|
+
_classPrivateFieldInitSpec(this, _L, _init_localUserRole(this, _type.FcrUserRole.PARTICIPANT));
|
|
118
|
+
_classPrivateFieldInitSpec(this, _M, _init_barHovering(this, true));
|
|
119
|
+
_classPrivateFieldInitSpec(this, _N, _init_barLocked(this, true));
|
|
120
|
+
_classPrivateFieldInitSpec(this, _O, _init_barHidden(this, false));
|
|
121
|
+
_classPrivateFieldInitSpec(this, _P, _init_asideWidth(this, _Layout.MinAsideWidth));
|
|
122
|
+
_classPrivateFieldInitSpec(this, _Q, _init_userVolumeMap(this, new Map()));
|
|
123
|
+
_classPrivateFieldInitSpec(this, _R, _init_chatRoomState(this, _type.FcrChatRoomConnectionState.Disconnected));
|
|
124
|
+
_classPrivateFieldInitSpec(this, _S, _init_videoWindowPreviewType(this, _type3.FcrVideoWindowPreviewType.MIX));
|
|
125
|
+
_classPrivateFieldInitSpec(this, _T, _init_whiteboardActive(this, false));
|
|
126
|
+
_classPrivateFieldInitSpec(this, _U, _init_spotlightStreamId(this, ''));
|
|
127
|
+
_classPrivateFieldInitSpec(this, _V, _init_shouldHideNonVideoParticipants(this, false));
|
|
128
|
+
_classPrivateFieldInitSpec(this, _W, _init_participantCount(this, 0));
|
|
129
|
+
_classPrivateFieldInitSpec(this, _X, _init_ownerUser(this, null));
|
|
130
|
+
_classPrivateFieldInitSpec(this, _Y, _init_localUser(this));
|
|
131
|
+
_classPrivateFieldInitSpec(this, _Z, _init_documentVisible(this, document.visibilityState === 'visible'));
|
|
132
|
+
_classPrivateFieldInitSpec(this, _a, _init_enableSpotlight(this, true));
|
|
133
|
+
(0, _defineProperty2["default"])(this, "_localView", null);
|
|
134
|
+
(0, _defineProperty2["default"])(this, "_subscriptions", []);
|
|
135
|
+
(0, _defineProperty2["default"])(this, "_barLockTimer", 0);
|
|
136
|
+
(0, _defineProperty2["default"])(this, "_chatRoomObserver", {
|
|
137
|
+
onConnectionStateUpdated: this._handleConnectionUpdated.bind(this)
|
|
138
|
+
});
|
|
139
|
+
(0, _defineProperty2["default"])(this, "_managerRoleUpdateForToast", new Set([_type.FcrUserRole.HOST, _type.FcrUserRole.COHOST]));
|
|
140
|
+
(0, _defineProperty2["default"])(this, "_handleLayoutUpdated", _init__handleLayoutUpdated(this, function (layout) {
|
|
141
|
+
if (layout === _type4.FcrUIVideoWindowLayoutType.Speaker) {
|
|
142
|
+
_this._switchToSpeaker();
|
|
143
|
+
} else if (layout === _type4.FcrUIVideoWindowLayoutType.Gallery) {
|
|
144
|
+
_this._switchToGallery();
|
|
145
|
+
}
|
|
146
|
+
_this._uiEventStore.notifyLayoutChanged({
|
|
147
|
+
layout: layout
|
|
148
|
+
});
|
|
149
|
+
}));
|
|
150
|
+
(0, _defineProperty2["default"])(this, "_setSpotlightStream", function () {
|
|
151
|
+
var spotlightStream = _this._findSpotlightStream();
|
|
152
|
+
if (!spotlightStream.streamId || !spotlightStream.volume) return;
|
|
153
|
+
var streamId = spotlightStream.streamId;
|
|
154
|
+
_this._videoWindowDataSource.setSpeakerSpotlight(streamId);
|
|
155
|
+
});
|
|
156
|
+
var userControl = params.userControl,
|
|
157
|
+
chatRoomControl = params.chatRoomControl;
|
|
158
|
+
this._securityStore = params.securityStore;
|
|
159
|
+
this._deviceStore = params.deviceStore;
|
|
160
|
+
this._uiEventStore = params.uiEventStore;
|
|
161
|
+
this._userControl = params.userControl;
|
|
162
|
+
this._streamControl = params.streamControl;
|
|
163
|
+
this._chatRoomControl = chatRoomControl;
|
|
164
|
+
this._whiteBoardControl = params.whiteBoardControl;
|
|
165
|
+
this.localUser = userControl.getLocalUser();
|
|
166
|
+
this._addListeners();
|
|
167
|
+
//@ts-ignore
|
|
168
|
+
window.layoutStore = this;
|
|
169
|
+
this.setLocalUserRole(userControl.getLocalUser().userRole);
|
|
170
|
+
this._initStream();
|
|
171
|
+
this._handleFoldListChanged();
|
|
172
|
+
this._handleMainListChanged();
|
|
173
|
+
this._handleLayoutUpdated(this._videoWindowDataSource.layoutType);
|
|
174
|
+
this.setWhiteboardActive(this._whiteBoardControl.getBoardActiveInfo().isActive);
|
|
175
|
+
(0, _mobx.runInAction)(function () {
|
|
176
|
+
_this.participantCount = userControl.getAllUserCount();
|
|
177
|
+
});
|
|
178
|
+
if (this.isRobot) {
|
|
179
|
+
this.updateAsideContent(false, true);
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
return (0, _createClass2["default"])(LayoutStore, [{
|
|
183
|
+
key: "participant",
|
|
184
|
+
get: function get() {
|
|
185
|
+
return _classPrivateFieldGet(_A, this);
|
|
186
|
+
},
|
|
187
|
+
set: function set(v) {
|
|
188
|
+
_classPrivateFieldSet(_A, this, v);
|
|
189
|
+
}
|
|
190
|
+
}, {
|
|
191
|
+
key: "chat",
|
|
192
|
+
get: function get() {
|
|
193
|
+
return _classPrivateFieldGet(_B, this);
|
|
194
|
+
},
|
|
195
|
+
set: function set(v) {
|
|
196
|
+
_classPrivateFieldSet(_B, this, v);
|
|
197
|
+
}
|
|
198
|
+
}, {
|
|
199
|
+
key: "chatAction",
|
|
200
|
+
get: function get() {
|
|
201
|
+
return _classPrivateFieldGet(_C, this);
|
|
202
|
+
},
|
|
203
|
+
set: function set(v) {
|
|
204
|
+
_classPrivateFieldSet(_C, this, v);
|
|
205
|
+
}
|
|
206
|
+
}, {
|
|
207
|
+
key: "stateBar",
|
|
208
|
+
get: function get() {
|
|
209
|
+
return _classPrivateFieldGet(_D, this);
|
|
210
|
+
},
|
|
211
|
+
set: function set(v) {
|
|
212
|
+
_classPrivateFieldSet(_D, this, v);
|
|
213
|
+
}
|
|
214
|
+
}, {
|
|
215
|
+
key: "actionBar",
|
|
216
|
+
get: function get() {
|
|
217
|
+
return _classPrivateFieldGet(_E, this);
|
|
218
|
+
},
|
|
219
|
+
set: function set(v) {
|
|
220
|
+
_classPrivateFieldSet(_E, this, v);
|
|
221
|
+
}
|
|
222
|
+
}, {
|
|
223
|
+
key: "layers",
|
|
224
|
+
get: function get() {
|
|
225
|
+
return _classPrivateFieldGet(_F, this);
|
|
226
|
+
},
|
|
227
|
+
set: function set(v) {
|
|
228
|
+
_classPrivateFieldSet(_F, this, v);
|
|
229
|
+
}
|
|
230
|
+
}, {
|
|
231
|
+
key: "whiteboard",
|
|
232
|
+
get: function get() {
|
|
233
|
+
return _classPrivateFieldGet(_G, this);
|
|
234
|
+
},
|
|
235
|
+
set: function set(v) {
|
|
236
|
+
_classPrivateFieldSet(_G, this, v);
|
|
237
|
+
}
|
|
238
|
+
}, {
|
|
239
|
+
key: "collapsed",
|
|
240
|
+
get: function get() {
|
|
241
|
+
return _classPrivateFieldGet(_H, this);
|
|
242
|
+
},
|
|
243
|
+
set: function set(v) {
|
|
244
|
+
_classPrivateFieldSet(_H, this, v);
|
|
245
|
+
}
|
|
246
|
+
}, {
|
|
247
|
+
key: "galleryMaxSize",
|
|
248
|
+
get: function get() {
|
|
249
|
+
return _classPrivateFieldGet(_I, this);
|
|
250
|
+
},
|
|
251
|
+
set: function set(v) {
|
|
252
|
+
_classPrivateFieldSet(_I, this, v);
|
|
253
|
+
}
|
|
254
|
+
}, {
|
|
255
|
+
key: "aside",
|
|
256
|
+
get: function get() {
|
|
257
|
+
return _classPrivateFieldGet(_J, this);
|
|
258
|
+
},
|
|
259
|
+
set: function set(v) {
|
|
260
|
+
_classPrivateFieldSet(_J, this, v);
|
|
261
|
+
}
|
|
262
|
+
}, {
|
|
263
|
+
key: "asideContent",
|
|
264
|
+
get: function get() {
|
|
265
|
+
return _classPrivateFieldGet(_K, this);
|
|
266
|
+
},
|
|
267
|
+
set: function set(v) {
|
|
268
|
+
_classPrivateFieldSet(_K, this, v);
|
|
269
|
+
}
|
|
270
|
+
}, {
|
|
271
|
+
key: "localUserRole",
|
|
272
|
+
get: function get() {
|
|
273
|
+
return _classPrivateFieldGet(_L, this);
|
|
274
|
+
},
|
|
275
|
+
set: function set(v) {
|
|
276
|
+
_classPrivateFieldSet(_L, this, v);
|
|
277
|
+
}
|
|
278
|
+
}, {
|
|
279
|
+
key: "barHovering",
|
|
280
|
+
get: function get() {
|
|
281
|
+
return _classPrivateFieldGet(_M, this);
|
|
282
|
+
},
|
|
283
|
+
set: function set(v) {
|
|
284
|
+
_classPrivateFieldSet(_M, this, v);
|
|
285
|
+
}
|
|
286
|
+
}, {
|
|
287
|
+
key: "barLocked",
|
|
288
|
+
get: function get() {
|
|
289
|
+
return _classPrivateFieldGet(_N, this);
|
|
290
|
+
},
|
|
291
|
+
set: function set(v) {
|
|
292
|
+
_classPrivateFieldSet(_N, this, v);
|
|
293
|
+
}
|
|
294
|
+
}, {
|
|
295
|
+
key: "barHidden",
|
|
296
|
+
get: function get() {
|
|
297
|
+
return _classPrivateFieldGet(_O, this);
|
|
298
|
+
},
|
|
299
|
+
set: function set(v) {
|
|
300
|
+
_classPrivateFieldSet(_O, this, v);
|
|
301
|
+
}
|
|
302
|
+
}, {
|
|
303
|
+
key: "asideWidth",
|
|
304
|
+
get: function get() {
|
|
305
|
+
return _classPrivateFieldGet(_P, this);
|
|
306
|
+
},
|
|
307
|
+
set: function set(v) {
|
|
308
|
+
_classPrivateFieldSet(_P, this, v);
|
|
309
|
+
}
|
|
310
|
+
}, {
|
|
311
|
+
key: "userVolumeMap",
|
|
312
|
+
get: function get() {
|
|
313
|
+
return _classPrivateFieldGet(_Q, this);
|
|
314
|
+
},
|
|
315
|
+
set: function set(v) {
|
|
316
|
+
_classPrivateFieldSet(_Q, this, v);
|
|
317
|
+
}
|
|
318
|
+
}, {
|
|
319
|
+
key: "chatRoomState",
|
|
320
|
+
get: function get() {
|
|
321
|
+
return _classPrivateFieldGet(_R, this);
|
|
322
|
+
},
|
|
323
|
+
set: function set(v) {
|
|
324
|
+
_classPrivateFieldSet(_R, this, v);
|
|
325
|
+
}
|
|
326
|
+
}, {
|
|
327
|
+
key: "videoWindowPreviewType",
|
|
328
|
+
get: function get() {
|
|
329
|
+
return _classPrivateFieldGet(_S, this);
|
|
330
|
+
},
|
|
331
|
+
set: function set(v) {
|
|
332
|
+
_classPrivateFieldSet(_S, this, v);
|
|
333
|
+
}
|
|
334
|
+
}, {
|
|
335
|
+
key: "whiteboardActive",
|
|
336
|
+
get: function get() {
|
|
337
|
+
return _classPrivateFieldGet(_T, this);
|
|
338
|
+
},
|
|
339
|
+
set: function set(v) {
|
|
340
|
+
_classPrivateFieldSet(_T, this, v);
|
|
341
|
+
}
|
|
342
|
+
}, {
|
|
343
|
+
key: "spotlightStreamId",
|
|
344
|
+
get: function get() {
|
|
345
|
+
return _classPrivateFieldGet(_U, this);
|
|
346
|
+
},
|
|
347
|
+
set: function set(v) {
|
|
348
|
+
_classPrivateFieldSet(_U, this, v);
|
|
349
|
+
}
|
|
350
|
+
}, {
|
|
351
|
+
key: "shouldHideNonVideoParticipants",
|
|
352
|
+
get: function get() {
|
|
353
|
+
return _classPrivateFieldGet(_V, this);
|
|
354
|
+
},
|
|
355
|
+
set: function set(v) {
|
|
356
|
+
_classPrivateFieldSet(_V, this, v);
|
|
357
|
+
}
|
|
358
|
+
}, {
|
|
359
|
+
key: "participantCount",
|
|
360
|
+
get: function get() {
|
|
361
|
+
return _classPrivateFieldGet(_W, this);
|
|
362
|
+
},
|
|
363
|
+
set: function set(v) {
|
|
364
|
+
_classPrivateFieldSet(_W, this, v);
|
|
365
|
+
}
|
|
366
|
+
}, {
|
|
367
|
+
key: "ownerUser",
|
|
368
|
+
get: function get() {
|
|
369
|
+
return _classPrivateFieldGet(_X, this);
|
|
370
|
+
},
|
|
371
|
+
set: function set(v) {
|
|
372
|
+
_classPrivateFieldSet(_X, this, v);
|
|
373
|
+
}
|
|
374
|
+
}, {
|
|
375
|
+
key: "localUser",
|
|
376
|
+
get: function get() {
|
|
377
|
+
return _classPrivateFieldGet(_Y, this);
|
|
378
|
+
},
|
|
379
|
+
set: function set(v) {
|
|
380
|
+
_classPrivateFieldSet(_Y, this, v);
|
|
381
|
+
}
|
|
382
|
+
}, {
|
|
383
|
+
key: "documentVisible",
|
|
384
|
+
get: function get() {
|
|
385
|
+
return _classPrivateFieldGet(_Z, this);
|
|
386
|
+
},
|
|
387
|
+
set: function set(v) {
|
|
388
|
+
_classPrivateFieldSet(_Z, this, v);
|
|
389
|
+
}
|
|
390
|
+
}, {
|
|
391
|
+
key: "enableSpotlight",
|
|
392
|
+
get: function get() {
|
|
393
|
+
return _classPrivateFieldGet(_a, this);
|
|
394
|
+
},
|
|
395
|
+
set: function set(v) {
|
|
396
|
+
_classPrivateFieldSet(_a, this, v);
|
|
397
|
+
}
|
|
398
|
+
}, {
|
|
399
|
+
key: "deviceStore",
|
|
400
|
+
get: function get() {
|
|
401
|
+
return this._deviceStore;
|
|
402
|
+
}
|
|
403
|
+
}, {
|
|
404
|
+
key: "streamControl",
|
|
405
|
+
get: function get() {
|
|
406
|
+
return this._streamControl;
|
|
407
|
+
}
|
|
408
|
+
}, {
|
|
409
|
+
key: "layout",
|
|
410
|
+
get: function get() {
|
|
411
|
+
return this._videoWindowDataSource.layoutType;
|
|
412
|
+
}
|
|
413
|
+
}, {
|
|
414
|
+
key: "mainList",
|
|
415
|
+
get: function get() {
|
|
416
|
+
var _this2 = this;
|
|
417
|
+
var sourceList = this._videoWindowDataSource.mainList.filter(function (i) {
|
|
418
|
+
return !i.isMySelf || i.videoSourceType !== _type2.AgoraRtcVideoSourceType.SCREEN;
|
|
419
|
+
});
|
|
420
|
+
var existHasVideoStreamUser = sourceList.some(function (i) {
|
|
421
|
+
return i.hasVideoStream;
|
|
422
|
+
});
|
|
423
|
+
return this.shouldHideNonVideoParticipants ? sourceList.filter(function (i) {
|
|
424
|
+
var visible = i.isMySelf && !existHasVideoStreamUser || i.hasVideoStream || i.videoSourceType === _type2.AgoraRtcVideoSourceType.SCREEN || i.type === _type4.FcrUIWindowType.BOARD;
|
|
425
|
+
if (!visible && i.isPin) {
|
|
426
|
+
_this2.removePin(i.windowId, (0, _i18n.transI18n)('fmt_internalsetting_other_hide_no_video_pin_cancelled'));
|
|
427
|
+
}
|
|
428
|
+
return visible;
|
|
429
|
+
}) : sourceList;
|
|
430
|
+
}
|
|
431
|
+
}, {
|
|
432
|
+
key: "mainListMapByAudioStreamId",
|
|
433
|
+
get: function get() {
|
|
434
|
+
var map = new Map();
|
|
435
|
+
this._videoWindowDataSource.mainList.forEach(function (item) {
|
|
436
|
+
if (item.audioStreamId) {
|
|
437
|
+
map.set(item.audioStreamId, item);
|
|
438
|
+
} else {
|
|
439
|
+
map.set(item.windowId, item);
|
|
440
|
+
}
|
|
441
|
+
});
|
|
442
|
+
return map;
|
|
443
|
+
}
|
|
444
|
+
}, {
|
|
445
|
+
key: "foldList",
|
|
446
|
+
get: function get() {
|
|
447
|
+
return this._videoWindowDataSource.foldList;
|
|
448
|
+
}
|
|
449
|
+
}, {
|
|
450
|
+
key: "currentShareData",
|
|
451
|
+
get: function get() {
|
|
452
|
+
return this.mainList.find(function (item) {
|
|
453
|
+
return item.videoSourceType === _type.FcrVideoSourceType.SCREEN || item.type === _type4.FcrUIWindowType.BOARD;
|
|
454
|
+
});
|
|
455
|
+
}
|
|
456
|
+
}, {
|
|
457
|
+
key: "galleryList",
|
|
458
|
+
get: function get() {
|
|
459
|
+
return this._videoWindowDataSource.layoutType === _type4.FcrUIVideoWindowLayoutType.Speaker ? this.mainList.slice(0, 1) : this.mainList;
|
|
460
|
+
}
|
|
461
|
+
}, {
|
|
462
|
+
key: "carouselList",
|
|
463
|
+
get: function get() {
|
|
464
|
+
return this._videoWindowDataSource.layoutType === _type4.FcrUIVideoWindowLayoutType.Speaker ? this.mainList.slice(1) : this.mainList;
|
|
465
|
+
}
|
|
466
|
+
}, {
|
|
467
|
+
key: "hasPinnedStream",
|
|
468
|
+
get: function get() {
|
|
469
|
+
return this.mainList.some(function (u) {
|
|
470
|
+
return u.isPin;
|
|
471
|
+
});
|
|
472
|
+
}
|
|
473
|
+
}, {
|
|
474
|
+
key: "isManager",
|
|
475
|
+
get: function get() {
|
|
476
|
+
return this.localUserRole === _type.FcrUserRole.HOST;
|
|
477
|
+
}
|
|
478
|
+
}, {
|
|
479
|
+
key: "isRobot",
|
|
480
|
+
get: function get() {
|
|
481
|
+
return this.localUserRole === _type.FcrUserRole.ROBOT;
|
|
482
|
+
}
|
|
483
|
+
}, {
|
|
484
|
+
key: "findSpotlightUser",
|
|
485
|
+
get: function get() {
|
|
486
|
+
var _this3 = this;
|
|
487
|
+
return this.spotlightStreamId ? this.mainList.find(function (item) {
|
|
488
|
+
return item.videoStreamId === _this3.spotlightStreamId || item.audioStreamId === _this3.spotlightStreamId;
|
|
489
|
+
}) : null;
|
|
490
|
+
}
|
|
491
|
+
}, {
|
|
492
|
+
key: "microphoneEnabled",
|
|
493
|
+
get: function get() {
|
|
494
|
+
return this._deviceStore.microphoneEnabled;
|
|
495
|
+
}
|
|
496
|
+
}, {
|
|
497
|
+
key: "allowChat",
|
|
498
|
+
get: function get() {
|
|
499
|
+
return this._securityStore.allowChat();
|
|
500
|
+
}
|
|
501
|
+
}, {
|
|
502
|
+
key: "allowUnmuteSelfAudio",
|
|
503
|
+
get: function get() {
|
|
504
|
+
return this._securityStore.allowUnmuteSelfAudio();
|
|
505
|
+
}
|
|
506
|
+
}, {
|
|
507
|
+
key: "allowUnmuteSelfVideo",
|
|
508
|
+
get: function get() {
|
|
509
|
+
return this._securityStore.allowUnmuteSelfVideo();
|
|
510
|
+
}
|
|
511
|
+
}, {
|
|
512
|
+
key: "_initStream",
|
|
513
|
+
value: function _initStream() {
|
|
514
|
+
var _this4 = this;
|
|
515
|
+
var isSharingScreen = false;
|
|
516
|
+
this._streamControl.getStreamList().forEach(function (stream) {
|
|
517
|
+
if (stream.videoSourceType === _type2.AgoraRtcVideoSourceType.SCREEN) {
|
|
518
|
+
isSharingScreen = true;
|
|
519
|
+
}
|
|
520
|
+
_this4._handleStreamAdded(stream);
|
|
521
|
+
});
|
|
522
|
+
if (isSharingScreen && this.layout === _type4.FcrUIVideoWindowLayoutType.Gallery) {
|
|
523
|
+
this.toggleLayout(_type4.FcrUIVideoWindowLayoutType.Speaker);
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
}, {
|
|
527
|
+
key: "_isSetSpotlightEnable",
|
|
528
|
+
value: function _isSetSpotlightEnable(count, enableSpotlight) {
|
|
529
|
+
var setSpotlightEnable = count > LayoutStore.MIN_USERS_TO_ENABLE_SPOTLIGHT;
|
|
530
|
+
return setSpotlightEnable && enableSpotlight;
|
|
531
|
+
}
|
|
532
|
+
}, {
|
|
533
|
+
key: "_addListeners",
|
|
534
|
+
value: function _addListeners() {
|
|
535
|
+
var _this5 = this;
|
|
536
|
+
this._uiEventStore.addObserver({
|
|
537
|
+
onEvent: this.onEvent
|
|
538
|
+
});
|
|
539
|
+
this._streamControl.addObserver({
|
|
540
|
+
onStreamsAdded: this._onStreamsAdded,
|
|
541
|
+
onStreamsUpdated: this._onStreamsUpdated,
|
|
542
|
+
onStreamsRemoved: this._onStreamsRemoved,
|
|
543
|
+
onAudioVolumeUpdated: this._onAudioVolumeUpdated
|
|
544
|
+
});
|
|
545
|
+
this._userControl.addObserver({
|
|
546
|
+
onUserInfoUpdated: this.onUserInfoUpdated,
|
|
547
|
+
onAllUserCountUpdated: this._onAllUserCountUpdated
|
|
548
|
+
});
|
|
549
|
+
this._videoWindowDataSource.addObserver({
|
|
550
|
+
onLayoutUpdated: this._handleLayoutUpdated,
|
|
551
|
+
onFoldListAdded: this._handleFoldListChanged,
|
|
552
|
+
onFoldListRemoved: this._handleFoldListChanged,
|
|
553
|
+
onFoldListUpdated: this._handleFoldListChanged,
|
|
554
|
+
onMainListAdded: this._handleMainListChanged,
|
|
555
|
+
onMainListUpdated: this._handleMainListChanged,
|
|
556
|
+
onMainListRemoved: this._handleMainListChanged,
|
|
557
|
+
onSpotlightAdded: this._handleSpotlightAdded,
|
|
558
|
+
onSpotlightRemoved: this._handleSpotlightRemoved
|
|
559
|
+
});
|
|
560
|
+
this._whiteBoardControl.addObserver({
|
|
561
|
+
onBoardActiveInfoUpdated: this.setWhiteboardActive
|
|
562
|
+
});
|
|
563
|
+
this._chatRoomControl.addobserver(this._chatRoomObserver);
|
|
564
|
+
this._subscriptions.push((0, _mobx.reaction)(function () {
|
|
565
|
+
return _this5.mainList.length;
|
|
566
|
+
}, function (length) {
|
|
567
|
+
if (length < 2) {
|
|
568
|
+
if (_this5.layout === _type4.FcrUIVideoWindowLayoutType.Speaker) {
|
|
569
|
+
_this5.toggleLayout(_type4.FcrUIVideoWindowLayoutType.Gallery);
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
_this5._uiEventStore.sendEvent(_constant.UIAction.MAIN_LIST_LENGTH_CHANGED, length);
|
|
573
|
+
}), (0, _mobx.reaction)(function () {
|
|
574
|
+
return _this5.whiteboardActive;
|
|
575
|
+
}, function (opened) {
|
|
576
|
+
if (opened) {
|
|
577
|
+
var ownerUserId = _this5._whiteBoardControl.getBoardActiveInfo().ownerUserId;
|
|
578
|
+
var ownerUser = _this5._userControl.getUser(ownerUserId);
|
|
579
|
+
_this5._videoWindowDataSource.addBoard(ownerUser, ownerUserId === _this5.localUserId);
|
|
580
|
+
if (_this5.layout === _type4.FcrUIVideoWindowLayoutType.Gallery) {
|
|
581
|
+
_this5.toggleLayout(_type4.FcrUIVideoWindowLayoutType.Speaker);
|
|
582
|
+
}
|
|
583
|
+
} else {
|
|
584
|
+
_this5._videoWindowDataSource.removeBoard();
|
|
585
|
+
}
|
|
586
|
+
}), (0, _mobx.reaction)(function () {
|
|
587
|
+
return _this5._securityStore.hasWriteBoardPermission();
|
|
588
|
+
}, function (canEdit) {
|
|
589
|
+
if (!_this5.mainList.some(function (u) {
|
|
590
|
+
return u.type === _type4.FcrUIWindowType.BOARD;
|
|
591
|
+
})) return;
|
|
592
|
+
_this5._videoWindowDataSource.updateBoard(canEdit);
|
|
593
|
+
}), (0, _mobx.reaction)(function () {
|
|
594
|
+
return _this5.galleryMaxSize;
|
|
595
|
+
}, function (size) {
|
|
596
|
+
_this5._uiEventStore.notifyLayoutSizeChanged({
|
|
597
|
+
size: size
|
|
598
|
+
});
|
|
599
|
+
}), (0, _mobx.reaction)(function () {
|
|
600
|
+
return _this5.asideContent;
|
|
601
|
+
}, function (asideContent) {
|
|
602
|
+
if (asideContent.participant || asideContent.chat) {
|
|
603
|
+
_this5.toggleAside(true);
|
|
604
|
+
}
|
|
605
|
+
if (!asideContent.participant && !asideContent.chat) {
|
|
606
|
+
_this5.toggleAside(false);
|
|
607
|
+
}
|
|
608
|
+
}, {
|
|
609
|
+
fireImmediately: true
|
|
610
|
+
}), (0, _mobx.reaction)(function () {
|
|
611
|
+
return {
|
|
612
|
+
cameraEnabled: _this5._deviceStore.cameraEnabled,
|
|
613
|
+
cameraId: _this5._deviceStore.cameraId
|
|
614
|
+
};
|
|
615
|
+
}, function (_ref2) {
|
|
616
|
+
var cameraEnabled = _ref2.cameraEnabled,
|
|
617
|
+
cameraId = _ref2.cameraId;
|
|
618
|
+
if (!cameraEnabled && _this5._localView) {
|
|
619
|
+
_this5.stopLocalPreview(_this5._localView);
|
|
620
|
+
}
|
|
621
|
+
if (cameraEnabled && cameraId && _this5._localView) {
|
|
622
|
+
_this5.startLocalPreview(_this5._localView);
|
|
623
|
+
}
|
|
624
|
+
}), (0, _mobx.reaction)(function () {
|
|
625
|
+
return _this5.barLocked;
|
|
626
|
+
}, function (barLocked) {
|
|
627
|
+
if (_this5._barLockTimer && barLocked) {
|
|
628
|
+
_this5.resetLockTimer();
|
|
629
|
+
} else {
|
|
630
|
+
_this5.setHoveringHandler();
|
|
631
|
+
}
|
|
632
|
+
}), (0, _mobx.reaction)(function () {
|
|
633
|
+
return _this5._deviceStore.microphoneVolumeLevel;
|
|
634
|
+
}, function (volume) {
|
|
635
|
+
(0, _mobx.runInAction)(function () {
|
|
636
|
+
_this5.userVolumeMap.set('0', volume);
|
|
637
|
+
});
|
|
638
|
+
}), (0, _mobx.reaction)(function () {
|
|
639
|
+
return {
|
|
640
|
+
count: _this5.participantCount,
|
|
641
|
+
enableSpotlight: _this5.enableSpotlight
|
|
642
|
+
};
|
|
643
|
+
}, function (_ref3) {
|
|
644
|
+
var count = _ref3.count,
|
|
645
|
+
enableSpotlight = _ref3.enableSpotlight;
|
|
646
|
+
var enableSetSpotlight = _this5._isSetSpotlightEnable(count, enableSpotlight);
|
|
647
|
+
_this5._videoWindowDataSource.setSpotlightEnabled(enableSetSpotlight);
|
|
648
|
+
}),
|
|
649
|
+
// 录制的特殊逻辑:
|
|
650
|
+
// 因为录制机器人不发流,且当前切换布局的逻辑是有多个人的视频窗口才切换到 speaker layout
|
|
651
|
+
// 所以当房间只有主持人的时候录制机器人的视角不会切换到 speaker layout,故加上以下逻辑
|
|
652
|
+
(0, _mobx.reaction)(function () {
|
|
653
|
+
var _this5$currentShareDa;
|
|
654
|
+
return (_this5$currentShareDa = _this5.currentShareData) === null || _this5$currentShareDa === void 0 ? void 0 : _this5$currentShareDa.hasScreenSharing;
|
|
655
|
+
}, function (hasScreenSharing) {
|
|
656
|
+
if (_this5.isRobot) {
|
|
657
|
+
if (hasScreenSharing) {
|
|
658
|
+
_this5.logger.info('set layout to speaker for robot');
|
|
659
|
+
_this5.toggleLayout(_type4.FcrUIVideoWindowLayoutType.Speaker);
|
|
660
|
+
} else {
|
|
661
|
+
_this5.logger.info('set layout to gallery for robot');
|
|
662
|
+
_this5.toggleLayout(_type4.FcrUIVideoWindowLayoutType.Gallery);
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
}, {
|
|
666
|
+
fireImmediately: true
|
|
667
|
+
}));
|
|
668
|
+
}
|
|
669
|
+
}, {
|
|
670
|
+
key: "_handleSpotlightAdded",
|
|
671
|
+
value: function _handleSpotlightAdded(streamId) {
|
|
672
|
+
this._uiEventStore.notifySpotlightStreamChanged({
|
|
673
|
+
type: 'add',
|
|
674
|
+
streamId: streamId
|
|
675
|
+
});
|
|
676
|
+
}
|
|
677
|
+
}, {
|
|
678
|
+
key: "_handleSpotlightRemoved",
|
|
679
|
+
value: function _handleSpotlightRemoved(streamId) {
|
|
680
|
+
this._uiEventStore.notifySpotlightStreamChanged({
|
|
681
|
+
type: 'remove',
|
|
682
|
+
streamId: streamId
|
|
683
|
+
});
|
|
684
|
+
}
|
|
685
|
+
}, {
|
|
686
|
+
key: "hasMutePermission",
|
|
687
|
+
value: function hasMutePermission(targetRole) {
|
|
688
|
+
return this._securityStore.hasMutePermission(targetRole);
|
|
689
|
+
}
|
|
690
|
+
}, {
|
|
691
|
+
key: "hasUnmutePermission",
|
|
692
|
+
value: function hasUnmutePermission(targetRole) {
|
|
693
|
+
return this._securityStore.hasUnmutePermission(targetRole);
|
|
694
|
+
}
|
|
695
|
+
}, {
|
|
696
|
+
key: "hasRequestStartAudioPermission",
|
|
697
|
+
value: function hasRequestStartAudioPermission(targetRole) {
|
|
698
|
+
return this._securityStore.hasRequestStartAudioPermission(targetRole);
|
|
699
|
+
}
|
|
700
|
+
}, {
|
|
701
|
+
key: "toggleMainStream",
|
|
702
|
+
value: function toggleMainStream(streamId) {
|
|
703
|
+
var success = this._videoWindowDataSource.toggleMainStream(streamId);
|
|
704
|
+
if (success) {
|
|
705
|
+
if (this.layout === _type4.FcrUIVideoWindowLayoutType.Gallery) {
|
|
706
|
+
this.toggleLayout(_type4.FcrUIVideoWindowLayoutType.Speaker);
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
}, {
|
|
711
|
+
key: "addPin",
|
|
712
|
+
value: function addPin(streamId) {
|
|
713
|
+
if (this.shouldHideNonVideoParticipants) {
|
|
714
|
+
var stream = this.mainList.find(function (u) {
|
|
715
|
+
return u.windowId === streamId;
|
|
716
|
+
});
|
|
717
|
+
if (!(stream !== null && stream !== void 0 && stream.hasVideoStream)) {
|
|
718
|
+
_toast.FcrToastApi.open({
|
|
719
|
+
toastProps: {
|
|
720
|
+
type: 'error',
|
|
721
|
+
content: (0, _i18n.transI18n)('fmt_internalsetting_other_hide_no_video_pin_cancelled')
|
|
722
|
+
}
|
|
723
|
+
});
|
|
724
|
+
return;
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
var success = this._videoWindowDataSource.addPin(streamId);
|
|
728
|
+
if (success) {
|
|
729
|
+
_toast.FcrToastApi.open({
|
|
730
|
+
toastProps: {
|
|
731
|
+
type: 'normal',
|
|
732
|
+
content: (0, _i18n.transI18n)('fmt_settings_tips_screenlocked')
|
|
733
|
+
}
|
|
734
|
+
});
|
|
735
|
+
if (this.layout === _type4.FcrUIVideoWindowLayoutType.Gallery) {
|
|
736
|
+
this.toggleLayout(_type4.FcrUIVideoWindowLayoutType.Speaker);
|
|
737
|
+
}
|
|
738
|
+
}
|
|
739
|
+
}
|
|
740
|
+
}, {
|
|
741
|
+
key: "removePin",
|
|
742
|
+
value: function removePin(streamId) {
|
|
743
|
+
var toastText = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : (0, _i18n.transI18n)('fmt_settings_tips_screenunlock');
|
|
744
|
+
this._videoWindowDataSource.removePin(streamId);
|
|
745
|
+
_toast.FcrToastApi.open({
|
|
746
|
+
toastProps: {
|
|
747
|
+
type: 'normal',
|
|
748
|
+
content: toastText
|
|
749
|
+
}
|
|
750
|
+
});
|
|
751
|
+
}
|
|
752
|
+
}, {
|
|
753
|
+
key: "setVideoOrientation",
|
|
754
|
+
value: function setVideoOrientation() {
|
|
755
|
+
this._deviceStore.setVideoOrientation();
|
|
756
|
+
}
|
|
757
|
+
}, {
|
|
758
|
+
key: "setAllowChat",
|
|
759
|
+
value: function setAllowChat(allowChat) {
|
|
760
|
+
this._securityStore.setAllowChat(allowChat);
|
|
761
|
+
}
|
|
762
|
+
}, {
|
|
763
|
+
key: "handleSetPinState",
|
|
764
|
+
value: function handleSetPinState(userId) {
|
|
765
|
+
var _user = this.mainList.find(function (u) {
|
|
766
|
+
return u.userId === userId;
|
|
767
|
+
});
|
|
768
|
+
if (!_user) return;
|
|
769
|
+
var streamId = _user.videoStreamId || _user.audioStreamId || '';
|
|
770
|
+
if (!streamId) return;
|
|
771
|
+
if (_user.isPin) {
|
|
772
|
+
this.removePin(streamId);
|
|
773
|
+
} else {
|
|
774
|
+
this.addPin(streamId);
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
}, {
|
|
778
|
+
key: "setWhiteboardActive",
|
|
779
|
+
value: function setWhiteboardActive(active) {
|
|
780
|
+
this.whiteboardActive = active;
|
|
781
|
+
}
|
|
782
|
+
}, {
|
|
783
|
+
key: "_handleFoldListChanged",
|
|
784
|
+
value: function _handleFoldListChanged() {
|
|
785
|
+
this._uiEventStore.sendEvent(_constant.UIAction.FOLD_LIST_CHANGED, this.foldList);
|
|
786
|
+
}
|
|
787
|
+
}, {
|
|
788
|
+
key: "_handleMainListChanged",
|
|
789
|
+
value: function _handleMainListChanged() {
|
|
790
|
+
this._uiEventStore.sendEvent(_constant.UIAction.MAIN_LIST_CHANGED, this.mainList);
|
|
791
|
+
}
|
|
792
|
+
}, {
|
|
793
|
+
key: "setAsideWidth",
|
|
794
|
+
value: function setAsideWidth(val) {
|
|
795
|
+
this.asideWidthChanged(val);
|
|
796
|
+
!this.aside && this.toggleAside(true);
|
|
797
|
+
this.asideWidth = val;
|
|
798
|
+
}
|
|
799
|
+
}, {
|
|
800
|
+
key: "setDocumentVisibility",
|
|
801
|
+
value: function setDocumentVisibility(visible) {
|
|
802
|
+
this.documentVisible = visible;
|
|
803
|
+
}
|
|
804
|
+
}, {
|
|
805
|
+
key: "_switchToSpeaker",
|
|
806
|
+
value: function _switchToSpeaker() {
|
|
807
|
+
this.collapsed = false;
|
|
808
|
+
}
|
|
809
|
+
}, {
|
|
810
|
+
key: "_switchToGallery",
|
|
811
|
+
value: function _switchToGallery() {
|
|
812
|
+
this.collapsed = true;
|
|
813
|
+
}
|
|
814
|
+
}, {
|
|
815
|
+
key: "getLocalUserId",
|
|
816
|
+
value: function getLocalUserId() {
|
|
817
|
+
return this._userControl.getLocalUser().userId;
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
/**
|
|
821
|
+
* Partially update slots, use `null` to delete the slot.
|
|
822
|
+
* `undefined` is ignored.
|
|
823
|
+
*/
|
|
824
|
+
}, {
|
|
825
|
+
key: "updateSlots",
|
|
826
|
+
value: function updateSlots(slots) {
|
|
827
|
+
for (var key in slots) {
|
|
828
|
+
var slot = slots[key];
|
|
829
|
+
if (key in this && slot !== undefined) {
|
|
830
|
+
this[key] = slot;
|
|
831
|
+
}
|
|
832
|
+
}
|
|
833
|
+
}
|
|
834
|
+
}, {
|
|
835
|
+
key: "updateAsideContent",
|
|
836
|
+
value: function updateAsideContent(participant, chat) {
|
|
837
|
+
if (participant === undefined) participant = this.asideContent.participant;
|
|
838
|
+
if (chat === undefined) chat = this.asideContent.chat;
|
|
839
|
+
if (participant === this.asideContent.participant && chat === this.asideContent.chat) return;
|
|
840
|
+
this.asideContent = {
|
|
841
|
+
participant: participant,
|
|
842
|
+
chat: chat
|
|
843
|
+
};
|
|
844
|
+
}
|
|
845
|
+
}, {
|
|
846
|
+
key: "closeParticipantFromAside",
|
|
847
|
+
value: function closeParticipantFromAside() {
|
|
848
|
+
this._uiEventStore.updateAside({
|
|
849
|
+
participant: false
|
|
850
|
+
});
|
|
851
|
+
}
|
|
852
|
+
}, {
|
|
853
|
+
key: "moveParticipantFromAsideToDialog",
|
|
854
|
+
value: function moveParticipantFromAsideToDialog() {
|
|
855
|
+
this.closeParticipantFromAside();
|
|
856
|
+
this._uiEventStore.openDialog(_constant.DialogKey.PARTICIPANT);
|
|
857
|
+
}
|
|
858
|
+
}, {
|
|
859
|
+
key: "closeChatFromAside",
|
|
860
|
+
value: function closeChatFromAside() {
|
|
861
|
+
this._uiEventStore.updateAside({
|
|
862
|
+
chat: false
|
|
863
|
+
});
|
|
864
|
+
}
|
|
865
|
+
}, {
|
|
866
|
+
key: "closeAsideChat",
|
|
867
|
+
value: function closeAsideChat() {
|
|
868
|
+
this.closeChatFromAside();
|
|
869
|
+
this._uiEventStore.notifyChatResetTarget();
|
|
870
|
+
}
|
|
871
|
+
}, {
|
|
872
|
+
key: "moveChatFromAsideToDialog",
|
|
873
|
+
value: function moveChatFromAsideToDialog() {
|
|
874
|
+
this.closeChatFromAside();
|
|
875
|
+
this._uiEventStore.openDialog(_constant.DialogKey.CHAT);
|
|
876
|
+
}
|
|
877
|
+
}, {
|
|
878
|
+
key: "openPrivateChat",
|
|
879
|
+
value: function openPrivateChat(userId) {
|
|
880
|
+
var _this$_userControl;
|
|
881
|
+
if (!this._securityStore.permitPrivateChat(userId)) {
|
|
882
|
+
return;
|
|
883
|
+
}
|
|
884
|
+
this._uiEventStore.updateAside({
|
|
885
|
+
chat: true
|
|
886
|
+
});
|
|
887
|
+
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) {
|
|
888
|
+
return u.userId === userId;
|
|
889
|
+
});
|
|
890
|
+
user && this._uiEventStore.notifyChatUpdateTarget(user);
|
|
891
|
+
}
|
|
892
|
+
}, {
|
|
893
|
+
key: "getAllowedOperations",
|
|
894
|
+
value: function getAllowedOperations(targetRole, isSelf) {
|
|
895
|
+
return this._securityStore.getAllowedOperations(targetRole, isSelf);
|
|
896
|
+
}
|
|
897
|
+
}, {
|
|
898
|
+
key: "toggleLayout",
|
|
899
|
+
value: function toggleLayout(layout) {
|
|
900
|
+
this._videoWindowDataSource.setLayout(layout);
|
|
901
|
+
}
|
|
902
|
+
}, {
|
|
903
|
+
key: "toggleCollapsed",
|
|
904
|
+
value: function toggleCollapsed() {
|
|
905
|
+
var collapsed = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : !this.collapsed;
|
|
906
|
+
this.collapsed = collapsed;
|
|
907
|
+
this._uiEventStore.sendEvent(_constant.UIAction.CAROUSEL_COLLAPSED, collapsed);
|
|
908
|
+
}
|
|
909
|
+
}, {
|
|
910
|
+
key: "setGalleryMaxSize",
|
|
911
|
+
value: function setGalleryMaxSize(size) {
|
|
912
|
+
this.galleryMaxSize = size;
|
|
913
|
+
}
|
|
914
|
+
}, {
|
|
915
|
+
key: "toggleAside",
|
|
916
|
+
value: function toggleAside() {
|
|
917
|
+
var open = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : !this.aside;
|
|
918
|
+
this.aside = open;
|
|
919
|
+
}
|
|
920
|
+
}, {
|
|
921
|
+
key: "asideWidthChanged",
|
|
922
|
+
value: function asideWidthChanged(width) {
|
|
923
|
+
this._uiEventStore.sendEvent(_constant.UIAction.ASIDE_WIDTH_CHANGED, width);
|
|
924
|
+
}
|
|
925
|
+
}, {
|
|
926
|
+
key: "toggleLayoutBarLock",
|
|
927
|
+
value: function toggleLayoutBarLock(state) {
|
|
928
|
+
// this.barLocked = state;
|
|
929
|
+
}
|
|
930
|
+
}, {
|
|
931
|
+
key: "toggleLayoutBarHidden",
|
|
932
|
+
value: function toggleLayoutBarHidden() {
|
|
933
|
+
this.barHidden = !this.barHidden;
|
|
934
|
+
}
|
|
935
|
+
}, {
|
|
936
|
+
key: "_setBarHovering",
|
|
937
|
+
value: function _setBarHovering(state) {
|
|
938
|
+
this.barHovering = state;
|
|
939
|
+
}
|
|
940
|
+
}, {
|
|
941
|
+
key: "resetLockTimer",
|
|
942
|
+
value: function resetLockTimer() {
|
|
943
|
+
if (!this._barLockTimer) return;
|
|
944
|
+
window.clearTimeout(this._barLockTimer);
|
|
945
|
+
this._barLockTimer = 0;
|
|
946
|
+
}
|
|
947
|
+
}, {
|
|
948
|
+
key: "setHoveringHandler",
|
|
949
|
+
value: function setHoveringHandler() {
|
|
950
|
+
var _this6 = this;
|
|
951
|
+
this._setBarHovering(true);
|
|
952
|
+
if (!this._barLockTimer && !this.barLocked) {
|
|
953
|
+
this._barLockTimer = window.setTimeout(function () {
|
|
954
|
+
_this6._setBarHovering(false);
|
|
955
|
+
_this6.resetLockTimer();
|
|
956
|
+
}, 3000);
|
|
957
|
+
}
|
|
958
|
+
}
|
|
959
|
+
}, {
|
|
960
|
+
key: "setHoveringLeaveHandler",
|
|
961
|
+
value: function setHoveringLeaveHandler() {
|
|
962
|
+
return !this.barLocked && this._setBarHovering(false);
|
|
963
|
+
}
|
|
964
|
+
}, {
|
|
965
|
+
key: "release",
|
|
966
|
+
value: function release() {
|
|
967
|
+
this._subscriptions.forEach(function (fn) {
|
|
968
|
+
return fn();
|
|
969
|
+
});
|
|
970
|
+
this._chatRoomControl.removeObserver(this._chatRoomObserver);
|
|
971
|
+
}
|
|
972
|
+
}, {
|
|
973
|
+
key: "_onAllUserCountUpdated",
|
|
974
|
+
value: function _onAllUserCountUpdated(_roomId, count) {
|
|
975
|
+
this.participantCount = count;
|
|
976
|
+
}
|
|
977
|
+
}, {
|
|
978
|
+
key: "onUserInfoUpdated",
|
|
979
|
+
value: function onUserInfoUpdated(roomId, event) {
|
|
980
|
+
this._videoWindowDataSource.update(event.modifiedUser);
|
|
981
|
+
this.setLocalUserRole(this._userControl.getLocalUser().userRole);
|
|
982
|
+
if (this._managerRoleUpdateForToast.has(event.modifiedUser.userRole)) {
|
|
983
|
+
var userName = event.modifiedUser.userName;
|
|
984
|
+
var isMe = event.modifiedUser.userId === this.getLocalUserId();
|
|
985
|
+
var toastContent = function toastContent() {
|
|
986
|
+
var contentText = '';
|
|
987
|
+
if (event.modifiedUser.userRole === _type.FcrUserRole.HOST) {
|
|
988
|
+
contentText = isMe ? (0, _i18n.transI18n)('fmt_attendies_tips_mine_new_host', {
|
|
989
|
+
reason1: userName
|
|
990
|
+
}) : (0, _i18n.transI18n)('fmt_attendies_tips_new_host', {
|
|
991
|
+
reason1: userName
|
|
992
|
+
});
|
|
993
|
+
} else if (event.modifiedUser.userRole === _type.FcrUserRole.COHOST) {
|
|
994
|
+
contentText = isMe ? (0, _i18n.transI18n)('fmt_attendies_tips_mine_new_co_host') : (0, _i18n.transI18n)('fmt_attendies_tips_new_co_host', {
|
|
995
|
+
reason1: userName
|
|
996
|
+
});
|
|
997
|
+
}
|
|
998
|
+
return contentText;
|
|
999
|
+
};
|
|
1000
|
+
this._uiEventStore.showToast({
|
|
1001
|
+
type: 'info',
|
|
1002
|
+
message: toastContent()
|
|
1003
|
+
});
|
|
1004
|
+
}
|
|
1005
|
+
}
|
|
1006
|
+
}, {
|
|
1007
|
+
key: "setLocalUserRole",
|
|
1008
|
+
value: function setLocalUserRole(role) {
|
|
1009
|
+
this.localUserRole = role;
|
|
1010
|
+
}
|
|
1011
|
+
}, {
|
|
1012
|
+
key: "onEvent",
|
|
1013
|
+
value: function onEvent(action, payload) {
|
|
1014
|
+
if (action === _constant.UIAction.UPDATE_ASIDE) {
|
|
1015
|
+
var _ref4 = payload,
|
|
1016
|
+
participant = _ref4.participant,
|
|
1017
|
+
chat = _ref4.chat;
|
|
1018
|
+
// this._uiEventStore.sendEvent(UIAction.ASIDE_WIDTH_CHANGED, this.asideWidth);
|
|
1019
|
+
this.updateAsideContent(participant, chat);
|
|
1020
|
+
}
|
|
1021
|
+
if (action === _constant.UIAction.TOGGLE_LAYOUT) {
|
|
1022
|
+
var _ref5 = payload,
|
|
1023
|
+
layout = _ref5.layout;
|
|
1024
|
+
this.toggleLayout(layout);
|
|
1025
|
+
}
|
|
1026
|
+
if (action === _constant.UIAction.TOGGLE_LAYOUT_SIZE) {
|
|
1027
|
+
var _ref6 = payload,
|
|
1028
|
+
size = _ref6.size;
|
|
1029
|
+
this.setGalleryMaxSize(size);
|
|
1030
|
+
}
|
|
1031
|
+
if (action === _constant.UIAction.SET_MAIN_SPEAKER) {
|
|
1032
|
+
var _ref7 = payload,
|
|
1033
|
+
userId = _ref7.userId;
|
|
1034
|
+
}
|
|
1035
|
+
if (action === _constant.UIAction.SET_USER_PIN_STATE) {
|
|
1036
|
+
var _ref8 = payload,
|
|
1037
|
+
_userId = _ref8.userId;
|
|
1038
|
+
this.handleSetPinState(_userId);
|
|
1039
|
+
}
|
|
1040
|
+
if (action === _constant.UIAction.TOGGLE_LAYOUT_BAR_LOCK) {
|
|
1041
|
+
this.toggleLayoutBarLock(payload);
|
|
1042
|
+
}
|
|
1043
|
+
if (action === _constant.UIAction.VIDEO_WINDOW_BOUNDS) {
|
|
1044
|
+
var _ref9 = payload,
|
|
1045
|
+
videoWindowPreviewType = _ref9.videoWindowPreviewType;
|
|
1046
|
+
this.videoWindowPreviewType = videoWindowPreviewType;
|
|
1047
|
+
}
|
|
1048
|
+
if (action === _constant.UIAction.TOGGLE_LAYOUT_ACTIONBAR_HIDDEN) {
|
|
1049
|
+
this.toggleLayoutBarHidden();
|
|
1050
|
+
}
|
|
1051
|
+
if (action === _constant.UIAction.VIDEO_WINDOW_PIN_ACTION) {
|
|
1052
|
+
var _ref10 = payload,
|
|
1053
|
+
_action = _ref10.action,
|
|
1054
|
+
streamId = _ref10.streamId;
|
|
1055
|
+
if (_action === _constant.VideoWindowPinType.REMOVE_PIN) {
|
|
1056
|
+
this.removePin(streamId);
|
|
1057
|
+
} else if (_action === _constant.VideoWindowPinType.ADD_PIN) {
|
|
1058
|
+
this.addPin(streamId);
|
|
1059
|
+
}
|
|
1060
|
+
}
|
|
1061
|
+
if (action === _constant.UIAction.SPOTLIGHT_STREAM_CHANGED) {
|
|
1062
|
+
var _ref11 = payload,
|
|
1063
|
+
type = _ref11.type,
|
|
1064
|
+
_streamId = _ref11.streamId;
|
|
1065
|
+
if (type === 'add') {
|
|
1066
|
+
this.spotlightStreamId = _streamId;
|
|
1067
|
+
} else {
|
|
1068
|
+
this.spotlightStreamId = '';
|
|
1069
|
+
}
|
|
1070
|
+
}
|
|
1071
|
+
if (action === _constant.UIAction.CUSTOM_SETTINGS_CHANGED) {
|
|
1072
|
+
var _ref12 = payload,
|
|
1073
|
+
spotlightEnabled = _ref12.spotlightEnabled,
|
|
1074
|
+
shouldHideNonVideoParticipants = _ref12.shouldHideNonVideoParticipants;
|
|
1075
|
+
this.shouldHideNonVideoParticipants = shouldHideNonVideoParticipants;
|
|
1076
|
+
this.enableSpotlight = spotlightEnabled;
|
|
1077
|
+
if (shouldHideNonVideoParticipants) {
|
|
1078
|
+
this._uiEventStore.showToast({
|
|
1079
|
+
type: 'info',
|
|
1080
|
+
message: (0, _i18n.transI18n)('fmt_internalsetting_other_hide_no_video_toast')
|
|
1081
|
+
});
|
|
1082
|
+
}
|
|
1083
|
+
}
|
|
1084
|
+
if (action === _constant.UIAction.WHITEBOARD_CHANGED) {
|
|
1085
|
+
var _ref13 = payload,
|
|
1086
|
+
changeAction = _ref13.action,
|
|
1087
|
+
isLoneyWindow = _ref13.payload;
|
|
1088
|
+
if (changeAction === _type5.WhiteboardControlbarEvents.LONEYWINDOW) {
|
|
1089
|
+
if (isLoneyWindow) {
|
|
1090
|
+
this._videoWindowDataSource.removeBoard();
|
|
1091
|
+
} else {
|
|
1092
|
+
var ownerUserId = this._whiteBoardControl.getBoardActiveInfo().ownerUserId;
|
|
1093
|
+
var ownerUser = this._userControl.getUser(ownerUserId);
|
|
1094
|
+
this._videoWindowDataSource.addBoard(ownerUser, ownerUserId === this.localUserId, this._securityStore.hasWriteBoardPermission());
|
|
1095
|
+
}
|
|
1096
|
+
}
|
|
1097
|
+
if (changeAction === _type5.WhiteboardBaseEvents.SET_OWNER_USER_ID) {
|
|
1098
|
+
var _ref14 = payload,
|
|
1099
|
+
_ownerUserId = _ref14.payload;
|
|
1100
|
+
this.ownerUser = _ownerUserId ? this._userControl.getUser(_ownerUserId) : null;
|
|
1101
|
+
}
|
|
1102
|
+
}
|
|
1103
|
+
}
|
|
1104
|
+
}, {
|
|
1105
|
+
key: "stopLocalPreview",
|
|
1106
|
+
value: function stopLocalPreview(view) {
|
|
1107
|
+
this._deviceStore.stopPlayLocalVideo(view);
|
|
1108
|
+
}
|
|
1109
|
+
}, {
|
|
1110
|
+
key: "startLocalPreview",
|
|
1111
|
+
value: function startLocalPreview(div) {
|
|
1112
|
+
if (div) {
|
|
1113
|
+
this._deviceStore.startPlayLocalVideo(div);
|
|
1114
|
+
}
|
|
1115
|
+
}
|
|
1116
|
+
}, {
|
|
1117
|
+
key: "isHostOrCoHost",
|
|
1118
|
+
get: function get() {
|
|
1119
|
+
return this.localUserRole === _type.FcrUserRole.HOST || this.localUserRole === _type.FcrUserRole.COHOST;
|
|
1120
|
+
}
|
|
1121
|
+
}, {
|
|
1122
|
+
key: "setAllowChatWithPayload",
|
|
1123
|
+
value: function setAllowChatWithPayload(type) {
|
|
1124
|
+
switch (type) {
|
|
1125
|
+
case 'public':
|
|
1126
|
+
this._securityStore.setAllowedPublicChatAndDisallowedPrivateChat();
|
|
1127
|
+
break;
|
|
1128
|
+
case 'private_to_manager':
|
|
1129
|
+
this._securityStore.setDisallowedPublicChatAndDisallowedPrivateChatToParticipant();
|
|
1130
|
+
break;
|
|
1131
|
+
}
|
|
1132
|
+
}
|
|
1133
|
+
}, {
|
|
1134
|
+
key: "allowedAllChat",
|
|
1135
|
+
get: function get() {
|
|
1136
|
+
return this._securityStore.allowedAllChat();
|
|
1137
|
+
}
|
|
1138
|
+
}, {
|
|
1139
|
+
key: "allowedPublicChatAndDisallowedPrivateChat",
|
|
1140
|
+
get: function get() {
|
|
1141
|
+
return this._securityStore.allowedPublicChatAndDisallowedPrivateChat();
|
|
1142
|
+
}
|
|
1143
|
+
}, {
|
|
1144
|
+
key: "disallowedPublicChatAndDisallowedPrivateChatToParticipant",
|
|
1145
|
+
get: function get() {
|
|
1146
|
+
return this._securityStore.disallowedPublicChatAndDisallowedPrivateChatToParticipant();
|
|
1147
|
+
}
|
|
1148
|
+
}, {
|
|
1149
|
+
key: "disallowedAllChat",
|
|
1150
|
+
get: function get() {
|
|
1151
|
+
return this._securityStore.disallowedAllChat();
|
|
1152
|
+
}
|
|
1153
|
+
}, {
|
|
1154
|
+
key: "muteAudio",
|
|
1155
|
+
value: function muteAudio(mute, userId) {
|
|
1156
|
+
this._uiEventStore.sendEvent(_constant.UIAction.PARTICIPANT_ACTION, {
|
|
1157
|
+
action: mute ? _constant.ParticipantType.MUTE_AUDIO : _constant.ParticipantType.UNMUTE_AUDIO,
|
|
1158
|
+
userId: userId
|
|
1159
|
+
});
|
|
1160
|
+
}
|
|
1161
|
+
}, {
|
|
1162
|
+
key: "sendParticipantEvent",
|
|
1163
|
+
value: function sendParticipantEvent(payload) {
|
|
1164
|
+
this._uiEventStore.sendEvent(_constant.UIAction.PARTICIPANT_ACTION, payload);
|
|
1165
|
+
}
|
|
1166
|
+
}, {
|
|
1167
|
+
key: "privilegeOperator",
|
|
1168
|
+
get: function get() {
|
|
1169
|
+
return this._securityStore.privilegeOperator;
|
|
1170
|
+
}
|
|
1171
|
+
}, {
|
|
1172
|
+
key: "localUserId",
|
|
1173
|
+
get: function get() {
|
|
1174
|
+
var _this$_userControl$ge;
|
|
1175
|
+
return (_this$_userControl$ge = this._userControl.getLocalUser()) === null || _this$_userControl$ge === void 0 ? void 0 : _this$_userControl$ge.userId;
|
|
1176
|
+
}
|
|
1177
|
+
}, {
|
|
1178
|
+
key: "_handleConnectionUpdated",
|
|
1179
|
+
value: function _handleConnectionUpdated(_, state) {
|
|
1180
|
+
this.chatRoomState = state;
|
|
1181
|
+
}
|
|
1182
|
+
}, {
|
|
1183
|
+
key: "_handleStreamAdded",
|
|
1184
|
+
value: function _handleStreamAdded(modifiedStream) {
|
|
1185
|
+
if (modifiedStream.videoSourceType === _type2.AgoraRtcVideoSourceType.SCREEN) {
|
|
1186
|
+
if (this.layout === _type4.FcrUIVideoWindowLayoutType.Gallery) {
|
|
1187
|
+
this.toggleLayout(_type4.FcrUIVideoWindowLayoutType.Speaker);
|
|
1188
|
+
}
|
|
1189
|
+
}
|
|
1190
|
+
this._videoWindowDataSource.add(modifiedStream, modifiedStream.owner.userId === this.getLocalUserId());
|
|
1191
|
+
}
|
|
1192
|
+
}, {
|
|
1193
|
+
key: "_onStreamsAdded",
|
|
1194
|
+
value: function _onStreamsAdded(roomId, events) {
|
|
1195
|
+
var _this7 = this;
|
|
1196
|
+
events.forEach(function (_ref15) {
|
|
1197
|
+
var modifiedStream = _ref15.modifiedStream;
|
|
1198
|
+
_this7._handleStreamAdded(modifiedStream);
|
|
1199
|
+
});
|
|
1200
|
+
}
|
|
1201
|
+
}, {
|
|
1202
|
+
key: "_onStreamsUpdated",
|
|
1203
|
+
value: function _onStreamsUpdated(roomId, events) {
|
|
1204
|
+
var _this8 = this;
|
|
1205
|
+
events.forEach(function (_ref16) {
|
|
1206
|
+
var modifiedStream = _ref16.modifiedStream;
|
|
1207
|
+
_this8._videoWindowDataSource.update(modifiedStream);
|
|
1208
|
+
});
|
|
1209
|
+
}
|
|
1210
|
+
}, {
|
|
1211
|
+
key: "_onStreamsRemoved",
|
|
1212
|
+
value: function _onStreamsRemoved(roomId, events) {
|
|
1213
|
+
var _this9 = this;
|
|
1214
|
+
events.forEach(function (_ref17) {
|
|
1215
|
+
var modifiedStream = _ref17.modifiedStream;
|
|
1216
|
+
_this9._videoWindowDataSource["delete"](modifiedStream);
|
|
1217
|
+
});
|
|
1218
|
+
}
|
|
1219
|
+
}, {
|
|
1220
|
+
key: "_onAudioVolumeUpdated",
|
|
1221
|
+
value: function _onAudioVolumeUpdated(roomId, streamId, volume) {
|
|
1222
|
+
this.userVolumeMap.set(streamId, volume);
|
|
1223
|
+
this._setSpotlightStream();
|
|
1224
|
+
}
|
|
1225
|
+
}, {
|
|
1226
|
+
key: "_findSpotlightStream",
|
|
1227
|
+
value: function _findSpotlightStream() {
|
|
1228
|
+
var _this10 = this;
|
|
1229
|
+
//find the max volume stream
|
|
1230
|
+
var res = {
|
|
1231
|
+
streamId: '',
|
|
1232
|
+
volume: 0
|
|
1233
|
+
};
|
|
1234
|
+
this.userVolumeMap.forEach(function (volume, id) {
|
|
1235
|
+
var windowData = _this10.mainListMapByAudioStreamId.get(id);
|
|
1236
|
+
if (id !== '0' && !res.streamId && volume > 0 && windowData !== null && windowData !== void 0 && windowData.hasMicrophoneAudioStream) {
|
|
1237
|
+
res = {
|
|
1238
|
+
streamId: windowData.windowId,
|
|
1239
|
+
volume: volume
|
|
1240
|
+
};
|
|
1241
|
+
}
|
|
1242
|
+
});
|
|
1243
|
+
return res;
|
|
1244
|
+
}
|
|
1245
|
+
}]);
|
|
1246
|
+
}();
|
|
1247
|
+
_LayoutStore = LayoutStore;
|
|
1248
|
+
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_LayoutStore, [[_participantDecs, 17, "participant"], [_chatDecs, 17, "chat"], [_chatActionDecs, 17, "chatAction"], [_stateBarDecs, 17, "stateBar"], [_actionBarDecs, 17, "actionBar"], [_layersDecs, 17, "layers"], [_whiteboardDecs, 17, "whiteboard"], [_mobx.observable, 1, "collapsed"], [_mobx.observable, 1, "galleryMaxSize"], [_mobx.observable, 1, "aside"], [_mobx.observable, 1, "asideContent"], [_mobx.observable, 1, "localUserRole"], [_mobx.observable, 1, "barHovering"], [_mobx.observable, 1, "barLocked"], [_mobx.observable, 1, "barHidden"], [_mobx.observable, 1, "asideWidth"], [_mobx.observable, 1, "userVolumeMap"], [_mobx.observable, 1, "chatRoomState"], [_mobx.observable, 1, "videoWindowPreviewType"], [_mobx.observable, 1, "whiteboardActive"], [_mobx.observable, 1, "spotlightStreamId"], [_mobx.observable, 1, "shouldHideNonVideoParticipants"], [_mobx.observable, 1, "participantCount"], [_mobx.observable, 1, "ownerUser"], [_mobx.observable, 1, "localUser"], [_mobx.observable, 1, "documentVisible"], [_mobx.observable, 1, "enableSpotlight"], [_mobx.computed, 3, "layout"], [_mobx.computed, 3, "mainList"], [_mobx.computed, 3, "mainListMapByAudioStreamId"], [_mobx.computed, 3, "foldList"], [_mobx.computed, 3, "galleryList"], [_mobx.computed, 3, "carouselList"], [_mobx.computed, 3, "hasPinnedStream"], [_mobx.computed, 3, "isManager"], [_mobx.computed, 3, "isRobot"], [_mobx.computed, 3, "findSpotlightUser"], [_mobx.computed, 3, "microphoneEnabled"], [_decorator.bound, 2, "_initStream"], [_decorator.bound, 2, "_isSetSpotlightEnable"], [_decorator.bound, 2, "_addListeners"], [_decorator.bound, 2, "_handleSpotlightAdded"], [_decorator.bound, 2, "_handleSpotlightRemoved"], [_decorator.bound, 2, "hasMutePermission"], [_decorator.bound, 2, "hasUnmutePermission"], [_decorator.bound, 2, "hasRequestStartAudioPermission"], [_decorator.bound, 2, "toggleMainStream"], [_decorator.bound, 2, "addPin"], [_decorator.bound, 2, "removePin"], [_decorator.bound, 2, "setVideoOrientation"], [_decorator.bound, 2, "setAllowChat"], [_decorator.bound, 2, "handleSetPinState"], [_setWhiteboardActiveDecs, 18, "setWhiteboardActive"], [_handleFoldListChangedDecs, 18, "_handleFoldListChanged"], [_handleMainListChangedDecs, 18, "_handleMainListChanged"], [_setAsideWidthDecs, 18, "setAsideWidth"], [_setDocumentVisibilityDecs, 18, "setDocumentVisibility"], [_mobx.action, 2, "_switchToSpeaker"], [_mobx.action, 2, "_switchToGallery"], [_updateSlotsDecs, 18, "updateSlots"], [_updateAsideContentDecs, 18, "updateAsideContent"], [_decorator.bound, 2, "closeParticipantFromAside"], [_decorator.bound, 2, "moveParticipantFromAsideToDialog"], [_decorator.bound, 2, "closeChatFromAside"], [_decorator.bound, 2, "closeAsideChat"], [_decorator.bound, 2, "moveChatFromAsideToDialog"], [_decorator.bound, 2, "openPrivateChat"], [_getAllowedOperationsDecs, 18, "getAllowedOperations"], [_toggleLayoutDecs, 18, "toggleLayout"], [_toggleCollapsedDecs, 18, "toggleCollapsed"], [_setGalleryMaxSizeDecs, 18, "setGalleryMaxSize"], [_toggleAsideDecs, 18, "toggleAside"], [_asideWidthChangedDecs, 18, "asideWidthChanged"], [_toggleLayoutBarLockDecs, 18, "toggleLayoutBarLock"], [_toggleLayoutBarHiddenDecs, 18, "toggleLayoutBarHidden"], [_setBarHoveringDecs, 18, "_setBarHovering"], [_resetLockTimerDecs, 18, "resetLockTimer"], [_setHoveringHandlerDecs, 18, "setHoveringHandler"], [_setHoveringLeaveHandlerDecs, 18, "setHoveringLeaveHandler"], [_onAllUserCountUpdatedDecs, 18, "_onAllUserCountUpdated"], [_onUserInfoUpdatedDecs, 18, "onUserInfoUpdated"], [_mobx.action, 2, "setLocalUserRole"], [_decorator.bound, 2, "onEvent"], [_decorator.bound, 2, "stopLocalPreview"], [_decorator.bound, 2, "startLocalPreview"], [_mobx.computed, 3, "isHostOrCoHost"], [_decorator.bound, 2, "setAllowChatWithPayload"], [_decorator.bound, 2, "muteAudio"], [_decorator.bound, 2, "sendParticipantEvent"], [_handleConnectionUpdatedDecs, 18, "_handleConnectionUpdated"], [_decorator.bound, 2, "_handleStreamAdded"], [_decorator.bound, 2, "_onStreamsAdded"], [_decorator.bound, 2, "_onStreamsUpdated"], [_decorator.bound, 2, "_onStreamsRemoved"], [_onAudioVolumeUpdatedDecs, 18, "_onAudioVolumeUpdated"], [_handleLayoutUpdatedDecs, 16, "_handleLayoutUpdated"]], []).e, 29);
|
|
1249
|
+
_init_participant = _applyDecs$e[0];
|
|
1250
|
+
_init_chat = _applyDecs$e[1];
|
|
1251
|
+
_init_chatAction = _applyDecs$e[2];
|
|
1252
|
+
_init_stateBar = _applyDecs$e[3];
|
|
1253
|
+
_init_actionBar = _applyDecs$e[4];
|
|
1254
|
+
_init_layers = _applyDecs$e[5];
|
|
1255
|
+
_init_whiteboard = _applyDecs$e[6];
|
|
1256
|
+
_init_collapsed = _applyDecs$e[7];
|
|
1257
|
+
_init_galleryMaxSize = _applyDecs$e[8];
|
|
1258
|
+
_init_aside = _applyDecs$e[9];
|
|
1259
|
+
_init_asideContent = _applyDecs$e[10];
|
|
1260
|
+
_init_localUserRole = _applyDecs$e[11];
|
|
1261
|
+
_init_barHovering = _applyDecs$e[12];
|
|
1262
|
+
_init_barLocked = _applyDecs$e[13];
|
|
1263
|
+
_init_barHidden = _applyDecs$e[14];
|
|
1264
|
+
_init_asideWidth = _applyDecs$e[15];
|
|
1265
|
+
_init_userVolumeMap = _applyDecs$e[16];
|
|
1266
|
+
_init_chatRoomState = _applyDecs$e[17];
|
|
1267
|
+
_init_videoWindowPreviewType = _applyDecs$e[18];
|
|
1268
|
+
_init_whiteboardActive = _applyDecs$e[19];
|
|
1269
|
+
_init_spotlightStreamId = _applyDecs$e[20];
|
|
1270
|
+
_init_shouldHideNonVideoParticipants = _applyDecs$e[21];
|
|
1271
|
+
_init_participantCount = _applyDecs$e[22];
|
|
1272
|
+
_init_ownerUser = _applyDecs$e[23];
|
|
1273
|
+
_init_localUser = _applyDecs$e[24];
|
|
1274
|
+
_init_documentVisible = _applyDecs$e[25];
|
|
1275
|
+
_init_enableSpotlight = _applyDecs$e[26];
|
|
1276
|
+
_init__handleLayoutUpdated = _applyDecs$e[27];
|
|
1277
|
+
_initProto = _applyDecs$e[28];
|
|
1278
|
+
(0, _defineProperty2["default"])(LayoutStore, "MIN_USERS_TO_ENABLE_SPOTLIGHT", 2);
|