fcr-ui-scene 3.4.0 → 3.4.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/lib/ scenes/base.d.ts +10 -0
- package/lib/ scenes/base.js +75 -0
- package/lib/ scenes/main-scene.d.ts +43 -0
- package/lib/ scenes/main-scene.js +368 -0
- package/lib/ scenes/waiting-scene.d.ts +31 -0
- package/lib/ scenes/waiting-scene.js +119 -0
- package/lib/common/device-store.d.ts +1 -2
- package/lib/common/device-store.js +169 -153
- package/lib/common/device-stream-store.d.ts +5 -29
- package/lib/common/device-stream-store.js +47 -93
- package/lib/common/room-store.js +4 -4
- package/lib/common/security-store.d.ts +6 -16
- package/lib/common/security-store.js +16 -17
- package/lib/common/type.d.ts +8 -0
- package/lib/common/type.js +6 -0
- package/lib/creator.js +3 -3
- package/lib/electron/app.js +21 -5
- package/lib/electron/bootstrap-sdk.js +1 -2
- package/lib/electron/injections.d.ts +1 -1
- package/lib/error-fallback.css +62 -0
- package/lib/error-fallback.d.ts +2 -0
- package/lib/error-fallback.js +19 -0
- package/lib/modules/Interpreter/action/delete-btn/index.d.ts +1 -1
- package/lib/modules/Interpreter/action/edit-btn/index.d.ts +0 -1
- package/lib/modules/Interpreter/action/edit-btn/index.js +0 -2
- package/lib/modules/Interpreter/action/switch-btn/index.css +3 -0
- package/lib/modules/Interpreter/action/switch-btn/index.d.ts +2 -4
- package/lib/modules/Interpreter/action/switch-btn/index.js +3 -3
- package/lib/modules/Interpreter/footer/index.css +4 -3
- package/lib/modules/Interpreter/index.d.ts +2 -17
- package/lib/modules/Interpreter/index.js +2 -18
- package/lib/modules/Interpreter/interpreter-list/index.css +5 -1
- package/lib/modules/Interpreter/interpreter-list/index.d.ts +1 -0
- package/lib/modules/Interpreter/interpreter-list/index.js +3 -1
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/index.css +0 -6
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/index.d.ts +1 -1
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-user/index.css +1 -3
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-user/index.d.ts +1 -6
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-user/index.js +55 -81
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-user/option-Item.d.ts +6 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-user/option-Item.js +58 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/index.d.ts +1 -1
- package/lib/modules/Interpreter/store.d.ts +36 -29
- package/lib/modules/Interpreter/store.js +575 -606
- package/lib/modules/Interpreter/type.d.ts +41 -0
- package/lib/modules/Interpreter/type.js +20 -0
- package/lib/modules/Interpreter/utils.d.ts +12 -0
- package/lib/modules/Interpreter/utils.js +139 -0
- package/lib/modules/Interpreter/view.d.ts +0 -1
- package/lib/modules/Interpreter/view.js +3 -5
- package/lib/modules/action-bar/action-bar-collapes-items.d.ts +1 -1
- package/lib/modules/action-bar/action-bar-collapes-items.js +11 -11
- package/lib/modules/action-bar/apps/useInterpreter.js +4 -2
- package/lib/modules/action-bar/components/apps/app-item/index.css +35 -0
- package/lib/modules/action-bar/components/apps/app-item/index.d.ts +12 -0
- package/lib/modules/action-bar/components/apps/app-item/index.js +61 -0
- package/lib/modules/action-bar/components/apps/appitems.d.ts +5 -0
- package/lib/modules/action-bar/components/apps/appitems.js +45 -0
- package/lib/modules/action-bar/components/apps/index.css +8 -0
- package/lib/modules/action-bar/components/apps/index.d.ts +4 -0
- package/lib/modules/action-bar/components/apps/index.js +57 -0
- package/lib/modules/action-bar/components/apps/useAppItemOptions.d.ts +9 -0
- package/lib/modules/action-bar/components/apps/useAppItemOptions.js +29 -0
- package/lib/modules/action-bar/components/apps/useBeautyBackground.d.ts +10 -0
- package/lib/modules/action-bar/components/apps/useBeautyBackground.js +36 -0
- package/lib/modules/action-bar/components/apps/useInterpreter.d.ts +14 -0
- package/lib/modules/action-bar/components/apps/useInterpreter.js +37 -0
- package/lib/modules/action-bar/components/apps/useLiveStreaming.d.ts +16 -0
- package/lib/modules/action-bar/components/apps/useLiveStreaming.js +41 -0
- package/lib/modules/action-bar/components/board/index.d.ts +4 -0
- package/lib/modules/action-bar/components/board/index.js +34 -0
- package/lib/modules/action-bar/components/breakout-room/index.d.ts +4 -0
- package/lib/modules/action-bar/components/breakout-room/index.js +32 -0
- package/lib/modules/action-bar/components/chat/index.css +80 -0
- package/lib/modules/action-bar/components/chat/index.d.ts +5 -0
- package/lib/modules/action-bar/components/chat/index.js +154 -0
- package/lib/modules/action-bar/components/device/index.css +162 -0
- package/lib/modules/action-bar/components/device/index.d.ts +8 -0
- package/lib/modules/action-bar/components/device/index.js +611 -0
- package/lib/modules/action-bar/components/interpreter/index.d.ts +6 -0
- package/lib/modules/action-bar/components/interpreter/index.js +41 -0
- package/lib/modules/action-bar/components/item.d.ts +27 -0
- package/lib/modules/action-bar/components/item.js +164 -0
- package/lib/modules/action-bar/components/leave/assign-host.d.ts +10 -0
- package/lib/modules/action-bar/components/leave/assign-host.js +64 -0
- package/lib/modules/action-bar/components/leave/index.css +126 -0
- package/lib/modules/action-bar/components/leave/index.d.ts +3 -0
- package/lib/modules/action-bar/components/leave/index.js +159 -0
- package/lib/modules/action-bar/components/leave/leave-meeting.d.ts +18 -0
- package/lib/modules/action-bar/components/leave/leave-meeting.js +153 -0
- package/lib/modules/action-bar/components/live-streaming/index.d.ts +4 -0
- package/lib/modules/action-bar/components/live-streaming/index.js +39 -0
- package/lib/modules/action-bar/components/more/index.css +114 -0
- package/lib/modules/action-bar/components/more/index.d.ts +5 -0
- package/lib/modules/action-bar/components/more/index.js +83 -0
- package/lib/modules/action-bar/components/more/poppover-content.d.ts +8 -0
- package/lib/modules/action-bar/components/more/poppover-content.js +400 -0
- package/lib/modules/action-bar/components/participants/index.css +21 -0
- package/lib/modules/action-bar/components/participants/index.d.ts +5 -0
- package/lib/modules/action-bar/components/participants/index.js +83 -0
- package/lib/modules/action-bar/components/record/index.css +39 -0
- package/lib/modules/action-bar/components/record/index.d.ts +5 -0
- package/lib/modules/action-bar/components/record/index.js +166 -0
- package/lib/modules/action-bar/components/record/stop-record-dialog.d.ts +5 -0
- package/lib/modules/action-bar/components/record/stop-record-dialog.js +48 -0
- package/lib/modules/action-bar/components/respond/index.d.ts +4 -0
- package/lib/modules/action-bar/components/respond/index.js +32 -0
- package/lib/modules/action-bar/components/screen-share/index.d.ts +4 -0
- package/lib/modules/action-bar/components/screen-share/index.js +106 -0
- package/lib/modules/action-bar/components/screen-share/submenu.d.ts +1 -0
- package/lib/modules/action-bar/components/screen-share/submenu.js +154 -0
- package/lib/modules/action-bar/components/security/index.d.ts +4 -0
- package/lib/modules/action-bar/components/security/index.js +58 -0
- package/lib/modules/action-bar/components/settings/index.d.ts +4 -0
- package/lib/modules/action-bar/components/settings/index.js +42 -0
- package/lib/modules/action-bar/index.css +23 -1
- package/lib/modules/action-bar/index.d.ts +2 -22
- package/lib/modules/action-bar/index.dev.js +37 -16
- package/lib/modules/action-bar/notification-bar/components/interpreter/index.css +58 -0
- package/lib/modules/action-bar/notification-bar/components/interpreter/index.d.ts +8 -0
- package/lib/modules/action-bar/notification-bar/components/interpreter/index.js +100 -0
- package/lib/modules/action-bar/notification-bar/components/virtual-image/index.css +56 -0
- package/lib/modules/action-bar/notification-bar/components/virtual-image/index.d.ts +5 -0
- package/lib/modules/action-bar/notification-bar/components/virtual-image/index.js +33 -0
- package/lib/modules/action-bar/notification-bar/dome.png +0 -0
- package/lib/modules/action-bar/notification-bar/fcr_translateswitch.png +0 -0
- package/lib/modules/action-bar/notification-bar/index.css +74 -0
- package/lib/modules/action-bar/notification-bar/index.d.ts +2 -0
- package/lib/modules/action-bar/notification-bar/index.js +99 -0
- package/lib/modules/action-bar/screen-share/index.js +5 -0
- package/lib/modules/action-bar/security/index.js +1 -0
- package/lib/modules/action-bar/smaller.js +2 -2
- package/lib/modules/action-bar/store.d.ts +6 -7
- package/lib/modules/action-bar/store.js +114 -128
- package/lib/modules/action-bar/trigger-input-language-room/fcr_translateswitch.png +0 -0
- package/lib/modules/action-bar/trigger-input-language-room/index.css +86 -0
- package/lib/modules/action-bar/trigger-input-language-room/index.d.ts +15 -0
- package/lib/modules/action-bar/trigger-input-language-room/index.js +220 -0
- package/lib/modules/action-bar/trigger-output-language-room/constant.d.ts +10 -0
- package/lib/modules/action-bar/trigger-output-language-room/constant.js +8 -0
- package/lib/modules/action-bar/trigger-output-language-room/guide-tooltip/index.css +22 -0
- package/lib/modules/action-bar/trigger-output-language-room/guide-tooltip/index.d.ts +14 -0
- package/lib/modules/action-bar/trigger-output-language-room/guide-tooltip/index.js +75 -0
- package/lib/modules/action-bar/trigger-output-language-room/index.d.ts +4 -0
- package/lib/modules/action-bar/trigger-output-language-room/index.js +98 -0
- package/lib/modules/action-bar/trigger-output-language-room/trigger-language-room.d.ts +5 -0
- package/lib/modules/action-bar/trigger-output-language-room/trigger-language-room.js +66 -0
- package/lib/modules/action-bar/trigger-output-language-room/trigger-main-room.d.ts +5 -0
- package/lib/modules/action-bar/trigger-output-language-room/trigger-main-room.js +36 -0
- package/lib/modules/action-bar/trigger-output-language-room/useChangeOutputRoomTool.d.ts +12 -0
- package/lib/modules/action-bar/trigger-output-language-room/useChangeOutputRoomTool.js +138 -0
- package/lib/modules/action-bar/view.js +6 -6
- package/lib/modules/audio-stream/index.d.ts +2 -15
- package/lib/modules/audio-stream/index.js +1 -3
- package/lib/modules/chat/chat-bar/index.css +5 -0
- package/lib/modules/chat/chat-bar/index.js +16 -14
- package/lib/modules/chat/chat-select/index.css +6 -3
- package/lib/modules/chat/chat.js +7 -6
- package/lib/modules/chat/index.css +10 -0
- package/lib/modules/chat/index.d.ts +2 -12
- package/lib/modules/chat/index.dev.js +14 -3
- package/lib/modules/chat/index.js +7 -20
- package/lib/modules/chat/message-list.js +1 -0
- package/lib/modules/chat/store.js +1 -1
- package/lib/modules/components/device-control/components/audio-menu/index.js +4 -4
- package/lib/modules/components/device-control/index.css +3 -0
- package/lib/modules/components/dialog-container/component/body.d.ts +7 -0
- package/lib/modules/components/dialog-container/component/body.js +46 -0
- package/lib/modules/components/dialog-container/index.css +78 -0
- package/lib/modules/components/dialog-container/index.d.ts +11 -0
- package/lib/modules/components/dialog-container/index.js +110 -0
- package/lib/modules/components/member-window/index.css +419 -0
- package/lib/modules/components/member-window/index.d.ts +76 -0
- package/lib/modules/components/member-window/index.js +888 -0
- package/lib/modules/components/security-menu/index.css +9 -0
- package/lib/modules/components/security-menu/index.js +74 -23
- package/lib/modules/components/tab-frame/index.css +40 -0
- package/lib/modules/components/tab-frame/index.d.ts +12 -0
- package/lib/modules/components/tab-frame/index.js +57 -0
- package/lib/modules/connection-gateway/components/computer/index.css +1 -0
- package/lib/modules/connection-gateway/components/phone/index.css +1 -1
- package/lib/modules/connection-gateway/index.d.ts +2 -9
- package/lib/modules/connection-gateway/store.d.ts +3 -11
- package/lib/modules/connection-gateway/store.js +1 -17
- package/lib/modules/connection-gateway/view.js +21 -4
- package/lib/modules/control-bar/components/cloud-recording-buttons.js +1 -1
- package/lib/modules/control-bar/index.d.ts +2 -16
- package/lib/modules/control-bar/index.js +10 -19
- package/lib/modules/control-bar/store.d.ts +3 -16
- package/lib/modules/control-bar/store.js +23 -5
- package/lib/modules/control-bar/view.js +17 -10
- package/lib/modules/device-pretest/settings/virtual-background-setting.js +1 -1
- package/lib/modules/dialog/components/Interpreter/electron.js +3 -25
- package/lib/modules/dialog/components/Interpreter/index.js +14 -43
- package/lib/modules/dialog/components/chat/electron.d.ts +1 -1
- package/lib/modules/dialog/components/chat/electron.js +6 -13
- package/lib/modules/dialog/components/chat/index.d.ts +1 -4
- package/lib/modules/dialog/components/chat/index.js +35 -41
- package/lib/modules/dialog/components/confirm/index.js +6 -7
- package/lib/modules/dialog/components/connection-gateway/electron.d.ts +1 -1
- package/lib/modules/dialog/components/connection-gateway/electron.js +9 -28
- package/lib/modules/dialog/components/connection-gateway/index.d.ts +0 -1
- package/lib/modules/dialog/components/connection-gateway/index.js +11 -56
- package/lib/modules/dialog/components/control-bar/index.js +6 -7
- package/lib/modules/dialog/components/device-setting/electron.js +4 -26
- package/lib/modules/dialog/components/device-setting/index.js +13 -41
- package/lib/modules/dialog/components/invite/index.js +16 -35
- package/lib/modules/dialog/components/live-streaming/index.js +18 -53
- package/lib/modules/dialog/components/participant/electron.js +4 -17
- package/lib/modules/dialog/components/participant/index.js +35 -26
- package/lib/modules/dialog/components/remove-admit-waiting-room/electron.js +3 -6
- package/lib/modules/dialog/components/remove-admit-waiting-room/index.d.ts +1 -1
- package/lib/modules/dialog/components/remove-admit-waiting-room/index.js +4 -14
- package/lib/modules/dialog/components/share-screen-selection/index.js +20 -5
- package/lib/modules/dialog/components/system-preference/electron.js +5 -8
- package/lib/modules/dialog/components/system-preference/index.js +4 -15
- package/lib/modules/dialog/components/toast/index.js +8 -12
- package/lib/modules/dialog/dialogs.js +2 -1
- package/lib/modules/dialog/hooks/useElectron.d.ts +6 -0
- package/lib/modules/dialog/hooks/useElectron.js +51 -9
- package/lib/modules/dialog/index.css +0 -2
- package/lib/modules/dialog/index.d.ts +2 -17
- package/lib/modules/dialog/store.d.ts +7 -39
- package/lib/modules/dialog/store.js +53 -152
- package/lib/modules/dialog/types/index.d.ts +59 -0
- package/lib/modules/event-confirm/view.js +4 -1
- package/lib/modules/invite/view.d.ts +4 -0
- package/lib/modules/invite/view.js +18 -22
- package/lib/modules/invite/voip-invite.js +3 -3
- package/lib/modules/layout/components/Aside.js +11 -1
- package/lib/modules/layout/components/Carousel.js +1 -1
- package/lib/modules/layout/components/Layout.js +7 -4
- package/lib/modules/layout/components/index.css +6 -1
- package/lib/modules/layout/index.js +8 -7
- package/lib/modules/layout/member-window/index.css +22 -9
- package/lib/modules/layout/member-window/index.js +16 -3
- package/lib/modules/layout/store.d.ts +1 -1
- package/lib/modules/layout/store.js +1 -7
- package/lib/modules/layout/video-window-datasource.js +11 -3
- package/lib/modules/notification/index.css +1 -0
- package/lib/modules/participant/attendee/index.css +1 -0
- package/lib/modules/participant/attendee/index.js +2 -1
- package/lib/modules/participant/components/drop-menu/index.css +1 -0
- package/lib/modules/participant/components/drop-menu/index.js +9 -9
- package/lib/modules/participant/index.css +5 -0
- package/lib/modules/participant/index.d.ts +2 -17
- package/lib/modules/participant/index.dev.js +38 -27
- package/lib/modules/participant/store.d.ts +4 -17
- package/lib/modules/participant/store.js +13 -13
- package/lib/modules/setting/audio-settings/audio-settings.js +13 -10
- package/lib/modules/setting/audio-settings/index.css +26 -1
- package/lib/modules/setting/general-settings/index.css +1 -1
- package/lib/modules/setting/index.css +2 -1
- package/lib/modules/setting/index.d.ts +2 -15
- package/lib/modules/setting/index.dev.js +19 -10
- package/lib/modules/setting/store.d.ts +5 -18
- package/lib/modules/setting/store.js +48 -20
- package/lib/modules/setting/translate-settings/index.css +3 -1
- package/lib/modules/setting/video-settings/index.css +5 -2
- package/lib/modules/share-screen/index.dev.js +20 -19
- package/lib/modules/share-screen/selection/index.css +2 -0
- package/lib/modules/share-screen/selection/index.js +83 -97
- package/lib/modules/share-screen/store.js +16 -36
- package/lib/modules/sound-effect/index.d.ts +2 -13
- package/lib/modules/sound-effect/index.js +1 -2
- package/lib/modules/state-bar/index.css +13 -2
- package/lib/modules/state-bar/index.d.ts +1 -5
- package/lib/modules/state-bar/index.dev.js +1 -1
- package/lib/modules/state-bar/index.js +0 -27
- package/lib/modules/state-bar/layout-config.js +1 -1
- package/lib/modules/state-bar/meeting-network-state.css +1 -1
- package/lib/modules/state-bar/recording.js +7 -4
- package/lib/modules/state-bar/view.js +1 -1
- package/lib/modules/video-window/index.d.ts +2 -2
- package/lib/modules/video-window/store.d.ts +2 -1
- package/lib/modules/video-window/store.js +2 -2
- package/lib/modules/waiting-room-layout/index.css +1 -3
- package/lib/modules/waiting-room-layout/index.d.ts +3 -1
- package/lib/modules/waiting-room-layout/index.js +10 -3
- package/lib/modules/whiteboard/index.d.ts +2 -13
- package/lib/modules/whiteboard/index.js +4 -5
- package/lib/providers/device-privilege-provider.d.ts +30 -0
- package/lib/providers/device-privilege-provider.js +386 -0
- package/lib/providers/device-provider.d.ts +246 -0
- package/lib/providers/device-provider.js +1741 -0
- package/lib/providers/device-stream-provider.d.ts +36 -0
- package/lib/providers/device-stream-provider.js +460 -0
- package/lib/providers/event-provider.d.ts +108 -0
- package/lib/providers/event-provider.js +288 -0
- package/lib/providers/interpreter-provider.d.ts +25 -0
- package/lib/providers/interpreter-provider.js +151 -0
- package/lib/providers/local-storage-provider.d.ts +8 -0
- package/lib/providers/local-storage-provider.js +31 -0
- package/lib/providers/monitor-provider.d.ts +15 -0
- package/lib/providers/monitor-provider.js +29 -0
- package/lib/providers/privilege-provider.d.ts +216 -0
- package/lib/providers/privilege-provider.js +966 -0
- package/lib/providers/renderer-provider.d.ts +43 -0
- package/lib/providers/renderer-provider.js +245 -0
- package/lib/providers/room-provider.d.ts +79 -0
- package/lib/providers/room-provider.js +439 -0
- package/lib/providers/session-provider.d.ts +26 -0
- package/lib/providers/session-provider.js +49 -0
- package/lib/runtime.d.ts +1 -1
- package/lib/scenes/base.d.ts +10 -0
- package/lib/scenes/base.js +75 -0
- package/lib/scenes/main-scene.d.ts +48 -0
- package/lib/scenes/main-scene.js +390 -0
- package/lib/scenes/waiting-scene.d.ts +31 -0
- package/lib/scenes/waiting-scene.js +129 -0
- package/lib/shared-data-source/config.d.ts +16 -0
- package/lib/shared-data-source/config.js +21 -0
- package/lib/type.d.ts +26 -1
- package/lib/ui-manager.d.ts +3 -0
- package/lib/ui-manager.js +154 -233
- package/lib/ui-node.d.ts +25 -0
- package/lib/ui-node.js +156 -0
- package/lib/utilities/constant.d.ts +15 -15
- package/lib/utilities/constant.js +15 -15
- package/lib/utilities/tools.d.ts +2 -0
- package/lib/utilities/tools.js +42 -10
- package/package.json +12 -11
- package/public/assets/fcr_leave2.svg +58 -0
- package/public/index.html +150 -13
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
opacity: 1;
|
|
126
126
|
}
|
|
127
127
|
.fcr-member-window-pin {
|
|
128
|
-
display:
|
|
128
|
+
display: none;
|
|
129
129
|
justify-content: center;
|
|
130
130
|
align-items: center;
|
|
131
131
|
position: absolute;
|
|
@@ -135,12 +135,13 @@
|
|
|
135
135
|
height: 26px;
|
|
136
136
|
border-radius: var(--fcr_cornerradius_xs);
|
|
137
137
|
background-color: var(--fcr_ui_scene_view_toast);
|
|
138
|
-
opacity: 0;
|
|
139
|
-
transition: opacity 0.2s;
|
|
138
|
+
/* opacity: 0; */
|
|
139
|
+
/* transition: opacity 0.2s; */
|
|
140
140
|
z-index: 3;
|
|
141
141
|
}
|
|
142
142
|
.fcr-member-window-pin-show {
|
|
143
|
-
opacity: 1;
|
|
143
|
+
/* opacity: 1; */
|
|
144
|
+
display: flex;
|
|
144
145
|
}
|
|
145
146
|
.fcr-member-board:hover .fcr-user-window-actions-top,
|
|
146
147
|
.fcr-member-window:hover .fcr-user-window-actions-top {
|
|
@@ -160,6 +161,11 @@
|
|
|
160
161
|
margin-left: 0px;
|
|
161
162
|
display: flex;
|
|
162
163
|
}
|
|
164
|
+
|
|
165
|
+
.fcr-member-window-members-sharebtn-large {
|
|
166
|
+
height: 24px;
|
|
167
|
+
margin-right: 6px;
|
|
168
|
+
}
|
|
163
169
|
/* fcr-member-window-action start */
|
|
164
170
|
|
|
165
171
|
.fcr-user-window-actions {
|
|
@@ -199,7 +205,7 @@
|
|
|
199
205
|
overflow: hidden;
|
|
200
206
|
}
|
|
201
207
|
.fcr-user-window-actions-bottom-layout-info {
|
|
202
|
-
border-radius: var(--
|
|
208
|
+
border-radius: var(--fcr_cornerradius_xs);
|
|
203
209
|
background-color: var(--fcr_ui_scene_view_toast);
|
|
204
210
|
display: inline-flex;
|
|
205
211
|
align-items: center;
|
|
@@ -218,13 +224,12 @@
|
|
|
218
224
|
}
|
|
219
225
|
.fcr-member-window-gallery .fcr-user-window-actions-bottom {
|
|
220
226
|
height: 24px;
|
|
221
|
-
border-radius: var(--fcr_cornerradius_s);
|
|
222
227
|
font-size: 12px;
|
|
223
228
|
}
|
|
224
229
|
|
|
225
230
|
.fcr-user-window-actions-tag {
|
|
226
231
|
height: 18px;
|
|
227
|
-
border-radius: var(--
|
|
232
|
+
border-radius: var(--fcr_cornerradius_xs);
|
|
228
233
|
display: inline-flex;
|
|
229
234
|
align-items: center;
|
|
230
235
|
white-space: nowrap;
|
|
@@ -232,14 +237,14 @@
|
|
|
232
237
|
|
|
233
238
|
.fcr-member-window-gallery .fcr-user-window-actions-tag {
|
|
234
239
|
height: 24px;
|
|
235
|
-
border-radius: var(--
|
|
240
|
+
border-radius: var(--fcr_cornerradius_xs);
|
|
236
241
|
}
|
|
237
242
|
|
|
238
243
|
.fcr-user-window-actions-tag-host {
|
|
239
244
|
color: var(--fcr_ui_scene_white10);
|
|
240
245
|
background: linear-gradient(90deg, #4262ff, #7c79ff);
|
|
241
246
|
padding: 0 8px;
|
|
242
|
-
margin-right: 10px;
|
|
247
|
+
/* margin-right: 10px; */
|
|
243
248
|
}
|
|
244
249
|
|
|
245
250
|
.fcr-user-window-actions-tag-host:has(svg) {
|
|
@@ -306,6 +311,10 @@
|
|
|
306
311
|
text-overflow: ellipsis;
|
|
307
312
|
}
|
|
308
313
|
|
|
314
|
+
.fcr-user-window-actions-bottom .fcr-user-window-actions-name.ml-5 {
|
|
315
|
+
margin-left: 5px;
|
|
316
|
+
}
|
|
317
|
+
|
|
309
318
|
.fcr-user-window-actions-name-isme {
|
|
310
319
|
font-weight: normal;
|
|
311
320
|
}
|
|
@@ -321,6 +330,10 @@
|
|
|
321
330
|
display: block;
|
|
322
331
|
}
|
|
323
332
|
|
|
333
|
+
.member-window-actions__more-actions {
|
|
334
|
+
padding: 0;
|
|
335
|
+
}
|
|
336
|
+
|
|
324
337
|
/* .fcr-member-window-gallery .fcr-user-window-actions-name {
|
|
325
338
|
padding: 0 4px;
|
|
326
339
|
} */
|
|
@@ -571,14 +571,15 @@ var MemberWindowActions = exports.MemberWindowActions = (0, _mobxReact.observer)
|
|
|
571
571
|
className: (0, _classnames["default"])('fcr-user-window-actions-bottom-layout'),
|
|
572
572
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
573
573
|
className: (0, _classnames["default"])('fcr-member-window-members-sharebtn', {
|
|
574
|
-
'fcr-member-window-members-sharebtn-show': hasScreenSharing
|
|
574
|
+
'fcr-member-window-members-sharebtn-show': hasScreenSharing,
|
|
575
|
+
'fcr-member-window-members-sharebtn-large': windowSize === 'large'
|
|
575
576
|
}),
|
|
576
577
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
|
|
577
578
|
type: _type.FcrIconType.FCR_MOBILE_SHARESCREEN,
|
|
578
579
|
colors: {
|
|
579
580
|
iconPrimary: 'var(--fcr_ui_scene_white10)'
|
|
580
581
|
},
|
|
581
|
-
size: 18
|
|
582
|
+
size: windowSize === 'large' ? 24 : 18
|
|
582
583
|
})
|
|
583
584
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
584
585
|
className: "fcr-user-window-actions-bottom-layout-info",
|
|
@@ -654,7 +655,9 @@ var MemberWindowActions = exports.MemberWindowActions = (0, _mobxReact.observer)
|
|
|
654
655
|
})
|
|
655
656
|
}) : null]
|
|
656
657
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
657
|
-
className: "fcr-user-window-actions-name
|
|
658
|
+
className: (0, _classnames["default"])('fcr-user-window-actions-name', {
|
|
659
|
+
'ml-5': isManager || isShowInterpreterTag
|
|
660
|
+
}),
|
|
658
661
|
children: suffixedName
|
|
659
662
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
660
663
|
className: "fcr-user-window-actions-name-isme",
|
|
@@ -699,6 +702,16 @@ var MemberWindowActions = exports.MemberWindowActions = (0, _mobxReact.observer)
|
|
|
699
702
|
trigger: "click",
|
|
700
703
|
visible: isShowDropMenu,
|
|
701
704
|
onVisibleChange: onVisibleChange,
|
|
705
|
+
overlayInnerStyle: {
|
|
706
|
+
border: 0,
|
|
707
|
+
boxShadow: '0px 0px 15px var(--fcr_web_light_dropup_m)',
|
|
708
|
+
borderRadius: 'var(--fcr_cornerradius_l)',
|
|
709
|
+
minWidth: '210px',
|
|
710
|
+
maxWidth: '300px',
|
|
711
|
+
width: 'fit-content'
|
|
712
|
+
},
|
|
713
|
+
overlayClassName: "member-window-actions__more-actions",
|
|
714
|
+
mouseEnterDelay: 0,
|
|
702
715
|
content: /*#__PURE__*/(0, _jsxRuntime.jsx)(_participantsMore.FcrParticipantsMoreActions, {
|
|
703
716
|
userType: userType,
|
|
704
717
|
hasPinnedStream: hasPinnedStream,
|
|
@@ -33,7 +33,7 @@ export interface LayoutStoreParams {
|
|
|
33
33
|
mediaControl: FcrDesktopMediaControl;
|
|
34
34
|
securityStore: FcrSecurityStore;
|
|
35
35
|
chatRoomControl: FcrChatRoomControl;
|
|
36
|
-
|
|
36
|
+
whiteboardControl: FcrWhiteboardControl;
|
|
37
37
|
privilegeControl: FcrPrivilegeControl;
|
|
38
38
|
interpreterControl: FcrInterpreterControl;
|
|
39
39
|
roomControl: FcrBaseRoomControl;
|
|
@@ -244,7 +244,7 @@ var LayoutStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
244
244
|
this._userControl = params.userControl;
|
|
245
245
|
this._streamControl = params.streamControl;
|
|
246
246
|
this._chatRoomControl = chatRoomControl;
|
|
247
|
-
this._whiteBoardControl = params.
|
|
247
|
+
this._whiteBoardControl = params.whiteboardControl;
|
|
248
248
|
this._privilegeControl = params.privilegeControl;
|
|
249
249
|
this._interpreterControl = interpreterControl;
|
|
250
250
|
this._roomControl = roomControl;
|
|
@@ -1136,12 +1136,6 @@ var LayoutStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1136
1136
|
shouldHideNonVideoParticipants = _ref10.shouldHideNonVideoParticipants;
|
|
1137
1137
|
this.shouldHideNonVideoParticipants = shouldHideNonVideoParticipants;
|
|
1138
1138
|
this.enableSpotlight = spotlightEnabled;
|
|
1139
|
-
if (shouldHideNonVideoParticipants) {
|
|
1140
|
-
this._uiEventStore.showToast({
|
|
1141
|
-
type: 'info',
|
|
1142
|
-
message: (0, _i18n.transI18n)('fmt_internalsetting_other_hide_no_video_toast')
|
|
1143
|
-
});
|
|
1144
|
-
}
|
|
1145
1139
|
}
|
|
1146
1140
|
if (action === _constant.UIAction.WHITEBOARD_CHANGED) {
|
|
1147
1141
|
var _ref11 = payload,
|
|
@@ -674,22 +674,30 @@ var FcrUIVideoWindowDataSource = exports.FcrUIVideoWindowDataSource = /*#__PURE_
|
|
|
674
674
|
var handleStreamInfoUpdated = function handleStreamInfoUpdated(stream, list, limitCount, placement) {
|
|
675
675
|
var existedUserStream = list[_this4._findItemIndexWithWindowId(stream.streamId, list)];
|
|
676
676
|
if (existedUserStream) {
|
|
677
|
+
var oldSortingPriority = existedUserStream.sortingPriority;
|
|
677
678
|
if (param.connectorType === _fcrCore.FcrRoomConnectorType.PSTN) {
|
|
678
679
|
existedUserStream.setAudioStream(stream);
|
|
679
680
|
} else {
|
|
680
681
|
existedUserStream.setVideoStream(stream);
|
|
681
682
|
}
|
|
682
|
-
var
|
|
683
|
-
|
|
683
|
+
var newSortingPriority = existedUserStream.sortingPriority;
|
|
684
|
+
if (oldSortingPriority !== newSortingPriority) {
|
|
685
|
+
var index = _this4._insertByPriority(existedUserStream, list, limitCount);
|
|
686
|
+
_this4._observer.notifyObservers(placement === 'main-list' ? 'onMainListUpdated' : 'onFoldListUpdated', index);
|
|
687
|
+
}
|
|
684
688
|
}
|
|
685
689
|
};
|
|
686
690
|
var handleUserInfoUpdated = function handleUserInfoUpdated(user, list, limitCount, placement) {
|
|
687
691
|
var modifiedItems = [];
|
|
688
692
|
list.forEach(function (item) {
|
|
689
693
|
if (item.userId === user.userId) {
|
|
694
|
+
var oldSortingPriority = item.sortingPriority;
|
|
690
695
|
item.setVideoStreamOwnerInfo(user);
|
|
691
696
|
item.setAudioStreamOwnerInfo(user);
|
|
692
|
-
|
|
697
|
+
var newSortingPriority = item.sortingPriority;
|
|
698
|
+
if (oldSortingPriority !== newSortingPriority) {
|
|
699
|
+
modifiedItems.push(item);
|
|
700
|
+
}
|
|
693
701
|
}
|
|
694
702
|
});
|
|
695
703
|
modifiedItems.forEach(function (item) {
|
|
@@ -423,7 +423,8 @@ var ParticipantAttendee = exports.ParticipantAttendee = (0, _mobxReact.observer)
|
|
|
423
423
|
userId: userId
|
|
424
424
|
}), videoDeviceType !== 'none' && activeTab === _constant.RoomType.MAIN_ROOM && /*#__PURE__*/(0, _jsxRuntime.jsx)(_cameraState.CameraState, {
|
|
425
425
|
isCameraMuted: !hasVideo,
|
|
426
|
-
size: 28
|
|
426
|
+
size: 28,
|
|
427
|
+
renderIconType: 'surface'
|
|
427
428
|
})]
|
|
428
429
|
}), userActions()]
|
|
429
430
|
}, userId);
|
|
@@ -52,7 +52,7 @@ var RoomControlDropMenu = exports.RoomControlDropMenu = (0, _mobxReact.observer)
|
|
|
52
52
|
hasRevokeHostPermission = _useContext.hasRevokeHostPermission;
|
|
53
53
|
var allActions = [{
|
|
54
54
|
title: /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
|
|
55
|
-
|
|
55
|
+
checked: false,
|
|
56
56
|
label: t('fmt_security_buttons_allhandsdown'),
|
|
57
57
|
styleType: "white"
|
|
58
58
|
}),
|
|
@@ -61,7 +61,7 @@ var RoomControlDropMenu = exports.RoomControlDropMenu = (0, _mobxReact.observer)
|
|
|
61
61
|
classNames: 'room-control-drop-with-under-line'
|
|
62
62
|
}, {
|
|
63
63
|
title: /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
|
|
64
|
-
|
|
64
|
+
checked: allowJoinWithMuteAudio,
|
|
65
65
|
label: t('fmt_security_options_silence'),
|
|
66
66
|
styleType: "white"
|
|
67
67
|
}),
|
|
@@ -72,7 +72,7 @@ var RoomControlDropMenu = exports.RoomControlDropMenu = (0, _mobxReact.observer)
|
|
|
72
72
|
}
|
|
73
73
|
}, {
|
|
74
74
|
title: /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
|
|
75
|
-
|
|
75
|
+
checked: false,
|
|
76
76
|
label: t('fmt_security_options_playnotification'),
|
|
77
77
|
styleType: "white"
|
|
78
78
|
}),
|
|
@@ -83,7 +83,7 @@ var RoomControlDropMenu = exports.RoomControlDropMenu = (0, _mobxReact.observer)
|
|
|
83
83
|
}
|
|
84
84
|
}, {
|
|
85
85
|
title: /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
|
|
86
|
-
|
|
86
|
+
checked: isLockRoomEnabled,
|
|
87
87
|
label: t('fmt_screenshare_controlbar_security_list_lock'),
|
|
88
88
|
styleType: "white"
|
|
89
89
|
}),
|
|
@@ -94,7 +94,7 @@ var RoomControlDropMenu = exports.RoomControlDropMenu = (0, _mobxReact.observer)
|
|
|
94
94
|
}
|
|
95
95
|
}, {
|
|
96
96
|
title: /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
|
|
97
|
-
|
|
97
|
+
checked: isWaitingRoomEnabled,
|
|
98
98
|
label: t('fmt_screenshare_options_allow'),
|
|
99
99
|
styleType: "white"
|
|
100
100
|
}),
|
|
@@ -110,7 +110,7 @@ var RoomControlDropMenu = exports.RoomControlDropMenu = (0, _mobxReact.observer)
|
|
|
110
110
|
type: 'title'
|
|
111
111
|
}, {
|
|
112
112
|
title: /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
|
|
113
|
-
|
|
113
|
+
checked: allowUnmuteSelfAudio,
|
|
114
114
|
label: t('fmt_screenshare_controlbar_security_list_participant_unmute'),
|
|
115
115
|
styleType: "white"
|
|
116
116
|
}),
|
|
@@ -121,7 +121,7 @@ var RoomControlDropMenu = exports.RoomControlDropMenu = (0, _mobxReact.observer)
|
|
|
121
121
|
}
|
|
122
122
|
}, {
|
|
123
123
|
title: /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
|
|
124
|
-
|
|
124
|
+
checked: allowUnmuteSelfVideo,
|
|
125
125
|
label: t('fmt_security_options_openvideo'),
|
|
126
126
|
styleType: "white"
|
|
127
127
|
}),
|
|
@@ -132,7 +132,7 @@ var RoomControlDropMenu = exports.RoomControlDropMenu = (0, _mobxReact.observer)
|
|
|
132
132
|
}
|
|
133
133
|
}, {
|
|
134
134
|
title: /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
|
|
135
|
-
|
|
135
|
+
checked: allowChangeSelfName,
|
|
136
136
|
label: t('fmt_additional_label_change_name_self'),
|
|
137
137
|
styleType: "white"
|
|
138
138
|
}),
|
|
@@ -159,7 +159,7 @@ var RoomControlDropMenu = exports.RoomControlDropMenu = (0, _mobxReact.observer)
|
|
|
159
159
|
if (hasRevokeHostPermission) {
|
|
160
160
|
allActions.unshift({
|
|
161
161
|
title: /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
|
|
162
|
-
|
|
162
|
+
checked: false,
|
|
163
163
|
label: t('fmt_security_options_restract'),
|
|
164
164
|
styleType: "white"
|
|
165
165
|
}),
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-wrap: wrap;
|
|
4
4
|
justify-content: center;
|
|
5
|
+
flex-direction: column;
|
|
5
6
|
width: 100%;
|
|
6
7
|
min-width: 320px;
|
|
7
8
|
flex: 1;
|
|
@@ -82,3 +83,7 @@
|
|
|
82
83
|
display: flex;
|
|
83
84
|
flex: 1;
|
|
84
85
|
}
|
|
86
|
+
|
|
87
|
+
.participants-container .fcr-tabs {
|
|
88
|
+
margin: 0 15px;
|
|
89
|
+
}
|
|
@@ -1,27 +1,12 @@
|
|
|
1
|
-
import { FcrCoreEngine } from 'fcr-core';
|
|
2
1
|
import { UIModule } from '../../base';
|
|
3
|
-
import { FcrSecurityStore } from '../../common/security-store';
|
|
4
|
-
import { FcrUIEventStore } from '../../common/event-store';
|
|
5
|
-
import { FcrDeviceStore } from '../../common/device-store';
|
|
6
|
-
import { FcrDeviceStreamStore } from '../../common/device-stream-store';
|
|
7
|
-
import { FcrPeerSessionControl } from 'fcr-core/lib/peer-session/type';
|
|
8
|
-
import { FcrInterpreterControl } from 'fcr-core/lib/room-control/interpreter-control/types';
|
|
9
2
|
import { FcrMainRoomControl } from 'fcr-core/lib/room-control/type';
|
|
10
3
|
import { OperateWaitingRoomMemberDialogProps } from './attendee';
|
|
11
|
-
import { FcrRoomStore } from '../../common/room-store';
|
|
12
4
|
import './index.css';
|
|
5
|
+
import { StoreConfig } from '../../type';
|
|
13
6
|
export declare class ParticipantUIModule extends UIModule {
|
|
14
7
|
private _store;
|
|
15
|
-
constructor(args: {
|
|
8
|
+
constructor(args: StoreConfig & {
|
|
16
9
|
roomControl: FcrMainRoomControl;
|
|
17
|
-
engine: FcrCoreEngine;
|
|
18
|
-
peerSessionControl: FcrPeerSessionControl;
|
|
19
|
-
securityStore: FcrSecurityStore;
|
|
20
|
-
uiEventStore: FcrUIEventStore;
|
|
21
|
-
deviceStore: FcrDeviceStore;
|
|
22
|
-
deviceStreamStore: FcrDeviceStreamStore;
|
|
23
|
-
interpreterControl: FcrInterpreterControl;
|
|
24
|
-
roomStore: FcrRoomStore;
|
|
25
10
|
});
|
|
26
11
|
getComponent(): import("react/jsx-runtime").JSX.Element;
|
|
27
12
|
getWaitingRoomDialog(params: OperateWaitingRoomMemberDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
require("core-js/modules/es.symbol.js");
|
|
4
|
+
require("core-js/modules/es.array.filter.js");
|
|
5
|
+
require("core-js/modules/es.array.for-each.js");
|
|
6
|
+
require("core-js/modules/es.array.push.js");
|
|
7
|
+
require("core-js/modules/es.object.define-properties.js");
|
|
8
|
+
require("core-js/modules/es.object.define-property.js");
|
|
9
|
+
require("core-js/modules/es.object.get-own-property-descriptor.js");
|
|
10
|
+
require("core-js/modules/es.object.get-own-property-descriptors.js");
|
|
11
|
+
require("core-js/modules/es.object.keys.js");
|
|
12
|
+
require("core-js/modules/esnext.async-iterator.filter.js");
|
|
13
|
+
require("core-js/modules/esnext.async-iterator.for-each.js");
|
|
14
|
+
require("core-js/modules/esnext.iterator.constructor.js");
|
|
15
|
+
require("core-js/modules/esnext.iterator.filter.js");
|
|
16
|
+
require("core-js/modules/esnext.iterator.for-each.js");
|
|
17
|
+
require("core-js/modules/web.dom-collections.for-each.js");
|
|
3
18
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
19
|
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
5
20
|
require("core-js/modules/es.array.iterator.js");
|
|
@@ -13,6 +28,7 @@ require("core-js/modules/web.url-search-params.js");
|
|
|
13
28
|
require("core-js/modules/web.url-search-params.delete.js");
|
|
14
29
|
require("core-js/modules/web.url-search-params.has.js");
|
|
15
30
|
require("core-js/modules/web.url-search-params.size.js");
|
|
31
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
16
32
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
17
33
|
var _reactDom = _interopRequireDefault(require("react-dom"));
|
|
18
34
|
var _root = require("react-hot-loader/root");
|
|
@@ -25,14 +41,15 @@ var _dialog = require("../dialog");
|
|
|
25
41
|
var _deviceStore = require("../../common/device-store");
|
|
26
42
|
var _deviceStreamStore = require("../../common/device-stream-store");
|
|
27
43
|
var _roomStore = require("../../common/room-store");
|
|
28
|
-
var _remoteRenderer = require("../../common/remote-renderer");
|
|
29
44
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
45
|
+
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; }
|
|
46
|
+
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; }
|
|
30
47
|
var App = (0, _root.hot)(function () {
|
|
31
48
|
return null;
|
|
32
49
|
});
|
|
33
50
|
_reactDom["default"].render(/*#__PURE__*/(0, _jsxRuntime.jsx)(App, {}), document.querySelector('#root'));
|
|
34
51
|
window.__DEV_ENGINE_IS_READY__.then(/*#__PURE__*/(0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee() {
|
|
35
|
-
var engine, urlParams, isAssistant, roomId, token, roomControl, userName, deviceStore, uiEventStore, securityStore, dialogModule, deviceStreamStore, uiModule, App;
|
|
52
|
+
var engine, urlParams, isAssistant, roomId, token, roomControl, userName, deviceStore, uiEventStore, securityStore, config, dialogModule, deviceStreamStore, uiModule, App;
|
|
36
53
|
return _regenerator["default"].wrap(function _callee$(_context) {
|
|
37
54
|
while (1) switch (_context.prev = _context.next) {
|
|
38
55
|
case 0:
|
|
@@ -57,36 +74,30 @@ window.__DEV_ENGINE_IS_READY__.then(/*#__PURE__*/(0, _asyncToGenerator2["default
|
|
|
57
74
|
});
|
|
58
75
|
case 12:
|
|
59
76
|
uiEventStore = new _eventStore.FcrUIEventStore();
|
|
60
|
-
securityStore = new _securityStore.FcrSecurityStore(roomControl.getPrivilegeControl(), roomControl.getUserControl(), roomControl.getStreamControl(),
|
|
61
|
-
|
|
62
|
-
uiEventStore: uiEventStore,
|
|
63
|
-
userInfo: roomControl.getUserControl().getLocalUser(),
|
|
64
|
-
securityStore: securityStore,
|
|
65
|
-
userControl: roomControl.getUserControl(),
|
|
66
|
-
chatRoomControl: roomControl.getChatRoomControl(),
|
|
67
|
-
deviceStore: deviceStore,
|
|
68
|
-
streamControl: roomControl.getStreamControl(),
|
|
69
|
-
remoteVideoRenderManager: new _remoteRenderer.FcrRemoteVideoRenderManager(roomControl.getStreamControl())
|
|
70
|
-
});
|
|
71
|
-
deviceStreamStore = new _deviceStreamStore.FcrDeviceStreamStore({
|
|
77
|
+
securityStore = new _securityStore.FcrSecurityStore(roomControl.getPrivilegeControl(), roomControl.getUserControl(), roomControl.getStreamControl(), uiEventStore);
|
|
78
|
+
config = {
|
|
72
79
|
mediaControl: engine.getDesktopMediaControl(),
|
|
73
80
|
roomControl: roomControl,
|
|
74
81
|
securityStore: securityStore,
|
|
75
82
|
deviceStore: deviceStore,
|
|
76
83
|
uiEventStore: uiEventStore,
|
|
77
|
-
roomStore: new _roomStore.FcrRoomStore(uiEventStore, deviceStore, {}, engine)
|
|
78
|
-
});
|
|
79
|
-
uiModule = new _.ParticipantUIModule({
|
|
80
|
-
roomControl: roomControl,
|
|
81
|
-
engine: engine,
|
|
82
|
-
peerSessionControl: engine.getPeerSessionControl(),
|
|
83
|
-
securityStore: securityStore,
|
|
84
|
-
uiEventStore: uiEventStore,
|
|
85
|
-
deviceStore: deviceStore,
|
|
86
|
-
deviceStreamStore: deviceStreamStore,
|
|
87
84
|
roomStore: new _roomStore.FcrRoomStore(uiEventStore, deviceStore, {}, engine),
|
|
88
|
-
|
|
89
|
-
|
|
85
|
+
streamControl: roomControl.getStreamControl(),
|
|
86
|
+
userControl: roomControl.getUserControl(),
|
|
87
|
+
privilegeControl: roomControl.getPrivilegeControl(),
|
|
88
|
+
interpreterControl: roomControl.getInterpreterControl(),
|
|
89
|
+
chatRoomControl: roomControl.getChatRoomControl(),
|
|
90
|
+
engine: null,
|
|
91
|
+
remoteVideoRenderManager: null,
|
|
92
|
+
config: null,
|
|
93
|
+
parameters: null,
|
|
94
|
+
deviceStreamStore: null
|
|
95
|
+
};
|
|
96
|
+
dialogModule = new _dialog.DialogUIModule(config);
|
|
97
|
+
deviceStreamStore = new _deviceStreamStore.FcrDeviceStreamStore(config);
|
|
98
|
+
uiModule = new _.ParticipantUIModule(_objectSpread(_objectSpread({}, config), {}, {
|
|
99
|
+
deviceStreamStore: deviceStreamStore
|
|
100
|
+
}));
|
|
90
101
|
App = (0, _root.hot)(function () {
|
|
91
102
|
(0, _hooks.useUnmount)(function () {
|
|
92
103
|
uiModule.release();
|
|
@@ -98,7 +109,7 @@ window.__DEV_ENGINE_IS_READY__.then(/*#__PURE__*/(0, _asyncToGenerator2["default
|
|
|
98
109
|
});
|
|
99
110
|
});
|
|
100
111
|
_reactDom["default"].render(/*#__PURE__*/(0, _jsxRuntime.jsx)(App, {}), document.querySelector('#root'));
|
|
101
|
-
case
|
|
112
|
+
case 20:
|
|
102
113
|
case "end":
|
|
103
114
|
return _context.stop();
|
|
104
115
|
}
|
|
@@ -1,20 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { FcrPeerSessionControl } from 'fcr-core/lib/peer-session/type';
|
|
1
|
+
import { FcrPrivilegeUserRole } from 'fcr-core';
|
|
3
2
|
import { FcrUserInfo, FcrUserRole } from 'fcr-core/lib/type';
|
|
4
3
|
import { RoomType } from '../../utilities/constant';
|
|
5
4
|
import { ParticipantActionType, User } from 'agora-ui-foundation/lib/components/participants/attendee';
|
|
6
|
-
import { FcrSecurityStore } from '../../common/security-store';
|
|
7
5
|
import { DialogKey, RoomControlType } from '../../utilities/constant';
|
|
8
|
-
import { FcrUIEventStore } from '../../common/event-store';
|
|
9
|
-
import { FcrDeviceStore } from '../../common/device-store';
|
|
10
|
-
import { FcrDeviceStreamStore } from '../../common/device-stream-store';
|
|
11
6
|
import { FcrUIMemberData } from './type';
|
|
12
7
|
import { FcrUserKickedOutType } from 'fcr-core/lib/room-control/user-control/type';
|
|
13
8
|
import { FcrMainRoomControl } from 'fcr-core/lib/room-control/type';
|
|
14
|
-
import {
|
|
9
|
+
import { FcrInterpreterUserInfo, FcrLanguage } from 'fcr-core/lib/room-control/interpreter-control/types';
|
|
15
10
|
import { OperateWaitingRoomMemberDialogProps } from './attendee';
|
|
16
|
-
import { FcrRoomStore } from '../../common/room-store';
|
|
17
11
|
import { ConfirmContentProps } from 'agora-ui-foundation/lib/components/confirm-content';
|
|
12
|
+
import { StoreConfig } from '../../type';
|
|
18
13
|
export default class ParticipantStore {
|
|
19
14
|
protected logger: import("agora-foundation/lib/logger").Logger;
|
|
20
15
|
private _interpreterControl;
|
|
@@ -87,16 +82,8 @@ export default class ParticipantStore {
|
|
|
87
82
|
get userList(): User[];
|
|
88
83
|
get localMicVolume(): number;
|
|
89
84
|
get hasRevokeHostPermission(): boolean;
|
|
90
|
-
constructor({ roomControl,
|
|
85
|
+
constructor({ roomControl, securityStore, uiEventStore, deviceStore, deviceStreamStore, roomStore, engine, }: StoreConfig & {
|
|
91
86
|
roomControl: FcrMainRoomControl;
|
|
92
|
-
engine: FcrCoreEngine;
|
|
93
|
-
peerSessionControl: FcrPeerSessionControl;
|
|
94
|
-
securityStore: FcrSecurityStore;
|
|
95
|
-
uiEventStore: FcrUIEventStore;
|
|
96
|
-
deviceStore: FcrDeviceStore;
|
|
97
|
-
deviceStreamStore: FcrDeviceStreamStore;
|
|
98
|
-
interpreterControl: FcrInterpreterControl;
|
|
99
|
-
roomStore: FcrRoomStore;
|
|
100
87
|
});
|
|
101
88
|
setSpotlightStreamId(streamId: string): void;
|
|
102
89
|
release(): void;
|
|
@@ -161,13 +161,12 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
161
161
|
function ParticipantStore(_ref2) {
|
|
162
162
|
var _this = this;
|
|
163
163
|
var _roomControl = _ref2.roomControl,
|
|
164
|
-
peerSessionControl = _ref2.peerSessionControl,
|
|
165
164
|
securityStore = _ref2.securityStore,
|
|
166
165
|
uiEventStore = _ref2.uiEventStore,
|
|
167
166
|
deviceStore = _ref2.deviceStore,
|
|
168
167
|
deviceStreamStore = _ref2.deviceStreamStore,
|
|
169
|
-
|
|
170
|
-
|
|
168
|
+
roomStore = _ref2.roomStore,
|
|
169
|
+
engine = _ref2.engine;
|
|
171
170
|
(0, _classCallCheck2["default"])(this, ParticipantStore);
|
|
172
171
|
(0, _defineProperty2["default"])(this, _ref, (_initProto(this), (0, _logger.getLogger)()));
|
|
173
172
|
(0, _defineProperty2["default"])(this, "_dataSource", new _memberListDataSource.FcrUIMemberListDataSourceImpl());
|
|
@@ -375,14 +374,14 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
375
374
|
});
|
|
376
375
|
this._roomControl = _roomControl;
|
|
377
376
|
this._streamControl = _roomControl.getStreamControl();
|
|
378
|
-
this._peerSessionControl =
|
|
377
|
+
this._peerSessionControl = engine.getPeerSessionControl();
|
|
379
378
|
this._userControl = _roomControl.getUserControl();
|
|
380
379
|
this._securityStore = securityStore;
|
|
381
380
|
this._uiEventStore = uiEventStore;
|
|
382
381
|
this._deviceStore = deviceStore;
|
|
383
382
|
this._deviceStreamStore = deviceStreamStore;
|
|
384
383
|
this._roomStore = roomStore;
|
|
385
|
-
this._interpreterControl =
|
|
384
|
+
this._interpreterControl = _roomControl.getInterpreterControl();
|
|
386
385
|
this._uiEventStore.addObserver(this._eventObserver);
|
|
387
386
|
this._userControl.addObserver(this._userObserver);
|
|
388
387
|
this._streamControl.addObserver(this._streamsObserver);
|
|
@@ -679,14 +678,14 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
679
678
|
}, {
|
|
680
679
|
key: "release",
|
|
681
680
|
value: function release() {
|
|
682
|
-
this._uiEventStore.
|
|
683
|
-
this._userControl.
|
|
684
|
-
this._streamControl.
|
|
685
|
-
this._peerSessionControl.
|
|
686
|
-
this._roomControl.getBoardControl().
|
|
687
|
-
this._interpreterControl.
|
|
688
|
-
this._roomControl.getPrivilegeControl().
|
|
689
|
-
this._roomStore.
|
|
681
|
+
this._uiEventStore.removeObserver(this._eventObserver);
|
|
682
|
+
this._userControl.removeObserver(this._userObserver);
|
|
683
|
+
this._streamControl.removeObserver(this._streamsObserver);
|
|
684
|
+
this._peerSessionControl.removeObserver(this._peerSessionObserver);
|
|
685
|
+
this._roomControl.getBoardControl().removeObserver(this._whitebaordObderver);
|
|
686
|
+
this._interpreterControl.removeObserver(this._interpreterObserver);
|
|
687
|
+
this._roomControl.getPrivilegeControl().removeObserver(this._privilegeControlObserver);
|
|
688
|
+
this._roomStore.removeObserver(this._roomStoreObserver);
|
|
690
689
|
this._disposers.forEach(function (disposer) {
|
|
691
690
|
return disposer();
|
|
692
691
|
});
|
|
@@ -951,6 +950,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
951
950
|
onCancel: function onCancel() {
|
|
952
951
|
_this5._closeChangeNameDialog();
|
|
953
952
|
},
|
|
953
|
+
closable: false,
|
|
954
954
|
height: 190
|
|
955
955
|
});
|
|
956
956
|
this._changeNameDialogKey.push(key);
|
|
@@ -202,9 +202,9 @@ var AudioSettings = exports.AudioSettings = (0, _mobxReact.observer)(function ()
|
|
|
202
202
|
label: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
203
203
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
204
204
|
children: item.label
|
|
205
|
-
}), item.addition && /*#__PURE__*/(0, _jsxRuntime.
|
|
205
|
+
}), item.addition && /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
206
206
|
className: ns.e('radio-label-addition'),
|
|
207
|
-
children:
|
|
207
|
+
children: item.addition
|
|
208
208
|
})]
|
|
209
209
|
})
|
|
210
210
|
}, item.value);
|
|
@@ -217,16 +217,19 @@ var AudioSettings = exports.AudioSettings = (0, _mobxReact.observer)(function ()
|
|
|
217
217
|
className: ns.e('section-title'),
|
|
218
218
|
children: t('fmt_setting_label_professional')
|
|
219
219
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
220
|
-
className: ns.e('switch-
|
|
220
|
+
className: ns.e('switch-wrapper'),
|
|
221
221
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
222
222
|
children: t('fmt_setting_option_orinalvoise')
|
|
223
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
223
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
224
|
+
className: ns.e('switch-wrapper-switch'),
|
|
225
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_switch.FcrSwitch, {
|
|
226
|
+
value: setting.audioVoiceChanger,
|
|
227
|
+
onChange: function onChange(v) {
|
|
228
|
+
return setSetting({
|
|
229
|
+
audioVoiceChanger: v
|
|
230
|
+
});
|
|
231
|
+
}
|
|
232
|
+
})
|
|
230
233
|
})]
|
|
231
234
|
}), setting.audioVoiceChanger && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
232
235
|
className: ns.e('options-section'),
|