fcr-ui-scene 3.7.8 → 3.8.0-alpha
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/creator/index.d.ts +6 -3
- package/lib/creator/index.js +45 -33
- package/lib/creator/provider-initializer.browser.js +34 -5
- package/lib/creator/provider-initializer.electron.js +34 -6
- package/lib/electron/bootstrap-sdk.d.ts +3 -1
- package/lib/electron/bootstrap-sdk.js +93 -358
- package/lib/electron/exit-codes.d.ts +6 -1
- package/lib/electron/exit-codes.js +5 -0
- package/lib/electron/injections.d.ts +10 -4
- package/lib/electron/injections.js +116 -74
- package/lib/electron/ipc/ipc.js +13 -11
- package/lib/electron/ipc/type.d.ts +3 -1
- package/lib/electron/ipc/type.js +2 -0
- package/lib/electron/main.js +3 -1
- package/lib/electron/preload.js +2 -1
- package/lib/electron/process-manager/constants.d.ts +1 -0
- package/lib/{modules/control-bar/types.js → electron/process-manager/constants.js} +3 -1
- package/lib/electron/{event-manager.d.ts → process-manager/event-manager.d.ts} +3 -4
- package/lib/electron/{event-manager.js → process-manager/event-manager.js} +38 -30
- package/lib/electron/process-manager/index.d.ts +179 -0
- package/lib/electron/process-manager/index.js +848 -0
- package/lib/electron/process-manager/state-manager.d.ts +135 -0
- package/lib/electron/process-manager/state-manager.js +358 -0
- package/lib/electron/process-manager/types.d.ts +80 -0
- package/lib/electron/process-manager/types.js +79 -0
- package/lib/electron/sdk-helper.d.ts +4 -0
- package/lib/electron/sdk-helper.js +45 -4
- package/lib/electron/until.js +3 -0
- package/lib/fragments/annotation/libs.d.ts +1 -1
- package/lib/fragments/annotation/libs.js +12 -12
- package/lib/fragments/annotation/store.d.ts +1 -1
- package/lib/fragments/annotation/toolbar/components/graphic-tool/graphic-panel/libs.d.ts +1 -1
- package/lib/fragments/annotation/toolbar/components/graphic-tool/graphic-panel/libs.js +21 -21
- package/lib/fragments/annotation/toolbar/components/pen-tool/index.js +3 -3
- package/lib/fragments/annotation/toolbar/store.d.ts +1 -1
- package/lib/fragments/annotation/toolbar/store.js +10 -10
- package/lib/fragments/annotation/toolbar/view.js +7 -7
- package/lib/fragments/whiteboard/store.d.ts +2 -2
- package/lib/fragments/whiteboard/store.js +27 -21
- package/lib/fragments/whiteboard/view.js +2 -2
- package/lib/index.d.ts +1 -1
- package/lib/index.js +10 -3
- package/lib/modules/action-bar/components/apps/index.js +1 -37
- package/lib/modules/action-bar/components/collapse/index.d.ts +2 -1
- package/lib/modules/action-bar/components/collapse/index.js +11 -2
- package/lib/modules/action-bar/components/item/index.js +2 -2
- package/lib/modules/action-bar/components/screen-share/index.browser.js +21 -14
- package/lib/modules/action-bar/components/screen-share/index.electron.js +38 -24
- package/lib/modules/action-bar/components/screen-share/submenu.js +6 -5
- package/lib/modules/action-bar/components/security/index.js +2 -2
- package/lib/modules/action-bar/index.css +26 -0
- package/lib/modules/action-bar/main-scene/store.base.d.ts +6 -4
- package/lib/modules/action-bar/main-scene/store.base.js +41 -46
- package/lib/modules/action-bar/type.d.ts +0 -10
- package/lib/modules/audio-stream/index.d.ts +1 -1
- package/lib/modules/audio-stream/index.js +22 -8
- package/lib/modules/caption/draggable-container/index.css +10 -0
- package/lib/modules/caption/draggable-container/index.d.ts +4 -0
- package/lib/modules/caption/draggable-container/index.js +145 -0
- package/lib/modules/caption/index.d.ts +10 -0
- package/lib/modules/{annotation → caption}/index.js +43 -84
- package/lib/modules/caption/store.d.ts +56 -0
- package/lib/modules/caption/store.js +366 -0
- package/lib/modules/caption/type.d.ts +13 -0
- package/lib/modules/caption/type.js +14 -0
- package/lib/modules/caption/view.css +158 -0
- package/lib/modules/caption/view.d.ts +4 -0
- package/lib/modules/caption/view.js +292 -0
- package/lib/modules/chat/chat-room-store.d.ts +1 -1
- package/lib/modules/chat/chat-room-store.js +6 -6
- package/lib/modules/chat/components/message-list/message-item/index.js +60 -18
- package/lib/modules/chat/index.css +7 -0
- package/lib/modules/chat/store.js +1 -1
- package/lib/modules/components/apps/app-item/index.css +16 -1
- package/lib/modules/components/apps/app-item/index.js +102 -35
- package/lib/modules/components/apps/app-list.js +17 -1
- package/lib/modules/components/apps/types.d.ts +11 -1
- package/lib/modules/components/caption-menu/index.css +58 -0
- package/lib/modules/components/caption-menu/index.d.ts +41 -0
- package/lib/modules/components/caption-menu/index.js +112 -0
- package/lib/modules/components/caption-menu/participants-privilege-control-options.d.ts +2 -0
- package/lib/modules/components/caption-menu/participants-privilege-control-options.js +87 -0
- package/lib/modules/components/caption-menu/steps/index.css +73 -0
- package/lib/modules/components/caption-menu/steps/index.d.ts +11 -0
- package/lib/modules/components/caption-menu/steps/index.js +56 -0
- package/lib/modules/components/caption-menu/translation-setting-options.d.ts +17 -0
- package/lib/modules/components/caption-menu/translation-setting-options.js +181 -0
- package/lib/modules/components/control-bar/index.d.ts +3 -3
- package/lib/modules/components/control-bar/index.js +10 -10
- package/lib/modules/components/device-control/components/audio-menu/index.js +17 -0
- package/lib/modules/components/device-control/components/carmera/index.js +3 -0
- package/lib/modules/components/device-control/components/microphone/index.js +4 -1
- package/lib/modules/components/device-control/index.css +12 -4
- package/lib/modules/components/device-control/store.base.d.ts +1 -0
- package/lib/modules/components/device-control/store.base.js +2 -0
- package/lib/modules/components/leave-meeting/store.base.d.ts +1 -0
- package/lib/modules/components/leave-meeting/store.base.js +46 -5
- package/lib/modules/components/security-menu/index.js +147 -65
- package/lib/modules/components/security-menu/store.d.ts +15 -0
- package/lib/modules/components/security-menu/store.js +78 -16
- package/lib/modules/components/toolbar/components/clean-tool/index.d.ts +1 -1
- package/lib/modules/components/toolbar/components/clean-tool/index.js +4 -4
- package/lib/modules/components/toolbar/components/color-tool/index.d.ts +1 -1
- package/lib/modules/components/toolbar/components/graphic-tool/graphic-panel/index.d.ts +1 -1
- package/lib/modules/components/toolbar/components/graphic-tool/graphic-panel/libs.d.ts +1 -1
- package/lib/modules/components/toolbar/components/graphic-tool/graphic-panel/libs.js +21 -21
- package/lib/modules/components/toolbar/components/graphic-tool/index.d.ts +1 -1
- package/lib/modules/components/toolbar/components/multiple-color-tool/index.d.ts +1 -1
- package/lib/modules/components/toolbar/components/pen-tool/index.d.ts +1 -1
- package/lib/modules/components/toolbar/components/pen-tool/index.js +3 -3
- package/lib/modules/components/toolbar/index.d.ts +2 -2
- package/lib/modules/components/toolbar/index.js +35 -34
- package/lib/modules/components/toolbar/style.css +1 -1
- package/lib/modules/components/toolbar/types.d.ts +1 -1
- package/lib/modules/connection-gateway/store.d.ts +1 -0
- package/lib/modules/connection-gateway/store.js +5 -0
- package/lib/modules/control-bar/components/apps-popover/index.d.ts +3 -0
- package/lib/modules/control-bar/components/apps-popover/index.js +41 -0
- package/lib/modules/control-bar/components/more-actions/index.js +9 -1
- package/lib/modules/control-bar/enums.d.ts +2 -1
- package/lib/modules/control-bar/enums.js +1 -0
- package/lib/modules/control-bar/store.d.ts +6 -1
- package/lib/modules/control-bar/store.js +56 -12
- package/lib/modules/control-bar/view.js +16 -11
- package/lib/modules/dialog/components/dialog-container/component/body.d.ts +8 -0
- package/lib/modules/dialog/components/dialog-container/component/body.js +44 -5
- package/lib/modules/dialog/components/dialog-container/index.css +4 -1
- package/lib/modules/dialog/components/dialog-container/index.d.ts +1 -0
- package/lib/modules/dialog/components/dialog-container/index.js +7 -1
- package/lib/modules/dialog/components/normal-window/index.d.ts +1 -0
- package/lib/modules/dialog/components/normal-window/index.js +3 -1
- package/lib/modules/dialog/dialogs/caption/index.d.ts +21 -0
- package/lib/modules/dialog/dialogs/caption/index.js +42 -0
- package/lib/modules/dialog/dialogs/chat/components/actions.js +2 -2
- package/lib/modules/dialog/dialogs/confirm/index.js +1 -1
- package/lib/modules/dialog/dialogs/confirm-leave-meeting/index.d.ts +1 -0
- package/lib/modules/dialog/dialogs/confirm-leave-meeting/index.js +2 -1
- package/lib/modules/dialog/dialogs/participant/components/actions.js +2 -2
- package/lib/modules/dialog/dialogs/share-screen-selection/index.js +0 -12
- package/lib/modules/dialog/dialogs/subtitles-history/index.d.ts +27 -0
- package/lib/modules/dialog/dialogs/subtitles-history/index.js +51 -0
- package/lib/modules/dialog/store.base.d.ts +1 -1
- package/lib/modules/dialog/store.browser.d.ts +1 -1
- package/lib/modules/dialog/store.electron.d.ts +1 -3
- package/lib/modules/dialog/store.electron.js +0 -9
- package/lib/modules/event-sound/enum.d.ts +5 -0
- package/lib/modules/event-sound/enum.js +20 -0
- package/lib/modules/event-sound/index.d.ts +0 -10
- package/lib/modules/event-sound/index.js +1 -12
- package/lib/modules/event-sound/store.d.ts +2 -2
- package/lib/modules/event-sound/store.js +21 -22
- package/lib/modules/interpreter/store.js +4 -2
- package/lib/modules/layout/components/Aside.d.ts +2 -1
- package/lib/modules/layout/components/Aside.js +97 -58
- package/lib/modules/layout/components/CommonVideoRenderer.js +1 -2
- package/lib/modules/layout/components/index.css +15 -2
- package/lib/modules/layout/store.base.d.ts +13 -2
- package/lib/modules/layout/store.base.js +149 -54
- package/lib/modules/layout/store.electron.d.ts +1 -0
- package/lib/modules/layout/store.electron.js +132 -32
- package/lib/modules/layout/type.d.ts +4 -0
- package/lib/modules/layout/view.js +27 -5
- package/lib/modules/notification/index.css +4 -4
- package/lib/modules/notification/store.d.ts +5 -3
- package/lib/modules/notification/store.js +9 -2
- package/lib/modules/notification/view.d.ts +1 -0
- package/lib/modules/notification/view.js +33 -2
- package/lib/modules/participant/components/participants/components/footer/components/drop-menu/index.css +0 -1
- package/lib/modules/participant/components/participants/components/footer/index.js +1 -1
- package/lib/modules/participant/components/participants/components/render-user/components/attendee/index.js +2 -2
- package/lib/modules/participant/components/participants/components/render-user/components/user-action/index.d.ts +6 -1
- package/lib/modules/participant/components/participants/components/render-user/index.d.ts +1 -1
- package/lib/modules/participant/components/participants/index.js +13 -1
- package/lib/modules/participant/store.base.d.ts +1 -2
- package/lib/modules/participant/store.base.js +70 -71
- package/lib/modules/participant/type.d.ts +3 -1
- package/lib/modules/participant/type.js +2 -0
- package/lib/modules/pc-audio-connect/main-scene/store.d.ts +1 -0
- package/lib/modules/pc-audio-connect/main-scene/store.js +5 -0
- package/lib/modules/pc-audio-connect/waiting-scene/store.d.ts +2 -0
- package/lib/modules/pc-audio-connect/waiting-scene/store.js +10 -6
- package/lib/modules/phone-audio-connect/store.d.ts +1 -0
- package/lib/modules/phone-audio-connect/store.js +5 -0
- package/lib/modules/secondary-window/store.d.ts +1 -2
- package/lib/modules/secondary-window/store.js +22 -12
- package/lib/modules/secondary-window/type.d.ts +1 -1
- package/lib/modules/secondary-window/view.js +7 -8
- package/lib/modules/setting/audio-whiteList/audio-device-adaptation.d.ts +18 -0
- package/lib/modules/setting/audio-whiteList/audio-device-adaptation.js +34 -0
- package/lib/modules/setting/audio-whiteList/audio-whiteList-manager.d.ts +63 -0
- package/lib/modules/setting/audio-whiteList/audio-whiteList-manager.js +353 -0
- package/lib/modules/setting/caption_and_transcribing/index.css +88 -0
- package/lib/modules/setting/caption_and_transcribing/index.d.ts +3 -0
- package/lib/modules/setting/caption_and_transcribing/index.js +96 -0
- package/lib/modules/setting/general-settings/general-settings.d.ts +4 -0
- package/lib/modules/setting/general-settings/general-settings.js +3 -3
- package/lib/modules/setting/index.d.ts +1 -0
- package/lib/modules/setting/index.js +10 -7
- package/lib/modules/setting/state/index.js +5 -3
- package/lib/modules/setting/store.base.d.ts +29 -4
- package/lib/modules/setting/store.base.js +143 -62
- package/lib/modules/setting/store.browser.js +4 -9
- package/lib/modules/setting/store.electron.d.ts +11 -0
- package/lib/modules/setting/store.electron.js +110 -1
- package/lib/modules/setting/type.d.ts +2 -1
- package/lib/modules/setting/type.js +1 -0
- package/lib/modules/setting/video-settings/video-settings-basic.js +1 -7
- package/lib/modules/setting/view.js +11 -4
- package/lib/modules/share-screen/store.base.d.ts +1 -1
- package/lib/modules/share-screen/store.base.js +3 -2
- package/lib/modules/share-screen/store.electron.d.ts +3 -1
- package/lib/modules/share-screen/store.electron.js +168 -38
- package/lib/modules/state-bar/index.css +73 -2
- package/lib/modules/state-bar/main-scene/store.base.d.ts +2 -0
- package/lib/modules/state-bar/main-scene/store.base.js +7 -1
- package/lib/modules/state-bar/main-scene/store.browser.js +1 -1
- package/lib/modules/state-bar/main-scene/store.electron.js +1 -1
- package/lib/modules/state-bar/store.base.d.ts +5 -0
- package/lib/modules/state-bar/store.base.js +29 -2
- package/lib/modules/state-bar/subtitles-history-state.d.ts +7 -0
- package/lib/modules/state-bar/subtitles-history-state.js +108 -0
- package/lib/modules/state-bar/view.js +16 -1
- package/lib/modules/state-bar/waiting-scene/store.base.d.ts +1 -0
- package/lib/modules/state-bar/waiting-scene/store.base.js +5 -0
- package/lib/modules/subtitles-history/components/actions.d.ts +5 -0
- package/lib/modules/subtitles-history/components/actions.js +36 -0
- package/lib/modules/subtitles-history/components/list-item.d.ts +12 -0
- package/lib/modules/subtitles-history/components/list-item.js +105 -0
- package/lib/modules/subtitles-history/components/list.d.ts +10 -0
- package/lib/modules/subtitles-history/components/list.js +182 -0
- package/lib/modules/subtitles-history/components/respond-dialog-content.d.ts +5 -0
- package/lib/modules/subtitles-history/components/respond-dialog-content.js +44 -0
- package/lib/modules/subtitles-history/components/settings/index.css +5 -0
- package/lib/modules/subtitles-history/components/settings/index.d.ts +2 -0
- package/lib/modules/subtitles-history/components/settings/index.js +53 -0
- package/lib/modules/subtitles-history/components/timer.d.ts +3 -0
- package/lib/modules/subtitles-history/components/timer.js +44 -0
- package/lib/modules/subtitles-history/components/title.d.ts +1 -0
- package/lib/modules/subtitles-history/components/title.js +15 -0
- package/lib/modules/subtitles-history/empty.d.ts +2 -0
- package/lib/modules/subtitles-history/empty.js +22 -0
- package/lib/modules/subtitles-history/index.css +129 -0
- package/lib/modules/subtitles-history/index.d.ts +13 -0
- package/lib/modules/{event-confirm → subtitles-history}/index.js +62 -31
- package/lib/modules/subtitles-history/store.base.d.ts +74 -0
- package/lib/modules/subtitles-history/store.base.js +786 -0
- package/lib/modules/subtitles-history/store.electron.d.ts +15 -0
- package/lib/{shared-data-source/security-data.js → modules/subtitles-history/store.electron.js} +75 -77
- package/lib/modules/subtitles-history/type.d.ts +4 -0
- package/lib/modules/subtitles-history/view.d.ts +1 -0
- package/lib/modules/subtitles-history/view.js +104 -0
- package/lib/modules/video-window/popover-watcher.js +4 -1
- package/lib/modules/video-window/store.js +7 -1
- package/lib/modules/video-window/view.js +14 -4
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/picker.js +2 -2
- package/lib/modules/whiteboard/components/toolbar/components/eraser-picker.js +5 -5
- package/lib/modules/whiteboard/components/toolbar/components/pen-picker.js +15 -15
- package/lib/modules/whiteboard/components/toolbar/components/shape-picker.js +21 -21
- package/lib/modules/whiteboard/components/toolbar/hooks/index.js +23 -21
- package/lib/modules/whiteboard/components/toolbar/store.d.ts +7 -6
- package/lib/modules/whiteboard/components/toolbar/store.js +14 -15
- package/lib/modules/whiteboard/store.d.ts +2 -3
- package/lib/modules/whiteboard/store.electron.d.ts +2 -0
- package/lib/modules/whiteboard/store.electron.js +35 -0
- package/lib/modules/whiteboard/store.js +14 -2
- package/lib/modules/whiteboard/type.d.ts +0 -35
- package/lib/modules/whiteboard/type.js +1 -26
- package/lib/modules/widget/type.d.ts +3 -66
- package/lib/object-manager.d.ts +3 -1
- package/lib/object-manager.js +2 -0
- package/lib/providers/ability-provider.d.ts +24 -0
- package/lib/providers/ability-provider.js +21 -0
- package/lib/providers/app-list-provider.d.ts +90 -4
- package/lib/providers/app-list-provider.js +157 -13
- package/lib/providers/board-share/bar-control/base.d.ts +4 -5
- package/lib/providers/board-share/bar-control/base.js +4 -4
- package/lib/providers/board-share/bar-control/browser.d.ts +2 -2
- package/lib/providers/board-share/bar-control/electron.d.ts +4 -5
- package/lib/providers/board-share/bar-control/electron.js +2 -0
- package/lib/providers/board-share/provider.base.d.ts +6 -6
- package/lib/providers/board-share/provider.base.js +20 -3
- package/lib/providers/board-share/provider.browser.js +2 -2
- package/lib/providers/board-share/provider.electron.js +1 -2
- package/lib/providers/board-share/type.d.ts +1 -2
- package/lib/providers/device-provider.d.ts +15 -5
- package/lib/providers/device-provider.js +198 -144
- package/lib/providers/dialog/provider.base.js +1 -1
- package/lib/providers/dialog/provider.electron.js +3 -0
- package/lib/providers/interpreter-provider.js +4 -9
- package/lib/providers/multi-display-provider.d.ts +1 -1
- package/lib/providers/privilege-provider.d.ts +241 -139
- package/lib/providers/privilege-provider.js +577 -318
- package/lib/providers/room-provider/waiting-room-control-manager.d.ts +1 -1
- package/lib/providers/screen-share/constant.d.ts +1 -0
- package/lib/{modules/share-screen/types.js → providers/screen-share/constant.js} +3 -1
- package/lib/providers/screen-share/provider.base.d.ts +20 -7
- package/lib/providers/screen-share/provider.base.js +27 -27
- package/lib/providers/screen-share/provider.browser.js +14 -18
- package/lib/providers/screen-share/provider.electron.d.ts +8 -0
- package/lib/providers/screen-share/provider.electron.js +41 -13
- package/lib/providers/screen-share/strategy/browser.js +1 -1
- package/lib/providers/screen-share/strategy/electron.d.ts +2 -1
- package/lib/providers/screen-share/strategy/electron.js +64 -56
- package/lib/providers/screen-share/strategy/type.d.ts +2 -2
- package/lib/providers/screen-share/stream-state-sync.js +5 -3
- package/lib/providers/screen-share/struct.d.ts +14 -4
- package/lib/providers/screen-share/struct.js +16 -5
- package/lib/providers/screen-share/type.d.ts +32 -2
- package/lib/providers/stt-provider/stt-provider.d.ts +89 -0
- package/lib/providers/stt-provider/stt-provider.js +1008 -0
- package/lib/providers/stt-provider/type.d.ts +168 -0
- package/lib/providers/stt-provider/type.js +19 -0
- package/lib/providers/window/main-window.d.ts +1 -0
- package/lib/providers/window/main-window.js +6 -4
- package/lib/providers/window/renderer-window.d.ts +7 -0
- package/lib/providers/window/renderer-window.js +65 -4
- package/lib/providers/window/type.d.ts +5 -0
- package/lib/runtime.d.ts +8 -7
- package/lib/runtime.js +1 -2
- package/lib/scenes/main-scene.d.ts +1 -0
- package/lib/scenes/main-scene.js +144 -67
- package/lib/schema.d.ts +70 -8
- package/lib/schema.js +7 -2
- package/lib/shared-data/app-list-data.d.ts +4 -0
- package/lib/shared-data/app-list-data.js +21 -1
- package/lib/shared-data/config.d.ts +5 -1
- package/lib/shared-data/layout-data.d.ts +5 -0
- package/lib/shared-data/layout-data.js +35 -9
- package/lib/shared-data/member-data.d.ts +2 -3
- package/lib/shared-data/screen-share/index.d.ts +0 -2
- package/lib/shared-data/screen-share/index.js +20 -36
- package/lib/shared-data/screen-share/type.d.ts +0 -8
- package/lib/shared-data/security-data.d.ts +4 -0
- package/lib/shared-data/security-data.js +14 -10
- package/lib/shared-data/setting.d.ts +16 -1
- package/lib/shared-data/setting.js +32 -5
- package/lib/shared-data/stt-setting.ts/constant.d.ts +29 -0
- package/lib/shared-data/stt-setting.ts/constant.js +35 -0
- package/lib/shared-data/stt-setting.ts/index.d.ts +67 -0
- package/lib/{shared-data-source/layout-data.js → shared-data/stt-setting.ts/index.js} +96 -83
- package/lib/shared-data/stt-setting.ts/type.d.ts +10 -0
- package/lib/shared-data/stt-setting.ts/type.js +14 -0
- package/lib/shared-data/video-window.d.ts +1 -2
- package/lib/shared-data/video-window.js +20 -32
- package/lib/translations/enUS.d.ts +9 -0
- package/lib/translations/enUS.js +21 -4
- package/lib/translations/zhCN.d.ts +9 -0
- package/lib/translations/zhCN.js +21 -4
- package/lib/type.d.ts +20 -15
- package/lib/type.js +1 -0
- package/lib/{ui-scene.d.ts → ui-scene-switch.d.ts} +1 -1
- package/lib/{ui-scene.js → ui-scene-switch.js} +29 -9
- package/lib/utilities/constant.d.ts +6 -2
- package/lib/utilities/constant.js +5 -1
- package/lib/utilities/default-config.d.ts +3 -3
- package/lib/utilities/default-config.js +8 -18
- package/lib/utilities/focus-helper.js +18 -11
- package/lib/utilities/logger.js +1 -1
- package/lib/utilities/renderer.d.ts +4 -6
- package/lib/utilities/renderer.js +10 -4
- package/lib/utilities/tools.d.ts +1 -0
- package/lib/utilities/tools.js +6 -1
- package/lib/utilities/ui-resources.d.ts +9 -2
- package/lib/utilities/ui-resources.js +36 -12
- package/package.json +11 -6
- package/public/index.html +3 -149
- package/public/meeting-manager.js +405 -0
- package/installer/icons/favicon.ico +0 -0
- package/installer/icons/favicon.png +0 -0
- package/installer/icons/icon.png +0 -0
- package/installer/mac/entitlements.mac.plist +0 -20
- package/lib/creator.d.ts +0 -36
- package/lib/creator.js +0 -465
- package/lib/modules/action-bar/index.d.ts +0 -56
- package/lib/modules/action-bar/index.dev.d.ts +0 -0
- package/lib/modules/action-bar/index.dev.js +0 -94
- package/lib/modules/action-bar/index.js +0 -108
- package/lib/modules/action-bar/store.d.ts +0 -256
- package/lib/modules/action-bar/store.js +0 -1572
- package/lib/modules/action-bar/types.d.ts +0 -90
- package/lib/modules/action-bar/view.d.ts +0 -5
- package/lib/modules/action-bar/view.js +0 -112
- package/lib/modules/annotation/annotation-index.d.ts +0 -2
- package/lib/modules/annotation/annotation-index.js +0 -80
- package/lib/modules/annotation/annotation-toolbar-store.d.ts +0 -75
- package/lib/modules/annotation/annotation-toolbar-store.js +0 -459
- package/lib/modules/annotation/board-cursor.css +0 -77
- package/lib/modules/annotation/components/color-picker/components/color.d.ts +0 -5
- package/lib/modules/annotation/components/color-picker/components/color.js +0 -38
- package/lib/modules/annotation/components/color-picker/components/panel.d.ts +0 -1
- package/lib/modules/annotation/components/color-picker/components/panel.js +0 -109
- package/lib/modules/annotation/components/color-picker/components/picker.d.ts +0 -1
- package/lib/modules/annotation/components/color-picker/components/picker.js +0 -75
- package/lib/modules/annotation/components/color-picker/index.d.ts +0 -2
- package/lib/modules/annotation/components/color-picker/index.js +0 -47
- package/lib/modules/annotation/components/eraser-picker.d.ts +0 -4
- package/lib/modules/annotation/components/eraser-picker.js +0 -144
- package/lib/modules/annotation/components/expansion/index.d.ts +0 -1
- package/lib/modules/annotation/components/expansion/index.js +0 -100
- package/lib/modules/annotation/components/extra-tool-picker.d.ts +0 -1
- package/lib/modules/annotation/components/extra-tool-picker.js +0 -62
- package/lib/modules/annotation/components/history.d.ts +0 -2
- package/lib/modules/annotation/components/history.js +0 -78
- package/lib/modules/annotation/components/icons/fold-icon.d.ts +0 -2
- package/lib/modules/annotation/components/icons/fold-icon.js +0 -41
- package/lib/modules/annotation/components/icons/move-icon.d.ts +0 -1
- package/lib/modules/annotation/components/icons/move-icon.js +0 -66
- package/lib/modules/annotation/components/item/index.d.ts +0 -1
- package/lib/modules/annotation/components/item/index.js +0 -43
- package/lib/modules/annotation/components/move-handle.d.ts +0 -5
- package/lib/modules/annotation/components/move-handle.js +0 -134
- package/lib/modules/annotation/components/pen-picker.d.ts +0 -4
- package/lib/modules/annotation/components/pen-picker.js +0 -155
- package/lib/modules/annotation/components/screen-capture-picker.d.ts +0 -4
- package/lib/modules/annotation/components/screen-capture-picker.js +0 -85
- package/lib/modules/annotation/components/shape-picker.d.ts +0 -4
- package/lib/modules/annotation/components/shape-picker.js +0 -210
- package/lib/modules/annotation/hooks/index.d.ts +0 -14
- package/lib/modules/annotation/hooks/index.js +0 -292
- package/lib/modules/annotation/index.d.ts +0 -45
- package/lib/modules/annotation/store.d.ts +0 -98
- package/lib/modules/annotation/store.js +0 -621
- package/lib/modules/annotation/style.css +0 -36
- package/lib/modules/annotation/view.d.ts +0 -3
- package/lib/modules/annotation/view.js +0 -44
- package/lib/modules/components/device-control/store.d.ts +0 -42
- package/lib/modules/components/device-control/store.js +0 -241
- package/lib/modules/components/leave-meeting/store.d.ts +0 -39
- package/lib/modules/components/leave-meeting/store.js +0 -270
- package/lib/modules/control-bar/components/annotation-button/index.d.ts +0 -1
- package/lib/modules/control-bar/components/annotation-button/index.js +0 -72
- package/lib/modules/control-bar/reactor.d.ts +0 -2
- package/lib/modules/control-bar/reactor.js +0 -8
- package/lib/modules/control-bar/types.d.ts +0 -20
- package/lib/modules/dialog/dialogs/pre-setting/index.css +0 -26
- package/lib/modules/dialog/dialogs/pre-setting/index.d.ts +0 -6
- package/lib/modules/dialog/dialogs/pre-setting/index.js +0 -62
- package/lib/modules/dialog/dialogs/widget/electron.d.ts +0 -6
- package/lib/modules/dialog/dialogs/widget/electron.js +0 -38
- package/lib/modules/dialog/hooks/use-popover-watcher.d.ts +0 -14
- package/lib/modules/dialog/hooks/use-popover-watcher.js +0 -110
- package/lib/modules/dialog/hooks/useElectron.d.ts +0 -28
- package/lib/modules/dialog/hooks/useElectron.js +0 -277
- package/lib/modules/dialog/store.d.ts +0 -135
- package/lib/modules/dialog/store.js +0 -616
- package/lib/modules/event-confirm/components/window/index.d.ts +0 -4
- package/lib/modules/event-confirm/components/window/index.js +0 -197
- package/lib/modules/event-confirm/index.css +0 -24
- package/lib/modules/event-confirm/index.d.ts +0 -27
- package/lib/modules/event-confirm/store.d.ts +0 -45
- package/lib/modules/event-confirm/store.js +0 -345
- package/lib/modules/event-confirm/view.d.ts +0 -2
- package/lib/modules/event-confirm/view.js +0 -53
- package/lib/modules/event-toast/store.d.ts +0 -27
- package/lib/modules/event-toast/store.js +0 -205
- package/lib/modules/layout/store.d.ts +0 -176
- package/lib/modules/layout/store.js +0 -1466
- package/lib/modules/participant/components/participants/components/footer/components/footer/index.css +0 -17
- package/lib/modules/participant/components/participants/components/footer/components/footer/index.d.ts +0 -5
- package/lib/modules/participant/components/participants/components/footer/components/footer/index.js +0 -242
- package/lib/modules/participant/components/participants/components/participants/components/attendee/index.css +0 -192
- package/lib/modules/participant/components/participants/components/participants/components/attendee/index.d.ts +0 -4
- package/lib/modules/participant/components/participants/components/participants/components/attendee/index.js +0 -206
- package/lib/modules/participant/components/participants/components/participants/components/participants-more/index.css +0 -57
- package/lib/modules/participant/components/participants/components/participants/components/participants-more/index.d.ts +0 -5
- package/lib/modules/participant/components/participants/components/participants/components/participants-more/index.js +0 -229
- package/lib/modules/participant/components/participants/components/participants/components/user-row/index.d.ts +0 -5
- package/lib/modules/participant/components/participants/components/participants/components/user-row/index.js +0 -68
- package/lib/modules/participant/components/participants/components/participants/index.css +0 -105
- package/lib/modules/participant/components/participants/components/participants/index.d.ts +0 -3
- package/lib/modules/participant/components/participants/components/participants/index.js +0 -117
- package/lib/modules/participant/components/participants/types.d.ts +0 -101
- package/lib/modules/participant/components/participants/types.js +0 -37
- package/lib/modules/participant/store.d.ts +0 -222
- package/lib/modules/participant/store.js +0 -1927
- package/lib/modules/pc-audio-connect/index.d.ts +0 -22
- package/lib/modules/pc-audio-connect/index.js +0 -67
- package/lib/modules/pc-audio-connect/store.d.ts +0 -46
- package/lib/modules/pc-audio-connect/store.js +0 -304
- package/lib/modules/setting/common/advance-link.d.ts +0 -3
- package/lib/modules/setting/common/advance-link.js +0 -27
- package/lib/modules/setting/common/index.css +0 -26
- package/lib/modules/setting/common/useNamespace.d.ts +0 -15
- package/lib/modules/setting/common/useNamespace.js +0 -66
- package/lib/modules/setting/config.d.ts +0 -36
- package/lib/modules/setting/config.js +0 -36
- package/lib/modules/setting/dialog-wrapper.d.ts +0 -2
- package/lib/modules/setting/dialog-wrapper.js +0 -110
- package/lib/modules/setting/store.d.ts +0 -261
- package/lib/modules/setting/store.js +0 -1321
- package/lib/modules/share-screen/store.d.ts +0 -148
- package/lib/modules/share-screen/store.js +0 -950
- package/lib/modules/share-screen/types.d.ts +0 -26
- package/lib/modules/state-bar/store.d.ts +0 -124
- package/lib/modules/state-bar/store.js +0 -664
- package/lib/modules/whiteboard/components/progress/electron.d.ts +0 -1
- package/lib/modules/whiteboard/components/progress/electron.js +0 -33
- package/lib/modules/widget/sdk.d.ts +0 -30
- package/lib/modules/widget/sdk.js +0 -224
- package/lib/modules/widget/store.d.ts +0 -14
- package/lib/modules/widget/store.js +0 -28
- package/lib/providers/annotation-provider.d.ts +0 -124
- package/lib/providers/annotation-provider.js +0 -369
- package/lib/providers/dialog-provider.d.ts +0 -137
- package/lib/providers/dialog-provider.js +0 -194
- package/lib/providers/message-provider.d.ts +0 -69
- package/lib/providers/message-provider.js +0 -140
- package/lib/providers/room-provider.d.ts +0 -194
- package/lib/providers/room-provider.js +0 -916
- package/lib/providers/screen-share-provider.d.ts +0 -244
- package/lib/providers/screen-share-provider.js +0 -835
- package/lib/providers/sharing-provider.d.ts +0 -42
- package/lib/providers/sharing-provider.js +0 -221
- package/lib/providers/user-setting-storage-provider.d.ts +0 -21
- package/lib/providers/user-setting-storage-provider.js +0 -65
- package/lib/providers/whiteboard-provider.d.ts +0 -24
- package/lib/providers/whiteboard-provider.js +0 -127
- package/lib/shared-data-source/annotation-data.d.ts +0 -17
- package/lib/shared-data-source/annotation-data.js +0 -110
- package/lib/shared-data-source/app-list-data.d.ts +0 -34
- package/lib/shared-data-source/app-list-data.js +0 -133
- package/lib/shared-data-source/chat-data.d.ts +0 -25
- package/lib/shared-data-source/chat-data.js +0 -139
- package/lib/shared-data-source/config.d.ts +0 -35
- package/lib/shared-data-source/config.js +0 -40
- package/lib/shared-data-source/confirm-data.d.ts +0 -25
- package/lib/shared-data-source/confirm-data.js +0 -97
- package/lib/shared-data-source/device-privilege-data.d.ts +0 -8
- package/lib/shared-data-source/device-privilege-data.js +0 -25
- package/lib/shared-data-source/interpreter.d.ts +0 -77
- package/lib/shared-data-source/interpreter.js +0 -247
- package/lib/shared-data-source/layout-data.d.ts +0 -31
- package/lib/shared-data-source/meeting-time.d.ts +0 -90
- package/lib/shared-data-source/meeting-time.js +0 -416
- package/lib/shared-data-source/member-data.d.ts +0 -139
- package/lib/shared-data-source/member-data.js +0 -517
- package/lib/shared-data-source/pin-data.d.ts +0 -13
- package/lib/shared-data-source/pin-data.js +0 -111
- package/lib/shared-data-source/screen-share-data.d.ts +0 -364
- package/lib/shared-data-source/screen-share-data.js +0 -520
- package/lib/shared-data-source/security-data.d.ts +0 -39
- package/lib/shared-data-source/setting.d.ts +0 -67
- package/lib/shared-data-source/setting.js +0 -220
- package/lib/shared-data-source/speaker-spotlight.d.ts +0 -5
- package/lib/shared-data-source/speaker-spotlight.js +0 -15
- package/lib/shared-data-source/video-window.d.ts +0 -165
- package/lib/shared-data-source/video-window.js +0 -1266
- package/lib/shared-data-source/waiting-room.d.ts +0 -46
- package/lib/shared-data-source/waiting-room.js +0 -222
- package/lib/shared-data-source/whiteboard-data.d.ts +0 -68
- package/lib/shared-data-source/whiteboard-data.js +0 -347
- package/lib/utilities/board-context.d.ts +0 -4
- package/lib/utilities/board-context.js +0 -12
- package/lib/utilities/copyText.d.ts +0 -2
- package/lib/utilities/copyText.js +0 -48
- package/lib/utilities/renderer-event.d.ts +0 -10
- package/lib/utilities/renderer-event.js +0 -95
- package/lib/utilities/screen-capture-permission.d.ts +0 -2
- package/lib/utilities/screen-capture-permission.js +0 -24
- package/lib/utilities/screen.d.ts +0 -3
- package/lib/utilities/screen.js +0 -53
- package/lib/utilities/video-track-render-context.d.ts +0 -6
- package/lib/utilities/video-track-render-context.js +0 -9
- package/lib/waiting-room-control-manager.d.ts +0 -28
- package/lib/waiting-room-control-manager.js +0 -230
- package/lib/widget-sdk.d.ts +0 -2
- package/lib/widget-sdk.js +0 -13
- /package/lib/modules/{action-bar/types.js → subtitles-history/type.js} +0 -0
- /package/public/assets/electron/sound_effects/{pretest.mp3 → speakerTest.mp3} +0 -0
|
@@ -15,7 +15,6 @@ require("core-js/modules/es.number.constructor.js");
|
|
|
15
15
|
require("core-js/modules/es.object.create.js");
|
|
16
16
|
require("core-js/modules/es.object.define-property.js");
|
|
17
17
|
require("core-js/modules/es.object.get-own-property-descriptor.js");
|
|
18
|
-
require("core-js/modules/es.object.to-string.js");
|
|
19
18
|
require("core-js/modules/es.reflect.construct.js");
|
|
20
19
|
require("core-js/modules/es.string.iterator.js");
|
|
21
20
|
require("core-js/modules/esnext.function.metadata.js");
|
|
@@ -41,8 +40,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
41
40
|
value: true
|
|
42
41
|
});
|
|
43
42
|
exports["default"] = void 0;
|
|
43
|
+
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
44
|
+
require("core-js/modules/es.array.concat.js");
|
|
45
|
+
require("core-js/modules/es.array.find.js");
|
|
44
46
|
require("core-js/modules/es.array.push.js");
|
|
47
|
+
require("core-js/modules/es.date.to-json.js");
|
|
48
|
+
require("core-js/modules/es.json.stringify.js");
|
|
49
|
+
require("core-js/modules/es.object.to-string.js");
|
|
50
|
+
require("core-js/modules/esnext.iterator.constructor.js");
|
|
51
|
+
require("core-js/modules/esnext.iterator.find.js");
|
|
45
52
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
53
|
+
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
46
54
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
47
55
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
48
56
|
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
|
|
@@ -56,6 +64,7 @@ var _store = require("./store.base");
|
|
|
56
64
|
var _type = require("./type");
|
|
57
65
|
var _constant = require("../../utilities/constant");
|
|
58
66
|
var _videoWindow = require("../dialog/dialogs/video-window");
|
|
67
|
+
var _type2 = require("fcr-core/lib/type");
|
|
59
68
|
var _LayoutStoreElectron;
|
|
60
69
|
var _initProto;
|
|
61
70
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2["default"])(o), (0, _possibleConstructorReturn2["default"])(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2["default"])(t).constructor) : o.apply(t, e)); }
|
|
@@ -80,6 +89,7 @@ var LayoutStoreElectron = exports["default"] = /*#__PURE__*/function (_LayoutSto
|
|
|
80
89
|
_this._screenShareProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_SCREEN_SHARE_PROVIDER);
|
|
81
90
|
_this._windowProvider = windowProvider;
|
|
82
91
|
_this._mainWindow = windowProvider.getCurrentWindow();
|
|
92
|
+
_this._renderer = objectManager.getObject(_objectManager.FcrUIObjectKeys.RENDERER_WRAPPER);
|
|
83
93
|
_superPropGet((_this, LayoutStoreElectron), "_initialize", _this, 3)([]);
|
|
84
94
|
|
|
85
95
|
// 进入房间后,如果双屏模式处于激活状态,则需要设置主窗口为窗口最大化
|
|
@@ -88,38 +98,128 @@ var LayoutStoreElectron = exports["default"] = /*#__PURE__*/function (_LayoutSto
|
|
|
88
98
|
}
|
|
89
99
|
_this._disposers.push((0, _mobx.reaction)(function () {
|
|
90
100
|
return _this.isMultiDisplayActive;
|
|
91
|
-
}, function (
|
|
92
|
-
var
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
101
|
+
}, /*#__PURE__*/function () {
|
|
102
|
+
var _ref2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee(isActive) {
|
|
103
|
+
var _this$_multiDisplayPr, sharingBySelf, isSharingScreen, selectionIdAndType, _selectionIdAndType, id, type, workarea, displayList, display, windowList, window, bounds, _display, videoWindow, _t, _t2;
|
|
104
|
+
return _regenerator["default"].wrap(function (_context) {
|
|
105
|
+
while (1) switch (_context.prev = _context.next) {
|
|
106
|
+
case 0:
|
|
107
|
+
_this$_multiDisplayPr = _this._multiDisplayProvider.displayState, sharingBySelf = _this$_multiDisplayPr.sharingBySelf, isSharingScreen = _this$_multiDisplayPr.isSharingScreen;
|
|
108
|
+
if (!isActive) {
|
|
109
|
+
_context.next = 1;
|
|
110
|
+
break;
|
|
111
|
+
}
|
|
112
|
+
// 多屏模式激活时,需要设置主窗口为窗口最大化
|
|
113
|
+
// 如果自己正在共享屏幕,则关闭 vidoe window 悬浮窗、显示主窗口
|
|
114
|
+
if (sharingBySelf && isSharingScreen) {
|
|
115
|
+
_this._dialogProvider.closeDialog(_constant.FcrUIDialogKey.VIDEO_WINDOW);
|
|
116
|
+
_this._multiDisplayProvider.showMainWindowInIndexLeastDisplay({
|
|
117
|
+
isMaximized: true
|
|
118
|
+
});
|
|
119
|
+
} else {
|
|
120
|
+
_this._multiDisplayProvider.setMainWindowMaximize();
|
|
121
|
+
}
|
|
122
|
+
return _context.abrupt("return");
|
|
123
|
+
case 1:
|
|
124
|
+
if (!(sharingBySelf && isSharingScreen)) {
|
|
125
|
+
_context.next = 16;
|
|
126
|
+
break;
|
|
127
|
+
}
|
|
128
|
+
_this._mainWindow.hide();
|
|
129
|
+
_this._dialogProvider.openDialog(_constant.FcrUIDialogKey.VIDEO_WINDOW);
|
|
130
|
+
_context.prev = 2;
|
|
131
|
+
selectionIdAndType = _this._screenShareProvider.selectionIdAndType;
|
|
132
|
+
_context.next = 4;
|
|
133
|
+
break;
|
|
134
|
+
case 3:
|
|
135
|
+
_context.prev = 3;
|
|
136
|
+
_t = _context["catch"](2);
|
|
137
|
+
_this.logger.warn("get selection id and type error, can not set video window position: ".concat(_t));
|
|
138
|
+
return _context.abrupt("return");
|
|
139
|
+
case 4:
|
|
140
|
+
_selectionIdAndType = selectionIdAndType, id = _selectionIdAndType.id, type = _selectionIdAndType.type;
|
|
141
|
+
if (!(type === _type2.FcrScreenCaptureType.SCREEN)) {
|
|
142
|
+
_context.next = 8;
|
|
143
|
+
break;
|
|
144
|
+
}
|
|
145
|
+
_context.next = 5;
|
|
146
|
+
return _this._screenShareProvider.getDisplayList();
|
|
147
|
+
case 5:
|
|
148
|
+
displayList = _context.sent;
|
|
149
|
+
display = displayList.find(function (item) {
|
|
150
|
+
return item.id === id;
|
|
151
|
+
});
|
|
152
|
+
if (!display) {
|
|
153
|
+
_context.next = 6;
|
|
154
|
+
break;
|
|
155
|
+
}
|
|
156
|
+
workarea = display.bounds;
|
|
157
|
+
_context.next = 7;
|
|
158
|
+
break;
|
|
159
|
+
case 6:
|
|
160
|
+
_this.logger.warn("can not find display info for shared screen id: ".concat(id));
|
|
161
|
+
return _context.abrupt("return");
|
|
162
|
+
case 7:
|
|
163
|
+
_context.next = 15;
|
|
164
|
+
break;
|
|
165
|
+
case 8:
|
|
166
|
+
_context.next = 9;
|
|
167
|
+
return _this._screenShareProvider.getWindowList();
|
|
168
|
+
case 9:
|
|
169
|
+
windowList = _context.sent;
|
|
170
|
+
window = windowList.find(function (item) {
|
|
171
|
+
return item.id === id;
|
|
172
|
+
});
|
|
173
|
+
if (!window) {
|
|
174
|
+
_context.next = 10;
|
|
175
|
+
break;
|
|
176
|
+
}
|
|
177
|
+
bounds = window.bounds;
|
|
178
|
+
_context.next = 13;
|
|
179
|
+
break;
|
|
180
|
+
case 10:
|
|
181
|
+
_this.logger.warn("can not find window info for shared window id: ".concat(id));
|
|
108
182
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
183
|
+
// 共享的窗口被隐藏时,尝试使用 selectionBounds 作为位置依据
|
|
184
|
+
_context.prev = 11;
|
|
185
|
+
bounds = _this._screenShareProvider.selectionBounds;
|
|
186
|
+
_context.next = 13;
|
|
187
|
+
break;
|
|
188
|
+
case 12:
|
|
189
|
+
_context.prev = 12;
|
|
190
|
+
_t2 = _context["catch"](11);
|
|
191
|
+
_this.logger.warn("get selection bounds error, can not set video window position: ".concat(_t2));
|
|
192
|
+
return _context.abrupt("return");
|
|
193
|
+
case 13:
|
|
194
|
+
_display = _this._renderer.getDisplayMatching(bounds);
|
|
195
|
+
if (_display) {
|
|
196
|
+
_context.next = 14;
|
|
197
|
+
break;
|
|
198
|
+
}
|
|
199
|
+
_this.logger.warn("can not find display for shared window id: ".concat(id, ", bounds: ").concat(JSON.stringify(bounds)));
|
|
200
|
+
return _context.abrupt("return");
|
|
201
|
+
case 14:
|
|
202
|
+
workarea = _display.bounds;
|
|
203
|
+
case 15:
|
|
204
|
+
videoWindow = _this._windowProvider.getWindowById(_constant.FcrUIDialogKey.VIDEO_WINDOW);
|
|
205
|
+
(0, _videoWindow.setVideoWindowDialogPosition)(workarea, videoWindow);
|
|
206
|
+
_this.logger.info("set video window position while multi display mode off, workarea: ".concat(JSON.stringify(workarea)));
|
|
207
|
+
_context.next = 17;
|
|
208
|
+
break;
|
|
209
|
+
case 16:
|
|
210
|
+
if (isSharingScreen) {
|
|
211
|
+
_this.toggleLayout(_type.FcrUIVideoWindowLayoutType.Speaker);
|
|
212
|
+
}
|
|
213
|
+
case 17:
|
|
214
|
+
case "end":
|
|
215
|
+
return _context.stop();
|
|
216
|
+
}
|
|
217
|
+
}, _callee, null, [[2, 3], [11, 12]]);
|
|
218
|
+
}));
|
|
219
|
+
return function (_x) {
|
|
220
|
+
return _ref2.apply(this, arguments);
|
|
221
|
+
};
|
|
222
|
+
}()));
|
|
123
223
|
return _this;
|
|
124
224
|
}
|
|
125
225
|
(0, _inherits2["default"])(LayoutStoreElectron, _LayoutStoreBase);
|
|
@@ -87,10 +87,14 @@ export interface FcrLayoutSlots {
|
|
|
87
87
|
whiteboard: React.ReactNode;
|
|
88
88
|
annotation: React.ReactNode;
|
|
89
89
|
screenShareControl: React.ReactNode;
|
|
90
|
+
subtitles: React.ReactNode;
|
|
91
|
+
subtitlesHistory: React.ReactNode;
|
|
92
|
+
subtitlesHistorySettings: React.ReactNode;
|
|
90
93
|
}
|
|
91
94
|
export interface FcrUILayoutAsideContent {
|
|
92
95
|
participant: boolean;
|
|
93
96
|
chat: boolean;
|
|
97
|
+
subtitlesHistory: boolean;
|
|
94
98
|
}
|
|
95
99
|
export interface LayoutStoreArgs {
|
|
96
100
|
objectManager: FcrUIObjectManager;
|
|
@@ -33,6 +33,7 @@ var Layout = exports.Layout = (0, _mobxReact.observer)(function () {
|
|
|
33
33
|
setHoveringLeaveHandler = layoutStore.setHoveringLeaveHandler,
|
|
34
34
|
asideWidth = layoutStore.asideWidth,
|
|
35
35
|
chatAction = layoutStore.chatAction,
|
|
36
|
+
subtitlesHistorySettings = layoutStore.subtitlesHistorySettings,
|
|
36
37
|
barHidden = layoutStore.barHidden,
|
|
37
38
|
isRobot = layoutStore.isRobot,
|
|
38
39
|
getWaterMarkContent = layoutStore.getWaterMarkContent,
|
|
@@ -41,11 +42,31 @@ var Layout = exports.Layout = (0, _mobxReact.observer)(function () {
|
|
|
41
42
|
localUser = layoutStore.localUser,
|
|
42
43
|
setAsideWidth = layoutStore.setAsideWidth,
|
|
43
44
|
toggleAside = layoutStore.toggleAside,
|
|
44
|
-
asideWidthChanged = layoutStore.asideWidthChanged
|
|
45
|
+
asideWidthChanged = layoutStore.asideWidthChanged,
|
|
46
|
+
subtitles = layoutStore.subtitles,
|
|
47
|
+
subtitlesHistoryRenderAt = layoutStore.subtitlesHistoryRenderAt,
|
|
48
|
+
chatRenderAt = layoutStore.chatRenderAt,
|
|
49
|
+
participantsRenderAt = layoutStore.participantsRenderAt,
|
|
50
|
+
asideContent = layoutStore.asideContent;
|
|
45
51
|
var _useDelayedMeasure = (0, _hooks.useDelayedMeasure)(),
|
|
46
52
|
_useDelayedMeasure2 = (0, _slicedToArray2["default"])(_useDelayedMeasure, 2),
|
|
47
53
|
_ref = _useDelayedMeasure2[0],
|
|
48
54
|
bounds = _useDelayedMeasure2[1];
|
|
55
|
+
var translateWidth = (0, _react.useMemo)(function () {
|
|
56
|
+
if (asideContent.subtitlesHistory && subtitlesHistoryRenderAt === 'aside') {
|
|
57
|
+
return 320;
|
|
58
|
+
}
|
|
59
|
+
return 0;
|
|
60
|
+
}, [asideContent.subtitlesHistory, subtitlesHistoryRenderAt]);
|
|
61
|
+
var chatAndParticipantWidth = (0, _react.useMemo)(function () {
|
|
62
|
+
if (asideContent.chat && chatRenderAt === 'aside') {
|
|
63
|
+
return asideWidth;
|
|
64
|
+
}
|
|
65
|
+
if (asideContent.participant && participantsRenderAt === 'aside') {
|
|
66
|
+
return asideWidth;
|
|
67
|
+
}
|
|
68
|
+
return 0;
|
|
69
|
+
}, [asideWidth, asideContent.chat, asideContent.participant, chatRenderAt, participantsRenderAt]);
|
|
49
70
|
var getContainer;
|
|
50
71
|
var onDragHandler = (0, _react.useCallback)(function (event) {
|
|
51
72
|
event.preventDefault();
|
|
@@ -102,7 +123,7 @@ var Layout = exports.Layout = (0, _mobxReact.observer)(function () {
|
|
|
102
123
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
103
124
|
className: "fcr-layout-content",
|
|
104
125
|
style: {
|
|
105
|
-
width: bounds.width - asideWidth
|
|
126
|
+
width: bounds.width - asideWidth - translateWidth
|
|
106
127
|
},
|
|
107
128
|
children: [!isRobot && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
108
129
|
className: "fcr-layout-content-bar fcr-layout-content-top",
|
|
@@ -112,7 +133,7 @@ var Layout = exports.Layout = (0, _mobxReact.observer)(function () {
|
|
|
112
133
|
className: "fcr-layout-content-bar-body",
|
|
113
134
|
children: stateBar
|
|
114
135
|
})
|
|
115
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.Carousel, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.CarouselExpandButton, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.WhoIsSpeaking, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.Gallery, {}), !isRobot && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
136
|
+
}), subtitles, /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.Carousel, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.CarouselExpandButton, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.WhoIsSpeaking, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.Gallery, {}), !isRobot && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
116
137
|
className: cls,
|
|
117
138
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
118
139
|
className: "fcr-layout-content-bar-body",
|
|
@@ -122,9 +143,10 @@ var Layout = exports.Layout = (0, _mobxReact.observer)(function () {
|
|
|
122
143
|
})
|
|
123
144
|
})]
|
|
124
145
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.Aside, {
|
|
125
|
-
width: aside ?
|
|
146
|
+
width: aside ? chatAndParticipantWidth + translateWidth : 0,
|
|
126
147
|
onDragHandler: onDragHandler,
|
|
127
|
-
chatAction: chatAction
|
|
148
|
+
chatAction: chatAction,
|
|
149
|
+
subtitlesHistorySettings: subtitlesHistorySettings
|
|
128
150
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
129
151
|
className: "fcr-layer",
|
|
130
152
|
children: layers
|
|
@@ -15,14 +15,14 @@
|
|
|
15
15
|
align-items: center;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
.fcr-notification-root .
|
|
18
|
+
.fcr-notification-root .fcr-notification {
|
|
19
19
|
position: absolute;
|
|
20
20
|
top: 40px;
|
|
21
21
|
z-index: 999;
|
|
22
22
|
height: calc(100vh - 40px);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
.
|
|
25
|
+
.fcr-notification-notice-wrapper {
|
|
26
26
|
border-radius: 10px;
|
|
27
27
|
left: 10px;
|
|
28
28
|
}
|
|
@@ -64,14 +64,14 @@
|
|
|
64
64
|
transform: translateX(-50%);
|
|
65
65
|
bottom: 0;
|
|
66
66
|
}
|
|
67
|
-
.fcr-notification_bottom .
|
|
67
|
+
.fcr-notification_bottom .fcr-notification-notice-wrapper {
|
|
68
68
|
transform: translate3d(0px, 0px, 0px) !important;
|
|
69
69
|
top: unset;
|
|
70
70
|
bottom: 59px;
|
|
71
71
|
background-color: transparent;
|
|
72
72
|
box-shadow: none;
|
|
73
73
|
}
|
|
74
|
-
.fcr-notification_bottom .
|
|
74
|
+
.fcr-notification_bottom .fcr-notification-notice-content {
|
|
75
75
|
padding: 0;
|
|
76
76
|
text-align: center;
|
|
77
77
|
}
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import { NotificationStoreArgs } from './type';
|
|
2
2
|
import { FcrUIManagedObject } from '../../object-manager';
|
|
3
|
-
import {
|
|
3
|
+
import { WarpNotificationAPI } from 'agora-ui-foundation/lib/components/notification';
|
|
4
4
|
export default class NotificationStore implements FcrUIManagedObject {
|
|
5
5
|
protected logger: import("agora-foundation/lib/logger").Logger;
|
|
6
6
|
private _notification;
|
|
7
7
|
private _messageProvider;
|
|
8
8
|
private _sharedWaitingRoomDataSource;
|
|
9
|
+
private _sharedVideoWindowDataSource;
|
|
9
10
|
private _messageObserver;
|
|
10
|
-
get notification():
|
|
11
|
+
get notification(): WarpNotificationAPI;
|
|
11
12
|
constructor({ objectManager }: NotificationStoreArgs);
|
|
12
13
|
get waitingRoomUserCount(): number;
|
|
13
|
-
|
|
14
|
+
get layoutType(): import("../../type").FcrUIVideoWindowLayoutType;
|
|
15
|
+
setNotification(notification: WarpNotificationAPI): void;
|
|
14
16
|
release(): void;
|
|
15
17
|
}
|
|
16
18
|
export declare const StoreContext: import("react").Context<NotificationStore>;
|
|
@@ -72,7 +72,7 @@ var NotificationStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
72
72
|
_this.notification.close(type);
|
|
73
73
|
},
|
|
74
74
|
onNotificationReceived: function onNotificationReceived(params) {
|
|
75
|
-
var _params$duration;
|
|
75
|
+
var _params$duration, _params$showProgress;
|
|
76
76
|
var compFn = _view.ContentMap[params.type];
|
|
77
77
|
_this.notification.open({
|
|
78
78
|
content: compFn({
|
|
@@ -81,12 +81,14 @@ var NotificationStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
81
81
|
data: params.data
|
|
82
82
|
}),
|
|
83
83
|
duration: (_params$duration = params.duration) !== null && _params$duration !== void 0 ? _params$duration : null,
|
|
84
|
+
showProgress: (_params$showProgress = params.showProgress) !== null && _params$showProgress !== void 0 ? _params$showProgress : false,
|
|
84
85
|
placement: params.placement,
|
|
85
86
|
key: params.type
|
|
86
87
|
});
|
|
87
88
|
}
|
|
88
89
|
});
|
|
89
90
|
this._sharedWaitingRoomDataSource = objectManager.getObject(_objectManager.FcrUIObjectKeys.S_SHARED_WAITING_ROOM_DATA_SOURCE);
|
|
91
|
+
this._sharedVideoWindowDataSource = objectManager.getObject(_objectManager.FcrUIObjectKeys.S_SHARED_VIDEO_WINDOW_DATA_SOURCE);
|
|
90
92
|
this._messageProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_MESSAGE_PROVIDER);
|
|
91
93
|
this._messageProvider.addObserver(this._messageObserver);
|
|
92
94
|
}
|
|
@@ -103,6 +105,11 @@ var NotificationStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
103
105
|
get: function get() {
|
|
104
106
|
return this._sharedWaitingRoomDataSource.totalWaitingRoomUser || 0;
|
|
105
107
|
}
|
|
108
|
+
}, {
|
|
109
|
+
key: "layoutType",
|
|
110
|
+
get: function get() {
|
|
111
|
+
return this._sharedVideoWindowDataSource.layoutType;
|
|
112
|
+
}
|
|
106
113
|
}, {
|
|
107
114
|
key: "setNotification",
|
|
108
115
|
value: function setNotification(notification) {
|
|
@@ -116,6 +123,6 @@ var NotificationStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
116
123
|
}]);
|
|
117
124
|
}();
|
|
118
125
|
_NotificationStore = NotificationStore;
|
|
119
|
-
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_NotificationStore, [[_mobx.computed, 3, "waitingRoomUserCount"], [_setNotificationDecs, 18, "setNotification"]], []).e, 1);
|
|
126
|
+
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_NotificationStore, [[_mobx.computed, 3, "waitingRoomUserCount"], [_mobx.computed, 3, "layoutType"], [_setNotificationDecs, 18, "setNotification"]], []).e, 1);
|
|
120
127
|
_initProto = _applyDecs$e[0];
|
|
121
128
|
var StoreContext = exports.StoreContext = /*#__PURE__*/(0, _react.createContext)(null);
|
|
@@ -8,5 +8,6 @@ export declare const ContentMap: {
|
|
|
8
8
|
WAITING_ROOM: (props: NotificationContent) => import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
INTERPRETER_STATUS: (props: NotificationContent) => import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
TOAST: (props: NotificationContent) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
TRANSCRIBING: (props: NotificationContent) => import("react/jsx-runtime").JSX.Element;
|
|
11
12
|
};
|
|
12
13
|
export declare const View: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -29,6 +29,7 @@ var _interpreterStatus = require("./interpreter-status");
|
|
|
29
29
|
require("./index.css");
|
|
30
30
|
var _type2 = require("../../type");
|
|
31
31
|
var _notificationToast = _interopRequireDefault(require("agora-ui-foundation/lib/components/notification-toast"));
|
|
32
|
+
var _purePanel = require("agora-ui-foundation/lib/components/notification/pure-panel");
|
|
32
33
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
33
34
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
34
35
|
var Content = (0, _mobxReact.observer)(function (_ref) {
|
|
@@ -75,7 +76,7 @@ var Content = (0, _mobxReact.observer)(function (_ref) {
|
|
|
75
76
|
})]
|
|
76
77
|
});
|
|
77
78
|
});
|
|
78
|
-
var ContentMap = exports.ContentMap = (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])({}, _type2.FcrUINotificationContentType.WAITING_ROOM, function (props) {
|
|
79
|
+
var ContentMap = exports.ContentMap = (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])({}, _type2.FcrUINotificationContentType.WAITING_ROOM, function (props) {
|
|
79
80
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(Content, {
|
|
80
81
|
onOk: props.onOk,
|
|
81
82
|
onClose: props.onClose,
|
|
@@ -92,13 +93,43 @@ var ContentMap = exports.ContentMap = (0, _defineProperty2["default"])((0, _defi
|
|
|
92
93
|
onClose: props.onClose,
|
|
93
94
|
data: props.data
|
|
94
95
|
});
|
|
96
|
+
}), _type2.FcrUINotificationContentType.TRANSCRIBING, function (props) {
|
|
97
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_purePanel.PurePanel, {
|
|
98
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
99
|
+
style: {
|
|
100
|
+
borderRadius: '50%',
|
|
101
|
+
background: 'var(--fcr_ui_scene_ramp_green6)'
|
|
102
|
+
},
|
|
103
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
|
|
104
|
+
type: _type.FcrIconType.FCR_V2_SUBTITIESHISTORY,
|
|
105
|
+
size: 40,
|
|
106
|
+
style: {
|
|
107
|
+
padding: 9.5
|
|
108
|
+
}
|
|
109
|
+
})
|
|
110
|
+
}),
|
|
111
|
+
oneline: true,
|
|
112
|
+
message: props.data.message,
|
|
113
|
+
actions: /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.FcrButton, {
|
|
114
|
+
size: "XXS",
|
|
115
|
+
type: "primary",
|
|
116
|
+
onClick: props.onOk,
|
|
117
|
+
children: (0, _i18n.transI18n)('fmt_ai_rtt_window_button_view')
|
|
118
|
+
})
|
|
119
|
+
});
|
|
95
120
|
});
|
|
96
121
|
var View = exports.View = function View() {
|
|
97
122
|
var _useContext2 = (0, _react.useContext)(_store.StoreContext),
|
|
98
|
-
setNotification = _useContext2.setNotification
|
|
123
|
+
setNotification = _useContext2.setNotification,
|
|
124
|
+
layoutType = _useContext2.layoutType;
|
|
99
125
|
var _useFcrNotification = (0, _notification["default"])({
|
|
100
126
|
className: function className(placement) {
|
|
101
127
|
return "fcr-notification_".concat(placement);
|
|
128
|
+
},
|
|
129
|
+
style: function style() {
|
|
130
|
+
return {
|
|
131
|
+
top: layoutType === _type2.FcrUIVideoWindowLayoutType.Speaker ? '156px' : '34px'
|
|
132
|
+
};
|
|
102
133
|
}
|
|
103
134
|
}),
|
|
104
135
|
_useFcrNotification2 = (0, _slicedToArray2["default"])(_useFcrNotification, 2),
|
|
@@ -11,7 +11,7 @@ var _react = require("react");
|
|
|
11
11
|
var _buttons = _interopRequireDefault(require("./components/buttons"));
|
|
12
12
|
var _dropMenu = require("./components/drop-menu");
|
|
13
13
|
var _store = require("../../../../store.base");
|
|
14
|
-
var _footer = require("
|
|
14
|
+
var _footer = require("agora-ui-foundation/lib/components/participants/footer");
|
|
15
15
|
var _type = require("../../../../../../type");
|
|
16
16
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
17
17
|
var ParticipantFooter = (0, _mobxReact.observer)(function (_ref) {
|
|
@@ -27,6 +27,7 @@ var _cameraState = require("agora-ui-foundation/lib/components/room-screen-share
|
|
|
27
27
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
28
28
|
var _mobxReact = require("mobx-react");
|
|
29
29
|
var _react = require("react");
|
|
30
|
+
var _fcrCore = require("fcr-core");
|
|
30
31
|
require("./index.css");
|
|
31
32
|
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
32
33
|
var _helper = require("agora-ui-foundation/lib/components/avatar/helper");
|
|
@@ -34,7 +35,6 @@ var _microphoneIndicator = require("./components/microphone-indicator");
|
|
|
34
35
|
var _userAvatar = require("./components/user-avatar");
|
|
35
36
|
var _interpreterTag = require("./components/interpreter-tag");
|
|
36
37
|
var _store = require("../../../../../../store.base");
|
|
37
|
-
var _types = require("../../../../types");
|
|
38
38
|
var _type2 = require("../../../../../../../../type");
|
|
39
39
|
var _tooltip = require("agora-ui-foundation/lib/components/tooltip");
|
|
40
40
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
@@ -107,7 +107,7 @@ var ParticipantAttendee = exports.ParticipantAttendee = (0, _mobxReact.observer)
|
|
|
107
107
|
})]
|
|
108
108
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
109
109
|
className: "attendee__tag-group",
|
|
110
|
-
children: [userRole ===
|
|
110
|
+
children: [userRole === _fcrCore.FcrUserRole.COHOST && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
111
111
|
className: "attendee__host-badge attendee__cohost-tag-bg",
|
|
112
112
|
children: t('fmt_role_cohost')
|
|
113
113
|
}), !isHost && /*#__PURE__*/(0, _jsxRuntime.jsx)(_interpreterTag.ParticipantAttendeeinterpreterTag, {
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { User } from 'agora-ui-foundation/lib/components/participants/attendee';
|
|
2
|
+
interface UserActionsPropsType {
|
|
3
|
+
user: User;
|
|
4
|
+
isLocalCameraInSecondaryWindow: boolean;
|
|
5
|
+
}
|
|
2
6
|
export declare const UserActions: (props: UserActionsPropsType) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -11,12 +11,15 @@ var _renderTab = _interopRequireDefault(require("./components/render-tab"));
|
|
|
11
11
|
var _renderUser = _interopRequireDefault(require("./components/render-user"));
|
|
12
12
|
var _react = require("react");
|
|
13
13
|
var _constant = require("../../../../utilities/constant");
|
|
14
|
-
var _participants = require("
|
|
14
|
+
var _participants = require("agora-ui-foundation/lib/components/participants");
|
|
15
15
|
var _footer = _interopRequireDefault(require("./components/footer"));
|
|
16
16
|
var _store = require("../../store.base");
|
|
17
|
+
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
18
|
+
var _fcr_defaultpage = _interopRequireDefault(require("../../../../../public/assets/fcr_defaultpage.png"));
|
|
17
19
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
18
20
|
var ParticipantsContainer = (0, _mobxReact.observer)(function () {
|
|
19
21
|
var store = (0, _react.useContext)(_store.StoreContext);
|
|
22
|
+
var t = (0, _i18n.useI18n)();
|
|
20
23
|
var userList = store.userList,
|
|
21
24
|
handlerSearchUser = store.handlerSearchUser,
|
|
22
25
|
searchText = store.searchText,
|
|
@@ -28,6 +31,14 @@ var ParticipantsContainer = (0, _mobxReact.observer)(function () {
|
|
|
28
31
|
handlerRoomControlAction = store.handlerRoomControlAction,
|
|
29
32
|
hasInvite = store.hasInvite,
|
|
30
33
|
isLocalCameraInSecondaryWindow = store.isLocalCameraInSecondaryWindow;
|
|
34
|
+
var emptyContent = /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
35
|
+
className: "fcr-no-data",
|
|
36
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
37
|
+
src: _fcr_defaultpage["default"]
|
|
38
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
39
|
+
children: t('fmt_chat_tips_nodata')
|
|
40
|
+
})]
|
|
41
|
+
});
|
|
31
42
|
var handlerRoomControlClick = function handlerRoomControlClick(action, userId) {
|
|
32
43
|
if (action === _constant.FcrUIRoomControlType.MUTE_ALL_AUDIO) {
|
|
33
44
|
handlerRoomControlAction(action, {
|
|
@@ -51,6 +62,7 @@ var ParticipantsContainer = (0, _mobxReact.observer)(function () {
|
|
|
51
62
|
hasPinnedStream: hasPinnedStream,
|
|
52
63
|
toggleParticipantAction: handlerUserAction,
|
|
53
64
|
isLocalCameraInSecondaryWindow: isLocalCameraInSecondaryWindow,
|
|
65
|
+
emptyContent: emptyContent,
|
|
54
66
|
userRenderer: function userRenderer(user) {
|
|
55
67
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_renderUser["default"], {
|
|
56
68
|
user: user,
|
|
@@ -7,7 +7,7 @@ import { FcrUserKickedOutType } from 'fcr-core/lib/room-control/user-control/typ
|
|
|
7
7
|
import { FcrLanguage } from 'fcr-core/lib/room-control/interpreter-control/types';
|
|
8
8
|
import { ConfirmContentProps } from 'agora-ui-foundation/lib/components/confirm-content';
|
|
9
9
|
import { FcrUIRoomType, FcrUIUpdateAsideParams } from '../../type';
|
|
10
|
-
import { User } from '
|
|
10
|
+
import type { User } from 'agora-ui-foundation/lib/components/participants/attendee';
|
|
11
11
|
export declare abstract class ParticipantStoreBase {
|
|
12
12
|
protected logger: import("agora-foundation/lib/logger").Logger;
|
|
13
13
|
private _disposers;
|
|
@@ -46,7 +46,6 @@ export declare abstract class ParticipantStoreBase {
|
|
|
46
46
|
private _whitebaordObderver;
|
|
47
47
|
protected _renamingUserId: string;
|
|
48
48
|
protected _renamingUserName: string;
|
|
49
|
-
private accessor _mainList;
|
|
50
49
|
private accessor _isChecked;
|
|
51
50
|
accessor _participantsWindowActive: boolean;
|
|
52
51
|
accessor enableParticipantsJoinWithMute: boolean;
|