fcr-ui-scene 3.8.0-alpha → 3.8.1-alpha
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/base.js +2 -2
- package/lib/electron/bootstrap-sdk.js +6 -6
- package/lib/electron/exit-codes.js +11 -11
- package/lib/electron/hang-detection/manager.js +4 -4
- package/lib/electron/ipc-protocol.js +12 -12
- package/lib/electron/process-manager/event-manager.js +30 -30
- package/lib/electron/process-manager/index.js +88 -88
- package/lib/electron/process-manager/state-manager.js +57 -57
- package/lib/electron/process-manager/types.js +16 -16
- package/lib/electron/sdk-helper.js +3 -3
- package/lib/electron/window-proxy/browser-window-proxy.js +13 -13
- package/lib/electron/window-proxy/main-process-handler.js +14 -14
- package/lib/fragments/annotation/style.css +9 -9
- package/lib/fragments/annotation/toolbar/components/item/style.css +45 -45
- package/lib/fragments/annotation/toolbar/components/panel/style.css +24 -24
- package/lib/fragments/annotation/toolbar/components/tips/style.css +19 -19
- package/lib/fragments/annotation/toolbar/style.css +55 -55
- package/lib/fragments/whiteboard/cursor.css +77 -77
- package/lib/fragments/whiteboard/store.js +1 -1
- package/lib/fragments/whiteboard/style.css +4 -4
- package/lib/global.css +62 -62
- package/lib/global.d.ts +27 -27
- package/lib/modules/action-bar/components/chat/index.css +88 -88
- package/lib/modules/action-bar/components/more/index.css +114 -114
- package/lib/modules/action-bar/components/notification-bar/components/interpreter/index.css +58 -58
- package/lib/modules/action-bar/components/notification-bar/components/virtual-image/index.css +56 -56
- package/lib/modules/action-bar/components/notification-bar/index.css +74 -74
- package/lib/modules/action-bar/components/participants/index.css +21 -21
- package/lib/modules/action-bar/components/record/index.css +39 -39
- package/lib/modules/action-bar/components/trigger-output-language/index.css +86 -86
- package/lib/modules/action-bar/components/trigger-subscribe-language/guide-tooltip/index.css +22 -22
- package/lib/modules/action-bar/index.css +358 -358
- package/lib/modules/action-bar/main-scene/view.js +3 -3
- package/lib/modules/audio-stream/index.js +3 -3
- package/lib/modules/caption/draggable-container/index.css +10 -10
- package/lib/modules/caption/draggable-container/index.js +34 -12
- package/lib/modules/caption/store.d.ts +1 -4
- package/lib/modules/caption/store.js +10 -18
- package/lib/modules/caption/view.css +158 -158
- package/lib/modules/caption/view.js +16 -27
- package/lib/modules/chat/components/chat-bar/index.css +89 -89
- package/lib/modules/chat/components/chat-select/index.css +185 -185
- package/lib/modules/chat/index.css +124 -124
- package/lib/modules/chat/store.d.ts +1 -0
- package/lib/modules/chat/store.js +2 -2
- package/lib/modules/components/apps/app-item/index.css +49 -49
- package/lib/modules/components/apps/index.css +9 -9
- package/lib/modules/components/caption-menu/index.css +58 -58
- package/lib/modules/components/caption-menu/index.d.ts +2 -0
- package/lib/modules/components/caption-menu/index.js +13 -10
- package/lib/modules/components/caption-menu/participants-privilege-control-options.js +5 -19
- package/lib/modules/components/caption-menu/steps/index.css +73 -73
- package/lib/modules/components/caption-menu/translation-setting-options.js +31 -24
- package/lib/modules/components/control-bar/components/loading/index.css +76 -76
- package/lib/modules/components/control-bar/components/progress/style.css +51 -51
- package/lib/modules/components/control-bar/components/switch-theme/index.css +101 -101
- package/lib/modules/components/control-bar/index.css +99 -99
- package/lib/modules/components/device-control/index.css +177 -177
- package/lib/modules/components/leave-meeting/components/index.css +151 -151
- package/lib/modules/components/leave-meeting/style.css +9 -9
- package/lib/modules/components/member-window/components/member-actions/store.js +22 -22
- package/lib/modules/components/member-window/index.css +502 -502
- package/lib/modules/components/security-menu/index.css +42 -42
- package/lib/modules/components/tab-frame/index.css +40 -40
- package/lib/modules/components/toolbar/components/item/style.css +94 -94
- package/lib/modules/components/toolbar/components/panel/style.css +86 -86
- package/lib/modules/components/toolbar/style.css +85 -85
- package/lib/modules/connection-gateway/components/computer/index.css +12 -12
- package/lib/modules/connection-gateway/components/phone/components/callinfo/index.css +36 -36
- package/lib/modules/connection-gateway/components/phone/components/calling/index.css +72 -72
- package/lib/modules/connection-gateway/components/phone/components/remeber/index.css +10 -10
- package/lib/modules/connection-gateway/components/phone/components/useing/index.css +46 -46
- package/lib/modules/connection-gateway/components/phone/index.css +49 -49
- package/lib/modules/connection-gateway/index.css +6 -6
- package/lib/modules/control-bar/components/carmera/index.js +7 -39
- package/lib/modules/control-bar/components/cloud-recording-buttons.js +18 -33
- package/lib/modules/control-bar/components/meeting-details/index.css +133 -133
- package/lib/modules/control-bar/components/microphone/index.js +3 -43
- package/lib/modules/control-bar/components/more-actions/index.css +103 -103
- package/lib/modules/control-bar/components/share-audio/index.css +90 -90
- package/lib/modules/control-bar/components/share-audio/index.d.ts +2 -0
- package/lib/modules/control-bar/components/share-audio/index.js +4 -10
- package/lib/modules/control-bar/components/share-state-nav/index.css +79 -79
- package/lib/modules/control-bar/hooks.d.ts +1 -0
- package/lib/modules/control-bar/hooks.js +140 -1
- package/lib/modules/control-bar/index.css +340 -340
- package/lib/modules/control-bar/index.js +4 -4
- package/lib/modules/control-bar/store.d.ts +3 -4
- package/lib/modules/control-bar/store.js +37 -30
- package/lib/modules/control-bar/type.d.ts +3 -0
- package/lib/modules/control-bar/view.js +40 -57
- package/lib/modules/device-pretest/index.css +123 -123
- package/lib/modules/dialog/components/confirm/index.css +24 -24
- package/lib/modules/dialog/components/confirm/index.js +0 -1
- package/lib/modules/dialog/components/dialog-container/index.css +112 -112
- package/lib/modules/dialog/components/dialog-container/index.js +1 -0
- package/lib/modules/dialog/dialogs/confirm/index.css +24 -24
- package/lib/modules/dialog/dialogs/device-setting/index.css +26 -26
- package/lib/modules/dialog/dialogs/interpreter/index.css +30 -30
- package/lib/modules/dialog/dialogs/mute-all/index.css +20 -20
- package/lib/modules/dialog/dialogs/system-preference/index.css +52 -52
- package/lib/modules/dialog/dialogs/widget/index.js +4 -4
- package/lib/modules/dialog/index.css +56 -56
- package/lib/modules/event-toast/index.css +25 -25
- package/lib/modules/event-toast/index.js +7 -1
- package/lib/modules/interpreter/action/add-btn/index.css +4 -4
- package/lib/modules/interpreter/action/delete-btn/index.css +14 -14
- package/lib/modules/interpreter/action/switch-btn/index.css +3 -3
- package/lib/modules/interpreter/dialog-content/index.css +33 -33
- package/lib/modules/interpreter/footer/index.css +11 -11
- package/lib/modules/interpreter/index.css +4 -4
- package/lib/modules/interpreter/interpreter-list/index.css +8 -8
- package/lib/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/index.css +46 -46
- package/lib/modules/interpreter/interpreter-list/interpreter-item/components/pick-user/index.css +46 -46
- package/lib/modules/interpreter/interpreter-list/interpreter-item/index.css +32 -32
- package/lib/modules/interpreter/loading-wrapper/index.css +53 -53
- package/lib/modules/invite/components/voip-invite.css +26 -26
- package/lib/modules/invite/index.css +331 -331
- package/lib/modules/layout/components/CommonVideoRenderer.js +4 -4
- package/lib/modules/layout/components/index.css +653 -653
- package/lib/modules/layout/index.css +59 -59
- package/lib/modules/layout/store.base.d.ts +1 -1
- package/lib/modules/layout/store.base.js +5 -5
- package/lib/modules/layout/store.electron.d.ts +0 -1
- package/lib/modules/layout/store.electron.js +37 -133
- package/lib/modules/layout/type.js +5 -5
- package/lib/modules/notification/index.css +77 -77
- package/lib/modules/notification/interpreter-status/index.css +76 -76
- package/lib/modules/participant/components/confirm-input/index.css +4 -4
- package/lib/modules/participant/components/participants/components/footer/components/drop-menu/index.css +83 -83
- package/lib/modules/participant/components/participants/components/render-user/components/attendee/index.css +87 -87
- package/lib/modules/participant/index.css +102 -102
- package/lib/modules/participant/store.base.js +183 -185
- package/lib/modules/pc-audio-connect/index.css +12 -12
- package/lib/modules/phone-audio-connect/components/callinfo/index.css +36 -36
- package/lib/modules/phone-audio-connect/components/calling/index.css +72 -72
- package/lib/modules/phone-audio-connect/components/remeber/index.css +10 -10
- package/lib/modules/phone-audio-connect/components/useing/index.css +46 -46
- package/lib/modules/phone-audio-connect/index.css +56 -56
- package/lib/modules/secondary-window/store.js +8 -10
- package/lib/modules/setting/audio-settings/index.css +195 -195
- package/lib/modules/setting/audio-whiteList/audio-device-adaptation.d.ts +28 -0
- package/lib/modules/setting/audio-whiteList/audio-device-adaptation.js +43 -7
- package/lib/modules/setting/audio-whiteList/audio-whiteList-manager.d.ts +3 -14
- package/lib/modules/setting/audio-whiteList/audio-whiteList-manager.js +51 -30
- package/lib/modules/setting/caption_and_transcribing/index.css +88 -88
- package/lib/modules/setting/general-settings/index.css +41 -41
- package/lib/modules/setting/index.css +112 -112
- package/lib/modules/setting/index.js +4 -2
- package/lib/modules/setting/minutes-settings/index.css +65 -65
- package/lib/modules/setting/state/index.css +207 -207
- package/lib/modules/setting/storage-settings/index.css +91 -91
- package/lib/modules/setting/store.base.d.ts +5 -3
- package/lib/modules/setting/store.base.js +64 -43
- package/lib/modules/setting/store.electron.d.ts +1 -1
- package/lib/modules/setting/store.electron.js +3 -7
- package/lib/modules/setting/translate-settings/index.css +47 -47
- package/lib/modules/setting/video-settings/index.css +357 -357
- package/lib/modules/setting/view.js +3 -2
- package/lib/modules/share-screen/components/control-bar/index.css +75 -75
- package/lib/modules/share-screen/components/selection/index.css +73 -73
- package/lib/modules/share-screen/components/share-state-bar/index.css +76 -76
- package/lib/modules/share-screen/index.js +10 -10
- package/lib/modules/share-screen/store.base.js +2 -2
- package/lib/modules/share-screen/store.electron.js +51 -23
- package/lib/modules/state-bar/assets/fcr_grid_big.svg +3 -3
- package/lib/modules/state-bar/assets/fcr_listontop_big.svg +3 -3
- package/lib/modules/state-bar/index.css +706 -706
- package/lib/modules/state-bar/main-scene/store.base.js +2 -2
- package/lib/modules/state-bar/meeting-detail.css +137 -137
- package/lib/modules/state-bar/meeting-network-state.css +150 -150
- package/lib/modules/state-bar/waiting-scene/store.base.js +2 -2
- package/lib/modules/subtitles-history/components/list-item.js +4 -7
- package/lib/modules/subtitles-history/components/settings/index.css +5 -5
- package/lib/modules/subtitles-history/index.css +129 -129
- package/lib/modules/subtitles-history/store.base.d.ts +3 -1
- package/lib/modules/subtitles-history/store.base.js +11 -1
- package/lib/modules/video-window/components/members/index.css +51 -51
- package/lib/modules/video-window/components/speaking/index.css +86 -86
- package/lib/modules/video-window/components/topControl/index.css +35 -35
- package/lib/modules/video-window/index.css +21 -21
- package/lib/modules/video-window/popover-watcher.js +3 -3
- package/lib/modules/video-window/store.js +10 -10
- package/lib/modules/waiting-room-layout/index.css +96 -96
- package/lib/modules/whiteboard/components/control-bar/index.css +52 -52
- package/lib/modules/whiteboard/components/loading/index.css +76 -76
- package/lib/modules/whiteboard/components/multi-window/index.css +63 -63
- package/lib/modules/whiteboard/components/pagination/index.css +228 -228
- package/lib/modules/whiteboard/components/progress/style.css +51 -51
- package/lib/modules/whiteboard/components/switch-theme/index.css +99 -99
- package/lib/modules/whiteboard/components/toolbar/style.css +591 -591
- package/lib/modules/whiteboard/style.css +140 -140
- package/lib/modules/widget/index.css +9 -9
- package/lib/object-manager.js +8 -8
- package/lib/plugins/module-dev-plugin.js +11 -11
- package/lib/providers/ability-provider.js +17 -17
- package/lib/providers/board-share/struct.js +6 -6
- package/lib/providers/dialog/provider.base.js +2 -2
- package/lib/providers/dialog/type.js +3 -3
- package/lib/providers/multi-display-provider.js +4 -4
- package/lib/providers/privilege-provider.js +7 -7
- package/lib/providers/screen-share/provider.base.d.ts +2 -13
- package/lib/providers/screen-share/provider.base.js +28 -35
- package/lib/providers/screen-share/provider.electron.d.ts +0 -5
- package/lib/providers/screen-share/provider.electron.js +31 -18
- package/lib/providers/screen-share/stream-state-sync.js +18 -18
- package/lib/providers/screen-share/struct.js +24 -24
- package/lib/providers/screen-share/type.d.ts +0 -16
- package/lib/providers/stt-provider/stt-provider.d.ts +3 -4
- package/lib/providers/stt-provider/stt-provider.js +145 -146
- package/lib/providers/stt-provider/type.d.ts +2 -10
- package/lib/providers/stt-provider/type.js +3 -3
- package/lib/providers/window/main-window.js +2 -2
- package/lib/providers/window/provider.js +5 -5
- package/lib/providers/window/renderer-window.js +2 -2
- package/lib/schema.js +26 -26
- package/lib/shared-data/meeting-time.js +8 -8
- package/lib/shared-data/setting.js +3 -3
- package/lib/translations/enUS.d.ts +12 -1
- package/lib/translations/enUS.js +22 -19
- package/lib/translations/zhCN.d.ts +12 -1
- package/lib/translations/zhCN.js +20 -17
- package/lib/type.js +21 -21
- package/lib/ui-scene-switch.js +2 -2
- package/lib/utilities/constant.js +6 -6
- package/lib/utilities/renderer.js +8 -8
- package/lib/utilities/shared-storage.js +2 -2
- package/lib/utilities/tools.js +14 -14
- package/package.json +78 -79
- package/public/assets/fcr_chat_reddot.svg +5 -5
- package/public/assets/fcr_grid_big.svg +3 -3
- package/public/assets/fcr_leave2.svg +58 -58
- package/public/assets/fcr_listontop_big.svg +3 -3
- package/public/assets/step-gradient.svg +10 -10
- package/public/fragment.html +10 -10
- package/public/index.html +183 -183
- package/public/meeting-manager.js +405 -405
|
@@ -1,140 +1,140 @@
|
|
|
1
|
-
@import '../../fragments/whiteboard/cursor.css';
|
|
2
|
-
|
|
3
|
-
.netless-whiteboard-wrapper {
|
|
4
|
-
height: 100%;
|
|
5
|
-
width: 100%;
|
|
6
|
-
pointer-events: none;
|
|
7
|
-
}
|
|
8
|
-
.netless-whiteboard-wrapper > * {
|
|
9
|
-
pointer-events: all;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.fcr-board-pagination {
|
|
13
|
-
position: absolute;
|
|
14
|
-
left: 10px;
|
|
15
|
-
bottom: 10px;
|
|
16
|
-
z-index: 10;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
/* fold button */
|
|
20
|
-
|
|
21
|
-
/* board window */
|
|
22
|
-
.board-widget-app .telebox-maximized .netless-app-slide-btn-sidebar,
|
|
23
|
-
.board-widget-app .telebox-maximized .netless-app-docs-viewer-btn-sidebar,
|
|
24
|
-
.board-widget-app .telebox-maximized .vjs-p .player-controller-actions {
|
|
25
|
-
position: relative;
|
|
26
|
-
left: 190px;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.netless-whiteboard-wrapper .telebox-box-main {
|
|
30
|
-
/* @apply fcr-border-1; */
|
|
31
|
-
border: 1px solid var(--fcr_ui_scene_black1);
|
|
32
|
-
}
|
|
33
|
-
.netless-whiteboard-wrapper .telebox-titlebar {
|
|
34
|
-
/* @apply fcr-bg-2 fcr-border-1; */
|
|
35
|
-
flex-direction: row-reverse;
|
|
36
|
-
border: 1px solid var(--fcr_ui_scene_black1);
|
|
37
|
-
background: var(--fcr_ui_scene_black1);
|
|
38
|
-
}
|
|
39
|
-
.netless-whiteboard-wrapper .telebox-title {
|
|
40
|
-
/* @apply fcr-text-1; */
|
|
41
|
-
color: var(--fcr_ui_scene_black1);
|
|
42
|
-
background: var(--fcr_ui_scene_black1);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.netless-whiteboard-wrapper .telebox-content-wrap {
|
|
46
|
-
/* @apply fcr-bg-7; */
|
|
47
|
-
background: var(--fcr_ui_scene_black1);
|
|
48
|
-
}
|
|
49
|
-
.netless-whiteboard-wrapper .netless-app-slide-preview,
|
|
50
|
-
.netless-whiteboard-wrapper .netless-app-docs-viewer-preview {
|
|
51
|
-
/* @apply fcr-bg-3; */
|
|
52
|
-
background: var(--fcr_ui_scene_black1);
|
|
53
|
-
}
|
|
54
|
-
.netless-whiteboard-wrapper .netless-app-slide-preview-page-name {
|
|
55
|
-
/* @apply fcr-text-1; */
|
|
56
|
-
color: var(--fcr_ui_scene_black1);
|
|
57
|
-
}
|
|
58
|
-
.netless-whiteboard-wrapper .netless-app-slide-footer,
|
|
59
|
-
.netless-whiteboard-wrapper .app-talkative-footer,
|
|
60
|
-
.netless-whiteboard-wrapper .netless-app-docs-viewer-footer {
|
|
61
|
-
/* @apply fcr-bg-2 fcr-border-1 fcr-text-1; */
|
|
62
|
-
background: var(--fcr_ui_scene_black1);
|
|
63
|
-
border: 1px solid var(--fcr_ui_scene_black1);
|
|
64
|
-
color: var(--fcr_ui_scene_black1);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.netless-whiteboard-wrapper .netless-app-slide-footer-btn:hover,
|
|
68
|
-
.netless-whiteboard-wrapper .netless-app-docs-viewer-footer-btn:hover {
|
|
69
|
-
/* @apply fcr-bg-7; */
|
|
70
|
-
background: var(--fcr_ui_scene_black1);
|
|
71
|
-
}
|
|
72
|
-
.netless-whiteboard-wrapper .netless-app-slide-footer-btn:focus,
|
|
73
|
-
.netless-whiteboard-wrapper .netless-app-docs-viewer-footer-btn:focus {
|
|
74
|
-
outline: none;
|
|
75
|
-
}
|
|
76
|
-
.netless-whiteboard-wrapper .netless-app-slide-page-number-input:hover,
|
|
77
|
-
.netless-whiteboard-wrapper .netless-app-slide-page-number-input:focus,
|
|
78
|
-
.netless-whiteboard-wrapper .netless-app-slide-page-number-input:active {
|
|
79
|
-
background: var(--fcr_ui_scene_black1);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.netless-whiteboard-wrapper .telebox-titlebar {
|
|
83
|
-
border-bottom: none;
|
|
84
|
-
}
|
|
85
|
-
.netless-whiteboard-wrapper
|
|
86
|
-
.telebox-titlebar.telebox-max-titlebar-maximized
|
|
87
|
-
.telebox-titlebar-btns {
|
|
88
|
-
margin-left: 0;
|
|
89
|
-
}
|
|
90
|
-
.netless-whiteboard-wrapper .telebox-titlebar-btn:focus,
|
|
91
|
-
.netless-whiteboard-wrapper .telebox-titles-tab:focus {
|
|
92
|
-
outline: none;
|
|
93
|
-
}
|
|
94
|
-
.netless-whiteboard-wrapper .telebox-titles-tab-focus {
|
|
95
|
-
/* @apply fcr-text-brand-6; */
|
|
96
|
-
color: var(--fcr_ui_scene_brand6);
|
|
97
|
-
background: #232529;
|
|
98
|
-
}
|
|
99
|
-
.netless-whiteboard-wrapper .telebox-titlebar.telebox-max-titlebar-maximized {
|
|
100
|
-
justify-content: flex-end;
|
|
101
|
-
}
|
|
102
|
-
.netless-whiteboard-wrapper .telebox-titles-tab,
|
|
103
|
-
.netless-whiteboard-wrapper .telebox-titles-bab.telebox-titles-tab-focus,
|
|
104
|
-
.netless-whiteboard-wrapper .netless-whiteboard-wrapper .telebox-titles-tab {
|
|
105
|
-
border-left: 1px solid #ccc;
|
|
106
|
-
border-right: 1px solid #ccc;
|
|
107
|
-
}
|
|
108
|
-
.netless-whiteboard-wrapper .telebox-titles-tab:not(:last-child) {
|
|
109
|
-
border-right: none;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.fcr-progress-saveImage {
|
|
113
|
-
/* @apply fcr-bg-block-4 !important; */
|
|
114
|
-
background: var(--fcr_ui_scene_black1);
|
|
115
|
-
|
|
116
|
-
text-align: left;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.fcr-progress-saveImage .fcr-progress {
|
|
120
|
-
background: rgba(47, 47, 47, 0.98);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.fcr-progress-saveImage .fcr-progress .fcr-progress-inner {
|
|
124
|
-
height: 100%;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.fcr-progress-saveImage .dialog-progress-tip {
|
|
128
|
-
/* @apply fcr-text-1 !important; */
|
|
129
|
-
color: var(--fcr_ui_scene_black1);
|
|
130
|
-
}
|
|
131
|
-
.fcr-progress-saveImage .dialog-progress-tip ~ div {
|
|
132
|
-
margin-top: 4px;
|
|
133
|
-
}
|
|
134
|
-
/* .fcr-widget-dialog-content {
|
|
135
|
-
display: flex;
|
|
136
|
-
align-items: center;
|
|
137
|
-
justify-content: center;
|
|
138
|
-
width: 100%;
|
|
139
|
-
height: 100%;
|
|
140
|
-
} */
|
|
1
|
+
@import '../../fragments/whiteboard/cursor.css';
|
|
2
|
+
|
|
3
|
+
.netless-whiteboard-wrapper {
|
|
4
|
+
height: 100%;
|
|
5
|
+
width: 100%;
|
|
6
|
+
pointer-events: none;
|
|
7
|
+
}
|
|
8
|
+
.netless-whiteboard-wrapper > * {
|
|
9
|
+
pointer-events: all;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.fcr-board-pagination {
|
|
13
|
+
position: absolute;
|
|
14
|
+
left: 10px;
|
|
15
|
+
bottom: 10px;
|
|
16
|
+
z-index: 10;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/* fold button */
|
|
20
|
+
|
|
21
|
+
/* board window */
|
|
22
|
+
.board-widget-app .telebox-maximized .netless-app-slide-btn-sidebar,
|
|
23
|
+
.board-widget-app .telebox-maximized .netless-app-docs-viewer-btn-sidebar,
|
|
24
|
+
.board-widget-app .telebox-maximized .vjs-p .player-controller-actions {
|
|
25
|
+
position: relative;
|
|
26
|
+
left: 190px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.netless-whiteboard-wrapper .telebox-box-main {
|
|
30
|
+
/* @apply fcr-border-1; */
|
|
31
|
+
border: 1px solid var(--fcr_ui_scene_black1);
|
|
32
|
+
}
|
|
33
|
+
.netless-whiteboard-wrapper .telebox-titlebar {
|
|
34
|
+
/* @apply fcr-bg-2 fcr-border-1; */
|
|
35
|
+
flex-direction: row-reverse;
|
|
36
|
+
border: 1px solid var(--fcr_ui_scene_black1);
|
|
37
|
+
background: var(--fcr_ui_scene_black1);
|
|
38
|
+
}
|
|
39
|
+
.netless-whiteboard-wrapper .telebox-title {
|
|
40
|
+
/* @apply fcr-text-1; */
|
|
41
|
+
color: var(--fcr_ui_scene_black1);
|
|
42
|
+
background: var(--fcr_ui_scene_black1);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.netless-whiteboard-wrapper .telebox-content-wrap {
|
|
46
|
+
/* @apply fcr-bg-7; */
|
|
47
|
+
background: var(--fcr_ui_scene_black1);
|
|
48
|
+
}
|
|
49
|
+
.netless-whiteboard-wrapper .netless-app-slide-preview,
|
|
50
|
+
.netless-whiteboard-wrapper .netless-app-docs-viewer-preview {
|
|
51
|
+
/* @apply fcr-bg-3; */
|
|
52
|
+
background: var(--fcr_ui_scene_black1);
|
|
53
|
+
}
|
|
54
|
+
.netless-whiteboard-wrapper .netless-app-slide-preview-page-name {
|
|
55
|
+
/* @apply fcr-text-1; */
|
|
56
|
+
color: var(--fcr_ui_scene_black1);
|
|
57
|
+
}
|
|
58
|
+
.netless-whiteboard-wrapper .netless-app-slide-footer,
|
|
59
|
+
.netless-whiteboard-wrapper .app-talkative-footer,
|
|
60
|
+
.netless-whiteboard-wrapper .netless-app-docs-viewer-footer {
|
|
61
|
+
/* @apply fcr-bg-2 fcr-border-1 fcr-text-1; */
|
|
62
|
+
background: var(--fcr_ui_scene_black1);
|
|
63
|
+
border: 1px solid var(--fcr_ui_scene_black1);
|
|
64
|
+
color: var(--fcr_ui_scene_black1);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.netless-whiteboard-wrapper .netless-app-slide-footer-btn:hover,
|
|
68
|
+
.netless-whiteboard-wrapper .netless-app-docs-viewer-footer-btn:hover {
|
|
69
|
+
/* @apply fcr-bg-7; */
|
|
70
|
+
background: var(--fcr_ui_scene_black1);
|
|
71
|
+
}
|
|
72
|
+
.netless-whiteboard-wrapper .netless-app-slide-footer-btn:focus,
|
|
73
|
+
.netless-whiteboard-wrapper .netless-app-docs-viewer-footer-btn:focus {
|
|
74
|
+
outline: none;
|
|
75
|
+
}
|
|
76
|
+
.netless-whiteboard-wrapper .netless-app-slide-page-number-input:hover,
|
|
77
|
+
.netless-whiteboard-wrapper .netless-app-slide-page-number-input:focus,
|
|
78
|
+
.netless-whiteboard-wrapper .netless-app-slide-page-number-input:active {
|
|
79
|
+
background: var(--fcr_ui_scene_black1);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.netless-whiteboard-wrapper .telebox-titlebar {
|
|
83
|
+
border-bottom: none;
|
|
84
|
+
}
|
|
85
|
+
.netless-whiteboard-wrapper
|
|
86
|
+
.telebox-titlebar.telebox-max-titlebar-maximized
|
|
87
|
+
.telebox-titlebar-btns {
|
|
88
|
+
margin-left: 0;
|
|
89
|
+
}
|
|
90
|
+
.netless-whiteboard-wrapper .telebox-titlebar-btn:focus,
|
|
91
|
+
.netless-whiteboard-wrapper .telebox-titles-tab:focus {
|
|
92
|
+
outline: none;
|
|
93
|
+
}
|
|
94
|
+
.netless-whiteboard-wrapper .telebox-titles-tab-focus {
|
|
95
|
+
/* @apply fcr-text-brand-6; */
|
|
96
|
+
color: var(--fcr_ui_scene_brand6);
|
|
97
|
+
background: #232529;
|
|
98
|
+
}
|
|
99
|
+
.netless-whiteboard-wrapper .telebox-titlebar.telebox-max-titlebar-maximized {
|
|
100
|
+
justify-content: flex-end;
|
|
101
|
+
}
|
|
102
|
+
.netless-whiteboard-wrapper .telebox-titles-tab,
|
|
103
|
+
.netless-whiteboard-wrapper .telebox-titles-bab.telebox-titles-tab-focus,
|
|
104
|
+
.netless-whiteboard-wrapper .netless-whiteboard-wrapper .telebox-titles-tab {
|
|
105
|
+
border-left: 1px solid #ccc;
|
|
106
|
+
border-right: 1px solid #ccc;
|
|
107
|
+
}
|
|
108
|
+
.netless-whiteboard-wrapper .telebox-titles-tab:not(:last-child) {
|
|
109
|
+
border-right: none;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.fcr-progress-saveImage {
|
|
113
|
+
/* @apply fcr-bg-block-4 !important; */
|
|
114
|
+
background: var(--fcr_ui_scene_black1);
|
|
115
|
+
|
|
116
|
+
text-align: left;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.fcr-progress-saveImage .fcr-progress {
|
|
120
|
+
background: rgba(47, 47, 47, 0.98);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.fcr-progress-saveImage .fcr-progress .fcr-progress-inner {
|
|
124
|
+
height: 100%;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.fcr-progress-saveImage .dialog-progress-tip {
|
|
128
|
+
/* @apply fcr-text-1 !important; */
|
|
129
|
+
color: var(--fcr_ui_scene_black1);
|
|
130
|
+
}
|
|
131
|
+
.fcr-progress-saveImage .dialog-progress-tip ~ div {
|
|
132
|
+
margin-top: 4px;
|
|
133
|
+
}
|
|
134
|
+
/* .fcr-widget-dialog-content {
|
|
135
|
+
display: flex;
|
|
136
|
+
align-items: center;
|
|
137
|
+
justify-content: center;
|
|
138
|
+
width: 100%;
|
|
139
|
+
height: 100%;
|
|
140
|
+
} */
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
.fcr-widget-iframe {
|
|
2
|
-
border: none;
|
|
3
|
-
margin: 0;
|
|
4
|
-
padding: 0;
|
|
5
|
-
width: 100%;
|
|
6
|
-
height: 100%;
|
|
7
|
-
max-width: 100%;
|
|
8
|
-
max-height: 100%;
|
|
9
|
-
}
|
|
1
|
+
.fcr-widget-iframe {
|
|
2
|
+
border: none;
|
|
3
|
+
margin: 0;
|
|
4
|
+
padding: 0;
|
|
5
|
+
width: 100%;
|
|
6
|
+
height: 100%;
|
|
7
|
+
max-width: 100%;
|
|
8
|
+
max-height: 100%;
|
|
9
|
+
}
|
package/lib/object-manager.js
CHANGED
|
@@ -129,16 +129,16 @@ _FcrUIObjectManager = FcrUIObjectManager;
|
|
|
129
129
|
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_FcrUIObjectManager, [[_decorator.trace, 2, "setObject"], [_decorator.trace, 2, "deleteObject"], [_decorator.trace, 2, "clear"], [_decorator.trace, 2, "keys"], [_decorator.trace, 2, "size"]], []).e, 1);
|
|
130
130
|
_initProto = _applyDecs$e[0];
|
|
131
131
|
var FcrUIObjectKeys = exports.FcrUIObjectKeys = /*#__PURE__*/function (FcrUIObjectKeys) {
|
|
132
|
-
/**
|
|
133
|
-
* Core Engine
|
|
132
|
+
/**
|
|
133
|
+
* Core Engine
|
|
134
134
|
*/
|
|
135
135
|
FcrUIObjectKeys["CORE_ENGINE"] = "coreEngine";
|
|
136
|
-
/**
|
|
137
|
-
* Renderer Wrapper
|
|
136
|
+
/**
|
|
137
|
+
* Renderer Wrapper
|
|
138
138
|
*/
|
|
139
139
|
FcrUIObjectKeys["RENDERER_WRAPPER"] = "rendererWrapper";
|
|
140
|
-
/**
|
|
141
|
-
* Providers
|
|
140
|
+
/**
|
|
141
|
+
* Providers
|
|
142
142
|
*/
|
|
143
143
|
FcrUIObjectKeys["P_MESSAGE_PROVIDER"] = "messageProvider";
|
|
144
144
|
FcrUIObjectKeys["P_DIALOG_PROVIDER"] = "dialogProvider";
|
|
@@ -173,8 +173,8 @@ var FcrUIObjectKeys = exports.FcrUIObjectKeys = /*#__PURE__*/function (FcrUIObje
|
|
|
173
173
|
FcrUIObjectKeys["P_BOARD_SHARE_PROVIDER"] = "boardShareProvider";
|
|
174
174
|
FcrUIObjectKeys["P_WHITEBOARD_CONTROL_PROVIDER"] = "whiteboardControlProvider";
|
|
175
175
|
FcrUIObjectKeys["P_MOUSE_DETECT_PROVIDER"] = "mouseDetectProvider";
|
|
176
|
-
/**
|
|
177
|
-
* shared data sources
|
|
176
|
+
/**
|
|
177
|
+
* shared data sources
|
|
178
178
|
*/
|
|
179
179
|
FcrUIObjectKeys["S_SHARED_MAIN_ROOM_DATA_SOURCE"] = "sharedMainRoomDataSource";
|
|
180
180
|
FcrUIObjectKeys["S_SHARED_CONFIG_DATA_SOURCE"] = "sharedConfigDataSource";
|
|
@@ -12,10 +12,10 @@ require("core-js/modules/es.json.stringify.js");
|
|
|
12
12
|
require("core-js/modules/es.object.to-string.js");
|
|
13
13
|
require("core-js/modules/es.promise.js");
|
|
14
14
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
15
|
-
/**
|
|
16
|
-
* 创建房间
|
|
17
|
-
* @param roomName
|
|
18
|
-
* @returns 房间ID
|
|
15
|
+
/**
|
|
16
|
+
* 创建房间
|
|
17
|
+
* @param roomName
|
|
18
|
+
* @returns 房间ID
|
|
19
19
|
*/
|
|
20
20
|
var createRoom = /*#__PURE__*/function () {
|
|
21
21
|
var _ref = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee(roomName) {
|
|
@@ -57,13 +57,13 @@ var createRoom = /*#__PURE__*/function () {
|
|
|
57
57
|
};
|
|
58
58
|
}();
|
|
59
59
|
|
|
60
|
-
/**
|
|
61
|
-
* 生成用户Token
|
|
62
|
-
* @param roomId
|
|
63
|
-
* @param userId
|
|
64
|
-
* @param userName
|
|
65
|
-
* @param role
|
|
66
|
-
* @returns
|
|
60
|
+
/**
|
|
61
|
+
* 生成用户Token
|
|
62
|
+
* @param roomId
|
|
63
|
+
* @param userId
|
|
64
|
+
* @param userName
|
|
65
|
+
* @param role
|
|
66
|
+
* @returns
|
|
67
67
|
*/
|
|
68
68
|
var getUserToken = /*#__PURE__*/function () {
|
|
69
69
|
var _ref2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee2(roomId, userId, userName, role) {
|
|
@@ -18,58 +18,58 @@ var FcrUIAbilityProviderImpl = exports.FcrUIAbilityProviderImpl = /*#__PURE__*/f
|
|
|
18
18
|
(0, _defineProperty2["default"])(this, "logger", (0, _logger.createLogger)({
|
|
19
19
|
prefix: 'FcrUIAbilityProviderImpl'
|
|
20
20
|
}));
|
|
21
|
-
/**
|
|
22
|
-
* 检查当前平台是否支持获取房间详情
|
|
21
|
+
/**
|
|
22
|
+
* 检查当前平台是否支持获取房间详情
|
|
23
23
|
*/
|
|
24
24
|
(0, _defineProperty2["default"])(this, "isRoomDetailSupported", function () {
|
|
25
25
|
var result = _this._abilityControl.isAbilitySupported(_type.FcrAbility.RoomDetail);
|
|
26
26
|
return result;
|
|
27
27
|
});
|
|
28
|
-
/**
|
|
29
|
-
* 检查指定平台是否支持特定能力
|
|
30
|
-
* @param platform 目标平台
|
|
28
|
+
/**
|
|
29
|
+
* 检查指定平台是否支持特定能力
|
|
30
|
+
* @param platform 目标平台
|
|
31
31
|
*/
|
|
32
32
|
(0, _defineProperty2["default"])(this, "isHostSupportedByPlatform", function (platform) {
|
|
33
33
|
var result = _this._abilityControl.isPlatformAbilitySupported(platform, _type.FcrAbility.RoleHost);
|
|
34
34
|
return result;
|
|
35
35
|
});
|
|
36
|
-
/**
|
|
37
|
-
* 检查当前平台是否支持指定能力
|
|
36
|
+
/**
|
|
37
|
+
* 检查当前平台是否支持指定能力
|
|
38
38
|
*/
|
|
39
39
|
(0, _defineProperty2["default"])(this, "isLiveSupported", function () {
|
|
40
40
|
var result = _this._abilityControl.isAbilitySupported(_type.FcrAbility.Live);
|
|
41
41
|
return result;
|
|
42
42
|
});
|
|
43
|
-
/**
|
|
44
|
-
* 检查当前平台是否支持指定能力
|
|
43
|
+
/**
|
|
44
|
+
* 检查当前平台是否支持指定能力
|
|
45
45
|
*/
|
|
46
46
|
(0, _defineProperty2["default"])(this, "isInterpreterSupported", function () {
|
|
47
47
|
var result = _this._abilityControl.isAbilitySupported(_type.FcrAbility.Interpreter);
|
|
48
48
|
return result;
|
|
49
49
|
});
|
|
50
|
-
/**
|
|
51
|
-
* 检查当前平台是否支持批注
|
|
50
|
+
/**
|
|
51
|
+
* 检查当前平台是否支持批注
|
|
52
52
|
*/
|
|
53
53
|
(0, _defineProperty2["default"])(this, "isAnnotationSupported", function () {
|
|
54
54
|
var result = _this._abilityControl.isAbilitySupported(_type.FcrAbility.Annotation);
|
|
55
55
|
return result;
|
|
56
56
|
});
|
|
57
|
-
/**
|
|
58
|
-
* 检查当前平台是否支持字幕能力
|
|
57
|
+
/**
|
|
58
|
+
* 检查当前平台是否支持字幕能力
|
|
59
59
|
*/
|
|
60
60
|
(0, _defineProperty2["default"])(this, "isCaptionSupported", function () {
|
|
61
61
|
var result = _this._abilityControl.isAbilitySupported(_type.FcrAbility.Caption);
|
|
62
62
|
return result;
|
|
63
63
|
});
|
|
64
|
-
/**
|
|
65
|
-
* 检查当前平台是否支持转写能力
|
|
64
|
+
/**
|
|
65
|
+
* 检查当前平台是否支持转写能力
|
|
66
66
|
*/
|
|
67
67
|
(0, _defineProperty2["default"])(this, "isTranscribeSupported", function () {
|
|
68
68
|
var result = _this._abilityControl.isAbilitySupported(_type.FcrAbility.Transcribe);
|
|
69
69
|
return result;
|
|
70
70
|
});
|
|
71
|
-
/**
|
|
72
|
-
* 检查当前平台是否支持云录制
|
|
71
|
+
/**
|
|
72
|
+
* 检查当前平台是否支持云录制
|
|
73
73
|
*/
|
|
74
74
|
(0, _defineProperty2["default"])(this, "isRecordingSupported", function () {
|
|
75
75
|
var result = _this._abilityControl.isAbilitySupported(_type.FcrAbility.Recording);
|
|
@@ -7,16 +7,16 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.FcrUIBoardShareStopReason = void 0;
|
|
8
8
|
// enum, class
|
|
9
9
|
var FcrUIBoardShareStopReason = exports.FcrUIBoardShareStopReason = /*#__PURE__*/function (FcrUIBoardShareStopReason) {
|
|
10
|
-
/**
|
|
11
|
-
* 正常停止
|
|
10
|
+
/**
|
|
11
|
+
* 正常停止
|
|
12
12
|
*/
|
|
13
13
|
FcrUIBoardShareStopReason[FcrUIBoardShareStopReason["NORMAL_STOP"] = 1] = "NORMAL_STOP";
|
|
14
|
-
/**
|
|
15
|
-
* 被其他用户停止
|
|
14
|
+
/**
|
|
15
|
+
* 被其他用户停止
|
|
16
16
|
*/
|
|
17
17
|
FcrUIBoardShareStopReason[FcrUIBoardShareStopReason["STOPPED_BY_OTHER"] = 2] = "STOPPED_BY_OTHER";
|
|
18
|
-
/**
|
|
19
|
-
* 白板错误
|
|
18
|
+
/**
|
|
19
|
+
* 白板错误
|
|
20
20
|
*/
|
|
21
21
|
FcrUIBoardShareStopReason[FcrUIBoardShareStopReason["ABORTED"] = 3] = "ABORTED";
|
|
22
22
|
return FcrUIBoardShareStopReason;
|
|
@@ -83,8 +83,8 @@ var FcrUIDialogProviderBase = exports.FcrUIDialogProviderBase = /*#__PURE__*/fun
|
|
|
83
83
|
prefix: 'FcrUIDialogProviderImpl'
|
|
84
84
|
})));
|
|
85
85
|
(0, _defineProperty2["default"])(this, "observable", new _observable.AgoraObservable());
|
|
86
|
-
/**
|
|
87
|
-
* map dialogKey to dialog info
|
|
86
|
+
/**
|
|
87
|
+
* map dialogKey to dialog info
|
|
88
88
|
*/
|
|
89
89
|
(0, _defineProperty2["default"])(this, "dialogInfoKeyMap", new Map());
|
|
90
90
|
// map dialogKey to dialogId
|
|
@@ -9,7 +9,7 @@ var FcrDialogInterceptorEventName = exports.FcrDialogInterceptorEventName = /*#_
|
|
|
9
9
|
FcrDialogInterceptorEventName["ON_CLOSE"] = "onClose";
|
|
10
10
|
return FcrDialogInterceptorEventName;
|
|
11
11
|
}({});
|
|
12
|
-
/**
|
|
13
|
-
* FcrUIDialogProvider 接口定义了一系列用于管理和操作对话框的方法。
|
|
14
|
-
* 这些方法涵盖了打开、关闭各种类型对话框的功能,以及对对话框事件观察者的管理。
|
|
12
|
+
/**
|
|
13
|
+
* FcrUIDialogProvider 接口定义了一系列用于管理和操作对话框的方法。
|
|
14
|
+
* 这些方法涵盖了打开、关闭各种类型对话框的功能,以及对对话框事件观察者的管理。
|
|
15
15
|
*/
|
|
@@ -358,8 +358,8 @@ var FcrUIMultiDisplayProviderImpl = exports.FcrUIMultiDisplayProviderImpl = /*#_
|
|
|
358
358
|
};
|
|
359
359
|
}
|
|
360
360
|
|
|
361
|
-
/**
|
|
362
|
-
* 正在共享屏幕
|
|
361
|
+
/**
|
|
362
|
+
* 正在共享屏幕
|
|
363
363
|
*/
|
|
364
364
|
if (state.isSharing) {
|
|
365
365
|
var mainWindow = {
|
|
@@ -386,8 +386,8 @@ var FcrUIMultiDisplayProviderImpl = exports.FcrUIMultiDisplayProviderImpl = /*#_
|
|
|
386
386
|
};
|
|
387
387
|
}
|
|
388
388
|
|
|
389
|
-
/**
|
|
390
|
-
* 没有屏幕共享时
|
|
389
|
+
/**
|
|
390
|
+
* 没有屏幕共享时
|
|
391
391
|
*/
|
|
392
392
|
// 参会人数少于2人时,主副屏都显示自己
|
|
393
393
|
if (state.participantCount < 2) {
|
|
@@ -179,8 +179,8 @@ var FcrUIPrivilegeProviderImpl = exports.FcrUIPrivilegeProviderImpl = /*#__PURE_
|
|
|
179
179
|
}
|
|
180
180
|
return operations;
|
|
181
181
|
});
|
|
182
|
-
/**
|
|
183
|
-
* 互译安全开关
|
|
182
|
+
/**
|
|
183
|
+
* 互译安全开关
|
|
184
184
|
*/
|
|
185
185
|
(0, _defineProperty2["default"])(this, "isChangeSelfNameAllowed", (0, _mobxUtils.computedFn)(function () {
|
|
186
186
|
var info = _this.securityInfos.find(function (_ref2) {
|
|
@@ -365,8 +365,8 @@ var FcrUIPrivilegeProviderImpl = exports.FcrUIPrivilegeProviderImpl = /*#__PURE_
|
|
|
365
365
|
});
|
|
366
366
|
return (info === null || info === void 0 || (_info$info4 = info.info) === null || _info$info4 === void 0 ? void 0 : _info$info4.payload.lineType) === _type.FcrLineType.MULTI_ROW;
|
|
367
367
|
}));
|
|
368
|
-
/**
|
|
369
|
-
* 权限判断,例:某角色有 XX 权限
|
|
368
|
+
/**
|
|
369
|
+
* 权限判断,例:某角色有 XX 权限
|
|
370
370
|
*/
|
|
371
371
|
(0, _defineProperty2["default"])(this, "hasChangeNamePermission", function (targetRole) {
|
|
372
372
|
return _this._hasPermission(_type2.FcrPermissionAction.UserChangeName, targetRole);
|
|
@@ -585,9 +585,9 @@ var FcrUIPrivilegeProviderImpl = exports.FcrUIPrivilegeProviderImpl = /*#__PURE_
|
|
|
585
585
|
(0, _defineProperty2["default"])(this, "hasDisallowChangeNamePermission", function () {
|
|
586
586
|
return _this._hasPermission(_type2.FcrPermissionAction.UserDisallowChangeName, _type2.FcrPrivilegeUserRole.PARTICIPANT);
|
|
587
587
|
});
|
|
588
|
-
/**
|
|
589
|
-
* 权限操作
|
|
590
|
-
* @param enable
|
|
588
|
+
/**
|
|
589
|
+
* 权限操作
|
|
590
|
+
* @param enable
|
|
591
591
|
*/
|
|
592
592
|
(0, _defineProperty2["default"])(this, "allowStartTranscribe", /*#__PURE__*/function () {
|
|
593
593
|
var _ref23 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee(enable) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AgoraObservable } from 'agora-foundation/lib/utilities/observable';
|
|
2
2
|
import { FcrDesktopMediaControl, FcrStreamControl, FcrStreamObserver } from 'fcr-core';
|
|
3
|
-
import {
|
|
3
|
+
import { FcrSharingControl, FcrUserInfo } from 'fcr-core/lib/type';
|
|
4
4
|
import { FcrUIManagedObject, FcrUIObjectManager } from '../../object-manager';
|
|
5
5
|
import { FcrUISharedScreenShareDataSource } from '../../shared-data/screen-share/type';
|
|
6
6
|
import { FcrUIFacilityProvider } from '../facility/type';
|
|
@@ -48,15 +48,12 @@ export declare abstract class FcrUIScreenShareProviderBase implements FcrUIManag
|
|
|
48
48
|
protected _windowList: FcrUIScreenShareWindowInfo[];
|
|
49
49
|
protected _displayList: FcrUIScreenShareDisplayInfo[];
|
|
50
50
|
protected _localUserId: string;
|
|
51
|
-
protected _selectionIdAndType: {
|
|
52
|
-
id: string;
|
|
53
|
-
type: FcrScreenCaptureType;
|
|
54
|
-
} | null;
|
|
55
51
|
protected _selectionBounds: FcrUI.FcrUIRectangle | null;
|
|
56
52
|
protected _sharingDisplayBounds: FcrUI.FcrUIRectangle | null;
|
|
57
53
|
protected _closeByOther: boolean;
|
|
58
54
|
protected _closeOperator: FcrUserInfo | null;
|
|
59
55
|
protected _localUser: FcrUserInfo;
|
|
56
|
+
protected _abortController: AbortController | null;
|
|
60
57
|
protected accessor _isLocalUserScreenSharing: boolean;
|
|
61
58
|
protected accessor _isRemoteUserScreenSharing: boolean;
|
|
62
59
|
protected accessor _isSharingWithAudio: boolean;
|
|
@@ -65,10 +62,6 @@ export declare abstract class FcrUIScreenShareProviderBase implements FcrUIManag
|
|
|
65
62
|
protected accessor _shareStreamId: string | null;
|
|
66
63
|
protected accessor _sharingUser: FcrUserInfo | null;
|
|
67
64
|
get selectionBounds(): FcrUI.FcrUIRectangle;
|
|
68
|
-
get selectionIdAndType(): {
|
|
69
|
-
id: string;
|
|
70
|
-
type: FcrScreenCaptureType;
|
|
71
|
-
};
|
|
72
65
|
get sharingDisplayBounds(): FcrUI.FcrUIRectangle;
|
|
73
66
|
get isSharingWithAudio(): boolean;
|
|
74
67
|
get isSharingInSmoothMode(): boolean;
|
|
@@ -83,10 +76,6 @@ export declare abstract class FcrUIScreenShareProviderBase implements FcrUIManag
|
|
|
83
76
|
abstract replaceShare(params: FcrUIScreenShareReplaceParams): Promise<void>;
|
|
84
77
|
addObserver(observer: FcrUIScreenShareObserver): void;
|
|
85
78
|
removeObserver(observer: FcrUIScreenShareObserver): void;
|
|
86
|
-
setSelectionIdAndType(idAndType: {
|
|
87
|
-
id: string;
|
|
88
|
-
type: FcrScreenCaptureType;
|
|
89
|
-
} | null): void;
|
|
90
79
|
setSelectionBounds(bounds: FcrUI.FcrUIRectangle | null): void;
|
|
91
80
|
changeSelectionBounds(bounds: FcrUI.FcrUIRectangle, reason: FcrUISelectionBoundsChangeReason): void;
|
|
92
81
|
enableScreenShareAudio(): Promise<void>;
|