fcr-ui-scene 3.1.0 → 3.2.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/dist/132.js +2 -0
- package/dist/132.js.LICENSE.txt +311 -0
- package/dist/651.js +2 -0
- package/dist/651.js.LICENSE.txt +1 -0
- package/dist/73.js +1 -0
- package/dist/index.html +13 -0
- package/dist/main.da7c203ab32d15742cfe.css +11760 -0
- package/dist/main.js +2 -0
- package/dist/main.js.LICENSE.txt +254 -0
- package/dist/worker-entry.worker.js.LICENSE.txt +13 -0
- package/lib/base.js +16 -0
- package/lib/common/device-store.d.ts +3 -4
- package/lib/common/device-store.js +167 -83
- package/lib/common/device-stream-store.d.ts +3 -2
- package/lib/common/device-stream-store.js +94 -72
- package/lib/common/event-store.d.ts +3 -1
- package/lib/common/event-store.js +5 -0
- package/lib/common/security-store.d.ts +6 -16
- package/lib/common/security-store.js +136 -101
- package/lib/electron/app.d.ts +1 -0
- package/lib/electron/app.js +148 -0
- package/lib/electron/default-options.d.ts +2 -0
- package/lib/electron/default-options.js +25 -0
- package/lib/electron/env.d.ts +5 -0
- package/lib/electron/env.js +13 -0
- package/lib/electron/index.d.ts +2 -0
- package/lib/electron/index.js +20 -0
- package/lib/electron/injections.d.ts +44 -0
- package/lib/electron/injections.js +705 -0
- package/lib/electron/logger.d.ts +6 -0
- package/lib/electron/logger.js +66 -0
- package/lib/electron/main.d.ts +2 -0
- package/lib/electron/main.js +79 -0
- package/lib/electron/plugins/screenshot.d.ts +2 -0
- package/lib/electron/plugins/screenshot.js +49 -0
- package/lib/electron/preload.js +36 -0
- package/lib/electron/tools.d.ts +5 -0
- package/lib/electron/tools.js +66 -0
- package/lib/electron/window.d.ts +12 -0
- package/lib/electron/window.js +124 -0
- package/lib/fragments/control-bar/context.d.ts +0 -1
- package/lib/fragments/control-bar/control-bar-store.js +23 -2
- package/lib/fragments/control-bar/device/index.js +7 -0
- package/lib/fragments/control-bar/index.js +11 -1
- package/lib/fragments/control-bar/more-actions/index.js +5 -0
- package/lib/fragments/control-bar/security-content/index.js +3 -0
- package/lib/fragments/live-streaming/context.d.ts +0 -1
- package/lib/fragments/live-streaming/store.js +27 -17
- package/lib/fragments/share-screen-selection/context.d.ts +0 -1
- package/lib/fragments/share-screen-selection/selection-store.js +34 -33
- package/lib/fragments/share-screen-selection/view.js +7 -0
- package/lib/fragments/toolbar/components/color-picker/components/color.js +2 -0
- package/lib/fragments/toolbar/components/color-picker/components/panel.js +4 -0
- package/lib/fragments/toolbar/components/color-picker/components/picker.js +2 -0
- package/lib/fragments/toolbar/components/color-picker/index.js +5 -1
- package/lib/fragments/toolbar/components/color-picker.js +3 -1
- package/lib/fragments/toolbar/components/eraser-picker.js +4 -13
- package/lib/fragments/toolbar/components/extension-toolbar-item.js +5 -0
- package/lib/fragments/toolbar/components/extra-tool-picker.js +4 -0
- package/lib/fragments/toolbar/components/pen-picker.js +2 -0
- package/lib/fragments/toolbar/components/screen-capture-picker.js +2 -0
- package/lib/fragments/toolbar/components/shape-picker.js +2 -0
- package/lib/fragments/toolbar/hooks.d.ts +1 -1
- package/lib/fragments/toolbar/hooks.js +13 -8
- package/lib/fragments/toolbar/store.d.ts +4 -4
- package/lib/fragments/toolbar/store.js +20 -2
- package/lib/fragments/toolbar/view.js +2 -0
- package/lib/global.d.ts +1 -0
- package/lib/hooks/meeting-time.d.ts +2 -2
- package/lib/modules/action-bar/action-bar-collapes-items.js +9 -0
- package/lib/modules/action-bar/chat/index.js +1 -1
- package/lib/modules/action-bar/context.d.ts +0 -1
- package/lib/modules/action-bar/device/index.d.ts +2 -2
- package/lib/modules/action-bar/device/index.js +2 -0
- package/lib/modules/action-bar/index.css +4 -0
- package/lib/modules/action-bar/index.d.ts +2 -2
- package/lib/modules/action-bar/index.dev.js +7 -6
- package/lib/modules/action-bar/item-placement.d.ts +1 -2
- package/lib/modules/action-bar/item.js +5 -0
- package/lib/modules/action-bar/leave/assign-host.js +5 -3
- package/lib/modules/action-bar/leave/index.js +6 -1
- package/lib/modules/action-bar/more/poppover-content.js +10 -0
- package/lib/modules/action-bar/screen-share/submenu.js +1 -0
- package/lib/modules/action-bar/security/drop-menu.js +34 -1
- package/lib/modules/action-bar/security/index.js +1 -1
- package/lib/modules/action-bar/settings/index.js +1 -1
- package/lib/modules/action-bar/store.d.ts +9 -17
- package/lib/modules/action-bar/store.js +67 -49
- package/lib/modules/audio-stream/index.js +12 -6
- package/lib/modules/chat/chat-bar/index.js +7 -0
- package/lib/modules/chat/chat-select/index.css +5 -0
- package/lib/modules/chat/chat-select/index.js +29 -3
- package/lib/modules/chat/chat.d.ts +1 -1
- package/lib/modules/chat/chat.js +28 -4
- package/lib/modules/chat/contex.d.ts +0 -1
- package/lib/modules/chat/index.d.ts +3 -3
- package/lib/modules/chat/index.dev.js +3 -3
- package/lib/modules/chat/index.js +19 -3
- package/lib/modules/chat/message-list.js +24 -3
- package/lib/modules/chat/store.d.ts +3 -3
- package/lib/modules/chat/store.js +45 -79
- package/lib/modules/chat/util.js +1 -1
- package/lib/modules/connection-gateway/components/phone/components/callinfo/index.js +2 -0
- package/lib/modules/connection-gateway/components/phone/index.js +2 -0
- package/lib/modules/connection-gateway/index.d.ts +2 -2
- package/lib/modules/connection-gateway/index.js +2 -0
- package/lib/modules/connection-gateway/store.d.ts +1 -2
- package/lib/modules/connection-gateway/store.js +41 -14
- package/lib/modules/device-pretest/audio-preview/microphone-detection.d.ts +1 -0
- package/lib/modules/device-pretest/audio-preview/microphone-detection.js +3 -2
- package/lib/modules/device-pretest/context.d.ts +0 -1
- package/lib/modules/device-pretest/index.js +2 -1
- package/lib/modules/device-pretest/settings/beauty.js +2 -0
- package/lib/modules/device-pretest/settings/video-settings-basic.js +1 -0
- package/lib/modules/device-pretest/settings/virtual-background-setting.js +2 -0
- package/lib/modules/device-pretest/store.js +28 -9
- package/lib/modules/dialog/components/chat/electron.js +1 -1
- package/lib/modules/dialog/components/chat/index.js +1 -1
- package/lib/modules/dialog/components/confirm/electron.js +2 -2
- package/lib/modules/dialog/components/confirm/index.js +16 -2
- package/lib/modules/dialog/components/connection-gateway/electron.js +1 -1
- package/lib/modules/dialog/components/device-setting/electron.d.ts +2 -0
- package/lib/modules/dialog/components/device-setting/electron.js +72 -0
- package/lib/modules/dialog/components/device-setting/index.css +27 -0
- package/lib/modules/dialog/components/device-setting/index.d.ts +4 -0
- package/lib/modules/dialog/components/device-setting/index.js +60 -0
- package/lib/modules/dialog/components/participant/electron.js +6 -1
- package/lib/modules/dialog/components/share-screen-selection/index.js +1 -1
- package/lib/modules/dialog/context.d.ts +0 -1
- package/lib/modules/dialog/dialogs.d.ts +0 -2
- package/lib/modules/dialog/dialogs.js +46 -91
- package/lib/modules/dialog/index.css +5 -6
- package/lib/modules/dialog/index.d.ts +1 -1
- package/lib/modules/dialog/index.js +17 -0
- package/lib/modules/dialog/store.d.ts +2 -2
- package/lib/modules/dialog/store.js +36 -7
- package/lib/modules/dialog/view.js +2 -0
- package/lib/modules/event-toast/context.d.ts +0 -1
- package/lib/modules/event-toast/store.js +16 -0
- package/lib/modules/invite/context.d.ts +0 -1
- package/lib/modules/invite/index.d.ts +2 -2
- package/lib/modules/invite/pstn-invite.js +3 -1
- package/lib/modules/invite/store.d.ts +2 -2
- package/lib/modules/invite/store.js +27 -7
- package/lib/modules/invite/voip-invite.js +1 -1
- package/lib/modules/layout/components/Aside.js +4 -1
- package/lib/modules/layout/components/Carousel.js +6 -5
- package/lib/modules/layout/components/Gallery.js +9 -8
- package/lib/modules/layout/components/index.css +11 -1
- package/lib/modules/layout/components/index.js +3 -0
- package/lib/modules/layout/context.d.ts +0 -1
- package/lib/modules/layout/index.dev.js +11 -11
- package/lib/modules/layout/index.js +0 -6
- package/lib/modules/layout/member-window/index.css +5 -5
- package/lib/modules/layout/member-window/index.d.ts +7 -6
- package/lib/modules/layout/member-window/index.js +50 -10
- package/lib/modules/layout/store.d.ts +44 -49
- package/lib/modules/layout/store.js +406 -338
- package/lib/modules/layout/type.d.ts +2 -1
- package/lib/modules/layout/video-window-datasource.d.ts +14 -8
- package/lib/modules/layout/video-window-datasource.js +129 -78
- package/lib/modules/live-streaming/context.d.ts +0 -1
- package/lib/modules/live-streaming/index.d.ts +2 -2
- package/lib/modules/live-streaming/index.dev.js +4 -3
- package/lib/modules/live-streaming/store.d.ts +2 -2
- package/lib/modules/live-streaming/store.js +32 -11
- package/lib/modules/participant/attendee/index.js +10 -0
- package/lib/modules/participant/attendee/participants-more-action.js +5 -2
- package/lib/modules/participant/context.d.ts +0 -1
- package/lib/modules/participant/index.d.ts +3 -3
- package/lib/modules/participant/index.dev.js +13 -11
- package/lib/modules/participant/member-list-data-source.d.ts +3 -3
- package/lib/modules/participant/member-list-data-source.js +29 -3
- package/lib/modules/participant/room-control-drop-menu/index.js +35 -1
- package/lib/modules/participant/store.d.ts +31 -31
- package/lib/modules/participant/store.js +203 -157
- package/lib/modules/participant/view.d.ts +6 -6
- package/lib/modules/participant/view.js +5 -0
- package/lib/modules/setting/audio-settings/audio-settings.js +16 -12
- package/lib/modules/setting/audio-settings/index.css +2 -2
- package/lib/modules/setting/context.d.ts +0 -1
- package/lib/modules/setting/general-settings/general-settings.js +2 -1
- package/lib/modules/setting/general-settings/index.css +2 -2
- package/lib/modules/setting/index.d.ts +2 -2
- package/lib/modules/setting/index.dev.js +13 -11
- package/lib/modules/setting/index.js +16 -0
- package/lib/modules/setting/minutes-settings/index.css +65 -0
- package/lib/modules/setting/minutes-settings/minutes-settings.d.ts +4 -0
- package/lib/modules/setting/minutes-settings/minutes-settings.js +159 -0
- package/lib/modules/setting/state/index.css +0 -4
- package/lib/modules/setting/state/index.js +11 -1
- package/lib/modules/setting/storage-settings/storage-settings.js +1 -1
- package/lib/modules/setting/store.d.ts +6 -4
- package/lib/modules/setting/store.js +68 -40
- package/lib/modules/setting/translate-settings/index.css +45 -0
- package/lib/modules/setting/translate-settings/language-select.d.ts +12 -0
- package/lib/modules/{device-settings/video-settings/camera-select.js → setting/translate-settings/language-select.js} +16 -17
- package/lib/modules/setting/translate-settings/translate-settings.d.ts +4 -0
- package/lib/modules/setting/translate-settings/translate-settings.js +139 -0
- package/lib/modules/setting/video-settings/index.css +7 -1
- package/lib/modules/setting/video-settings/video-settings-basic.js +3 -2
- package/lib/modules/setting/video-settings/video-settings.js +5 -1
- package/lib/modules/setting/view.js +34 -2
- package/lib/modules/share-screen/index.d.ts +2 -2
- package/lib/modules/share-screen/index.dev.js +14 -12
- package/lib/modules/share-screen/index.js +2 -0
- package/lib/modules/share-screen/selection/index.js +44 -6
- package/lib/modules/share-screen/share-state-bar/index.css +49 -11
- package/lib/modules/share-screen/share-state-bar/index.d.ts +0 -1
- package/lib/modules/share-screen/share-state-bar/index.js +51 -20
- package/lib/modules/share-screen/store.d.ts +18 -11
- package/lib/modules/share-screen/store.js +656 -570
- package/lib/modules/state-bar/context.d.ts +0 -1
- package/lib/modules/state-bar/index.d.ts +1 -1
- package/lib/modules/state-bar/index.dev.js +11 -9
- package/lib/modules/state-bar/layout-config.js +2 -0
- package/lib/modules/state-bar/live-streaming-state.js +3 -0
- package/lib/modules/state-bar/recording.js +6 -6
- package/lib/modules/state-bar/store.d.ts +4 -4
- package/lib/modules/state-bar/store.js +50 -5
- package/lib/modules/state-bar/view.js +3 -2
- package/lib/modules/video-window/context.d.ts +0 -1
- package/lib/modules/video-window/deviceState/index.d.ts +3 -3
- package/lib/modules/video-window/members/index.js +7 -4
- package/lib/modules/video-window/store.d.ts +3 -2
- package/lib/modules/video-window/store.js +35 -6
- package/lib/modules/video-window/topControl/index.js +7 -0
- package/lib/modules/video-window/view.js +2 -0
- package/lib/modules/whiteboard/app.js +2 -2
- package/lib/modules/whiteboard/components/control-bar/store.d.ts +0 -1
- package/lib/modules/whiteboard/components/control-bar/store.js +29 -29
- package/lib/modules/whiteboard/components/loading/index.js +2 -2
- package/lib/modules/whiteboard/components/multi-window/index.js +2 -2
- package/lib/modules/whiteboard/components/pagination/store.d.ts +0 -1
- package/lib/modules/whiteboard/components/progress/electron.js +1 -1
- package/lib/modules/whiteboard/components/progress/style.css +4 -3
- package/lib/modules/whiteboard/components/switch-theme/index.js +9 -2
- package/lib/modules/whiteboard/components/switch-theme/item.js +2 -0
- package/lib/modules/whiteboard/components/switch-theme/libs.d.ts +2 -1
- package/lib/modules/whiteboard/components/switch-theme/libs.js +21 -20
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/panel.js +2 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/index.js +3 -1
- package/lib/modules/whiteboard/components/toolbar/components/eraser-picker.js +11 -9
- package/lib/modules/whiteboard/components/toolbar/components/extra-tool-picker.js +4 -0
- package/lib/modules/whiteboard/components/toolbar/components/move-handle.js +5 -0
- package/lib/modules/whiteboard/components/toolbar/components/pen-picker.js +2 -0
- package/lib/modules/whiteboard/components/toolbar/components/shape-picker.js +4 -2
- package/lib/modules/whiteboard/components/toolbar/hooks/index.d.ts +3 -3
- package/lib/modules/whiteboard/components/toolbar/hooks/index.js +16 -11
- package/lib/modules/whiteboard/components/toolbar/index.js +9 -0
- package/lib/modules/whiteboard/components/toolbar/store.d.ts +7 -7
- package/lib/modules/whiteboard/components/toolbar/store.js +22 -4
- package/lib/modules/whiteboard/context.d.ts +3 -3
- package/lib/modules/whiteboard/context.js +2 -2
- package/lib/modules/whiteboard/index.d.ts +6 -7
- package/lib/modules/whiteboard/index.js +292 -253
- package/lib/modules/whiteboard/type.d.ts +4 -12
- package/lib/modules/whiteboard/type.js +6 -16
- package/lib/modules/whiteboard/utils.d.ts +1 -0
- package/lib/modules/whiteboard/utils.js +12 -1
- package/lib/plugins/browser-runtime-plugin.js +2 -4
- package/lib/plugins/module-dev-plugin.js +4 -4
- package/lib/plugins/multi-lang-plugin.d.ts +1 -5
- package/lib/plugins/multi-lang-plugin.js +2 -0
- package/lib/runtime.d.ts +84 -0
- package/lib/translations/enUS.d.ts +148 -1
- package/lib/translations/enUS.js +156 -7
- package/lib/translations/zhCN.d.ts +148 -1
- package/lib/translations/zhCN.js +152 -3
- package/lib/ui-manager.d.ts +2 -2
- package/lib/ui-manager.js +37 -20
- package/lib/ui-scene.js +6 -1
- package/lib/utilities/board-context.d.ts +0 -1
- package/lib/utilities/constant.d.ts +4 -1
- package/lib/utilities/constant.js +3 -0
- package/lib/utilities/copyText.js +1 -1
- package/lib/utilities/extract.js +26 -3
- package/lib/utilities/hooks.js +2 -0
- package/lib/utilities/renderer-event.js +28 -0
- package/lib/utilities/renderer.js +9 -4
- package/lib/utilities/tools.js +5 -2
- package/lib/utilities/ui-resources.d.ts +2 -2
- package/lib/utilities/ui-resources.js +20 -3
- package/lib/utilities/video-track-render-context.d.ts +0 -1
- package/package.json +10 -8
- package/installer/icons/favicon.ico +0 -0
- package/installer/icons/favicon.png +0 -0
- package/installer/mac/entitlements.mac.plist +0 -16
- package/lib/common/device-streams-store.d.ts +0 -34
- package/lib/common/device-streams-store.js +0 -403
- package/lib/fragments/participant/context.d.ts +0 -3
- package/lib/fragments/participant/context.js +0 -9
- package/lib/fragments/participant/index.css +0 -20
- package/lib/fragments/participant/index.d.ts +0 -9
- package/lib/fragments/participant/index.js +0 -90
- package/lib/fragments/participant/room-control-drop-menu/index.css +0 -19
- package/lib/fragments/participant/room-control-drop-menu/index.d.ts +0 -2
- package/lib/fragments/participant/room-control-drop-menu/index.js +0 -134
- package/lib/fragments/participant/store.d.ts +0 -34
- package/lib/fragments/participant/store.js +0 -326
- package/lib/fragments/participant/view.d.ts +0 -2
- package/lib/fragments/participant/view.js +0 -86
- package/lib/fragments/state-bar/index.d.ts +0 -9
- package/lib/fragments/state-bar/index.js +0 -68
- package/lib/fragments/type.d.ts +0 -2
- package/lib/fragments/type.js +0 -6
- package/lib/modules/connection-gateway/components/computer/menu.d.ts +0 -0
- package/lib/modules/connection-gateway/components/computer/menu.js +0 -1
- package/lib/modules/device-settings/audio-settings/audio-settings.d.ts +0 -4
- package/lib/modules/device-settings/audio-settings/audio-settings.js +0 -297
- package/lib/modules/device-settings/audio-settings/index.css +0 -139
- package/lib/modules/device-settings/audio-settings/microphone-detection.d.ts +0 -2
- package/lib/modules/device-settings/audio-settings/microphone-detection.js +0 -68
- package/lib/modules/device-settings/audio-settings/speaker-detection.d.ts +0 -2
- package/lib/modules/device-settings/audio-settings/speaker-detection.js +0 -72
- package/lib/modules/device-settings/common/advance-link.d.ts +0 -3
- package/lib/modules/device-settings/common/advance-link.js +0 -27
- package/lib/modules/device-settings/common/index.css +0 -26
- package/lib/modules/device-settings/common/useNamespace.d.ts +0 -15
- package/lib/modules/device-settings/common/useNamespace.js +0 -66
- package/lib/modules/device-settings/context.d.ts +0 -3
- package/lib/modules/device-settings/context.js +0 -9
- package/lib/modules/device-settings/dialog-wrapper.d.ts +0 -2
- package/lib/modules/device-settings/dialog-wrapper.js +0 -110
- package/lib/modules/device-settings/general-settings/general-settings.d.ts +0 -4
- package/lib/modules/device-settings/general-settings/general-settings.js +0 -66
- package/lib/modules/device-settings/general-settings/index.css +0 -26
- package/lib/modules/device-settings/index.css +0 -109
- package/lib/modules/device-settings/index.d.ts +0 -21
- package/lib/modules/device-settings/index.dev.js +0 -112
- package/lib/modules/device-settings/index.js +0 -84
- package/lib/modules/device-settings/state/index.css +0 -211
- package/lib/modules/device-settings/state/index.d.ts +0 -4
- package/lib/modules/device-settings/state/index.js +0 -330
- package/lib/modules/device-settings/storage-settings/index.css +0 -91
- package/lib/modules/device-settings/storage-settings/storage-settings.d.ts +0 -3
- package/lib/modules/device-settings/storage-settings/storage-settings.js +0 -84
- package/lib/modules/device-settings/store.d.ts +0 -205
- package/lib/modules/device-settings/store.js +0 -1035
- package/lib/modules/device-settings/video-settings/camera-select.d.ts +0 -2
- package/lib/modules/device-settings/video-settings/index.css +0 -327
- package/lib/modules/device-settings/video-settings/local-video-player.d.ts +0 -3
- package/lib/modules/device-settings/video-settings/local-video-player.js +0 -37
- package/lib/modules/device-settings/video-settings/mirror-toggle.d.ts +0 -2
- package/lib/modules/device-settings/video-settings/mirror-toggle.js +0 -62
- package/lib/modules/device-settings/video-settings/video-settings-basic.d.ts +0 -9
- package/lib/modules/device-settings/video-settings/video-settings-basic.js +0 -177
- package/lib/modules/device-settings/video-settings/video-settings.d.ts +0 -6
- package/lib/modules/device-settings/video-settings/video-settings.js +0 -185
- package/lib/modules/device-settings/view.d.ts +0 -10
- package/lib/modules/device-settings/view.js +0 -193
- package/lib/modules/layout/components/UserWindow.d.ts +0 -8
- package/lib/modules/layout/components/UserWindow.js +0 -513
- package/lib/modules/layout/hooks.d.ts +0 -14
- package/lib/modules/layout/hooks.js +0 -48
- package/lib/modules/share-screen/context.d.ts +0 -3
- package/lib/modules/share-screen/context.js +0 -9
- package/lib/modules/whiteboard/i18n/config.d.ts +0 -1
- package/lib/modules/whiteboard/i18n/config.js +0 -15
- package/lib/modules/whiteboard/i18n/en/index.d.ts +0 -32
- package/lib/modules/whiteboard/i18n/en/index.js +0 -38
- package/lib/modules/whiteboard/i18n/zh/index.d.ts +0 -32
- package/lib/modules/whiteboard/i18n/zh/index.js +0 -38
- /package/lib/{modules/device-settings/index.dev.d.ts → electron/preload.d.ts} +0 -0
|
@@ -12,6 +12,8 @@ require("core-js/modules/es.number.constructor.js");
|
|
|
12
12
|
require("core-js/modules/es.object.create.js");
|
|
13
13
|
require("core-js/modules/es.object.define-property.js");
|
|
14
14
|
require("core-js/modules/es.object.get-own-property-descriptor.js");
|
|
15
|
+
require("core-js/modules/esnext.function.metadata.js");
|
|
16
|
+
require("core-js/modules/esnext.symbol.metadata.js");
|
|
15
17
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
16
18
|
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
17
19
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -36,12 +38,63 @@ require("core-js/modules/es.set.js");
|
|
|
36
38
|
require("core-js/modules/es.string.includes.js");
|
|
37
39
|
require("core-js/modules/es.string.iterator.js");
|
|
38
40
|
require("core-js/modules/es.weak-map.js");
|
|
41
|
+
require("core-js/modules/esnext.async-iterator.filter.js");
|
|
42
|
+
require("core-js/modules/esnext.async-iterator.find.js");
|
|
43
|
+
require("core-js/modules/esnext.async-iterator.for-each.js");
|
|
44
|
+
require("core-js/modules/esnext.async-iterator.map.js");
|
|
45
|
+
require("core-js/modules/esnext.async-iterator.some.js");
|
|
46
|
+
require("core-js/modules/esnext.iterator.constructor.js");
|
|
47
|
+
require("core-js/modules/esnext.iterator.filter.js");
|
|
48
|
+
require("core-js/modules/esnext.iterator.find.js");
|
|
49
|
+
require("core-js/modules/esnext.iterator.for-each.js");
|
|
50
|
+
require("core-js/modules/esnext.iterator.map.js");
|
|
51
|
+
require("core-js/modules/esnext.iterator.some.js");
|
|
52
|
+
require("core-js/modules/esnext.map.delete-all.js");
|
|
53
|
+
require("core-js/modules/esnext.map.emplace.js");
|
|
54
|
+
require("core-js/modules/esnext.map.every.js");
|
|
55
|
+
require("core-js/modules/esnext.map.filter.js");
|
|
56
|
+
require("core-js/modules/esnext.map.find.js");
|
|
57
|
+
require("core-js/modules/esnext.map.find-key.js");
|
|
58
|
+
require("core-js/modules/esnext.map.includes.js");
|
|
59
|
+
require("core-js/modules/esnext.map.key-of.js");
|
|
60
|
+
require("core-js/modules/esnext.map.map-keys.js");
|
|
61
|
+
require("core-js/modules/esnext.map.map-values.js");
|
|
62
|
+
require("core-js/modules/esnext.map.merge.js");
|
|
63
|
+
require("core-js/modules/esnext.map.reduce.js");
|
|
64
|
+
require("core-js/modules/esnext.map.some.js");
|
|
65
|
+
require("core-js/modules/esnext.map.update.js");
|
|
66
|
+
require("core-js/modules/esnext.set.add-all.js");
|
|
67
|
+
require("core-js/modules/esnext.set.delete-all.js");
|
|
68
|
+
require("core-js/modules/esnext.set.difference.v2.js");
|
|
69
|
+
require("core-js/modules/esnext.set.difference.js");
|
|
70
|
+
require("core-js/modules/esnext.set.every.js");
|
|
71
|
+
require("core-js/modules/esnext.set.filter.js");
|
|
72
|
+
require("core-js/modules/esnext.set.find.js");
|
|
73
|
+
require("core-js/modules/esnext.set.intersection.v2.js");
|
|
74
|
+
require("core-js/modules/esnext.set.intersection.js");
|
|
75
|
+
require("core-js/modules/esnext.set.is-disjoint-from.v2.js");
|
|
76
|
+
require("core-js/modules/esnext.set.is-disjoint-from.js");
|
|
77
|
+
require("core-js/modules/esnext.set.is-subset-of.v2.js");
|
|
78
|
+
require("core-js/modules/esnext.set.is-subset-of.js");
|
|
79
|
+
require("core-js/modules/esnext.set.is-superset-of.v2.js");
|
|
80
|
+
require("core-js/modules/esnext.set.is-superset-of.js");
|
|
81
|
+
require("core-js/modules/esnext.set.join.js");
|
|
82
|
+
require("core-js/modules/esnext.set.map.js");
|
|
83
|
+
require("core-js/modules/esnext.set.reduce.js");
|
|
84
|
+
require("core-js/modules/esnext.set.some.js");
|
|
85
|
+
require("core-js/modules/esnext.set.symmetric-difference.v2.js");
|
|
86
|
+
require("core-js/modules/esnext.set.symmetric-difference.js");
|
|
87
|
+
require("core-js/modules/esnext.set.union.v2.js");
|
|
88
|
+
require("core-js/modules/esnext.set.union.js");
|
|
89
|
+
require("core-js/modules/esnext.weak-map.delete-all.js");
|
|
90
|
+
require("core-js/modules/esnext.weak-map.emplace.js");
|
|
39
91
|
require("core-js/modules/web.dom-collections.for-each.js");
|
|
40
92
|
require("core-js/modules/web.dom-collections.iterator.js");
|
|
41
93
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
42
94
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
43
95
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
44
96
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
97
|
+
var _agoraEduCore = require("agora-edu-core");
|
|
45
98
|
var _type = require("agora-edu-core/lib/type");
|
|
46
99
|
var _logger = require("agora-foundation/lib/logger");
|
|
47
100
|
var _type2 = require("agora-rte-sdk/lib/core/scene/type");
|
|
@@ -56,10 +109,11 @@ var _memberListDataSource = require("./member-list-data-source");
|
|
|
56
109
|
var _type4 = require("./type");
|
|
57
110
|
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
58
111
|
var _i18n2 = require("../../hooks/i18n");
|
|
112
|
+
var _type5 = require("agora-edu-core/lib/room-control/user-control/type");
|
|
59
113
|
var _ParticipantStore;
|
|
60
|
-
var _initProto, _init__mainList, _init__participantsWindowActive, _init_currentPerspectiveType, _init_audioVolumeMap, _init_enableParticipantsJoinWithMute, _init_searchText, _init_currentModal, _init_localUserRole, _init_spotlightStreamId, _init_enableSpotlight, _init_mergeConfirmDialog, _init_mergeUserId, _setSpotlightStreamIdDecs,
|
|
61
|
-
function _classPrivateFieldInitSpec(
|
|
62
|
-
function _checkPrivateRedeclaration(
|
|
114
|
+
var _initProto, _init__mainList, _init__participantsWindowActive, _init_currentPerspectiveType, _init_audioVolumeMap, _init_enableParticipantsJoinWithMute, _init_searchText, _init_currentModal, _init_localUserRole, _init_spotlightStreamId, _init_enableSpotlight, _init_mergeConfirmDialog, _init_mergeUserId, _setSpotlightStreamIdDecs, _setCurrentModalDecs, _openParticipantsWindowDecs, _setParticipantsWindowActiveDecs, _handlerSearchUserDecs, _getAllowedOperationsDecs, _handlerUserActionDecs, _handlerRoomControlActionDecs, _handleEventDecs, _kickOutUserDecs, _setAsAttendeeDecs, _onAudioVolumeUpdatedDecs, _handleRemoteUserJoinedDecs, _handleRemoteUserLeftDecs, _onUserInfoUpdatedDecs, _initUserListDecs, _refreshCurrentPerspectiveTypeDecs, _onPeerSessionReceivedDecs, _updateLocalUserRoleDecs, _ref;
|
|
115
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
|
116
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
|
63
117
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
|
64
118
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
|
65
119
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
|
@@ -85,7 +139,7 @@ var _J = /*#__PURE__*/new WeakMap();
|
|
|
85
139
|
var _K = /*#__PURE__*/new WeakMap();
|
|
86
140
|
var _L = /*#__PURE__*/new WeakMap();
|
|
87
141
|
var _M = /*#__PURE__*/new WeakMap();
|
|
88
|
-
_ref = (_setSpotlightStreamIdDecs = [_mobx.action, _mobx.action.bound],
|
|
142
|
+
_ref = (_setSpotlightStreamIdDecs = [_mobx.action, _mobx.action.bound], _setCurrentModalDecs = [_mobx.action, _mobx.action.bound], _openParticipantsWindowDecs = [_mobx.action, _mobx.action.bound], _setParticipantsWindowActiveDecs = [_mobx.action, _mobx.action.bound], _handlerSearchUserDecs = [_mobx.action, _mobx.action.bound], _getAllowedOperationsDecs = [_mobx.action, _mobx.action.bound], _handlerUserActionDecs = [_mobx.action, _mobx.action.bound], _handlerRoomControlActionDecs = [_mobx.action, _mobx.action.bound], _handleEventDecs = [_mobx.action, _mobx.action.bound], _kickOutUserDecs = [_mobx.action, _mobx.action.bound], _setAsAttendeeDecs = [_mobx.action, _mobx.action.bound], _onAudioVolumeUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleRemoteUserJoinedDecs = [_mobx.action, _mobx.action.bound], _handleRemoteUserLeftDecs = [_mobx.action, _mobx.action.bound], _onUserInfoUpdatedDecs = [_mobx.action, _mobx.action.bound], _initUserListDecs = [_mobx.action, _mobx.action.bound], _refreshCurrentPerspectiveTypeDecs = [_mobx.action, _mobx.action.bound], _onPeerSessionReceivedDecs = [_mobx.action, _mobx.action.bound], _updateLocalUserRoleDecs = [_mobx.action, _mobx.action.bound], "logger");
|
|
89
143
|
var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
90
144
|
function ParticipantStore(_ref2) {
|
|
91
145
|
var _this = this;
|
|
@@ -102,24 +156,11 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
102
156
|
(0, _defineProperty2["default"])(this, "_disposers", []);
|
|
103
157
|
(0, _defineProperty2["default"])(this, "_unmuteAudioTimestamp", new Map());
|
|
104
158
|
(0, _defineProperty2["default"])(this, "_unmuteVideoTimestamp", new Map());
|
|
105
|
-
_classPrivateFieldInitSpec(this, _B, _init__mainList(this, []));
|
|
106
|
-
_classPrivateFieldInitSpec(this, _C, _init__participantsWindowActive(this, false));
|
|
107
|
-
_classPrivateFieldInitSpec(this, _D, _init_currentPerspectiveType(this, 'attendee'));
|
|
108
|
-
_classPrivateFieldInitSpec(this, _E, _init_audioVolumeMap(this, new Map()));
|
|
109
|
-
_classPrivateFieldInitSpec(this, _A, _type.FcrMediaSourceState.STOPPED);
|
|
110
|
-
_classPrivateFieldInitSpec(this, _F, _init_enableParticipantsJoinWithMute(this, false));
|
|
111
|
-
_classPrivateFieldInitSpec(this, _G, _init_searchText(this, ''));
|
|
112
|
-
_classPrivateFieldInitSpec(this, _H, _init_currentModal(this, 'modal'));
|
|
113
|
-
_classPrivateFieldInitSpec(this, _I, _init_localUserRole(this));
|
|
114
|
-
_classPrivateFieldInitSpec(this, _J, _init_spotlightStreamId(this, ''));
|
|
115
|
-
_classPrivateFieldInitSpec(this, _K, _init_enableSpotlight(this, true));
|
|
116
|
-
_classPrivateFieldInitSpec(this, _L, _init_mergeConfirmDialog(this, false));
|
|
117
|
-
_classPrivateFieldInitSpec(this, _M, _init_mergeUserId(this, ''));
|
|
118
159
|
(0, _defineProperty2["default"])(this, "_processedUserOpenDeviceRequests", new Set());
|
|
119
160
|
(0, _defineProperty2["default"])(this, "_streamsObserver", {
|
|
120
161
|
onStreamsAdded: this._handleStreamsAdded,
|
|
121
162
|
onStreamsUpdated: this._handleStreamsUpdated,
|
|
122
|
-
|
|
163
|
+
onStreamVolumeIndicationUpdated: this._onAudioVolumeUpdated,
|
|
123
164
|
onStreamsRemoved: this._handleStreamsRemoved
|
|
124
165
|
});
|
|
125
166
|
(0, _defineProperty2["default"])(this, "_peerSessionObserver", {
|
|
@@ -136,10 +177,26 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
136
177
|
onEvent: this._handleEvent
|
|
137
178
|
});
|
|
138
179
|
(0, _defineProperty2["default"])(this, "_whitebaordObderver", {
|
|
139
|
-
|
|
140
|
-
_this._updateUserBoardState(
|
|
180
|
+
onActive: function onActive(ownerId, operatorUser) {
|
|
181
|
+
_this._updateUserBoardState(operatorUser);
|
|
182
|
+
},
|
|
183
|
+
onInactive: function onInactive(reason, operatorUser) {
|
|
184
|
+
_this._updateUserBoardState(operatorUser);
|
|
141
185
|
}
|
|
142
186
|
});
|
|
187
|
+
_classPrivateFieldInitSpec(this, _B, _init__mainList(this, []));
|
|
188
|
+
_classPrivateFieldInitSpec(this, _C, _init__participantsWindowActive(this, false));
|
|
189
|
+
_classPrivateFieldInitSpec(this, _D, _init_currentPerspectiveType(this, 'attendee'));
|
|
190
|
+
_classPrivateFieldInitSpec(this, _E, _init_audioVolumeMap(this, new Map()));
|
|
191
|
+
_classPrivateFieldInitSpec(this, _A, _agoraEduCore.FcrMediaSourceState.STOPPED);
|
|
192
|
+
_classPrivateFieldInitSpec(this, _F, _init_enableParticipantsJoinWithMute(this, false));
|
|
193
|
+
_classPrivateFieldInitSpec(this, _G, _init_searchText(this, ''));
|
|
194
|
+
_classPrivateFieldInitSpec(this, _H, _init_currentModal(this, 'modal'));
|
|
195
|
+
_classPrivateFieldInitSpec(this, _I, _init_localUserRole(this));
|
|
196
|
+
_classPrivateFieldInitSpec(this, _J, _init_spotlightStreamId(this, ''));
|
|
197
|
+
_classPrivateFieldInitSpec(this, _K, _init_enableSpotlight(this, true));
|
|
198
|
+
_classPrivateFieldInitSpec(this, _L, _init_mergeConfirmDialog(this, false));
|
|
199
|
+
_classPrivateFieldInitSpec(this, _M, _init_mergeUserId(this, ''));
|
|
143
200
|
(0, _defineProperty2["default"])(this, "checkIsPin", (0, _mobxUtils.computedFn)(function (userId) {
|
|
144
201
|
var _this$userMap$get;
|
|
145
202
|
return !!((_this$userMap$get = _this.userMap.get(userId)) !== null && _this$userMap$get !== void 0 && _this$userMap$get.streams.some(function (stream) {
|
|
@@ -154,23 +211,23 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
154
211
|
});
|
|
155
212
|
var isSelf = user.userId === _this._userControl.getLocalUser().userId;
|
|
156
213
|
var hasAudioPublishedAndStarted = function hasAudioPublishedAndStarted(stream) {
|
|
157
|
-
return (stream === null || stream === void 0 ? void 0 : stream.audioSourceState) ===
|
|
214
|
+
return (stream === null || stream === void 0 ? void 0 : stream.audioSourceState) === _agoraEduCore.FcrMediaSourceState.STARTED && ((stream === null || stream === void 0 ? void 0 : stream.streamType) === _type2.AgoraRteMediaStreamType.AUDIO || (stream === null || stream === void 0 ? void 0 : stream.streamType) === _type2.AgoraRteMediaStreamType.BOTH);
|
|
158
215
|
};
|
|
159
216
|
var hasVideoPublishedAndStarted = function hasVideoPublishedAndStarted(stream) {
|
|
160
|
-
return (stream === null || stream === void 0 ? void 0 : stream.videoSourceState) ===
|
|
217
|
+
return (stream === null || stream === void 0 ? void 0 : stream.videoSourceState) === _agoraEduCore.FcrMediaSourceState.STARTED && ((stream === null || stream === void 0 ? void 0 : stream.streamType) === _type2.AgoraRteMediaStreamType.VIDEO || (stream === null || stream === void 0 ? void 0 : stream.streamType) === _type2.AgoraRteMediaStreamType.BOTH);
|
|
161
218
|
};
|
|
162
219
|
var hasAudio = false;
|
|
163
220
|
var hasVideo = false;
|
|
164
221
|
var audioDeviceType = 'none';
|
|
165
222
|
var videoDeviceType = 'none';
|
|
166
223
|
var userType = 'normal';
|
|
167
|
-
if (user.userInfo.connectorType ===
|
|
224
|
+
if (user.userInfo.connectorType === _agoraEduCore.FcrRoomConnectorType.NONE) {
|
|
168
225
|
var defaultStream = targetUsers.find(function (user) {
|
|
169
226
|
return user.videoSourceType === _type3.AgoraRteVideoSourceType.CAMERA;
|
|
170
227
|
});
|
|
171
228
|
var pstnStream = targetUsers.find(function (_ref3) {
|
|
172
229
|
var connectorType = _ref3.connectorType;
|
|
173
|
-
return connectorType ==
|
|
230
|
+
return connectorType == _agoraEduCore.FcrRoomConnectorType.PSTN;
|
|
174
231
|
});
|
|
175
232
|
videoDeviceType = 'computer-cam';
|
|
176
233
|
hasVideo = isSelf ? _this._deviceStore.cameraEnabled : hasVideoPublishedAndStarted(defaultStream);
|
|
@@ -189,10 +246,10 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
189
246
|
}
|
|
190
247
|
}
|
|
191
248
|
// 2.sip user with camera and phone mic
|
|
192
|
-
else if ([
|
|
249
|
+
else if ([_agoraEduCore.FcrRoomConnectorType.SIP, _agoraEduCore.FcrRoomConnectorType.H323].includes(user.userInfo.connectorType)) {
|
|
193
250
|
var firstSipOrH323Stream = targetUsers.find(function (_ref4) {
|
|
194
251
|
var connectorType = _ref4.connectorType;
|
|
195
|
-
return [
|
|
252
|
+
return [_agoraEduCore.FcrRoomConnectorType.SIP, _agoraEduCore.FcrRoomConnectorType.H323].includes(connectorType);
|
|
196
253
|
});
|
|
197
254
|
audioDeviceType = 'phone-mic';
|
|
198
255
|
videoDeviceType = 'computer-cam';
|
|
@@ -201,10 +258,10 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
201
258
|
hasVideo = hasVideoPublishedAndStarted(firstSipOrH323Stream);
|
|
202
259
|
}
|
|
203
260
|
// 3.phone user with no camera and phone mic
|
|
204
|
-
else if (user.userInfo.connectorType ===
|
|
261
|
+
else if (user.userInfo.connectorType === _agoraEduCore.FcrRoomConnectorType.PSTN) {
|
|
205
262
|
var _pstnStream = targetUsers.find(function (_ref5) {
|
|
206
263
|
var connectorType = _ref5.connectorType;
|
|
207
|
-
return connectorType ==
|
|
264
|
+
return connectorType == _agoraEduCore.FcrRoomConnectorType.PSTN;
|
|
208
265
|
});
|
|
209
266
|
audioDeviceType = 'phone-mic';
|
|
210
267
|
userType = 'phone';
|
|
@@ -239,7 +296,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
239
296
|
this._userControl.addObserver(this._userObserver);
|
|
240
297
|
this._streamControl.addObserver(this._streamsObserver);
|
|
241
298
|
this._peerSessionControl.addObserver(this._peerSessionObserver);
|
|
242
|
-
this._roomControl.
|
|
299
|
+
this._roomControl.getBoardControl().addObserver(this._whitebaordObderver);
|
|
243
300
|
this._securityStore = securityStore;
|
|
244
301
|
this._uiEventStore = uiEventStore;
|
|
245
302
|
this._deviceStore = deviceStore;
|
|
@@ -353,21 +410,6 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
353
410
|
set: function set(v) {
|
|
354
411
|
_classPrivateFieldSet(_M, this, v);
|
|
355
412
|
}
|
|
356
|
-
}, {
|
|
357
|
-
key: "setSpotlightStreamId",
|
|
358
|
-
value: function setSpotlightStreamId(streamId) {
|
|
359
|
-
this.spotlightStreamId = streamId;
|
|
360
|
-
}
|
|
361
|
-
}, {
|
|
362
|
-
key: "release",
|
|
363
|
-
value: function release() {
|
|
364
|
-
this._userControl.removeObserver(this._userObserver);
|
|
365
|
-
this._streamControl.removeObserver(this._streamsObserver);
|
|
366
|
-
this._uiEventStore.removeObserver(this._eventObserver);
|
|
367
|
-
this._disposers.forEach(function (disposer) {
|
|
368
|
-
return disposer();
|
|
369
|
-
});
|
|
370
|
-
}
|
|
371
413
|
}, {
|
|
372
414
|
key: "userListSource",
|
|
373
415
|
get: function get() {
|
|
@@ -447,6 +489,46 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
447
489
|
return i.isPin;
|
|
448
490
|
});
|
|
449
491
|
}
|
|
492
|
+
}, {
|
|
493
|
+
key: "userList",
|
|
494
|
+
get: function get() {
|
|
495
|
+
var _this3 = this;
|
|
496
|
+
var list = this.userListSource;
|
|
497
|
+
if (this.searchText.length) {
|
|
498
|
+
list = list.filter(function (user) {
|
|
499
|
+
return user.userInfo.userName.toLocaleLowerCase().includes(_this3.searchText.toLocaleLowerCase());
|
|
500
|
+
});
|
|
501
|
+
}
|
|
502
|
+
var uiDataList = list.map(function (user) {
|
|
503
|
+
return _this3._formatUser(user);
|
|
504
|
+
});
|
|
505
|
+
return uiDataList;
|
|
506
|
+
}
|
|
507
|
+
}, {
|
|
508
|
+
key: "localMicVolume",
|
|
509
|
+
get: function get() {
|
|
510
|
+
return this._deviceStore.microphoneVolumeLevel;
|
|
511
|
+
}
|
|
512
|
+
}, {
|
|
513
|
+
key: "hasRevokeHostPermission",
|
|
514
|
+
get: function get() {
|
|
515
|
+
return this._securityStore.hasRevokeHostPermission() && this.localUserRole !== _type.FcrUserRole.HOST;
|
|
516
|
+
}
|
|
517
|
+
}, {
|
|
518
|
+
key: "setSpotlightStreamId",
|
|
519
|
+
value: function setSpotlightStreamId(streamId) {
|
|
520
|
+
this.spotlightStreamId = streamId;
|
|
521
|
+
}
|
|
522
|
+
}, {
|
|
523
|
+
key: "release",
|
|
524
|
+
value: function release() {
|
|
525
|
+
this._userControl.removeObserver(this._userObserver);
|
|
526
|
+
this._streamControl.removeObserver(this._streamsObserver);
|
|
527
|
+
this._uiEventStore.removeObserver(this._eventObserver);
|
|
528
|
+
this._disposers.forEach(function (disposer) {
|
|
529
|
+
return disposer();
|
|
530
|
+
});
|
|
531
|
+
}
|
|
450
532
|
}, {
|
|
451
533
|
key: "hasMutePermission",
|
|
452
534
|
value: function hasMutePermission(targetRole) {
|
|
@@ -462,28 +544,6 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
462
544
|
value: function hasRequestStartAudioPermission(targetRole) {
|
|
463
545
|
return this._securityStore.hasRequestStartAudioPermission(targetRole);
|
|
464
546
|
}
|
|
465
|
-
}, {
|
|
466
|
-
key: "_handleEvent",
|
|
467
|
-
value: function _handleEvent(action, payload) {
|
|
468
|
-
if (action === _constant.UIAction.MAIN_LIST_CHANGED) {
|
|
469
|
-
this._mainList = payload || [];
|
|
470
|
-
}
|
|
471
|
-
if (action === _constant.UIAction.SPOTLIGHT_STREAM_CHANGED) {
|
|
472
|
-
var _ref6 = payload,
|
|
473
|
-
type = _ref6.type,
|
|
474
|
-
streamId = _ref6.streamId;
|
|
475
|
-
if (type === 'add') {
|
|
476
|
-
this.setSpotlightStreamId(streamId);
|
|
477
|
-
} else {
|
|
478
|
-
this.setSpotlightStreamId('');
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
|
-
if (action === _constant.UIAction.CUSTOM_SETTINGS_CHANGED) {
|
|
482
|
-
var _ref7 = payload,
|
|
483
|
-
spotlightEnabled = _ref7.spotlightEnabled;
|
|
484
|
-
this.enableSpotlight = spotlightEnabled;
|
|
485
|
-
}
|
|
486
|
-
}
|
|
487
547
|
}, {
|
|
488
548
|
key: "setCurrentModal",
|
|
489
549
|
value: function setCurrentModal(modal) {
|
|
@@ -529,7 +589,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
529
589
|
}, {
|
|
530
590
|
key: "openConfirmDialog",
|
|
531
591
|
value: function openConfirmDialog(params, id) {
|
|
532
|
-
var
|
|
592
|
+
var _this4 = this;
|
|
533
593
|
var title = params.title,
|
|
534
594
|
content = params.content,
|
|
535
595
|
_onOk = params.onOk,
|
|
@@ -545,30 +605,15 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
545
605
|
cancelText: cancelText,
|
|
546
606
|
height: height,
|
|
547
607
|
onCancel: function onCancel() {
|
|
548
|
-
|
|
608
|
+
_this4._uiEventStore.closeDialog(dialogKey);
|
|
549
609
|
_onCancel && _onCancel();
|
|
550
610
|
},
|
|
551
611
|
onOk: function onOk() {
|
|
552
|
-
|
|
612
|
+
_this4._uiEventStore.closeDialog(dialogKey);
|
|
553
613
|
_onOk();
|
|
554
614
|
}
|
|
555
615
|
});
|
|
556
616
|
}
|
|
557
|
-
}, {
|
|
558
|
-
key: "userList",
|
|
559
|
-
get: function get() {
|
|
560
|
-
var _this4 = this;
|
|
561
|
-
var list = this.userListSource;
|
|
562
|
-
if (this.searchText.length) {
|
|
563
|
-
list = list.filter(function (user) {
|
|
564
|
-
return user.userInfo.userName.toLocaleLowerCase().includes(_this4.searchText.toLocaleLowerCase());
|
|
565
|
-
});
|
|
566
|
-
}
|
|
567
|
-
var uiDataList = list.map(function (user) {
|
|
568
|
-
return _this4._formatUser(user);
|
|
569
|
-
});
|
|
570
|
-
return uiDataList;
|
|
571
|
-
}
|
|
572
617
|
}, {
|
|
573
618
|
key: "setParticipantsWindowActive",
|
|
574
619
|
value: function setParticipantsWindowActive(active) {
|
|
@@ -596,7 +641,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
596
641
|
key: "mergeConfirmDialogOk",
|
|
597
642
|
value: function mergeConfirmDialogOk(userId) {
|
|
598
643
|
var _this$userMap$get2;
|
|
599
|
-
this.
|
|
644
|
+
this._streamControl.mergeAudioStream(userId);
|
|
600
645
|
this.setMergeConfirmDialog(false);
|
|
601
646
|
_toast.FcrToastApi.open({
|
|
602
647
|
id: 'mergeVideo',
|
|
@@ -609,6 +654,39 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
609
654
|
duration: 3000
|
|
610
655
|
});
|
|
611
656
|
}
|
|
657
|
+
}, {
|
|
658
|
+
key: "removePin",
|
|
659
|
+
value: function removePin(userId) {
|
|
660
|
+
var _this$userMap$get3;
|
|
661
|
+
var streamId = (_this$userMap$get3 = this.userMap.get(userId)) === null || _this$userMap$get3 === void 0 || (_this$userMap$get3 = _this$userMap$get3.streams.find(function (stream) {
|
|
662
|
+
return stream.videoSourceType === _type3.AgoraRteVideoSourceType.CAMERA;
|
|
663
|
+
})) === null || _this$userMap$get3 === void 0 ? void 0 : _this$userMap$get3.streamId;
|
|
664
|
+
if (streamId) {
|
|
665
|
+
this._uiEventStore.sendEvent(_constant.UIAction.VIDEO_WINDOW_PIN_ACTION, {
|
|
666
|
+
action: _constant.VideoWindowPinType.REMOVE_PIN,
|
|
667
|
+
streamId: streamId
|
|
668
|
+
});
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
}, {
|
|
672
|
+
key: "addPin",
|
|
673
|
+
value: function addPin(userId) {
|
|
674
|
+
var _this$userMap$get4;
|
|
675
|
+
var streamId = (_this$userMap$get4 = this.userMap.get(userId)) === null || _this$userMap$get4 === void 0 || (_this$userMap$get4 = _this$userMap$get4.streams.find(function (stream) {
|
|
676
|
+
return stream.videoSourceType === _type3.AgoraRteVideoSourceType.CAMERA;
|
|
677
|
+
})) === null || _this$userMap$get4 === void 0 ? void 0 : _this$userMap$get4.streamId;
|
|
678
|
+
if (streamId) {
|
|
679
|
+
this._uiEventStore.sendEvent(_constant.UIAction.VIDEO_WINDOW_PIN_ACTION, {
|
|
680
|
+
action: _constant.VideoWindowPinType.ADD_PIN,
|
|
681
|
+
streamId: streamId
|
|
682
|
+
});
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
}, {
|
|
686
|
+
key: "getAllowedOperations",
|
|
687
|
+
value: function getAllowedOperations(targetRole, isSelf) {
|
|
688
|
+
return this._securityStore.getAllowedOperations(targetRole, isSelf);
|
|
689
|
+
}
|
|
612
690
|
}, {
|
|
613
691
|
key: "handlerUserAction",
|
|
614
692
|
value: function handlerUserAction(action, userId) {
|
|
@@ -663,11 +741,6 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
663
741
|
value: function getMicStreamVolume(streamId) {
|
|
664
742
|
return this.audioVolumeMap.get(streamId) || 0;
|
|
665
743
|
}
|
|
666
|
-
}, {
|
|
667
|
-
key: "localMicVolume",
|
|
668
|
-
get: function get() {
|
|
669
|
-
return this._deviceStore.microphoneVolumeLevel;
|
|
670
|
-
}
|
|
671
744
|
}, {
|
|
672
745
|
key: "handlerRoomControlAction",
|
|
673
746
|
value: function handlerRoomControlAction(action, data) {
|
|
@@ -704,11 +777,33 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
704
777
|
break;
|
|
705
778
|
}
|
|
706
779
|
}
|
|
707
|
-
|
|
708
|
-
|
|
780
|
+
}, {
|
|
781
|
+
key: "_handleEvent",
|
|
782
|
+
value: function _handleEvent(action, payload) {
|
|
783
|
+
if (action === _constant.UIAction.MAIN_LIST_CHANGED) {
|
|
784
|
+
this._mainList = payload || [];
|
|
785
|
+
}
|
|
786
|
+
if (action === _constant.UIAction.SPOTLIGHT_STREAM_CHANGED) {
|
|
787
|
+
var _ref6 = payload,
|
|
788
|
+
type = _ref6.type,
|
|
789
|
+
streamId = _ref6.streamId;
|
|
790
|
+
if (type === 'add') {
|
|
791
|
+
this.setSpotlightStreamId(streamId);
|
|
792
|
+
} else {
|
|
793
|
+
this.setSpotlightStreamId('');
|
|
794
|
+
}
|
|
795
|
+
}
|
|
796
|
+
if (action === _constant.UIAction.CUSTOM_SETTINGS_CHANGED) {
|
|
797
|
+
var _ref7 = payload,
|
|
798
|
+
spotlightEnabled = _ref7.spotlightEnabled;
|
|
799
|
+
this.enableSpotlight = spotlightEnabled;
|
|
800
|
+
}
|
|
801
|
+
}
|
|
709
802
|
}, {
|
|
710
803
|
key: "_muteUserAudio",
|
|
711
|
-
value:
|
|
804
|
+
value:
|
|
805
|
+
// user actions
|
|
806
|
+
function _muteUserAudio(user) {
|
|
712
807
|
var isSelf = user === this._userControl.getLocalUser().userId;
|
|
713
808
|
if (isSelf) {
|
|
714
809
|
this._deviceStreamStore.enableMicrophoneWithStream(false);
|
|
@@ -721,8 +816,8 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
721
816
|
return;
|
|
722
817
|
}
|
|
723
818
|
this._streamControl.updatePublishPrivilegeOfStreams((0, _defineProperty2["default"])({}, targetUser.streamId, {
|
|
724
|
-
audioPrivilege:
|
|
725
|
-
videoPrivilege:
|
|
819
|
+
audioPrivilege: _agoraEduCore.FcrStreamPrivilegeOperation.NOPRIVILEGE,
|
|
820
|
+
videoPrivilege: _agoraEduCore.FcrStreamPrivilegeOperation.NOOPERATION
|
|
726
821
|
}));
|
|
727
822
|
}
|
|
728
823
|
}
|
|
@@ -771,8 +866,8 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
771
866
|
return;
|
|
772
867
|
}
|
|
773
868
|
this._streamControl.updatePublishPrivilegeOfStreams((0, _defineProperty2["default"])({}, targetUser.streamId, {
|
|
774
|
-
audioPrivilege:
|
|
775
|
-
videoPrivilege:
|
|
869
|
+
audioPrivilege: _agoraEduCore.FcrStreamPrivilegeOperation.NOOPERATION,
|
|
870
|
+
videoPrivilege: _agoraEduCore.FcrStreamPrivilegeOperation.NOPRIVILEGE
|
|
776
871
|
}));
|
|
777
872
|
}
|
|
778
873
|
}
|
|
@@ -826,50 +921,22 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
826
921
|
key: "_kickOutUser",
|
|
827
922
|
value: function _kickOutUser(userId) {
|
|
828
923
|
var _this5 = this,
|
|
829
|
-
_this$userMap$
|
|
924
|
+
_this$userMap$get5;
|
|
830
925
|
this.openConfirmDialog({
|
|
831
926
|
title: '',
|
|
832
927
|
onCancel: function onCancel() {
|
|
833
928
|
_this5._uiEventStore.closeConfirmDialog();
|
|
834
929
|
},
|
|
835
930
|
content: (0, _i18n.transI18n)('fmt_uimanager_tips_Remove', {
|
|
836
|
-
reason2: (_this$userMap$
|
|
931
|
+
reason2: (_this$userMap$get5 = this.userMap.get(userId)) === null || _this$userMap$get5 === void 0 ? void 0 : _this$userMap$get5.userInfo.userName
|
|
837
932
|
}),
|
|
838
933
|
onOk: function onOk() {
|
|
839
|
-
_this5._userControl.kickOut(userId,
|
|
934
|
+
_this5._userControl.kickOut(userId, _type5.FcrUserKickOutType.Once);
|
|
840
935
|
_this5._uiEventStore.closeConfirmDialog();
|
|
841
936
|
},
|
|
842
937
|
height: 160
|
|
843
938
|
}, 'KICK_OUT');
|
|
844
939
|
}
|
|
845
|
-
}, {
|
|
846
|
-
key: "removePin",
|
|
847
|
-
value: function removePin(userId) {
|
|
848
|
-
var _this$userMap$get4;
|
|
849
|
-
var streamId = (_this$userMap$get4 = this.userMap.get(userId)) === null || _this$userMap$get4 === void 0 || (_this$userMap$get4 = _this$userMap$get4.streams.find(function (stream) {
|
|
850
|
-
return stream.videoSourceType === _type3.AgoraRteVideoSourceType.CAMERA;
|
|
851
|
-
})) === null || _this$userMap$get4 === void 0 ? void 0 : _this$userMap$get4.streamId;
|
|
852
|
-
if (streamId) {
|
|
853
|
-
this._uiEventStore.sendEvent(_constant.UIAction.VIDEO_WINDOW_PIN_ACTION, {
|
|
854
|
-
action: _constant.VideoWindowPinType.REMOVE_PIN,
|
|
855
|
-
streamId: streamId
|
|
856
|
-
});
|
|
857
|
-
}
|
|
858
|
-
}
|
|
859
|
-
}, {
|
|
860
|
-
key: "addPin",
|
|
861
|
-
value: function addPin(userId) {
|
|
862
|
-
var _this$userMap$get5;
|
|
863
|
-
var streamId = (_this$userMap$get5 = this.userMap.get(userId)) === null || _this$userMap$get5 === void 0 || (_this$userMap$get5 = _this$userMap$get5.streams.find(function (stream) {
|
|
864
|
-
return stream.videoSourceType === _type3.AgoraRteVideoSourceType.CAMERA;
|
|
865
|
-
})) === null || _this$userMap$get5 === void 0 ? void 0 : _this$userMap$get5.streamId;
|
|
866
|
-
if (streamId) {
|
|
867
|
-
this._uiEventStore.sendEvent(_constant.UIAction.VIDEO_WINDOW_PIN_ACTION, {
|
|
868
|
-
action: _constant.VideoWindowPinType.ADD_PIN,
|
|
869
|
-
streamId: streamId
|
|
870
|
-
});
|
|
871
|
-
}
|
|
872
|
-
}
|
|
873
940
|
}, {
|
|
874
941
|
key: "_handleSetHostOrCoHost",
|
|
875
942
|
value: function _handleSetHostOrCoHost(userId, type) {
|
|
@@ -896,7 +963,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
896
963
|
});
|
|
897
964
|
return;
|
|
898
965
|
}
|
|
899
|
-
_this6._userControl.
|
|
966
|
+
_this6._userControl.updateRemoteUserRole(userId, type === 'host' ? _type.FcrUserRole.HOST : _type.FcrUserRole.COHOST);
|
|
900
967
|
_this6._uiEventStore.closeConfirmDialog();
|
|
901
968
|
},
|
|
902
969
|
okText: (0, _i18n.transI18n)('fmt_uimanager_labels_Setas', {
|
|
@@ -919,7 +986,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
919
986
|
}, {
|
|
920
987
|
key: "_setAsAttendee",
|
|
921
988
|
value: function _setAsAttendee(userId) {
|
|
922
|
-
this._userControl.
|
|
989
|
+
this._userControl.updateRemoteUserRole(userId, _type.FcrUserRole.PARTICIPANT);
|
|
923
990
|
}
|
|
924
991
|
|
|
925
992
|
// room control actions
|
|
@@ -961,17 +1028,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
961
1028
|
if (!this._securityStore.hasRevokeHostPermission() || this._userControl.getLocalUser().userRole === _type.FcrUserRole.HOST) {
|
|
962
1029
|
return;
|
|
963
1030
|
}
|
|
964
|
-
|
|
965
|
-
// find current host
|
|
966
|
-
var hostUser;
|
|
967
|
-
this.userMap.forEach(function (user) {
|
|
968
|
-
if (user.userInfo.userRole === _type.FcrUserRole.HOST) {
|
|
969
|
-
hostUser = user.userInfo;
|
|
970
|
-
}
|
|
971
|
-
});
|
|
972
|
-
if (hostUser) {
|
|
973
|
-
this._userControl.revokeHost(hostUser.userId);
|
|
974
|
-
}
|
|
1031
|
+
this._userControl.revokeHost();
|
|
975
1032
|
}
|
|
976
1033
|
}, {
|
|
977
1034
|
key: "_playJoinLeaveSound",
|
|
@@ -1008,17 +1065,16 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1008
1065
|
}, {
|
|
1009
1066
|
key: "_onAudioVolumeUpdated",
|
|
1010
1067
|
value: function _onAudioVolumeUpdated(roomId, streamId, volume) {
|
|
1011
|
-
var
|
|
1012
|
-
|
|
1013
|
-
if (!user) {
|
|
1068
|
+
var stream = this._streamControl.getStreamByStreamId(streamId);
|
|
1069
|
+
if (!stream) {
|
|
1014
1070
|
return;
|
|
1015
1071
|
}
|
|
1016
|
-
this.audioVolumeMap.set(
|
|
1072
|
+
this.audioVolumeMap.set(stream.owner.userId, volume);
|
|
1017
1073
|
}
|
|
1018
1074
|
}, {
|
|
1019
1075
|
key: "_updateUserBoardState",
|
|
1020
1076
|
value: function _updateUserBoardState(modifiedUser) {
|
|
1021
|
-
var _this$_roomControl$ge = this._roomControl.
|
|
1077
|
+
var _this$_roomControl$ge = this._roomControl.getBoardControl().getBoardActiveInfo(),
|
|
1022
1078
|
isActive = _this$_roomControl$ge.isActive,
|
|
1023
1079
|
ownerUserId = _this$_roomControl$ge.ownerUserId;
|
|
1024
1080
|
if (!ownerUserId && !modifiedUser) return;
|
|
@@ -1150,16 +1206,6 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1150
1206
|
}
|
|
1151
1207
|
this.currentPerspectiveType = 'attendee';
|
|
1152
1208
|
}
|
|
1153
|
-
}, {
|
|
1154
|
-
key: "hasRevokeHostPermission",
|
|
1155
|
-
get: function get() {
|
|
1156
|
-
return this._securityStore.hasRevokeHostPermission() && this.localUserRole !== _type.FcrUserRole.HOST;
|
|
1157
|
-
}
|
|
1158
|
-
}, {
|
|
1159
|
-
key: "getAllowedOperations",
|
|
1160
|
-
value: function getAllowedOperations(targetRole, isSelf) {
|
|
1161
|
-
return this._securityStore.getAllowedOperations(targetRole, isSelf);
|
|
1162
|
-
}
|
|
1163
1209
|
}, {
|
|
1164
1210
|
key: "_onPeerSessionReceived",
|
|
1165
1211
|
value: function _onPeerSessionReceived(session) {
|
|
@@ -1318,7 +1364,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1318
1364
|
}]);
|
|
1319
1365
|
}();
|
|
1320
1366
|
_ParticipantStore = ParticipantStore;
|
|
1321
|
-
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_ParticipantStore, [[_mobx.observable, 1, "_mainList"], [_mobx.observable, 1, "_participantsWindowActive"], [_mobx.observable, 1, "currentPerspectiveType"], [_mobx.observable, 1, "audioVolumeMap"], [_mobx.observable, 1, "enableParticipantsJoinWithMute"], [_mobx.observable, 1, "searchText"], [_mobx.observable, 1, "currentModal"], [_mobx.observable, 1, "localUserRole"], [_mobx.observable, 1, "spotlightStreamId"], [_mobx.observable, 1, "enableSpotlight"], [_mobx.observable, 1, "mergeConfirmDialog"], [_mobx.observable, 1, "mergeUserId"], [
|
|
1367
|
+
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_ParticipantStore, [[_mobx.observable, 1, "_mainList"], [_mobx.observable, 1, "_participantsWindowActive"], [_mobx.observable, 1, "currentPerspectiveType"], [_mobx.observable, 1, "audioVolumeMap"], [_mobx.observable, 1, "enableParticipantsJoinWithMute"], [_mobx.observable, 1, "searchText"], [_mobx.observable, 1, "currentModal"], [_mobx.observable, 1, "localUserRole"], [_mobx.observable, 1, "spotlightStreamId"], [_mobx.observable, 1, "enableSpotlight"], [_mobx.observable, 1, "mergeConfirmDialog"], [_mobx.observable, 1, "mergeUserId"], [_mobx.computed, 3, "userListSource"], [_mobx.computed, 3, "mergeUserInfo"], [_mobx.computed, 3, "userMap"], [_mobx.computed, 3, "pinedStreamIds"], [_mobx.computed, 3, "hasPinnedStream"], [_mobx.computed, 3, "userList"], [_mobx.computed, 3, "localMicVolume"], [_mobx.computed, 3, "hasRevokeHostPermission"], [_setSpotlightStreamIdDecs, 18, "setSpotlightStreamId"], [_decorator.bound, 2, "hasMutePermission"], [_decorator.bound, 2, "hasUnmutePermission"], [_decorator.bound, 2, "hasRequestStartAudioPermission"], [_setCurrentModalDecs, 18, "setCurrentModal"], [_decorator.bound, 2, "closeParticipantsAside"], [_openParticipantsWindowDecs, 18, "openParticipantsWindow"], [_setParticipantsWindowActiveDecs, 18, "setParticipantsWindowActive"], [_handlerSearchUserDecs, 18, "handlerSearchUser"], [_decorator.bound, 2, "onInvite"], [_decorator.bound, 2, "setMergeConfirmDialog"], [_decorator.bound, 2, "mergeConfirmDialogOk"], [_decorator.bound, 2, "removePin"], [_decorator.bound, 2, "addPin"], [_getAllowedOperationsDecs, 18, "getAllowedOperations"], [_handlerUserActionDecs, 18, "handlerUserAction"], [_decorator.bound, 2, "getMicStreamVolume"], [_handlerRoomControlActionDecs, 18, "handlerRoomControlAction"], [_handleEventDecs, 18, "_handleEvent"], [_kickOutUserDecs, 18, "_kickOutUser"], [_setAsAttendeeDecs, 18, "_setAsAttendee"], [_onAudioVolumeUpdatedDecs, 18, "_onAudioVolumeUpdated"], [_handleRemoteUserJoinedDecs, 18, "_handleRemoteUserJoined"], [_handleRemoteUserLeftDecs, 18, "_handleRemoteUserLeft"], [_onUserInfoUpdatedDecs, 18, "_onUserInfoUpdated"], [_initUserListDecs, 18, "_initUserList"], [_decorator.bound, 2, "_handleStreamsAdded"], [_decorator.bound, 2, "_handleStreamsUpdated"], [_decorator.bound, 2, "_handleStreamsRemoved"], [_refreshCurrentPerspectiveTypeDecs, 18, "_refreshCurrentPerspectiveType"], [_onPeerSessionReceivedDecs, 18, "_onPeerSessionReceived"], [_updateLocalUserRoleDecs, 18, "_updateLocalUserRole"]], []).e, 13);
|
|
1322
1368
|
_init__mainList = _applyDecs$e[0];
|
|
1323
1369
|
_init__participantsWindowActive = _applyDecs$e[1];
|
|
1324
1370
|
_init_currentPerspectiveType = _applyDecs$e[2];
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
export declare const MuteAllDialog: ({ getContainer, allowUnmuteSelfAudio, allowJoinWithMuteAudio, showMuteAllDialog, onCancel, onOk, onClose, }: {
|
|
3
|
-
getContainer?: (
|
|
4
|
-
allowUnmuteSelfAudio?: boolean
|
|
5
|
-
allowJoinWithMuteAudio?: boolean
|
|
3
|
+
getContainer?: () => HTMLElement;
|
|
4
|
+
allowUnmuteSelfAudio?: boolean;
|
|
5
|
+
allowJoinWithMuteAudio?: boolean;
|
|
6
6
|
showMuteAllDialog: boolean;
|
|
7
|
-
onCancel?: (
|
|
8
|
-
onClose?: (
|
|
9
|
-
onOk?: (
|
|
7
|
+
onCancel?: () => void;
|
|
8
|
+
onClose?: () => void;
|
|
9
|
+
onOk?: (allowUnmute: boolean, joinWidthMute: boolean) => void;
|
|
10
10
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
export declare const View: () => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -10,6 +10,11 @@ require("core-js/modules/es.object.get-own-property-descriptor.js");
|
|
|
10
10
|
require("core-js/modules/es.object.get-own-property-descriptors.js");
|
|
11
11
|
require("core-js/modules/es.object.keys.js");
|
|
12
12
|
require("core-js/modules/es.object.to-string.js");
|
|
13
|
+
require("core-js/modules/esnext.async-iterator.filter.js");
|
|
14
|
+
require("core-js/modules/esnext.async-iterator.for-each.js");
|
|
15
|
+
require("core-js/modules/esnext.iterator.constructor.js");
|
|
16
|
+
require("core-js/modules/esnext.iterator.filter.js");
|
|
17
|
+
require("core-js/modules/esnext.iterator.for-each.js");
|
|
13
18
|
require("core-js/modules/web.dom-collections.for-each.js");
|
|
14
19
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
15
20
|
Object.defineProperty(exports, "__esModule", {
|