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,79 @@
|
|
|
1
|
+
.fcr-top-action-main-wrap {
|
|
2
|
+
width: 100vw;
|
|
3
|
+
height: 44px;
|
|
4
|
+
background-color: var(--fcr_mobile_ui_scene_guide);
|
|
5
|
+
display: flex;
|
|
6
|
+
position: fixed;
|
|
7
|
+
top: 0px;
|
|
8
|
+
z-index: 800;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.fcr-top-action-left-wrap {
|
|
12
|
+
display: flex;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.fcr-mobile-video-rotation2-btn {
|
|
16
|
+
width: 30px;
|
|
17
|
+
height: 30px;
|
|
18
|
+
border-radius: 50%;
|
|
19
|
+
box-shadow: var(--fcr_web_light_dropup_s);
|
|
20
|
+
border-radius: 50%;
|
|
21
|
+
position: relative;
|
|
22
|
+
align-self: center;
|
|
23
|
+
margin-left: 10px;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.fcr-mobile-video-rotation2-btn:active {
|
|
27
|
+
border: none;
|
|
28
|
+
transform: scale(0.9);
|
|
29
|
+
border-color: transparent;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.fcr-top-action-left-wrap,
|
|
33
|
+
.fcr-top-action-right-wrap {
|
|
34
|
+
width: 18vw;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.fcr-top-action-right-wrap {
|
|
38
|
+
display: flex;
|
|
39
|
+
justify-content: flex-end;
|
|
40
|
+
align-items: center;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.fcr-top-action-right-wrap .fcr-button-XS {
|
|
44
|
+
margin-right: 12px;
|
|
45
|
+
width: 40px;
|
|
46
|
+
min-width: 40px !important;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/* .fcr-top-end-meeting-btn{
|
|
50
|
+
margin-right: 12px;
|
|
51
|
+
} */
|
|
52
|
+
|
|
53
|
+
.fcr-top-action-center-wrap {
|
|
54
|
+
flex: 1;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.fcr-top-action-center-title {
|
|
58
|
+
text-align: center;
|
|
59
|
+
font-size: 16px;
|
|
60
|
+
font-weight: 700;
|
|
61
|
+
color: var(--fcr_ui_scene_icontext1);
|
|
62
|
+
display: flex;
|
|
63
|
+
justify-content: center;
|
|
64
|
+
align-items: center;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.fcr-top-action-center-lasttime {
|
|
68
|
+
color: var(--fcr_ui_scene_icontext2);
|
|
69
|
+
text-align: center;
|
|
70
|
+
font-size: 11px;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.fcr-top-action-center-infos {
|
|
74
|
+
position: relative;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.fcr-top-action-network-quality {
|
|
78
|
+
margin-right: 4px;
|
|
79
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { UIModule } from '../../base';
|
|
2
|
+
import { FcrUIEventStore } from '../../common/event-store';
|
|
3
|
+
import { FcrSecurityStore } from '../../common/security-store';
|
|
4
|
+
import { FcrMainRoomControl, FcrWaitingRoomControl } from 'fcr-core/lib/room-control/type';
|
|
5
|
+
import { FcrUISceneConfig } from '../../type';
|
|
6
|
+
import './index.css';
|
|
7
|
+
export declare class FcrMobileStateBarUIModule extends UIModule {
|
|
8
|
+
private _store;
|
|
9
|
+
constructor({ roomControl, uiEventStore, securityStore, config, }: {
|
|
10
|
+
roomControl: FcrMainRoomControl | FcrWaitingRoomControl;
|
|
11
|
+
uiEventStore: FcrUIEventStore;
|
|
12
|
+
securityStore: FcrSecurityStore;
|
|
13
|
+
config: FcrUISceneConfig;
|
|
14
|
+
});
|
|
15
|
+
getComponent(): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
onUnload(): void;
|
|
17
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("core-js/modules/es.object.define-property.js");
|
|
4
|
+
require("core-js/modules/es.reflect.construct.js");
|
|
5
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
6
|
+
Object.defineProperty(exports, "__esModule", {
|
|
7
|
+
value: true
|
|
8
|
+
});
|
|
9
|
+
exports.FcrMobileStateBarUIModule = void 0;
|
|
10
|
+
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
11
|
+
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
12
|
+
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
|
|
13
|
+
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
|
14
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
15
|
+
var _base = require("../../base");
|
|
16
|
+
var _view = require("./view");
|
|
17
|
+
var _store = _interopRequireDefault(require("./store"));
|
|
18
|
+
var _context = require("./context");
|
|
19
|
+
require("./index.css");
|
|
20
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
21
|
+
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2["default"])(o), (0, _possibleConstructorReturn2["default"])(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2["default"])(t).constructor) : o.apply(t, e)); }
|
|
22
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
23
|
+
var FcrMobileStateBarUIModule = exports.FcrMobileStateBarUIModule = /*#__PURE__*/function (_UIModule) {
|
|
24
|
+
function FcrMobileStateBarUIModule(_ref) {
|
|
25
|
+
var _this;
|
|
26
|
+
var roomControl = _ref.roomControl,
|
|
27
|
+
uiEventStore = _ref.uiEventStore,
|
|
28
|
+
securityStore = _ref.securityStore,
|
|
29
|
+
config = _ref.config;
|
|
30
|
+
(0, _classCallCheck2["default"])(this, FcrMobileStateBarUIModule);
|
|
31
|
+
_this = _callSuper(this, FcrMobileStateBarUIModule);
|
|
32
|
+
_this._store = new _store["default"]({
|
|
33
|
+
roomControl: roomControl,
|
|
34
|
+
uiEventStore: uiEventStore,
|
|
35
|
+
securityStore: securityStore,
|
|
36
|
+
config: config
|
|
37
|
+
});
|
|
38
|
+
return _this;
|
|
39
|
+
}
|
|
40
|
+
(0, _inherits2["default"])(FcrMobileStateBarUIModule, _UIModule);
|
|
41
|
+
return (0, _createClass2["default"])(FcrMobileStateBarUIModule, [{
|
|
42
|
+
key: "getComponent",
|
|
43
|
+
value: function getComponent() {
|
|
44
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_context.StoreContext.Provider, {
|
|
45
|
+
value: this._store,
|
|
46
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_view.FcrMobileStateBar, {})
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
}, {
|
|
50
|
+
key: "onUnload",
|
|
51
|
+
value: function onUnload() {
|
|
52
|
+
this._store.release();
|
|
53
|
+
}
|
|
54
|
+
}]);
|
|
55
|
+
}(_base.UIModule);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
.fcr-end-meeting-btns-box {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
width: 281px;
|
|
5
|
+
height: 82px;
|
|
6
|
+
justify-content: space-between;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.fcr-end-meeting-btn {
|
|
10
|
+
width: 100%;
|
|
11
|
+
height: 36px !important;
|
|
12
|
+
border-radius: var(--fcr_cornerradius_m);
|
|
13
|
+
font-size: 13px !important;
|
|
14
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("core-js/modules/es.object.define-property.js");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.FcrMobileLeavingRoom = void 0;
|
|
8
|
+
var _button = require("agora-ui-foundation/lib/components/button");
|
|
9
|
+
var _dialog = require("agora-ui-foundation/lib/components/dialog");
|
|
10
|
+
require("./index.css");
|
|
11
|
+
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
12
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
|
+
var FcrMobileLeavingRoom = exports.FcrMobileLeavingRoom = function FcrMobileLeavingRoom(_ref) {
|
|
14
|
+
var leave = _ref.leave;
|
|
15
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
16
|
+
className: "fcr-end-meeting-btns-box",
|
|
17
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_button.FcrButton, {
|
|
18
|
+
type: "secondary-bordered",
|
|
19
|
+
shape: "rounded",
|
|
20
|
+
styleType: "danger",
|
|
21
|
+
className: "fcr-end-meeting-btn",
|
|
22
|
+
onClick: function onClick() {
|
|
23
|
+
_dialog.FcrDialogApi.close('fcr-end-meeting-dialog');
|
|
24
|
+
leave();
|
|
25
|
+
},
|
|
26
|
+
children: (0, _i18n.transI18n)('fmt_popup_button_leavemeeting')
|
|
27
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.FcrButton, {
|
|
28
|
+
type: "secondary-bordered",
|
|
29
|
+
shape: "rounded",
|
|
30
|
+
styleType: "white",
|
|
31
|
+
className: "fcr-end-meeting-btn",
|
|
32
|
+
onClick: function onClick() {
|
|
33
|
+
_dialog.FcrDialogApi.close('fcr-end-meeting-dialog');
|
|
34
|
+
},
|
|
35
|
+
children: (0, _i18n.transI18n)('fmt_popup_button_cancel')
|
|
36
|
+
})]
|
|
37
|
+
});
|
|
38
|
+
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
.fcr-mobile-meeting-detail-con-wrap {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
width: 100%;
|
|
5
|
+
padding: 10px 20px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.fcr-mobile-more-cfg-con-header {
|
|
9
|
+
height: 50px;
|
|
10
|
+
width: 100%;
|
|
11
|
+
display: flex;
|
|
12
|
+
align-items: center;
|
|
13
|
+
}
|
|
14
|
+
.fcr-mobile-more-cfg-con-header-title {
|
|
15
|
+
color: var(--fcr_ui_scene_icontext1);
|
|
16
|
+
font-size: 15px;
|
|
17
|
+
margin-left: 15px;
|
|
18
|
+
font-weight: 800;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.fcr-mobile-meeting-details-card {
|
|
22
|
+
width: 100%;
|
|
23
|
+
background-color: var(--fcr_mobile_ui_scene_color_popup_block1);
|
|
24
|
+
border-radius: 12px;
|
|
25
|
+
margin: 0 auto;
|
|
26
|
+
margin-top: 11px;
|
|
27
|
+
display: flex;
|
|
28
|
+
flex-direction: column;
|
|
29
|
+
padding-left: 20px;
|
|
30
|
+
padding-right: 13px;
|
|
31
|
+
}
|
|
32
|
+
.fcr-mobile-meeting-details-card-item {
|
|
33
|
+
height: 50px;
|
|
34
|
+
width: 100%;
|
|
35
|
+
display: flex;
|
|
36
|
+
align-items: center;
|
|
37
|
+
justify-content: space-between;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.fcr-mobile-meeting-details-card-item.border {
|
|
41
|
+
border-bottom: 0.5px solid var(--fcr_ui_scene_line1);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.fcr-mobile-meeting-detail-tabs {
|
|
45
|
+
display: flex;
|
|
46
|
+
height: 30px;
|
|
47
|
+
width: 286px;
|
|
48
|
+
background-color: var(--fcr_mobile_ui_scene_color_popup_block1);
|
|
49
|
+
border-radius: var(--fcr_cornerradius_s);
|
|
50
|
+
align-items: center;
|
|
51
|
+
justify-content: center;
|
|
52
|
+
margin-bottom: 10px;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.fcr-mobile-meeting-detail-tab {
|
|
56
|
+
width: 140px;
|
|
57
|
+
height: 24px;
|
|
58
|
+
line-height: 24px;
|
|
59
|
+
font-weight: 700;
|
|
60
|
+
color: var(--fcr_ui_scene_icontext1);
|
|
61
|
+
text-align: center;
|
|
62
|
+
overflow: hidden;
|
|
63
|
+
text-overflow: ellipsis;
|
|
64
|
+
white-space: nowrap;
|
|
65
|
+
padding: 0px 10px;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.fcr-mobile-meeting-detail-tab.active {
|
|
69
|
+
color: #ffffff;
|
|
70
|
+
background-color: var(--fcr_ui_scene_ramp_brand6);
|
|
71
|
+
border-radius: 6px;
|
|
72
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("core-js/modules/es.object.define-property.js");
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.FcrMobileMeetingDetailPopup = void 0;
|
|
9
|
+
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
10
|
+
var _popup = require("agora-ui-foundation/lib/components/popup");
|
|
11
|
+
var _mobxReact = require("mobx-react");
|
|
12
|
+
var _react = require("react");
|
|
13
|
+
var _context = require("../context");
|
|
14
|
+
var _netQuality = require("./net-quality");
|
|
15
|
+
var _meetingInfo = require("./meeting-info");
|
|
16
|
+
require("./index.css");
|
|
17
|
+
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
18
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
19
|
+
var FcrMobileMeetingDetailPopup = exports.FcrMobileMeetingDetailPopup = (0, _mobxReact.observer)(function () {
|
|
20
|
+
var _useContext = (0, _react.useContext)(_context.StoreContext),
|
|
21
|
+
meetingDetailPopoverOpened = _useContext.meetingDetailPopoverOpened,
|
|
22
|
+
setMeetingDetailPopoverOpened = _useContext.setMeetingDetailPopoverOpened;
|
|
23
|
+
var _useState = (0, _react.useState)(1),
|
|
24
|
+
_useState2 = (0, _slicedToArray2["default"])(_useState, 2),
|
|
25
|
+
tabIndex = _useState2[0],
|
|
26
|
+
setTabIndex = _useState2[1];
|
|
27
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_popup.FcrPopup, {
|
|
28
|
+
showCloseButton: true,
|
|
29
|
+
visible: meetingDetailPopoverOpened,
|
|
30
|
+
onMaskClick: function onMaskClick() {
|
|
31
|
+
setMeetingDetailPopoverOpened(false);
|
|
32
|
+
},
|
|
33
|
+
onClose: function onClose() {
|
|
34
|
+
setMeetingDetailPopoverOpened(false);
|
|
35
|
+
},
|
|
36
|
+
bodyStyle: {
|
|
37
|
+
height: '572px'
|
|
38
|
+
},
|
|
39
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
40
|
+
className: "fcr-mobile-meeting-detail-con-wrap",
|
|
41
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
42
|
+
className: "fcr-mobile-meeting-detail-tabs",
|
|
43
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
44
|
+
className: "fcr-mobile-meeting-detail-tab ".concat(tabIndex === 1 ? 'active' : ''),
|
|
45
|
+
onClick: function onClick() {
|
|
46
|
+
return setTabIndex(1);
|
|
47
|
+
},
|
|
48
|
+
children: (0, _i18n.transI18n)('fmt_meetinginfo_dialog_title_meeting_info')
|
|
49
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
50
|
+
className: "fcr-mobile-meeting-detail-tab ".concat(tabIndex === 2 ? 'active' : ''),
|
|
51
|
+
onClick: function onClick() {
|
|
52
|
+
return setTabIndex(2);
|
|
53
|
+
},
|
|
54
|
+
children: (0, _i18n.transI18n)('fmt_statusbar_label_networkpaused')
|
|
55
|
+
})]
|
|
56
|
+
}), tabIndex == 1 ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_meetingInfo.FcrMobileMeetingInfo, {}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_netQuality.NetQuality, {})]
|
|
57
|
+
})
|
|
58
|
+
});
|
|
59
|
+
});
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const handleCopyMeetingId: (meetingId: string | undefined) => void;
|
|
2
|
+
export declare const handleCopyMeetingInviteLink: (shareLink: string) => void;
|
|
3
|
+
export declare const handleCopyMeetingDetail: (detailText: string) => void;
|
|
4
|
+
export declare const handleCopyMeetingPassword: (password: string) => void;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("core-js/modules/es.object.define-property.js");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.handleCopyMeetingPassword = exports.handleCopyMeetingInviteLink = exports.handleCopyMeetingId = exports.handleCopyMeetingDetail = void 0;
|
|
8
|
+
var _toast = require("agora-ui-foundation/lib/components/toast");
|
|
9
|
+
var _copyText = require("../../../../utilities/copyText");
|
|
10
|
+
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
11
|
+
var handleCopyMeetingId = exports.handleCopyMeetingId = function handleCopyMeetingId(meetingId) {
|
|
12
|
+
if (!meetingId) {
|
|
13
|
+
return;
|
|
14
|
+
}
|
|
15
|
+
(0, _copyText.copyText)(meetingId).then(function () {
|
|
16
|
+
_toast.FcrToastApi.open({
|
|
17
|
+
toastProps: {
|
|
18
|
+
type: 'normal',
|
|
19
|
+
content: (0, _i18n.transI18n)('fmt_statusbar_status_coppied')
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
})["catch"](function () {
|
|
23
|
+
_toast.FcrToastApi.open({
|
|
24
|
+
toastProps: {
|
|
25
|
+
type: 'warn',
|
|
26
|
+
content: (0, _i18n.transI18n)('fmt_information_tips_numbercopyfailed')
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
});
|
|
30
|
+
};
|
|
31
|
+
var handleCopyMeetingInviteLink = exports.handleCopyMeetingInviteLink = function handleCopyMeetingInviteLink(shareLink) {
|
|
32
|
+
(0, _copyText.copyText)(shareLink).then(function () {
|
|
33
|
+
_toast.FcrToastApi.open({
|
|
34
|
+
toastProps: {
|
|
35
|
+
type: 'normal',
|
|
36
|
+
content: (0, _i18n.transI18n)('fmt_additional_tips_invitation')
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
})["catch"](function () {
|
|
40
|
+
_toast.FcrToastApi.open({
|
|
41
|
+
toastProps: {
|
|
42
|
+
type: 'warn',
|
|
43
|
+
content: (0, _i18n.transI18n)('fmt_additional_tips_invitationfailed')
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
});
|
|
47
|
+
};
|
|
48
|
+
var handleCopyMeetingDetail = exports.handleCopyMeetingDetail = function handleCopyMeetingDetail(detailText) {
|
|
49
|
+
(0, _copyText.copyText)(detailText).then(function () {
|
|
50
|
+
_toast.FcrToastApi.open({
|
|
51
|
+
toastProps: {
|
|
52
|
+
type: 'normal',
|
|
53
|
+
content: (0, _i18n.transI18n)('fmt_sharing_tips_copyto_clipboard')
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
})["catch"](function () {
|
|
57
|
+
_toast.FcrToastApi.open({
|
|
58
|
+
toastProps: {
|
|
59
|
+
type: 'warn',
|
|
60
|
+
content: (0, _i18n.transI18n)('fmt_sharing_tips_copyfull_failed')
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
});
|
|
64
|
+
};
|
|
65
|
+
var handleCopyMeetingPassword = exports.handleCopyMeetingPassword = function handleCopyMeetingPassword(password) {
|
|
66
|
+
(0, _copyText.copyText)(password).then(function () {
|
|
67
|
+
_toast.FcrToastApi.open({
|
|
68
|
+
toastProps: {
|
|
69
|
+
type: 'normal',
|
|
70
|
+
content: (0, _i18n.transI18n)('fmt_uimanager_tips_passwordcopied')
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
})["catch"](function () {
|
|
74
|
+
_toast.FcrToastApi.open({
|
|
75
|
+
toastProps: {
|
|
76
|
+
type: 'warn',
|
|
77
|
+
content: (0, _i18n.transI18n)('fmt_settings_tips_passwordcopyfailed')
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
});
|
|
81
|
+
};
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
.fcr-mobile-meeting-detail-subtitle {
|
|
2
|
+
color: var(--fcr_ui_scene_icontext2);
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.fcr-mobile-meeting-detail-locktitle{
|
|
6
|
+
color: var(--fcr_ui_scene_icontext1);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.fcr-mobile-meeting-detail-block1 {
|
|
10
|
+
width: 100%;
|
|
11
|
+
min-height: 108px;
|
|
12
|
+
background-color: var(--fcr_mobile_ui_scene_color_popup_block1);
|
|
13
|
+
border-radius: 12px;
|
|
14
|
+
padding: 13px 20px 13px 20px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.fcr-mobile-meeting-detail-block2 {
|
|
18
|
+
width: 100%;
|
|
19
|
+
height: 60px;
|
|
20
|
+
background-color: var(--fcr_mobile_ui_scene_color_popup_block1);
|
|
21
|
+
border-radius: 12px;
|
|
22
|
+
padding: 13px 20px 13px 20px;
|
|
23
|
+
margin: 10px 0px;
|
|
24
|
+
position: relative;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.fcr-mobile-meeting-detail-meeting-name {
|
|
28
|
+
color: var(--fcr_ui_scene_icontext1);
|
|
29
|
+
margin-bottom: 10px;
|
|
30
|
+
margin-top: 10px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.fcr-mobile-meeting-detail-meeting-locktip{
|
|
34
|
+
color: var(--fcr_ui_scene_icontext2);
|
|
35
|
+
font-size: 11px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.fcr-mobile-cfg-card-item-action {
|
|
39
|
+
display: flex;
|
|
40
|
+
align-items: center;
|
|
41
|
+
gap: 10px;
|
|
42
|
+
color: var(--fcr_ui_scene_icontext1);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.fcr-mobile-cfg-card-item-action.weight {
|
|
46
|
+
font-weight: 600;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.fcr-mobile-meeting-detail-copy-link-btn {
|
|
50
|
+
width: 100%;
|
|
51
|
+
text-align: center;
|
|
52
|
+
color: var(--fcr_ui_scene_icontext1);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.fcr-mobile-cfg-card-item-share-link {
|
|
56
|
+
width: 180px;
|
|
57
|
+
white-space: nowrap; /* 文本不换行 */
|
|
58
|
+
overflow: hidden; /* 超出部分隐藏 */
|
|
59
|
+
text-overflow: ellipsis; /* 超出部分显示省略号 */
|
|
60
|
+
color:var(--fcr_ui_scene_icontext1);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.fcr-mobile-meeting-detail-creator-tag{
|
|
64
|
+
width:32px;
|
|
65
|
+
height: 20px;
|
|
66
|
+
border-radius: 12px;
|
|
67
|
+
background-color: var(--fcr_ui_scene_ramp_brand6);
|
|
68
|
+
display: flex;
|
|
69
|
+
justify-content: center;
|
|
70
|
+
align-items: center;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.fcr-mobile-meeting-detail-creator-row{
|
|
74
|
+
display: flex;
|
|
75
|
+
align-items: center;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.fcr-mobile-meeting-detail-creator-name{
|
|
79
|
+
margin-left: 4px;
|
|
80
|
+
font-size: 12px;
|
|
81
|
+
color: var(--fcr_ui_scene_icontext1)
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.fcr-mobile-meeting-detail-creator-name-span{
|
|
85
|
+
margin-right: 4px;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.fcr-mobile-meeting-detail-meeting-lockicon{
|
|
89
|
+
position: absolute;
|
|
90
|
+
top: 18px;
|
|
91
|
+
right: 20px;
|
|
92
|
+
}
|