fcr-ui-scene 3.7.9-alpha → 3.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/creator/index.d.ts +6 -3
- package/lib/creator/index.js +38 -20
- package/lib/creator/provider-initializer.browser.js +30 -2
- package/lib/creator/provider-initializer.electron.js +34 -6
- package/lib/electron/app.js +0 -1
- package/lib/electron/bootstrap-sdk.d.ts +3 -1
- package/lib/electron/bootstrap-sdk.js +93 -375
- 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/electron/process-manager/constants.js +8 -0
- 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 +39 -2
- 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 +28 -22
- package/lib/fragments/whiteboard/view.js +2 -2
- package/lib/index.d.ts +1 -1
- package/lib/index.js +2 -2
- 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 +167 -0
- package/lib/modules/caption/index.d.ts +10 -0
- package/lib/modules/caption/index.js +127 -0
- package/lib/modules/caption/store.d.ts +53 -0
- package/lib/modules/caption/store.js +358 -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 +281 -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.d.ts +1 -0
- package/lib/modules/chat/store.js +3 -3
- 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 +43 -0
- package/lib/modules/components/caption-menu/index.js +115 -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 +73 -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 +188 -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/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/carmera/index.js +7 -39
- package/lib/modules/control-bar/components/cloud-recording-buttons.js +18 -33
- package/lib/modules/control-bar/components/microphone/index.js +3 -43
- package/lib/modules/control-bar/components/more-actions/index.js +9 -1
- package/lib/modules/control-bar/components/share-audio/index.d.ts +2 -0
- package/lib/modules/control-bar/components/share-audio/index.js +4 -10
- package/lib/modules/control-bar/enums.d.ts +2 -1
- package/lib/modules/control-bar/enums.js +1 -0
- package/lib/modules/control-bar/hooks.d.ts +1 -0
- package/lib/modules/control-bar/hooks.js +140 -1
- package/lib/modules/control-bar/store.d.ts +9 -5
- package/lib/modules/control-bar/store.js +92 -41
- package/lib/modules/control-bar/type.d.ts +3 -0
- package/lib/modules/control-bar/view.js +46 -58
- package/lib/modules/dialog/components/confirm/index.js +0 -1
- 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 +8 -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/participant/components/actions.js +2 -2
- 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/event-toast/index.js +7 -1
- 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 +12 -1
- package/lib/modules/layout/store.base.js +149 -54
- package/lib/modules/layout/store.electron.js +7 -3
- 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 +78 -81
- 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 -14
- 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 +46 -0
- package/lib/modules/setting/audio-whiteList/audio-device-adaptation.js +70 -0
- package/lib/modules/setting/audio-whiteList/audio-whiteList-manager.d.ts +52 -0
- package/lib/modules/setting/audio-whiteList/audio-whiteList-manager.js +374 -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 +14 -9
- package/lib/modules/setting/state/index.js +5 -3
- package/lib/modules/setting/store.base.d.ts +33 -6
- package/lib/modules/setting/store.base.js +133 -32
- 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 +106 -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 +12 -4
- package/lib/modules/share-screen/store.base.d.ts +1 -1
- package/lib/modules/share-screen/store.base.js +3 -0
- package/lib/modules/share-screen/store.electron.d.ts +3 -1
- package/lib/modules/share-screen/store.electron.js +158 -23
- 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 +102 -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/subtitles-history/index.js +107 -0
- package/lib/modules/subtitles-history/store.base.d.ts +76 -0
- package/lib/modules/subtitles-history/store.base.js +796 -0
- package/lib/modules/subtitles-history/store.electron.d.ts +15 -0
- package/lib/modules/subtitles-history/store.electron.js +154 -0
- package/lib/modules/subtitles-history/type.d.ts +4 -0
- package/lib/modules/subtitles-history/type.js +6 -0
- package/lib/modules/subtitles-history/view.d.ts +1 -0
- package/lib/modules/subtitles-history/view.js +104 -0
- 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 +199 -145
- 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/providers/screen-share/constant.js +8 -0
- package/lib/providers/screen-share/provider.base.d.ts +9 -7
- package/lib/providers/screen-share/provider.base.js +20 -27
- package/lib/providers/screen-share/provider.browser.js +14 -18
- package/lib/providers/screen-share/provider.electron.d.ts +3 -0
- package/lib/providers/screen-share/provider.electron.js +66 -25
- 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 +16 -2
- package/lib/providers/stt-provider/stt-provider.d.ts +88 -0
- package/lib/providers/stt-provider/stt-provider.js +1007 -0
- package/lib/providers/stt-provider/type.d.ts +160 -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 -1
- package/lib/providers/window/renderer-window.d.ts +4 -0
- package/lib/providers/window/renderer-window.js +19 -1
- package/lib/providers/window/type.d.ts +4 -0
- package/lib/runtime.d.ts +8 -7
- package/lib/runtime.js +1 -2
- package/lib/scenes/main-scene.js +112 -66
- 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 +33 -6
- 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/stt-setting.ts/index.js +202 -0
- 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 +7 -17
- package/lib/utilities/focus-helper.js +18 -11
- 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 +13 -8
- package/public/index.html +1 -0
- package/public/meeting-manager.js +23 -9
- 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 -16
- 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/setting/config.d.ts +0 -36
- package/lib/modules/setting/config.js +0 -36
- package/lib/modules/widget/sdk.d.ts +0 -30
- package/lib/modules/widget/sdk.js +0 -224
- package/lib/widget-sdk.d.ts +0 -2
- package/lib/widget-sdk.js +0 -13
- /package/public/assets/electron/sound_effects/{pretest.mp3 → speakerTest.mp3} +0 -0
|
@@ -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;
|
|
@@ -117,7 +117,7 @@ var _struct = require("./struct");
|
|
|
117
117
|
var _i18n2 = require("../../hooks/i18n");
|
|
118
118
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
119
119
|
var _ParticipantStoreBase;
|
|
120
|
-
var _initProto,
|
|
120
|
+
var _initProto, _init__isChecked, _init__participantsWindowActive, _init_enableParticipantsJoinWithMute, _init_searchText, _init_currentModal, _init_mergeConfirmDialog, _init_mergeUserId, _init_activeTab, _init_interpreterInputLanguageList, _init_newName, _init_allowUnmute, _init_joinWithMuteAudio, _init_showBecomeHostButton, _init__userCount, _setCurrentModalDecs, _setParticipantsWindowActiveDecs, _handlerSearchUserDecs, _openRemoveAdmitWaitingRoomDialogDecs, _setAllowUnmuteDecs, _setAllowJoinWithMuteAudioDecs, _openMuteAllDialogDecs, _handlerRoomControlActionDecs, _moveToMainRoomByUserIdsDecs, _kickOutWaitingRoomAllMemberDecs, _moveToMainRoomAllMemberDecs, _removeWaitingRoomUserDecs, _handleUserCountUpdatedDecs, _handleConfirmChangeNameDecs, _handleCancelChangeNameDecs, _closeChangeNameDialogDecs, _getOutputLanguageDecs, _handlerUserActionDecs, _handleActiveTabDecs, _moveToWaitingRoomByUserIdDecs, _kickOutUserDecs, _onPeerSessionReceivedDecs, _ref;
|
|
121
121
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
122
122
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
123
123
|
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
|
@@ -144,7 +144,6 @@ var _K = /*#__PURE__*/new WeakMap();
|
|
|
144
144
|
var _L = /*#__PURE__*/new WeakMap();
|
|
145
145
|
var _M = /*#__PURE__*/new WeakMap();
|
|
146
146
|
var _N = /*#__PURE__*/new WeakMap();
|
|
147
|
-
var _O = /*#__PURE__*/new WeakMap();
|
|
148
147
|
_ref = (_setCurrentModalDecs = [_mobx.action, _mobx.action.bound], _setParticipantsWindowActiveDecs = [_mobx.action, _mobx.action.bound], _handlerSearchUserDecs = [_mobx.action, _mobx.action.bound], _openRemoveAdmitWaitingRoomDialogDecs = [_mobx.action, _mobx.action.bound], _setAllowUnmuteDecs = [_mobx.action, _mobx.action.bound], _setAllowJoinWithMuteAudioDecs = [_mobx.action, _mobx.action.bound], _openMuteAllDialogDecs = [_mobx.action, _mobx.action.bound], _handlerRoomControlActionDecs = [_mobx.action, _mobx.action.bound], _moveToMainRoomByUserIdsDecs = [_mobx.action, _mobx.action.bound], _kickOutWaitingRoomAllMemberDecs = [_mobx.action, _mobx.action.bound], _moveToMainRoomAllMemberDecs = [_mobx.action, _mobx.action.bound], _removeWaitingRoomUserDecs = [_mobx.action, _mobx.action.bound], _handleUserCountUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleConfirmChangeNameDecs = [_mobx.action, _mobx.action.bound], _handleCancelChangeNameDecs = [_mobx.action, _mobx.action.bound], _closeChangeNameDialogDecs = [_mobx.action, _mobx.action.bound], _getOutputLanguageDecs = [_mobx.action, _mobx.action.bound], _handlerUserActionDecs = [_mobx.action, _mobx.action.bound], _handleActiveTabDecs = [_mobx.action, _mobx.action.bound], _moveToWaitingRoomByUserIdDecs = [_mobx.action, _mobx.action.bound], _kickOutUserDecs = [_mobx.action, _mobx.action.bound], _onPeerSessionReceivedDecs = [_mobx.action, _mobx.action.bound], "logger");
|
|
149
148
|
var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function () {
|
|
150
149
|
// #endregion
|
|
@@ -204,21 +203,20 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
204
203
|
});
|
|
205
204
|
(0, _defineProperty2["default"])(this, "_renamingUserId", '');
|
|
206
205
|
(0, _defineProperty2["default"])(this, "_renamingUserName", '');
|
|
207
|
-
_classPrivateFieldInitSpec(this, _A,
|
|
208
|
-
_classPrivateFieldInitSpec(this, _B,
|
|
209
|
-
_classPrivateFieldInitSpec(this, _C,
|
|
210
|
-
_classPrivateFieldInitSpec(this, _D,
|
|
211
|
-
_classPrivateFieldInitSpec(this, _E,
|
|
212
|
-
_classPrivateFieldInitSpec(this, _F,
|
|
213
|
-
_classPrivateFieldInitSpec(this, _G,
|
|
214
|
-
_classPrivateFieldInitSpec(this, _H,
|
|
215
|
-
_classPrivateFieldInitSpec(this, _I,
|
|
216
|
-
_classPrivateFieldInitSpec(this, _J,
|
|
217
|
-
_classPrivateFieldInitSpec(this, _K,
|
|
218
|
-
_classPrivateFieldInitSpec(this, _L,
|
|
219
|
-
_classPrivateFieldInitSpec(this, _M,
|
|
220
|
-
_classPrivateFieldInitSpec(this, _N,
|
|
221
|
-
_classPrivateFieldInitSpec(this, _O, _init__userCount(this, 0));
|
|
206
|
+
_classPrivateFieldInitSpec(this, _A, _init__isChecked(this, {}));
|
|
207
|
+
_classPrivateFieldInitSpec(this, _B, _init__participantsWindowActive(this, false));
|
|
208
|
+
_classPrivateFieldInitSpec(this, _C, _init_enableParticipantsJoinWithMute(this, false));
|
|
209
|
+
_classPrivateFieldInitSpec(this, _D, _init_searchText(this, ''));
|
|
210
|
+
_classPrivateFieldInitSpec(this, _E, _init_currentModal(this, 'modal'));
|
|
211
|
+
_classPrivateFieldInitSpec(this, _F, _init_mergeConfirmDialog(this, false));
|
|
212
|
+
_classPrivateFieldInitSpec(this, _G, _init_mergeUserId(this, ''));
|
|
213
|
+
_classPrivateFieldInitSpec(this, _H, _init_activeTab(this, _type5.FcrUIRoomType.MAIN_ROOM));
|
|
214
|
+
_classPrivateFieldInitSpec(this, _I, _init_interpreterInputLanguageList(this, []));
|
|
215
|
+
_classPrivateFieldInitSpec(this, _J, _init_newName(this, ''));
|
|
216
|
+
_classPrivateFieldInitSpec(this, _K, _init_allowUnmute(this, false));
|
|
217
|
+
_classPrivateFieldInitSpec(this, _L, _init_joinWithMuteAudio(this, false));
|
|
218
|
+
_classPrivateFieldInitSpec(this, _M, _init_showBecomeHostButton(this, false));
|
|
219
|
+
_classPrivateFieldInitSpec(this, _N, _init__userCount(this, 0));
|
|
222
220
|
(0, _defineProperty2["default"])(this, "allowedOperations", (0, _mobxUtils.computedFn)(function (userId, userRole) {
|
|
223
221
|
return _this.getAllowedOperations(userRole, userId === _this.localUser.userId);
|
|
224
222
|
}));
|
|
@@ -305,8 +303,10 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
305
303
|
this._eventProvider.addObserver({
|
|
306
304
|
onEvent: this._handleEvent
|
|
307
305
|
});
|
|
308
|
-
|
|
309
|
-
|
|
306
|
+
|
|
307
|
+
// TODO: 使用 privilegeProvider 中的值代替
|
|
308
|
+
this.allowUnmute = this._privilegeProvider.isUnmuteSelfAudioAllowed();
|
|
309
|
+
this.joinWithMuteAudio = this._privilegeProvider.isJoinWithMutedAudioEnabled();
|
|
310
310
|
this._getOutputLanguage();
|
|
311
311
|
this.showBecomeHostButton = !this._sharedMemberDataSource.memberList.some(function (user) {
|
|
312
312
|
return user.userInfo.userRole === _type.FcrUserRole.HOST;
|
|
@@ -316,7 +316,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
316
316
|
this._setupWaitingRoomUserCountListener();
|
|
317
317
|
}
|
|
318
318
|
return (0, _createClass2["default"])(ParticipantStoreBase, [{
|
|
319
|
-
key: "
|
|
319
|
+
key: "_isChecked",
|
|
320
320
|
get: function get() {
|
|
321
321
|
return _classPrivateFieldGet(_A, this);
|
|
322
322
|
},
|
|
@@ -324,7 +324,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
324
324
|
_classPrivateFieldSet(_A, this, v);
|
|
325
325
|
}
|
|
326
326
|
}, {
|
|
327
|
-
key: "
|
|
327
|
+
key: "_participantsWindowActive",
|
|
328
328
|
get: function get() {
|
|
329
329
|
return _classPrivateFieldGet(_B, this);
|
|
330
330
|
},
|
|
@@ -332,7 +332,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
332
332
|
_classPrivateFieldSet(_B, this, v);
|
|
333
333
|
}
|
|
334
334
|
}, {
|
|
335
|
-
key: "
|
|
335
|
+
key: "enableParticipantsJoinWithMute",
|
|
336
336
|
get: function get() {
|
|
337
337
|
return _classPrivateFieldGet(_C, this);
|
|
338
338
|
},
|
|
@@ -340,7 +340,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
340
340
|
_classPrivateFieldSet(_C, this, v);
|
|
341
341
|
}
|
|
342
342
|
}, {
|
|
343
|
-
key: "
|
|
343
|
+
key: "searchText",
|
|
344
344
|
get: function get() {
|
|
345
345
|
return _classPrivateFieldGet(_D, this);
|
|
346
346
|
},
|
|
@@ -348,7 +348,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
348
348
|
_classPrivateFieldSet(_D, this, v);
|
|
349
349
|
}
|
|
350
350
|
}, {
|
|
351
|
-
key: "
|
|
351
|
+
key: "currentModal",
|
|
352
352
|
get: function get() {
|
|
353
353
|
return _classPrivateFieldGet(_E, this);
|
|
354
354
|
},
|
|
@@ -356,7 +356,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
356
356
|
_classPrivateFieldSet(_E, this, v);
|
|
357
357
|
}
|
|
358
358
|
}, {
|
|
359
|
-
key: "
|
|
359
|
+
key: "mergeConfirmDialog",
|
|
360
360
|
get: function get() {
|
|
361
361
|
return _classPrivateFieldGet(_F, this);
|
|
362
362
|
},
|
|
@@ -364,7 +364,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
364
364
|
_classPrivateFieldSet(_F, this, v);
|
|
365
365
|
}
|
|
366
366
|
}, {
|
|
367
|
-
key: "
|
|
367
|
+
key: "mergeUserId",
|
|
368
368
|
get: function get() {
|
|
369
369
|
return _classPrivateFieldGet(_G, this);
|
|
370
370
|
},
|
|
@@ -372,7 +372,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
372
372
|
_classPrivateFieldSet(_G, this, v);
|
|
373
373
|
}
|
|
374
374
|
}, {
|
|
375
|
-
key: "
|
|
375
|
+
key: "activeTab",
|
|
376
376
|
get: function get() {
|
|
377
377
|
return _classPrivateFieldGet(_H, this);
|
|
378
378
|
},
|
|
@@ -380,7 +380,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
380
380
|
_classPrivateFieldSet(_H, this, v);
|
|
381
381
|
}
|
|
382
382
|
}, {
|
|
383
|
-
key: "
|
|
383
|
+
key: "interpreterInputLanguageList",
|
|
384
384
|
get: function get() {
|
|
385
385
|
return _classPrivateFieldGet(_I, this);
|
|
386
386
|
},
|
|
@@ -388,7 +388,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
388
388
|
_classPrivateFieldSet(_I, this, v);
|
|
389
389
|
}
|
|
390
390
|
}, {
|
|
391
|
-
key: "
|
|
391
|
+
key: "newName",
|
|
392
392
|
get: function get() {
|
|
393
393
|
return _classPrivateFieldGet(_J, this);
|
|
394
394
|
},
|
|
@@ -396,7 +396,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
396
396
|
_classPrivateFieldSet(_J, this, v);
|
|
397
397
|
}
|
|
398
398
|
}, {
|
|
399
|
-
key: "
|
|
399
|
+
key: "allowUnmute",
|
|
400
400
|
get: function get() {
|
|
401
401
|
return _classPrivateFieldGet(_K, this);
|
|
402
402
|
},
|
|
@@ -404,7 +404,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
404
404
|
_classPrivateFieldSet(_K, this, v);
|
|
405
405
|
}
|
|
406
406
|
}, {
|
|
407
|
-
key: "
|
|
407
|
+
key: "joinWithMuteAudio",
|
|
408
408
|
get: function get() {
|
|
409
409
|
return _classPrivateFieldGet(_L, this);
|
|
410
410
|
},
|
|
@@ -412,29 +412,21 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
412
412
|
_classPrivateFieldSet(_L, this, v);
|
|
413
413
|
}
|
|
414
414
|
}, {
|
|
415
|
-
key: "
|
|
415
|
+
key: "showBecomeHostButton",
|
|
416
416
|
get: function get() {
|
|
417
417
|
return _classPrivateFieldGet(_M, this);
|
|
418
418
|
},
|
|
419
419
|
set: function set(v) {
|
|
420
420
|
_classPrivateFieldSet(_M, this, v);
|
|
421
421
|
}
|
|
422
|
-
}, {
|
|
423
|
-
key: "showBecomeHostButton",
|
|
424
|
-
get: function get() {
|
|
425
|
-
return _classPrivateFieldGet(_N, this);
|
|
426
|
-
},
|
|
427
|
-
set: function set(v) {
|
|
428
|
-
_classPrivateFieldSet(_N, this, v);
|
|
429
|
-
}
|
|
430
422
|
}, {
|
|
431
423
|
key: "_userCount",
|
|
432
424
|
get: // #region getters
|
|
433
425
|
function get() {
|
|
434
|
-
return _classPrivateFieldGet(
|
|
426
|
+
return _classPrivateFieldGet(_N, this);
|
|
435
427
|
},
|
|
436
428
|
set: function set(v) {
|
|
437
|
-
_classPrivateFieldSet(
|
|
429
|
+
_classPrivateFieldSet(_N, this, v);
|
|
438
430
|
}
|
|
439
431
|
}, {
|
|
440
432
|
key: "renamingUserName",
|
|
@@ -536,7 +528,8 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
536
528
|
}, {
|
|
537
529
|
key: "pinedStreamIds",
|
|
538
530
|
get: function get() {
|
|
539
|
-
|
|
531
|
+
var mainList = this._sharedVideoWindowDataSource.mainList;
|
|
532
|
+
return mainList.filter(function (i) {
|
|
540
533
|
return i.isPin;
|
|
541
534
|
}).map(function (i) {
|
|
542
535
|
return i.windowId;
|
|
@@ -545,7 +538,8 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
545
538
|
}, {
|
|
546
539
|
key: "hasPinnedStream",
|
|
547
540
|
get: function get() {
|
|
548
|
-
|
|
541
|
+
var mainList = this._sharedVideoWindowDataSource.mainList;
|
|
542
|
+
return mainList.some(function (i) {
|
|
549
543
|
return i.isPin;
|
|
550
544
|
});
|
|
551
545
|
}
|
|
@@ -637,7 +631,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
637
631
|
}, {
|
|
638
632
|
key: "hasWaitingRoomPermission",
|
|
639
633
|
value: function hasWaitingRoomPermission() {
|
|
640
|
-
return this._privilegeProvider.isWaitingRoomEnabled() && this._privilegeProvider.
|
|
634
|
+
return this._privilegeProvider.isWaitingRoomEnabled() && this._privilegeProvider.hasEnableWaitingRoomPermission();
|
|
641
635
|
}
|
|
642
636
|
}, {
|
|
643
637
|
key: "hasUnmutePermission",
|
|
@@ -918,8 +912,8 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
918
912
|
var _this8 = this;
|
|
919
913
|
// 使用 runInAction 将所有状态更新包装在一个事务中,避免多次渲染
|
|
920
914
|
(0, _mobx.runInAction)(function () {
|
|
921
|
-
_this8._privilegeProvider.
|
|
922
|
-
_this8._privilegeProvider.
|
|
915
|
+
_this8._privilegeProvider.allowJoinWithMutedAudio(JoinWithMuteAudio);
|
|
916
|
+
_this8._privilegeProvider.allowStartAudio(allowUnmute);
|
|
923
917
|
_this8._privilegeProvider.muteAll();
|
|
924
918
|
_this8._sharedSecurityDataSource.setCheckedStateMap(_objectSpread(_objectSpread({}, _this8.checkedStateMap), {
|
|
925
919
|
enableJoinWithAudio: JoinWithMuteAudio,
|
|
@@ -933,7 +927,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
933
927
|
value: function _unmuteAllAudio() {
|
|
934
928
|
var _this9 = this;
|
|
935
929
|
this._setPrivilegeAndUpdateUI(function () {
|
|
936
|
-
return _this9._privilegeProvider.
|
|
930
|
+
return _this9._privilegeProvider.allowStartAudio(true);
|
|
937
931
|
}, {
|
|
938
932
|
unmuteYourself: true
|
|
939
933
|
});
|
|
@@ -945,7 +939,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
945
939
|
value: function _enableSelfUnmute(enable) {
|
|
946
940
|
var _this0 = this;
|
|
947
941
|
this._setPrivilegeAndUpdateUI(function () {
|
|
948
|
-
return _this0._privilegeProvider.
|
|
942
|
+
return _this0._privilegeProvider.allowStartAudio(enable);
|
|
949
943
|
}, {
|
|
950
944
|
unmuteYourself: enable
|
|
951
945
|
});
|
|
@@ -955,7 +949,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
955
949
|
value: function _enableOpenVideo(enable) {
|
|
956
950
|
var _this1 = this;
|
|
957
951
|
this._setPrivilegeAndUpdateUI(function () {
|
|
958
|
-
return _this1._privilegeProvider.
|
|
952
|
+
return _this1._privilegeProvider.allowStartVideo(enable);
|
|
959
953
|
}, {
|
|
960
954
|
startVideo: enable
|
|
961
955
|
});
|
|
@@ -974,7 +968,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
974
968
|
var _this10 = this;
|
|
975
969
|
this._showToast(enable ? (0, _i18n.transI18n)('fmt_security_tips_lock_meeting_on') : (0, _i18n.transI18n)('fmt_security_tips_lock_meeting_off'), 'info');
|
|
976
970
|
this._setPrivilegeAndUpdateUI(function () {
|
|
977
|
-
return _this10._privilegeProvider.
|
|
971
|
+
return _this10._privilegeProvider.enableLockedRoom(enable);
|
|
978
972
|
}, {
|
|
979
973
|
lockRoom: enable
|
|
980
974
|
});
|
|
@@ -984,7 +978,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
984
978
|
value: function _enableRename(enable) {
|
|
985
979
|
var _this11 = this;
|
|
986
980
|
this._setPrivilegeAndUpdateUI(function () {
|
|
987
|
-
return _this11._privilegeProvider.
|
|
981
|
+
return _this11._privilegeProvider.allowChangeUserName(enable);
|
|
988
982
|
}, {
|
|
989
983
|
rename: enable
|
|
990
984
|
});
|
|
@@ -996,7 +990,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
996
990
|
value: function enableJoinWithMuteAudio(enable) {
|
|
997
991
|
var _this12 = this;
|
|
998
992
|
this._setPrivilegeAndUpdateUI(function () {
|
|
999
|
-
return _this12._privilegeProvider.
|
|
993
|
+
return _this12._privilegeProvider.allowJoinWithMutedAudio(enable);
|
|
1000
994
|
}, {
|
|
1001
995
|
enableJoinWithAudio: enable
|
|
1002
996
|
});
|
|
@@ -1748,21 +1742,11 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1748
1742
|
}, {
|
|
1749
1743
|
key: "_setAsHost",
|
|
1750
1744
|
value: function _setAsHost(userId) {
|
|
1751
|
-
var canSetHost = this.isHostSupportedByPlatform(userId);
|
|
1752
|
-
if (!canSetHost) {
|
|
1753
|
-
this._showToast((0, _i18n.transI18n)('fmt_uimanager_tips_userleaft'), 'error');
|
|
1754
|
-
return;
|
|
1755
|
-
}
|
|
1756
1745
|
this._showSetHostDialog(userId, _type.FcrUserRole.HOST);
|
|
1757
1746
|
}
|
|
1758
1747
|
}, {
|
|
1759
1748
|
key: "_setAsCoHost",
|
|
1760
1749
|
value: function _setAsCoHost(userId) {
|
|
1761
|
-
var canSetHost = this.isHostSupportedByPlatform(userId);
|
|
1762
|
-
if (!canSetHost) {
|
|
1763
|
-
this._showToast((0, _i18n.transI18n)('fmt_uimanager_tips_userleaft'), 'error');
|
|
1764
|
-
return;
|
|
1765
|
-
}
|
|
1766
1750
|
this._showSetHostDialog(userId, _type.FcrUserRole.COHOST);
|
|
1767
1751
|
}
|
|
1768
1752
|
|
|
@@ -1775,6 +1759,14 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1775
1759
|
key: "_showSetHostDialog",
|
|
1776
1760
|
value: function _showSetHostDialog(userId, type) {
|
|
1777
1761
|
var _this16 = this;
|
|
1762
|
+
if ([_type.FcrUserRole.HOST, _type.FcrUserRole.COHOST].includes(type)) {
|
|
1763
|
+
var canSetHost = this.isHostSupportedByPlatform(userId);
|
|
1764
|
+
if (!canSetHost) {
|
|
1765
|
+
var errorMessage = type === _type.FcrUserRole.HOST ? (0, _i18n.transI18n)('fmt_attendies_toast_cant_sethost') : (0, _i18n.transI18n)('fmt_attendies_toast_cant_setcohost');
|
|
1766
|
+
this._showToast(errorMessage, 'error');
|
|
1767
|
+
return;
|
|
1768
|
+
}
|
|
1769
|
+
}
|
|
1778
1770
|
var user = this.userMap.get(userId);
|
|
1779
1771
|
if (!user) {
|
|
1780
1772
|
this._showToast((0, _i18n.transI18n)('fmt_uimanager_tips_userleaft'), 'error');
|
|
@@ -2337,28 +2329,33 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
2337
2329
|
value: function _handleEvent(event, payload) {
|
|
2338
2330
|
switch (event) {
|
|
2339
2331
|
case _constant.FcrUIAction.PARTICIPANT_ACTION:
|
|
2340
|
-
|
|
2332
|
+
{
|
|
2333
|
+
var actionPayload = payload;
|
|
2334
|
+
this.handlerUserAction(actionPayload.action, actionPayload.userId);
|
|
2335
|
+
break;
|
|
2336
|
+
}
|
|
2337
|
+
case _constant.FcrUIAction.CHANGE_PARTICIPANT_TAB:
|
|
2338
|
+
this.handleActiveTab(payload);
|
|
2341
2339
|
break;
|
|
2342
2340
|
}
|
|
2343
2341
|
}
|
|
2344
2342
|
}]);
|
|
2345
2343
|
}();
|
|
2346
2344
|
_ParticipantStoreBase = ParticipantStoreBase;
|
|
2347
|
-
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_ParticipantStoreBase, [[_mobx.observable, 1, "
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
_initProto = _applyDecs$e[15];
|
|
2345
|
+
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_ParticipantStoreBase, [[_mobx.observable, 1, "_isChecked"], [_mobx.observable, 1, "_participantsWindowActive"], [_mobx.observable, 1, "enableParticipantsJoinWithMute"], [_mobx.observable, 1, "searchText"], [_mobx.observable, 1, "currentModal"], [_mobx.observable, 1, "mergeConfirmDialog"], [_mobx.observable, 1, "mergeUserId"], [_mobx.observable, 1, "activeTab"], [_mobx.observable, 1, "interpreterInputLanguageList"], [_mobx.observable, 1, "newName"], [_mobx.observable, 1, "allowUnmute"], [_mobx.observable, 1, "joinWithMuteAudio"], [_mobx.observable, 1, "showBecomeHostButton"], [_mobx.observable, 1, "_userCount"], [_mobx.computed, 3, "audioVolumeMap"], [_mobx.computed, 3, "userListSource"], [_mobx.computed, 3, "spotlightStreamId"], [_mobx.computed, 3, "mergeUserInfo"], [_mobx.computed, 3, "userMap"], [_mobx.computed, 3, "userCount"], [_mobx.computed, 3, "pinedStreamIds"], [_mobx.computed, 3, "hasPinnedStream"], [_mobx.computed, 3, "userList"], [_mobx.computed, 3, "localMicVolume"], [_mobx.computed, 3, "hasRevokeHostPermission"], [_mobx.computed, 3, "waitingRoomUserCount"], [_mobx.computed, 3, "isNewWaitingRoomUserEnter"], [_decorator.bound, 2, "hasMutePermission"], [_decorator.bound, 2, "hasWaitingRoomPermission"], [_decorator.bound, 2, "hasUnmutePermission"], [_decorator.bound, 2, "hasRequestStartAudioPermission"], [_setCurrentModalDecs, 18, "setCurrentModal"], [_decorator.bound, 2, "closeParticipantsAside"], [_decorator.bound, 2, "closeDialog"], [_setParticipantsWindowActiveDecs, 18, "setParticipantsWindowActive"], [_handlerSearchUserDecs, 18, "handlerSearchUser"], [_decorator.bound, 2, "onInvite"], [_decorator.bound, 2, "setMergeConfirmDialog"], [_decorator.bound, 2, "mergeConfirmDialogOk"], [_openRemoveAdmitWaitingRoomDialogDecs, 18, "openRemoveAdmitWaitingRoomDialog"], [_setAllowUnmuteDecs, 18, "setAllowUnmute"], [_setAllowJoinWithMuteAudioDecs, 18, "setAllowJoinWithMuteAudio"], [_openMuteAllDialogDecs, 18, "openMuteAllDialog"], [_handlerRoomControlActionDecs, 18, "handlerRoomControlAction"], [_decorator.bound, 2, "moveParticipantFromDialogToAside"], [_moveToMainRoomByUserIdsDecs, 18, "moveToMainRoomByUserIds"], [_kickOutWaitingRoomAllMemberDecs, 18, "kickOutWaitingRoomAllMember"], [_moveToMainRoomAllMemberDecs, 18, "moveToMainRoomAllMember"], [_removeWaitingRoomUserDecs, 18, "removeWaitingRoomUser"], [_decorator.bound, 2, "removePin"], [_decorator.bound, 2, "addPin"], [_decorator.bound, 2, "_getPinStreamIdFromUser"], [_handleUserCountUpdatedDecs, 18, "_handleUserCountUpdated"], [_handleConfirmChangeNameDecs, 18, "handleConfirmChangeName"], [_handleCancelChangeNameDecs, 18, "handleCancelChangeName"], [_closeChangeNameDialogDecs, 18, "_closeChangeNameDialog"], [_getOutputLanguageDecs, 18, "_getOutputLanguage"], [_handlerUserActionDecs, 18, "handlerUserAction"], [_handleActiveTabDecs, 18, "handleActiveTab"], [_moveToWaitingRoomByUserIdDecs, 18, "_moveToWaitingRoomByUserId"], [_kickOutUserDecs, 18, "_kickOutUser"], [_onPeerSessionReceivedDecs, 18, "_onPeerSessionReceived"], [_decorator.bound, 2, "_onPeerSessionAccepted"], [_decorator.bound, 2, "_onPeerSessionRejected"], [_decorator.bound, 2, "_handleEvent"]], []).e, 15);
|
|
2346
|
+
_init__isChecked = _applyDecs$e[0];
|
|
2347
|
+
_init__participantsWindowActive = _applyDecs$e[1];
|
|
2348
|
+
_init_enableParticipantsJoinWithMute = _applyDecs$e[2];
|
|
2349
|
+
_init_searchText = _applyDecs$e[3];
|
|
2350
|
+
_init_currentModal = _applyDecs$e[4];
|
|
2351
|
+
_init_mergeConfirmDialog = _applyDecs$e[5];
|
|
2352
|
+
_init_mergeUserId = _applyDecs$e[6];
|
|
2353
|
+
_init_activeTab = _applyDecs$e[7];
|
|
2354
|
+
_init_interpreterInputLanguageList = _applyDecs$e[8];
|
|
2355
|
+
_init_newName = _applyDecs$e[9];
|
|
2356
|
+
_init_allowUnmute = _applyDecs$e[10];
|
|
2357
|
+
_init_joinWithMuteAudio = _applyDecs$e[11];
|
|
2358
|
+
_init_showBecomeHostButton = _applyDecs$e[12];
|
|
2359
|
+
_init__userCount = _applyDecs$e[13];
|
|
2360
|
+
_initProto = _applyDecs$e[14];
|
|
2364
2361
|
var StoreContext = exports.StoreContext = /*#__PURE__*/(0, _react.createContext)(null);
|
|
@@ -25,7 +25,9 @@ export interface FcrUIMemberData {
|
|
|
25
25
|
}
|
|
26
26
|
export declare enum FcrUISessionKey {
|
|
27
27
|
REQUEST_OPEN_CAMERA = "REQUEST_OPEN_CAMERA",
|
|
28
|
-
REQUEST_OPEN_MICROPHONE = "REQUEST_OPEN_MICROPHONE"
|
|
28
|
+
REQUEST_OPEN_MICROPHONE = "REQUEST_OPEN_MICROPHONE",
|
|
29
|
+
REQUEST_OPEN_TRANSCRIBING = "REQUEST_OPEN_TRANSCRIBING",
|
|
30
|
+
REJECT_OPEN_TRANSCRIBING = "REJECT_OPEN_TRANSCRIBING"
|
|
29
31
|
}
|
|
30
32
|
export interface FcrUIRequestOpenDevicePayload {
|
|
31
33
|
sender: FcrUserInfo;
|