fcr-ui-scene 3.9.0-alpha → 3.9.1-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/creator/provider-initializer.browser.js +4 -2
- package/lib/creator/provider-initializer.electron.js +13 -5
- package/lib/electron/injections.d.ts +1 -0
- package/lib/electron/injections.js +4 -1
- package/lib/electron/preload.js +1 -0
- package/lib/fragments/annotation/style.css +1 -0
- package/lib/fragments/whiteboard/style.css +4 -0
- package/lib/modules/action-bar/main-scene/store.base.d.ts +1 -0
- package/lib/modules/action-bar/main-scene/store.base.js +5 -0
- package/lib/modules/audio-stream/index.d.ts +2 -0
- package/lib/modules/audio-stream/index.js +33 -1
- package/lib/modules/chat/chat-room-store.js +4 -2
- package/lib/modules/chat/index.js +1 -1
- package/lib/modules/chat/store.d.ts +1 -1
- package/lib/modules/chat/store.js +4 -2
- package/lib/modules/components/device-control/store.base.d.ts +1 -0
- package/lib/modules/components/device-control/store.base.js +22 -3
- package/lib/modules/components/leave-meeting/index.js +3 -2
- package/lib/modules/components/leave-meeting/main-scene/store.d.ts +1 -0
- package/lib/modules/components/leave-meeting/main-scene/store.js +6 -1
- package/lib/modules/components/leave-meeting/store.base.d.ts +1 -0
- package/lib/modules/components/leave-meeting/store.base.js +1 -1
- package/lib/modules/components/leave-meeting/waiting-scene/store.d.ts +1 -0
- package/lib/modules/components/leave-meeting/waiting-scene/store.js +6 -1
- package/lib/modules/components/member-window/components/member-actions/components/icon-status.js +7 -10
- package/lib/modules/components/member-window/components/member-actions/components/more-actions.js +2 -2
- package/lib/modules/components/member-window/components/member-actions/index.js +0 -7
- package/lib/modules/components/member-window/components/member-actions/store.js +1 -1
- package/lib/modules/components/member-window/index.js +1 -1
- package/lib/modules/components/tab-frame/index.css +12 -1
- package/lib/modules/components/tab-frame/index.js +4 -1
- package/lib/modules/control-bar/components/share-state-nav/index.js +1 -3
- package/lib/modules/control-bar/mouse-event-bridge.d.ts +23 -0
- package/lib/modules/control-bar/mouse-event-bridge.js +87 -0
- package/lib/modules/control-bar/store.d.ts +3 -2
- package/lib/modules/control-bar/store.js +17 -29
- package/lib/modules/control-bar/type.d.ts +0 -1
- package/lib/modules/control-bar/view.js +21 -17
- package/lib/modules/dialog/dialogs/connection-gateway/tabs.js +3 -2
- package/lib/modules/dialog/dialogs/invite/index.js +6 -24
- package/lib/modules/invite/components/copy-info.css +72 -0
- package/lib/modules/invite/components/copy-info.d.ts +3 -0
- package/lib/modules/invite/components/copy-info.js +144 -0
- package/lib/modules/invite/components/pstn-invite.js +3 -15
- package/lib/modules/invite/components/voip-invite.js +10 -1
- package/lib/modules/invite/enums.d.ts +3 -1
- package/lib/modules/invite/enums.js +2 -0
- package/lib/modules/invite/store.d.ts +4 -1
- package/lib/modules/invite/store.js +37 -13
- package/lib/modules/invite/view.js +41 -20
- package/lib/modules/layout/store.base.d.ts +2 -1
- package/lib/modules/layout/store.base.js +20 -23
- package/lib/modules/participant/components/confirm-input/index.css +67 -1
- package/lib/modules/participant/components/confirm-input/index.js +16 -13
- package/lib/modules/participant/components/participants/components/render-user/components/attendee/index.css +4 -0
- package/lib/modules/participant/store.base.d.ts +1 -0
- package/lib/modules/participant/store.base.js +34 -7
- package/lib/modules/pc-audio-connect/main-scene/store.d.ts +2 -0
- package/lib/modules/pc-audio-connect/main-scene/store.js +12 -2
- package/lib/modules/pc-audio-connect/view.js +4 -2
- package/lib/modules/phone-audio-connect/store.d.ts +6 -4
- package/lib/modules/phone-audio-connect/store.js +12 -1
- package/lib/modules/phone-audio-connect/view.js +6 -4
- package/lib/modules/secondary-window/index.js +2 -2
- package/lib/modules/secondary-window/store.d.ts +3 -0
- package/lib/modules/secondary-window/store.js +16 -1
- package/lib/modules/secondary-window/view.js +96 -72
- package/lib/modules/toast-manager/type.d.ts +2 -1
- package/lib/modules/toast-manager/type.js +4 -1
- package/lib/plugins/module-dev-plugin.js +4 -4
- package/lib/providers/ability-provider.d.ts +15 -0
- package/lib/providers/ability-provider.js +13 -1
- package/lib/providers/mouse-detect/provider.d.ts +2 -0
- package/lib/providers/mouse-detect/provider.empty.d.ts +14 -0
- package/lib/providers/mouse-detect/provider.empty.js +47 -0
- package/lib/providers/mouse-detect/provider.js +13 -4
- package/lib/providers/mouse-detect/type.d.ts +2 -0
- package/lib/providers/phone-audio-provider.d.ts +31 -5
- package/lib/providers/phone-audio-provider.js +83 -22
- package/lib/providers/user-audio-volume-provider.d.ts +6 -0
- package/lib/providers/user-audio-volume-provider.js +3 -2
- package/lib/runtime.d.ts +1 -0
- package/lib/scenes/main-scene.js +2 -1
- package/lib/shared-data/chat-data.d.ts +19 -0
- package/lib/shared-data/chat-data.js +54 -7
- package/lib/shared-data/member-data.d.ts +9 -1
- package/lib/shared-data/member-data.js +46 -17
- package/lib/shared-data/video-window.js +8 -4
- package/lib/translations/enUS.d.ts +245 -1
- package/lib/translations/enUS.js +247 -3
- package/lib/translations/zhCN.d.ts +245 -1
- package/lib/translations/zhCN.js +246 -2
- package/lib/utilities/os.d.ts +1 -0
- package/lib/utilities/os.js +15 -0
- package/lib/utilities/renderer.d.ts +1 -0
- package/lib/utilities/renderer.js +7 -1
- package/lib-es/creator/provider-initializer.browser.js +4 -2
- package/lib-es/creator/provider-initializer.electron.js +11 -3
- package/lib-es/electron/injections.js +3 -0
- package/lib-es/electron/preload.js +2 -1
- package/lib-es/fragments/annotation/style.css +1 -0
- package/lib-es/fragments/whiteboard/style.css +4 -0
- package/lib-es/modules/action-bar/main-scene/store.base.js +5 -0
- package/lib-es/modules/audio-stream/index.js +33 -1
- package/lib-es/modules/chat/chat-room-store.js +4 -2
- package/lib-es/modules/chat/index.js +1 -1
- package/lib-es/modules/chat/store.js +4 -2
- package/lib-es/modules/components/device-control/store.base.js +22 -3
- package/lib-es/modules/components/leave-meeting/index.js +3 -2
- package/lib-es/modules/components/leave-meeting/main-scene/store.js +6 -1
- package/lib-es/modules/components/leave-meeting/store.base.js +1 -1
- package/lib-es/modules/components/leave-meeting/waiting-scene/store.js +6 -1
- package/lib-es/modules/components/member-window/components/member-actions/components/icon-status.js +7 -10
- package/lib-es/modules/components/member-window/components/member-actions/components/more-actions.js +2 -2
- package/lib-es/modules/components/member-window/components/member-actions/index.js +0 -7
- package/lib-es/modules/components/member-window/components/member-actions/store.js +1 -1
- package/lib-es/modules/components/member-window/index.js +1 -1
- package/lib-es/modules/components/tab-frame/index.css +12 -1
- package/lib-es/modules/components/tab-frame/index.js +4 -1
- package/lib-es/modules/control-bar/components/share-state-nav/index.js +1 -3
- package/lib-es/modules/control-bar/mouse-event-bridge.js +79 -0
- package/lib-es/modules/control-bar/store.js +18 -30
- package/lib-es/modules/control-bar/view.js +21 -17
- package/lib-es/modules/dialog/dialogs/connection-gateway/tabs.js +3 -2
- package/lib-es/modules/dialog/dialogs/invite/index.js +6 -24
- package/lib-es/modules/invite/components/copy-info.css +72 -0
- package/lib-es/modules/invite/components/copy-info.js +137 -0
- package/lib-es/modules/invite/components/pstn-invite.js +3 -15
- package/lib-es/modules/invite/components/voip-invite.js +10 -1
- package/lib-es/modules/invite/enums.js +2 -0
- package/lib-es/modules/invite/store.js +38 -14
- package/lib-es/modules/invite/view.js +43 -22
- package/lib-es/modules/layout/store.base.js +20 -23
- package/lib-es/modules/participant/components/confirm-input/index.css +67 -1
- package/lib-es/modules/participant/components/confirm-input/index.js +16 -13
- package/lib-es/modules/participant/components/participants/components/render-user/components/attendee/index.css +4 -0
- package/lib-es/modules/participant/store.base.js +34 -7
- package/lib-es/modules/pc-audio-connect/main-scene/store.js +12 -2
- package/lib-es/modules/pc-audio-connect/view.js +4 -2
- package/lib-es/modules/phone-audio-connect/store.js +12 -1
- package/lib-es/modules/phone-audio-connect/view.js +6 -4
- package/lib-es/modules/secondary-window/index.js +2 -2
- package/lib-es/modules/secondary-window/store.js +16 -1
- package/lib-es/modules/secondary-window/view.js +97 -73
- package/lib-es/modules/toast-manager/type.js +4 -1
- package/lib-es/plugins/module-dev-plugin.js +4 -4
- package/lib-es/providers/ability-provider.js +13 -1
- package/lib-es/providers/mouse-detect/provider.empty.js +39 -0
- package/lib-es/providers/mouse-detect/provider.js +13 -4
- package/lib-es/providers/phone-audio-provider.js +109 -48
- package/lib-es/providers/user-audio-volume-provider.js +3 -2
- package/lib-es/scenes/main-scene.js +3 -2
- package/lib-es/shared-data/chat-data.js +55 -8
- package/lib-es/shared-data/member-data.js +46 -17
- package/lib-es/shared-data/video-window.js +8 -4
- package/lib-es/translations/enUS.js +247 -3
- package/lib-es/translations/zhCN.js +246 -2
- package/lib-es/utilities/os.js +8 -0
- package/lib-es/utilities/renderer.js +7 -1
- package/lib-es/utilities/shared-storage.js +2 -2
- package/package.json +6 -6
- package/lib/modules/connection-gateway/components/computer/index.css +0 -12
- package/lib/modules/connection-gateway/components/computer/index.d.ts +0 -3
- package/lib/modules/connection-gateway/components/computer/index.js +0 -66
- package/lib/modules/connection-gateway/components/phone/components/callinfo/index.css +0 -36
- package/lib/modules/connection-gateway/components/phone/components/callinfo/index.d.ts +0 -10
- package/lib/modules/connection-gateway/components/phone/components/callinfo/index.js +0 -78
- package/lib/modules/connection-gateway/components/phone/components/calling/index.css +0 -72
- package/lib/modules/connection-gateway/components/phone/components/calling/index.d.ts +0 -7
- package/lib/modules/connection-gateway/components/phone/components/calling/index.js +0 -58
- package/lib/modules/connection-gateway/components/phone/components/remeber/index.css +0 -10
- package/lib/modules/connection-gateway/components/phone/components/remeber/index.d.ts +0 -5
- package/lib/modules/connection-gateway/components/phone/components/remeber/index.js +0 -24
- package/lib/modules/connection-gateway/components/phone/components/useing/index.css +0 -46
- package/lib/modules/connection-gateway/components/phone/components/useing/index.d.ts +0 -3
- package/lib/modules/connection-gateway/components/phone/components/useing/index.js +0 -36
- package/lib/modules/connection-gateway/components/phone/index.css +0 -49
- package/lib/modules/connection-gateway/components/phone/index.d.ts +0 -3
- package/lib/modules/connection-gateway/components/phone/index.js +0 -185
- package/lib/modules/connection-gateway/enums.d.ts +0 -4
- package/lib/modules/connection-gateway/enums.js +0 -12
- package/lib/modules/connection-gateway/index.css +0 -6
- package/lib/modules/connection-gateway/index.d.ts +0 -10
- package/lib/modules/connection-gateway/index.js +0 -78
- package/lib/modules/connection-gateway/store.d.ts +0 -68
- package/lib/modules/connection-gateway/store.js +0 -713
- package/lib/modules/connection-gateway/types.d.ts +0 -8
- package/lib/modules/connection-gateway/types.js +0 -6
- package/lib/modules/connection-gateway/view.d.ts +0 -1
- package/lib/modules/connection-gateway/view.js +0 -39
- package/lib-es/modules/connection-gateway/components/computer/index.css +0 -12
- package/lib-es/modules/connection-gateway/components/computer/index.js +0 -59
- package/lib-es/modules/connection-gateway/components/phone/components/callinfo/index.css +0 -36
- package/lib-es/modules/connection-gateway/components/phone/components/callinfo/index.js +0 -71
- package/lib-es/modules/connection-gateway/components/phone/components/calling/index.css +0 -72
- package/lib-es/modules/connection-gateway/components/phone/components/calling/index.js +0 -51
- package/lib-es/modules/connection-gateway/components/phone/components/remeber/index.css +0 -10
- package/lib-es/modules/connection-gateway/components/phone/components/remeber/index.js +0 -17
- package/lib-es/modules/connection-gateway/components/phone/components/useing/index.css +0 -46
- package/lib-es/modules/connection-gateway/components/phone/components/useing/index.js +0 -29
- package/lib-es/modules/connection-gateway/components/phone/index.css +0 -49
- package/lib-es/modules/connection-gateway/components/phone/index.js +0 -177
- package/lib-es/modules/connection-gateway/enums.js +0 -5
- package/lib-es/modules/connection-gateway/index.css +0 -6
- package/lib-es/modules/connection-gateway/index.js +0 -60
- package/lib-es/modules/connection-gateway/store.js +0 -707
- package/lib-es/modules/connection-gateway/types.js +0 -1
- package/lib-es/modules/connection-gateway/view.js +0 -31
|
@@ -14,6 +14,72 @@
|
|
|
14
14
|
flex-direction: column;
|
|
15
15
|
align-items: center;
|
|
16
16
|
justify-content: center;
|
|
17
|
-
gap:
|
|
17
|
+
gap: 20px;
|
|
18
18
|
overflow: hidden;
|
|
19
19
|
}
|
|
20
|
+
|
|
21
|
+
.participants-container-rename-input-wrapper {
|
|
22
|
+
width: 100%;
|
|
23
|
+
position: relative;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.participants-container-rename-input-wrapper .fcr-textarea {
|
|
27
|
+
width: 272px;
|
|
28
|
+
height: 84px;
|
|
29
|
+
border-radius: var(--fcr_cornerradius_l);
|
|
30
|
+
border-width: 1px;
|
|
31
|
+
padding-top: 12px;
|
|
32
|
+
padding-right: 12px;
|
|
33
|
+
padding-bottom: 26px; /* 8px (Figma padding-bottom) + 18px (字符计数区域) = 26px */
|
|
34
|
+
padding-left: 12px;
|
|
35
|
+
box-sizing: border-box;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.participants-container-rename-input-wrapper .fcr-textarea textarea {
|
|
39
|
+
width: 248px; /* 272 - 12*2 = 248px */
|
|
40
|
+
height: 40px;
|
|
41
|
+
font-family:
|
|
42
|
+
'Inter',
|
|
43
|
+
ui-sans-serif,
|
|
44
|
+
system-ui,
|
|
45
|
+
-apple-system,
|
|
46
|
+
BlinkMacSystemFont,
|
|
47
|
+
'Segoe UI',
|
|
48
|
+
Roboto,
|
|
49
|
+
'Helvetica Neue',
|
|
50
|
+
Arial,
|
|
51
|
+
sans-serif;
|
|
52
|
+
font-weight: 400;
|
|
53
|
+
font-size: 14px;
|
|
54
|
+
line-height: 20px;
|
|
55
|
+
letter-spacing: 0;
|
|
56
|
+
color: var(--fcr_ui_scene_icontext1);
|
|
57
|
+
padding: 0; /* 容器的 padding 已经处理了间距 */
|
|
58
|
+
box-sizing: border-box;
|
|
59
|
+
vertical-align: bottom;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.participants-container-rename-input-wrapper .fcr-textarea .fcr-textarea-wc {
|
|
63
|
+
height: 16px;
|
|
64
|
+
font-family:
|
|
65
|
+
'Inter',
|
|
66
|
+
ui-sans-serif,
|
|
67
|
+
system-ui,
|
|
68
|
+
-apple-system,
|
|
69
|
+
BlinkMacSystemFont,
|
|
70
|
+
'Segoe UI',
|
|
71
|
+
Roboto,
|
|
72
|
+
'Helvetica Neue',
|
|
73
|
+
Arial,
|
|
74
|
+
sans-serif;
|
|
75
|
+
font-weight: 400;
|
|
76
|
+
font-size: 12px;
|
|
77
|
+
line-height: 16px;
|
|
78
|
+
letter-spacing: 0;
|
|
79
|
+
text-align: right;
|
|
80
|
+
color: var(--fcr_ui_scene_icontext2);
|
|
81
|
+
position: absolute;
|
|
82
|
+
bottom: 8px; /* 根据 Figma padding-bottom: 8px 调整 */
|
|
83
|
+
left: 12px; /* 与容器的 padding-left 对齐 */
|
|
84
|
+
right: 12px; /* 与容器的 padding-right 对齐,宽度自动计算为 248px (272 - 12*2) */
|
|
85
|
+
}
|
|
@@ -12,6 +12,7 @@ require("core-js/modules/es.string.replace.js");
|
|
|
12
12
|
require("core-js/modules/es.string.trim.js");
|
|
13
13
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
14
14
|
var _input = require("agora-ui-foundation/lib/components/input");
|
|
15
|
+
var _textarea = require("agora-ui-foundation/lib/components/textarea");
|
|
15
16
|
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
16
17
|
var _react = require("react");
|
|
17
18
|
var _store = require("../../store.base");
|
|
@@ -32,12 +33,14 @@ var FcrConfirmRenameForm = function FcrConfirmRenameForm(props) {
|
|
|
32
33
|
name = _useState2[0],
|
|
33
34
|
setName = _useState2[1];
|
|
34
35
|
var t = (0, _i18n.useI18n)();
|
|
36
|
+
var MAX_BYTE_LENGTH = 48;
|
|
37
|
+
var MAX_LENGTH = 24;
|
|
35
38
|
(0, _react.useEffect)(function () {
|
|
36
39
|
setName(value);
|
|
37
40
|
}, [value]);
|
|
38
41
|
function handleNameChange(name) {
|
|
39
42
|
var length = name.replace(/[^\x00-\xff]/g, '**').length;
|
|
40
|
-
if (length >
|
|
43
|
+
if (length > MAX_BYTE_LENGTH) {
|
|
41
44
|
return;
|
|
42
45
|
}
|
|
43
46
|
type === 'number' ? (/^\d+$/.test(name) || name === '') && setName(name.trim()) : setName(name.trim());
|
|
@@ -45,17 +48,17 @@ var FcrConfirmRenameForm = function FcrConfirmRenameForm(props) {
|
|
|
45
48
|
}
|
|
46
49
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
47
50
|
className: "participants-container-rename",
|
|
48
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
51
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
52
|
+
className: "participants-container-rename-input-wrapper",
|
|
53
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_textarea.FcrTextArea, {
|
|
54
|
+
value: name,
|
|
55
|
+
onChange: handleNameChange,
|
|
56
|
+
placeholder: placeholder || t('fmt_additional_popup_label_enter_nickname'),
|
|
57
|
+
maxCount: MAX_LENGTH,
|
|
58
|
+
showCount: true,
|
|
59
|
+
autoSize: false,
|
|
60
|
+
resizable: false
|
|
61
|
+
})
|
|
59
62
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
60
63
|
className: 'participants-container-rename-footer fcr-confirm-content-footer fcr-confirm-content-footer__center',
|
|
61
64
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_button.FcrButton, {
|
|
@@ -99,7 +102,7 @@ var FcrConfirmInput = exports.FcrConfirmInput = function FcrConfirmInput(props)
|
|
|
99
102
|
size: "large",
|
|
100
103
|
allowClear: true,
|
|
101
104
|
shape: "rounded",
|
|
102
|
-
maxLength:
|
|
105
|
+
maxLength: 24,
|
|
103
106
|
placeholder: placeholder || t('fmt_additional_popup_label_enter_nickname')
|
|
104
107
|
})
|
|
105
108
|
});
|
|
@@ -631,7 +631,7 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
631
631
|
}, {
|
|
632
632
|
key: "hasInvite",
|
|
633
633
|
get: function get() {
|
|
634
|
-
return this._abilityProvider.isRoomDetailSupported()
|
|
634
|
+
return this._abilityProvider.isRoomDetailSupported();
|
|
635
635
|
}
|
|
636
636
|
}, {
|
|
637
637
|
key: "checkedStateMap",
|
|
@@ -1139,9 +1139,10 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1139
1139
|
var _streams$find;
|
|
1140
1140
|
var user = this.mainRoomUserMap.get(userId);
|
|
1141
1141
|
var isPSTN = (user === null || user === void 0 ? void 0 : user.userInfo.connectorType) === _fcrCore.FcrRoomConnectorType.PSTN;
|
|
1142
|
+
var isVOLTE = (user === null || user === void 0 ? void 0 : user.userInfo.connectorType) === _fcrCore.FcrRoomConnectorType.VOLTE;
|
|
1142
1143
|
var streams = user === null || user === void 0 ? void 0 : user.streams;
|
|
1143
1144
|
var streamId = streams === null || streams === void 0 || (_streams$find = streams.find(function (stream) {
|
|
1144
|
-
return stream.videoSourceType === _fcrCore.FcrVideoSourceType.CAMERA || isPSTN && stream.videoSourceType === _fcrCore.FcrVideoSourceType.NONE;
|
|
1145
|
+
return stream.videoSourceType === _fcrCore.FcrVideoSourceType.CAMERA || isPSTN && stream.videoSourceType === _fcrCore.FcrVideoSourceType.NONE || isVOLTE && stream.videoSourceType === _fcrCore.FcrVideoSourceType.NONE;
|
|
1145
1146
|
})) === null || _streams$find === void 0 ? void 0 : _streams$find.streamId;
|
|
1146
1147
|
return streamId;
|
|
1147
1148
|
}
|
|
@@ -1213,6 +1214,8 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1213
1214
|
return this._getNormalUserDeviceInfo(userStreams, isSelf);
|
|
1214
1215
|
case _fcrCore.FcrRoomConnectorType.PSTN:
|
|
1215
1216
|
return this._getPstnUserDeviceInfo(userStreams);
|
|
1217
|
+
case _fcrCore.FcrRoomConnectorType.VOLTE:
|
|
1218
|
+
return this._getVolteUserDeviceInfo(userStreams);
|
|
1216
1219
|
case _fcrCore.FcrRoomConnectorType.SIP:
|
|
1217
1220
|
case _fcrCore.FcrRoomConnectorType.H323:
|
|
1218
1221
|
return this._getSipOrH323UserDeviceInfo(userStreams);
|
|
@@ -1232,14 +1235,16 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1232
1235
|
value: function _getNormalUserDeviceInfo(userStreams, isSelf) {
|
|
1233
1236
|
var defaultStream = this._findStreamByVideoSourceType(userStreams, _fcrCore.FcrVideoSourceType.CAMERA);
|
|
1234
1237
|
var pstnStream = this._findStreamByConnectorType(userStreams, _fcrCore.FcrRoomConnectorType.PSTN);
|
|
1238
|
+
var volteStream = this._findStreamByConnectorType(userStreams, _fcrCore.FcrRoomConnectorType.VOLTE);
|
|
1235
1239
|
var hasVideo = isSelf ? this._deviceStore.cameraEnabled : this._hasVideoPublishedAndStarted(defaultStream);
|
|
1236
|
-
|
|
1237
|
-
|
|
1240
|
+
var phoneStream = volteStream || pstnStream;
|
|
1241
|
+
if (phoneStream) {
|
|
1242
|
+
// 有PSTN或VOLTE流,使用电话麦克风
|
|
1238
1243
|
return {
|
|
1239
1244
|
audioDeviceType: _struct.USER_FORMAT_CONFIG.DEVICE_TYPES.AUDIO.PHONE_MIC,
|
|
1240
1245
|
videoDeviceType: _struct.USER_FORMAT_CONFIG.DEVICE_TYPES.VIDEO.COMPUTER_CAM,
|
|
1241
1246
|
userType: _struct.USER_FORMAT_CONFIG.USER_TYPES.NORMAL,
|
|
1242
|
-
hasAudio:
|
|
1247
|
+
hasAudio: phoneStream.audioSourceState === _fcrCore.FcrMediaSourceState.OPEN,
|
|
1243
1248
|
hasVideo: hasVideo
|
|
1244
1249
|
};
|
|
1245
1250
|
} else {
|
|
@@ -1271,6 +1276,18 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1271
1276
|
hasVideo: false
|
|
1272
1277
|
};
|
|
1273
1278
|
}
|
|
1279
|
+
}, {
|
|
1280
|
+
key: "_getVolteUserDeviceInfo",
|
|
1281
|
+
value: function _getVolteUserDeviceInfo(userStreams) {
|
|
1282
|
+
var volteStream = this._findStreamByConnectorType(userStreams, _fcrCore.FcrRoomConnectorType.VOLTE);
|
|
1283
|
+
return {
|
|
1284
|
+
audioDeviceType: _struct.USER_FORMAT_CONFIG.DEVICE_TYPES.AUDIO.PHONE_MIC,
|
|
1285
|
+
videoDeviceType: _struct.USER_FORMAT_CONFIG.DEVICE_TYPES.VIDEO.COMPUTER_CAM,
|
|
1286
|
+
userType: _struct.USER_FORMAT_CONFIG.USER_TYPES.MEETING_SYSTEM,
|
|
1287
|
+
hasAudio: this._hasAudioPublishedAndStarted(volteStream),
|
|
1288
|
+
hasVideo: this._hasVideoPublishedAndStarted(volteStream)
|
|
1289
|
+
};
|
|
1290
|
+
}
|
|
1274
1291
|
|
|
1275
1292
|
/**
|
|
1276
1293
|
* 获取SIP/H323会议系统用户的设备信息
|
|
@@ -1734,8 +1751,18 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1734
1751
|
}, {
|
|
1735
1752
|
key: "_unmuteUserVideo",
|
|
1736
1753
|
value: function _unmuteUserVideo(userId) {
|
|
1737
|
-
var
|
|
1738
|
-
|
|
1754
|
+
var _this$_getUserTargetA3 = this._getUserTargetAudioStreams(userId),
|
|
1755
|
+
hardwareDeviceStream = _this$_getUserTargetA3.hardwareDeviceStream,
|
|
1756
|
+
isLocalUser = _this$_getUserTargetA3.isLocalUser;
|
|
1757
|
+
|
|
1758
|
+
// 如果是硬件设备流,直接更新流的发布权限来取消静音
|
|
1759
|
+
if (hardwareDeviceStream) {
|
|
1760
|
+
this._updateStreamPrivilege(hardwareDeviceStream.streamId, _type.FcrStreamPrivilegeOperation.NOOPERATION, _type.FcrStreamPrivilegeOperation.HAS_PRIVILEGE);
|
|
1761
|
+
return;
|
|
1762
|
+
}
|
|
1763
|
+
|
|
1764
|
+
// 如果是本地用户,直接启用本地麦克风(上面硬件已经处理了,所以从这里往后都不是硬件设备了)
|
|
1765
|
+
if (isLocalUser) {
|
|
1739
1766
|
this._deviceStreamStore.enableCameraWithPreCheck(true);
|
|
1740
1767
|
return;
|
|
1741
1768
|
}
|
|
@@ -20,8 +20,10 @@ export default class ConnectionGatewayStoreMainScene {
|
|
|
20
20
|
get connectType(): import("../../../type").FcrUIConnectType;
|
|
21
21
|
get hasNeedMergedStream(): boolean;
|
|
22
22
|
get hasOwnPstnStream(): boolean;
|
|
23
|
+
get hasOwnVolteStream(): boolean;
|
|
23
24
|
get outgoingCall(): boolean;
|
|
24
25
|
get hasPstnStream(): boolean;
|
|
26
|
+
get hasVolteStream(): boolean;
|
|
25
27
|
get connectInfo(): import("fcr-core/lib/room-control/room-connector-control/type").FcrRoomConnectorPhoneInfo;
|
|
26
28
|
constructor({ objectManager }: ConnectionGatewayStoreArgs);
|
|
27
29
|
openAudioSettings(): void;
|
|
@@ -168,6 +168,11 @@ var ConnectionGatewayStoreMainScene = exports["default"] = /*#__PURE__*/function
|
|
|
168
168
|
get: function get() {
|
|
169
169
|
return this._phoneAudioConnectorProvider.hasOwnPstnStream;
|
|
170
170
|
}
|
|
171
|
+
}, {
|
|
172
|
+
key: "hasOwnVolteStream",
|
|
173
|
+
get: function get() {
|
|
174
|
+
return this._phoneAudioConnectorProvider.hasOwnVolteStream;
|
|
175
|
+
}
|
|
171
176
|
}, {
|
|
172
177
|
key: "outgoingCall",
|
|
173
178
|
get: function get() {
|
|
@@ -178,6 +183,11 @@ var ConnectionGatewayStoreMainScene = exports["default"] = /*#__PURE__*/function
|
|
|
178
183
|
get: function get() {
|
|
179
184
|
return this._phoneAudioConnectorProvider.hasPstnStream;
|
|
180
185
|
}
|
|
186
|
+
}, {
|
|
187
|
+
key: "hasVolteStream",
|
|
188
|
+
get: function get() {
|
|
189
|
+
return this._phoneAudioConnectorProvider.hasVolteStream;
|
|
190
|
+
}
|
|
181
191
|
}, {
|
|
182
192
|
key: "connectInfo",
|
|
183
193
|
get: function get() {
|
|
@@ -215,7 +225,7 @@ var ConnectionGatewayStoreMainScene = exports["default"] = /*#__PURE__*/function
|
|
|
215
225
|
return false;
|
|
216
226
|
}
|
|
217
227
|
this._needShowConfirmDialog = false;
|
|
218
|
-
if (this.hasOwnPstnStream) {
|
|
228
|
+
if (this.hasOwnPstnStream || this.hasOwnVolteStream) {
|
|
219
229
|
return false;
|
|
220
230
|
}
|
|
221
231
|
var dialogId = this._dialogProvider.openConfirmDialog({
|
|
@@ -310,7 +320,7 @@ var ConnectionGatewayStoreMainScene = exports["default"] = /*#__PURE__*/function
|
|
|
310
320
|
}]);
|
|
311
321
|
}();
|
|
312
322
|
_ConnectionGatewayStoreMainScene = ConnectionGatewayStoreMainScene;
|
|
313
|
-
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_ConnectionGatewayStoreMainScene, [[_mobx.observable, 1, "phoneCallState"], [_mobx.observable, 1, "phoneCallReason"], [_mobx.observable, 1, "connectSession"], [_mobx.observable, 1, "calling"], [_mobx.computed, 3, "connectType"], [_mobx.computed, 3, "hasNeedMergedStream"], [_mobx.computed, 3, "hasOwnPstnStream"], [_mobx.computed, 3, "outgoingCall"], [_mobx.computed, 3, "hasPstnStream"], [_mobx.computed, 3, "connectInfo"], [_decorator.bound, 2, "openAudioSettings"], [_decorator.bound, 2, "_handleInterceptorCloseDialog"], [_decorator.bound, 2, "joinAudioByComputer"], [_decorator.bound, 2, "stopAudioByComputer"], [_decorator.bound, 2, "openInviteDialog"]], []).e, 5);
|
|
323
|
+
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_ConnectionGatewayStoreMainScene, [[_mobx.observable, 1, "phoneCallState"], [_mobx.observable, 1, "phoneCallReason"], [_mobx.observable, 1, "connectSession"], [_mobx.observable, 1, "calling"], [_mobx.computed, 3, "connectType"], [_mobx.computed, 3, "hasNeedMergedStream"], [_mobx.computed, 3, "hasOwnPstnStream"], [_mobx.computed, 3, "hasOwnVolteStream"], [_mobx.computed, 3, "outgoingCall"], [_mobx.computed, 3, "hasPstnStream"], [_mobx.computed, 3, "hasVolteStream"], [_mobx.computed, 3, "connectInfo"], [_decorator.bound, 2, "openAudioSettings"], [_decorator.bound, 2, "_handleInterceptorCloseDialog"], [_decorator.bound, 2, "joinAudioByComputer"], [_decorator.bound, 2, "stopAudioByComputer"], [_decorator.bound, 2, "openInviteDialog"]], []).e, 5);
|
|
314
324
|
_init_phoneCallState = _applyDecs$e[0];
|
|
315
325
|
_init_phoneCallReason = _applyDecs$e[1];
|
|
316
326
|
_init_connectSession = _applyDecs$e[2];
|
|
@@ -25,6 +25,8 @@ var View = (0, _mobxReact.observer)(function () {
|
|
|
25
25
|
hasOwnPstnStream = _useContext.hasOwnPstnStream,
|
|
26
26
|
outgoingCall = _useContext.outgoingCall,
|
|
27
27
|
hasPstnStream = _useContext.hasPstnStream,
|
|
28
|
+
hasVolteStream = _useContext.hasVolteStream,
|
|
29
|
+
hasOwnVolteStream = _useContext.hasOwnVolteStream,
|
|
28
30
|
connectInfo = _useContext.connectInfo;
|
|
29
31
|
var transI18n = (0, _i18n.useI18n)();
|
|
30
32
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
@@ -35,7 +37,7 @@ var View = (0, _mobxReact.observer)(function () {
|
|
|
35
37
|
className: "var(--fcrcornerradiusround) fcr_ui_scene_ramp_brand6",
|
|
36
38
|
onClick: joinAudioByComputer,
|
|
37
39
|
children: transI18n('fmt_pstn_label_accessmethodPC')
|
|
38
|
-
}), hasPstnStream && !outgoingCall && !hasOwnPstnStream && hasNeedMergedStream && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
40
|
+
}), (hasPstnStream || hasVolteStream) && !outgoingCall && !hasOwnPstnStream && !hasOwnVolteStream && hasNeedMergedStream && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
39
41
|
className: "connector-phone-alert",
|
|
40
42
|
children: transI18n('fmt_pstn_label_alreadyin', {
|
|
41
43
|
reason1: connectInfo === null || connectInfo === void 0 ? void 0 : connectInfo.phoneUserId
|
|
@@ -47,7 +49,7 @@ var View = (0, _mobxReact.observer)(function () {
|
|
|
47
49
|
className: "var(--fcrcornerradiusround)",
|
|
48
50
|
onClick: stopAudioByComputer,
|
|
49
51
|
children: transI18n('fmt_pstn_button_PCaudiostop')
|
|
50
|
-
}), connectType === _type.FcrUIConnectType.PHONE && hasOwnPstnStream && /*#__PURE__*/(0, _jsxRuntime.jsx)(_tooltip.FcrToolTip, {
|
|
52
|
+
}), connectType === _type.FcrUIConnectType.PHONE && (hasOwnPstnStream || hasOwnVolteStream) && /*#__PURE__*/(0, _jsxRuntime.jsx)(_tooltip.FcrToolTip, {
|
|
51
53
|
content: transI18n('fmt_pstn_tips_alreadyphone'),
|
|
52
54
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.FcrButton, {
|
|
53
55
|
size: "XS",
|
|
@@ -13,16 +13,18 @@ export default class ConnectionGatewayStore {
|
|
|
13
13
|
accessor currentRegion: ConnectorRegion;
|
|
14
14
|
accessor currentCallInfo: ConnectListType;
|
|
15
15
|
get connectType(): import("../../type").FcrUIConnectType;
|
|
16
|
-
get phoneCallState(): import("fcr-core/lib/type").FcrRoomConnectorSessionState;
|
|
16
|
+
get phoneCallState(): import("fcr-core/lib/room-control/room-connector-control/type").FcrRoomConnectorSessionState;
|
|
17
17
|
get calling(): boolean;
|
|
18
|
-
get phoneCallReason(): import("fcr-core/lib/type").FcrRoomConnectorSessionReason;
|
|
18
|
+
get phoneCallReason(): import("fcr-core/lib/room-control/room-connector-control/type").FcrRoomConnectorSessionReason;
|
|
19
19
|
get outgoingCall(): boolean;
|
|
20
20
|
get isHangup(): boolean;
|
|
21
21
|
get hasPstnStream(): boolean;
|
|
22
22
|
get hasOwnPstnStream(): boolean;
|
|
23
|
+
get hasVolteStream(): boolean;
|
|
24
|
+
get hasOwnVolteStream(): boolean;
|
|
23
25
|
get hasNeedMergedStream(): boolean;
|
|
24
|
-
get connectInfo(): import("fcr-core/lib/type").FcrRoomConnectorPhoneInfo;
|
|
25
|
-
get connectSession(): import("fcr-core/lib/type").FcrPhoneConnectorSession | null;
|
|
26
|
+
get connectInfo(): import("fcr-core/lib/room-control/room-connector-control/type").FcrRoomConnectorPhoneInfo;
|
|
27
|
+
get connectSession(): import("fcr-core/lib/room-control/room-connector-control/type").FcrPhoneConnectorSession | null;
|
|
26
28
|
constructor({ objectManager }: ConnectionGatewayStoreArgs);
|
|
27
29
|
startCall(): void;
|
|
28
30
|
stopCall(): void;
|
|
@@ -70,6 +70,7 @@ var _constant = require("../../utilities/constant");
|
|
|
70
70
|
var _enums = require("./enums");
|
|
71
71
|
var _objectManager = require("../../object-manager");
|
|
72
72
|
var _type = require("../setting/type");
|
|
73
|
+
var _type2 = require("fcr-core/lib/room-control/room-connector-control/type");
|
|
73
74
|
var _ConnectionGatewayStore;
|
|
74
75
|
var _initProto, _init_rememberMe, _init_rememberedNumberList, _init_currentRegion, _init_currentCallInfo, _startCallDecs, _stopCallDecs, _regionChangeHandlerDecs, _setRememberMeDecs, _initRememberedDataDecs, _rememberNumberDecs, _ref;
|
|
75
76
|
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
|
@@ -189,6 +190,16 @@ var ConnectionGatewayStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
189
190
|
get: function get() {
|
|
190
191
|
return this._phoneAudioConnectorProvider.hasOwnPstnStream;
|
|
191
192
|
}
|
|
193
|
+
}, {
|
|
194
|
+
key: "hasVolteStream",
|
|
195
|
+
get: function get() {
|
|
196
|
+
return this._phoneAudioConnectorProvider.hasVolteStream;
|
|
197
|
+
}
|
|
198
|
+
}, {
|
|
199
|
+
key: "hasOwnVolteStream",
|
|
200
|
+
get: function get() {
|
|
201
|
+
return this._phoneAudioConnectorProvider.hasOwnVolteStream;
|
|
202
|
+
}
|
|
192
203
|
}, {
|
|
193
204
|
key: "hasNeedMergedStream",
|
|
194
205
|
get: function get() {
|
|
@@ -207,7 +218,7 @@ var ConnectionGatewayStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
207
218
|
}, {
|
|
208
219
|
key: "startCall",
|
|
209
220
|
value: function startCall() {
|
|
210
|
-
this._phoneAudioConnectorProvider.startCall(this.currentCallInfo.phone);
|
|
221
|
+
this._phoneAudioConnectorProvider.startCall(this.currentCallInfo.phone, _type2.FcrPhoneConnectorSessionType.PSTN);
|
|
211
222
|
}
|
|
212
223
|
}, {
|
|
213
224
|
key: "stopCall",
|
|
@@ -47,7 +47,9 @@ var View = (0, _mobxReact.observer)(function () {
|
|
|
47
47
|
outgoingCall = _useContext.outgoingCall,
|
|
48
48
|
isHangup = _useContext.isHangup,
|
|
49
49
|
hasPstnStream = _useContext.hasPstnStream,
|
|
50
|
+
hasVolteStream = _useContext.hasVolteStream,
|
|
50
51
|
hasOwnPstnStream = _useContext.hasOwnPstnStream,
|
|
52
|
+
hasOwnVolteStream = _useContext.hasOwnVolteStream,
|
|
51
53
|
hasNeedMergedStream = _useContext.hasNeedMergedStream;
|
|
52
54
|
var transI18n = (0, _i18n.useI18n)();
|
|
53
55
|
var _useState = (0, _react.useState)(''),
|
|
@@ -96,7 +98,7 @@ var View = (0, _mobxReact.observer)(function () {
|
|
|
96
98
|
}, [phoneCallState, phoneCallReason]);
|
|
97
99
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
98
100
|
className: "connector-phone",
|
|
99
|
-
children: [(isStaticState && !isAcceptingState && !hasOwnPstnStream || hasPstnStream && !hasOwnPstnStream) && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
101
|
+
children: [(isStaticState && !isAcceptingState && !hasOwnPstnStream && !hasOwnVolteStream || hasPstnStream && !hasOwnPstnStream || hasVolteStream && !hasOwnVolteStream) && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
100
102
|
className: "connector-phone_inner",
|
|
101
103
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
102
104
|
className: "connector-phone_selector",
|
|
@@ -135,7 +137,7 @@ var View = (0, _mobxReact.observer)(function () {
|
|
|
135
137
|
checked: rememberMe,
|
|
136
138
|
onChange: setRememberMe
|
|
137
139
|
})]
|
|
138
|
-
}), (isPhoneAudioConnected || isAcceptingState) && hasOwnPstnStream && /*#__PURE__*/(0, _jsxRuntime.jsx)(_useing.ConnectionUsing, {}), isStaticState && !hasOwnPstnStream && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
140
|
+
}), (isPhoneAudioConnected || isAcceptingState) && (hasOwnPstnStream || hasOwnVolteStream) && /*#__PURE__*/(0, _jsxRuntime.jsx)(_useing.ConnectionUsing, {}), isStaticState && !hasOwnPstnStream && !hasOwnVolteStream && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
139
141
|
className: "connector-phone_inner",
|
|
140
142
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.FcrButton, {
|
|
141
143
|
size: "XS",
|
|
@@ -162,14 +164,14 @@ var View = (0, _mobxReact.observer)(function () {
|
|
|
162
164
|
onClick: stopCall,
|
|
163
165
|
children: transI18n('fmt_pstn_button_hangupphone')
|
|
164
166
|
})
|
|
165
|
-
}), (outgoingCall || isStaticState) && (!hasOwnPstnStream || isAcceptingState) && /*#__PURE__*/(0, _jsxRuntime.jsx)(_divider["default"], {
|
|
167
|
+
}), (outgoingCall || isStaticState) && (!hasOwnPstnStream && !hasOwnVolteStream || isAcceptingState) && /*#__PURE__*/(0, _jsxRuntime.jsx)(_divider["default"], {
|
|
166
168
|
style: {
|
|
167
169
|
margin: '10px 0 12px'
|
|
168
170
|
},
|
|
169
171
|
type: "horizontal",
|
|
170
172
|
size: "0.4px",
|
|
171
173
|
children: transI18n('fmt_pstn_label_dialinphone')
|
|
172
|
-
}), hasPstnStream && !outgoingCall && !hasOwnPstnStream && hasNeedMergedStream && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
174
|
+
}), (hasPstnStream || hasVolteStream) && !outgoingCall && !hasOwnPstnStream && !hasOwnVolteStream && hasNeedMergedStream && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
173
175
|
className: "connector-phone-alert",
|
|
174
176
|
children: transI18n('fmt_pstn_label_alreadyin', {
|
|
175
177
|
reason1: connectInfo === null || connectInfo === void 0 ? void 0 : connectInfo.phoneUserId
|
|
@@ -101,7 +101,7 @@ var FcrUISecondaryWindowModule = exports.FcrUISecondaryWindowModule = /*#__PURE_
|
|
|
101
101
|
}
|
|
102
102
|
}]);
|
|
103
103
|
}(_base.UIModule);
|
|
104
|
-
var FcrUIMainWindowRendererImpl = exports.FcrUIMainWindowRendererImpl = /*#__PURE__*/function (
|
|
104
|
+
var FcrUIMainWindowRendererImpl = exports.FcrUIMainWindowRendererImpl = /*#__PURE__*/function (_AgoraObservable) {
|
|
105
105
|
function FcrUIMainWindowRendererImpl() {
|
|
106
106
|
var _this2;
|
|
107
107
|
(0, _classCallCheck2["default"])(this, FcrUIMainWindowRendererImpl);
|
|
@@ -114,7 +114,7 @@ var FcrUIMainWindowRendererImpl = exports.FcrUIMainWindowRendererImpl = /*#__PUR
|
|
|
114
114
|
_this2.addObserver((0, _logger.generateLogObserver)(_this2.logger, ['onConnectionStateUpdated', 'onViewportSizeUpdated', 'onBackgroundColorUpdated', 'onDraftSaved', 'onPermissionUpdated', 'onRedoStateUpdated', 'onUndoStateUpdated', 'onWhiteboardStrokeColorChanged', 'onWhiteboardStrokeWidthChanged', 'onWhiteboardToolSelected']));
|
|
115
115
|
return _this2;
|
|
116
116
|
}
|
|
117
|
-
(0, _inherits2["default"])(FcrUIMainWindowRendererImpl,
|
|
117
|
+
(0, _inherits2["default"])(FcrUIMainWindowRendererImpl, _AgoraObservable);
|
|
118
118
|
return (0, _createClass2["default"])(FcrUIMainWindowRendererImpl, [{
|
|
119
119
|
key: "ownerUser",
|
|
120
120
|
get: function get() {
|
|
@@ -48,8 +48,11 @@ export declare class SecondaryWindowStore {
|
|
|
48
48
|
get isActive(): boolean;
|
|
49
49
|
get baseUrl(): string;
|
|
50
50
|
get isAnnotationOpened(): boolean;
|
|
51
|
+
get isWaterMarkEnabled(): boolean;
|
|
52
|
+
get isMulti(): boolean;
|
|
51
53
|
constructor({ objectManager }: SecondaryWindowStoreArgs);
|
|
52
54
|
getContent(): void;
|
|
55
|
+
getWaterMarkContent(): string;
|
|
53
56
|
handleIframeLoad(iframe: HTMLIFrameElement): void;
|
|
54
57
|
zoomIn(): void;
|
|
55
58
|
zoomOut(): void;
|
|
@@ -324,9 +324,24 @@ var SecondaryWindowStore = exports.SecondaryWindowStore = /*#__PURE__*/function
|
|
|
324
324
|
get: function get() {
|
|
325
325
|
return this._annotationProvider.isAnnotationOpened;
|
|
326
326
|
}
|
|
327
|
+
}, {
|
|
328
|
+
key: "isWaterMarkEnabled",
|
|
329
|
+
get: function get() {
|
|
330
|
+
return this._privilegeProvider.isWaterMarkEnabled();
|
|
331
|
+
}
|
|
332
|
+
}, {
|
|
333
|
+
key: "isMulti",
|
|
334
|
+
get: function get() {
|
|
335
|
+
return this._privilegeProvider.isMultiWaterMarkEnabled();
|
|
336
|
+
}
|
|
327
337
|
}, {
|
|
328
338
|
key: "getContent",
|
|
329
339
|
value: function getContent() {}
|
|
340
|
+
}, {
|
|
341
|
+
key: "getWaterMarkContent",
|
|
342
|
+
value: function getWaterMarkContent() {
|
|
343
|
+
return this._privilegeProvider.getWaterMarkContent();
|
|
344
|
+
}
|
|
330
345
|
}, {
|
|
331
346
|
key: "handleIframeLoad",
|
|
332
347
|
value: function handleIframeLoad(iframe) {
|
|
@@ -532,7 +547,7 @@ var SecondaryWindowStore = exports.SecondaryWindowStore = /*#__PURE__*/function
|
|
|
532
547
|
}]);
|
|
533
548
|
}();
|
|
534
549
|
_SecondaryWindowStore = SecondaryWindowStore;
|
|
535
|
-
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_SecondaryWindowStore, [[_mobx.observable, 1, "_screenShareScalcValue"], [_mobx.observable, 1, "isSharingWhiteboard"], [_mobx.observable, 1, "interceptedClose"], [_mobx.computed, 3, "videoWindowData"], [_mobx.computed, 3, "isAspectRatioPreserved"], [_mobx.computed, 3, "scalValue"], [_mobx.computed, 3, "canWriteBoard"], [_decorator.bound, 2, "handleIframeLoad"], [_decorator.bound, 2, "zoomIn"], [_decorator.bound, 2, "zoomOut"], [_decorator.bound, 2, "fullContainer"], [_decorator.bound, 2, "setInterceptedClose"], [_decorator.bound, 2, "setScaleValue"], [_decorator.bound, 2, "setOriginScalc"], [_decorator.bound, 2, "setSpeakerViewSize"], [_decorator.bound, 2, "setWhiteboardTool"], [_decorator.bound, 2, "saveWhiteboardDraft"], [_decorator.bound, 2, "setProgress"], [_decorator.bound, 2, "setTheme"], [_decorator.bound, 2, "setControlEnable"], [_decorator.bound, 2, "setShowLoading"], [_decorator.bound, 2, "setCommonColors"], [_decorator.bound, 2, "log"]], []).e, 4);
|
|
550
|
+
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_SecondaryWindowStore, [[_mobx.observable, 1, "_screenShareScalcValue"], [_mobx.observable, 1, "isSharingWhiteboard"], [_mobx.observable, 1, "interceptedClose"], [_mobx.computed, 3, "videoWindowData"], [_mobx.computed, 3, "isAspectRatioPreserved"], [_mobx.computed, 3, "scalValue"], [_mobx.computed, 3, "canWriteBoard"], [_mobx.computed, 3, "isWaterMarkEnabled"], [_mobx.computed, 3, "isMulti"], [_decorator.bound, 2, "getWaterMarkContent"], [_decorator.bound, 2, "handleIframeLoad"], [_decorator.bound, 2, "zoomIn"], [_decorator.bound, 2, "zoomOut"], [_decorator.bound, 2, "fullContainer"], [_decorator.bound, 2, "setInterceptedClose"], [_decorator.bound, 2, "setScaleValue"], [_decorator.bound, 2, "setOriginScalc"], [_decorator.bound, 2, "setSpeakerViewSize"], [_decorator.bound, 2, "setWhiteboardTool"], [_decorator.bound, 2, "saveWhiteboardDraft"], [_decorator.bound, 2, "setProgress"], [_decorator.bound, 2, "setTheme"], [_decorator.bound, 2, "setControlEnable"], [_decorator.bound, 2, "setShowLoading"], [_decorator.bound, 2, "setCommonColors"], [_decorator.bound, 2, "log"]], []).e, 4);
|
|
536
551
|
_init__screenShareScalcValue = _applyDecs$e[0];
|
|
537
552
|
_init_isSharingWhiteboard = _applyDecs$e[1];
|
|
538
553
|
_init_interceptedClose = _applyDecs$e[2];
|