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
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
/*
|
|
2
|
+
|
|
3
|
+
Copyright 2009 The Closure Library Authors
|
|
4
|
+
Copyright 2020 Daniel Wirtz / The long.js Authors.
|
|
5
|
+
|
|
6
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
you may not use this file except in compliance with the License.
|
|
8
|
+
You may obtain a copy of the License at
|
|
9
|
+
|
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
|
|
12
|
+
Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
See the License for the specific language governing permissions and
|
|
16
|
+
limitations under the License.
|
|
17
|
+
|
|
18
|
+
SPDX-License-Identifier: Apache-2.0
|
|
19
|
+
@preserve
|
|
20
|
+
AgoraRTM Web SDK 2.2.0 - commit: v2.2.0-0-g984eabda
|
|
21
|
+
Copyright (C) 2018-2024 Agora Lab.
|
|
22
|
+
This file is licensed under the AGORA, INC. SDK LICENSE AGREEMENT
|
|
23
|
+
A copy of this license may be found at https://www.agora.io/en/sdk-license-agreement/
|
|
24
|
+
*****************************************************************************
|
|
25
|
+
Copyright (c) Microsoft Corporation.
|
|
26
|
+
|
|
27
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
28
|
+
purpose with or without fee is hereby granted.
|
|
29
|
+
|
|
30
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
31
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
32
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
33
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
34
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
35
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
36
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
37
|
+
*****************************************************************************/
|
|
38
|
+
|
|
39
|
+
/*
|
|
40
|
+
object-assign
|
|
41
|
+
(c) Sindre Sorhus
|
|
42
|
+
@license MIT
|
|
43
|
+
*/
|
|
44
|
+
|
|
45
|
+
/*!
|
|
46
|
+
Copyright (c) 2018 Jed Watson.
|
|
47
|
+
Licensed under the MIT License (MIT), see
|
|
48
|
+
http://jedwatson.github.io/classnames
|
|
49
|
+
*/
|
|
50
|
+
|
|
51
|
+
/*!
|
|
52
|
+
|
|
53
|
+
JSZip v3.10.1 - A JavaScript class for generating and reading zip files
|
|
54
|
+
<http://stuartk.com/jszip>
|
|
55
|
+
|
|
56
|
+
(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
|
|
57
|
+
Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
|
|
58
|
+
|
|
59
|
+
JSZip uses the library pako released under the MIT license :
|
|
60
|
+
https://github.com/nodeca/pako/blob/main/LICENSE
|
|
61
|
+
*/
|
|
62
|
+
|
|
63
|
+
/*!
|
|
64
|
+
* decimal.js v10.4.3
|
|
65
|
+
* An arbitrary-precision Decimal type for JavaScript.
|
|
66
|
+
* https://github.com/MikeMcl/decimal.js
|
|
67
|
+
* Copyright (c) 2022 Michael Mclaughlin <M8ch88l@gmail.com>
|
|
68
|
+
* MIT Licence
|
|
69
|
+
*/
|
|
70
|
+
|
|
71
|
+
/*!
|
|
72
|
+
* html2canvas 1.4.1 <https://html2canvas.hertzen.com>
|
|
73
|
+
* Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
|
|
74
|
+
* Released under MIT License
|
|
75
|
+
*/
|
|
76
|
+
|
|
77
|
+
/*! *****************************************************************************
|
|
78
|
+
Copyright (c) Microsoft Corporation.
|
|
79
|
+
|
|
80
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
81
|
+
purpose with or without fee is hereby granted.
|
|
82
|
+
|
|
83
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
84
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
85
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
86
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
87
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
88
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
89
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
90
|
+
***************************************************************************** */
|
|
91
|
+
|
|
92
|
+
/*! *****************************************************************************
|
|
93
|
+
Copyright (c) Microsoft Corporation.
|
|
94
|
+
|
|
95
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
96
|
+
purpose with or without fee is hereby granted.
|
|
97
|
+
|
|
98
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
99
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
100
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
101
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
102
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
103
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
104
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
105
|
+
***************************************************************************** */
|
|
106
|
+
|
|
107
|
+
/*! @name @videojs/http-streaming @version 3.13.3 @license Apache-2.0 */
|
|
108
|
+
|
|
109
|
+
/*! @name aes-decrypter @version 4.0.1 @license Apache-2.0 */
|
|
110
|
+
|
|
111
|
+
/*! @name m3u8-parser @version 7.2.0 @license Apache-2.0 */
|
|
112
|
+
|
|
113
|
+
/*! @name pkcs7 @version 1.0.4 @license Apache-2.0 */
|
|
114
|
+
|
|
115
|
+
/*! @name videojs-contrib-quality-levels @version 4.1.0 @license Apache-2.0 */
|
|
116
|
+
|
|
117
|
+
/*! formdata-polyfill. MIT License. Jimmy W?rting <https://jimmy.warting.se/opensource> */
|
|
118
|
+
|
|
119
|
+
/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */
|
|
120
|
+
|
|
121
|
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* @preserve JavaScript implementation of
|
|
125
|
+
* Algorithm for Automatically Fitting Digitized Curves
|
|
126
|
+
* by Philip J. Schneider
|
|
127
|
+
* "Graphics Gems", Academic Press, 1990
|
|
128
|
+
*
|
|
129
|
+
* The MIT License (MIT)
|
|
130
|
+
*
|
|
131
|
+
* https://github.com/soswow/fit-curves
|
|
132
|
+
*/
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* @license
|
|
136
|
+
* Lodash <https://lodash.com/>
|
|
137
|
+
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
138
|
+
* Released under MIT license <https://lodash.com/license>
|
|
139
|
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
140
|
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
141
|
+
*/
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* @license
|
|
145
|
+
* slighly modified parse-headers 2.0.2 <https://github.com/kesla/parse-headers/>
|
|
146
|
+
* Copyright (c) 2014 David Björklund
|
|
147
|
+
* Available under the MIT license
|
|
148
|
+
* <https://github.com/kesla/parse-headers/blob/master/LICENCE>
|
|
149
|
+
*/
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* @license Complex.js v2.1.1 12/05/2020
|
|
153
|
+
*
|
|
154
|
+
* Copyright (c) 2020, Robert Eisele (robert@xarg.org)
|
|
155
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
|
156
|
+
**/
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* @license Fraction.js v4.3.7 31/08/2023
|
|
160
|
+
* https://www.xarg.org/2014/03/rational-numbers-in-javascript/
|
|
161
|
+
*
|
|
162
|
+
* Copyright (c) 2023, Robert Eisele (robert@raw.org)
|
|
163
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
|
164
|
+
**/
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* @license React
|
|
168
|
+
* react-is.production.min.js
|
|
169
|
+
*
|
|
170
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
171
|
+
*
|
|
172
|
+
* This source code is licensed under the MIT license found in the
|
|
173
|
+
* LICENSE file in the root directory of this source tree.
|
|
174
|
+
*/
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* @license React
|
|
178
|
+
* use-sync-external-store-shim.production.min.js
|
|
179
|
+
*
|
|
180
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
181
|
+
*
|
|
182
|
+
* This source code is licensed under the MIT license found in the
|
|
183
|
+
* LICENSE file in the root directory of this source tree.
|
|
184
|
+
*/
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* [js-md5]{@link https://github.com/emn178/js-md5}
|
|
188
|
+
*
|
|
189
|
+
* @namespace md5
|
|
190
|
+
* @version 0.8.3
|
|
191
|
+
* @author Chen, Yi-Cyuan [emn178@gmail.com]
|
|
192
|
+
* @copyright Chen, Yi-Cyuan 2014-2023
|
|
193
|
+
* @license MIT
|
|
194
|
+
*/
|
|
195
|
+
|
|
196
|
+
/** @license React v0.19.1
|
|
197
|
+
* scheduler.production.min.js
|
|
198
|
+
*
|
|
199
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
200
|
+
*
|
|
201
|
+
* This source code is licensed under the MIT license found in the
|
|
202
|
+
* LICENSE file in the root directory of this source tree.
|
|
203
|
+
*/
|
|
204
|
+
|
|
205
|
+
/** @license React v0.20.2
|
|
206
|
+
* scheduler.production.min.js
|
|
207
|
+
*
|
|
208
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
209
|
+
*
|
|
210
|
+
* This source code is licensed under the MIT license found in the
|
|
211
|
+
* LICENSE file in the root directory of this source tree.
|
|
212
|
+
*/
|
|
213
|
+
|
|
214
|
+
/** @license React v16.14.0
|
|
215
|
+
* react-dom.production.min.js
|
|
216
|
+
*
|
|
217
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
218
|
+
*
|
|
219
|
+
* This source code is licensed under the MIT license found in the
|
|
220
|
+
* LICENSE file in the root directory of this source tree.
|
|
221
|
+
*/
|
|
222
|
+
|
|
223
|
+
/** @license React v17.0.2
|
|
224
|
+
* react-dom.production.min.js
|
|
225
|
+
*
|
|
226
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
227
|
+
*
|
|
228
|
+
* This source code is licensed under the MIT license found in the
|
|
229
|
+
* LICENSE file in the root directory of this source tree.
|
|
230
|
+
*/
|
|
231
|
+
|
|
232
|
+
/** @license React v17.0.2
|
|
233
|
+
* react-jsx-runtime.production.min.js
|
|
234
|
+
*
|
|
235
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
236
|
+
*
|
|
237
|
+
* This source code is licensed under the MIT license found in the
|
|
238
|
+
* LICENSE file in the root directory of this source tree.
|
|
239
|
+
*/
|
|
240
|
+
|
|
241
|
+
/** @license React v17.0.2
|
|
242
|
+
* react.production.min.js
|
|
243
|
+
*
|
|
244
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
245
|
+
*
|
|
246
|
+
* This source code is licensed under the MIT license found in the
|
|
247
|
+
* LICENSE file in the root directory of this source tree.
|
|
248
|
+
*/
|
|
249
|
+
|
|
250
|
+
//!! Deliberately using an API that's deprecated in node.js because
|
|
251
|
+
|
|
252
|
+
//!! Discussion: github.com/node-browser-compat/atob/pull/9
|
|
253
|
+
|
|
254
|
+
//!! this file is for browsers and we expect them to cope with it.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
|
|
3
|
+
JSZip v3.10.1 - A JavaScript class for generating and reading zip files
|
|
4
|
+
<http://stuartk.com/jszip>
|
|
5
|
+
|
|
6
|
+
(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
|
|
7
|
+
Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
|
|
8
|
+
|
|
9
|
+
JSZip uses the library pako released under the MIT license :
|
|
10
|
+
https://github.com/nodeca/pako/blob/main/LICENSE
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
package/lib/base.d.ts
CHANGED
package/lib/base.js
CHANGED
|
@@ -18,6 +18,22 @@ require("core-js/modules/es.object.define-property.js");
|
|
|
18
18
|
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.string.iterator.js");
|
|
21
|
+
require("core-js/modules/esnext.function.metadata.js");
|
|
22
|
+
require("core-js/modules/esnext.map.delete-all.js");
|
|
23
|
+
require("core-js/modules/esnext.map.emplace.js");
|
|
24
|
+
require("core-js/modules/esnext.map.every.js");
|
|
25
|
+
require("core-js/modules/esnext.map.filter.js");
|
|
26
|
+
require("core-js/modules/esnext.map.find.js");
|
|
27
|
+
require("core-js/modules/esnext.map.find-key.js");
|
|
28
|
+
require("core-js/modules/esnext.map.includes.js");
|
|
29
|
+
require("core-js/modules/esnext.map.key-of.js");
|
|
30
|
+
require("core-js/modules/esnext.map.map-keys.js");
|
|
31
|
+
require("core-js/modules/esnext.map.map-values.js");
|
|
32
|
+
require("core-js/modules/esnext.map.merge.js");
|
|
33
|
+
require("core-js/modules/esnext.map.reduce.js");
|
|
34
|
+
require("core-js/modules/esnext.map.some.js");
|
|
35
|
+
require("core-js/modules/esnext.map.update.js");
|
|
36
|
+
require("core-js/modules/esnext.symbol.metadata.js");
|
|
21
37
|
require("core-js/modules/web.dom-collections.iterator.js");
|
|
22
38
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
23
39
|
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="lodash" />
|
|
2
|
-
import { FcrDesktopMediaControl } from 'agora-edu-core';
|
|
3
1
|
import { FcrBeautyOptions } from 'agora-edu-core/lib/media-control/type';
|
|
4
|
-
import {
|
|
2
|
+
import { FcrDeviceInfo } from 'agora-edu-core/lib/type';
|
|
5
3
|
import { VirtualBackground } from '../modules/device-pretest/assets/virtual-backdound-resources';
|
|
6
4
|
import { FcrUIResource } from '../type';
|
|
5
|
+
import { FcrAiDenoiseLevel, FcrDesktopMediaControl } from 'agora-edu-core';
|
|
7
6
|
export type BeautyKey = 'none' | 'smoothnessLevel' | 'lighteningLevel' | 'lighteningLevel';
|
|
8
7
|
export interface FcrDeviceObserver {
|
|
9
8
|
onCameraChanged?(cameraId: string): void;
|
|
@@ -111,7 +110,7 @@ export declare class FcrDeviceStore {
|
|
|
111
110
|
setCameraId(cameraId: string): void;
|
|
112
111
|
setSpeakerId(speakerId: string): Promise<void>;
|
|
113
112
|
setMicrophoneId(microphoneId: string): Promise<void>;
|
|
114
|
-
setSpeakerVolume: import("lodash").
|
|
113
|
+
setSpeakerVolume: import("lodash").DebouncedFuncLeading<(value: number) => void>;
|
|
115
114
|
setMicrophoneVolume(value: number): void;
|
|
116
115
|
actionsBeforeJoin(): void;
|
|
117
116
|
startOrStopCamera(enable: boolean): void;
|