fcr-ui-scene 3.2.0 → 3.3.1
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/electron/app.js +148 -0
- package/dist/electron/bootstrap-dev.js +51 -0
- package/dist/electron/bootstrap-sdk.js +56 -0
- package/dist/electron/default-options.js +25 -0
- package/dist/electron/env.js +13 -0
- package/dist/electron/index.js +20 -0
- package/dist/electron/injections.js +702 -0
- package/dist/electron/logger.js +66 -0
- package/dist/electron/main.js +67 -0
- package/dist/electron/plugins/meeting-state.js +39 -0
- package/dist/electron/plugins/screenshot.js +49 -0
- package/dist/electron/preload.js +36 -0
- package/dist/electron/tools.js +66 -0
- package/dist/electron/window.js +124 -0
- package/installer/icons/favicon.ico +0 -0
- package/installer/icons/favicon.png +0 -0
- package/installer/mac/entitlements.mac.plist +16 -0
- package/lib/common/device-store.d.ts +1 -1
- package/lib/common/device-store.js +11 -3
- package/lib/common/event-store.d.ts +17 -1
- package/lib/common/event-store.js +38 -5
- package/lib/common/room-store.d.ts +55 -0
- package/lib/common/room-store.js +395 -0
- package/lib/common/security-store.d.ts +14 -4
- package/lib/common/security-store.js +149 -30
- package/lib/creator.js +2 -0
- package/lib/electron/app.js +8 -0
- package/lib/electron/bootstrap-dev.d.ts +1 -0
- package/lib/electron/bootstrap-dev.js +51 -0
- package/lib/electron/bootstrap-sdk.d.ts +1 -0
- package/lib/electron/bootstrap-sdk.js +57 -0
- package/lib/electron/bootstrap.d.ts +1 -0
- package/lib/electron/bootstrap.js +56 -0
- package/lib/electron/default-options.js +1 -1
- package/lib/electron/dev.d.ts +1 -0
- package/lib/electron/dev.js +51 -0
- package/lib/electron/injections.d.ts +2 -1
- package/lib/electron/injections.js +6 -6
- package/lib/electron/main.js +4 -16
- package/lib/electron/plugins/meeting-state.d.ts +2 -0
- package/lib/electron/plugins/meeting-state.js +39 -0
- package/lib/electron/preload.js +2 -1
- package/lib/fragments/control-bar/control-bar-store.d.ts +34 -1
- package/lib/fragments/control-bar/control-bar-store.js +371 -79
- package/lib/fragments/control-bar/device/index.js +5 -3
- package/lib/fragments/control-bar/index.css +15 -10
- package/lib/fragments/control-bar/index.js +18 -0
- package/lib/fragments/control-bar/meeting-details/meeting-detail.css +109 -0
- package/lib/fragments/control-bar/meeting-details/meeting-details-portal.d.ts +3 -0
- package/lib/fragments/control-bar/meeting-details/meeting-details-portal.js +60 -0
- package/lib/fragments/control-bar/meeting-details/meeting-details.d.ts +2 -0
- package/lib/fragments/control-bar/meeting-details/meeting-details.js +179 -0
- package/lib/fragments/control-bar/more-actions/index.css +53 -0
- package/lib/fragments/control-bar/more-actions/index.js +72 -37
- package/lib/fragments/control-bar/security-content/index.css +10 -0
- package/lib/fragments/control-bar/security-content/index.js +40 -18
- package/lib/fragments/control-bar/view.js +8 -2
- package/lib/login-confirm-dialog.d.ts +12 -0
- package/lib/login-confirm-dialog.js +80 -0
- package/lib/modules/Interpreter/add-button/index.css +4 -0
- package/lib/modules/Interpreter/add-button/index.d.ts +11 -0
- package/lib/modules/Interpreter/add-button/index.js +41 -0
- package/lib/modules/Interpreter/config.d.ts +16 -0
- package/lib/modules/Interpreter/config.js +17 -0
- package/lib/modules/Interpreter/constant.d.ts +44 -0
- package/lib/modules/Interpreter/constant.js +60 -0
- package/lib/modules/Interpreter/context.d.ts +2 -0
- package/lib/modules/Interpreter/context.js +9 -0
- package/lib/modules/Interpreter/dialog-content/index.css +33 -0
- package/lib/modules/Interpreter/dialog-content/index.d.ts +8 -0
- package/lib/modules/Interpreter/dialog-content/index.js +34 -0
- package/lib/modules/Interpreter/footer/components/interpreter-btn/index.d.ts +5 -0
- package/lib/modules/Interpreter/footer/components/interpreter-btn/index.js +56 -0
- package/lib/modules/Interpreter/footer/components/set-btn/index.d.ts +5 -0
- package/lib/modules/Interpreter/footer/components/set-btn/index.js +46 -0
- package/lib/modules/Interpreter/footer/components/tooltip-wrapper/index.d.ts +6 -0
- package/lib/modules/Interpreter/footer/components/tooltip-wrapper/index.js +28 -0
- package/lib/modules/Interpreter/footer/index.css +10 -0
- package/lib/modules/Interpreter/footer/index.d.ts +3 -0
- package/lib/modules/Interpreter/footer/index.js +35 -0
- package/lib/modules/Interpreter/index.css +8 -0
- package/lib/modules/Interpreter/index.d.ts +21 -0
- package/lib/modules/Interpreter/index.js +110 -0
- package/lib/modules/Interpreter/interpreter-list/index.css +21 -0
- package/lib/modules/Interpreter/interpreter-list/index.d.ts +3 -0
- package/lib/modules/Interpreter/interpreter-list/index.js +65 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/index.css +31 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/index.d.ts +11 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/index.js +141 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ar.png +0 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_cn.png +0 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_de.png +0 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_en.png +0 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_es.png +0 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_fr.png +0 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_hi.png +0 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_id.png +0 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_it.png +0 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_jp.png +0 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ko.png +0 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ms.png +0 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_pt.png +0 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ru.png +0 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_th.png +0 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_tr.png +0 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_vi.png +0 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/index.d.ts +11 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/index.js +119 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-user/index.css +41 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-user/index.d.ts +12 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-user/index.js +118 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/index.css +34 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/index.d.ts +8 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/index.js +65 -0
- package/lib/modules/Interpreter/loading-wrapper/index.css +53 -0
- package/lib/modules/Interpreter/loading-wrapper/index.d.ts +6 -0
- package/lib/modules/Interpreter/loading-wrapper/index.js +28 -0
- package/lib/modules/Interpreter/store.d.ts +82 -0
- package/lib/modules/Interpreter/store.js +1382 -0
- package/lib/modules/Interpreter/view.d.ts +3 -0
- package/lib/modules/Interpreter/view.js +32 -0
- package/lib/modules/action-bar/Interpreter/index.d.ts +6 -0
- package/lib/modules/action-bar/Interpreter/index.js +44 -0
- package/lib/modules/action-bar/action-bar-collapes-items.js +5 -5
- package/lib/modules/action-bar/apps/appitems.d.ts +2 -0
- package/lib/modules/action-bar/apps/appitems.js +40 -0
- package/lib/modules/action-bar/apps/index.css +6 -0
- package/lib/modules/action-bar/apps/index.d.ts +4 -0
- package/lib/modules/action-bar/apps/index.js +58 -0
- package/lib/modules/action-bar/chat/index.js +5 -5
- package/lib/modules/action-bar/device/index.css +7 -2
- package/lib/modules/action-bar/device/index.js +4 -4
- package/lib/modules/action-bar/index.css +59 -12
- package/lib/modules/action-bar/index.d.ts +3 -2
- package/lib/modules/action-bar/index.dev.js +1 -1
- package/lib/modules/action-bar/index.js +21 -0
- package/lib/modules/action-bar/leave/assign-host.d.ts +3 -0
- package/lib/modules/action-bar/leave/assign-host.js +2 -4
- package/lib/modules/action-bar/leave/index.js +29 -6
- package/lib/modules/action-bar/leave/leave-meeting.d.ts +11 -0
- package/lib/modules/action-bar/leave/leave-meeting.js +25 -16
- package/lib/modules/action-bar/more/poppover-content.js +4 -4
- package/lib/modules/action-bar/participants/index.css +12 -0
- package/lib/modules/action-bar/participants/index.js +21 -14
- package/lib/modules/action-bar/screen-share/index.js +5 -1
- package/lib/modules/action-bar/screen-share/submenu.js +16 -22
- package/lib/modules/action-bar/security/drop-menu.js +90 -13
- package/lib/modules/action-bar/store.d.ts +38 -6
- package/lib/modules/action-bar/store.js +487 -95
- package/lib/modules/action-bar/switch-input-language-room/fcr_translateswitch.png +0 -0
- package/lib/modules/action-bar/switch-input-language-room/index.css +86 -0
- package/lib/modules/action-bar/switch-input-language-room/index.d.ts +17 -0
- package/lib/modules/action-bar/switch-input-language-room/index.js +145 -0
- package/lib/modules/action-bar/switch-output-language-room/drop-menu.d.ts +1 -0
- package/lib/modules/action-bar/switch-output-language-room/drop-menu.js +197 -0
- package/lib/modules/action-bar/switch-output-language-room/guide-tooltip/index.css +18 -0
- package/lib/modules/action-bar/switch-output-language-room/guide-tooltip/index.d.ts +8 -0
- package/lib/modules/action-bar/switch-output-language-room/guide-tooltip/index.js +59 -0
- package/lib/modules/action-bar/switch-output-language-room/index.d.ts +12 -0
- package/lib/modules/action-bar/switch-output-language-room/index.js +238 -0
- package/lib/modules/action-bar/switch-output-language-room/notification-bar/components/interpreter/index.css +54 -0
- package/lib/modules/action-bar/switch-output-language-room/notification-bar/components/interpreter/index.d.ts +8 -0
- package/lib/modules/action-bar/switch-output-language-room/notification-bar/components/interpreter/index.js +94 -0
- package/lib/modules/action-bar/switch-output-language-room/notification-bar/components/virtual-image/index.css +8 -0
- package/lib/modules/action-bar/switch-output-language-room/notification-bar/components/virtual-image/index.d.ts +4 -0
- package/lib/modules/action-bar/switch-output-language-room/notification-bar/components/virtual-image/index.js +31 -0
- package/lib/modules/action-bar/switch-output-language-room/notification-bar/dome.png +0 -0
- package/lib/modules/action-bar/switch-output-language-room/notification-bar/fcr_translateswitch.png +0 -0
- package/lib/modules/action-bar/switch-output-language-room/notification-bar/index.css +71 -0
- package/lib/modules/action-bar/switch-output-language-room/notification-bar/index.d.ts +2 -0
- package/lib/modules/action-bar/switch-output-language-room/notification-bar/index.js +82 -0
- package/lib/modules/action-bar/view.js +65 -42
- package/lib/modules/chat/chat-bar/index.js +39 -27
- package/lib/modules/chat/chat-select/index.css +14 -4
- package/lib/modules/chat/chat.d.ts +1 -2
- package/lib/modules/chat/chat.js +184 -105
- package/lib/modules/chat/index.css +49 -0
- package/lib/modules/chat/index.d.ts +2 -2
- package/lib/modules/chat/index.dev.js +1 -1
- package/lib/modules/chat/index.js +13 -8
- package/lib/modules/chat/message-list.js +59 -48
- package/lib/modules/chat/store.d.ts +48 -2
- package/lib/modules/chat/store.js +258 -45
- package/lib/modules/connection-gateway/index.d.ts +2 -1
- package/lib/modules/connection-gateway/store.d.ts +6 -3
- package/lib/modules/connection-gateway/store.js +5 -1
- package/lib/modules/device-pretest/audio-preview/speaker-control.js +1 -1
- package/lib/modules/device-pretest/index.css +0 -4
- package/lib/modules/device-pretest/settings/beauty.js +17 -6
- package/lib/modules/device-pretest/store.js +7 -11
- package/lib/modules/dialog/components/Interpreter/electron.d.ts +2 -0
- package/lib/modules/dialog/components/Interpreter/electron.js +72 -0
- package/lib/modules/dialog/components/Interpreter/index.css +30 -0
- package/lib/modules/dialog/components/Interpreter/index.d.ts +4 -0
- package/lib/modules/dialog/components/Interpreter/index.js +61 -0
- package/lib/modules/dialog/components/Interpreter/user-queue/index.css +36 -0
- package/lib/modules/dialog/components/Interpreter/user-queue/index.d.ts +3 -0
- package/lib/modules/dialog/components/Interpreter/user-queue/index.js +47 -0
- package/lib/modules/dialog/components/chat/electron.js +2 -1
- package/lib/modules/dialog/components/confirm/electron.js +5 -3
- package/lib/modules/dialog/components/connection-gateway/electron.js +3 -1
- package/lib/modules/dialog/components/connection-gateway/index.css +0 -2
- package/lib/modules/dialog/components/device-setting/electron.js +3 -1
- package/lib/modules/dialog/components/device-setting/index.css +0 -1
- package/lib/modules/dialog/components/operation-waiting-room/electron.d.ts +5 -0
- package/lib/modules/dialog/components/operation-waiting-room/electron.js +89 -0
- package/lib/modules/dialog/components/operation-waiting-room/index.css +44 -0
- package/lib/modules/dialog/components/operation-waiting-room/index.d.ts +5 -0
- package/lib/modules/dialog/components/operation-waiting-room/index.js +156 -0
- package/lib/modules/dialog/components/participant/electron.js +2 -1
- package/lib/modules/dialog/components/remove-admit-waiting-room/electron.d.ts +5 -0
- package/lib/modules/dialog/components/remove-admit-waiting-room/electron.js +89 -0
- package/lib/modules/dialog/components/remove-admit-waiting-room/index.css +50 -0
- package/lib/modules/dialog/components/remove-admit-waiting-room/index.d.ts +5 -0
- package/lib/modules/dialog/components/remove-admit-waiting-room/index.js +90 -0
- package/lib/modules/dialog/components/switch-language-channels/electron.d.ts +2 -0
- package/lib/modules/dialog/components/switch-language-channels/electron.js +72 -0
- package/lib/modules/dialog/components/switch-language-channels/index.css +30 -0
- package/lib/modules/dialog/components/switch-language-channels/index.d.ts +4 -0
- package/lib/modules/dialog/components/switch-language-channels/index.js +63 -0
- package/lib/modules/dialog/components/switch-language-channels/user-queue/index.css +36 -0
- package/lib/modules/dialog/components/switch-language-channels/user-queue/index.d.ts +3 -0
- package/lib/modules/dialog/components/switch-language-channels/user-queue/index.js +47 -0
- package/lib/modules/dialog/components/whiteboard/index.js +2 -1
- package/lib/modules/dialog/dialogs.js +17 -13
- package/lib/modules/dialog/index.css +2 -0
- package/lib/modules/dialog/store.d.ts +4 -0
- package/lib/modules/dialog/store.js +16 -2
- package/lib/modules/event-notification/context.d.ts +2 -0
- package/lib/modules/event-notification/context.js +9 -0
- package/lib/modules/event-notification/index.css +58 -0
- package/lib/modules/event-notification/index.d.ts +13 -0
- package/lib/modules/event-notification/index.js +48 -0
- package/lib/modules/event-notification/store.d.ts +17 -0
- package/lib/modules/event-notification/store.js +133 -0
- package/lib/modules/event-notification/view.d.ts +5 -0
- package/lib/modules/event-notification/view.js +114 -0
- package/lib/modules/invite/index.css +4 -4
- package/lib/modules/invite/pstn-invite.js +1 -0
- package/lib/modules/layout/components/Gallery.js +7 -1
- package/lib/modules/layout/components/Layout.js +82 -57
- package/lib/modules/layout/components/index.css +33 -6
- package/lib/modules/layout/index.css +30 -0
- package/lib/modules/layout/member-window/index.js +9 -3
- package/lib/modules/layout/store.d.ts +19 -2
- package/lib/modules/layout/store.js +177 -70
- package/lib/modules/layout/video-window-datasource.d.ts +1 -1
- package/lib/modules/layout/video-window-datasource.js +1 -1
- package/lib/modules/live-streaming/index.dev.js +1 -1
- package/lib/modules/notification/context.d.ts +2 -0
- package/lib/modules/notification/context.js +9 -0
- package/lib/modules/notification/index.css +58 -0
- package/lib/modules/notification/index.d.ts +15 -0
- package/lib/modules/notification/index.js +51 -0
- package/lib/modules/notification/interpreter-status/index.css +72 -0
- package/lib/modules/notification/interpreter-status/index.d.ts +3 -0
- package/lib/modules/notification/interpreter-status/index.js +59 -0
- package/lib/modules/notification/store.d.ts +16 -0
- package/lib/modules/notification/store.js +127 -0
- package/lib/modules/notification/view.d.ts +10 -0
- package/lib/modules/notification/view.js +116 -0
- package/lib/modules/participant/attendee/index.d.ts +12 -3
- package/lib/modules/participant/attendee/index.js +132 -30
- package/lib/modules/participant/index.css +20 -0
- package/lib/modules/participant/index.d.ts +5 -2
- package/lib/modules/participant/index.dev.js +1 -1
- package/lib/modules/participant/index.js +27 -0
- package/lib/modules/participant/room-control-drop-menu/index.css +37 -0
- package/lib/modules/participant/store.d.ts +30 -5
- package/lib/modules/participant/store.js +347 -74
- package/lib/modules/participant/view.js +133 -34
- package/lib/modules/setting/index.css +1 -5
- package/lib/modules/setting/index.dev.js +1 -1
- package/lib/modules/setting/store.d.ts +2 -2
- package/lib/modules/setting/store.js +3 -8
- package/lib/modules/setting/translate-settings/translate-settings.js +1 -1
- package/lib/modules/setting/video-settings/index.css +9 -6
- package/lib/modules/share-screen/index.d.ts +2 -0
- package/lib/modules/share-screen/index.dev.js +3 -2
- package/lib/modules/share-screen/selection/index.css +2 -0
- package/lib/modules/share-screen/store.d.ts +6 -3
- package/lib/modules/share-screen/store.js +170 -129
- package/lib/modules/state-bar/index.css +2 -2
- package/lib/modules/state-bar/index.d.ts +2 -2
- package/lib/modules/state-bar/index.dev.js +1 -1
- package/lib/modules/state-bar/meeting-detail.css +6 -4
- package/lib/modules/state-bar/meeting-details.js +32 -5
- package/lib/modules/state-bar/meeting-network-state.css +14 -3
- package/lib/modules/state-bar/meeting-network-state.js +10 -4
- package/lib/modules/state-bar/recording.js +3 -5
- package/lib/modules/state-bar/store.d.ts +5 -2
- package/lib/modules/state-bar/store.js +32 -5
- package/lib/modules/state-bar/view.js +7 -10
- package/lib/modules/video-window/index.css +1 -0
- package/lib/modules/video-window/store.d.ts +2 -2
- package/lib/modules/video-window/store.js +14 -11
- package/lib/modules/waiting-room-layout/context.d.ts +2 -0
- package/lib/modules/waiting-room-layout/context.js +9 -0
- package/lib/modules/waiting-room-layout/index.css +71 -0
- package/lib/modules/waiting-room-layout/index.d.ts +8 -0
- package/lib/modules/waiting-room-layout/index.js +47 -0
- package/lib/modules/waiting-room-layout/store.d.ts +30 -0
- package/lib/modules/waiting-room-layout/store.js +189 -0
- package/lib/modules/waiting-room-layout/type.d.ts +0 -0
- package/lib/modules/waiting-room-layout/type.js +1 -0
- package/lib/modules/waiting-room-layout/view.d.ts +3 -0
- package/lib/modules/waiting-room-layout/view.js +67 -0
- package/lib/modules/whiteboard/app.js +0 -6
- package/lib/modules/whiteboard/components/control-bar/index.css +3 -0
- package/lib/modules/whiteboard/components/multi-window/index.js +6 -1
- package/lib/modules/whiteboard/components/progress/electron.js +2 -1
- package/lib/modules/whiteboard/components/switch-theme/index.css +4 -0
- package/lib/modules/whiteboard/components/switch-theme/index.d.ts +2 -1
- package/lib/modules/whiteboard/components/switch-theme/index.js +20 -15
- package/lib/modules/whiteboard/components/switch-theme/item.d.ts +1 -0
- package/lib/modules/whiteboard/components/switch-theme/item.js +9 -2
- package/lib/modules/whiteboard/components/toolbar/components/shape-picker.js +14 -10
- package/lib/modules/whiteboard/components/toolbar/store.d.ts +1 -0
- package/lib/modules/whiteboard/components/toolbar/store.js +3 -0
- package/lib/modules/whiteboard/context.d.ts +4 -0
- package/lib/modules/whiteboard/context.js +4 -2
- package/lib/modules/whiteboard/index.js +22 -6
- package/lib/plugins/browser-runtime-plugin.js +4 -1
- package/lib/plugins/module-dev-plugin.js +8 -6
- package/lib/runtime.d.ts +2 -1
- package/lib/translations/enUS.d.ts +449 -6
- package/lib/translations/enUS.js +485 -32
- package/lib/translations/zhCN.d.ts +447 -6
- package/lib/translations/zhCN.js +468 -17
- package/lib/type.d.ts +6 -2
- package/lib/ui-manager.d.ts +7 -3
- package/lib/ui-manager.js +576 -139
- package/lib/ui-scene.d.ts +1 -0
- package/lib/ui-scene.js +26 -21
- package/lib/utilities/constant.d.ts +43 -4
- package/lib/utilities/constant.js +41 -1
- package/lib/utilities/parameters.js +2 -2
- package/lib/utilities/renderer.d.ts +1 -0
- package/lib/utilities/renderer.js +6 -2
- package/package.json +14 -14
- package/public/assets/fcr_defaultpage.png +0 -0
- package/public/assets/login_confirm.png +0 -0
- package/public/index.html +34 -11
- package/dist/132.js +0 -2
- package/dist/132.js.LICENSE.txt +0 -311
- package/dist/651.js +0 -2
- package/dist/651.js.LICENSE.txt +0 -1
- package/dist/73.js +0 -1
- package/dist/index.html +0 -13
- package/dist/main.da7c203ab32d15742cfe.css +0 -11760
- package/dist/main.js +0 -2
- package/dist/main.js.LICENSE.txt +0 -254
- package/dist/worker-entry.worker.js.LICENSE.txt +0 -13
- package/lib/modules/device-pretest/settings/index.css +0 -15
- package/lib/modules/participant/attendee/participants-more-action.d.ts +0 -18
- package/lib/modules/participant/attendee/participants-more-action.js +0 -278
|
@@ -8,10 +8,12 @@ require("core-js/modules/es.error.to-string.js");
|
|
|
8
8
|
require("core-js/modules/es.array.is-array.js");
|
|
9
9
|
require("core-js/modules/es.date.to-primitive.js");
|
|
10
10
|
require("core-js/modules/es.function.name.js");
|
|
11
|
-
require("core-js/modules/es.number.constructor.js");
|
|
12
11
|
require("core-js/modules/es.object.create.js");
|
|
12
|
+
require("core-js/modules/es.object.define-properties.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/es.object.get-own-property-descriptors.js");
|
|
16
|
+
require("core-js/modules/es.object.keys.js");
|
|
15
17
|
require("core-js/modules/esnext.function.metadata.js");
|
|
16
18
|
require("core-js/modules/esnext.symbol.metadata.js");
|
|
17
19
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -25,28 +27,34 @@ require("core-js/modules/es.array.filter.js");
|
|
|
25
27
|
require("core-js/modules/es.array.find.js");
|
|
26
28
|
require("core-js/modules/es.array.find-index.js");
|
|
27
29
|
require("core-js/modules/es.array.for-each.js");
|
|
30
|
+
require("core-js/modules/es.array.includes.js");
|
|
28
31
|
require("core-js/modules/es.array.iterator.js");
|
|
29
32
|
require("core-js/modules/es.array.map.js");
|
|
30
33
|
require("core-js/modules/es.array.push.js");
|
|
34
|
+
require("core-js/modules/es.array.reduce.js");
|
|
31
35
|
require("core-js/modules/es.array.some.js");
|
|
32
36
|
require("core-js/modules/es.array.splice.js");
|
|
33
37
|
require("core-js/modules/es.date.to-string.js");
|
|
34
38
|
require("core-js/modules/es.function.bind.js");
|
|
35
39
|
require("core-js/modules/es.map.js");
|
|
40
|
+
require("core-js/modules/es.number.constructor.js");
|
|
36
41
|
require("core-js/modules/es.object.to-string.js");
|
|
37
42
|
require("core-js/modules/es.object.values.js");
|
|
43
|
+
require("core-js/modules/es.string.includes.js");
|
|
38
44
|
require("core-js/modules/es.string.iterator.js");
|
|
39
45
|
require("core-js/modules/es.weak-map.js");
|
|
40
46
|
require("core-js/modules/esnext.async-iterator.filter.js");
|
|
41
47
|
require("core-js/modules/esnext.async-iterator.find.js");
|
|
42
48
|
require("core-js/modules/esnext.async-iterator.for-each.js");
|
|
43
49
|
require("core-js/modules/esnext.async-iterator.map.js");
|
|
50
|
+
require("core-js/modules/esnext.async-iterator.reduce.js");
|
|
44
51
|
require("core-js/modules/esnext.async-iterator.some.js");
|
|
45
52
|
require("core-js/modules/esnext.iterator.constructor.js");
|
|
46
53
|
require("core-js/modules/esnext.iterator.filter.js");
|
|
47
54
|
require("core-js/modules/esnext.iterator.find.js");
|
|
48
55
|
require("core-js/modules/esnext.iterator.for-each.js");
|
|
49
56
|
require("core-js/modules/esnext.iterator.map.js");
|
|
57
|
+
require("core-js/modules/esnext.iterator.reduce.js");
|
|
50
58
|
require("core-js/modules/esnext.iterator.some.js");
|
|
51
59
|
require("core-js/modules/esnext.map.delete-all.js");
|
|
52
60
|
require("core-js/modules/esnext.map.emplace.js");
|
|
@@ -89,8 +97,12 @@ var _type5 = require("agora-ui-foundation/lib/components/icon/type");
|
|
|
89
97
|
var _type6 = require("agora-rte-sdk/lib/core/scene/type");
|
|
90
98
|
var _type7 = require("agora-rte-sdk/lib/type");
|
|
91
99
|
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
100
|
+
var _type8 = require("agora-edu-core/lib/room-control/type");
|
|
101
|
+
var _type9 = require("agora-edu-core/lib/room-control/privilege-control/type");
|
|
92
102
|
var _ActionBarStore;
|
|
93
|
-
var _initProto, _init_users, _init_newMessageTooltipVisible, _init_newMessageCount, _init_latestMessage, _init_totalUser, _init_liveStreamingState, _init_currentMenuIs, _init_cloudRecordingState, _init_localUserRole, _init_localUser, _init_connectionSettingVisible, _init_connectType, _init_folded, _init_boardOwnerUser, _init_hasScreenShare, _init_showArrow, _init_phoneMicEnabled, _pauseCloudRecordingDecs, _resumeCloudRecordingDecs, _stopCloudRecordingDecs, _toggleLayoutBarLockDecs, _showNewMessageTooltipDecs, _hideNewMessageTooltipDecs, _switchMenuDecs, _assignHostDecs, _toggleFoldDecs, _setShowArrowDecs, _handleRemoteUsersJoinedDecs, _handleRemoteUsersLeftDecs, _handleAllUserCountUpdatedDecs, _handleUserInfoUpdatedDecs, _handleLiveStreamingStateUpdatedDecs, _handleNewMessageEventDecs, _init__handleNewMessageEvent, _handleChatVisibleDecs, _handlerTraceScreenCaptureStateUpdateDecs, _handleCloudRecordingStateUpdatedDecs, _handleStreamsAddedOrUpdatedDecs, _ref;
|
|
103
|
+
var _initProto, _init_users, _init_newMessageTooltipVisible, _init_newMessageCount, _init_latestMessage, _init_totalUser, _init_totalWaitingRoomUser, _init_liveStreamingState, _init_currentMenuIs, _init_cloudRecordingState, _init_localUserRole, _init_localUser, _init_connectionSettingVisible, _init_connectType, _init_folded, _init_boardOwnerUser, _init_hasScreenShare, _init_showArrow, _init_phoneMicEnabled, _init_isNewWaitingRoomUserEnter, _init_chatTabIndex, _init_popoverOpened, _init_isPstnUser, _pauseCloudRecordingDecs, _resumeCloudRecordingDecs, _stopCloudRecordingDecs, _toggleLayoutBarLockDecs, _showNewMessageTooltipDecs, _hideNewMessageTooltipDecs, _switchMenuDecs, _assignHostDecs, _setPopoverOpenedDecs, _toggleFoldDecs, _setShowArrowDecs, _setEnableWaitingRoomDecs, _kickOutWaitingRoomAllMemberDecs, _moveToMainRoomAllMemberDecs, _handleRemoteUsersJoinedDecs, _handleRemoteUsersLeftDecs, _handleAllUserCountUpdatedDecs, _getWaitingRoomUserCountDecs, _handleRemoteWaitingUserLeftDecs, _handleRemoteWaitingUserJoinedDecs, _handleUserInfoUpdatedDecs, _handleLiveStreamingStateUpdatedDecs, _handleNewMessageEventDecs, _init__handleNewMessageEvent, _handleChatVisibleDecs, _handlerTraceScreenCaptureStateUpdateDecs, _operateWaitingRoomDecs, _handleCloudRecordingStateUpdatedDecs, _handleStreamsAddedOrUpdatedDecs, _ref;
|
|
104
|
+
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; }
|
|
105
|
+
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; }
|
|
94
106
|
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
|
95
107
|
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
|
96
108
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
|
@@ -129,13 +141,18 @@ var _N = /*#__PURE__*/new WeakMap();
|
|
|
129
141
|
var _O = /*#__PURE__*/new WeakMap();
|
|
130
142
|
var _P = /*#__PURE__*/new WeakMap();
|
|
131
143
|
var _Q = /*#__PURE__*/new WeakMap();
|
|
144
|
+
var _R = /*#__PURE__*/new WeakMap();
|
|
145
|
+
var _S = /*#__PURE__*/new WeakMap();
|
|
146
|
+
var _T = /*#__PURE__*/new WeakMap();
|
|
147
|
+
var _U = /*#__PURE__*/new WeakMap();
|
|
148
|
+
var _V = /*#__PURE__*/new WeakMap();
|
|
132
149
|
_ref = (_pauseCloudRecordingDecs = [_decorator.bound, (0, _decorator.debounced)(500, {
|
|
133
150
|
leading: true
|
|
134
151
|
})], _resumeCloudRecordingDecs = [_decorator.bound, (0, _decorator.debounced)(500, {
|
|
135
152
|
leading: true
|
|
136
153
|
})], _stopCloudRecordingDecs = [_decorator.bound, (0, _decorator.debounced)(500, {
|
|
137
154
|
leading: true
|
|
138
|
-
})], _toggleLayoutBarLockDecs = [_mobx.action, _mobx.action.bound], _showNewMessageTooltipDecs = [_mobx.action, _mobx.action.bound], _hideNewMessageTooltipDecs = [_mobx.action, _mobx.action.bound], _switchMenuDecs = [_mobx.action, _mobx.action.bound], _assignHostDecs = [_mobx.action, _mobx.action.bound], _toggleFoldDecs = [_mobx.action, _mobx.action.bound], _setShowArrowDecs = [_mobx.action, _mobx.action.bound], _handleRemoteUsersJoinedDecs = [_mobx.action, _mobx.action.bound], _handleRemoteUsersLeftDecs = [_mobx.action, _mobx.action.bound], _handleAllUserCountUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleUserInfoUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleLiveStreamingStateUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleNewMessageEventDecs = [_mobx.action, _mobx.action.bound], _handleChatVisibleDecs = [_mobx.action, _mobx.action.bound], _handlerTraceScreenCaptureStateUpdateDecs = [_mobx.action, _mobx.action.bound], _handleCloudRecordingStateUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleStreamsAddedOrUpdatedDecs = [_mobx.action, _mobx.action.bound], "logger");
|
|
155
|
+
})], _toggleLayoutBarLockDecs = [_mobx.action, _mobx.action.bound], _showNewMessageTooltipDecs = [_mobx.action, _mobx.action.bound], _hideNewMessageTooltipDecs = [_mobx.action, _mobx.action.bound], _switchMenuDecs = [_mobx.action, _mobx.action.bound], _assignHostDecs = [_mobx.action, _mobx.action.bound], _setPopoverOpenedDecs = [_mobx.action, _mobx.action.bound], _toggleFoldDecs = [_mobx.action, _mobx.action.bound], _setShowArrowDecs = [_mobx.action, _mobx.action.bound], _setEnableWaitingRoomDecs = [_mobx.action, _mobx.action.bound], _kickOutWaitingRoomAllMemberDecs = [_mobx.action, _mobx.action.bound], _moveToMainRoomAllMemberDecs = [_mobx.action, _mobx.action.bound], _handleRemoteUsersJoinedDecs = [_mobx.action, _mobx.action.bound], _handleRemoteUsersLeftDecs = [_mobx.action, _mobx.action.bound], _handleAllUserCountUpdatedDecs = [_mobx.action, _mobx.action.bound], _getWaitingRoomUserCountDecs = [_mobx.action, _mobx.action.bound], _handleRemoteWaitingUserLeftDecs = [_mobx.action, _mobx.action.bound], _handleRemoteWaitingUserJoinedDecs = [_mobx.action, _mobx.action.bound], _handleUserInfoUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleLiveStreamingStateUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleNewMessageEventDecs = [_mobx.action, _mobx.action.bound], _handleChatVisibleDecs = [_mobx.action, _mobx.action.bound], _handlerTraceScreenCaptureStateUpdateDecs = [_mobx.action, _mobx.action.bound], _operateWaitingRoomDecs = [_mobx.action, _mobx.action.bound], _handleCloudRecordingStateUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleStreamsAddedOrUpdatedDecs = [_mobx.action, _mobx.action.bound], "logger");
|
|
139
156
|
var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
140
157
|
function ActionBarStore(args) {
|
|
141
158
|
var _this = this;
|
|
@@ -151,6 +168,10 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
151
168
|
onUserInfoUpdated: this._handleUserInfoUpdated,
|
|
152
169
|
onAllUserCountUpdated: this._handleAllUserCountUpdated
|
|
153
170
|
});
|
|
171
|
+
(0, _defineProperty2["default"])(this, "_waitingRoomUserObserver", {
|
|
172
|
+
onRemoteUsersJoined: this._handleRemoteWaitingUserJoined,
|
|
173
|
+
onRemoteUsersLeft: this._handleRemoteWaitingUserLeft
|
|
174
|
+
});
|
|
154
175
|
(0, _defineProperty2["default"])(this, "_roomObserver", {
|
|
155
176
|
onLiveStreamingStateUpdated: this._handleLiveStreamingStateUpdated,
|
|
156
177
|
onCloudRecordingStateUpdated: this._handleCloudRecordingStateUpdated
|
|
@@ -168,26 +189,35 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
168
189
|
(0, _defineProperty2["default"])(this, "_isSharingScreen", false);
|
|
169
190
|
(0, _defineProperty2["default"])(this, "_microponeInitCount", 0);
|
|
170
191
|
(0, _defineProperty2["default"])(this, "_speakerInitCount", 0);
|
|
192
|
+
(0, _defineProperty2["default"])(this, "_participantTab", _constant.RoomType.MAIN_ROOM);
|
|
171
193
|
_classPrivateFieldInitSpec(this, _A, _init_users(this));
|
|
172
194
|
_classPrivateFieldInitSpec(this, _B, _init_newMessageTooltipVisible(this, false));
|
|
173
|
-
_classPrivateFieldInitSpec(this, _C, _init_newMessageCount(this, 0));
|
|
195
|
+
_classPrivateFieldInitSpec(this, _C, _init_newMessageCount(this, (0, _defineProperty2["default"])({}, _constant.RoomType.MAIN_ROOM, 0)));
|
|
174
196
|
_classPrivateFieldInitSpec(this, _D, _init_latestMessage(this));
|
|
175
197
|
_classPrivateFieldInitSpec(this, _E, _init_totalUser(this));
|
|
176
|
-
_classPrivateFieldInitSpec(this, _F,
|
|
177
|
-
_classPrivateFieldInitSpec(this, _G,
|
|
178
|
-
_classPrivateFieldInitSpec(this, _H,
|
|
179
|
-
_classPrivateFieldInitSpec(this, _I,
|
|
180
|
-
_classPrivateFieldInitSpec(this, _J,
|
|
181
|
-
_classPrivateFieldInitSpec(this, _K,
|
|
182
|
-
_classPrivateFieldInitSpec(this, _L,
|
|
183
|
-
_classPrivateFieldInitSpec(this, _M,
|
|
184
|
-
_classPrivateFieldInitSpec(this, _N,
|
|
185
|
-
_classPrivateFieldInitSpec(this, _O,
|
|
186
|
-
_classPrivateFieldInitSpec(this, _P,
|
|
187
|
-
_classPrivateFieldInitSpec(this, _Q,
|
|
198
|
+
_classPrivateFieldInitSpec(this, _F, _init_totalWaitingRoomUser(this, 0));
|
|
199
|
+
_classPrivateFieldInitSpec(this, _G, _init_liveStreamingState(this));
|
|
200
|
+
_classPrivateFieldInitSpec(this, _H, _init_currentMenuIs(this, MoreMenuType.DEFAULT));
|
|
201
|
+
_classPrivateFieldInitSpec(this, _I, _init_cloudRecordingState(this));
|
|
202
|
+
_classPrivateFieldInitSpec(this, _J, _init_localUserRole(this));
|
|
203
|
+
_classPrivateFieldInitSpec(this, _K, _init_localUser(this));
|
|
204
|
+
_classPrivateFieldInitSpec(this, _L, _init_connectionSettingVisible(this, false));
|
|
205
|
+
_classPrivateFieldInitSpec(this, _M, _init_connectType(this, _type3.ConnectType.COMPUTER));
|
|
206
|
+
_classPrivateFieldInitSpec(this, _N, _init_folded(this, false));
|
|
207
|
+
_classPrivateFieldInitSpec(this, _O, _init_boardOwnerUser(this, null));
|
|
208
|
+
_classPrivateFieldInitSpec(this, _P, _init_hasScreenShare(this, false));
|
|
209
|
+
_classPrivateFieldInitSpec(this, _Q, _init_showArrow(this, false));
|
|
210
|
+
_classPrivateFieldInitSpec(this, _R, _init_phoneMicEnabled(this, false));
|
|
211
|
+
_classPrivateFieldInitSpec(this, _S, _init_isNewWaitingRoomUserEnter(this, false));
|
|
212
|
+
_classPrivateFieldInitSpec(this, _T, _init_chatTabIndex(this, _constant.RoomType.MAIN_ROOM));
|
|
213
|
+
_classPrivateFieldInitSpec(this, _U, _init_popoverOpened(this, false));
|
|
214
|
+
_classPrivateFieldInitSpec(this, _V, _init_isPstnUser(this, false));
|
|
188
215
|
(0, _defineProperty2["default"])(this, "_handleNewMessageEvent", _init__handleNewMessageEvent(this, function (e) {
|
|
189
|
-
|
|
190
|
-
|
|
216
|
+
var _msgObj;
|
|
217
|
+
// if (this._chatVisible) return;
|
|
218
|
+
var msgObj = _objectSpread({}, _this.newMessageCount);
|
|
219
|
+
msgObj[e.type] = ((_msgObj = msgObj[e.type]) !== null && _msgObj !== void 0 ? _msgObj : 0) + Number(e.count);
|
|
220
|
+
_this.newMessageCount = _objectSpread({}, msgObj);
|
|
191
221
|
_this.latestMessage = e.latestMessage;
|
|
192
222
|
_this._newMessageTooltipTimer && clearTimeout(_this._newMessageTooltipTimer);
|
|
193
223
|
_this.showNewMessageTooltip();
|
|
@@ -255,6 +285,41 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
255
285
|
action: _constant.RendererEventAction.USER_ROLE_CHANGED,
|
|
256
286
|
payload: role
|
|
257
287
|
});
|
|
288
|
+
}), (0, _mobx.reaction)(function () {
|
|
289
|
+
return _this.remoteUsers;
|
|
290
|
+
}, function (users) {
|
|
291
|
+
(0, _rendererEvent.sendEvent)({
|
|
292
|
+
action: _constant.RendererEventAction.SET_REMOTE_USERS,
|
|
293
|
+
payload: users
|
|
294
|
+
});
|
|
295
|
+
}), (0, _mobx.reaction)(function () {
|
|
296
|
+
return _this.hasAssignHostBeforeLeavingPermission;
|
|
297
|
+
}, function (hasAssignHostBeforeLeavingPermission) {
|
|
298
|
+
return (0, _rendererEvent.sendEvent)({
|
|
299
|
+
action: _constant.RendererEventAction.SET_HAS_ASSIGN_HOST_BEFORE_LEAVING_PERMISSION,
|
|
300
|
+
payload: hasAssignHostBeforeLeavingPermission
|
|
301
|
+
});
|
|
302
|
+
}), (0, _mobx.reaction)(function () {
|
|
303
|
+
return _this.isPstnUser;
|
|
304
|
+
}, function (isPstnUser) {
|
|
305
|
+
return (0, _rendererEvent.sendEvent)({
|
|
306
|
+
action: _constant.RendererEventAction.SET_IS_PSTN_USER,
|
|
307
|
+
payload: isPstnUser
|
|
308
|
+
});
|
|
309
|
+
}), (0, _mobx.reaction)(function () {
|
|
310
|
+
return _this.hasEndRoomPermission;
|
|
311
|
+
}, function (hasEndRoomPermission) {
|
|
312
|
+
return (0, _rendererEvent.sendEvent)({
|
|
313
|
+
action: _constant.RendererEventAction.SET_HAS_END_ROOM_PERMISSION,
|
|
314
|
+
payload: hasEndRoomPermission
|
|
315
|
+
});
|
|
316
|
+
}), (0, _mobx.reaction)(function () {
|
|
317
|
+
return _this.isLocked;
|
|
318
|
+
}, function (isLocked) {
|
|
319
|
+
(0, _rendererEvent.sendEvent)({
|
|
320
|
+
action: _constant.RendererEventAction.SET_IS_LOCKED,
|
|
321
|
+
payload: isLocked
|
|
322
|
+
});
|
|
258
323
|
}));
|
|
259
324
|
}
|
|
260
325
|
return (0, _createClass2["default"])(ActionBarStore, [{
|
|
@@ -298,7 +363,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
298
363
|
_classPrivateFieldSet(_E, this, v);
|
|
299
364
|
}
|
|
300
365
|
}, {
|
|
301
|
-
key: "
|
|
366
|
+
key: "totalWaitingRoomUser",
|
|
302
367
|
get: function get() {
|
|
303
368
|
return _classPrivateFieldGet(_F, this);
|
|
304
369
|
},
|
|
@@ -306,7 +371,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
306
371
|
_classPrivateFieldSet(_F, this, v);
|
|
307
372
|
}
|
|
308
373
|
}, {
|
|
309
|
-
key: "
|
|
374
|
+
key: "liveStreamingState",
|
|
310
375
|
get: function get() {
|
|
311
376
|
return _classPrivateFieldGet(_G, this);
|
|
312
377
|
},
|
|
@@ -314,7 +379,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
314
379
|
_classPrivateFieldSet(_G, this, v);
|
|
315
380
|
}
|
|
316
381
|
}, {
|
|
317
|
-
key: "
|
|
382
|
+
key: "currentMenuIs",
|
|
318
383
|
get: function get() {
|
|
319
384
|
return _classPrivateFieldGet(_H, this);
|
|
320
385
|
},
|
|
@@ -322,7 +387,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
322
387
|
_classPrivateFieldSet(_H, this, v);
|
|
323
388
|
}
|
|
324
389
|
}, {
|
|
325
|
-
key: "
|
|
390
|
+
key: "cloudRecordingState",
|
|
326
391
|
get: function get() {
|
|
327
392
|
return _classPrivateFieldGet(_I, this);
|
|
328
393
|
},
|
|
@@ -330,7 +395,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
330
395
|
_classPrivateFieldSet(_I, this, v);
|
|
331
396
|
}
|
|
332
397
|
}, {
|
|
333
|
-
key: "
|
|
398
|
+
key: "localUserRole",
|
|
334
399
|
get: function get() {
|
|
335
400
|
return _classPrivateFieldGet(_J, this);
|
|
336
401
|
},
|
|
@@ -338,7 +403,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
338
403
|
_classPrivateFieldSet(_J, this, v);
|
|
339
404
|
}
|
|
340
405
|
}, {
|
|
341
|
-
key: "
|
|
406
|
+
key: "localUser",
|
|
342
407
|
get: function get() {
|
|
343
408
|
return _classPrivateFieldGet(_K, this);
|
|
344
409
|
},
|
|
@@ -346,7 +411,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
346
411
|
_classPrivateFieldSet(_K, this, v);
|
|
347
412
|
}
|
|
348
413
|
}, {
|
|
349
|
-
key: "
|
|
414
|
+
key: "connectionSettingVisible",
|
|
350
415
|
get: function get() {
|
|
351
416
|
return _classPrivateFieldGet(_L, this);
|
|
352
417
|
},
|
|
@@ -354,7 +419,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
354
419
|
_classPrivateFieldSet(_L, this, v);
|
|
355
420
|
}
|
|
356
421
|
}, {
|
|
357
|
-
key: "
|
|
422
|
+
key: "connectType",
|
|
358
423
|
get: function get() {
|
|
359
424
|
return _classPrivateFieldGet(_M, this);
|
|
360
425
|
},
|
|
@@ -362,7 +427,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
362
427
|
_classPrivateFieldSet(_M, this, v);
|
|
363
428
|
}
|
|
364
429
|
}, {
|
|
365
|
-
key: "
|
|
430
|
+
key: "folded",
|
|
366
431
|
get: function get() {
|
|
367
432
|
return _classPrivateFieldGet(_N, this);
|
|
368
433
|
},
|
|
@@ -370,7 +435,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
370
435
|
_classPrivateFieldSet(_N, this, v);
|
|
371
436
|
}
|
|
372
437
|
}, {
|
|
373
|
-
key: "
|
|
438
|
+
key: "boardOwnerUser",
|
|
374
439
|
get: function get() {
|
|
375
440
|
return _classPrivateFieldGet(_O, this);
|
|
376
441
|
},
|
|
@@ -378,7 +443,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
378
443
|
_classPrivateFieldSet(_O, this, v);
|
|
379
444
|
}
|
|
380
445
|
}, {
|
|
381
|
-
key: "
|
|
446
|
+
key: "hasScreenShare",
|
|
382
447
|
get: function get() {
|
|
383
448
|
return _classPrivateFieldGet(_P, this);
|
|
384
449
|
},
|
|
@@ -386,13 +451,77 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
386
451
|
_classPrivateFieldSet(_P, this, v);
|
|
387
452
|
}
|
|
388
453
|
}, {
|
|
389
|
-
key: "
|
|
454
|
+
key: "showArrow",
|
|
390
455
|
get: function get() {
|
|
391
456
|
return _classPrivateFieldGet(_Q, this);
|
|
392
457
|
},
|
|
393
458
|
set: function set(v) {
|
|
394
459
|
_classPrivateFieldSet(_Q, this, v);
|
|
395
460
|
}
|
|
461
|
+
}, {
|
|
462
|
+
key: "phoneMicEnabled",
|
|
463
|
+
get: function get() {
|
|
464
|
+
return _classPrivateFieldGet(_R, this);
|
|
465
|
+
},
|
|
466
|
+
set: function set(v) {
|
|
467
|
+
_classPrivateFieldSet(_R, this, v);
|
|
468
|
+
}
|
|
469
|
+
}, {
|
|
470
|
+
key: "isNewWaitingRoomUserEnter",
|
|
471
|
+
get: function get() {
|
|
472
|
+
return _classPrivateFieldGet(_S, this);
|
|
473
|
+
},
|
|
474
|
+
set: function set(v) {
|
|
475
|
+
_classPrivateFieldSet(_S, this, v);
|
|
476
|
+
}
|
|
477
|
+
}, {
|
|
478
|
+
key: "chatTabIndex",
|
|
479
|
+
get: function get() {
|
|
480
|
+
return _classPrivateFieldGet(_T, this);
|
|
481
|
+
},
|
|
482
|
+
set: function set(v) {
|
|
483
|
+
_classPrivateFieldSet(_T, this, v);
|
|
484
|
+
}
|
|
485
|
+
}, {
|
|
486
|
+
key: "popoverOpened",
|
|
487
|
+
get: function get() {
|
|
488
|
+
return _classPrivateFieldGet(_U, this);
|
|
489
|
+
},
|
|
490
|
+
set: function set(v) {
|
|
491
|
+
_classPrivateFieldSet(_U, this, v);
|
|
492
|
+
}
|
|
493
|
+
}, {
|
|
494
|
+
key: "isPstnUser",
|
|
495
|
+
get: function get() {
|
|
496
|
+
return _classPrivateFieldGet(_V, this);
|
|
497
|
+
},
|
|
498
|
+
set: function set(v) {
|
|
499
|
+
_classPrivateFieldSet(_V, this, v);
|
|
500
|
+
}
|
|
501
|
+
}, {
|
|
502
|
+
key: "fetchNewestLeavingRoomCompProps",
|
|
503
|
+
value: function fetchNewestLeavingRoomCompProps() {
|
|
504
|
+
(0, _rendererEvent.sendEvent)({
|
|
505
|
+
action: _constant.RendererEventAction.SET_REMOTE_USERS,
|
|
506
|
+
payload: this.remoteUsers
|
|
507
|
+
});
|
|
508
|
+
(0, _rendererEvent.sendEvent)({
|
|
509
|
+
action: _constant.RendererEventAction.SET_HAS_ASSIGN_HOST_BEFORE_LEAVING_PERMISSION,
|
|
510
|
+
payload: this.hasAssignHostBeforeLeavingPermission
|
|
511
|
+
});
|
|
512
|
+
(0, _rendererEvent.sendEvent)({
|
|
513
|
+
action: _constant.RendererEventAction.SET_IS_PSTN_USER,
|
|
514
|
+
payload: this.isPstnUser
|
|
515
|
+
});
|
|
516
|
+
(0, _rendererEvent.sendEvent)({
|
|
517
|
+
action: _constant.RendererEventAction.SET_HAS_END_ROOM_PERMISSION,
|
|
518
|
+
payload: this.hasEndRoomPermission
|
|
519
|
+
});
|
|
520
|
+
(0, _rendererEvent.sendEvent)({
|
|
521
|
+
action: _constant.RendererEventAction.SET_IS_LOCKED,
|
|
522
|
+
payload: this.isLocked
|
|
523
|
+
});
|
|
524
|
+
}
|
|
396
525
|
}, {
|
|
397
526
|
key: "remoteUsers",
|
|
398
527
|
get: function get() {
|
|
@@ -431,6 +560,21 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
431
560
|
get: function get() {
|
|
432
561
|
return this._securityStore.hasLockRoomPermission();
|
|
433
562
|
}
|
|
563
|
+
}, {
|
|
564
|
+
key: "hasWaitingRoomPermission",
|
|
565
|
+
get: function get() {
|
|
566
|
+
return this._securityStore.hasWaitingRoomPermission();
|
|
567
|
+
}
|
|
568
|
+
}, {
|
|
569
|
+
key: "hasWatermarkEnablePermission",
|
|
570
|
+
get: function get() {
|
|
571
|
+
return this._securityStore.hasWatermarkEnablePermission();
|
|
572
|
+
}
|
|
573
|
+
}, {
|
|
574
|
+
key: "hasWatermarkDisablePermission",
|
|
575
|
+
get: function get() {
|
|
576
|
+
return this._securityStore.hasWatermarkDisablePermission();
|
|
577
|
+
}
|
|
434
578
|
}, {
|
|
435
579
|
key: "hasEnableStartSharePermission",
|
|
436
580
|
get: function get() {
|
|
@@ -482,14 +626,14 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
482
626
|
return this._securityStore.allowBoardWrite();
|
|
483
627
|
}
|
|
484
628
|
}, {
|
|
485
|
-
key: "
|
|
629
|
+
key: "isWaterMarkEnabled",
|
|
486
630
|
get: function get() {
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
return
|
|
631
|
+
return this._securityStore.isWaterMarkEnabled();
|
|
632
|
+
}
|
|
633
|
+
}, {
|
|
634
|
+
key: "isMulti",
|
|
635
|
+
get: function get() {
|
|
636
|
+
return this._securityStore.isMulti();
|
|
493
637
|
}
|
|
494
638
|
}, {
|
|
495
639
|
key: "cameraEnabled",
|
|
@@ -536,6 +680,19 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
536
680
|
get: function get() {
|
|
537
681
|
return this._deviceStore.speakerList;
|
|
538
682
|
}
|
|
683
|
+
}, {
|
|
684
|
+
key: "allNewMessage",
|
|
685
|
+
get: function get() {
|
|
686
|
+
return Object.values(this.newMessageCount).reduce(function (a, b) {
|
|
687
|
+
return a + b;
|
|
688
|
+
}, 0);
|
|
689
|
+
}
|
|
690
|
+
}, {
|
|
691
|
+
key: "isMainRoom",
|
|
692
|
+
get: function get() {
|
|
693
|
+
var _this$_roomControl$ge;
|
|
694
|
+
return ((_this$_roomControl$ge = this._roomControl.getRoomInfo()) === null || _this$_roomControl$ge === void 0 ? void 0 : _this$_roomControl$ge.roomType) === _type8.FcrRoomType.Mainroom;
|
|
695
|
+
}
|
|
539
696
|
}, {
|
|
540
697
|
key: "pauseCloudRecording",
|
|
541
698
|
value: function pauseCloudRecording() {
|
|
@@ -589,13 +746,23 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
589
746
|
}
|
|
590
747
|
}, {
|
|
591
748
|
key: "isLocked",
|
|
592
|
-
|
|
749
|
+
get: function get() {
|
|
593
750
|
return this._securityStore.isLockRoomEnabled();
|
|
594
751
|
}
|
|
752
|
+
}, {
|
|
753
|
+
key: "isWaitingRoomEnabled",
|
|
754
|
+
value: function isWaitingRoomEnabled() {
|
|
755
|
+
return this._securityStore.isWaitingRoomEnabled();
|
|
756
|
+
}
|
|
595
757
|
}, {
|
|
596
758
|
key: "enableCamera",
|
|
597
759
|
value: function enableCamera(enable) {
|
|
598
|
-
|
|
760
|
+
var _this$_roomControl$ge2;
|
|
761
|
+
if (((_this$_roomControl$ge2 = this._roomControl.getRoomInfo()) === null || _this$_roomControl$ge2 === void 0 ? void 0 : _this$_roomControl$ge2.roomType) === _type8.FcrRoomType.Mainroom) {
|
|
762
|
+
this._deviceStreamStore.enableCameraWithStream(enable);
|
|
763
|
+
} else {
|
|
764
|
+
this._deviceStore.setCameraEnabled(enable);
|
|
765
|
+
}
|
|
599
766
|
}
|
|
600
767
|
}, {
|
|
601
768
|
key: "setCameraId",
|
|
@@ -605,7 +772,12 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
605
772
|
}, {
|
|
606
773
|
key: "enableMicrophone",
|
|
607
774
|
value: function enableMicrophone(enable) {
|
|
608
|
-
|
|
775
|
+
var _this$_roomControl$ge3;
|
|
776
|
+
if (((_this$_roomControl$ge3 = this._roomControl.getRoomInfo()) === null || _this$_roomControl$ge3 === void 0 ? void 0 : _this$_roomControl$ge3.roomType) === _type8.FcrRoomType.Mainroom) {
|
|
777
|
+
this._deviceStreamStore.enableMicrophoneWithStream(enable);
|
|
778
|
+
} else {
|
|
779
|
+
this._deviceStore.setMicrophoneEnabled(enable);
|
|
780
|
+
}
|
|
609
781
|
}
|
|
610
782
|
}, {
|
|
611
783
|
key: "setMicrophoneId",
|
|
@@ -617,22 +789,22 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
617
789
|
value: function setSpeakerId(speakerId) {
|
|
618
790
|
this._deviceStore.setSpeakerId(speakerId);
|
|
619
791
|
}
|
|
792
|
+
}, {
|
|
793
|
+
key: "closeSpeaker",
|
|
794
|
+
value: function closeSpeaker() {
|
|
795
|
+
this._mediaControl.setSelectedSpeakerVolume(0);
|
|
796
|
+
}
|
|
620
797
|
}, {
|
|
621
798
|
key: "setAllowBoardWrite",
|
|
622
799
|
value: function () {
|
|
623
800
|
var _setAllowBoardWrite = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee() {
|
|
624
|
-
var write
|
|
801
|
+
var write;
|
|
625
802
|
return _regenerator["default"].wrap(function _callee$(_context) {
|
|
626
803
|
while (1) switch (_context.prev = _context.next) {
|
|
627
804
|
case 0:
|
|
628
805
|
write = this.isBoardWriteEnabled ? _enums.FcrSharePermissionState.OFF : _enums.FcrSharePermissionState.ON;
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
write: write
|
|
632
|
-
}
|
|
633
|
-
};
|
|
634
|
-
return _context.abrupt("return", this._securityStore.setAllowWriteBoard(_enums.FcrSharePermissionState.ON, payload));
|
|
635
|
-
case 3:
|
|
806
|
+
return _context.abrupt("return", this._securityStore.setAllowWriteBoard(write));
|
|
807
|
+
case 2:
|
|
636
808
|
case "end":
|
|
637
809
|
return _context.stop();
|
|
638
810
|
}
|
|
@@ -645,15 +817,9 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
645
817
|
}()
|
|
646
818
|
}, {
|
|
647
819
|
key: "setAllowScreenShare",
|
|
648
|
-
value: function setAllowScreenShare(
|
|
649
|
-
var enable =
|
|
650
|
-
|
|
651
|
-
screen: enable,
|
|
652
|
-
board: {
|
|
653
|
-
start: enable
|
|
654
|
-
}
|
|
655
|
-
};
|
|
656
|
-
return this._securityStore.allowShare(_enums.FcrSharePermissionState.ON, payload);
|
|
820
|
+
value: function setAllowScreenShare() {
|
|
821
|
+
var enable = this.isScreenShareAndBoardEnabled ? _enums.FcrSharePermissionState.OFF : _enums.FcrSharePermissionState.ON;
|
|
822
|
+
return this._securityStore.allowShare(enable);
|
|
657
823
|
}
|
|
658
824
|
}, {
|
|
659
825
|
key: "closeBoard",
|
|
@@ -670,7 +836,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
670
836
|
key: "leave",
|
|
671
837
|
value: function leave() {
|
|
672
838
|
var _this$boardOwnerUser;
|
|
673
|
-
this._uiEventStore.exitRoom(_type2.FcrUIExitReason.LEAVE_ROOM);
|
|
839
|
+
this._uiEventStore.exitRoom(_type2.FcrUIExitReason.LEAVE_ROOM, this.getRoomType());
|
|
674
840
|
if (((_this$boardOwnerUser = this.boardOwnerUser) === null || _this$boardOwnerUser === void 0 ? void 0 : _this$boardOwnerUser.userId) === this.localUser.userId) {
|
|
675
841
|
this._uiEventStore.sendEvent(_constant.UIAction.CLOSE_WHITEBOARD);
|
|
676
842
|
}
|
|
@@ -680,6 +846,17 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
680
846
|
value: function keepPhoneAudioConnection() {
|
|
681
847
|
this._streamControl.splitAudioStream(this._userControl.getLocalUser().userId);
|
|
682
848
|
}
|
|
849
|
+
}, {
|
|
850
|
+
key: "setPopoverOpened",
|
|
851
|
+
value: function setPopoverOpened(isShow) {
|
|
852
|
+
this.popoverOpened = isShow;
|
|
853
|
+
}
|
|
854
|
+
}, {
|
|
855
|
+
key: "getRoomType",
|
|
856
|
+
value: function getRoomType() {
|
|
857
|
+
var _this$_roomControl$ge4;
|
|
858
|
+
return (_this$_roomControl$ge4 = this._roomControl.getRoomInfo()) === null || _this$_roomControl$ge4 === void 0 ? void 0 : _this$_roomControl$ge4.roomType;
|
|
859
|
+
}
|
|
683
860
|
}, {
|
|
684
861
|
key: "end",
|
|
685
862
|
value: function end() {
|
|
@@ -812,6 +989,11 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
812
989
|
if (this._participantsRenderAt === 'dialog') {
|
|
813
990
|
this._uiEventStore.openDialog(_constant.DialogKey.PARTICIPANT);
|
|
814
991
|
}
|
|
992
|
+
if (this._participantVisible) {
|
|
993
|
+
if (this._participantTab === _constant.RoomType.WAITING_ROOM) {
|
|
994
|
+
this.isNewWaitingRoomUserEnter = false;
|
|
995
|
+
}
|
|
996
|
+
}
|
|
815
997
|
}
|
|
816
998
|
}, {
|
|
817
999
|
key: "closeParticipants",
|
|
@@ -917,6 +1099,98 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
917
1099
|
}, 1000);
|
|
918
1100
|
}
|
|
919
1101
|
}
|
|
1102
|
+
}, {
|
|
1103
|
+
key: "setEnableWaitingRoom",
|
|
1104
|
+
value: function () {
|
|
1105
|
+
var _setEnableWaitingRoom = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee2(enable, isNeedShowDialog) {
|
|
1106
|
+
return _regenerator["default"].wrap(function _callee2$(_context2) {
|
|
1107
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
1108
|
+
case 0:
|
|
1109
|
+
if (enable) {
|
|
1110
|
+
_context2.next = 10;
|
|
1111
|
+
break;
|
|
1112
|
+
}
|
|
1113
|
+
if (!(this.totalWaitingRoomUser && isNeedShowDialog)) {
|
|
1114
|
+
_context2.next = 5;
|
|
1115
|
+
break;
|
|
1116
|
+
}
|
|
1117
|
+
this._uiEventStore.openDialog(_constant.DialogKey.WAITING_ROOM, '', {
|
|
1118
|
+
totalWaitingRoomUser: this.totalWaitingRoomUser
|
|
1119
|
+
});
|
|
1120
|
+
_context2.next = 8;
|
|
1121
|
+
break;
|
|
1122
|
+
case 5:
|
|
1123
|
+
_context2.next = 7;
|
|
1124
|
+
return this._roomControl.enableWaitingRoom(enable);
|
|
1125
|
+
case 7:
|
|
1126
|
+
this._uiEventStore.showToast({
|
|
1127
|
+
type: 'normal',
|
|
1128
|
+
message: (0, _i18n.transI18n)('fmt_waitingroom_mobile_setting_tips_disable')
|
|
1129
|
+
});
|
|
1130
|
+
case 8:
|
|
1131
|
+
_context2.next = 13;
|
|
1132
|
+
break;
|
|
1133
|
+
case 10:
|
|
1134
|
+
_context2.next = 12;
|
|
1135
|
+
return this._roomControl.enableWaitingRoom(enable);
|
|
1136
|
+
case 12:
|
|
1137
|
+
this._uiEventStore.showToast({
|
|
1138
|
+
type: 'normal',
|
|
1139
|
+
message: (0, _i18n.transI18n)('fmt_waitingroom_setting_tips_enable')
|
|
1140
|
+
});
|
|
1141
|
+
case 13:
|
|
1142
|
+
case "end":
|
|
1143
|
+
return _context2.stop();
|
|
1144
|
+
}
|
|
1145
|
+
}, _callee2, this);
|
|
1146
|
+
}));
|
|
1147
|
+
function setEnableWaitingRoom(_x, _x2) {
|
|
1148
|
+
return _setEnableWaitingRoom.apply(this, arguments);
|
|
1149
|
+
}
|
|
1150
|
+
return setEnableWaitingRoom;
|
|
1151
|
+
}()
|
|
1152
|
+
}, {
|
|
1153
|
+
key: "kickOutWaitingRoomAllMember",
|
|
1154
|
+
value: function () {
|
|
1155
|
+
var _kickOutWaitingRoomAllMember = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee3(type) {
|
|
1156
|
+
var _this$_userControl;
|
|
1157
|
+
return _regenerator["default"].wrap(function _callee3$(_context3) {
|
|
1158
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
1159
|
+
case 0:
|
|
1160
|
+
_context3.next = 2;
|
|
1161
|
+
return (_this$_userControl = this._userControl) === null || _this$_userControl === void 0 ? void 0 : _this$_userControl.kickOutByUserRoles([_type.FcrUserRole.PARTICIPANT], type);
|
|
1162
|
+
case 2:
|
|
1163
|
+
case "end":
|
|
1164
|
+
return _context3.stop();
|
|
1165
|
+
}
|
|
1166
|
+
}, _callee3, this);
|
|
1167
|
+
}));
|
|
1168
|
+
function kickOutWaitingRoomAllMember(_x3) {
|
|
1169
|
+
return _kickOutWaitingRoomAllMember.apply(this, arguments);
|
|
1170
|
+
}
|
|
1171
|
+
return kickOutWaitingRoomAllMember;
|
|
1172
|
+
}()
|
|
1173
|
+
}, {
|
|
1174
|
+
key: "moveToMainRoomAllMember",
|
|
1175
|
+
value: function () {
|
|
1176
|
+
var _moveToMainRoomAllMember = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee4() {
|
|
1177
|
+
var _this$_waitingRoomCon;
|
|
1178
|
+
return _regenerator["default"].wrap(function _callee4$(_context4) {
|
|
1179
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
1180
|
+
case 0:
|
|
1181
|
+
_context4.next = 2;
|
|
1182
|
+
return (_this$_waitingRoomCon = this._waitingRoomControl) === null || _this$_waitingRoomCon === void 0 ? void 0 : _this$_waitingRoomCon.moveToMainRoomByUserRoles([_type.FcrUserRole.PARTICIPANT]);
|
|
1183
|
+
case 2:
|
|
1184
|
+
case "end":
|
|
1185
|
+
return _context4.stop();
|
|
1186
|
+
}
|
|
1187
|
+
}, _callee4, this);
|
|
1188
|
+
}));
|
|
1189
|
+
function moveToMainRoomAllMember() {
|
|
1190
|
+
return _moveToMainRoomAllMember.apply(this, arguments);
|
|
1191
|
+
}
|
|
1192
|
+
return moveToMainRoomAllMember;
|
|
1193
|
+
}()
|
|
920
1194
|
}, {
|
|
921
1195
|
key: "_interceptShareScreen",
|
|
922
1196
|
value: function _interceptShareScreen() {
|
|
@@ -1010,6 +1284,37 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1010
1284
|
value: function _handleAllUserCountUpdated(_roomId, count) {
|
|
1011
1285
|
this.totalUser = count;
|
|
1012
1286
|
}
|
|
1287
|
+
}, {
|
|
1288
|
+
key: "_getWaitingRoomUserCount",
|
|
1289
|
+
value: function _getWaitingRoomUserCount() {
|
|
1290
|
+
var _privilegeControl$get;
|
|
1291
|
+
var userControl = this._waitingRoomControl.getUserControl();
|
|
1292
|
+
var privilegeControl = this._roomControl.getPrivilegeControl();
|
|
1293
|
+
var targetRoles = (_privilegeControl$get = privilegeControl.getSecurityInfo(_type9.FcrSecurityAction.WaitingRoom).info) === null || _privilegeControl$get === void 0 ? void 0 : _privilegeControl$get.targetRoles;
|
|
1294
|
+
this.totalWaitingRoomUser = userControl.getUserList().filter(function (user) {
|
|
1295
|
+
return targetRoles.includes(user.userRole);
|
|
1296
|
+
}).length;
|
|
1297
|
+
if (this.totalWaitingRoomUser === 0) {
|
|
1298
|
+
this._uiEventStore.sendEvent(_constant.UIAction.CHANGE_PARTICIPANT_TAB, _constant.RoomType.MAIN_ROOM);
|
|
1299
|
+
}
|
|
1300
|
+
}
|
|
1301
|
+
}, {
|
|
1302
|
+
key: "_handleRemoteWaitingUserLeft",
|
|
1303
|
+
value: function _handleRemoteWaitingUserLeft(roomId, events) {
|
|
1304
|
+
this._getWaitingRoomUserCount();
|
|
1305
|
+
}
|
|
1306
|
+
}, {
|
|
1307
|
+
key: "_handleRemoteWaitingUserJoined",
|
|
1308
|
+
value: function _handleRemoteWaitingUserJoined(roomId, events) {
|
|
1309
|
+
if (this._participantVisible) {
|
|
1310
|
+
if (this._participantTab !== _constant.RoomType.WAITING_ROOM) {
|
|
1311
|
+
this.isNewWaitingRoomUserEnter = true;
|
|
1312
|
+
}
|
|
1313
|
+
} else {
|
|
1314
|
+
this.isNewWaitingRoomUserEnter = true;
|
|
1315
|
+
}
|
|
1316
|
+
this._getWaitingRoomUserCount();
|
|
1317
|
+
}
|
|
1013
1318
|
}, {
|
|
1014
1319
|
key: "_handleUserInfoUpdated",
|
|
1015
1320
|
value: function _handleUserInfoUpdated(_roomId, event) {
|
|
@@ -1033,11 +1338,10 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1033
1338
|
key: "_handleChatVisible",
|
|
1034
1339
|
value: function _handleChatVisible(visible) {
|
|
1035
1340
|
this._chatVisible = visible;
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
}
|
|
1341
|
+
this._uiEventStore.sendEvent(_constant.UIAction.CHAT_VISIBLE, visible);
|
|
1342
|
+
this._newMessageTooltipTimer && clearTimeout(this._newMessageTooltipTimer);
|
|
1343
|
+
this.hideNewMessageTooltip();
|
|
1344
|
+
this.newMessageCount[this.chatTabIndex] = 0;
|
|
1041
1345
|
}
|
|
1042
1346
|
}, {
|
|
1043
1347
|
key: "_handlerTraceScreenCaptureStateUpdate",
|
|
@@ -1047,13 +1351,25 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1047
1351
|
// this.stopScreenShare();
|
|
1048
1352
|
// }
|
|
1049
1353
|
}
|
|
1354
|
+
}, {
|
|
1355
|
+
key: "setAllowWaterMark",
|
|
1356
|
+
value: function setAllowWaterMark() {
|
|
1357
|
+
var allowState = !this.isWaterMarkEnabled;
|
|
1358
|
+
// 开启关闭前,进行权限判断
|
|
1359
|
+
this._securityStore.setAllowWaterMark(allowState, void 0);
|
|
1360
|
+
}
|
|
1361
|
+
}, {
|
|
1362
|
+
key: "setWaterMarkLineType",
|
|
1363
|
+
value: function setWaterMarkLineType(lineType) {
|
|
1364
|
+
this._securityStore.setAllowWaterMark(this.isWaterMarkEnabled, lineType);
|
|
1365
|
+
}
|
|
1050
1366
|
}, {
|
|
1051
1367
|
key: "_onEvent",
|
|
1052
1368
|
value: function _onEvent(action, payload) {
|
|
1053
1369
|
if (action === _constant.UIAction.UPDATE_ASIDE) {
|
|
1054
|
-
var
|
|
1055
|
-
chat =
|
|
1056
|
-
participant =
|
|
1370
|
+
var _ref2 = payload,
|
|
1371
|
+
chat = _ref2.chat,
|
|
1372
|
+
participant = _ref2.participant;
|
|
1057
1373
|
if (chat) {
|
|
1058
1374
|
this._chatRenderAt = 'aside';
|
|
1059
1375
|
this._handleChatVisible(true);
|
|
@@ -1073,8 +1389,8 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1073
1389
|
this._handleNewMessageEvent(payload);
|
|
1074
1390
|
}
|
|
1075
1391
|
if (action === _constant.UIAction.CLOSE_DIALOG) {
|
|
1076
|
-
var
|
|
1077
|
-
dialogId =
|
|
1392
|
+
var _ref3 = payload,
|
|
1393
|
+
dialogId = _ref3.dialogId;
|
|
1078
1394
|
var dialogKey = this._openedDialogIdMap.get(dialogId);
|
|
1079
1395
|
if (dialogKey === _constant.DialogKey.CHAT) {
|
|
1080
1396
|
this._handleChatVisible(false);
|
|
@@ -1089,9 +1405,9 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1089
1405
|
}
|
|
1090
1406
|
}
|
|
1091
1407
|
if (action === _constant.UIAction.OPEN_DIALOG) {
|
|
1092
|
-
var
|
|
1093
|
-
_dialogKey =
|
|
1094
|
-
_dialogId =
|
|
1408
|
+
var _ref4 = payload,
|
|
1409
|
+
_dialogKey = _ref4.dialogKey,
|
|
1410
|
+
_dialogId = _ref4.dialogId;
|
|
1095
1411
|
this._openedDialogIdMap.set(_dialogId, _dialogKey);
|
|
1096
1412
|
if (_dialogKey === _constant.DialogKey.CHAT) {
|
|
1097
1413
|
this._chatRenderAt = 'dialog';
|
|
@@ -1112,8 +1428,8 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1112
1428
|
this.openLiveStreamingDialog();
|
|
1113
1429
|
}
|
|
1114
1430
|
if (action === _constant.UIAction.CLOUD_RECORDING) {
|
|
1115
|
-
var
|
|
1116
|
-
_action =
|
|
1431
|
+
var _ref5 = payload,
|
|
1432
|
+
_action = _ref5.action;
|
|
1117
1433
|
if (_action === 'start') this.startCloudRecording();else if (_action === 'pause') this.pauseCloudRecording();else if (_action === 'resume') this.resumeCloudRecording();else this.stopCloudRecording();
|
|
1118
1434
|
}
|
|
1119
1435
|
if (action === _constant.UIAction.OPEN_CONNECTION_DIALOG) {
|
|
@@ -1123,9 +1439,9 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1123
1439
|
this.closeConnection();
|
|
1124
1440
|
}
|
|
1125
1441
|
if (action === _constant.UIAction.WHITEBOARD_CHANGED) {
|
|
1126
|
-
var
|
|
1127
|
-
_action2 =
|
|
1128
|
-
value =
|
|
1442
|
+
var _ref6 = payload,
|
|
1443
|
+
_action2 = _ref6.action,
|
|
1444
|
+
value = _ref6.payload;
|
|
1129
1445
|
if (_action2 === _type4.WhiteboardBaseEvents.SET_OWNER_USER_ID) {
|
|
1130
1446
|
this.boardOwnerUser = value ? this.users.find(function (u) {
|
|
1131
1447
|
return u.userId === value;
|
|
@@ -1134,12 +1450,82 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1134
1450
|
}
|
|
1135
1451
|
if (action === _constant.UIAction.SET_CURRENT_SHARE_SCREEN) {
|
|
1136
1452
|
var _this$_mediaControl, _this$_screenVideoTra2;
|
|
1137
|
-
var
|
|
1138
|
-
id =
|
|
1453
|
+
var _ref7 = payload,
|
|
1454
|
+
id = _ref7.id;
|
|
1139
1455
|
this._screenVideoTrack = (_this$_mediaControl = this._mediaControl) === null || _this$_mediaControl === void 0 ? void 0 : _this$_mediaControl.getScreenTrack(id);
|
|
1140
1456
|
(_this$_screenVideoTra2 = this._screenVideoTrack) === null || _this$_screenVideoTra2 === void 0 || _this$_screenVideoTra2.addObserver(this._observer);
|
|
1141
1457
|
}
|
|
1458
|
+
if (action === _constant.UIAction.TOGGLE_PARTICIPANT_TAB) {
|
|
1459
|
+
if (!this._participantVisible) {
|
|
1460
|
+
this.toggleParticipants();
|
|
1461
|
+
}
|
|
1462
|
+
}
|
|
1463
|
+
if (action === _constant.UIAction.CURRENT_PARTITIPANT_TAB) {
|
|
1464
|
+
if (payload === _constant.RoomType.WAITING_ROOM) {
|
|
1465
|
+
this.isNewWaitingRoomUserEnter = false;
|
|
1466
|
+
}
|
|
1467
|
+
this._participantTab = payload;
|
|
1468
|
+
}
|
|
1469
|
+
if (action === _constant.UIAction.WAITING_ROOM_CREATED) {
|
|
1470
|
+
var room = payload.room;
|
|
1471
|
+
this._waitingRoomControl = room;
|
|
1472
|
+
var waitingRoomUserControl = room.getUserControl();
|
|
1473
|
+
waitingRoomUserControl.addObserver(this._waitingRoomUserObserver);
|
|
1474
|
+
this.newMessageCount = (0, _defineProperty2["default"])({}, _constant.RoomType.WAITING_ROOM, 0);
|
|
1475
|
+
}
|
|
1476
|
+
if (action === _constant.UIAction.CHAT_ROOM_TAB_CHANGE) {
|
|
1477
|
+
this.chatTabIndex = payload;
|
|
1478
|
+
this.newMessageCount[this.chatTabIndex] = 0;
|
|
1479
|
+
}
|
|
1480
|
+
if (action === _constant.UIAction.CLOSE_WAITING_ROOM_DIALOG) {
|
|
1481
|
+
var waitingDialogId = '';
|
|
1482
|
+
this._openedDialogIdMap.forEach(function (dialogKey, dialogId) {
|
|
1483
|
+
if (dialogKey === _constant.DialogKey.WAITING_ROOM) {
|
|
1484
|
+
waitingDialogId = dialogId;
|
|
1485
|
+
}
|
|
1486
|
+
});
|
|
1487
|
+
this._uiEventStore.closeDialog(waitingDialogId);
|
|
1488
|
+
}
|
|
1489
|
+
if (action === _constant.UIAction.CLOSE_REMOVE_ADMIT_WAITING_ROOM_DIALOG) {
|
|
1490
|
+
var operationDialogId = '';
|
|
1491
|
+
this._openedDialogIdMap.forEach(function (dialogKey, dialogId) {
|
|
1492
|
+
if (dialogKey === payload) {
|
|
1493
|
+
operationDialogId = dialogId;
|
|
1494
|
+
}
|
|
1495
|
+
});
|
|
1496
|
+
this._uiEventStore.closeDialog(operationDialogId);
|
|
1497
|
+
}
|
|
1498
|
+
if (action === _constant.UIAction.MOVE_TO_MAIN_ROOM_ALL_MEMBER) {
|
|
1499
|
+
this._operateWaitingRoom(payload);
|
|
1500
|
+
}
|
|
1142
1501
|
}
|
|
1502
|
+
}, {
|
|
1503
|
+
key: "_operateWaitingRoom",
|
|
1504
|
+
value: function () {
|
|
1505
|
+
var _operateWaitingRoom2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee5(isOperate) {
|
|
1506
|
+
return _regenerator["default"].wrap(function _callee5$(_context5) {
|
|
1507
|
+
while (1) switch (_context5.prev = _context5.next) {
|
|
1508
|
+
case 0:
|
|
1509
|
+
if (!isOperate) {
|
|
1510
|
+
_context5.next = 3;
|
|
1511
|
+
break;
|
|
1512
|
+
}
|
|
1513
|
+
_context5.next = 3;
|
|
1514
|
+
return this.moveToMainRoomAllMember();
|
|
1515
|
+
case 3:
|
|
1516
|
+
_context5.next = 5;
|
|
1517
|
+
return this.setEnableWaitingRoom(false, false);
|
|
1518
|
+
case 5:
|
|
1519
|
+
case "end":
|
|
1520
|
+
return _context5.stop();
|
|
1521
|
+
}
|
|
1522
|
+
}, _callee5, this);
|
|
1523
|
+
}));
|
|
1524
|
+
function _operateWaitingRoom(_x4) {
|
|
1525
|
+
return _operateWaitingRoom2.apply(this, arguments);
|
|
1526
|
+
}
|
|
1527
|
+
return _operateWaitingRoom;
|
|
1528
|
+
}()
|
|
1143
1529
|
}, {
|
|
1144
1530
|
key: "_handleCloudRecordingStateUpdated",
|
|
1145
1531
|
value: function _handleCloudRecordingStateUpdated(roomId, state) {
|
|
@@ -1158,11 +1544,12 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1158
1544
|
var _this$_userControl$ge = this._userControl.getLocalUser(),
|
|
1159
1545
|
userId = _this$_userControl$ge.userId;
|
|
1160
1546
|
var streams = this._streamControl.getStreamsByUserId(userId);
|
|
1161
|
-
var pstnStream = streams.find(function (
|
|
1162
|
-
var connectorType =
|
|
1547
|
+
var pstnStream = streams.find(function (_ref8) {
|
|
1548
|
+
var connectorType = _ref8.connectorType;
|
|
1163
1549
|
return connectorType === _agoraEduCore.FcrRoomConnectorType.PSTN;
|
|
1164
1550
|
});
|
|
1165
1551
|
var hasPstnStream = !!pstnStream;
|
|
1552
|
+
this.isPstnUser = hasPstnStream;
|
|
1166
1553
|
this.connectType = hasPstnStream ? _type3.ConnectType.PHONE : this.microphoneId ? _type3.ConnectType.COMPUTER : _type3.ConnectType.NONE;
|
|
1167
1554
|
if (hasPstnStream) {
|
|
1168
1555
|
this.phoneMicEnabled = pstnStream.streamType === _type6.AgoraRteMediaStreamType.BOTH || pstnStream.audioSourceState === _agoraEduCore.FcrMediaSourceState.STARTED;
|
|
@@ -1175,23 +1562,28 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1175
1562
|
}]);
|
|
1176
1563
|
}();
|
|
1177
1564
|
_ActionBarStore = ActionBarStore;
|
|
1178
|
-
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_ActionBarStore, [[_mobx.observable, 1, "users"], [_mobx.observable, 1, "newMessageTooltipVisible"], [_mobx.observable, 1, "newMessageCount"], [_mobx.observable, 1, "latestMessage"], [_mobx.observable, 1, "totalUser"], [_mobx.observable, 1, "liveStreamingState"], [_mobx.observable, 1, "currentMenuIs"], [_mobx.observable, 1, "cloudRecordingState"], [_mobx.observable, 1, "localUserRole"], [_mobx.observable, 1, "localUser"], [_mobx.observable, 1, "connectionSettingVisible"], [_mobx.observable, 1, "connectType"], [_mobx.observable, 1, "folded"], [_mobx.observable, 1, "boardOwnerUser"], [_mobx.observable, 1, "hasScreenShare"], [_mobx.observable, 1, "showArrow"], [_mobx.observable, 1, "phoneMicEnabled"], [_mobx.computed, 3, "remoteUsers"], [_mobx.computed, 3, "hasStartScreenSharePermission"], [_mobx.computed, 3, "hasStartLiveStreamingPermission"], [_mobx.computed, 3, "hasEnableStartAudioPermission"], [_mobx.computed, 3, "hasEnableChangeNamePermission"], [_mobx.computed, 3, "hasEnableStartVideoPermission"], [_mobx.computed, 3, "hasLockRoomPermission"], [_mobx.computed, 3, "hasEnableStartSharePermission"], [_mobx.computed, 3, "hasAllowWriteBoardPermission"], [_mobx.computed, 3, "hasCloseWriteBoardPermission"], [_mobx.computed, 3, "hasAllowScreenShareAndBoardPermission"], [_mobx.computed, 3, "hasAllowChatPermission"], [_mobx.computed, 3, "hasStartCloudRecordingPermission"], [_mobx.computed, 3, "hasAssignHostBeforeLeavingPermission"], [_mobx.computed, 3, "hasEndRoomPermission"], [_mobx.computed, 3, "isScreenShareAndBoardEnabled"], [_mobx.computed, 3, "isBoardWriteEnabled"], [_mobx.computed, 3, "
|
|
1565
|
+
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_ActionBarStore, [[_mobx.observable, 1, "users"], [_mobx.observable, 1, "newMessageTooltipVisible"], [_mobx.observable, 1, "newMessageCount"], [_mobx.observable, 1, "latestMessage"], [_mobx.observable, 1, "totalUser"], [_mobx.observable, 1, "totalWaitingRoomUser"], [_mobx.observable, 1, "liveStreamingState"], [_mobx.observable, 1, "currentMenuIs"], [_mobx.observable, 1, "cloudRecordingState"], [_mobx.observable, 1, "localUserRole"], [_mobx.observable, 1, "localUser"], [_mobx.observable, 1, "connectionSettingVisible"], [_mobx.observable, 1, "connectType"], [_mobx.observable, 1, "folded"], [_mobx.observable, 1, "boardOwnerUser"], [_mobx.observable, 1, "hasScreenShare"], [_mobx.observable, 1, "showArrow"], [_mobx.observable, 1, "phoneMicEnabled"], [_mobx.observable, 1, "isNewWaitingRoomUserEnter"], [_mobx.observable, 1, "chatTabIndex"], [_mobx.observable, 1, "popoverOpened"], [_mobx.observable, 1, "isPstnUser"], [_mobx.computed, 3, "remoteUsers"], [_mobx.computed, 3, "hasStartScreenSharePermission"], [_mobx.computed, 3, "hasStartLiveStreamingPermission"], [_mobx.computed, 3, "hasEnableStartAudioPermission"], [_mobx.computed, 3, "hasEnableChangeNamePermission"], [_mobx.computed, 3, "hasEnableStartVideoPermission"], [_mobx.computed, 3, "hasLockRoomPermission"], [_mobx.computed, 3, "hasWaitingRoomPermission"], [_mobx.computed, 3, "hasWatermarkDisablePermission"], [_mobx.computed, 3, "hasEnableStartSharePermission"], [_mobx.computed, 3, "hasAllowWriteBoardPermission"], [_mobx.computed, 3, "hasCloseWriteBoardPermission"], [_mobx.computed, 3, "hasAllowScreenShareAndBoardPermission"], [_mobx.computed, 3, "hasAllowChatPermission"], [_mobx.computed, 3, "hasStartCloudRecordingPermission"], [_mobx.computed, 3, "hasAssignHostBeforeLeavingPermission"], [_mobx.computed, 3, "hasEndRoomPermission"], [_mobx.computed, 3, "isScreenShareAndBoardEnabled"], [_mobx.computed, 3, "isBoardWriteEnabled"], [_mobx.computed, 3, "isWaterMarkEnabled"], [_mobx.computed, 3, "isMulti"], [_mobx.computed, 3, "cameraId"], [_mobx.computed, 3, "cameraList"], [_mobx.computed, 3, "microphoneEnabled"], [_mobx.computed, 3, "microphoneId"], [_mobx.computed, 3, "microphoneVolumeLevel"], [_mobx.computed, 3, "microphoneList"], [_mobx.computed, 3, "speakerId"], [_mobx.computed, 3, "speakerList"], [_mobx.computed, 3, "allNewMessage"], [_mobx.computed, 3, "isMainRoom"], [_pauseCloudRecordingDecs, 2, "pauseCloudRecording"], [_resumeCloudRecordingDecs, 2, "resumeCloudRecording"], [_stopCloudRecordingDecs, 2, "stopCloudRecording"], [_decorator.bound, 2, "startCloudRecording"], [_toggleLayoutBarLockDecs, 18, "toggleLayoutBarLock"], [_showNewMessageTooltipDecs, 18, "showNewMessageTooltip"], [_hideNewMessageTooltipDecs, 18, "hideNewMessageTooltip"], [_switchMenuDecs, 18, "switchMenu"], [_mobx.computed, 3, "isLocked"], [_decorator.bound, 2, "isWaitingRoomEnabled"], [_decorator.bound, 2, "enableCamera"], [_decorator.bound, 2, "setCameraId"], [_decorator.bound, 2, "enableMicrophone"], [_decorator.bound, 2, "setMicrophoneId"], [_decorator.bound, 2, "setSpeakerId"], [_decorator.bound, 2, "closeSpeaker"], [_decorator.bound, 2, "setAllowBoardWrite"], [_decorator.bound, 2, "setAllowScreenShare"], [_decorator.bound, 2, "closeBoard"], [_assignHostDecs, 18, "assignHost"], [_decorator.bound, 2, "leave"], [_decorator.bound, 2, "keepPhoneAudioConnection"], [_setPopoverOpenedDecs, 18, "setPopoverOpened"], [_decorator.bound, 2, "getRoomType"], [_decorator.bound, 2, "end"], [_decorator.bound, 2, "allowJoinWithMuteAudio"], [_decorator.bound, 2, "setAllowJoinWithMuteAudio"], [_decorator.bound, 2, "isLockRoomEnabled"], [_decorator.bound, 2, "setLockRoomEnabled"], [_decorator.bound, 2, "setAllowShareScreen"], [_decorator.bound, 2, "allowShareScreen"], [_decorator.bound, 2, "allowWriteBoard"], [_decorator.bound, 2, "allowChat"], [_decorator.bound, 2, "setAllowChat"], [_decorator.bound, 2, "allowUnmuteSelfAudio"], [_decorator.bound, 2, "setAllowUnmuteSelfAudio"], [_decorator.bound, 2, "allowUnmuteSelfVideo"], [_decorator.bound, 2, "setAllowUnmuteSelfVideo"], [_decorator.bound, 2, "toggleChat"], [_decorator.bound, 2, "openChat"], [_decorator.bound, 2, "closeChat"], [_decorator.bound, 2, "toggleParticipants"], [_decorator.bound, 2, "openParticipants"], [_decorator.bound, 2, "closeParticipants"], [_decorator.bound, 2, "openDeviceSettingDialog"], [_decorator.bound, 2, "startScreenShare"], [_decorator.bound, 2, "openWhiteboard"], [_decorator.bound, 2, "closeWhiteboard"], [_decorator.bound, 2, "openLiveStreamingDialog"], [_decorator.bound, 2, "closeLiveStreamingDialog"], [_decorator.bound, 2, "toggleConnection"], [_decorator.bound, 2, "openConnection"], [_decorator.bound, 2, "closeConnection"], [_toggleFoldDecs, 18, "toggleFold"], [_setShowArrowDecs, 18, "setShowArrow"], [_setEnableWaitingRoomDecs, 18, "setEnableWaitingRoom"], [_kickOutWaitingRoomAllMemberDecs, 18, "kickOutWaitingRoomAllMember"], [_moveToMainRoomAllMemberDecs, 18, "moveToMainRoomAllMember"], [_decorator.bound, 2, "_interceptShareScreen"], [_decorator.bound, 2, "_interceptShareBoard"], [_handleRemoteUsersJoinedDecs, 18, "_handleRemoteUsersJoined"], [_handleRemoteUsersLeftDecs, 18, "_handleRemoteUsersLeft"], [_handleAllUserCountUpdatedDecs, 18, "_handleAllUserCountUpdated"], [_getWaitingRoomUserCountDecs, 18, "_getWaitingRoomUserCount"], [_handleRemoteWaitingUserLeftDecs, 18, "_handleRemoteWaitingUserLeft"], [_handleRemoteWaitingUserJoinedDecs, 18, "_handleRemoteWaitingUserJoined"], [_handleUserInfoUpdatedDecs, 18, "_handleUserInfoUpdated"], [_handleLiveStreamingStateUpdatedDecs, 18, "_handleLiveStreamingStateUpdated"], [_handleChatVisibleDecs, 18, "_handleChatVisible"], [_handlerTraceScreenCaptureStateUpdateDecs, 18, "_handlerTraceScreenCaptureStateUpdate"], [_decorator.bound, 2, "setAllowWaterMark"], [_decorator.bound, 2, "setWaterMarkLineType"], [_decorator.bound, 2, "_onEvent"], [_operateWaitingRoomDecs, 18, "_operateWaitingRoom"], [_handleCloudRecordingStateUpdatedDecs, 18, "_handleCloudRecordingStateUpdated"], [_handleStreamsAddedOrUpdatedDecs, 18, "_handleStreamsAddedOrUpdated"], [_handleNewMessageEventDecs, 16, "_handleNewMessageEvent"]], []).e, 24);
|
|
1179
1566
|
_init_users = _applyDecs$e[0];
|
|
1180
1567
|
_init_newMessageTooltipVisible = _applyDecs$e[1];
|
|
1181
1568
|
_init_newMessageCount = _applyDecs$e[2];
|
|
1182
1569
|
_init_latestMessage = _applyDecs$e[3];
|
|
1183
1570
|
_init_totalUser = _applyDecs$e[4];
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1571
|
+
_init_totalWaitingRoomUser = _applyDecs$e[5];
|
|
1572
|
+
_init_liveStreamingState = _applyDecs$e[6];
|
|
1573
|
+
_init_currentMenuIs = _applyDecs$e[7];
|
|
1574
|
+
_init_cloudRecordingState = _applyDecs$e[8];
|
|
1575
|
+
_init_localUserRole = _applyDecs$e[9];
|
|
1576
|
+
_init_localUser = _applyDecs$e[10];
|
|
1577
|
+
_init_connectionSettingVisible = _applyDecs$e[11];
|
|
1578
|
+
_init_connectType = _applyDecs$e[12];
|
|
1579
|
+
_init_folded = _applyDecs$e[13];
|
|
1580
|
+
_init_boardOwnerUser = _applyDecs$e[14];
|
|
1581
|
+
_init_hasScreenShare = _applyDecs$e[15];
|
|
1582
|
+
_init_showArrow = _applyDecs$e[16];
|
|
1583
|
+
_init_phoneMicEnabled = _applyDecs$e[17];
|
|
1584
|
+
_init_isNewWaitingRoomUserEnter = _applyDecs$e[18];
|
|
1585
|
+
_init_chatTabIndex = _applyDecs$e[19];
|
|
1586
|
+
_init_popoverOpened = _applyDecs$e[20];
|
|
1587
|
+
_init_isPstnUser = _applyDecs$e[21];
|
|
1588
|
+
_init__handleNewMessageEvent = _applyDecs$e[22];
|
|
1589
|
+
_initProto = _applyDecs$e[23];
|