fcr-ui-scene 3.6.2 → 3.6.4
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.js +0 -3
- package/lib/creator.d.ts +1 -0
- package/lib/creator.js +64 -50
- package/lib/electron/app.js +33 -14
- package/lib/electron/bootstrap-dev.js +5 -3
- package/lib/electron/bootstrap-sdk.js +4 -10
- package/lib/electron/exit-codes.d.ts +14 -0
- package/lib/electron/exit-codes.js +22 -0
- package/lib/electron/injections.d.ts +3 -2
- package/lib/electron/injections.js +122 -124
- package/lib/electron/ipc/ipc.js +0 -1
- package/lib/electron/main.js +57 -12
- package/lib/electron/tools.js +0 -4
- package/lib/electron/window.js +1 -7
- package/lib/fragments/annotation/index.d.ts +1 -0
- package/lib/fragments/annotation/index.js +54 -40
- package/lib/fragments/annotation/store.d.ts +7 -2
- package/lib/fragments/annotation/store.js +181 -102
- package/lib/fragments/annotation/view.d.ts +1 -0
- package/lib/fragments/annotation/view.js +10 -2
- package/lib/modules/action-bar/components/apps/app-item/index.js +0 -2
- package/lib/modules/action-bar/components/apps/app-list.js +2 -5
- package/lib/modules/action-bar/components/apps/useAppItemOptions.js +0 -3
- package/lib/modules/action-bar/components/apps/useWidgetList.js +2 -1
- package/lib/modules/action-bar/components/collapse/index.js +0 -4
- package/lib/modules/action-bar/components/item/index.js +0 -2
- package/lib/modules/action-bar/components/leave/index.js +0 -2
- package/lib/modules/action-bar/components/more/poppover-content.js +0 -4
- package/lib/modules/action-bar/components/notification-bar/components/interpreter/index.js +2 -1
- package/lib/modules/action-bar/components/notification-bar/index.js +0 -2
- package/lib/modules/action-bar/components/screen-share/index.js +0 -1
- package/lib/modules/action-bar/components/screen-share/submenu.js +0 -3
- package/lib/modules/action-bar/components/trigger-output-language/index.js +11 -14
- package/lib/modules/action-bar/components/trigger-subscribe-language/index.js +8 -11
- package/lib/modules/action-bar/index.css +4 -0
- package/lib/modules/action-bar/index.js +1 -2
- package/lib/modules/action-bar/store.d.ts +1 -7
- package/lib/modules/action-bar/store.js +67 -118
- package/lib/modules/annotation/board-cursor.css +76 -0
- package/lib/modules/annotation/components/control-bar/index.js +43 -2
- package/lib/modules/annotation/components/toolbar/components/color-tool/color-panel/index.js +2 -1
- package/lib/modules/annotation/components/toolbar/components/graphic-tool/graphic-panel/index.js +5 -2
- package/lib/modules/annotation/components/toolbar/components/graphic-tool/graphic-panel/libs.d.ts +1 -0
- package/lib/modules/annotation/components/toolbar/components/graphic-tool/graphic-panel/libs.js +11 -5
- package/lib/modules/annotation/components/toolbar/components/graphic-tool/index.js +0 -2
- package/lib/modules/annotation/components/toolbar/components/item/item.d.ts +1 -0
- package/lib/modules/annotation/components/toolbar/components/item/item.js +3 -2
- package/lib/modules/annotation/components/toolbar/components/pen-tool/pen-panel/index.js +1 -0
- package/lib/modules/annotation/components/toolbar/store.js +0 -1
- package/lib/modules/annotation/index.d.ts +4 -0
- package/lib/modules/annotation/index.js +3 -1
- package/lib/modules/annotation/store.d.ts +15 -5
- package/lib/modules/annotation/store.js +222 -205
- package/lib/modules/annotation/style.css +3 -3
- package/lib/modules/annotation/view.d.ts +1 -0
- package/lib/modules/annotation/view.js +26 -9
- package/lib/modules/audio-stream/index.js +0 -4
- package/lib/modules/chat/chat-room-store.js +6 -10
- package/lib/modules/chat/components/chat-bar/index.js +0 -2
- package/lib/modules/chat/components/chat-select/index.js +0 -1
- package/lib/modules/chat/components/chat-select/select-item/index.js +2 -5
- package/lib/modules/chat/components/message-list/index.js +1 -3
- package/lib/modules/chat/components/message-list/message-item/index.js +11 -13
- package/lib/modules/chat/index.js +13 -14
- package/lib/modules/chat/store.js +0 -1
- package/lib/modules/chat/view.js +11 -15
- package/lib/modules/components/annotation-menu/index.js +0 -3
- package/lib/modules/components/device-control/components/audio-menu/index.js +2 -1
- package/lib/modules/components/device-control/components/video-menu/index.js +2 -1
- package/lib/modules/components/device-control/store.js +0 -1
- package/lib/modules/components/leave-meeting/components/assign-host.js +4 -5
- package/lib/modules/components/leave-meeting/store.js +11 -12
- package/lib/modules/components/member-window/components/member-actions/components/audio-control.d.ts +0 -1
- package/lib/modules/components/member-window/components/member-actions/components/audio-control.js +10 -4
- package/lib/modules/components/member-window/components/member-actions/components/icon-buttons/index.d.ts +2 -2
- package/lib/modules/components/member-window/components/member-actions/components/icon-buttons/index.js +4 -4
- package/lib/modules/components/member-window/components/member-actions/components/icon-status.d.ts +0 -2
- package/lib/modules/components/member-window/components/member-actions/components/icon-status.js +3 -4
- package/lib/modules/components/member-window/components/member-actions/components/layout/index.js +1 -2
- package/lib/modules/components/member-window/components/member-actions/components/more-actions.d.ts +0 -3
- package/lib/modules/components/member-window/components/member-actions/components/more-actions.js +7 -34
- package/lib/modules/components/member-window/components/member-actions/components/share-status.js +11 -3
- package/lib/modules/components/member-window/components/member-actions/components/user-info.d.ts +0 -1
- package/lib/modules/components/member-window/components/member-actions/components/user-info.js +8 -13
- package/lib/modules/components/member-window/components/member-actions/components/user-tag.d.ts +0 -1
- package/lib/modules/components/member-window/components/member-actions/components/user-tag.js +0 -2
- package/lib/modules/components/member-window/components/member-actions/index.js +1 -33
- package/lib/modules/components/member-window/components/member-actions/provider.js +1 -2
- package/lib/modules/components/member-window/components/member-actions/store.d.ts +38 -1
- package/lib/modules/components/member-window/components/member-actions/store.js +120 -13
- package/lib/modules/components/member-window/components/video-player/components/local-video-player.d.ts +3 -0
- package/lib/modules/components/member-window/components/video-player/components/local-video-player.js +16 -3
- package/lib/modules/components/member-window/components/video-player/index.d.ts +2 -0
- package/lib/modules/components/member-window/components/video-player/index.js +3 -3
- package/lib/modules/components/member-window/index.css +37 -0
- package/lib/modules/components/member-window/index.js +1 -0
- package/lib/modules/components/security-menu/index.js +1 -4
- package/lib/modules/components/tab-frame/index.js +0 -4
- package/lib/modules/connection-gateway/components/phone/components/callinfo/index.js +2 -1
- package/lib/modules/connection-gateway/components/phone/index.js +5 -4
- package/lib/modules/connection-gateway/index.js +1 -2
- package/lib/modules/connection-gateway/store.js +23 -26
- package/lib/modules/control-bar/components/more-actions/index.js +0 -3
- package/lib/modules/control-bar/index.d.ts +0 -4
- package/lib/modules/control-bar/index.js +1 -34
- package/lib/modules/control-bar/store.d.ts +5 -6
- package/lib/modules/control-bar/store.js +70 -104
- package/lib/modules/control-bar/view.js +53 -13
- package/lib/modules/device-pretest/settings/beauty.js +1 -2
- package/lib/modules/device-pretest/settings/virtual-background-setting.js +2 -1
- package/lib/modules/device-pretest/store.js +2 -4
- package/lib/modules/dialog/components/control-bar/index.d.ts +0 -2
- package/lib/modules/dialog/components/control-bar/index.js +4 -6
- package/lib/modules/dialog/components/dialog-container/component/body.js +0 -2
- package/lib/modules/dialog/components/dialog-container/index.js +1 -2
- package/lib/modules/dialog/components/host-area-container/index.js +0 -3
- package/lib/modules/dialog/components/pre-setting-container/component/body.js +0 -2
- package/lib/modules/dialog/components/pre-setting-container/index.js +1 -2
- package/lib/modules/dialog/components/system-preference/index.js +2 -5
- package/lib/modules/dialog/components/video-window/index.js +0 -2
- package/lib/modules/dialog/hooks/use-popover-watcher.js +0 -1
- package/lib/modules/dialog/hooks/useElectron.js +3 -4
- package/lib/modules/dialog/index.d.ts +0 -3
- package/lib/modules/dialog/index.js +2 -28
- package/lib/modules/dialog/store.d.ts +6 -8
- package/lib/modules/dialog/store.js +22 -60
- package/lib/modules/dialog/view.js +2 -1
- package/lib/modules/event-confirm/components/window/index.js +0 -2
- package/lib/modules/event-confirm/index.js +1 -2
- package/lib/modules/event-confirm/store.js +4 -7
- package/lib/modules/event-confirm/view.js +2 -1
- package/lib/modules/event-sound/index.js +1 -2
- package/lib/modules/event-sound/sound-effect-player.js +2 -2
- package/lib/modules/event-toast/index.js +1 -2
- package/lib/modules/event-toast/store.js +0 -2
- package/lib/modules/event-toast/view.js +2 -1
- package/lib/modules/interpreter/index.js +1 -2
- package/lib/modules/interpreter/interpreter-list/index.js +3 -4
- package/lib/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/index.js +2 -5
- package/lib/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/index.js +0 -2
- package/lib/modules/interpreter/interpreter-list/interpreter-item/components/pick-user/index.js +0 -4
- package/lib/modules/interpreter/store.js +5 -10
- package/lib/modules/interpreter/utils.js +15 -14
- package/lib/modules/invite/components/pstn-invite.js +22 -23
- package/lib/modules/invite/components/voip-invite.js +7 -7
- package/lib/modules/invite/enums.js +1 -0
- package/lib/modules/invite/index.js +1 -2
- package/lib/modules/invite/store.js +46 -45
- package/lib/modules/layout/components/CommonVideoRenderer.js +7 -3
- package/lib/modules/layout/components/Gallery.js +5 -3
- package/lib/modules/layout/components/index.js +0 -1
- package/lib/modules/layout/index.js +1 -2
- package/lib/modules/layout/store.d.ts +3 -0
- package/lib/modules/layout/store.js +38 -14
- package/lib/modules/layout/type.d.ts +7 -0
- package/lib/modules/layout/type.js +9 -0
- package/lib/modules/live-streaming/index.dev.js +6 -6
- package/lib/modules/live-streaming/index.js +1 -2
- package/lib/modules/live-streaming/store.js +19 -19
- package/lib/modules/notification/index.js +1 -2
- package/lib/modules/notification/interpreter-status/index.js +2 -1
- package/lib/modules/notification/view.js +1 -2
- package/lib/modules/offscreen-pulling/index.js +0 -1
- package/lib/modules/participant/components/participants/components/footer/components/drop-menu/index.js +1 -4
- package/lib/modules/participant/components/participants/components/participants/components/attendee/index.js +0 -2
- package/lib/modules/participant/components/participants/components/participants/components/participants-more/index.js +0 -2
- package/lib/modules/participant/components/participants/components/participants/components/user-row/index.js +1 -4
- package/lib/modules/participant/components/participants/components/participants/index.js +0 -2
- package/lib/modules/participant/components/participants/components/render-user/components/attendee/components/interpreter-tag/index.js +0 -1
- package/lib/modules/participant/components/participants/components/render-user/components/attendee/index.js +0 -2
- package/lib/modules/participant/index.js +1 -4
- package/lib/modules/participant/member-list-data-source.js +0 -3
- package/lib/modules/participant/store.js +140 -114
- package/lib/modules/pc-audio-connect/index.js +1 -2
- package/lib/modules/pc-audio-connect/store.js +9 -10
- package/lib/modules/phone-audio-connect/components/callinfo/index.js +2 -1
- package/lib/modules/phone-audio-connect/index.js +1 -2
- package/lib/modules/phone-audio-connect/store.js +0 -3
- package/lib/modules/phone-audio-connect/view.js +5 -4
- package/lib/modules/setting/audio-settings/audio-settings.js +1 -4
- package/lib/modules/setting/general-settings/general-settings.js +1 -2
- package/lib/modules/setting/index.d.ts +2 -0
- package/lib/modules/setting/index.js +4 -5
- package/lib/modules/setting/minutes-settings/minutes-settings.js +1 -2
- package/lib/modules/setting/state/index.js +0 -4
- package/lib/modules/setting/storage-settings/storage-settings.js +4 -4
- package/lib/modules/setting/store.d.ts +8 -10
- package/lib/modules/setting/store.js +33 -35
- package/lib/modules/setting/translate-settings/translate-settings.js +1 -1
- package/lib/modules/setting/video-settings/video-settings.js +1 -2
- package/lib/modules/setting/view.js +1 -2
- package/lib/modules/share-screen/components/selection/index.js +16 -9
- package/lib/modules/share-screen/index.d.ts +2 -0
- package/lib/modules/share-screen/index.js +3 -3
- package/lib/modules/share-screen/store.d.ts +12 -2
- package/lib/modules/share-screen/store.js +149 -136
- package/lib/modules/state-bar/index.css +8 -6
- package/lib/modules/state-bar/index.d.ts +2 -0
- package/lib/modules/state-bar/index.js +3 -3
- package/lib/modules/state-bar/layout-config.d.ts +1 -0
- package/lib/modules/state-bar/layout-config.js +17 -6
- package/lib/modules/state-bar/live-streaming-state.js +0 -3
- package/lib/modules/state-bar/store.d.ts +5 -1
- package/lib/modules/state-bar/store.js +8 -2
- package/lib/modules/state-bar/view.js +9 -5
- package/lib/modules/video-window/components/members/index.js +2 -1
- package/lib/modules/video-window/components/topControl/index.js +0 -3
- package/lib/modules/video-window/index.js +1 -2
- package/lib/modules/video-window/store.js +0 -4
- package/lib/modules/waiting-room-layout/index.js +1 -2
- package/lib/modules/whiteboard/components/control-bar/store.js +2 -1
- package/lib/modules/whiteboard/components/switch-theme/index.js +0 -2
- package/lib/modules/whiteboard/components/switch-theme/item.js +2 -1
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/panel.js +2 -1
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/index.js +2 -1
- package/lib/modules/whiteboard/components/toolbar/components/expansion/index.js +1 -4
- package/lib/modules/whiteboard/components/toolbar/components/extra-tool-picker.js +2 -3
- package/lib/modules/whiteboard/components/toolbar/components/move-handle.js +0 -2
- package/lib/modules/whiteboard/components/toolbar/components/pen-picker.js +1 -2
- package/lib/modules/whiteboard/components/toolbar/components/shape-picker.js +1 -3
- package/lib/modules/whiteboard/components/toolbar/hooks/index.js +2 -4
- package/lib/modules/whiteboard/components/toolbar/index.js +1 -1
- package/lib/modules/whiteboard/components/toolbar/store.d.ts +7 -3
- package/lib/modules/whiteboard/components/toolbar/store.js +64 -37
- package/lib/modules/whiteboard/index.js +5 -8
- package/lib/modules/whiteboard/style.css +12 -4
- package/lib/modules/whiteboard/view.js +10 -2
- package/lib/modules/widget/index.js +1 -2
- package/lib/modules/widget/web-widget.js +1 -1
- package/lib/plugins/browser-runtime-plugin.js +1 -1
- package/lib/plugins/module-dev-plugin.js +13 -13
- package/lib/providers/ability-provider.d.ts +12 -1
- package/lib/providers/ability-provider.js +8 -1
- package/lib/providers/annotation-provider.d.ts +63 -12
- package/lib/providers/annotation-provider.js +52 -46
- package/lib/providers/device-privilege-provider.js +81 -83
- package/lib/providers/device-provider.d.ts +3 -3
- package/lib/providers/device-provider.js +201 -204
- package/lib/providers/device-stream-provider.js +24 -27
- package/lib/providers/event-provider.d.ts +3 -3
- package/lib/providers/event-provider.js +0 -2
- package/lib/providers/interpreter-provider.js +195 -197
- package/lib/providers/message-provider.js +0 -2
- package/lib/providers/phone-audio-provider.js +17 -19
- package/lib/providers/privilege-provider.js +53 -58
- package/lib/providers/renderer-provider.d.ts +3 -1
- package/lib/providers/renderer-provider.js +18 -4
- package/lib/providers/room-provider.js +31 -33
- package/lib/providers/screen-share-provider.d.ts +1 -0
- package/lib/providers/screen-share-provider.js +97 -103
- package/lib/providers/sharing-provider.d.ts +5 -1
- package/lib/providers/sharing-provider.js +17 -1
- package/lib/providers/user-setting-storage-provider.d.ts +20 -0
- package/lib/providers/user-setting-storage-provider.js +72 -0
- package/lib/providers/widget-provider.js +0 -1
- package/lib/scenes/main-scene.js +13 -16
- package/lib/scenes/waiting-scene.js +4 -4
- package/lib/shared-data-source/chat-data.js +0 -2
- package/lib/shared-data-source/config.d.ts +1 -5
- package/lib/shared-data-source/config.js +11 -81
- package/lib/shared-data-source/interpreter.js +0 -2
- package/lib/shared-data-source/layout-data.js +1 -4
- package/lib/shared-data-source/member-data.js +0 -4
- package/lib/shared-data-source/pin-data.js +0 -1
- package/lib/shared-data-source/screen-share-data.d.ts +6 -2
- package/lib/shared-data-source/screen-share-data.js +2 -2
- package/lib/shared-data-source/security-data.js +0 -1
- package/lib/shared-data-source/setting.d.ts +13 -13
- package/lib/shared-data-source/setting.js +10 -8
- package/lib/shared-data-source/video-window.d.ts +2 -1
- package/lib/shared-data-source/video-window.js +82 -66
- package/lib/shared-data-source/waiting-room.js +0 -2
- package/lib/translations/enUS.d.ts +8 -0
- package/lib/translations/enUS.js +9 -1
- package/lib/translations/zhCN.d.ts +8 -0
- package/lib/translations/zhCN.js +11 -3
- package/lib/type.d.ts +2 -1
- package/lib/type.js +14 -0
- package/lib/ui-scene.js +18 -14
- package/lib/utilities/constant.d.ts +2 -1
- package/lib/utilities/constant.js +8 -0
- package/lib/utilities/copyText.js +12 -12
- package/lib/utilities/hooks.js +1 -2
- package/lib/utilities/logger.js +0 -1
- package/lib/utilities/parameters.js +2 -2
- package/lib/utilities/privilege.js +0 -3
- package/lib/utilities/renderer-event.js +0 -2
- package/lib/utilities/setting-config-storage.d.ts +7 -6
- package/lib/utilities/setting-config-storage.js +55 -41
- package/lib/utilities/tools.d.ts +1 -0
- package/lib/utilities/tools.js +9 -12
- package/lib/waiting-room-control-manager.js +26 -28
- package/package.json +8 -6
- package/dist/132.js +0 -2
- package/dist/132.js.LICENSE.txt +0 -311
- package/dist/317.js +0 -2
- package/dist/317.js.LICENSE.txt +0 -20
- package/dist/651.js +0 -2
- package/dist/651.js.LICENSE.txt +0 -1
- package/dist/689343b64b60bfb7ffff.png +0 -0
- package/dist/73.js +0 -1
- package/dist/885f9369ea05a8ac0e56.png +0 -0
- package/dist/90f383876a6e93e7c7ca.png +0 -0
- package/dist/9b37584780995fc5df8c.gif +0 -0
- package/dist/annotation.e5cbd3a70b6d42361872.css +0 -1274
- package/dist/annotation.html +0 -1
- package/dist/annotation.js +0 -2
- package/dist/annotation.js.LICENSE.txt +0 -252
- package/dist/assets/browser/images/default1.jpg +0 -0
- package/dist/assets/browser/images/default2.jpg +0 -0
- package/dist/assets/browser/images/default3.jpg +0 -0
- package/dist/assets/browser/images/default4.jpg +0 -0
- package/dist/assets/browser/images/default5.jpg +0 -0
- package/dist/assets/browser/images/default6.jpg +0 -0
- package/dist/assets/browser/images/default7.jpg +0 -0
- package/dist/assets/browser/sound_effects/pretest.mp3 +0 -0
- package/dist/assets/browser/sound_effects/recording_started.mp3 +0 -0
- package/dist/assets/browser/sound_effects/remote_user_joined.mp3 +0 -0
- package/dist/assets/browser/sound_effects/speaker_test.mp3 +0 -0
- package/dist/assets/browser/videos/default8.mp4 +0 -0
- package/dist/assets/browser/videos/default9.mp4 +0 -0
- package/dist/assets/cursors/fcr_whiteboard_input.ico +0 -0
- package/dist/assets/cursors/fcr_whiteboard_pen.ico +0 -0
- package/dist/assets/cursors/fcr_whiteboard_shape_-straightline.ico +0 -0
- package/dist/assets/cursors/fcr_whiteboard_shape_arrow.ico +0 -0
- package/dist/assets/cursors/fcr_whiteboard_shape_circle.ico +0 -0
- package/dist/assets/cursors/fcr_whiteboard_shape_rectangle.ico +0 -0
- package/dist/assets/cursors/fcr_whiteboard_shape_triangle.ico +0 -0
- package/dist/assets/electron/images/default1.jpg +0 -0
- package/dist/assets/electron/images/default2.jpg +0 -0
- package/dist/assets/electron/sound_effects/pretest.mp3 +0 -0
- package/dist/assets/electron/videos/default8.mp4 +0 -0
- package/dist/assets/fcr_chat_reddot.svg +0 -5
- package/dist/assets/fcr_defaultpage.png +0 -0
- package/dist/assets/fcr_grid_big.svg +0 -3
- package/dist/assets/fcr_leave2.svg +0 -58
- package/dist/assets/fcr_listontop_big.svg +0 -3
- package/dist/assets/full-screen-error-boundary-img.png +0 -0
- package/dist/assets/leave-meeting.png +0 -0
- package/dist/assets/loading.gif +0 -0
- package/dist/assets/login_confirm.png +0 -0
- package/dist/assets/pretest.mp3 +0 -0
- package/dist/assets/state-bar-logo.png +0 -0
- package/dist/assets/step-gradient.svg +0 -10
- package/dist/b74b002687a3a3346bec.png +0 -0
- package/dist/b94869094481702f949b.png +0 -0
- package/dist/ebeace75fd46b90d890e.png +0 -0
- package/dist/electron/app.js +0 -194
- package/dist/electron/bootstrap-dev.js +0 -46
- package/dist/electron/bootstrap-sdk.js +0 -211
- package/dist/electron/default-options.js +0 -25
- package/dist/electron/env.js +0 -13
- package/dist/electron/index.js +0 -20
- package/dist/electron/injections.js +0 -903
- package/dist/electron/ipc/ipc.js +0 -141
- package/dist/electron/ipc/type.js +0 -19
- package/dist/electron/logger.js +0 -65
- package/dist/electron/main.js +0 -94
- package/dist/electron/plugins/devtool-shortcut.js +0 -33
- package/dist/electron/plugins/meeting-state.js +0 -39
- package/dist/electron/plugins/screenshot.js +0 -54
- package/dist/electron/preload.js +0 -108
- package/dist/electron/tools.js +0 -66
- package/dist/electron/window.js +0 -123
- package/dist/extensions/agora-extension-virtual-background/agora-wasm.wasm +0 -0
- package/dist/extensions/ai-denoiser/denoiser-wasm-simd.wasm +0 -0
- package/dist/extensions/ai-denoiser/denoiser-wasm.js +0 -1
- package/dist/extensions/ai-denoiser/denoiser-wasm.wasm +0 -0
- package/dist/fad688b9135b15d6c405.png +0 -0
- package/dist/index.html +0 -224
- package/dist/main.393a2a91ab7fc05ffce6.css +0 -15403
- package/dist/main.js +0 -2
- package/dist/main.js.LICENSE.txt +0 -272
- package/dist/worker-entry.worker.js.LICENSE.txt +0 -13
|
@@ -45,10 +45,6 @@ require("core-js/modules/es.object.assign.js");
|
|
|
45
45
|
require("core-js/modules/es.object.to-string.js");
|
|
46
46
|
require("core-js/modules/es.string.iterator.js");
|
|
47
47
|
require("core-js/modules/es.weak-map.js");
|
|
48
|
-
require("core-js/modules/esnext.async-iterator.filter.js");
|
|
49
|
-
require("core-js/modules/esnext.async-iterator.find.js");
|
|
50
|
-
require("core-js/modules/esnext.async-iterator.for-each.js");
|
|
51
|
-
require("core-js/modules/esnext.async-iterator.some.js");
|
|
52
48
|
require("core-js/modules/esnext.iterator.constructor.js");
|
|
53
49
|
require("core-js/modules/esnext.iterator.filter.js");
|
|
54
50
|
require("core-js/modules/esnext.iterator.find.js");
|
|
@@ -85,7 +81,7 @@ var _type2 = require("fcr-core/lib/type");
|
|
|
85
81
|
var _fcrCore = require("fcr-core");
|
|
86
82
|
var _base = require("../base");
|
|
87
83
|
var _FcrUIVideoWindowDataImpl, _FcrUIVideoWindowDataSourceImpl;
|
|
88
|
-
var _initProto, _init__videoStream, _init__audioStream, _init__spotlightEnabled, _init__isSpeakerSpotlight, _init__boardCanEdit, _init__isFirstCameraOpen, _init_isPin, _init_hasScreenSharing, _init_hasBoardSharing, _init_hasLoopbackSharing, _setVideoStreamDecs, _setVideoStreamOwnerInfoDecs, _setAudioStreamDecs, _setAudioStreamOwnerInfoDecs, _setPinDecs, _setSpotlightEnabledDecs, _setHasBoardSharingDecs, _setSpeakerSpotlightDecs, _setHasScreenSharingDecs, _setHasLoopbackSharingDecs, _setBoardCanEditDecs, _ref, _initProto2, _init_spotlightEnabled, _init_layoutType, _init_manualLayout, _init_pinLimitedCount, _init_mainListLimitedCount, _init_foldListLimitedCount, _init_mainList, _init_foldList, _init_spotlightStreamId, _setSpotlightEnabledDecs2, _setLayoutDecs, _onSpotlightRemovedDecs, _resetListDecs, _addBoardDecs, _updateBoardDecs, _removeBoardDecs, _mergePstnStreamOrInsertNewDataDecs, _addDecs, _updateDecs, _deleteDecs, _addPinDecs, _updateSpeakerSpotlightPositionDecs, _removePinDecs, _setSpeakerSpotlightDecs2, _toggleMainStreamDecs, _insertBeginningByPriorityDecs, _insertEndByPriorityDecs, _findInsertBeginningIndexDecs, _findInsertEndIndexDecs, _insertBoardDecs, _insertNewDataDecs, _ref3;
|
|
84
|
+
var _initProto, _init__boardUserInfo, _init__videoStream, _init__audioStream, _init__spotlightEnabled, _init__isSpeakerSpotlight, _init__boardCanEdit, _init__isFirstCameraOpen, _init_isPin, _init_hasScreenSharing, _init_hasBoardSharing, _init_hasLoopbackSharing, _setVideoStreamDecs, _setVideoStreamOwnerInfoDecs, _setAudioStreamDecs, _setAudioStreamOwnerInfoDecs, _setPinDecs, _setSpotlightEnabledDecs, _setHasBoardSharingDecs, _setBoardUserInfoDecs, _setSpeakerSpotlightDecs, _setHasScreenSharingDecs, _setHasLoopbackSharingDecs, _setBoardCanEditDecs, _ref, _initProto2, _init_spotlightEnabled, _init_layoutType, _init_manualLayout, _init_pinLimitedCount, _init_mainListLimitedCount, _init_foldListLimitedCount, _init_mainList, _init_foldList, _init_spotlightStreamId, _setSpotlightEnabledDecs2, _setLayoutDecs, _onSpotlightRemovedDecs, _resetListDecs, _addBoardDecs, _updateBoardDecs, _removeBoardDecs, _mergePstnStreamOrInsertNewDataDecs, _addDecs, _updateDecs, _deleteDecs, _addPinDecs, _updateSpeakerSpotlightPositionDecs, _removePinDecs, _setSpeakerSpotlightDecs2, _toggleMainStreamDecs, _insertBeginningByPriorityDecs, _insertEndByPriorityDecs, _findInsertBeginningIndexDecs, _findInsertEndIndexDecs, _insertBoardDecs, _insertNewDataDecs, _ref3;
|
|
89
85
|
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
90
86
|
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
91
87
|
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
@@ -109,7 +105,8 @@ var _G = /*#__PURE__*/new WeakMap();
|
|
|
109
105
|
var _H = /*#__PURE__*/new WeakMap();
|
|
110
106
|
var _I = /*#__PURE__*/new WeakMap();
|
|
111
107
|
var _J = /*#__PURE__*/new WeakMap();
|
|
112
|
-
|
|
108
|
+
var _K = /*#__PURE__*/new WeakMap();
|
|
109
|
+
_ref = (_setVideoStreamDecs = [_mobx.action, _mobx.action.bound], _setVideoStreamOwnerInfoDecs = [_mobx.action, _mobx.action.bound], _setAudioStreamDecs = [_mobx.action, _mobx.action.bound], _setAudioStreamOwnerInfoDecs = [_mobx.action, _mobx.action.bound], _setPinDecs = [_mobx.action, _mobx.action.bound], _setSpotlightEnabledDecs = [_mobx.action, _mobx.action.bound], _setHasBoardSharingDecs = [_mobx.action, _mobx.action.bound], _setBoardUserInfoDecs = [_mobx.action, _mobx.action.bound], _setSpeakerSpotlightDecs = [_mobx.action, _mobx.action.bound], _setHasScreenSharingDecs = [_mobx.action, _mobx.action.bound], _setHasLoopbackSharingDecs = [_mobx.action, _mobx.action.bound], _setBoardCanEditDecs = [_mobx.action, _mobx.action.bound], "_boardUserInfo");
|
|
113
110
|
var FcrUIVideoWindowDataImpl = exports.FcrUIVideoWindowDataImpl = /*#__PURE__*/function () {
|
|
114
111
|
function FcrUIVideoWindowDataImpl(type, _ref2, _placement, _isMySelf) {
|
|
115
112
|
var videoStream = _ref2.videoStream,
|
|
@@ -119,19 +116,19 @@ var FcrUIVideoWindowDataImpl = exports.FcrUIVideoWindowDataImpl = /*#__PURE__*/f
|
|
|
119
116
|
var spotlightEnabled = arguments.length > 5 ? arguments[5] : undefined;
|
|
120
117
|
var canEdit = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : false;
|
|
121
118
|
(0, _classCallCheck2["default"])(this, FcrUIVideoWindowDataImpl);
|
|
122
|
-
(
|
|
119
|
+
_classPrivateFieldInitSpec(this, _A, (_initProto(this), _init__boardUserInfo(this)));
|
|
123
120
|
(0, _defineProperty2["default"])(this, "_layoutType", _type.FcrUIVideoWindowLayoutType.Gallery);
|
|
124
|
-
_classPrivateFieldInitSpec(this,
|
|
125
|
-
_classPrivateFieldInitSpec(this,
|
|
126
|
-
_classPrivateFieldInitSpec(this,
|
|
127
|
-
_classPrivateFieldInitSpec(this,
|
|
128
|
-
_classPrivateFieldInitSpec(this,
|
|
129
|
-
_classPrivateFieldInitSpec(this,
|
|
121
|
+
_classPrivateFieldInitSpec(this, _B, _init__videoStream(this));
|
|
122
|
+
_classPrivateFieldInitSpec(this, _C, _init__audioStream(this));
|
|
123
|
+
_classPrivateFieldInitSpec(this, _D, _init__spotlightEnabled(this, true));
|
|
124
|
+
_classPrivateFieldInitSpec(this, _E, _init__isSpeakerSpotlight(this, false));
|
|
125
|
+
_classPrivateFieldInitSpec(this, _F, _init__boardCanEdit(this, false));
|
|
126
|
+
_classPrivateFieldInitSpec(this, _G, _init__isFirstCameraOpen(this, false));
|
|
130
127
|
(0, _defineProperty2["default"])(this, "needToSort", false);
|
|
131
|
-
_classPrivateFieldInitSpec(this,
|
|
132
|
-
_classPrivateFieldInitSpec(this,
|
|
133
|
-
_classPrivateFieldInitSpec(this,
|
|
134
|
-
_classPrivateFieldInitSpec(this,
|
|
128
|
+
_classPrivateFieldInitSpec(this, _H, _init_isPin(this, false));
|
|
129
|
+
_classPrivateFieldInitSpec(this, _I, _init_hasScreenSharing(this, false));
|
|
130
|
+
_classPrivateFieldInitSpec(this, _J, _init_hasBoardSharing(this, false));
|
|
131
|
+
_classPrivateFieldInitSpec(this, _K, _init_hasLoopbackSharing(this, false));
|
|
135
132
|
this._placement = _placement;
|
|
136
133
|
this._isMySelf = _isMySelf;
|
|
137
134
|
this.type = type;
|
|
@@ -143,15 +140,17 @@ var FcrUIVideoWindowDataImpl = exports.FcrUIVideoWindowDataImpl = /*#__PURE__*/f
|
|
|
143
140
|
this._boardCanEdit = canEdit;
|
|
144
141
|
}
|
|
145
142
|
return (0, _createClass2["default"])(FcrUIVideoWindowDataImpl, [{
|
|
146
|
-
key:
|
|
143
|
+
key: _ref,
|
|
147
144
|
get: function get() {
|
|
148
145
|
return _classPrivateFieldGet(_A, this);
|
|
149
|
-
}
|
|
146
|
+
}
|
|
147
|
+
}, {
|
|
148
|
+
key: "_boardUserInfo",
|
|
150
149
|
set: function set(v) {
|
|
151
150
|
_classPrivateFieldSet(_A, this, v);
|
|
152
151
|
}
|
|
153
152
|
}, {
|
|
154
|
-
key: "
|
|
153
|
+
key: "_videoStream",
|
|
155
154
|
get: function get() {
|
|
156
155
|
return _classPrivateFieldGet(_B, this);
|
|
157
156
|
},
|
|
@@ -159,7 +158,7 @@ var FcrUIVideoWindowDataImpl = exports.FcrUIVideoWindowDataImpl = /*#__PURE__*/f
|
|
|
159
158
|
_classPrivateFieldSet(_B, this, v);
|
|
160
159
|
}
|
|
161
160
|
}, {
|
|
162
|
-
key: "
|
|
161
|
+
key: "_audioStream",
|
|
163
162
|
get: function get() {
|
|
164
163
|
return _classPrivateFieldGet(_C, this);
|
|
165
164
|
},
|
|
@@ -167,7 +166,7 @@ var FcrUIVideoWindowDataImpl = exports.FcrUIVideoWindowDataImpl = /*#__PURE__*/f
|
|
|
167
166
|
_classPrivateFieldSet(_C, this, v);
|
|
168
167
|
}
|
|
169
168
|
}, {
|
|
170
|
-
key: "
|
|
169
|
+
key: "_spotlightEnabled",
|
|
171
170
|
get: function get() {
|
|
172
171
|
return _classPrivateFieldGet(_D, this);
|
|
173
172
|
},
|
|
@@ -175,7 +174,7 @@ var FcrUIVideoWindowDataImpl = exports.FcrUIVideoWindowDataImpl = /*#__PURE__*/f
|
|
|
175
174
|
_classPrivateFieldSet(_D, this, v);
|
|
176
175
|
}
|
|
177
176
|
}, {
|
|
178
|
-
key: "
|
|
177
|
+
key: "_isSpeakerSpotlight",
|
|
179
178
|
get: function get() {
|
|
180
179
|
return _classPrivateFieldGet(_E, this);
|
|
181
180
|
},
|
|
@@ -183,7 +182,7 @@ var FcrUIVideoWindowDataImpl = exports.FcrUIVideoWindowDataImpl = /*#__PURE__*/f
|
|
|
183
182
|
_classPrivateFieldSet(_E, this, v);
|
|
184
183
|
}
|
|
185
184
|
}, {
|
|
186
|
-
key: "
|
|
185
|
+
key: "_boardCanEdit",
|
|
187
186
|
get: function get() {
|
|
188
187
|
return _classPrivateFieldGet(_F, this);
|
|
189
188
|
},
|
|
@@ -191,7 +190,7 @@ var FcrUIVideoWindowDataImpl = exports.FcrUIVideoWindowDataImpl = /*#__PURE__*/f
|
|
|
191
190
|
_classPrivateFieldSet(_F, this, v);
|
|
192
191
|
}
|
|
193
192
|
}, {
|
|
194
|
-
key: "
|
|
193
|
+
key: "_isFirstCameraOpen",
|
|
195
194
|
get: function get() {
|
|
196
195
|
return _classPrivateFieldGet(_G, this);
|
|
197
196
|
},
|
|
@@ -199,7 +198,7 @@ var FcrUIVideoWindowDataImpl = exports.FcrUIVideoWindowDataImpl = /*#__PURE__*/f
|
|
|
199
198
|
_classPrivateFieldSet(_G, this, v);
|
|
200
199
|
}
|
|
201
200
|
}, {
|
|
202
|
-
key: "
|
|
201
|
+
key: "isPin",
|
|
203
202
|
get: function get() {
|
|
204
203
|
return _classPrivateFieldGet(_H, this);
|
|
205
204
|
},
|
|
@@ -207,7 +206,7 @@ var FcrUIVideoWindowDataImpl = exports.FcrUIVideoWindowDataImpl = /*#__PURE__*/f
|
|
|
207
206
|
_classPrivateFieldSet(_H, this, v);
|
|
208
207
|
}
|
|
209
208
|
}, {
|
|
210
|
-
key: "
|
|
209
|
+
key: "hasScreenSharing",
|
|
211
210
|
get: function get() {
|
|
212
211
|
return _classPrivateFieldGet(_I, this);
|
|
213
212
|
},
|
|
@@ -215,13 +214,21 @@ var FcrUIVideoWindowDataImpl = exports.FcrUIVideoWindowDataImpl = /*#__PURE__*/f
|
|
|
215
214
|
_classPrivateFieldSet(_I, this, v);
|
|
216
215
|
}
|
|
217
216
|
}, {
|
|
218
|
-
key: "
|
|
217
|
+
key: "hasBoardSharing",
|
|
219
218
|
get: function get() {
|
|
220
219
|
return _classPrivateFieldGet(_J, this);
|
|
221
220
|
},
|
|
222
221
|
set: function set(v) {
|
|
223
222
|
_classPrivateFieldSet(_J, this, v);
|
|
224
223
|
}
|
|
224
|
+
}, {
|
|
225
|
+
key: "hasLoopbackSharing",
|
|
226
|
+
get: function get() {
|
|
227
|
+
return _classPrivateFieldGet(_K, this);
|
|
228
|
+
},
|
|
229
|
+
set: function set(v) {
|
|
230
|
+
_classPrivateFieldSet(_K, this, v);
|
|
231
|
+
}
|
|
225
232
|
}, {
|
|
226
233
|
key: "isSpeakerSpotlight",
|
|
227
234
|
get: function get() {
|
|
@@ -316,20 +323,20 @@ var FcrUIVideoWindowDataImpl = exports.FcrUIVideoWindowDataImpl = /*#__PURE__*/f
|
|
|
316
323
|
}, {
|
|
317
324
|
key: "userName",
|
|
318
325
|
get: function get() {
|
|
319
|
-
var _this$
|
|
320
|
-
return ((_this$
|
|
326
|
+
var _this$_videoStream0, _this$_audioStream5, _this$_boardUserInfo2;
|
|
327
|
+
return ((_this$_videoStream0 = this._videoStream) === null || _this$_videoStream0 === void 0 ? void 0 : _this$_videoStream0.owner.userName) || ((_this$_audioStream5 = this._audioStream) === null || _this$_audioStream5 === void 0 ? void 0 : _this$_audioStream5.owner.userName) || ((_this$_boardUserInfo2 = this._boardUserInfo) === null || _this$_boardUserInfo2 === void 0 ? void 0 : _this$_boardUserInfo2.userName) || '';
|
|
321
328
|
}
|
|
322
329
|
}, {
|
|
323
330
|
key: "ownerRoleType",
|
|
324
331
|
get: function get() {
|
|
325
|
-
var _this$
|
|
326
|
-
return ((_this$
|
|
332
|
+
var _this$_videoStream1, _this$_audioStream6, _this$_boardUserInfo3;
|
|
333
|
+
return ((_this$_videoStream1 = this._videoStream) === null || _this$_videoStream1 === void 0 ? void 0 : _this$_videoStream1.owner.userRole) || ((_this$_audioStream6 = this._audioStream) === null || _this$_audioStream6 === void 0 ? void 0 : _this$_audioStream6.owner.userRole) || ((_this$_boardUserInfo3 = this._boardUserInfo) === null || _this$_boardUserInfo3 === void 0 ? void 0 : _this$_boardUserInfo3.userRole) || _type2.FcrUserRole.AUDIENCE;
|
|
327
334
|
}
|
|
328
335
|
}, {
|
|
329
336
|
key: "videoSourceType",
|
|
330
337
|
get: function get() {
|
|
331
|
-
var _this$
|
|
332
|
-
return ((_this$
|
|
338
|
+
var _this$_videoStream10;
|
|
339
|
+
return ((_this$_videoStream10 = this._videoStream) === null || _this$_videoStream10 === void 0 ? void 0 : _this$_videoStream10.videoSourceType) || _fcrCore.FcrVideoSourceType.CAMERA;
|
|
333
340
|
}
|
|
334
341
|
}, {
|
|
335
342
|
key: "audioSourceType",
|
|
@@ -346,11 +353,11 @@ var FcrUIVideoWindowDataImpl = exports.FcrUIVideoWindowDataImpl = /*#__PURE__*/f
|
|
|
346
353
|
key: "sortingPriority",
|
|
347
354
|
get: function get() {
|
|
348
355
|
if (this._placement === 'main-list') {
|
|
349
|
-
var _this$
|
|
356
|
+
var _this$_videoStream11;
|
|
350
357
|
if (this.type === _type.FcrUIWindowType.BOARD && this._boardCanEdit) {
|
|
351
358
|
return _type.FcrUIVideoWindowMainSortingPriority.HIGHEST;
|
|
352
359
|
}
|
|
353
|
-
if (this.isPin || ((_this$
|
|
360
|
+
if (this.isPin || ((_this$_videoStream11 = this._videoStream) === null || _this$_videoStream11 === void 0 ? void 0 : _this$_videoStream11.videoSourceType) === _fcrCore.FcrVideoSourceType.SCREEN || this.type === _type.FcrUIWindowType.BOARD) {
|
|
354
361
|
return _type.FcrUIVideoWindowMainSortingPriority.FOCUS;
|
|
355
362
|
}
|
|
356
363
|
if (this.isSpeakerSpotlight) {
|
|
@@ -379,14 +386,14 @@ var FcrUIVideoWindowDataImpl = exports.FcrUIVideoWindowDataImpl = /*#__PURE__*/f
|
|
|
379
386
|
// return FcrUIVideoWindowMainSortingPriority.MICROPHONE_OPEN;
|
|
380
387
|
// }
|
|
381
388
|
} else {
|
|
382
|
-
var _this$
|
|
389
|
+
var _this$_videoStream12;
|
|
383
390
|
if (this.isSpeakerSpotlight) {
|
|
384
391
|
return _type.FcrUIVideoWindowFoldSortingPriority.FOCUS;
|
|
385
392
|
}
|
|
386
393
|
if (this.isPin) {
|
|
387
394
|
return _type.FcrUIVideoWindowFoldSortingPriority.PIN;
|
|
388
395
|
}
|
|
389
|
-
if (((_this$
|
|
396
|
+
if (((_this$_videoStream12 = this._videoStream) === null || _this$_videoStream12 === void 0 ? void 0 : _this$_videoStream12.videoSourceType) === _fcrCore.FcrVideoSourceType.SCREEN) {
|
|
390
397
|
return _type.FcrUIVideoWindowFoldSortingPriority.SCREEN_SHARING_STREAM;
|
|
391
398
|
}
|
|
392
399
|
if (this.hasScreenSharing) {
|
|
@@ -462,6 +469,13 @@ var FcrUIVideoWindowDataImpl = exports.FcrUIVideoWindowDataImpl = /*#__PURE__*/f
|
|
|
462
469
|
value: function setHasBoardSharing(isSharing) {
|
|
463
470
|
this.hasBoardSharing = isSharing;
|
|
464
471
|
}
|
|
472
|
+
}, {
|
|
473
|
+
key: "setBoardUserInfo",
|
|
474
|
+
value: function setBoardUserInfo(userInfo) {
|
|
475
|
+
if (this.type === _type.FcrUIWindowType.BOARD) {
|
|
476
|
+
this._boardUserInfo = userInfo;
|
|
477
|
+
}
|
|
478
|
+
}
|
|
465
479
|
}, {
|
|
466
480
|
key: "setSpeakerSpotlight",
|
|
467
481
|
value: function setSpeakerSpotlight(speakerSpotlight) {
|
|
@@ -485,18 +499,19 @@ var FcrUIVideoWindowDataImpl = exports.FcrUIVideoWindowDataImpl = /*#__PURE__*/f
|
|
|
485
499
|
}]);
|
|
486
500
|
}();
|
|
487
501
|
_FcrUIVideoWindowDataImpl = FcrUIVideoWindowDataImpl;
|
|
488
|
-
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_FcrUIVideoWindowDataImpl, [[_mobx.observable, 1, "_videoStream"], [_mobx.observable, 1, "_audioStream"], [_mobx.observable, 1, "_spotlightEnabled"], [_mobx.observable, 1, "_isSpeakerSpotlight"], [_mobx.observable, 1, "_boardCanEdit"], [_mobx.observable, 1, "_isFirstCameraOpen"], [_mobx.observable, 1, "isPin"], [_mobx.observable, 1, "hasScreenSharing"], [_mobx.observable, 1, "hasBoardSharing"], [_mobx.observable, 1, "hasLoopbackSharing"], [_mobx.computed, 3, "isSpeakerSpotlight"], [_mobx.computed, 3, "windowId"], [_mobx.computed, 3, "videoStreamId"], [_mobx.computed, 3, "audioStreamId"], [_mobx.computed, 3, "audioStreamConnectorType"], [_mobx.computed, 3, "videoStreamConnectorType"], [_mobx.computed, 3, "hasMicrophoneAudioStream"], [_mobx.computed, 3, "hasLoopbackAudioStream"], [_mobx.computed, 3, "phoneMicEnabled"], [_mobx.computed, 3, "hasVideoStream"], [_mobx.computed, 3, "userId"], [_mobx.computed, 3, "ownerRoleType"], [_mobx.computed, 3, "videoSourceType"], [_mobx.computed, 3, "audioSourceType"], [_mobx.computed, 3, "sortingPriority"], [_setVideoStreamDecs, 18, "setVideoStream"], [_setVideoStreamOwnerInfoDecs, 18, "setVideoStreamOwnerInfo"], [_setAudioStreamDecs, 18, "setAudioStream"], [_setAudioStreamOwnerInfoDecs, 18, "setAudioStreamOwnerInfo"], [_setPinDecs, 18, "setPin"], [_setSpotlightEnabledDecs, 18, "setSpotlightEnabled"], [_setHasBoardSharingDecs, 18, "setHasBoardSharing"], [_setSpeakerSpotlightDecs, 18, "setSpeakerSpotlight"], [_setHasScreenSharingDecs, 18, "setHasScreenSharing"], [_setHasLoopbackSharingDecs, 18, "setHasLoopbackSharing"], [_setBoardCanEditDecs, 18, "setBoardCanEdit"]], []).e,
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
502
|
+
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_FcrUIVideoWindowDataImpl, [[_mobx.observable, 1, "_boardUserInfo"], [_mobx.observable, 1, "_videoStream"], [_mobx.observable, 1, "_audioStream"], [_mobx.observable, 1, "_spotlightEnabled"], [_mobx.observable, 1, "_isSpeakerSpotlight"], [_mobx.observable, 1, "_boardCanEdit"], [_mobx.observable, 1, "_isFirstCameraOpen"], [_mobx.observable, 1, "isPin"], [_mobx.observable, 1, "hasScreenSharing"], [_mobx.observable, 1, "hasBoardSharing"], [_mobx.observable, 1, "hasLoopbackSharing"], [_mobx.computed, 3, "isSpeakerSpotlight"], [_mobx.computed, 3, "windowId"], [_mobx.computed, 3, "videoStreamId"], [_mobx.computed, 3, "audioStreamId"], [_mobx.computed, 3, "audioStreamConnectorType"], [_mobx.computed, 3, "videoStreamConnectorType"], [_mobx.computed, 3, "hasMicrophoneAudioStream"], [_mobx.computed, 3, "hasLoopbackAudioStream"], [_mobx.computed, 3, "phoneMicEnabled"], [_mobx.computed, 3, "hasVideoStream"], [_mobx.computed, 3, "userId"], [_mobx.computed, 3, "ownerRoleType"], [_mobx.computed, 3, "videoSourceType"], [_mobx.computed, 3, "audioSourceType"], [_mobx.computed, 3, "sortingPriority"], [_setVideoStreamDecs, 18, "setVideoStream"], [_setVideoStreamOwnerInfoDecs, 18, "setVideoStreamOwnerInfo"], [_setAudioStreamDecs, 18, "setAudioStream"], [_setAudioStreamOwnerInfoDecs, 18, "setAudioStreamOwnerInfo"], [_setPinDecs, 18, "setPin"], [_setSpotlightEnabledDecs, 18, "setSpotlightEnabled"], [_setHasBoardSharingDecs, 18, "setHasBoardSharing"], [_setBoardUserInfoDecs, 18, "setBoardUserInfo"], [_setSpeakerSpotlightDecs, 18, "setSpeakerSpotlight"], [_setHasScreenSharingDecs, 18, "setHasScreenSharing"], [_setHasLoopbackSharingDecs, 18, "setHasLoopbackSharing"], [_setBoardCanEditDecs, 18, "setBoardCanEdit"]], []).e, 12);
|
|
503
|
+
_init__boardUserInfo = _applyDecs$e[0];
|
|
504
|
+
_init__videoStream = _applyDecs$e[1];
|
|
505
|
+
_init__audioStream = _applyDecs$e[2];
|
|
506
|
+
_init__spotlightEnabled = _applyDecs$e[3];
|
|
507
|
+
_init__isSpeakerSpotlight = _applyDecs$e[4];
|
|
508
|
+
_init__boardCanEdit = _applyDecs$e[5];
|
|
509
|
+
_init__isFirstCameraOpen = _applyDecs$e[6];
|
|
510
|
+
_init_isPin = _applyDecs$e[7];
|
|
511
|
+
_init_hasScreenSharing = _applyDecs$e[8];
|
|
512
|
+
_init_hasBoardSharing = _applyDecs$e[9];
|
|
513
|
+
_init_hasLoopbackSharing = _applyDecs$e[10];
|
|
514
|
+
_initProto = _applyDecs$e[11];
|
|
500
515
|
var _A2 = /*#__PURE__*/new WeakMap();
|
|
501
516
|
var _B2 = /*#__PURE__*/new WeakMap();
|
|
502
517
|
var _C2 = /*#__PURE__*/new WeakMap();
|
|
@@ -781,6 +796,7 @@ var FcrUIVideoWindowDataSourceImpl = exports.FcrUIVideoWindowDataSourceImpl = /*
|
|
|
781
796
|
var oldSortingPriority = item.sortingPriority;
|
|
782
797
|
item.setVideoStreamOwnerInfo(user);
|
|
783
798
|
item.setAudioStreamOwnerInfo(user);
|
|
799
|
+
item.setBoardUserInfo(user);
|
|
784
800
|
var newSortingPriority = item.sortingPriority;
|
|
785
801
|
if (oldSortingPriority !== newSortingPriority) {
|
|
786
802
|
modifiedItems.push(item);
|
|
@@ -974,7 +990,7 @@ var FcrUIVideoWindowDataSourceImpl = exports.FcrUIVideoWindowDataSourceImpl = /*
|
|
|
974
990
|
}, {
|
|
975
991
|
key: "_syncHasScreenSharing",
|
|
976
992
|
value: function _syncHasScreenSharing(enable, hasBoardSharing, userId, list, limitCount, placement) {
|
|
977
|
-
var
|
|
993
|
+
var _this0 = this;
|
|
978
994
|
if (enable) {
|
|
979
995
|
list.forEach(function (item, index) {
|
|
980
996
|
if (item.userId === userId) {
|
|
@@ -983,10 +999,10 @@ var FcrUIVideoWindowDataSourceImpl = exports.FcrUIVideoWindowDataSourceImpl = /*
|
|
|
983
999
|
item.setHasScreenSharing(enable);
|
|
984
1000
|
item.setHasBoardSharing(hasBoardSharing);
|
|
985
1001
|
if (item.sortingPriority !== originalPriority) {
|
|
986
|
-
itemIndex =
|
|
1002
|
+
itemIndex = _this0._insertByPriority(item, list, limitCount);
|
|
987
1003
|
}
|
|
988
|
-
|
|
989
|
-
var hasLoopbackAudioStream =
|
|
1004
|
+
_this0._observer.notifyObservers(placement === 'main-list' ? 'onMainListUpdated' : 'onFoldListUpdated', itemIndex);
|
|
1005
|
+
var hasLoopbackAudioStream = _this0 === null || _this0 === void 0 ? void 0 : _this0.mainList.some(function (item) {
|
|
990
1006
|
return item.userId === userId && item.hasScreenSharing && item.hasLoopbackAudioStream;
|
|
991
1007
|
});
|
|
992
1008
|
item.setHasLoopbackSharing(hasLoopbackAudioStream);
|
|
@@ -1001,8 +1017,8 @@ var FcrUIVideoWindowDataSourceImpl = exports.FcrUIVideoWindowDataSourceImpl = /*
|
|
|
1001
1017
|
if (item.userId === userId) {
|
|
1002
1018
|
item.setHasScreenSharing(enable);
|
|
1003
1019
|
item.setHasBoardSharing(hasBoardSharing);
|
|
1004
|
-
var index =
|
|
1005
|
-
|
|
1020
|
+
var index = _this0._insertByPriority(item, list, limitCount);
|
|
1021
|
+
_this0._observer.notifyObservers(placement === 'main-list' ? 'onMainListUpdated' : 'onFoldListUpdated', index);
|
|
1006
1022
|
}
|
|
1007
1023
|
});
|
|
1008
1024
|
}
|
|
@@ -1157,23 +1173,23 @@ var FcrUISpeakerSpotlightPool = exports.FcrUISpeakerSpotlightPool = /*#__PURE__*
|
|
|
1157
1173
|
}, {
|
|
1158
1174
|
key: "_scan",
|
|
1159
1175
|
value: function _scan() {
|
|
1160
|
-
var
|
|
1176
|
+
var _this1 = this;
|
|
1161
1177
|
if (this._timer) {
|
|
1162
1178
|
window.clearInterval(this._timer);
|
|
1163
1179
|
this._timer = null;
|
|
1164
1180
|
}
|
|
1165
1181
|
this._timer = window.setInterval(function () {
|
|
1166
1182
|
var now = Date.now();
|
|
1167
|
-
var _iterator = _createForOfIteratorHelper(
|
|
1183
|
+
var _iterator = _createForOfIteratorHelper(_this1.streams),
|
|
1168
1184
|
_step;
|
|
1169
1185
|
try {
|
|
1170
1186
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
1171
1187
|
var _step$value = (0, _slicedToArray2["default"])(_step.value, 2),
|
|
1172
1188
|
_streamId2 = _step$value[0],
|
|
1173
1189
|
time = _step$value[1];
|
|
1174
|
-
if (now - time -
|
|
1175
|
-
|
|
1176
|
-
|
|
1190
|
+
if (now - time - _this1.duration * 1000 >= 0) {
|
|
1191
|
+
_this1.streams["delete"](_streamId2);
|
|
1192
|
+
_this1._observer.notifyObservers('onRemoved', _streamId2);
|
|
1177
1193
|
}
|
|
1178
1194
|
}
|
|
1179
1195
|
} catch (err) {
|
|
@@ -1181,18 +1197,18 @@ var FcrUISpeakerSpotlightPool = exports.FcrUISpeakerSpotlightPool = /*#__PURE__*
|
|
|
1181
1197
|
} finally {
|
|
1182
1198
|
_iterator.f();
|
|
1183
1199
|
}
|
|
1184
|
-
if (
|
|
1185
|
-
|
|
1186
|
-
|
|
1200
|
+
if (_this1.streams.size === 0) {
|
|
1201
|
+
_this1._timer && window.clearInterval(_this1._timer);
|
|
1202
|
+
_this1._timer = null;
|
|
1187
1203
|
}
|
|
1188
1204
|
}, 1000);
|
|
1189
1205
|
}
|
|
1190
1206
|
}, {
|
|
1191
1207
|
key: "clear",
|
|
1192
1208
|
value: function clear() {
|
|
1193
|
-
var
|
|
1209
|
+
var _this10 = this;
|
|
1194
1210
|
this.streams.forEach(function (_, streamId) {
|
|
1195
|
-
|
|
1211
|
+
_this10._observer.notifyObservers('onRemoved', streamId);
|
|
1196
1212
|
});
|
|
1197
1213
|
this.streams.clear();
|
|
1198
1214
|
if (this._timer) {
|
|
@@ -46,8 +46,6 @@ require("core-js/modules/es.object.to-string.js");
|
|
|
46
46
|
require("core-js/modules/es.string.includes.js");
|
|
47
47
|
require("core-js/modules/es.string.iterator.js");
|
|
48
48
|
require("core-js/modules/es.weak-map.js");
|
|
49
|
-
require("core-js/modules/esnext.async-iterator.filter.js");
|
|
50
|
-
require("core-js/modules/esnext.async-iterator.for-each.js");
|
|
51
49
|
require("core-js/modules/esnext.iterator.constructor.js");
|
|
52
50
|
require("core-js/modules/esnext.iterator.filter.js");
|
|
53
51
|
require("core-js/modules/esnext.iterator.for-each.js");
|
|
@@ -117,6 +117,7 @@ export declare const enUs: {
|
|
|
117
117
|
fmt_statusbar_label_durationtime: string;
|
|
118
118
|
fmt_statusbar_label_layout: string;
|
|
119
119
|
fmt_statusbar_label_layoutsetting: string;
|
|
120
|
+
fmt_statusbar_hover_unable_switch_grid_view: string;
|
|
120
121
|
fmt_statusbar_opions_listontop: string;
|
|
121
122
|
fmt_statusbar_label_grid: string;
|
|
122
123
|
fmt_statusbar_label_customwating: string;
|
|
@@ -455,6 +456,7 @@ export declare const enUs: {
|
|
|
455
456
|
fmt_chat_big_bubble: string;
|
|
456
457
|
fmt_chat_small_bubble: string;
|
|
457
458
|
fmt_chat_label_enter_message: string;
|
|
459
|
+
fmt_chat_label_show_bubble_tips: string;
|
|
458
460
|
fmt_screenshare_window_tab_basic: string;
|
|
459
461
|
fmt_screenshare_window_tab_advanced: string;
|
|
460
462
|
fmt_screenshare_window_button_start: string;
|
|
@@ -663,6 +665,12 @@ export declare const enUs: {
|
|
|
663
665
|
fmt_whiteboard_tips_download_permission_denied: string;
|
|
664
666
|
fmt_whiteboard_dialog_share_stopped_message_host: string;
|
|
665
667
|
fmt_whiteboard_dialog_share_stopped_message_cohost: string;
|
|
668
|
+
fmt_whiteboard_dialog_reconnecting_whiteboard: string;
|
|
669
|
+
fmt_whiteboard_button_wait: string;
|
|
670
|
+
fmt_whiteboard_button_close: string;
|
|
671
|
+
fmt_whiteboard_tips_wb_connect: string;
|
|
672
|
+
fmt_whiteboard_tips_label_connect: string;
|
|
673
|
+
fmt_whiteboard_tips_share_nick: string;
|
|
666
674
|
fmt_screenshare_whiteboard_option_disablesharing: string;
|
|
667
675
|
fmt_share_options_blackboard: string;
|
|
668
676
|
fmt_share_options_chalkboard: string;
|
package/lib/translations/enUS.js
CHANGED
|
@@ -126,6 +126,7 @@ var enUs = exports.enUs = {
|
|
|
126
126
|
fmt_statusbar_label_durationtime: 'Meeting duration (scheduled meeting time {reason1}{reason2})',
|
|
127
127
|
fmt_statusbar_label_layout: 'Layout',
|
|
128
128
|
fmt_statusbar_label_layoutsetting: 'Layout Settings',
|
|
129
|
+
fmt_statusbar_hover_unable_switch_grid_view: 'Unable to switch to the grid view when the attendee is sharing their screen',
|
|
129
130
|
fmt_statusbar_opions_listontop: 'List on top',
|
|
130
131
|
fmt_statusbar_label_grid: 'Grid({reason1}views)',
|
|
131
132
|
fmt_statusbar_label_customwating: 'Watch live streams on a custom live streaming server',
|
|
@@ -466,6 +467,7 @@ var enUs = exports.enUs = {
|
|
|
466
467
|
fmt_chat_big_bubble: 'Big Bubble',
|
|
467
468
|
fmt_chat_small_bubble: 'Small Bubble',
|
|
468
469
|
fmt_chat_label_enter_message: 'Enter a message ',
|
|
470
|
+
fmt_chat_label_show_bubble_tips: 'Bubble Tips',
|
|
469
471
|
fmt_screenshare_window_tab_basic: 'Basics',
|
|
470
472
|
fmt_screenshare_window_tab_advanced: 'Senior',
|
|
471
473
|
fmt_screenshare_window_button_start: 'Start sharing',
|
|
@@ -674,6 +676,12 @@ var enUs = exports.enUs = {
|
|
|
674
676
|
fmt_whiteboard_tips_download_permission_denied: 'Download whiteboard writing requires storage permission',
|
|
675
677
|
fmt_whiteboard_dialog_share_stopped_message_host: 'The host ({reason1}) has stopped your sharing',
|
|
676
678
|
fmt_whiteboard_dialog_share_stopped_message_cohost: 'The co-host ({reason1}) has stopped your sharing',
|
|
679
|
+
fmt_whiteboard_dialog_reconnecting_whiteboard: 'We are reconnecting the whiteboard, please wait a moment... If the wait is too long, you can try closing and reopening the whiteboard',
|
|
680
|
+
fmt_whiteboard_button_wait: 'Wait',
|
|
681
|
+
fmt_whiteboard_button_close: 'Close',
|
|
682
|
+
fmt_whiteboard_tips_wb_connect: 'Whiteboard connecting...',
|
|
683
|
+
fmt_whiteboard_tips_label_connect: 'Labeling connecting...',
|
|
684
|
+
fmt_whiteboard_tips_share_nick: "{reason1}'s screen sharing",
|
|
677
685
|
fmt_screenshare_whiteboard_option_disablesharing: 'Disable screen sharing or whiteboarding',
|
|
678
686
|
fmt_share_options_blackboard: 'Blackboard',
|
|
679
687
|
fmt_share_options_chalkboard: 'Chalkboard',
|
|
@@ -1665,7 +1673,7 @@ var enUs = exports.enUs = {
|
|
|
1665
1673
|
fmt_meeting_creatpage_label_join_enter_password: 'Please enter your password',
|
|
1666
1674
|
fmt_meeting_creatpage_label_join_role: 'Role',
|
|
1667
1675
|
fmt_meeting_creatpage_label_join_attendee: 'Attendee',
|
|
1668
|
-
fmt_meeting_creatpage_label_join_read_agree: '
|
|
1676
|
+
fmt_meeting_creatpage_label_join_read_agree: 'agree',
|
|
1669
1677
|
fmt_meeting_creatpage_label_service: '《User Agreement》',
|
|
1670
1678
|
fmt_meeting_creatpage_label_privacy: '《Privacy Policy》',
|
|
1671
1679
|
fmt_meeting_creatpage_label_and: 'and',
|
|
@@ -117,6 +117,7 @@ export declare const zhCn: {
|
|
|
117
117
|
fmt_statusbar_label_durationtime: string;
|
|
118
118
|
fmt_statusbar_label_layout: string;
|
|
119
119
|
fmt_statusbar_label_layoutsetting: string;
|
|
120
|
+
fmt_statusbar_hover_unable_switch_grid_view: string;
|
|
120
121
|
fmt_statusbar_opions_listontop: string;
|
|
121
122
|
fmt_statusbar_label_grid: string;
|
|
122
123
|
fmt_statusbar_label_customwating: string;
|
|
@@ -455,6 +456,7 @@ export declare const zhCn: {
|
|
|
455
456
|
fmt_chat_big_bubble: string;
|
|
456
457
|
fmt_chat_small_bubble: string;
|
|
457
458
|
fmt_chat_label_enter_message: string;
|
|
459
|
+
fmt_chat_label_show_bubble_tips: string;
|
|
458
460
|
fmt_screenshare_window_tab_basic: string;
|
|
459
461
|
fmt_screenshare_window_tab_advanced: string;
|
|
460
462
|
fmt_screenshare_window_button_start: string;
|
|
@@ -663,6 +665,12 @@ export declare const zhCn: {
|
|
|
663
665
|
fmt_whiteboard_tips_download_permission_denied: string;
|
|
664
666
|
fmt_whiteboard_dialog_share_stopped_message_host: string;
|
|
665
667
|
fmt_whiteboard_dialog_share_stopped_message_cohost: string;
|
|
668
|
+
fmt_whiteboard_dialog_reconnecting_whiteboard: string;
|
|
669
|
+
fmt_whiteboard_button_wait: string;
|
|
670
|
+
fmt_whiteboard_button_close: string;
|
|
671
|
+
fmt_whiteboard_tips_wb_connect: string;
|
|
672
|
+
fmt_whiteboard_tips_label_connect: string;
|
|
673
|
+
fmt_whiteboard_tips_share_nick: string;
|
|
666
674
|
fmt_screenshare_whiteboard_option_disablesharing: string;
|
|
667
675
|
fmt_share_options_blackboard: string;
|
|
668
676
|
fmt_share_options_chalkboard: string;
|
package/lib/translations/zhCN.js
CHANGED
|
@@ -126,6 +126,7 @@ var zhCn = exports.zhCn = {
|
|
|
126
126
|
fmt_statusbar_label_durationtime: '会议持续时间(会议预定时长{reason1}{reason2})',
|
|
127
127
|
fmt_statusbar_label_layout: '布局',
|
|
128
128
|
fmt_statusbar_label_layoutsetting: '布局设置',
|
|
129
|
+
fmt_statusbar_hover_unable_switch_grid_view: '屏幕共享时无法切换成宫格视图',
|
|
129
130
|
fmt_statusbar_opions_listontop: '排在顶部',
|
|
130
131
|
fmt_statusbar_label_grid: '网格({reason1}格)',
|
|
131
132
|
fmt_statusbar_label_customwating: '在自定义直播服务器上观看直播',
|
|
@@ -466,6 +467,7 @@ var zhCn = exports.zhCn = {
|
|
|
466
467
|
fmt_chat_big_bubble: '大气泡',
|
|
467
468
|
fmt_chat_small_bubble: '小气泡',
|
|
468
469
|
fmt_chat_label_enter_message: '请输入文字',
|
|
470
|
+
fmt_chat_label_show_bubble_tips: '展示聊天气泡',
|
|
469
471
|
fmt_screenshare_window_tab_basic: '基础',
|
|
470
472
|
fmt_screenshare_window_tab_advanced: '高级',
|
|
471
473
|
fmt_screenshare_window_button_start: '开始共享',
|
|
@@ -674,6 +676,12 @@ var zhCn = exports.zhCn = {
|
|
|
674
676
|
fmt_whiteboard_tips_download_permission_denied: '下载板书需要存储权限',
|
|
675
677
|
fmt_whiteboard_dialog_share_stopped_message_host: '主持人({reason1})已停止您的共享',
|
|
676
678
|
fmt_whiteboard_dialog_share_stopped_message_cohost: '联席主持人({reason1})已停止你的共享',
|
|
679
|
+
fmt_whiteboard_dialog_reconnecting_whiteboard: '我们正在重连白板,请稍等... 如果等待时间过长,你可以尝试关闭白板再试。',
|
|
680
|
+
fmt_whiteboard_button_wait: '继续等待',
|
|
681
|
+
fmt_whiteboard_button_close: '关闭白板',
|
|
682
|
+
fmt_whiteboard_tips_wb_connect: '白板连接中...',
|
|
683
|
+
fmt_whiteboard_tips_label_connect: '标注连接中...',
|
|
684
|
+
fmt_whiteboard_tips_share_nick: '{reason1} 的屏幕共享',
|
|
677
685
|
fmt_screenshare_whiteboard_option_disablesharing: '禁用共享屏幕或白板',
|
|
678
686
|
fmt_share_options_blackboard: '黑板',
|
|
679
687
|
fmt_share_options_chalkboard: '粉笔板',
|
|
@@ -1663,9 +1671,9 @@ var zhCn = exports.zhCn = {
|
|
|
1663
1671
|
fmt_meeting_creatpage_label_join_enter_password: '请输入入会密码',
|
|
1664
1672
|
fmt_meeting_creatpage_label_join_role: '角色',
|
|
1665
1673
|
fmt_meeting_creatpage_label_join_attendee: '参会者',
|
|
1666
|
-
fmt_meeting_creatpage_label_join_read_agree: '
|
|
1667
|
-
fmt_meeting_creatpage_label_service: '
|
|
1668
|
-
fmt_meeting_creatpage_label_privacy: '
|
|
1674
|
+
fmt_meeting_creatpage_label_join_read_agree: '同意',
|
|
1675
|
+
fmt_meeting_creatpage_label_service: '《灵动会议用户服务协议》',
|
|
1676
|
+
fmt_meeting_creatpage_label_privacy: '《灵动会议隐私政策》',
|
|
1669
1677
|
fmt_meeting_creatpage_label_and: '和',
|
|
1670
1678
|
fmt_meeting_creatpage_tips_join_password_length: '请输入9位长度的数字',
|
|
1671
1679
|
fmt_meeting_creatpage_tips_join_username_length: '请输入2-20位长度的内容',
|
package/lib/type.d.ts
CHANGED
|
@@ -97,6 +97,7 @@ export interface FcrUIMediaConfig {
|
|
|
97
97
|
}
|
|
98
98
|
export interface FcrUISettingConfig {
|
|
99
99
|
media: FcrUIMediaConfig;
|
|
100
|
+
setting: FcrUICustomSetting;
|
|
100
101
|
}
|
|
101
102
|
/**
|
|
102
103
|
* FcrUIBaseWidgetConfig interface represents the base configuration for a widget.
|
|
@@ -347,7 +348,7 @@ export type FcrUIJoinRoomResponse = FcrBaseRoomControl;
|
|
|
347
348
|
import { FcrRoomConnectorType, FcrVideoSourceType } from 'fcr-core';
|
|
348
349
|
import { FcrUserRole } from 'fcr-core/lib/type';
|
|
349
350
|
import { FcrUISceneCallbackSchema, FcrUISceneConfigSchema, FcrUISceneCreatorConfigSchema, FcrUISceneFailureCallbackSchema } from './schema';
|
|
350
|
-
import SettingStore from './modules/setting/store';
|
|
351
|
+
import SettingStore, { FcrUICustomSetting } from './modules/setting/store';
|
|
351
352
|
export declare enum FcrUIVideoWindowLayoutType {
|
|
352
353
|
/** Show a carousel on top and a big video on the rest of the screen. */
|
|
353
354
|
Speaker = "speaker",
|
package/lib/type.js
CHANGED
|
@@ -30,9 +30,21 @@ var _fcrCore = require("fcr-core");
|
|
|
30
30
|
* FcrUIExitReason enum represents the reason for exiting a UI scene.
|
|
31
31
|
*/
|
|
32
32
|
var FcrUIExitReason = exports.FcrUIExitReason = /*#__PURE__*/function (FcrUIExitReason) {
|
|
33
|
+
/**
|
|
34
|
+
* The user leaves the room.
|
|
35
|
+
*/
|
|
33
36
|
FcrUIExitReason["LEAVE_ROOM"] = "LEAVE_ROOM";
|
|
37
|
+
/**
|
|
38
|
+
* The user leaves the room due to the room being closed.
|
|
39
|
+
*/
|
|
34
40
|
FcrUIExitReason["CLOSE_ROOM"] = "CLOSE_ROOM";
|
|
41
|
+
/**
|
|
42
|
+
* The user is kicked out of the room.
|
|
43
|
+
*/
|
|
35
44
|
FcrUIExitReason["KICKED_OUT"] = "KICKED_OUT";
|
|
45
|
+
/**
|
|
46
|
+
* The user failed to join the room due to various reasons such as User ID conflict.
|
|
47
|
+
*/
|
|
36
48
|
FcrUIExitReason["ABORTED"] = "ABORTED";
|
|
37
49
|
return FcrUIExitReason;
|
|
38
50
|
}({});
|
|
@@ -75,7 +87,9 @@ var FcrUINotificationContentType = exports.FcrUINotificationContentType = /*#__P
|
|
|
75
87
|
return FcrUINotificationContentType;
|
|
76
88
|
}({});
|
|
77
89
|
var FcrUIVideoWindowLayoutType = exports.FcrUIVideoWindowLayoutType = /*#__PURE__*/function (FcrUIVideoWindowLayoutType) {
|
|
90
|
+
/** Show a carousel on top and a big video on the rest of the screen. */
|
|
78
91
|
FcrUIVideoWindowLayoutType["Speaker"] = "speaker";
|
|
92
|
+
/** Show videos in grid, filling the screen. */
|
|
79
93
|
FcrUIVideoWindowLayoutType["Gallery"] = "gallery";
|
|
80
94
|
return FcrUIVideoWindowLayoutType;
|
|
81
95
|
}({});
|