fcr-ui-scene 3.1.1 → 3.2.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/dist/132.js +2 -0
- package/dist/132.js.LICENSE.txt +311 -0
- package/dist/651.js +2 -0
- package/dist/651.js.LICENSE.txt +1 -0
- package/dist/73.js +1 -0
- package/dist/index.html +13 -0
- package/dist/main.da7c203ab32d15742cfe.css +11760 -0
- package/dist/main.js +2 -0
- package/dist/main.js.LICENSE.txt +254 -0
- package/dist/worker-entry.worker.js.LICENSE.txt +13 -0
- package/lib/base.d.ts +0 -1
- package/lib/base.js +16 -0
- package/lib/common/device-store.d.ts +3 -4
- package/lib/common/device-store.js +167 -83
- package/lib/common/device-stream-store.d.ts +3 -2
- package/lib/common/device-stream-store.js +94 -72
- package/lib/common/event-store.d.ts +3 -2
- package/lib/common/event-store.js +5 -0
- package/lib/common/security-store.d.ts +6 -16
- package/lib/common/security-store.js +136 -101
- package/lib/electron/app.js +13 -5
- package/lib/electron/injections.d.ts +3 -4
- package/lib/electron/injections.js +46 -30
- package/lib/electron/logger.d.ts +6 -0
- package/lib/electron/logger.js +66 -0
- package/lib/electron/main.js +24 -8
- package/lib/electron/preload.js +2 -1
- package/lib/electron/tools.js +9 -0
- package/lib/electron/window.d.ts +1 -1
- package/lib/electron/window.js +14 -2
- package/lib/fragments/control-bar/context.d.ts +0 -1
- package/lib/fragments/control-bar/control-bar-store.js +23 -2
- package/lib/fragments/control-bar/device/index.js +7 -0
- package/lib/fragments/control-bar/index.js +1 -1
- package/lib/fragments/control-bar/more-actions/index.js +5 -0
- package/lib/fragments/control-bar/security-content/index.js +3 -0
- package/lib/fragments/live-streaming/context.d.ts +0 -1
- package/lib/fragments/live-streaming/store.js +27 -17
- package/lib/fragments/share-screen-selection/context.d.ts +0 -1
- package/lib/fragments/share-screen-selection/selection-store.d.ts +0 -1
- package/lib/fragments/share-screen-selection/selection-store.js +34 -33
- package/lib/fragments/share-screen-selection/view.js +7 -0
- package/lib/fragments/toolbar/components/color-picker/components/color.js +2 -0
- package/lib/fragments/toolbar/components/color-picker/components/panel.js +4 -0
- package/lib/fragments/toolbar/components/color-picker/components/picker.js +2 -0
- package/lib/fragments/toolbar/components/color-picker/index.js +5 -1
- package/lib/fragments/toolbar/components/color-picker.js +3 -1
- package/lib/fragments/toolbar/components/eraser-picker.js +4 -13
- package/lib/fragments/toolbar/components/extension-toolbar-item.js +5 -0
- package/lib/fragments/toolbar/components/extra-tool-picker.js +4 -0
- package/lib/fragments/toolbar/components/pen-picker.js +2 -0
- package/lib/fragments/toolbar/components/screen-capture-picker.js +2 -0
- package/lib/fragments/toolbar/components/shape-picker.js +2 -0
- package/lib/fragments/toolbar/hooks.d.ts +1 -1
- package/lib/fragments/toolbar/hooks.js +13 -8
- package/lib/fragments/toolbar/store.d.ts +4 -4
- package/lib/fragments/toolbar/store.js +20 -2
- package/lib/fragments/toolbar/view.js +2 -0
- package/lib/global.d.ts +1 -0
- package/lib/hooks/meeting-time.d.ts +2 -2
- package/lib/modules/action-bar/action-bar-collapes-items.js +9 -0
- package/lib/modules/action-bar/chat/index.js +1 -1
- package/lib/modules/action-bar/context.d.ts +0 -1
- package/lib/modules/action-bar/device/index.d.ts +2 -2
- package/lib/modules/action-bar/device/index.js +2 -0
- package/lib/modules/action-bar/index.css +4 -0
- package/lib/modules/action-bar/index.d.ts +2 -2
- package/lib/modules/action-bar/index.dev.js +7 -6
- package/lib/modules/action-bar/item-placement.d.ts +1 -2
- package/lib/modules/action-bar/item.js +5 -0
- package/lib/modules/action-bar/leave/assign-host.d.ts +0 -1
- package/lib/modules/action-bar/leave/assign-host.js +5 -3
- package/lib/modules/action-bar/leave/index.js +6 -1
- package/lib/modules/action-bar/leave/leave-meeting.d.ts +0 -1
- package/lib/modules/action-bar/more/poppover-content.d.ts +0 -1
- package/lib/modules/action-bar/more/poppover-content.js +10 -0
- package/lib/modules/action-bar/screen-share/submenu.js +1 -0
- package/lib/modules/action-bar/security/drop-menu.js +34 -1
- package/lib/modules/action-bar/security/index.js +1 -1
- package/lib/modules/action-bar/settings/index.js +1 -1
- package/lib/modules/action-bar/store.d.ts +9 -17
- package/lib/modules/action-bar/store.js +67 -49
- package/lib/modules/audio-stream/index.js +12 -6
- package/lib/modules/chat/chat-bar/index.js +7 -0
- package/lib/modules/chat/chat-select/index.css +5 -0
- package/lib/modules/chat/chat-select/index.d.ts +0 -1
- package/lib/modules/chat/chat-select/index.js +29 -3
- package/lib/modules/chat/chat.d.ts +1 -1
- package/lib/modules/chat/chat.js +28 -4
- package/lib/modules/chat/contex.d.ts +0 -1
- package/lib/modules/chat/demo-wrapper.d.ts +0 -1
- package/lib/modules/chat/index.d.ts +3 -3
- package/lib/modules/chat/index.dev.js +3 -3
- package/lib/modules/chat/index.js +19 -3
- package/lib/modules/chat/message-list.js +24 -3
- package/lib/modules/chat/store.d.ts +3 -3
- package/lib/modules/chat/store.js +45 -79
- package/lib/modules/chat/util.js +1 -1
- package/lib/modules/connection-gateway/components/phone/components/callinfo/index.js +2 -0
- package/lib/modules/connection-gateway/components/phone/index.js +2 -0
- package/lib/modules/connection-gateway/index.d.ts +2 -2
- package/lib/modules/connection-gateway/index.js +2 -0
- package/lib/modules/connection-gateway/store.d.ts +1 -2
- package/lib/modules/connection-gateway/store.js +41 -14
- package/lib/modules/device-pretest/audio-preview/microphone-detection.d.ts +1 -0
- package/lib/modules/device-pretest/audio-preview/microphone-detection.js +3 -2
- package/lib/modules/device-pretest/audio-preview/speaker-control.d.ts +0 -1
- package/lib/modules/device-pretest/context.d.ts +0 -1
- package/lib/modules/device-pretest/index.d.ts +0 -1
- package/lib/modules/device-pretest/index.js +2 -1
- package/lib/modules/device-pretest/settings/beauty.js +2 -0
- package/lib/modules/device-pretest/settings/video-effect.d.ts +0 -1
- package/lib/modules/device-pretest/settings/video-settings-basic.js +1 -0
- package/lib/modules/device-pretest/settings/virtual-background-setting.js +2 -0
- package/lib/modules/device-pretest/store.js +28 -9
- package/lib/modules/dialog/components/chat/electron.js +1 -1
- package/lib/modules/dialog/components/chat/index.js +1 -1
- package/lib/modules/dialog/components/confirm/electron.js +2 -2
- package/lib/modules/dialog/components/confirm/index.js +16 -2
- package/lib/modules/dialog/components/connection-gateway/electron.js +1 -1
- package/lib/modules/dialog/components/device-setting/electron.d.ts +2 -0
- package/lib/modules/dialog/components/device-setting/electron.js +72 -0
- package/lib/modules/dialog/components/device-setting/index.css +27 -0
- package/lib/modules/dialog/components/device-setting/index.d.ts +4 -0
- package/lib/modules/dialog/components/device-setting/index.js +60 -0
- package/lib/modules/dialog/components/participant/electron.js +6 -1
- package/lib/modules/dialog/components/share-screen-selection/index.js +1 -1
- package/lib/modules/dialog/context.d.ts +0 -1
- package/lib/modules/dialog/dialogs.d.ts +0 -2
- package/lib/modules/dialog/dialogs.js +46 -91
- package/lib/modules/dialog/index.css +5 -6
- package/lib/modules/dialog/index.d.ts +1 -1
- package/lib/modules/dialog/index.js +17 -0
- package/lib/modules/dialog/store.d.ts +2 -2
- package/lib/modules/dialog/store.js +36 -7
- package/lib/modules/dialog/view.js +2 -0
- package/lib/modules/event-toast/context.d.ts +0 -1
- package/lib/modules/event-toast/store.js +16 -0
- package/lib/modules/invite/context.d.ts +0 -1
- package/lib/modules/invite/index.d.ts +2 -2
- package/lib/modules/invite/pstn-invite.js +3 -1
- package/lib/modules/invite/store.d.ts +2 -2
- package/lib/modules/invite/store.js +27 -7
- package/lib/modules/invite/voip-invite.d.ts +0 -1
- package/lib/modules/invite/voip-invite.js +1 -1
- package/lib/modules/layout/components/Aside.d.ts +0 -1
- package/lib/modules/layout/components/Aside.js +4 -1
- package/lib/modules/layout/components/Carousel.js +6 -5
- package/lib/modules/layout/components/Gallery.js +9 -8
- package/lib/modules/layout/components/index.css +11 -1
- package/lib/modules/layout/components/index.js +3 -0
- package/lib/modules/layout/context.d.ts +0 -1
- package/lib/modules/layout/index.dev.js +11 -11
- package/lib/modules/layout/index.js +0 -6
- package/lib/modules/layout/member-window/index.css +5 -5
- package/lib/modules/layout/member-window/index.d.ts +7 -7
- package/lib/modules/layout/member-window/index.js +50 -10
- package/lib/modules/layout/store.d.ts +44 -50
- package/lib/modules/layout/store.js +406 -338
- package/lib/modules/layout/type.d.ts +2 -1
- package/lib/modules/layout/video-window-datasource.d.ts +14 -8
- package/lib/modules/layout/video-window-datasource.js +129 -78
- package/lib/modules/live-streaming/context.d.ts +0 -1
- package/lib/modules/live-streaming/index.d.ts +2 -2
- package/lib/modules/live-streaming/index.dev.js +4 -3
- package/lib/modules/live-streaming/store.d.ts +2 -2
- package/lib/modules/live-streaming/store.js +32 -11
- package/lib/modules/participant/attendee/index.js +10 -0
- package/lib/modules/participant/attendee/participants-more-action.js +5 -2
- package/lib/modules/participant/context.d.ts +0 -1
- package/lib/modules/participant/index.d.ts +3 -3
- package/lib/modules/participant/index.dev.js +13 -11
- package/lib/modules/participant/member-list-data-source.d.ts +3 -3
- package/lib/modules/participant/member-list-data-source.js +29 -3
- package/lib/modules/participant/room-control-drop-menu/index.js +35 -1
- package/lib/modules/participant/store.d.ts +31 -31
- package/lib/modules/participant/store.js +203 -157
- package/lib/modules/participant/view.d.ts +6 -6
- package/lib/modules/participant/view.js +5 -0
- package/lib/modules/setting/audio-settings/audio-settings.js +16 -12
- package/lib/modules/setting/audio-settings/index.css +2 -2
- package/lib/modules/setting/context.d.ts +0 -1
- package/lib/modules/setting/general-settings/general-settings.js +2 -1
- package/lib/modules/setting/general-settings/index.css +2 -2
- package/lib/modules/setting/index.d.ts +2 -2
- package/lib/modules/setting/index.dev.js +13 -11
- package/lib/modules/setting/index.js +16 -0
- package/lib/modules/setting/minutes-settings/index.css +65 -0
- package/lib/modules/setting/minutes-settings/minutes-settings.d.ts +4 -0
- package/lib/modules/setting/minutes-settings/minutes-settings.js +159 -0
- package/lib/modules/setting/state/index.css +0 -4
- package/lib/modules/setting/state/index.js +11 -1
- package/lib/modules/setting/storage-settings/storage-settings.js +1 -1
- package/lib/modules/setting/store.d.ts +6 -4
- package/lib/modules/setting/store.js +68 -40
- package/lib/modules/setting/translate-settings/index.css +45 -0
- package/lib/modules/setting/translate-settings/language-select.d.ts +12 -0
- package/lib/modules/setting/translate-settings/language-select.js +50 -0
- package/lib/modules/setting/translate-settings/translate-settings.d.ts +4 -0
- package/lib/modules/setting/translate-settings/translate-settings.js +139 -0
- package/lib/modules/setting/video-settings/index.css +7 -1
- package/lib/modules/setting/video-settings/video-settings-basic.js +3 -2
- package/lib/modules/setting/video-settings/video-settings.js +5 -1
- package/lib/modules/setting/view.js +34 -2
- package/lib/modules/share-screen/index.d.ts +2 -2
- package/lib/modules/share-screen/index.dev.js +14 -12
- package/lib/modules/share-screen/index.js +2 -0
- package/lib/modules/share-screen/selection/index.js +44 -6
- package/lib/modules/share-screen/share-state-bar/index.css +49 -11
- package/lib/modules/share-screen/share-state-bar/index.d.ts +0 -1
- package/lib/modules/share-screen/share-state-bar/index.js +51 -20
- package/lib/modules/share-screen/store.d.ts +18 -11
- package/lib/modules/share-screen/store.js +656 -570
- package/lib/modules/state-bar/context.d.ts +0 -1
- package/lib/modules/state-bar/index.d.ts +1 -1
- package/lib/modules/state-bar/index.dev.js +11 -9
- package/lib/modules/state-bar/layout-config.js +2 -0
- package/lib/modules/state-bar/live-streaming-state.js +3 -0
- package/lib/modules/state-bar/recording.js +6 -6
- package/lib/modules/state-bar/store.d.ts +4 -4
- package/lib/modules/state-bar/store.js +50 -5
- package/lib/modules/state-bar/view.js +3 -2
- package/lib/modules/video-window/context.d.ts +0 -1
- package/lib/modules/video-window/deviceState/index.d.ts +3 -3
- package/lib/modules/video-window/members/index.js +7 -4
- package/lib/modules/video-window/store.d.ts +3 -2
- package/lib/modules/video-window/store.js +35 -6
- package/lib/modules/video-window/topControl/index.js +7 -0
- package/lib/modules/video-window/view.js +2 -0
- package/lib/modules/whiteboard/app.js +2 -2
- package/lib/modules/whiteboard/components/control-bar/store.d.ts +0 -1
- package/lib/modules/whiteboard/components/control-bar/store.js +29 -29
- package/lib/modules/whiteboard/components/loading/index.js +2 -2
- package/lib/modules/whiteboard/components/multi-window/index.js +2 -2
- package/lib/modules/whiteboard/components/pagination/store.d.ts +0 -1
- package/lib/modules/whiteboard/components/progress/electron.js +1 -1
- package/lib/modules/whiteboard/components/progress/style.css +4 -3
- package/lib/modules/whiteboard/components/switch-theme/index.js +9 -2
- package/lib/modules/whiteboard/components/switch-theme/item.js +2 -0
- package/lib/modules/whiteboard/components/switch-theme/libs.d.ts +2 -1
- package/lib/modules/whiteboard/components/switch-theme/libs.js +21 -20
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/panel.js +2 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/index.js +3 -1
- package/lib/modules/whiteboard/components/toolbar/components/eraser-picker.js +11 -9
- package/lib/modules/whiteboard/components/toolbar/components/extra-tool-picker.js +4 -0
- package/lib/modules/whiteboard/components/toolbar/components/move-handle.js +5 -0
- package/lib/modules/whiteboard/components/toolbar/components/pen-picker.js +2 -0
- package/lib/modules/whiteboard/components/toolbar/components/shape-picker.js +4 -2
- package/lib/modules/whiteboard/components/toolbar/hooks/index.d.ts +3 -3
- package/lib/modules/whiteboard/components/toolbar/hooks/index.js +16 -11
- package/lib/modules/whiteboard/components/toolbar/index.js +9 -0
- package/lib/modules/whiteboard/components/toolbar/store.d.ts +7 -7
- package/lib/modules/whiteboard/components/toolbar/store.js +22 -4
- package/lib/modules/whiteboard/context.d.ts +3 -3
- package/lib/modules/whiteboard/context.js +2 -2
- package/lib/modules/whiteboard/index.d.ts +6 -8
- package/lib/modules/whiteboard/index.js +292 -253
- package/lib/modules/whiteboard/type.d.ts +4 -12
- package/lib/modules/whiteboard/type.js +6 -16
- package/lib/modules/whiteboard/utils.d.ts +1 -0
- package/lib/modules/whiteboard/utils.js +12 -1
- package/lib/plugins/browser-runtime-plugin.js +2 -1
- package/lib/plugins/module-dev-plugin.js +4 -4
- package/lib/plugins/multi-lang-plugin.d.ts +1 -5
- package/lib/plugins/multi-lang-plugin.js +2 -0
- package/lib/runtime.d.ts +3 -5
- package/lib/translations/enUS.d.ts +148 -1
- package/lib/translations/enUS.js +156 -7
- package/lib/translations/zhCN.d.ts +148 -1
- package/lib/translations/zhCN.js +152 -3
- package/lib/ui-manager.d.ts +2 -2
- package/lib/ui-manager.js +37 -20
- package/lib/ui-scene.js +6 -1
- package/lib/utilities/board-context.d.ts +0 -1
- package/lib/utilities/constant.d.ts +4 -1
- package/lib/utilities/constant.js +3 -0
- package/lib/utilities/copyText.js +1 -1
- package/lib/utilities/extract.js +26 -3
- package/lib/utilities/hooks.js +2 -0
- package/lib/utilities/renderer-event.js +28 -0
- package/lib/utilities/renderer.js +9 -4
- package/lib/utilities/tools.js +5 -2
- package/lib/utilities/ui-resources.d.ts +2 -2
- package/lib/utilities/ui-resources.js +20 -3
- package/lib/utilities/video-track-render-context.d.ts +0 -1
- package/package.json +8 -7
|
@@ -12,6 +12,8 @@ require("core-js/modules/es.date.to-string.js");
|
|
|
12
12
|
require("core-js/modules/es.number.constructor.js");
|
|
13
13
|
require("core-js/modules/es.object.to-string.js");
|
|
14
14
|
require("core-js/modules/es.regexp.to-string.js");
|
|
15
|
+
require("core-js/modules/esnext.async-iterator.map.js");
|
|
16
|
+
require("core-js/modules/esnext.iterator.map.js");
|
|
15
17
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
16
18
|
var _react = require("react");
|
|
17
19
|
var _radio = require("agora-ui-foundation/lib/components/radio");
|
|
@@ -27,11 +29,12 @@ var _speakerDetection = require("../../device-pretest/audio-preview/speaker-dete
|
|
|
27
29
|
var _mobxReact = require("mobx-react");
|
|
28
30
|
var _context = require("../context");
|
|
29
31
|
require("./index.css");
|
|
30
|
-
var _type = require("agora-edu-core/lib/type");
|
|
31
32
|
var _icon = require("agora-ui-foundation/lib/components/icon");
|
|
32
|
-
var
|
|
33
|
+
var _type = require("agora-ui-foundation/lib/components/icon/type");
|
|
33
34
|
var _tooltip = require("agora-ui-foundation/lib/components/tooltip");
|
|
34
35
|
var _constant = require("../../../utilities/constant");
|
|
36
|
+
var _env = require("agora-foundation/lib/utilities/env");
|
|
37
|
+
var _agoraEduCore = require("agora-edu-core");
|
|
35
38
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
36
39
|
var AudioSettings = exports.AudioSettings = (0, _mobxReact.observer)(function () {
|
|
37
40
|
var ns = (0, _useNamespace.useNamespace)('device-settings-audio');
|
|
@@ -68,19 +71,19 @@ var AudioSettings = exports.AudioSettings = (0, _mobxReact.observer)(function ()
|
|
|
68
71
|
var noiseReduceOptions = (0, _react.useMemo)(function () {
|
|
69
72
|
return [{
|
|
70
73
|
label: t('fmt_internalsetting_label_automatic'),
|
|
71
|
-
value:
|
|
74
|
+
value: _agoraEduCore.FcrAiDenoiseLevel.AUTO
|
|
72
75
|
}, {
|
|
73
76
|
label: t('fmt_setting_option_3alow'),
|
|
74
77
|
addition: t('fmt_internalsetting_tips_backgroundsound'),
|
|
75
|
-
value:
|
|
78
|
+
value: _agoraEduCore.FcrAiDenoiseLevel.LOW
|
|
76
79
|
}, {
|
|
77
80
|
label: t('fmt_setting_option_3amoderate'),
|
|
78
81
|
addition: t('fmt_internalsetting_tips_fanpan'),
|
|
79
|
-
value:
|
|
82
|
+
value: _agoraEduCore.FcrAiDenoiseLevel.MEDIUM
|
|
80
83
|
}, {
|
|
81
84
|
label: t('fmt_setting_option_3ahigh'),
|
|
82
85
|
addition: t('fmt_internalsetting_tips_dogbarking'),
|
|
83
|
-
value:
|
|
86
|
+
value: _agoraEduCore.FcrAiDenoiseLevel.HIGH
|
|
84
87
|
}];
|
|
85
88
|
}, [t]);
|
|
86
89
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
@@ -139,7 +142,8 @@ var AudioSettings = exports.AudioSettings = (0, _mobxReact.observer)(function ()
|
|
|
139
142
|
microphoneDeviceList: microphoneDeviceList,
|
|
140
143
|
setMicrophoneDevice: setMicrophoneDevice,
|
|
141
144
|
startMicrophoneTest: startMicrophoneTest,
|
|
142
|
-
stopMicrophoneTest: stopMicrophoneTest
|
|
145
|
+
stopMicrophoneTest: stopMicrophoneTest,
|
|
146
|
+
microphoneDetecting: false
|
|
143
147
|
})
|
|
144
148
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
145
149
|
className: ns.e('form-item'),
|
|
@@ -164,7 +168,7 @@ var AudioSettings = exports.AudioSettings = (0, _mobxReact.observer)(function ()
|
|
|
164
168
|
draggableDom: containerDom,
|
|
165
169
|
disabled: setting.autoAdjustmentMicrophoneVolume
|
|
166
170
|
})]
|
|
167
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
171
|
+
}), (0, _env.isElectron)() && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
168
172
|
className: ns.em('checkbox-wrapper', 'bordered'),
|
|
169
173
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
|
|
170
174
|
size: "small",
|
|
@@ -206,7 +210,7 @@ var AudioSettings = exports.AudioSettings = (0, _mobxReact.observer)(function ()
|
|
|
206
210
|
}, item.value);
|
|
207
211
|
})
|
|
208
212
|
})]
|
|
209
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
213
|
+
}), (0, _env.isElectron)() && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
210
214
|
className: (0, _classnames["default"])(ns.e('section'), ns.e('section-pro-audio')),
|
|
211
215
|
id: _constant.HighlightElement.AUDIO_PRO_AUDIO,
|
|
212
216
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
@@ -246,7 +250,7 @@ var AudioSettings = exports.AudioSettings = (0, _mobxReact.observer)(function ()
|
|
|
246
250
|
content: t('fmt_internalsetting_tips_optiomizeaudio'),
|
|
247
251
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
248
252
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
|
|
249
|
-
type:
|
|
253
|
+
type: _type.FcrIconType.FCR_HELPQUESTION,
|
|
250
254
|
size: 14
|
|
251
255
|
})
|
|
252
256
|
})
|
|
@@ -261,7 +265,7 @@ var AudioSettings = exports.AudioSettings = (0, _mobxReact.observer)(function ()
|
|
|
261
265
|
content: t('fmt_internalsetting_tips_preventechoes'),
|
|
262
266
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
263
267
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
|
|
264
|
-
type:
|
|
268
|
+
type: _type.FcrIconType.FCR_HELPQUESTION,
|
|
265
269
|
size: 14
|
|
266
270
|
})
|
|
267
271
|
})
|
|
@@ -282,7 +286,7 @@ var AudioSettings = exports.AudioSettings = (0, _mobxReact.observer)(function ()
|
|
|
282
286
|
content: t('fmt_internalsetting_labels_audiostereoencode'),
|
|
283
287
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
284
288
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
|
|
285
|
-
type:
|
|
289
|
+
type: _type.FcrIconType.FCR_HELPQUESTION,
|
|
286
290
|
size: 14
|
|
287
291
|
})
|
|
288
292
|
})
|
|
@@ -33,9 +33,10 @@ var GeneralSettings = exports.GeneralSettings = (0, _mobxReact.observer)(functio
|
|
|
33
33
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
34
34
|
children: t('fmt_internalsetting_labels_voicestimulation')
|
|
35
35
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_tooltip.FcrToolTip, {
|
|
36
|
+
mouseEnterDelay: 0,
|
|
36
37
|
trigger: "hover",
|
|
37
38
|
placement: "top",
|
|
38
|
-
content: t('
|
|
39
|
+
content: t('fmt_internalsetting_other_spot_light_desc'),
|
|
39
40
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("button", {
|
|
40
41
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
|
|
41
42
|
type: _type.FcrIconType.FCR_HELPQUESTION,
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
margin-bottom: 10px;
|
|
4
4
|
border-radius: var(--fcr_cornerradius_s);
|
|
5
5
|
width: 100%;
|
|
6
|
-
padding: 10px;
|
|
6
|
+
padding: 0 10px 10px;
|
|
7
7
|
background: var(--fcr_mobile_ui_scene_color_popup_block5);
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.fcr-general-settings__basic-form:first-child {
|
|
11
|
-
margin-top:
|
|
11
|
+
margin-top: 0px;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.fcr-general-settings__basic-form .fcr-checkbox {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FcrDesktopMediaControl,
|
|
1
|
+
import { FcrDesktopMediaControl, FcrBaseRoomControl, FcrStreamControl } from 'agora-edu-core';
|
|
2
2
|
import { UIModule } from '../../base';
|
|
3
3
|
import './index.css';
|
|
4
4
|
import { FcrUIEventStore } from '../../common/event-store';
|
|
@@ -13,7 +13,7 @@ export declare class SettingUIModule extends UIModule {
|
|
|
13
13
|
uiEventStore: FcrUIEventStore;
|
|
14
14
|
monitorControl: FcrMonitorControl;
|
|
15
15
|
streamControl: FcrStreamControl;
|
|
16
|
-
roomControl:
|
|
16
|
+
roomControl: FcrBaseRoomControl;
|
|
17
17
|
deviceStore: FcrDeviceStore;
|
|
18
18
|
});
|
|
19
19
|
getComponent(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -16,32 +16,34 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
16
16
|
var App = (0, _root.hot)(function () {
|
|
17
17
|
return null;
|
|
18
18
|
});
|
|
19
|
-
_reactDom["default"].render(
|
|
20
|
-
window.__DEV_ENGINE_IS_READY__.then(
|
|
21
|
-
var engine, roomId, roomControl, userName, uiEventStore, securityStore, deviceStore, uiModule, App;
|
|
19
|
+
_reactDom["default"].render(/*#__PURE__*/(0, _jsxRuntime.jsx)(App, {}), document.querySelector('#root'));
|
|
20
|
+
window.__DEV_ENGINE_IS_READY__.then(/*#__PURE__*/(0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee() {
|
|
21
|
+
var engine, roomId, token, roomControl, userName, uiEventStore, securityStore, deviceStore, uiModule, App;
|
|
22
22
|
return _regenerator["default"].wrap(function _callee$(_context) {
|
|
23
23
|
while (1) switch (_context.prev = _context.next) {
|
|
24
24
|
case 0:
|
|
25
25
|
engine = window.__DEV_ENGINE__;
|
|
26
26
|
roomId = window.__DEV_ROOM_ID__;
|
|
27
|
-
|
|
27
|
+
token = window.__DEV_USER_TOKEN__;
|
|
28
|
+
_context.next = 5;
|
|
28
29
|
return engine.login();
|
|
29
|
-
case
|
|
30
|
+
case 5:
|
|
30
31
|
roomControl = engine.createRoomControl(roomId);
|
|
31
32
|
userName = 'test-user';
|
|
32
|
-
_context.next =
|
|
33
|
+
_context.next = 9;
|
|
33
34
|
return roomControl.join({
|
|
34
35
|
userRole: _type.FcrUserRole.HOST,
|
|
35
36
|
userName: userName,
|
|
37
|
+
roomToken: token,
|
|
36
38
|
streamLatency: _type.FcrStreamLatencyLevel.ULTRA_LOW,
|
|
37
39
|
createStreamConfigs: []
|
|
38
40
|
});
|
|
39
|
-
case
|
|
41
|
+
case 9:
|
|
40
42
|
uiEventStore = new _eventStore.FcrUIEventStore();
|
|
41
43
|
securityStore = new _securityStore.FcrSecurityStore(roomControl.getPrivilegeControl(), roomControl.getUserControl(), roomControl.getStreamControl(), roomControl.getRoomSessionControl(), uiEventStore);
|
|
42
|
-
deviceStore = new _deviceStore.FcrDeviceStore(userName, engine.
|
|
44
|
+
deviceStore = new _deviceStore.FcrDeviceStore(userName, engine.getDesktopMediaControl());
|
|
43
45
|
uiModule = new _.SettingUIModule({
|
|
44
|
-
mediaControl: engine.
|
|
46
|
+
mediaControl: engine.getDesktopMediaControl(),
|
|
45
47
|
config: {
|
|
46
48
|
roomToken: '',
|
|
47
49
|
userName: 'lxy',
|
|
@@ -62,8 +64,8 @@ window.__DEV_ENGINE_IS_READY__.then( /*#__PURE__*/(0, _asyncToGenerator2["defaul
|
|
|
62
64
|
});
|
|
63
65
|
return uiModule.getComponent();
|
|
64
66
|
});
|
|
65
|
-
_reactDom["default"].render(
|
|
66
|
-
case
|
|
67
|
+
_reactDom["default"].render(/*#__PURE__*/(0, _jsxRuntime.jsx)(App, {}), document.querySelector('#root'));
|
|
68
|
+
case 15:
|
|
67
69
|
case "end":
|
|
68
70
|
return _context.stop();
|
|
69
71
|
}
|
|
@@ -19,6 +19,22 @@ require("core-js/modules/es.object.get-own-property-descriptor.js");
|
|
|
19
19
|
require("core-js/modules/es.object.to-string.js");
|
|
20
20
|
require("core-js/modules/es.reflect.construct.js");
|
|
21
21
|
require("core-js/modules/es.string.iterator.js");
|
|
22
|
+
require("core-js/modules/esnext.function.metadata.js");
|
|
23
|
+
require("core-js/modules/esnext.map.delete-all.js");
|
|
24
|
+
require("core-js/modules/esnext.map.emplace.js");
|
|
25
|
+
require("core-js/modules/esnext.map.every.js");
|
|
26
|
+
require("core-js/modules/esnext.map.filter.js");
|
|
27
|
+
require("core-js/modules/esnext.map.find.js");
|
|
28
|
+
require("core-js/modules/esnext.map.find-key.js");
|
|
29
|
+
require("core-js/modules/esnext.map.includes.js");
|
|
30
|
+
require("core-js/modules/esnext.map.key-of.js");
|
|
31
|
+
require("core-js/modules/esnext.map.map-keys.js");
|
|
32
|
+
require("core-js/modules/esnext.map.map-values.js");
|
|
33
|
+
require("core-js/modules/esnext.map.merge.js");
|
|
34
|
+
require("core-js/modules/esnext.map.reduce.js");
|
|
35
|
+
require("core-js/modules/esnext.map.some.js");
|
|
36
|
+
require("core-js/modules/esnext.map.update.js");
|
|
37
|
+
require("core-js/modules/esnext.symbol.metadata.js");
|
|
22
38
|
require("core-js/modules/web.dom-collections.iterator.js");
|
|
23
39
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
24
40
|
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
.fcr-minutes-settings {
|
|
2
|
+
padding-top: 15px;
|
|
3
|
+
}
|
|
4
|
+
.fcr-minutes-settings__section {
|
|
5
|
+
margin-top: 10px;
|
|
6
|
+
border-radius: var(--fcr_cornerradius_s);
|
|
7
|
+
width: 100%;
|
|
8
|
+
background: var(--fcr_mobile_ui_scene_color_popup_block5);
|
|
9
|
+
padding-bottom: 12px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.fcr-minutes-settings__section:first-child {
|
|
13
|
+
margin-top: 0;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.fcr-minutes-settings__section:last-child {
|
|
17
|
+
margin-bottom: 10px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.fcr-minutes-settings__section-title {
|
|
21
|
+
padding: 0 10px 0 12px;
|
|
22
|
+
font-size: 13px;
|
|
23
|
+
line-height: 32px;
|
|
24
|
+
font-weight: 700;
|
|
25
|
+
color: var(--fcr_ui_scene_icontext1);
|
|
26
|
+
}
|
|
27
|
+
.fcr-minutes-settings__section-sub-title {
|
|
28
|
+
padding: 0 10px 0 12px;
|
|
29
|
+
font-size: 12px;
|
|
30
|
+
color: var(--fcr_ui_scene_icontext1);
|
|
31
|
+
margin-bottom: 10px;
|
|
32
|
+
}
|
|
33
|
+
.fcr-minutes-settings__section-content-mode {
|
|
34
|
+
display: flex;
|
|
35
|
+
gap: 7px;
|
|
36
|
+
padding: 0 9px;
|
|
37
|
+
}
|
|
38
|
+
.fcr-minutes-settings__mode-item-content {
|
|
39
|
+
box-sizing: border-box;
|
|
40
|
+
height: 100%;
|
|
41
|
+
display: flex;
|
|
42
|
+
flex-direction: column;
|
|
43
|
+
align-items: center;
|
|
44
|
+
justify-content: center;
|
|
45
|
+
border: 1px solid var(--fcr_ui_scene_line1);
|
|
46
|
+
border-radius: var(--fcr_cornerradius_xs);
|
|
47
|
+
font-size: 13px;
|
|
48
|
+
padding: 5px;
|
|
49
|
+
}
|
|
50
|
+
.fcr-minutes-settings__mode-item {
|
|
51
|
+
flex: 1;
|
|
52
|
+
padding: 3px;
|
|
53
|
+
height: 90px;
|
|
54
|
+
box-sizing: border-box;
|
|
55
|
+
border-radius: var(--fcr_cornerradius_s);
|
|
56
|
+
border: 2px solid transparent;
|
|
57
|
+
}
|
|
58
|
+
.fcr-minutes-settings__mode-item-active {
|
|
59
|
+
border-radius: var(--fcr_cornerradius_s);
|
|
60
|
+
border: 2px solid var(--fcr_ui_scene_ramp_brand6);
|
|
61
|
+
}
|
|
62
|
+
.fcr-minutes-settings__mode-text {
|
|
63
|
+
white-space: nowrap;
|
|
64
|
+
text-align: center;
|
|
65
|
+
}
|
|
@@ -0,0 +1,159 @@
|
|
|
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["default"] = exports.MinutesSettings = void 0;
|
|
9
|
+
require("core-js/modules/es.array.map.js");
|
|
10
|
+
require("core-js/modules/esnext.async-iterator.map.js");
|
|
11
|
+
require("core-js/modules/esnext.iterator.map.js");
|
|
12
|
+
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
13
|
+
var _react = require("react");
|
|
14
|
+
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
15
|
+
var _useNamespace = require("../common/useNamespace");
|
|
16
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
17
|
+
require("./index.css");
|
|
18
|
+
var _mobxReact = require("mobx-react");
|
|
19
|
+
var _context = require("../context");
|
|
20
|
+
var _icon = require("agora-ui-foundation/lib/components/icon");
|
|
21
|
+
var _type = require("agora-ui-foundation/lib/components/icon/type");
|
|
22
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
23
|
+
var MinutesSettings = exports.MinutesSettings = (0, _mobxReact.observer)(function () {
|
|
24
|
+
var ns = (0, _useNamespace.useNamespace)('minutes-settings');
|
|
25
|
+
var t = (0, _i18n.useI18n)();
|
|
26
|
+
var _useState = (0, _react.useState)('1'),
|
|
27
|
+
_useState2 = (0, _slicedToArray2["default"])(_useState, 2),
|
|
28
|
+
mode = _useState2[0],
|
|
29
|
+
setMode = _useState2[1];
|
|
30
|
+
var _useState3 = (0, _react.useState)('5'),
|
|
31
|
+
_useState4 = (0, _slicedToArray2["default"])(_useState3, 2),
|
|
32
|
+
agent = _useState4[0],
|
|
33
|
+
setAgent = _useState4[1];
|
|
34
|
+
var _useContext = (0, _react.useContext)(_context.StoreContext),
|
|
35
|
+
setting = _useContext.setting,
|
|
36
|
+
setSetting = _useContext.setSetting;
|
|
37
|
+
var iconSize = 48;
|
|
38
|
+
var modeList = [{
|
|
39
|
+
text: t('fmt_ai_summary_setting_option_tingwu'),
|
|
40
|
+
value: '1',
|
|
41
|
+
icon: _type.FcrIconType.FCR_ALIYUN,
|
|
42
|
+
size: iconSize
|
|
43
|
+
}, {
|
|
44
|
+
text: t('fmt_ai_summary_setting_option_zhipu'),
|
|
45
|
+
value: '2',
|
|
46
|
+
icon: _type.FcrIconType.ZHIPUAI,
|
|
47
|
+
size: iconSize
|
|
48
|
+
}, {
|
|
49
|
+
text: t('fmt_ai_summary_setting_option_moonshot'),
|
|
50
|
+
value: '3',
|
|
51
|
+
icon: _type.FcrIconType.LOGO_MOONSHOT,
|
|
52
|
+
size: iconSize
|
|
53
|
+
}, {
|
|
54
|
+
text: t('fmt_ai_summary_setting_option_openai'),
|
|
55
|
+
value: '4',
|
|
56
|
+
icon: _type.FcrIconType.LOGO_OPENAI,
|
|
57
|
+
size: iconSize
|
|
58
|
+
}];
|
|
59
|
+
var agentList = [{
|
|
60
|
+
text: t('fmt_ai_summary_setting_option_meeting_assistant'),
|
|
61
|
+
value: '5',
|
|
62
|
+
icon: _type.FcrIconType.FCR_SETTING_MEETINGASSISTANT,
|
|
63
|
+
size: iconSize
|
|
64
|
+
}, {
|
|
65
|
+
text: t('fmt_ai_summary_setting_option_teacher'),
|
|
66
|
+
value: '6',
|
|
67
|
+
icon: _type.FcrIconType.FCR_SETTING_TEACHER,
|
|
68
|
+
size: iconSize
|
|
69
|
+
}, {
|
|
70
|
+
text: t('fmt_ai_summary_setting_option_sales_manager'),
|
|
71
|
+
value: '7',
|
|
72
|
+
icon: _type.FcrIconType.SET_SALE,
|
|
73
|
+
size: iconSize
|
|
74
|
+
}];
|
|
75
|
+
var handleModeChange = function handleModeChange(value) {
|
|
76
|
+
if (value === mode) {
|
|
77
|
+
setMode('0');
|
|
78
|
+
} else {
|
|
79
|
+
setMode(value);
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
var handleAgentChange = function handleAgentChange(value) {
|
|
83
|
+
if (value === agent) {
|
|
84
|
+
setAgent('0');
|
|
85
|
+
} else {
|
|
86
|
+
setAgent(value);
|
|
87
|
+
}
|
|
88
|
+
};
|
|
89
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
90
|
+
className: ns.b(),
|
|
91
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
92
|
+
className: (0, _classnames["default"])(ns.e('section'), ns.e('section-mode-select')),
|
|
93
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
94
|
+
className: ns.e('section-title'),
|
|
95
|
+
children: t('fmt_ai_summary_setting_label_LLM_choose')
|
|
96
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
97
|
+
className: ns.e('section-sub-title'),
|
|
98
|
+
children: t('fmt_ai_summary_setting_label_llm_range')
|
|
99
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
100
|
+
className: ns.e('section-content-mode'),
|
|
101
|
+
children: modeList.length && modeList.map(function (item, index) {
|
|
102
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
103
|
+
onClick: function onClick() {
|
|
104
|
+
return handleModeChange(item.value);
|
|
105
|
+
},
|
|
106
|
+
className: (0, _classnames["default"])(ns.e('mode-item'), {
|
|
107
|
+
'fcr-minutes-settings__mode-item-active': mode === item.value
|
|
108
|
+
}),
|
|
109
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
110
|
+
className: (0, _classnames["default"])(ns.e('mode-item-content')),
|
|
111
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
112
|
+
className: ns.e('mode-icon'),
|
|
113
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
|
|
114
|
+
type: item.icon,
|
|
115
|
+
size: item.size
|
|
116
|
+
})
|
|
117
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
118
|
+
className: ns.e('mode-text'),
|
|
119
|
+
children: item.text
|
|
120
|
+
})]
|
|
121
|
+
})
|
|
122
|
+
}, index);
|
|
123
|
+
})
|
|
124
|
+
})]
|
|
125
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
126
|
+
className: (0, _classnames["default"])(ns.e('section'), ns.e('section-agent-select')),
|
|
127
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
128
|
+
className: ns.e('section-title'),
|
|
129
|
+
children: t('fmt_ai_summary_setting_label_agent')
|
|
130
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
131
|
+
className: ns.e('section-content-mode'),
|
|
132
|
+
children: agentList.length && agentList.map(function (item, index) {
|
|
133
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
134
|
+
onClick: function onClick() {
|
|
135
|
+
return handleAgentChange(item.value);
|
|
136
|
+
},
|
|
137
|
+
className: (0, _classnames["default"])(ns.e('mode-item'), {
|
|
138
|
+
'fcr-minutes-settings__mode-item-active': agent === item.value
|
|
139
|
+
}),
|
|
140
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
141
|
+
className: (0, _classnames["default"])(ns.e('mode-item-content')),
|
|
142
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
143
|
+
className: ns.e('mode-icon'),
|
|
144
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
|
|
145
|
+
type: item.icon,
|
|
146
|
+
size: item.size
|
|
147
|
+
})
|
|
148
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
149
|
+
className: ns.e('mode-text'),
|
|
150
|
+
children: item.text
|
|
151
|
+
})]
|
|
152
|
+
})
|
|
153
|
+
}, index);
|
|
154
|
+
})
|
|
155
|
+
})]
|
|
156
|
+
})]
|
|
157
|
+
});
|
|
158
|
+
});
|
|
159
|
+
var _default = exports["default"] = MinutesSettings;
|
|
@@ -8,6 +8,10 @@ require("core-js/modules/es.object.define-property.js");
|
|
|
8
8
|
require("core-js/modules/es.object.get-own-property-descriptor.js");
|
|
9
9
|
require("core-js/modules/es.object.get-own-property-descriptors.js");
|
|
10
10
|
require("core-js/modules/es.object.keys.js");
|
|
11
|
+
require("core-js/modules/esnext.async-iterator.filter.js");
|
|
12
|
+
require("core-js/modules/esnext.async-iterator.for-each.js");
|
|
13
|
+
require("core-js/modules/esnext.iterator.filter.js");
|
|
14
|
+
require("core-js/modules/esnext.iterator.for-each.js");
|
|
11
15
|
require("core-js/modules/web.dom-collections.for-each.js");
|
|
12
16
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
13
17
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -24,6 +28,11 @@ require("core-js/modules/es.date.to-json.js");
|
|
|
24
28
|
require("core-js/modules/es.json.stringify.js");
|
|
25
29
|
require("core-js/modules/es.number.to-fixed.js");
|
|
26
30
|
require("core-js/modules/es.object.to-string.js");
|
|
31
|
+
require("core-js/modules/esnext.async-iterator.map.js");
|
|
32
|
+
require("core-js/modules/esnext.async-iterator.reduce.js");
|
|
33
|
+
require("core-js/modules/esnext.iterator.constructor.js");
|
|
34
|
+
require("core-js/modules/esnext.iterator.map.js");
|
|
35
|
+
require("core-js/modules/esnext.iterator.reduce.js");
|
|
27
36
|
var _react = require("react");
|
|
28
37
|
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
29
38
|
var _mobxReact = require("mobx-react");
|
|
@@ -35,6 +44,7 @@ var _icon = require("agora-ui-foundation/lib/components/icon");
|
|
|
35
44
|
var _type = require("agora-ui-foundation/lib/components/icon/type");
|
|
36
45
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
37
46
|
var _constant = require("../../../utilities/constant");
|
|
47
|
+
var _env = require("agora-foundation/lib/utilities/env");
|
|
38
48
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
39
49
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
40
50
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -159,7 +169,7 @@ var State = exports.State = (0, _mobxReact.observer)(function () {
|
|
|
159
169
|
})
|
|
160
170
|
}), activeKey === 'universal' && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
161
171
|
className: ns.b('universal'),
|
|
162
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
172
|
+
children: [(0, _env.isElectron)() && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
163
173
|
className: ns.be('universal', 'cpu-wrapper'),
|
|
164
174
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(CPUCard, {
|
|
165
175
|
title: "CPU",
|
|
@@ -21,7 +21,7 @@ var StorageSettings = exports.StorageSettings = (0, _mobxReact.observer)(functio
|
|
|
21
21
|
var _useContext = (0, _react.useContext)(_context2.StoreContext),
|
|
22
22
|
recordingPath = _useContext.setting.recordingPath,
|
|
23
23
|
setSetting = _useContext.setSetting;
|
|
24
|
-
var editRecordingPath = (0, _react.useCallback)(
|
|
24
|
+
var editRecordingPath = (0, _react.useCallback)(/*#__PURE__*/(0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee() {
|
|
25
25
|
var path;
|
|
26
26
|
return _regenerator["default"].wrap(function _callee$(_context) {
|
|
27
27
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
import { FcrDesktopMediaControl, FcrMainRoomControl, FcrMonitorControl, FcrStreamControl } from 'agora-edu-core';
|
|
1
|
+
import { FcrAiDenoiseLevel, FcrDesktopMediaControl, FcrMonitorControl, FcrStreamControl } from 'agora-edu-core';
|
|
3
2
|
import { FcrBeautyOptions } from 'agora-edu-core/lib/media-control/type';
|
|
4
|
-
import {
|
|
3
|
+
import { FcrPerformanceInfo } from 'agora-edu-core/lib/type';
|
|
5
4
|
import { AgoraRtcNetworkStats } from 'agora-rte-sdk';
|
|
6
5
|
import { FcrUIEventStore } from '../../common/event-store';
|
|
7
6
|
import { HighlightElement } from '../../utilities/constant';
|
|
@@ -9,6 +8,7 @@ import { DEFAULT_BEAUTY_VALUE } from 'agora-ui-foundation/lib/components/local-v
|
|
|
9
8
|
import { FcrUISceneConfig } from '../../type';
|
|
10
9
|
import { VirtualBackground } from '../device-pretest/assets/virtual-backdound-resources';
|
|
11
10
|
import { FcrDeviceStore } from '../../common/device-store';
|
|
11
|
+
import { FcrMainRoomControl } from 'agora-edu-core/lib/room-control/type';
|
|
12
12
|
export interface DeviceItem {
|
|
13
13
|
text: string;
|
|
14
14
|
value: string;
|
|
@@ -18,7 +18,9 @@ export declare enum DeviceSettingTab {
|
|
|
18
18
|
AUDIO = "audio",
|
|
19
19
|
VIDEO = "video",
|
|
20
20
|
STORAGE = "storage",
|
|
21
|
-
STATE = "state"
|
|
21
|
+
STATE = "state",
|
|
22
|
+
TRANSLATE = "translate",
|
|
23
|
+
MINUTES = "minutes"
|
|
22
24
|
}
|
|
23
25
|
export type VideoActiveTab = 'basic' | 'virtual-background' | 'beauty-filter';
|
|
24
26
|
export interface DeviceSettingDialogConfig {
|