fcr-ui-scene 3.7.5 → 3.7.7
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/installer/icons/icon.png +0 -0
- package/installer/mac/entitlements.mac.plist +1 -5
- package/lib/creator/index.js +15 -7
- package/lib/creator/provider-initializer.browser.js +13 -4
- package/lib/creator/provider-initializer.electron.js +22 -10
- package/lib/creator.d.ts +36 -0
- package/lib/creator.js +465 -0
- package/lib/electron/bootstrap-sdk.js +90 -6
- package/lib/electron/injections.d.ts +1 -0
- package/lib/electron/injections.js +5 -1
- package/lib/electron/ipc/type.d.ts +1 -0
- package/lib/electron/ipc/type.js +1 -0
- package/lib/electron/preload.js +1 -0
- package/lib/electron/sdk-helper.d.ts +3 -0
- package/lib/electron/sdk-helper.js +53 -19
- package/lib/electron/struct.d.ts +7 -1
- package/lib/electron/struct.js +8 -1
- package/lib/electron/until.d.ts +7 -1
- package/lib/electron/until.js +11 -2
- package/lib/fragments/annotation/store.js +2 -0
- package/lib/modules/action-bar/components/item/index.js +1 -0
- package/lib/modules/action-bar/components/more/poppover-content.js +1 -1
- package/lib/modules/action-bar/components/screen-share/index.browser.js +4 -2
- package/lib/modules/action-bar/components/screen-share/index.electron.js +4 -2
- package/lib/modules/action-bar/components/screen-share/submenu.d.ts +5 -1
- package/lib/modules/action-bar/components/screen-share/submenu.js +12 -9
- package/lib/modules/action-bar/index.d.ts +55 -14
- package/lib/modules/action-bar/index.dev.js +94 -0
- package/lib/modules/action-bar/index.js +78 -32
- package/lib/modules/action-bar/store.d.ts +259 -0
- package/lib/modules/action-bar/store.js +1529 -0
- package/lib/modules/action-bar/types.d.ts +90 -0
- package/lib/modules/action-bar/types.js +6 -0
- package/lib/modules/action-bar/view.d.ts +1 -1
- package/lib/modules/action-bar/view.js +2 -2
- package/lib/modules/annotation/annotation-index.d.ts +2 -0
- package/lib/modules/annotation/annotation-index.js +80 -0
- package/lib/modules/annotation/annotation-toolbar-store.d.ts +75 -0
- package/lib/modules/annotation/annotation-toolbar-store.js +459 -0
- package/lib/modules/annotation/board-cursor.css +77 -0
- package/lib/modules/annotation/components/color-picker/components/color.d.ts +5 -0
- package/lib/modules/annotation/components/color-picker/components/color.js +38 -0
- package/lib/modules/annotation/components/color-picker/components/panel.d.ts +1 -0
- package/lib/modules/annotation/components/color-picker/components/panel.js +109 -0
- package/lib/modules/annotation/components/color-picker/components/picker.d.ts +1 -0
- package/lib/modules/annotation/components/color-picker/components/picker.js +75 -0
- package/lib/modules/annotation/components/color-picker/index.d.ts +2 -0
- package/lib/modules/annotation/components/color-picker/index.js +47 -0
- package/lib/modules/annotation/components/eraser-picker.d.ts +4 -0
- package/lib/modules/annotation/components/eraser-picker.js +144 -0
- package/lib/modules/annotation/components/expansion/index.d.ts +1 -0
- package/lib/modules/annotation/components/expansion/index.js +100 -0
- package/lib/modules/annotation/components/extra-tool-picker.d.ts +1 -0
- package/lib/modules/annotation/components/extra-tool-picker.js +62 -0
- package/lib/modules/annotation/components/history.d.ts +2 -0
- package/lib/modules/annotation/components/history.js +78 -0
- package/lib/modules/annotation/components/icons/fold-icon.d.ts +2 -0
- package/lib/modules/annotation/components/icons/fold-icon.js +41 -0
- package/lib/modules/annotation/components/icons/move-icon.d.ts +1 -0
- package/lib/modules/annotation/components/icons/move-icon.js +66 -0
- package/lib/modules/annotation/components/item/index.d.ts +1 -0
- package/lib/modules/annotation/components/item/index.js +43 -0
- package/lib/modules/annotation/components/move-handle.d.ts +5 -0
- package/lib/modules/annotation/components/move-handle.js +134 -0
- package/lib/modules/annotation/components/pen-picker.d.ts +4 -0
- package/lib/modules/annotation/components/pen-picker.js +155 -0
- package/lib/modules/annotation/components/screen-capture-picker.d.ts +4 -0
- package/lib/modules/annotation/components/screen-capture-picker.js +85 -0
- package/lib/modules/annotation/components/shape-picker.d.ts +4 -0
- package/lib/modules/annotation/components/shape-picker.js +210 -0
- package/lib/modules/annotation/hooks/index.d.ts +14 -0
- package/lib/modules/annotation/hooks/index.js +292 -0
- package/lib/modules/annotation/index.d.ts +45 -0
- package/lib/modules/annotation/index.js +168 -0
- package/lib/modules/annotation/store.d.ts +98 -0
- package/lib/modules/annotation/store.js +620 -0
- package/lib/modules/annotation/style.css +36 -0
- package/lib/modules/annotation/view.d.ts +3 -0
- package/lib/modules/annotation/view.js +44 -0
- package/lib/modules/audio-stream/index.js +4 -2
- package/lib/modules/chat/index.css +8 -0
- package/lib/modules/chat/view.js +7 -1
- package/lib/modules/components/control-bar/components/switch-theme/index.css +2 -0
- package/lib/modules/components/control-bar/components/switch-theme/index.js +5 -7
- package/lib/modules/components/control-bar/index.css +0 -2
- package/lib/modules/components/control-bar/index.d.ts +1 -0
- package/lib/modules/components/control-bar/index.js +51 -15
- package/lib/modules/components/device-control/store.d.ts +42 -0
- package/lib/modules/components/device-control/store.js +241 -0
- package/lib/modules/components/leave-meeting/main-scene/store.d.ts +3 -0
- package/lib/modules/components/leave-meeting/main-scene/store.js +12 -0
- package/lib/modules/components/leave-meeting/store.base.d.ts +4 -3
- package/lib/modules/components/leave-meeting/store.base.js +0 -10
- package/lib/modules/components/leave-meeting/store.d.ts +39 -0
- package/lib/modules/components/leave-meeting/store.js +270 -0
- package/lib/modules/components/leave-meeting/waiting-scene/store.d.ts +5 -1
- package/lib/modules/components/leave-meeting/waiting-scene/store.js +17 -3
- package/lib/modules/components/member-window/components/member-actions/components/more-actions.js +1 -2
- package/lib/modules/components/member-window/components/video-player/components/local-video-player-with-zoom.js +4 -3
- package/lib/modules/components/member-window/components/video-player/components/zoomable-container.js +18 -32
- package/lib/modules/components/toolbar/components/capture-tool/index.d.ts +0 -1
- package/lib/modules/components/toolbar/components/capture-tool/index.js +1 -2
- package/lib/modules/components/toolbar/components/vertical-frame/index.js +2 -2
- package/lib/modules/components/toolbar/hooks/use-resize-visible.js +45 -32
- package/lib/modules/components/toolbar/index.js +6 -24
- package/lib/modules/control-bar/components/annotation-button/index.d.ts +1 -0
- package/lib/modules/control-bar/components/annotation-button/index.js +72 -0
- package/lib/modules/control-bar/components/boundary-detector.d.ts +7 -5
- package/lib/modules/control-bar/components/boundary-detector.js +22 -2
- package/lib/modules/control-bar/components/cloud-recording-buttons.d.ts +3 -0
- package/lib/modules/control-bar/components/cloud-recording-buttons.js +68 -3
- package/lib/modules/control-bar/hooks.js +2 -1
- package/lib/modules/control-bar/store.d.ts +1 -0
- package/lib/modules/control-bar/store.js +21 -7
- package/lib/modules/control-bar/types.d.ts +5 -16
- package/lib/modules/control-bar/view.js +96 -28
- package/lib/modules/dialog/components/confirm/index.js +6 -24
- package/lib/modules/dialog/components/dialog-container/component/body.d.ts +1 -0
- package/lib/modules/dialog/components/dialog-container/component/body.js +3 -2
- package/lib/modules/dialog/components/dialog-container/index.css +8 -1
- package/lib/modules/dialog/components/dialog-container/index.d.ts +1 -0
- package/lib/modules/dialog/components/dialog-container/index.js +4 -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/chat/index.js +2 -1
- package/lib/modules/dialog/dialogs/control-bar-leave-meeting/index.js +0 -1
- package/lib/modules/dialog/dialogs/device-setting/index.d.ts +1 -0
- package/lib/modules/dialog/dialogs/device-setting/index.js +4 -2
- package/lib/modules/dialog/dialogs/end-meeting/index.d.ts +1 -0
- package/lib/modules/dialog/dialogs/end-meeting/index.js +2 -1
- package/lib/modules/dialog/dialogs/invite/index.d.ts +1 -0
- package/lib/modules/dialog/dialogs/invite/index.js +2 -1
- package/lib/modules/dialog/dialogs/mute-all/index.d.ts +1 -0
- package/lib/modules/dialog/dialogs/mute-all/index.js +2 -1
- package/lib/modules/dialog/dialogs/participant/index.js +9 -2
- package/lib/modules/dialog/dialogs/pre-setting/index.d.ts +3 -3
- package/lib/modules/dialog/dialogs/pre-setting/index.js +25 -20
- package/lib/modules/dialog/dialogs/share-screen-selection/index.js +1 -1
- package/lib/modules/dialog/dialogs/sub-window/index.js +1 -7
- package/lib/modules/dialog/dialogs/toast/index.d.ts +1 -1
- package/lib/modules/dialog/dialogs/toast/index.js +1 -1
- package/lib/modules/dialog/dialogs/video-window/index.d.ts +4 -1
- package/lib/modules/dialog/dialogs/video-window/index.js +5 -2
- package/lib/modules/dialog/dialogs/widget/electron.d.ts +6 -0
- package/lib/modules/dialog/dialogs/widget/electron.js +38 -0
- package/lib/modules/dialog/dialogs/widget/index.d.ts +2 -0
- package/lib/modules/dialog/dialogs/widget/index.js +11 -3
- package/lib/modules/dialog/hooks/use-popover-watcher.js +1 -3
- package/lib/modules/dialog/hooks/useElectron.d.ts +28 -0
- package/lib/modules/dialog/hooks/useElectron.js +277 -0
- package/lib/modules/dialog/index.css +6 -2
- package/lib/modules/dialog/level-config.d.ts +1 -0
- package/lib/modules/dialog/level-config.js +2 -1
- package/lib/modules/dialog/store.base.d.ts +2 -0
- package/lib/modules/dialog/store.browser.d.ts +2 -0
- package/lib/modules/dialog/store.browser.js +6 -1
- package/lib/modules/dialog/store.d.ts +135 -0
- package/lib/modules/dialog/store.electron.d.ts +9 -1
- package/lib/modules/dialog/store.electron.js +64 -4
- package/lib/modules/dialog/store.js +616 -0
- package/lib/modules/dialog/type.d.ts +3 -0
- package/lib/modules/event-confirm/components/window/index.d.ts +7 -0
- package/lib/modules/event-confirm/components/window/index.js +221 -0
- package/lib/modules/event-confirm/index.css +24 -0
- package/lib/modules/event-confirm/index.d.ts +27 -0
- package/lib/modules/event-confirm/index.js +76 -0
- package/lib/modules/event-confirm/store.d.ts +50 -0
- package/lib/modules/event-confirm/store.js +394 -0
- package/lib/modules/event-confirm/view.d.ts +2 -0
- package/lib/modules/event-confirm/view.js +55 -0
- package/lib/modules/event-toast/index.css +0 -1
- package/lib/modules/event-toast/index.js +1 -0
- package/lib/modules/event-toast/store.base.d.ts +2 -0
- package/lib/modules/event-toast/store.base.js +40 -21
- package/lib/modules/event-toast/store.d.ts +9 -5
- package/lib/modules/event-toast/store.electron.d.ts +2 -0
- package/lib/modules/event-toast/store.electron.js +19 -9
- package/lib/modules/event-toast/store.js +57 -39
- package/lib/modules/layout/components/CommonVideoRenderer.js +1 -0
- package/lib/modules/layout/store.d.ts +176 -0
- package/lib/modules/layout/store.electron.js +1 -1
- package/lib/modules/layout/store.js +1452 -0
- package/lib/modules/participant/components/confirm-input/index.js +1 -1
- package/lib/modules/participant/store.base.d.ts +30 -3
- package/lib/modules/participant/store.base.js +249 -96
- package/lib/modules/participant/store.browser.js +4 -3
- package/lib/modules/participant/store.d.ts +222 -0
- package/lib/modules/participant/store.electron.js +5 -3
- package/lib/modules/participant/store.js +1929 -0
- package/lib/modules/pc-audio-connect/index.d.ts +22 -0
- package/lib/modules/pc-audio-connect/index.js +67 -0
- package/lib/modules/pc-audio-connect/main-scene/store.js +1 -0
- package/lib/modules/pc-audio-connect/store.d.ts +46 -0
- package/lib/modules/pc-audio-connect/store.js +304 -0
- package/lib/modules/secondary-window/store.d.ts +1 -1
- package/lib/modules/secondary-window/store.js +14 -22
- package/lib/modules/secondary-window/view.js +10 -10
- package/lib/modules/setting/audio-settings/audio-settings.js +0 -17
- package/lib/modules/setting/dialog-wrapper.d.ts +2 -0
- package/lib/modules/setting/dialog-wrapper.js +110 -0
- package/lib/modules/setting/index.js +1 -1
- package/lib/modules/setting/state/index.js +1 -1
- package/lib/modules/setting/store.base.d.ts +5 -2
- package/lib/modules/setting/store.base.js +72 -26
- package/lib/modules/setting/store.d.ts +261 -0
- package/lib/modules/setting/store.js +1321 -0
- package/lib/modules/share-screen/components/selection/index.css +4 -0
- package/lib/modules/share-screen/store.base.js +17 -4
- package/lib/modules/share-screen/store.d.ts +148 -0
- package/lib/modules/share-screen/store.electron.js +5 -2
- package/lib/modules/share-screen/store.js +960 -0
- package/lib/modules/share-screen/types.d.ts +26 -0
- package/lib/modules/share-screen/types.js +6 -0
- package/lib/modules/state-bar/layout-config.js +6 -0
- package/lib/modules/state-bar/main-scene/store.base.d.ts +2 -0
- package/lib/modules/state-bar/main-scene/store.base.js +6 -0
- package/lib/modules/state-bar/store.d.ts +124 -0
- package/lib/modules/state-bar/store.js +664 -0
- package/lib/modules/video-window/index.css +6 -0
- package/lib/modules/video-window/popover-watcher.d.ts +5 -10
- package/lib/modules/video-window/popover-watcher.js +34 -31
- package/lib/modules/video-window/store.d.ts +32 -5
- package/lib/modules/video-window/store.js +156 -63
- package/lib/modules/video-window/view.js +50 -1
- package/lib/modules/whiteboard/components/progress/electron.d.ts +1 -0
- package/lib/modules/whiteboard/components/progress/electron.js +33 -0
- package/lib/modules/whiteboard/index.d.ts +1 -1
- package/lib/modules/whiteboard/index.js +1 -1
- package/lib/modules/whiteboard/store.d.ts +3 -0
- package/lib/modules/whiteboard/store.js +31 -2
- package/lib/modules/whiteboard/view.js +10 -1
- package/lib/modules/widget/sdk.js +1 -1
- package/lib/modules/widget/store.base.d.ts +1 -0
- package/lib/modules/widget/store.browser.d.ts +1 -0
- package/lib/modules/widget/store.browser.js +60 -4
- package/lib/modules/widget/store.d.ts +5 -8
- package/lib/modules/widget/store.electron.d.ts +1 -0
- package/lib/modules/widget/store.electron.js +59 -2
- package/lib/modules/widget/store.js +4 -47
- package/lib/modules/widget/type.d.ts +3 -2
- package/lib/modules/widget/view.js +9 -4
- package/lib/modules/widget/web-widget.d.ts +2 -1
- package/lib/modules/widget/web-widget.js +7 -5
- package/lib/object-manager.d.ts +2 -2
- package/lib/object-manager.js +1 -1
- package/lib/providers/annotation-provider.d.ts +124 -0
- package/lib/providers/annotation-provider.js +369 -0
- package/lib/providers/board-share/bar-control/base.d.ts +1 -1
- package/lib/providers/board-share/bar-control/base.js +37 -28
- package/lib/providers/board-share/bar-control/electron.d.ts +1 -1
- package/lib/providers/board-share/bar-control/electron.js +19 -16
- package/lib/providers/board-share/provider.base.d.ts +8 -1
- package/lib/providers/board-share/provider.base.js +12 -2
- package/lib/providers/board-share/provider.browser.d.ts +3 -0
- package/lib/providers/board-share/provider.browser.js +21 -3
- package/lib/providers/device-provider.d.ts +16 -2
- package/lib/providers/device-provider.js +53 -60
- package/lib/providers/dialog/provider.base.d.ts +1 -0
- package/lib/providers/dialog/provider.browser.d.ts +1 -0
- package/lib/providers/dialog/provider.browser.js +7 -2
- package/lib/providers/dialog/provider.electron.d.ts +4 -1
- package/lib/providers/dialog/provider.electron.js +94 -2
- package/lib/providers/dialog/type.d.ts +7 -0
- package/lib/providers/dialog-provider.d.ts +137 -0
- package/lib/providers/dialog-provider.js +194 -0
- package/lib/providers/message-provider.d.ts +69 -0
- package/lib/providers/message-provider.js +140 -0
- package/lib/providers/mouse-detect/provider.d.ts +9 -1
- package/lib/providers/mouse-detect/provider.js +119 -5
- package/lib/providers/mouse-detect/struct.d.ts +2 -1
- package/lib/providers/mouse-detect/struct.js +1 -0
- package/lib/providers/mouse-detect/type.d.ts +2 -0
- package/lib/providers/multi-display-provider.d.ts +3 -5
- package/lib/providers/multi-display-provider.js +0 -9
- package/lib/providers/renderer-provider.d.ts +5 -0
- package/lib/providers/renderer-provider.js +5 -0
- package/lib/providers/room-provider/room-provider.d.ts +4 -14
- package/lib/providers/room-provider/room-provider.js +28 -39
- package/lib/providers/room-provider.d.ts +194 -0
- package/lib/providers/room-provider.js +916 -0
- package/lib/providers/screen-share/provider.base.js +3 -11
- package/lib/providers/screen-share/provider.browser.js +23 -14
- package/lib/providers/screen-share/provider.electron.d.ts +1 -0
- package/lib/providers/screen-share/provider.electron.js +44 -17
- package/lib/providers/screen-share/strategy/browser.js +16 -13
- package/lib/providers/screen-share/strategy/electron.d.ts +2 -2
- package/lib/providers/screen-share/strategy/electron.js +15 -10
- package/lib/providers/screen-share/strategy/type.d.ts +6 -0
- package/lib/providers/screen-share/stream-state-sync.d.ts +3 -2
- package/lib/providers/screen-share/stream-state-sync.js +26 -16
- package/lib/providers/screen-share/struct.d.ts +9 -7
- package/lib/providers/screen-share/struct.js +11 -8
- package/lib/providers/screen-share/type.d.ts +7 -1
- package/lib/providers/screen-share-provider.d.ts +245 -0
- package/lib/providers/screen-share-provider.js +850 -0
- package/lib/providers/sharing-provider.d.ts +42 -0
- package/lib/providers/sharing-provider.js +228 -0
- package/lib/providers/user-setting-storage-provider.d.ts +21 -0
- package/lib/providers/user-setting-storage-provider.js +65 -0
- package/lib/providers/whiteboard-provider.d.ts +2 -4
- package/lib/providers/whiteboard-provider.js +4 -7
- package/lib/providers/widget-provider.d.ts +5 -3
- package/lib/providers/widget-provider.js +12 -18
- package/lib/providers/window/main-window.d.ts +0 -5
- package/lib/providers/window/main-window.js +3 -44
- package/lib/providers/window/renderer-window.d.ts +1 -0
- package/lib/providers/window/renderer-window.js +13 -2
- package/lib/runtime.d.ts +1 -0
- package/lib/runtime.js +2 -1
- package/lib/scenes/main-scene.js +5 -0
- package/lib/shared-context/board-context.d.ts +2 -0
- package/lib/shared-context/board-context.js +2 -0
- package/lib/shared-data/member-data.d.ts +0 -8
- package/lib/shared-data/member-data.js +26 -78
- package/lib/shared-data/widget-data.d.ts +13 -0
- package/lib/shared-data/widget-data.js +50 -0
- package/lib/shared-data-source/annotation-data.d.ts +17 -0
- package/lib/{modules/action-bar/store.base.js → shared-data-source/annotation-data.js} +34 -41
- package/lib/shared-data-source/app-list-data.d.ts +34 -0
- package/lib/shared-data-source/app-list-data.js +133 -0
- package/lib/shared-data-source/chat-data.d.ts +25 -0
- package/lib/shared-data-source/chat-data.js +139 -0
- package/lib/shared-data-source/config.d.ts +35 -0
- package/lib/shared-data-source/config.js +40 -0
- package/lib/shared-data-source/confirm-data.d.ts +44 -0
- package/lib/shared-data-source/confirm-data.js +201 -0
- package/lib/shared-data-source/device-privilege-data.d.ts +8 -0
- package/lib/shared-data-source/device-privilege-data.js +25 -0
- package/lib/shared-data-source/interpreter.d.ts +77 -0
- package/lib/shared-data-source/interpreter.js +247 -0
- package/lib/shared-data-source/layout-data.d.ts +31 -0
- package/lib/shared-data-source/layout-data.js +189 -0
- package/lib/shared-data-source/meeting-time.d.ts +90 -0
- package/lib/shared-data-source/meeting-time.js +416 -0
- package/lib/shared-data-source/member-data.d.ts +139 -0
- package/lib/shared-data-source/member-data.js +517 -0
- package/lib/shared-data-source/pin-data.d.ts +13 -0
- package/lib/{modules/action-bar/waiting-scene/store.js → shared-data-source/pin-data.js} +55 -35
- package/lib/shared-data-source/screen-share-data.d.ts +357 -0
- package/lib/shared-data-source/screen-share-data.js +513 -0
- package/lib/shared-data-source/security-data.d.ts +39 -0
- package/lib/shared-data-source/security-data.js +156 -0
- package/lib/shared-data-source/setting.d.ts +67 -0
- package/lib/shared-data-source/setting.js +220 -0
- package/lib/shared-data-source/speaker-spotlight.d.ts +5 -0
- package/lib/shared-data-source/speaker-spotlight.js +15 -0
- package/lib/shared-data-source/video-window.d.ts +165 -0
- package/lib/shared-data-source/video-window.js +1266 -0
- package/lib/shared-data-source/waiting-room.d.ts +46 -0
- package/lib/shared-data-source/waiting-room.js +222 -0
- package/lib/{shared-data → shared-data-source}/whiteboard-data.d.ts +2 -2
- package/lib/{shared-data → shared-data-source}/whiteboard-data.js +23 -17
- package/lib/translations/enUS.d.ts +0 -2
- package/lib/translations/enUS.js +4 -6
- package/lib/translations/zhCN.d.ts +0 -2
- package/lib/translations/zhCN.js +4 -6
- package/lib/type.d.ts +5 -0
- package/lib/ui-scene.d.ts +2 -4
- package/lib/ui-scene.js +31 -42
- package/lib/utilities/board-context.d.ts +4 -0
- package/lib/utilities/board-context.js +12 -0
- package/lib/utilities/constant.d.ts +3 -1
- package/lib/utilities/constant.js +5 -2
- package/lib/utilities/copyText.d.ts +2 -0
- package/lib/utilities/copyText.js +48 -0
- package/lib/utilities/default-config.d.ts +18 -0
- package/lib/utilities/default-config.js +19 -1
- package/lib/utilities/focus-helper.js +10 -3
- package/lib/utilities/logger.js +3 -1
- package/lib/utilities/renderer-event.d.ts +10 -0
- package/lib/utilities/renderer-event.js +95 -0
- package/lib/utilities/renderer.d.ts +1 -0
- package/lib/utilities/renderer.js +7 -1
- package/lib/utilities/screen-capture-permission.d.ts +2 -0
- package/lib/utilities/screen-capture-permission.js +24 -0
- package/lib/utilities/screen.d.ts +3 -0
- package/lib/utilities/screen.js +53 -0
- package/lib/utilities/video-track-render-context.d.ts +6 -0
- package/lib/utilities/video-track-render-context.js +9 -0
- package/lib/waiting-room-control-manager.d.ts +28 -0
- package/lib/waiting-room-control-manager.js +230 -0
- package/package.json +5 -5
- package/public/index.html +35 -4
- package/lib/modules/action-bar/store.base.d.ts +0 -15
- package/lib/modules/action-bar/waiting-scene/store.d.ts +0 -6
- package/lib/providers/board-share/bar-control.d.ts +0 -51
- package/lib/providers/board-share/bar-control.js +0 -390
- package/lib/providers/board-share/provider.d.ts +0 -66
- package/lib/providers/board-share/provider.js +0 -456
- package/lib/providers/screen-share/provider.d.ts +0 -69
- package/lib/providers/screen-share/provider.js +0 -615
- package/lib/providers/window/browser-window-proxy.js +0 -1
- package/lib/providers/window/ipc-protocol.d.ts +0 -0
- package/lib/providers/window/ipc-protocol.js +0 -1
- package/lib/providers/window/main-process-handler.d.ts +0 -0
- package/lib/providers/window/main-process-handler.js +0 -1
- package/lib/providers/window/main-process-integration.d.ts +0 -0
- package/lib/providers/window/main-process-integration.js +0 -1
- package/lib/utilities/ipc-protocol.d.ts +0 -91
- package/lib/utilities/ipc-protocol.js +0 -61
- /package/lib/{providers/window/browser-window-proxy.d.ts → modules/action-bar/index.dev.d.ts} +0 -0
|
@@ -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__mainList, _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); }
|
|
@@ -145,7 +145,7 @@ var _L = /*#__PURE__*/new WeakMap();
|
|
|
145
145
|
var _M = /*#__PURE__*/new WeakMap();
|
|
146
146
|
var _N = /*#__PURE__*/new WeakMap();
|
|
147
147
|
var _O = /*#__PURE__*/new WeakMap();
|
|
148
|
-
_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], _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");
|
|
148
|
+
_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
149
|
var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function () {
|
|
150
150
|
// #endregion
|
|
151
151
|
|
|
@@ -191,7 +191,8 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
191
191
|
(0, _defineProperty2["default"])(this, "_userObserver", {
|
|
192
192
|
onRemoteUsersJoined: this._handleRemoteUsersJoined.bind(this),
|
|
193
193
|
onUserPropertiesUpdated: this._handleUserPropertiesUpdated.bind(this),
|
|
194
|
-
onUserInfoUpdated: this._handleUserInfoUpdated.bind(this)
|
|
194
|
+
onUserInfoUpdated: this._handleUserInfoUpdated.bind(this),
|
|
195
|
+
onAllUserCountUpdated: this._handleUserCountUpdated.bind(this)
|
|
195
196
|
});
|
|
196
197
|
(0, _defineProperty2["default"])(this, "_whitebaordObderver", {
|
|
197
198
|
onActive: function onActive(ownerId, operatorUser) {
|
|
@@ -201,22 +202,23 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
201
202
|
_this._sharedMemberDataSource.updateMemberListWithBoardState();
|
|
202
203
|
}
|
|
203
204
|
});
|
|
204
|
-
(0, _defineProperty2["default"])(this, "
|
|
205
|
-
|
|
206
|
-
_classPrivateFieldInitSpec(this,
|
|
207
|
-
_classPrivateFieldInitSpec(this,
|
|
208
|
-
_classPrivateFieldInitSpec(this,
|
|
209
|
-
_classPrivateFieldInitSpec(this,
|
|
210
|
-
_classPrivateFieldInitSpec(this,
|
|
211
|
-
_classPrivateFieldInitSpec(this,
|
|
212
|
-
_classPrivateFieldInitSpec(this,
|
|
213
|
-
_classPrivateFieldInitSpec(this,
|
|
214
|
-
_classPrivateFieldInitSpec(this,
|
|
215
|
-
_classPrivateFieldInitSpec(this,
|
|
216
|
-
_classPrivateFieldInitSpec(this,
|
|
217
|
-
_classPrivateFieldInitSpec(this,
|
|
218
|
-
_classPrivateFieldInitSpec(this,
|
|
219
|
-
_classPrivateFieldInitSpec(this,
|
|
205
|
+
(0, _defineProperty2["default"])(this, "_renamingUserId", '');
|
|
206
|
+
(0, _defineProperty2["default"])(this, "_renamingUserName", '');
|
|
207
|
+
_classPrivateFieldInitSpec(this, _A, _init__mainList(this, []));
|
|
208
|
+
_classPrivateFieldInitSpec(this, _B, _init__isChecked(this, {}));
|
|
209
|
+
_classPrivateFieldInitSpec(this, _C, _init__participantsWindowActive(this, false));
|
|
210
|
+
_classPrivateFieldInitSpec(this, _D, _init_enableParticipantsJoinWithMute(this, false));
|
|
211
|
+
_classPrivateFieldInitSpec(this, _E, _init_searchText(this, ''));
|
|
212
|
+
_classPrivateFieldInitSpec(this, _F, _init_currentModal(this, 'modal'));
|
|
213
|
+
_classPrivateFieldInitSpec(this, _G, _init_mergeConfirmDialog(this, false));
|
|
214
|
+
_classPrivateFieldInitSpec(this, _H, _init_mergeUserId(this, ''));
|
|
215
|
+
_classPrivateFieldInitSpec(this, _I, _init_activeTab(this, _type5.FcrUIRoomType.MAIN_ROOM));
|
|
216
|
+
_classPrivateFieldInitSpec(this, _J, _init_interpreterInputLanguageList(this, []));
|
|
217
|
+
_classPrivateFieldInitSpec(this, _K, _init_newName(this, ''));
|
|
218
|
+
_classPrivateFieldInitSpec(this, _L, _init_allowUnmute(this, false));
|
|
219
|
+
_classPrivateFieldInitSpec(this, _M, _init_joinWithMuteAudio(this, false));
|
|
220
|
+
_classPrivateFieldInitSpec(this, _N, _init_showBecomeHostButton(this, false));
|
|
221
|
+
_classPrivateFieldInitSpec(this, _O, _init__userCount(this, 0));
|
|
220
222
|
(0, _defineProperty2["default"])(this, "allowedOperations", (0, _mobxUtils.computedFn)(function (userId, userRole) {
|
|
221
223
|
return _this.getAllowedOperations(userRole, userId === _this.localUser.userId);
|
|
222
224
|
}));
|
|
@@ -275,6 +277,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
275
277
|
this._abilityProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_ABILITY_PROVIDER);
|
|
276
278
|
this._eventProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_EVENT_PROVIDER);
|
|
277
279
|
this._screenShareProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_SCREEN_SHARE_PROVIDER);
|
|
280
|
+
this._userCount = this._userControl.getAllUserCount();
|
|
278
281
|
|
|
279
282
|
// Get shared data sources
|
|
280
283
|
this._sharedPinDataSource = objectManager.getObject(_objectManager.FcrUIObjectKeys.S_SHARED_PIN_DATA_SOURCE);
|
|
@@ -313,7 +316,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
313
316
|
this._setupWaitingRoomUserCountListener();
|
|
314
317
|
}
|
|
315
318
|
return (0, _createClass2["default"])(ParticipantStoreBase, [{
|
|
316
|
-
key: "
|
|
319
|
+
key: "_mainList",
|
|
317
320
|
get: function get() {
|
|
318
321
|
return _classPrivateFieldGet(_A, this);
|
|
319
322
|
},
|
|
@@ -321,7 +324,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
321
324
|
_classPrivateFieldSet(_A, this, v);
|
|
322
325
|
}
|
|
323
326
|
}, {
|
|
324
|
-
key: "
|
|
327
|
+
key: "_isChecked",
|
|
325
328
|
get: function get() {
|
|
326
329
|
return _classPrivateFieldGet(_B, this);
|
|
327
330
|
},
|
|
@@ -329,7 +332,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
329
332
|
_classPrivateFieldSet(_B, this, v);
|
|
330
333
|
}
|
|
331
334
|
}, {
|
|
332
|
-
key: "
|
|
335
|
+
key: "_participantsWindowActive",
|
|
333
336
|
get: function get() {
|
|
334
337
|
return _classPrivateFieldGet(_C, this);
|
|
335
338
|
},
|
|
@@ -337,7 +340,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
337
340
|
_classPrivateFieldSet(_C, this, v);
|
|
338
341
|
}
|
|
339
342
|
}, {
|
|
340
|
-
key: "
|
|
343
|
+
key: "enableParticipantsJoinWithMute",
|
|
341
344
|
get: function get() {
|
|
342
345
|
return _classPrivateFieldGet(_D, this);
|
|
343
346
|
},
|
|
@@ -345,7 +348,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
345
348
|
_classPrivateFieldSet(_D, this, v);
|
|
346
349
|
}
|
|
347
350
|
}, {
|
|
348
|
-
key: "
|
|
351
|
+
key: "searchText",
|
|
349
352
|
get: function get() {
|
|
350
353
|
return _classPrivateFieldGet(_E, this);
|
|
351
354
|
},
|
|
@@ -353,7 +356,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
353
356
|
_classPrivateFieldSet(_E, this, v);
|
|
354
357
|
}
|
|
355
358
|
}, {
|
|
356
|
-
key: "
|
|
359
|
+
key: "currentModal",
|
|
357
360
|
get: function get() {
|
|
358
361
|
return _classPrivateFieldGet(_F, this);
|
|
359
362
|
},
|
|
@@ -361,7 +364,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
361
364
|
_classPrivateFieldSet(_F, this, v);
|
|
362
365
|
}
|
|
363
366
|
}, {
|
|
364
|
-
key: "
|
|
367
|
+
key: "mergeConfirmDialog",
|
|
365
368
|
get: function get() {
|
|
366
369
|
return _classPrivateFieldGet(_G, this);
|
|
367
370
|
},
|
|
@@ -369,7 +372,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
369
372
|
_classPrivateFieldSet(_G, this, v);
|
|
370
373
|
}
|
|
371
374
|
}, {
|
|
372
|
-
key: "
|
|
375
|
+
key: "mergeUserId",
|
|
373
376
|
get: function get() {
|
|
374
377
|
return _classPrivateFieldGet(_H, this);
|
|
375
378
|
},
|
|
@@ -377,7 +380,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
377
380
|
_classPrivateFieldSet(_H, this, v);
|
|
378
381
|
}
|
|
379
382
|
}, {
|
|
380
|
-
key: "
|
|
383
|
+
key: "activeTab",
|
|
381
384
|
get: function get() {
|
|
382
385
|
return _classPrivateFieldGet(_I, this);
|
|
383
386
|
},
|
|
@@ -385,7 +388,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
385
388
|
_classPrivateFieldSet(_I, this, v);
|
|
386
389
|
}
|
|
387
390
|
}, {
|
|
388
|
-
key: "
|
|
391
|
+
key: "interpreterInputLanguageList",
|
|
389
392
|
get: function get() {
|
|
390
393
|
return _classPrivateFieldGet(_J, this);
|
|
391
394
|
},
|
|
@@ -393,7 +396,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
393
396
|
_classPrivateFieldSet(_J, this, v);
|
|
394
397
|
}
|
|
395
398
|
}, {
|
|
396
|
-
key: "
|
|
399
|
+
key: "newName",
|
|
397
400
|
get: function get() {
|
|
398
401
|
return _classPrivateFieldGet(_K, this);
|
|
399
402
|
},
|
|
@@ -401,7 +404,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
401
404
|
_classPrivateFieldSet(_K, this, v);
|
|
402
405
|
}
|
|
403
406
|
}, {
|
|
404
|
-
key: "
|
|
407
|
+
key: "allowUnmute",
|
|
405
408
|
get: function get() {
|
|
406
409
|
return _classPrivateFieldGet(_L, this);
|
|
407
410
|
},
|
|
@@ -409,7 +412,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
409
412
|
_classPrivateFieldSet(_L, this, v);
|
|
410
413
|
}
|
|
411
414
|
}, {
|
|
412
|
-
key: "
|
|
415
|
+
key: "joinWithMuteAudio",
|
|
413
416
|
get: function get() {
|
|
414
417
|
return _classPrivateFieldGet(_M, this);
|
|
415
418
|
},
|
|
@@ -417,7 +420,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
417
420
|
_classPrivateFieldSet(_M, this, v);
|
|
418
421
|
}
|
|
419
422
|
}, {
|
|
420
|
-
key: "
|
|
423
|
+
key: "showBecomeHostButton",
|
|
421
424
|
get: function get() {
|
|
422
425
|
return _classPrivateFieldGet(_N, this);
|
|
423
426
|
},
|
|
@@ -425,7 +428,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
425
428
|
_classPrivateFieldSet(_N, this, v);
|
|
426
429
|
}
|
|
427
430
|
}, {
|
|
428
|
-
key: "
|
|
431
|
+
key: "_userCount",
|
|
429
432
|
get: // #region getters
|
|
430
433
|
function get() {
|
|
431
434
|
return _classPrivateFieldGet(_O, this);
|
|
@@ -434,9 +437,9 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
434
437
|
_classPrivateFieldSet(_O, this, v);
|
|
435
438
|
}
|
|
436
439
|
}, {
|
|
437
|
-
key: "
|
|
440
|
+
key: "renamingUserName",
|
|
438
441
|
get: function get() {
|
|
439
|
-
return this.
|
|
442
|
+
return this._renamingUserName;
|
|
440
443
|
}
|
|
441
444
|
}, {
|
|
442
445
|
key: "audioVolumeMap",
|
|
@@ -498,7 +501,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
498
501
|
}, {
|
|
499
502
|
key: "userCount",
|
|
500
503
|
get: function get() {
|
|
501
|
-
return this.
|
|
504
|
+
return this._userCount;
|
|
502
505
|
}
|
|
503
506
|
}, {
|
|
504
507
|
key: "allowUnmuteSelfAudio",
|
|
@@ -1066,6 +1069,15 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1066
1069
|
this._sharedPinDataSource.removePin(streamId);
|
|
1067
1070
|
}
|
|
1068
1071
|
}
|
|
1072
|
+
}, {
|
|
1073
|
+
key: "isHostSupportedByPlatform",
|
|
1074
|
+
value: function isHostSupportedByPlatform(userId) {
|
|
1075
|
+
var _this$userMap$get3;
|
|
1076
|
+
var user = (_this$userMap$get3 = this.userMap.get(userId)) === null || _this$userMap$get3 === void 0 ? void 0 : _this$userMap$get3.userInfo;
|
|
1077
|
+
if (!user) return false;
|
|
1078
|
+
if (!user.platform) return false;
|
|
1079
|
+
return this._abilityProvider.isHostSupportedByPlatform(user.platform);
|
|
1080
|
+
}
|
|
1069
1081
|
}, {
|
|
1070
1082
|
key: "addPin",
|
|
1071
1083
|
value: function addPin(userId) {
|
|
@@ -1355,6 +1367,11 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1355
1367
|
this.showBecomeHostButton = false;
|
|
1356
1368
|
}
|
|
1357
1369
|
}
|
|
1370
|
+
}, {
|
|
1371
|
+
key: "_handleUserCountUpdated",
|
|
1372
|
+
value: function _handleUserCountUpdated(roomId, count) {
|
|
1373
|
+
this._userCount = count;
|
|
1374
|
+
}
|
|
1358
1375
|
}, {
|
|
1359
1376
|
key: "_handleUserPropertiesUpdated",
|
|
1360
1377
|
value: function _handleUserPropertiesUpdated() {
|
|
@@ -1369,7 +1386,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1369
1386
|
while (1) switch (_context4.prev = _context4.next) {
|
|
1370
1387
|
case 0:
|
|
1371
1388
|
_context4.next = 1;
|
|
1372
|
-
return this._userControl.updateUserName(this.
|
|
1389
|
+
return this._userControl.updateUserName(this._renamingUserId, this.newName);
|
|
1373
1390
|
case 1:
|
|
1374
1391
|
(0, _mobx.runInAction)(function () {
|
|
1375
1392
|
_this14._closeChangeNameDialog();
|
|
@@ -1394,6 +1411,9 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1394
1411
|
}, {
|
|
1395
1412
|
key: "_closeChangeNameDialog",
|
|
1396
1413
|
value: function _closeChangeNameDialog() {
|
|
1414
|
+
this.newName = '';
|
|
1415
|
+
this._renamingUserId = '';
|
|
1416
|
+
this._renamingUserName = '';
|
|
1397
1417
|
this._dialogProvider.closeDialog(_constant.FcrUIDialogKey.RENAME);
|
|
1398
1418
|
}
|
|
1399
1419
|
}, {
|
|
@@ -1729,12 +1749,145 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1729
1749
|
}, {
|
|
1730
1750
|
key: "_setAsHost",
|
|
1731
1751
|
value: function _setAsHost(userId) {
|
|
1732
|
-
this.
|
|
1752
|
+
var canSetHost = this.isHostSupportedByPlatform(userId);
|
|
1753
|
+
if (!canSetHost) {
|
|
1754
|
+
this._showToast((0, _i18n.transI18n)('fmt_uimanager_tips_userleaft'), 'error');
|
|
1755
|
+
return;
|
|
1756
|
+
}
|
|
1757
|
+
this._showSetHostDialog(userId, _type.FcrUserRole.HOST);
|
|
1733
1758
|
}
|
|
1734
1759
|
}, {
|
|
1735
1760
|
key: "_setAsCoHost",
|
|
1736
1761
|
value: function _setAsCoHost(userId) {
|
|
1737
|
-
this.
|
|
1762
|
+
var canSetHost = this.isHostSupportedByPlatform(userId);
|
|
1763
|
+
if (!canSetHost) {
|
|
1764
|
+
this._showToast((0, _i18n.transI18n)('fmt_uimanager_tips_userleaft'), 'error');
|
|
1765
|
+
return;
|
|
1766
|
+
}
|
|
1767
|
+
this._showSetHostDialog(userId, _type.FcrUserRole.COHOST);
|
|
1768
|
+
}
|
|
1769
|
+
|
|
1770
|
+
/**
|
|
1771
|
+
* 显示设置主持人/联席主持人对话框
|
|
1772
|
+
* @param userId 用户ID
|
|
1773
|
+
* @param type 角色类型
|
|
1774
|
+
*/
|
|
1775
|
+
}, {
|
|
1776
|
+
key: "_showSetHostDialog",
|
|
1777
|
+
value: function _showSetHostDialog(userId, type) {
|
|
1778
|
+
var _this16 = this;
|
|
1779
|
+
var user = this.userMap.get(userId);
|
|
1780
|
+
if (!user) {
|
|
1781
|
+
this._showToast((0, _i18n.transI18n)('fmt_uimanager_tips_userleaft'), 'error');
|
|
1782
|
+
return;
|
|
1783
|
+
}
|
|
1784
|
+
var username = user.userInfo.userName;
|
|
1785
|
+
var targetRole = this._getRoleDisplayName(type);
|
|
1786
|
+
this.openConfirmDialog({
|
|
1787
|
+
title: (0, _i18n.transI18n)('fmt_uimanager_labels_Setas', {
|
|
1788
|
+
reason1: targetRole
|
|
1789
|
+
}),
|
|
1790
|
+
content: (0, _i18n.transI18n)('fmt_uimanager_tips_designedas', {
|
|
1791
|
+
reason1: username,
|
|
1792
|
+
reason2: targetRole
|
|
1793
|
+
}),
|
|
1794
|
+
onOk: function onOk() {
|
|
1795
|
+
return _this16._handleSetHostConfirmation(userId, type);
|
|
1796
|
+
},
|
|
1797
|
+
okText: (0, _i18n.transI18n)('fmt_uimanager_labels_Setas', {
|
|
1798
|
+
reason1: targetRole
|
|
1799
|
+
}),
|
|
1800
|
+
cancelText: (0, _i18n.transI18n)('fmt_security_buttons_cancel'),
|
|
1801
|
+
closable: false,
|
|
1802
|
+
alignCenter: true
|
|
1803
|
+
}, 'UPDATE_USER_ROLE');
|
|
1804
|
+
}
|
|
1805
|
+
|
|
1806
|
+
/**
|
|
1807
|
+
* 获取角色显示名称
|
|
1808
|
+
* @param type 角色类型
|
|
1809
|
+
* @returns 角色显示名称
|
|
1810
|
+
*/
|
|
1811
|
+
}, {
|
|
1812
|
+
key: "_getRoleDisplayName",
|
|
1813
|
+
value: function _getRoleDisplayName(type) {
|
|
1814
|
+
return type === _type.FcrUserRole.HOST ? (0, _i18n.transI18n)('fmt_role_host') : (0, _i18n.transI18n)('fmt_role_cohost');
|
|
1815
|
+
}
|
|
1816
|
+
|
|
1817
|
+
/**
|
|
1818
|
+
* 处理设置主持人确认操作
|
|
1819
|
+
* @param userId 用户ID
|
|
1820
|
+
* @param type 角色类型
|
|
1821
|
+
*/
|
|
1822
|
+
}, {
|
|
1823
|
+
key: "_handleSetHostConfirmation",
|
|
1824
|
+
value: (function () {
|
|
1825
|
+
var _handleSetHostConfirmation2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee6(userId, type) {
|
|
1826
|
+
var _t;
|
|
1827
|
+
return _regenerator["default"].wrap(function (_context6) {
|
|
1828
|
+
while (1) switch (_context6.prev = _context6.next) {
|
|
1829
|
+
case 0:
|
|
1830
|
+
if (this.userMap.has(userId)) {
|
|
1831
|
+
_context6.next = 1;
|
|
1832
|
+
break;
|
|
1833
|
+
}
|
|
1834
|
+
this._showToast((0, _i18n.transI18n)('fmt_uimanager_tips_userleaft'), 'error');
|
|
1835
|
+
return _context6.abrupt("return");
|
|
1836
|
+
case 1:
|
|
1837
|
+
_context6.prev = 1;
|
|
1838
|
+
_context6.next = 2;
|
|
1839
|
+
return this._updateRemoteUserRole(userId, type);
|
|
1840
|
+
case 2:
|
|
1841
|
+
_context6.next = 4;
|
|
1842
|
+
break;
|
|
1843
|
+
case 3:
|
|
1844
|
+
_context6.prev = 3;
|
|
1845
|
+
_t = _context6["catch"](1);
|
|
1846
|
+
this._handleSetHostError(_t);
|
|
1847
|
+
case 4:
|
|
1848
|
+
case "end":
|
|
1849
|
+
return _context6.stop();
|
|
1850
|
+
}
|
|
1851
|
+
}, _callee6, this, [[1, 3]]);
|
|
1852
|
+
}));
|
|
1853
|
+
function _handleSetHostConfirmation(_x2, _x3) {
|
|
1854
|
+
return _handleSetHostConfirmation2.apply(this, arguments);
|
|
1855
|
+
}
|
|
1856
|
+
return _handleSetHostConfirmation;
|
|
1857
|
+
}()
|
|
1858
|
+
/**
|
|
1859
|
+
* 处理设置主持人时的错误
|
|
1860
|
+
* @param error 错误对象
|
|
1861
|
+
*/
|
|
1862
|
+
)
|
|
1863
|
+
}, {
|
|
1864
|
+
key: "_handleSetHostError",
|
|
1865
|
+
value: function _handleSetHostError(error) {
|
|
1866
|
+
var _this17 = this;
|
|
1867
|
+
if (error instanceof _error.FcrError) {
|
|
1868
|
+
var errorHandlers = (0, _defineProperty2["default"])((0, _defineProperty2["default"])({}, _constant.ErrorCode.FAILED_TO_UPDATE_USER_ROLE_DUE_TO_PRIVILEGE, function () {
|
|
1869
|
+
_this17._messageProvider.showToast({
|
|
1870
|
+
type: 'error',
|
|
1871
|
+
message: (0, _i18n.transI18n)('fmt_attendies_button_revokehost_error')
|
|
1872
|
+
});
|
|
1873
|
+
}), _constant.ErrorCode.FAILED_TO_UPDATE_USER_ROLE_DUE_TO_LIMIT_REACHED, function () {
|
|
1874
|
+
_this17._messageProvider.showToast({
|
|
1875
|
+
type: 'error',
|
|
1876
|
+
message: (0, _i18n.transI18n)('fmt_attendies_toast_cohost_upper_limit')
|
|
1877
|
+
});
|
|
1878
|
+
});
|
|
1879
|
+
var handler = errorHandlers[error.code];
|
|
1880
|
+
if (handler) {
|
|
1881
|
+
handler();
|
|
1882
|
+
return;
|
|
1883
|
+
}
|
|
1884
|
+
}
|
|
1885
|
+
this.logger.error('Failed to set up the host:', error);
|
|
1886
|
+
}
|
|
1887
|
+
}, {
|
|
1888
|
+
key: "_updateRemoteUserRole",
|
|
1889
|
+
value: function _updateRemoteUserRole(userId, role) {
|
|
1890
|
+
this._userControl.updateRemoteUserRole(userId, role);
|
|
1738
1891
|
}
|
|
1739
1892
|
}, {
|
|
1740
1893
|
key: "_setAsAttendee",
|
|
@@ -1749,32 +1902,32 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1749
1902
|
}, {
|
|
1750
1903
|
key: "_moveToWaitingRoomByUserId",
|
|
1751
1904
|
value: (function () {
|
|
1752
|
-
var _moveToWaitingRoomByUserId2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function
|
|
1753
|
-
var username,
|
|
1754
|
-
return _regenerator["default"].wrap(function (
|
|
1755
|
-
while (1) switch (
|
|
1905
|
+
var _moveToWaitingRoomByUserId2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee7(userId) {
|
|
1906
|
+
var username, _t2;
|
|
1907
|
+
return _regenerator["default"].wrap(function (_context7) {
|
|
1908
|
+
while (1) switch (_context7.prev = _context7.next) {
|
|
1756
1909
|
case 0:
|
|
1757
1910
|
if (!(!userId || typeof userId !== 'string')) {
|
|
1758
|
-
|
|
1911
|
+
_context7.next = 1;
|
|
1759
1912
|
break;
|
|
1760
1913
|
}
|
|
1761
1914
|
this.logger.warn('Invalid userId provided to _moveToWaitingRoomByUserId:', userId);
|
|
1762
|
-
return
|
|
1915
|
+
return _context7.abrupt("return");
|
|
1763
1916
|
case 1:
|
|
1764
1917
|
if (this._isUserExists(userId)) {
|
|
1765
|
-
|
|
1918
|
+
_context7.next = 2;
|
|
1766
1919
|
break;
|
|
1767
1920
|
}
|
|
1768
1921
|
this.logger.warn('User not found for move to waiting room operation:', userId);
|
|
1769
|
-
return
|
|
1922
|
+
return _context7.abrupt("return");
|
|
1770
1923
|
case 2:
|
|
1771
1924
|
username = this._getUserNameById(userId);
|
|
1772
|
-
|
|
1925
|
+
_context7.prev = 3;
|
|
1773
1926
|
this.logger.info('Moving user to waiting room:', {
|
|
1774
1927
|
userId: userId,
|
|
1775
1928
|
username: username
|
|
1776
1929
|
});
|
|
1777
|
-
|
|
1930
|
+
_context7.next = 4;
|
|
1778
1931
|
return this._roomControl.moveToWaitingRoomByUserIds([userId]);
|
|
1779
1932
|
case 4:
|
|
1780
1933
|
this._showToast((0, _i18n.transI18n)('fmt_waitingroom_put_in_success', {
|
|
@@ -1784,31 +1937,31 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1784
1937
|
userId: userId,
|
|
1785
1938
|
username: username
|
|
1786
1939
|
});
|
|
1787
|
-
|
|
1940
|
+
_context7.next = 7;
|
|
1788
1941
|
break;
|
|
1789
1942
|
case 5:
|
|
1790
|
-
|
|
1791
|
-
|
|
1943
|
+
_context7.prev = 5;
|
|
1944
|
+
_t2 = _context7["catch"](3);
|
|
1792
1945
|
this.logger.error('Failed to move user to waiting room:', {
|
|
1793
1946
|
userId: userId,
|
|
1794
1947
|
username: username,
|
|
1795
|
-
error:
|
|
1948
|
+
error: _t2
|
|
1796
1949
|
});
|
|
1797
|
-
if (!(
|
|
1798
|
-
|
|
1950
|
+
if (!(_t2 instanceof _error.FcrError && _t2.code === _constant.ErrorCode.FAILED_TO_MOVE_USER_TO_WAITING_ROOM)) {
|
|
1951
|
+
_context7.next = 6;
|
|
1799
1952
|
break;
|
|
1800
1953
|
}
|
|
1801
1954
|
this._showToast((0, _i18n.transI18n)('fmt_waitingroom_setting_popup_toast_unable_move_creator'), 'error');
|
|
1802
|
-
return
|
|
1955
|
+
return _context7.abrupt("return");
|
|
1803
1956
|
case 6:
|
|
1804
1957
|
this._showToast((0, _i18n.transI18n)('fmt_waitingroom_setting_popup_toast_move_in_failed'), 'error');
|
|
1805
1958
|
case 7:
|
|
1806
1959
|
case "end":
|
|
1807
|
-
return
|
|
1960
|
+
return _context7.stop();
|
|
1808
1961
|
}
|
|
1809
|
-
},
|
|
1962
|
+
}, _callee7, this, [[3, 5]]);
|
|
1810
1963
|
}));
|
|
1811
|
-
function _moveToWaitingRoomByUserId(
|
|
1964
|
+
function _moveToWaitingRoomByUserId(_x4) {
|
|
1812
1965
|
return _moveToWaitingRoomByUserId2.apply(this, arguments);
|
|
1813
1966
|
}
|
|
1814
1967
|
return _moveToWaitingRoomByUserId;
|
|
@@ -1884,8 +2037,8 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1884
2037
|
}, {
|
|
1885
2038
|
key: "_getUserNameById",
|
|
1886
2039
|
value: function _getUserNameById(userId) {
|
|
1887
|
-
var _this$userMap$
|
|
1888
|
-
return ((_this$userMap$
|
|
2040
|
+
var _this$userMap$get4;
|
|
2041
|
+
return ((_this$userMap$get4 = this.userMap.get(userId)) === null || _this$userMap$get4 === void 0 ? void 0 : _this$userMap$get4.userInfo.userName) || '';
|
|
1889
2042
|
}
|
|
1890
2043
|
|
|
1891
2044
|
/**
|
|
@@ -1897,14 +2050,14 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1897
2050
|
}, {
|
|
1898
2051
|
key: "_createMainRoomKickOutDialogConfig",
|
|
1899
2052
|
value: function _createMainRoomKickOutDialogConfig(userId, userName) {
|
|
1900
|
-
var
|
|
2053
|
+
var _this18 = this;
|
|
1901
2054
|
return {
|
|
1902
2055
|
title: '',
|
|
1903
2056
|
content: (0, _i18n.transI18n)('fmt_uimanager_tips_Remove', {
|
|
1904
2057
|
reason2: userName
|
|
1905
2058
|
}),
|
|
1906
2059
|
onOk: function onOk() {
|
|
1907
|
-
|
|
2060
|
+
_this18._executeKickOut(userId, _type3.FcrUserKickedOutType.Once);
|
|
1908
2061
|
},
|
|
1909
2062
|
alignCenter: true,
|
|
1910
2063
|
height: _struct.KICK_OUT_DIALOG_CONFIG.MAIN_ROOM.HEIGHT
|
|
@@ -1920,7 +2073,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1920
2073
|
}, {
|
|
1921
2074
|
key: "_createWaitingRoomKickOutDialogConfig",
|
|
1922
2075
|
value: function _createWaitingRoomKickOutDialogConfig(userId, userName) {
|
|
1923
|
-
var
|
|
2076
|
+
var _this19 = this;
|
|
1924
2077
|
return {
|
|
1925
2078
|
userId: userId,
|
|
1926
2079
|
type: _struct.KICK_OUT_DIALOG_CONFIG.WAITING_ROOM.TYPE,
|
|
@@ -1929,7 +2082,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1929
2082
|
reason1: userName
|
|
1930
2083
|
}),
|
|
1931
2084
|
onChecked: function onChecked(isChecked) {
|
|
1932
|
-
|
|
2085
|
+
_this19._isChecked[_struct.KICK_OUT_DIALOG_CONFIG.WAITING_ROOM.TYPE] = isChecked;
|
|
1933
2086
|
}
|
|
1934
2087
|
};
|
|
1935
2088
|
}
|
|
@@ -2008,12 +2161,12 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
2008
2161
|
}, {
|
|
2009
2162
|
key: "_setupWaitingRoomUserCountListener",
|
|
2010
2163
|
value: function _setupWaitingRoomUserCountListener() {
|
|
2011
|
-
var
|
|
2164
|
+
var _this20 = this;
|
|
2012
2165
|
this._disposers.push((0, _mobx.reaction)(function () {
|
|
2013
|
-
return
|
|
2166
|
+
return _this20.waitingRoomUserCount;
|
|
2014
2167
|
}, function (userCount) {
|
|
2015
|
-
if (userCount === 0 &&
|
|
2016
|
-
|
|
2168
|
+
if (userCount === 0 && _this20.activeTab === _type5.FcrUIRoomType.WAITING_ROOM) {
|
|
2169
|
+
_this20.handleActiveTab(_type5.FcrUIRoomType.MAIN_ROOM);
|
|
2017
2170
|
}
|
|
2018
2171
|
}));
|
|
2019
2172
|
}
|
|
@@ -2131,7 +2284,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
2131
2284
|
}, {
|
|
2132
2285
|
key: "_showCameraRequestDialog",
|
|
2133
2286
|
value: function _showCameraRequestDialog(session, sender) {
|
|
2134
|
-
var
|
|
2287
|
+
var _this21 = this;
|
|
2135
2288
|
this.openConfirmDialog({
|
|
2136
2289
|
height: 166,
|
|
2137
2290
|
title: (0, _i18n.transI18n)('fmt_attendies_tips_apply_video_title', {
|
|
@@ -2142,11 +2295,11 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
2142
2295
|
cancelText: (0, _i18n.transI18n)('fmt_additional_button_refuse'),
|
|
2143
2296
|
closable: false,
|
|
2144
2297
|
onOk: function onOk() {
|
|
2145
|
-
|
|
2146
|
-
|
|
2298
|
+
_this21._peerSessionControl.acceptPeerSession(session);
|
|
2299
|
+
_this21._deviceStreamStore.enableCameraWithPreCheck(true);
|
|
2147
2300
|
},
|
|
2148
2301
|
onCancel: function onCancel() {
|
|
2149
|
-
|
|
2302
|
+
_this21._peerSessionControl.rejectPeerSession(session);
|
|
2150
2303
|
}
|
|
2151
2304
|
}, _type2.FcrUISessionKey.REQUEST_OPEN_CAMERA);
|
|
2152
2305
|
}
|
|
@@ -2159,7 +2312,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
2159
2312
|
}, {
|
|
2160
2313
|
key: "_showMicrophoneRequestDialog",
|
|
2161
2314
|
value: function _showMicrophoneRequestDialog(session, sender) {
|
|
2162
|
-
var
|
|
2315
|
+
var _this22 = this;
|
|
2163
2316
|
this.openConfirmDialog({
|
|
2164
2317
|
title: (0, _i18n.transI18n)('fmt_attendies_tips_apply_audio_title', {
|
|
2165
2318
|
reason1: (0, _i18n.transI18n)(_i18n2.userRoleI18nKey[sender.userRole])
|
|
@@ -2169,13 +2322,13 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
2169
2322
|
cancelText: (0, _i18n.transI18n)('fmt_additional_options_Keepsilent'),
|
|
2170
2323
|
closable: false,
|
|
2171
2324
|
onOk: function onOk() {
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2325
|
+
_this22._processedUserOpenDeviceRequests["delete"](session.sessionId);
|
|
2326
|
+
_this22._peerSessionControl.acceptPeerSession(session);
|
|
2327
|
+
_this22._deviceStreamStore.enableMicrophoneWithPreCheck(true);
|
|
2175
2328
|
},
|
|
2176
2329
|
onCancel: function onCancel() {
|
|
2177
|
-
|
|
2178
|
-
|
|
2330
|
+
_this22._processedUserOpenDeviceRequests["delete"](session.sessionId);
|
|
2331
|
+
_this22._peerSessionControl.rejectPeerSession(session);
|
|
2179
2332
|
},
|
|
2180
2333
|
height: 166
|
|
2181
2334
|
}, _type2.FcrUISessionKey.REQUEST_OPEN_MICROPHONE);
|
|
@@ -2192,21 +2345,21 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
2192
2345
|
}]);
|
|
2193
2346
|
}();
|
|
2194
2347
|
_ParticipantStoreBase = ParticipantStoreBase;
|
|
2195
|
-
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_ParticipantStoreBase, [[_mobx.observable, 1, "
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2348
|
+
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_ParticipantStoreBase, [[_mobx.observable, 1, "_mainList"], [_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, 16);
|
|
2349
|
+
_init__mainList = _applyDecs$e[0];
|
|
2350
|
+
_init__isChecked = _applyDecs$e[1];
|
|
2351
|
+
_init__participantsWindowActive = _applyDecs$e[2];
|
|
2352
|
+
_init_enableParticipantsJoinWithMute = _applyDecs$e[3];
|
|
2353
|
+
_init_searchText = _applyDecs$e[4];
|
|
2354
|
+
_init_currentModal = _applyDecs$e[5];
|
|
2355
|
+
_init_mergeConfirmDialog = _applyDecs$e[6];
|
|
2356
|
+
_init_mergeUserId = _applyDecs$e[7];
|
|
2357
|
+
_init_activeTab = _applyDecs$e[8];
|
|
2358
|
+
_init_interpreterInputLanguageList = _applyDecs$e[9];
|
|
2359
|
+
_init_newName = _applyDecs$e[10];
|
|
2360
|
+
_init_allowUnmute = _applyDecs$e[11];
|
|
2361
|
+
_init_joinWithMuteAudio = _applyDecs$e[12];
|
|
2362
|
+
_init_showBecomeHostButton = _applyDecs$e[13];
|
|
2363
|
+
_init__userCount = _applyDecs$e[14];
|
|
2211
2364
|
_initProto = _applyDecs$e[15];
|
|
2212
2365
|
var StoreContext = exports.StoreContext = /*#__PURE__*/(0, _react.createContext)(null);
|