fcr-ui-scene-mobile 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/assets/ground_glass_bg.png +0 -0
- package/lib/base.d.ts +11 -0
- package/lib/base.js +39 -0
- package/lib/common/device-store.d.ts +86 -0
- package/lib/common/device-store.js +642 -0
- package/lib/common/device-stream-store.d.ts +26 -0
- package/lib/common/device-stream-store.js +298 -0
- package/lib/common/event-store.d.ts +124 -0
- package/lib/common/event-store.js +249 -0
- package/lib/common/global-context.d.ts +11 -0
- package/lib/common/global-context.js +9 -0
- package/lib/common/member-list-data-source.d.ts +28 -0
- package/lib/common/member-list-data-source.js +305 -0
- package/lib/common/participant-store.d.ts +195 -0
- package/lib/common/participant-store.js +1577 -0
- package/lib/common/security-store.d.ts +119 -0
- package/lib/common/security-store.js +948 -0
- package/lib/common/setting-store.d.ts +181 -0
- package/lib/common/setting-store.js +797 -0
- package/lib/common/type.d.ts +73 -0
- package/lib/common/type.js +22 -0
- package/lib/config/default-config.d.ts +32 -0
- package/lib/config/default-config.js +39 -0
- package/lib/config/setting-config.d.ts +16 -0
- package/lib/config/setting-config.js +17 -0
- package/lib/creator.d.ts +10 -0
- package/lib/creator.js +49 -0
- package/lib/global.d.ts +8 -0
- package/lib/hooks/meeting-time.d.ts +15 -0
- package/lib/hooks/meeting-time.js +92 -0
- package/lib/hooks/useIsNodePresent.d.ts +4 -0
- package/lib/hooks/useIsNodePresent.js +53 -0
- package/lib/hooks/useOnRefMount.d.ts +2 -0
- package/lib/hooks/useOnRefMount.js +27 -0
- package/lib/index.d.ts +6 -0
- package/lib/index.js +50 -0
- package/lib/mobile-global.css +28 -0
- package/lib/modules/action-bar/bottom-icons.d.ts +17 -0
- package/lib/modules/action-bar/bottom-icons.js +160 -0
- package/lib/modules/action-bar/context.d.ts +2 -0
- package/lib/modules/action-bar/context.js +9 -0
- package/lib/modules/action-bar/index.css +33 -0
- package/lib/modules/action-bar/index.d.ts +27 -0
- package/lib/modules/action-bar/index.js +46 -0
- package/lib/modules/action-bar/member-list-popup/attendee/index.css +130 -0
- package/lib/modules/action-bar/member-list-popup/attendee/index.d.ts +19 -0
- package/lib/modules/action-bar/member-list-popup/attendee/index.js +252 -0
- package/lib/modules/action-bar/member-list-popup/attendee/list.d.ts +1 -0
- package/lib/modules/action-bar/member-list-popup/attendee/list.js +82 -0
- package/lib/modules/action-bar/member-list-popup/index.css +35 -0
- package/lib/modules/action-bar/member-list-popup/index.d.ts +7 -0
- package/lib/modules/action-bar/member-list-popup/index.js +40 -0
- package/lib/modules/action-bar/member-list-popup/participant-more-actions/index.css +0 -0
- package/lib/modules/action-bar/member-list-popup/participant-more-actions/index.d.ts +12 -0
- package/lib/modules/action-bar/member-list-popup/participant-more-actions/index.js +58 -0
- package/lib/modules/action-bar/more-popup/index.css +71 -0
- package/lib/modules/action-bar/more-popup/index.d.ts +2 -0
- package/lib/modules/action-bar/more-popup/index.js +126 -0
- package/lib/modules/action-bar/store.d.ts +196 -0
- package/lib/modules/action-bar/store.js +1425 -0
- package/lib/modules/action-bar/type.d.ts +6 -0
- package/lib/modules/action-bar/type.js +13 -0
- package/lib/modules/action-bar/view.d.ts +2 -0
- package/lib/modules/action-bar/view.js +75 -0
- package/lib/modules/audio-stream/ index.d.ts +19 -0
- package/lib/modules/audio-stream/ index.js +109 -0
- package/lib/modules/audio-stream/index.d.ts +25 -0
- package/lib/modules/audio-stream/index.js +135 -0
- package/lib/modules/chat/chat-bar/index.css +97 -0
- package/lib/modules/chat/chat-bar/index.d.ts +12 -0
- package/lib/modules/chat/chat-bar/index.js +129 -0
- package/lib/modules/chat/chat-notification/index.css +71 -0
- package/lib/modules/chat/chat-notification/index.d.ts +3 -0
- package/lib/modules/chat/chat-notification/index.js +75 -0
- package/lib/modules/chat/chat-select/index.css +183 -0
- package/lib/modules/chat/chat-select/index.d.ts +12 -0
- package/lib/modules/chat/chat-select/index.js +223 -0
- package/lib/modules/chat/contex.d.ts +2 -0
- package/lib/modules/chat/contex.js +9 -0
- package/lib/modules/chat/demo-wrapper.d.ts +1 -0
- package/lib/modules/chat/demo-wrapper.js +42 -0
- package/lib/modules/chat/index.css +108 -0
- package/lib/modules/chat/index.d.ts +28 -0
- package/lib/modules/chat/index.dev.d.ts +1 -0
- package/lib/modules/chat/index.dev.js +58 -0
- package/lib/modules/chat/index.js +208 -0
- package/lib/modules/chat/message-list.d.ts +22 -0
- package/lib/modules/chat/message-list.js +617 -0
- package/lib/modules/chat/mock.d.ts +2 -0
- package/lib/modules/chat/mock.js +283 -0
- package/lib/modules/chat/store.d.ts +183 -0
- package/lib/modules/chat/store.js +1101 -0
- package/lib/modules/chat/util.d.ts +6 -0
- package/lib/modules/chat/util.js +69 -0
- package/lib/modules/chat/view.d.ts +11 -0
- package/lib/modules/chat/view.js +414 -0
- package/lib/modules/layout/bottom-drawer/index.css +34 -0
- package/lib/modules/layout/bottom-drawer/index.d.ts +3 -0
- package/lib/modules/layout/bottom-drawer/index.js +129 -0
- package/lib/modules/layout/components/Layout.d.ts +1 -0
- package/lib/modules/layout/components/Layout.js +98 -0
- package/lib/modules/layout/components/equip-request-popup/index.css +30 -0
- package/lib/modules/layout/components/equip-request-popup/index.d.ts +3 -0
- package/lib/modules/layout/components/equip-request-popup/index.js +78 -0
- package/lib/modules/layout/components/index.css +78 -0
- package/lib/modules/layout/components/index.d.ts +2 -0
- package/lib/modules/layout/components/index.js +25 -0
- package/lib/modules/layout/context.d.ts +2 -0
- package/lib/modules/layout/context.js +9 -0
- package/lib/modules/layout/drawer-header/index.css +27 -0
- package/lib/modules/layout/drawer-header/index.d.ts +10 -0
- package/lib/modules/layout/drawer-header/index.js +54 -0
- package/lib/modules/layout/index.css +22 -0
- package/lib/modules/layout/index.d.ts +8 -0
- package/lib/modules/layout/index.js +47 -0
- package/lib/modules/layout/store.d.ts +59 -0
- package/lib/modules/layout/store.js +379 -0
- package/lib/modules/layout/type.d.ts +65 -0
- package/lib/modules/layout/type.js +52 -0
- package/lib/modules/layout/view.d.ts +2 -0
- package/lib/modules/layout/view.js +10 -0
- package/lib/modules/member-layout/context.d.ts +2 -0
- package/lib/modules/member-layout/context.js +9 -0
- package/lib/modules/member-layout/data.d.ts +2 -0
- package/lib/modules/member-layout/data.js +304 -0
- package/lib/modules/member-layout/grid/index.css +98 -0
- package/lib/modules/member-layout/grid/index.d.ts +21 -0
- package/lib/modules/member-layout/grid/index.js +316 -0
- package/lib/modules/member-layout/index.css +88 -0
- package/lib/modules/member-layout/index.d.ts +8 -0
- package/lib/modules/member-layout/index.js +45 -0
- package/lib/modules/member-layout/share-toast/index.css +30 -0
- package/lib/modules/member-layout/share-toast/index.d.ts +5 -0
- package/lib/modules/member-layout/share-toast/index.js +43 -0
- package/lib/modules/member-layout/speaker/index.css +30 -0
- package/lib/modules/member-layout/speaker/index.d.ts +9 -0
- package/lib/modules/member-layout/speaker/index.js +28 -0
- package/lib/modules/member-layout/store.d.ts +70 -0
- package/lib/modules/member-layout/store.js +479 -0
- package/lib/modules/member-layout/user/index.css +121 -0
- package/lib/modules/member-layout/user/index.d.ts +34 -0
- package/lib/modules/member-layout/user/index.js +355 -0
- package/lib/modules/member-layout/user/types.d.ts +16 -0
- package/lib/modules/member-layout/user/types.js +6 -0
- package/lib/modules/member-layout/view.d.ts +2 -0
- package/lib/modules/member-layout/view.js +225 -0
- package/lib/modules/state-bar/context.d.ts +2 -0
- package/lib/modules/state-bar/context.js +9 -0
- package/lib/modules/state-bar/index.css +79 -0
- package/lib/modules/state-bar/index.d.ts +17 -0
- package/lib/modules/state-bar/index.js +55 -0
- package/lib/modules/state-bar/leaving-room/index.css +14 -0
- package/lib/modules/state-bar/leaving-room/index.d.ts +7 -0
- package/lib/modules/state-bar/leaving-room/index.js +38 -0
- package/lib/modules/state-bar/meeting-detail/index.css +72 -0
- package/lib/modules/state-bar/meeting-detail/index.d.ts +2 -0
- package/lib/modules/state-bar/meeting-detail/index.js +59 -0
- package/lib/modules/state-bar/meeting-detail/meeting-info/copy.d.ts +4 -0
- package/lib/modules/state-bar/meeting-detail/meeting-info/copy.js +81 -0
- package/lib/modules/state-bar/meeting-detail/meeting-info/index.css +92 -0
- package/lib/modules/state-bar/meeting-detail/meeting-info/index.d.ts +2 -0
- package/lib/modules/state-bar/meeting-detail/meeting-info/index.js +188 -0
- package/lib/modules/state-bar/meeting-detail/net-quality/index.css +27 -0
- package/lib/modules/state-bar/meeting-detail/net-quality/index.d.ts +2 -0
- package/lib/modules/state-bar/meeting-detail/net-quality/index.js +87 -0
- package/lib/modules/state-bar/store.d.ts +76 -0
- package/lib/modules/state-bar/store.js +561 -0
- package/lib/modules/state-bar/view.d.ts +7 -0
- package/lib/modules/state-bar/view.js +215 -0
- package/lib/modules/whiteboard/app.d.ts +2 -0
- package/lib/modules/whiteboard/app.js +41 -0
- package/lib/modules/whiteboard/components/control-bar/index.css +53 -0
- package/lib/modules/whiteboard/components/control-bar/index.d.ts +2 -0
- package/lib/modules/whiteboard/components/control-bar/index.js +156 -0
- package/lib/modules/whiteboard/components/control-bar/store.d.ts +35 -0
- package/lib/modules/whiteboard/components/control-bar/store.js +288 -0
- package/lib/modules/whiteboard/components/loading/index.css +76 -0
- package/lib/modules/whiteboard/components/loading/index.d.ts +2 -0
- package/lib/modules/whiteboard/components/loading/index.js +68 -0
- package/lib/modules/whiteboard/components/loading/loading.png +0 -0
- package/lib/modules/whiteboard/components/multi-window/index.css +65 -0
- package/lib/modules/whiteboard/components/multi-window/index.d.ts +5 -0
- package/lib/modules/whiteboard/components/multi-window/index.js +39 -0
- package/lib/modules/whiteboard/components/pagination/index.css +228 -0
- package/lib/modules/whiteboard/components/pagination/index.d.ts +15 -0
- package/lib/modules/whiteboard/components/pagination/index.js +163 -0
- package/lib/modules/whiteboard/components/pagination/store.d.ts +18 -0
- package/lib/modules/whiteboard/components/pagination/store.js +17 -0
- package/lib/modules/whiteboard/components/progress/index.d.ts +5 -0
- package/lib/modules/whiteboard/components/progress/index.js +43 -0
- package/lib/modules/whiteboard/components/progress/style.css +52 -0
- package/lib/modules/whiteboard/components/scene-pagination.d.ts +1 -0
- package/lib/modules/whiteboard/components/scene-pagination.js +30 -0
- package/lib/modules/whiteboard/components/switch-theme/index.css +98 -0
- package/lib/modules/whiteboard/components/switch-theme/index.d.ts +3 -0
- package/lib/modules/whiteboard/components/switch-theme/index.js +89 -0
- package/lib/modules/whiteboard/components/switch-theme/item.d.ts +9 -0
- package/lib/modules/whiteboard/components/switch-theme/item.js +53 -0
- package/lib/modules/whiteboard/components/switch-theme/libs.d.ts +4 -0
- package/lib/modules/whiteboard/components/switch-theme/libs.js +29 -0
- package/lib/modules/whiteboard/components/toolbar/ style.css +588 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/color.d.ts +5 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/color.js +38 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/panel.d.ts +1 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/panel.js +107 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/picker.d.ts +1 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/picker.js +59 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/index.d.ts +2 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/index.js +44 -0
- package/lib/modules/whiteboard/components/toolbar/components/eraser-picker.d.ts +4 -0
- package/lib/modules/whiteboard/components/toolbar/components/eraser-picker.js +89 -0
- package/lib/modules/whiteboard/components/toolbar/components/extra-tool-picker.d.ts +1 -0
- package/lib/modules/whiteboard/components/toolbar/components/extra-tool-picker.js +63 -0
- package/lib/modules/whiteboard/components/toolbar/components/history.d.ts +2 -0
- package/lib/modules/whiteboard/components/toolbar/components/history.js +46 -0
- package/lib/modules/whiteboard/components/toolbar/components/icons/fold-icon.d.ts +2 -0
- package/lib/modules/whiteboard/components/toolbar/components/icons/fold-icon.js +39 -0
- package/lib/modules/whiteboard/components/toolbar/components/icons/move-icon.d.ts +1 -0
- package/lib/modules/whiteboard/components/toolbar/components/icons/move-icon.js +66 -0
- package/lib/modules/whiteboard/components/toolbar/components/move-handle.d.ts +5 -0
- package/lib/modules/whiteboard/components/toolbar/components/move-handle.js +134 -0
- package/lib/modules/whiteboard/components/toolbar/components/pen-picker.d.ts +4 -0
- package/lib/modules/whiteboard/components/toolbar/components/pen-picker.js +106 -0
- package/lib/modules/whiteboard/components/toolbar/components/shape-picker.d.ts +4 -0
- package/lib/modules/whiteboard/components/toolbar/components/shape-picker.js +168 -0
- package/lib/modules/whiteboard/components/toolbar/hooks/index.d.ts +14 -0
- package/lib/modules/whiteboard/components/toolbar/hooks/index.js +211 -0
- package/lib/modules/whiteboard/components/toolbar/index.d.ts +2 -0
- package/lib/modules/whiteboard/components/toolbar/index.js +183 -0
- package/lib/modules/whiteboard/components/toolbar/store.d.ts +51 -0
- package/lib/modules/whiteboard/components/toolbar/store.js +248 -0
- package/lib/modules/whiteboard/context.d.ts +69 -0
- package/lib/modules/whiteboard/context.js +36 -0
- package/lib/modules/whiteboard/index.d.ts +119 -0
- package/lib/modules/whiteboard/index.js +1134 -0
- package/lib/modules/whiteboard/style.css +143 -0
- package/lib/modules/whiteboard/type.d.ts +94 -0
- package/lib/modules/whiteboard/type.js +89 -0
- package/lib/modules/whiteboard/utils.d.ts +12 -0
- package/lib/modules/whiteboard/utils.js +36 -0
- package/lib/plugins/css-preset-plugin.d.ts +1 -0
- package/lib/plugins/css-preset-plugin.js +29 -0
- package/lib/plugins/module-dev-plugin.d.ts +12 -0
- package/lib/plugins/module-dev-plugin.js +183 -0
- package/lib/plugins/multi-lang-plugin.d.ts +1 -0
- package/lib/plugins/multi-lang-plugin.js +19 -0
- package/lib/plugins/rtm-plugin.d.ts +1 -0
- package/lib/plugins/rtm-plugin.js +5 -0
- package/lib/plugins/web-rtc-plugin.d.ts +1 -0
- package/lib/plugins/web-rtc-plugin.js +5 -0
- package/lib/translations/enUS.d.ts +1855 -0
- package/lib/translations/enUS.js +1895 -0
- package/lib/translations/zhCN.d.ts +1852 -0
- package/lib/translations/zhCN.js +1892 -0
- package/lib/type.d.ts +121 -0
- package/lib/type.js +46 -0
- package/lib/ui-manager.d.ts +32 -0
- package/lib/ui-manager.js +426 -0
- package/lib/ui-scene.d.ts +14 -0
- package/lib/ui-scene.js +141 -0
- package/lib/utilities/board-context.d.ts +4 -0
- package/lib/utilities/board-context.js +12 -0
- package/lib/utilities/constant.d.ts +286 -0
- package/lib/utilities/constant.js +271 -0
- package/lib/utilities/copyText.d.ts +2 -0
- package/lib/utilities/copyText.js +43 -0
- package/lib/utilities/extract.d.ts +5 -0
- package/lib/utilities/extract.js +117 -0
- package/lib/utilities/hooks.d.ts +14 -0
- package/lib/utilities/hooks.js +101 -0
- package/lib/utilities/mute-action.d.ts +4 -0
- package/lib/utilities/mute-action.js +48 -0
- package/lib/utilities/parameters.d.ts +7 -0
- package/lib/utilities/parameters.js +20 -0
- package/lib/utilities/regex.d.ts +1 -0
- package/lib/utilities/regex.js +14 -0
- package/lib/utilities/tools.d.ts +27 -0
- package/lib/utilities/tools.js +169 -0
- package/lib/utilities/useNamespace.d.ts +15 -0
- package/lib/utilities/useNamespace.js +66 -0
- package/package.json +63 -0
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("core-js/modules/es.object.define-property.js");
|
|
4
|
+
require("core-js/modules/es.regexp.exec.js");
|
|
5
|
+
require("core-js/modules/es.regexp.test.js");
|
|
6
|
+
Object.defineProperty(exports, "__esModule", {
|
|
7
|
+
value: true
|
|
8
|
+
});
|
|
9
|
+
exports.test = void 0;
|
|
10
|
+
var test = exports.test = [{
|
|
11
|
+
"userId": "11111",
|
|
12
|
+
"userName": "1",
|
|
13
|
+
"isHost": false,
|
|
14
|
+
"isMe": false,
|
|
15
|
+
"hasAudio": false,
|
|
16
|
+
"hasVideo": false,
|
|
17
|
+
"isScreenSharing": false,
|
|
18
|
+
"audioDeviceType": "computer-mic",
|
|
19
|
+
"videoDeviceType": "computer-cam",
|
|
20
|
+
"userType": "normal",
|
|
21
|
+
"userRole": 3,
|
|
22
|
+
"isSpotlight": false,
|
|
23
|
+
"streamId": "2666333222"
|
|
24
|
+
}, {
|
|
25
|
+
"userId": "222222",
|
|
26
|
+
"userName": "2",
|
|
27
|
+
"isHost": false,
|
|
28
|
+
"isMe": false,
|
|
29
|
+
"hasAudio": false,
|
|
30
|
+
"hasVideo": false,
|
|
31
|
+
"isScreenSharing": false,
|
|
32
|
+
"audioDeviceType": "phone-mic",
|
|
33
|
+
"videoDeviceType": "computer-cam",
|
|
34
|
+
"userType": "normal",
|
|
35
|
+
"userRole": 3,
|
|
36
|
+
"isSpotlight": false,
|
|
37
|
+
"streamId": "2223333222"
|
|
38
|
+
}, {
|
|
39
|
+
"userId": "33333",
|
|
40
|
+
"userName": "3",
|
|
41
|
+
"isHost": false,
|
|
42
|
+
"isMe": false,
|
|
43
|
+
"hasAudio": false,
|
|
44
|
+
"hasVideo": false,
|
|
45
|
+
"isScreenSharing": false,
|
|
46
|
+
"audioDeviceType": "computer-mic",
|
|
47
|
+
"videoDeviceType": "computer-cam",
|
|
48
|
+
"userType": "meeting-system",
|
|
49
|
+
"userRole": 3,
|
|
50
|
+
"isSpotlight": false,
|
|
51
|
+
"streamId": "222222"
|
|
52
|
+
}, {
|
|
53
|
+
"userId": "444444444",
|
|
54
|
+
"userName": "4",
|
|
55
|
+
"isHost": false,
|
|
56
|
+
"isMe": false,
|
|
57
|
+
"hasAudio": false,
|
|
58
|
+
"hasVideo": false,
|
|
59
|
+
"isScreenSharing": false,
|
|
60
|
+
"audioDeviceType": "phone-mic",
|
|
61
|
+
"videoDeviceType": "none",
|
|
62
|
+
"userType": "phone",
|
|
63
|
+
"userRole": 3,
|
|
64
|
+
"isSpotlight": false,
|
|
65
|
+
"streamId": "2222222"
|
|
66
|
+
}, {
|
|
67
|
+
"userId": "5555555",
|
|
68
|
+
"userName": "5",
|
|
69
|
+
"isHost": false,
|
|
70
|
+
"isMe": false,
|
|
71
|
+
"hasAudio": false,
|
|
72
|
+
"hasVideo": false,
|
|
73
|
+
"isScreenSharing": false,
|
|
74
|
+
"audioDeviceType": "computer-mic",
|
|
75
|
+
"videoDeviceType": "computer-cam",
|
|
76
|
+
"userType": "normal",
|
|
77
|
+
"userRole": 3,
|
|
78
|
+
"isSpotlight": false,
|
|
79
|
+
"streamId": "2222222222"
|
|
80
|
+
}, {
|
|
81
|
+
"userId": "66666",
|
|
82
|
+
"userName": "6",
|
|
83
|
+
"isHost": false,
|
|
84
|
+
"isMe": false,
|
|
85
|
+
"hasAudio": false,
|
|
86
|
+
"hasVideo": false,
|
|
87
|
+
"isScreenSharing": false,
|
|
88
|
+
"audioDeviceType": "computer-mic",
|
|
89
|
+
"videoDeviceType": "computer-cam",
|
|
90
|
+
"userType": "normal",
|
|
91
|
+
"userRole": 3,
|
|
92
|
+
"isSpotlight": false,
|
|
93
|
+
"streamId": "2222222222"
|
|
94
|
+
}, {
|
|
95
|
+
"userId": "777777",
|
|
96
|
+
"userName": "7",
|
|
97
|
+
"isHost": false,
|
|
98
|
+
"isMe": false,
|
|
99
|
+
"hasAudio": false,
|
|
100
|
+
"hasVideo": false,
|
|
101
|
+
"isScreenSharing": false,
|
|
102
|
+
"audioDeviceType": "computer-mic",
|
|
103
|
+
"videoDeviceType": "computer-cam",
|
|
104
|
+
"userType": "normal",
|
|
105
|
+
"userRole": 3,
|
|
106
|
+
"isSpotlight": false,
|
|
107
|
+
"streamId": "2222221222222"
|
|
108
|
+
}, {
|
|
109
|
+
"userId": "888888",
|
|
110
|
+
"userName": "8",
|
|
111
|
+
"isHost": false,
|
|
112
|
+
"isMe": false,
|
|
113
|
+
"hasAudio": false,
|
|
114
|
+
"hasVideo": false,
|
|
115
|
+
"isScreenSharing": false,
|
|
116
|
+
"audioDeviceType": "computer-mic",
|
|
117
|
+
"videoDeviceType": "computer-cam",
|
|
118
|
+
"userType": "normal",
|
|
119
|
+
"userRole": 3,
|
|
120
|
+
"isSpotlight": false,
|
|
121
|
+
"streamId": "2222222222222222"
|
|
122
|
+
}, {
|
|
123
|
+
"userId": "999999",
|
|
124
|
+
"userName": "9",
|
|
125
|
+
"isHost": false,
|
|
126
|
+
"isMe": false,
|
|
127
|
+
"hasAudio": false,
|
|
128
|
+
"hasVideo": false,
|
|
129
|
+
"isScreenSharing": false,
|
|
130
|
+
"audioDeviceType": "computer-mic",
|
|
131
|
+
"videoDeviceType": "computer-cam",
|
|
132
|
+
"userType": "normal",
|
|
133
|
+
"userRole": 3,
|
|
134
|
+
"isSpotlight": false,
|
|
135
|
+
"streamId": "22211122222222222"
|
|
136
|
+
}, {
|
|
137
|
+
"userId": "101010",
|
|
138
|
+
"userName": "10",
|
|
139
|
+
"isHost": false,
|
|
140
|
+
"isMe": false,
|
|
141
|
+
"hasAudio": false,
|
|
142
|
+
"hasVideo": false,
|
|
143
|
+
"isScreenSharing": false,
|
|
144
|
+
"audioDeviceType": "computer-mic",
|
|
145
|
+
"videoDeviceType": "computer-cam",
|
|
146
|
+
"userType": "normal",
|
|
147
|
+
"userRole": 3,
|
|
148
|
+
"isSpotlight": false,
|
|
149
|
+
"streamId": "222111222222222222"
|
|
150
|
+
}, {
|
|
151
|
+
"userId": "909090908765",
|
|
152
|
+
"userName": "11",
|
|
153
|
+
"isHost": false,
|
|
154
|
+
"isMe": false,
|
|
155
|
+
"hasAudio": false,
|
|
156
|
+
"hasVideo": false,
|
|
157
|
+
"isScreenSharing": false,
|
|
158
|
+
"audioDeviceType": "computer-mic",
|
|
159
|
+
"videoDeviceType": "computer-cam",
|
|
160
|
+
"userType": "normal",
|
|
161
|
+
"userRole": 3,
|
|
162
|
+
"isSpotlight": false,
|
|
163
|
+
"streamId": "098098080"
|
|
164
|
+
}, {
|
|
165
|
+
"userId": "121212",
|
|
166
|
+
"userName": "12",
|
|
167
|
+
"isHost": false,
|
|
168
|
+
"isMe": false,
|
|
169
|
+
"hasAudio": false,
|
|
170
|
+
"hasVideo": false,
|
|
171
|
+
"isScreenSharing": false,
|
|
172
|
+
"audioDeviceType": "computer-mic",
|
|
173
|
+
"videoDeviceType": "computer-cam",
|
|
174
|
+
"userType": "normal",
|
|
175
|
+
"userRole": 3,
|
|
176
|
+
"isSpotlight": false,
|
|
177
|
+
"streamId": "222111222222222223"
|
|
178
|
+
}, {
|
|
179
|
+
"userId": "131313",
|
|
180
|
+
"userName": "13",
|
|
181
|
+
"isHost": false,
|
|
182
|
+
"isMe": false,
|
|
183
|
+
"hasAudio": false,
|
|
184
|
+
"hasVideo": false,
|
|
185
|
+
"isScreenSharing": false,
|
|
186
|
+
"audioDeviceType": "computer-mic",
|
|
187
|
+
"videoDeviceType": "computer-cam",
|
|
188
|
+
"userType": "normal",
|
|
189
|
+
"userRole": 3,
|
|
190
|
+
"isSpotlight": false,
|
|
191
|
+
"streamId": "222111222222222224"
|
|
192
|
+
}, {
|
|
193
|
+
"userId": "141414",
|
|
194
|
+
"userName": "14",
|
|
195
|
+
"isHost": false,
|
|
196
|
+
"isMe": false,
|
|
197
|
+
"hasAudio": false,
|
|
198
|
+
"hasVideo": false,
|
|
199
|
+
"isScreenSharing": false,
|
|
200
|
+
"audioDeviceType": "computer-mic",
|
|
201
|
+
"videoDeviceType": "computer-cam",
|
|
202
|
+
"userType": "normal",
|
|
203
|
+
"userRole": 3,
|
|
204
|
+
"isSpotlight": false,
|
|
205
|
+
"streamId": "222111222222222225"
|
|
206
|
+
}, {
|
|
207
|
+
"userId": "151515",
|
|
208
|
+
"userName": "15",
|
|
209
|
+
"isHost": false,
|
|
210
|
+
"isMe": false,
|
|
211
|
+
"hasAudio": false,
|
|
212
|
+
"hasVideo": false,
|
|
213
|
+
"isScreenSharing": false,
|
|
214
|
+
"audioDeviceType": "computer-mic",
|
|
215
|
+
"videoDeviceType": "computer-cam",
|
|
216
|
+
"userType": "normal",
|
|
217
|
+
"userRole": 3,
|
|
218
|
+
"isSpotlight": false,
|
|
219
|
+
"streamId": "222111222222222226"
|
|
220
|
+
}, {
|
|
221
|
+
"userId": "161616",
|
|
222
|
+
"userName": "16",
|
|
223
|
+
"isHost": false,
|
|
224
|
+
"isMe": false,
|
|
225
|
+
"hasAudio": false,
|
|
226
|
+
"hasVideo": false,
|
|
227
|
+
"isScreenSharing": false,
|
|
228
|
+
"audioDeviceType": "computer-mic",
|
|
229
|
+
"videoDeviceType": "computer-cam",
|
|
230
|
+
"userType": "normal",
|
|
231
|
+
"userRole": 3,
|
|
232
|
+
"isSpotlight": false,
|
|
233
|
+
"streamId": "222111222222222227"
|
|
234
|
+
}, {
|
|
235
|
+
"userId": "171717",
|
|
236
|
+
"userName": "17",
|
|
237
|
+
"isHost": false,
|
|
238
|
+
"isMe": false,
|
|
239
|
+
"hasAudio": false,
|
|
240
|
+
"hasVideo": false,
|
|
241
|
+
"isScreenSharing": false,
|
|
242
|
+
"audioDeviceType": "computer-mic",
|
|
243
|
+
"videoDeviceType": "computer-cam",
|
|
244
|
+
"userType": "normal",
|
|
245
|
+
"userRole": 3,
|
|
246
|
+
"isSpotlight": false,
|
|
247
|
+
"streamId": "222111222222222228"
|
|
248
|
+
}, {
|
|
249
|
+
"userId": "181818",
|
|
250
|
+
"userName": "18",
|
|
251
|
+
"isHost": false,
|
|
252
|
+
"isMe": false,
|
|
253
|
+
"hasAudio": false,
|
|
254
|
+
"hasVideo": false,
|
|
255
|
+
"isScreenSharing": false,
|
|
256
|
+
"audioDeviceType": "computer-mic",
|
|
257
|
+
"videoDeviceType": "computer-cam",
|
|
258
|
+
"userType": "normal",
|
|
259
|
+
"userRole": 3,
|
|
260
|
+
"isSpotlight": false,
|
|
261
|
+
"streamId": "222111222222222229"
|
|
262
|
+
}, {
|
|
263
|
+
"userId": "191919",
|
|
264
|
+
"userName": "19",
|
|
265
|
+
"isHost": false,
|
|
266
|
+
"isMe": false,
|
|
267
|
+
"hasAudio": false,
|
|
268
|
+
"hasVideo": false,
|
|
269
|
+
"isScreenSharing": false,
|
|
270
|
+
"audioDeviceType": "computer-mic",
|
|
271
|
+
"videoDeviceType": "computer-cam",
|
|
272
|
+
"userType": "normal",
|
|
273
|
+
"userRole": 3,
|
|
274
|
+
"isSpotlight": false,
|
|
275
|
+
"streamId": "222111222222222230"
|
|
276
|
+
}, {
|
|
277
|
+
"userId": "202020",
|
|
278
|
+
"userName": "20",
|
|
279
|
+
"isHost": false,
|
|
280
|
+
"isMe": false,
|
|
281
|
+
"hasAudio": false,
|
|
282
|
+
"hasVideo": false,
|
|
283
|
+
"isScreenSharing": false,
|
|
284
|
+
"audioDeviceType": "computer-mic",
|
|
285
|
+
"videoDeviceType": "computer-cam",
|
|
286
|
+
"userType": "normal",
|
|
287
|
+
"userRole": 3,
|
|
288
|
+
"isSpotlight": false,
|
|
289
|
+
"streamId": "222111222222222231"
|
|
290
|
+
}, {
|
|
291
|
+
"userId": "212121",
|
|
292
|
+
"userName": "21",
|
|
293
|
+
"isHost": false,
|
|
294
|
+
"isMe": false,
|
|
295
|
+
"hasAudio": false,
|
|
296
|
+
"hasVideo": false,
|
|
297
|
+
"isScreenSharing": false,
|
|
298
|
+
"audioDeviceType": "computer-mic",
|
|
299
|
+
"videoDeviceType": "computer-cam",
|
|
300
|
+
"userType": "normal",
|
|
301
|
+
"userRole": 3,
|
|
302
|
+
"isSpotlight": false,
|
|
303
|
+
"streamId": "222111222222222232"
|
|
304
|
+
}];
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
.fcr-grid-container {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-wrap: wrap;
|
|
4
|
+
height: 100vh;
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
padding: 10px;
|
|
7
|
+
position: relative;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.fcr-grid-item {
|
|
11
|
+
display: flex;
|
|
12
|
+
justify-content: center;
|
|
13
|
+
align-items: center;
|
|
14
|
+
box-sizing: border-box;
|
|
15
|
+
border:2px solid var(--fcr_mobile_ui_scene_guide);
|
|
16
|
+
width: 100%; height: 100%;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.fcr-grid-item .fcr-avatar{
|
|
20
|
+
font-weight: 700;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.fcr-grid .fcr-grid-item:last-child { width: 100%; }
|
|
24
|
+
.scrollable { overflow-y: auto; }
|
|
25
|
+
|
|
26
|
+
.fcr-wizard-sign {
|
|
27
|
+
position: absolute;
|
|
28
|
+
bottom: 23px;
|
|
29
|
+
/* .fcr-grid-container padding */
|
|
30
|
+
right: 20px;
|
|
31
|
+
display: flex;
|
|
32
|
+
flex-direction: column;
|
|
33
|
+
gap: 15px;
|
|
34
|
+
}
|
|
35
|
+
.fcr-scroll-indicator,.fcr-go-back {
|
|
36
|
+
display: flex;
|
|
37
|
+
|
|
38
|
+
height: 40px;
|
|
39
|
+
width: 40px;
|
|
40
|
+
border-radius: var(--fcr_cornerradius_round);
|
|
41
|
+
border: 0.5px solid var(--fcr_ui_scene_line1, #E3E7EF);
|
|
42
|
+
box-shadow: 0px 0px 15px 0px #97979740;
|
|
43
|
+
color: var(--fcr_mobile_ui_scene_color_popup_fill2);
|
|
44
|
+
backdrop-filter: blur(15px);
|
|
45
|
+
flex-direction: column;
|
|
46
|
+
align-items: center;
|
|
47
|
+
justify-content: center;
|
|
48
|
+
font-size: 12px;
|
|
49
|
+
background: var(--fcr_mobile_ui_scene_color_popup_fill2, #FFFFFF);
|
|
50
|
+
border: 0.5px solid var(--fcr_ui_scene_line1, #E3E7EF);
|
|
51
|
+
|
|
52
|
+
}
|
|
53
|
+
.fcr-grid-current{
|
|
54
|
+
color:var(--fcr_ui_scene_icontext5)
|
|
55
|
+
|
|
56
|
+
}
|
|
57
|
+
.fcr-grid-current::after{
|
|
58
|
+
content: '';
|
|
59
|
+
position: absolute;
|
|
60
|
+
width: 60%;
|
|
61
|
+
height: 1px;
|
|
62
|
+
border-bottom: 2px solid var(--fcr_ui_scene_icontext5);
|
|
63
|
+
border-radius: var(--fcr_cornerradius_xxs);
|
|
64
|
+
top: 18px;
|
|
65
|
+
left: 20%;
|
|
66
|
+
z-index: -1;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.fcr-grid-count {
|
|
70
|
+
color: var(--fcr_ui_scene_icontext2);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.fcr-highlight-user {
|
|
74
|
+
position:absolute;
|
|
75
|
+
top: 0;
|
|
76
|
+
right: 20px;
|
|
77
|
+
width: 100px;
|
|
78
|
+
height: 140px;
|
|
79
|
+
box-shadow: var(--fcr_web_dark_dropup);
|
|
80
|
+
border-radius: var(--fcr_cornerradius_m);
|
|
81
|
+
box-shadow: 0px 0px 25px -8px #FFFFFF26;
|
|
82
|
+
backdrop-filter: blur(var(--fcr_ui_scene_mobile_shadow_night_l))
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/* .fcr-go-back {
|
|
86
|
+
width: 40px;
|
|
87
|
+
height: 40px;
|
|
88
|
+
top: 572px;
|
|
89
|
+
left: 325px;
|
|
90
|
+
gap: 0px;
|
|
91
|
+
border-radius: var(--fcrcornerradiusround);
|
|
92
|
+
border: 0.5px 0px 0px 0px;
|
|
93
|
+
opacity: 0px;
|
|
94
|
+
background: var(--fcr_mobile_ui_scene_color_popup_fill2, #FFFFFF);
|
|
95
|
+
border: 0.5px solid var(--fcr_ui_scene_line1, #E3E7EF);
|
|
96
|
+
box-shadow: 0px 0px 15px 0px #97979740;
|
|
97
|
+
backdrop-filter: blur(15px);
|
|
98
|
+
} */
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/****
|
|
2
|
+
***** 宫格组件,宫格UI展示
|
|
3
|
+
***** 1.当一个用户独占整屏
|
|
4
|
+
***** 2.当2个上下排列
|
|
5
|
+
***** 3.当3个上中下排列,每行各一个视窗
|
|
6
|
+
***** 4.当4个上下排列,每行各两个视窗,共两行
|
|
7
|
+
***** 5.当5个上中下排列,前两行各两个视窗,最后一行一个视窗铺满,共三行
|
|
8
|
+
***** 6.当6个上下排列,每行各两个视窗,共三行
|
|
9
|
+
***** 7.当6个以上的窗格上中下排列,总数基数时候参考5个时候的排列逻辑,偶数参考4个时候的逻辑
|
|
10
|
+
***/
|
|
11
|
+
import React from 'react';
|
|
12
|
+
import './index.css';
|
|
13
|
+
import { ParticipantUser } from '../../../common/type';
|
|
14
|
+
interface IGridViewProps {
|
|
15
|
+
userList?: ParticipantUser[];
|
|
16
|
+
className?: string;
|
|
17
|
+
renderItem?: (item: ParticipantUser, isSpeakerWindow?: boolean) => React.ReactNode;
|
|
18
|
+
containerHeight?: number;
|
|
19
|
+
}
|
|
20
|
+
declare const FcrGridView: React.FC<IGridViewProps>;
|
|
21
|
+
export default FcrGridView;
|