fcr-ui-scene 3.7.6 → 3.7.7
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/installer/icons/icon.png +0 -0
- package/installer/mac/entitlements.mac.plist +1 -5
- package/lib/creator/index.js +12 -6
- package/lib/creator/provider-initializer.browser.js +0 -3
- package/lib/creator/provider-initializer.electron.js +0 -4
- package/lib/creator.d.ts +36 -0
- package/lib/creator.js +465 -0
- package/lib/electron/bootstrap-sdk.js +70 -20
- package/lib/electron/struct.d.ts +7 -1
- package/lib/electron/struct.js +8 -1
- package/lib/electron/until.d.ts +3 -1
- package/lib/electron/until.js +7 -2
- package/lib/modules/action-bar/components/item/index.js +1 -0
- package/lib/modules/action-bar/components/screen-share/submenu.js +1 -1
- package/lib/modules/action-bar/index.d.ts +58 -0
- package/lib/modules/action-bar/index.dev.d.ts +0 -0
- package/lib/modules/action-bar/index.dev.js +94 -0
- package/lib/modules/action-bar/index.js +109 -0
- package/lib/modules/action-bar/store.d.ts +259 -0
- package/lib/modules/action-bar/store.js +1529 -0
- package/lib/modules/action-bar/types.d.ts +90 -0
- package/lib/modules/action-bar/types.js +6 -0
- package/lib/modules/action-bar/view.d.ts +5 -0
- package/lib/modules/action-bar/view.js +112 -0
- package/lib/modules/annotation/annotation-index.d.ts +2 -0
- package/lib/modules/annotation/annotation-index.js +80 -0
- package/lib/modules/annotation/annotation-toolbar-store.d.ts +75 -0
- package/lib/modules/annotation/annotation-toolbar-store.js +459 -0
- package/lib/modules/annotation/board-cursor.css +77 -0
- package/lib/modules/annotation/components/color-picker/components/color.d.ts +5 -0
- package/lib/modules/annotation/components/color-picker/components/color.js +38 -0
- package/lib/modules/annotation/components/color-picker/components/panel.d.ts +1 -0
- package/lib/modules/annotation/components/color-picker/components/panel.js +109 -0
- package/lib/modules/annotation/components/color-picker/components/picker.d.ts +1 -0
- package/lib/modules/annotation/components/color-picker/components/picker.js +75 -0
- package/lib/modules/annotation/components/color-picker/index.d.ts +2 -0
- package/lib/modules/annotation/components/color-picker/index.js +47 -0
- package/lib/modules/annotation/components/eraser-picker.d.ts +4 -0
- package/lib/modules/annotation/components/eraser-picker.js +144 -0
- package/lib/modules/annotation/components/expansion/index.d.ts +1 -0
- package/lib/modules/annotation/components/expansion/index.js +100 -0
- package/lib/modules/annotation/components/extra-tool-picker.d.ts +1 -0
- package/lib/modules/annotation/components/extra-tool-picker.js +62 -0
- package/lib/modules/annotation/components/history.d.ts +2 -0
- package/lib/modules/annotation/components/history.js +78 -0
- package/lib/modules/annotation/components/icons/fold-icon.d.ts +2 -0
- package/lib/modules/annotation/components/icons/fold-icon.js +41 -0
- package/lib/modules/annotation/components/icons/move-icon.d.ts +1 -0
- package/lib/modules/annotation/components/icons/move-icon.js +66 -0
- package/lib/modules/annotation/components/item/index.d.ts +1 -0
- package/lib/modules/annotation/components/item/index.js +43 -0
- package/lib/modules/annotation/components/move-handle.d.ts +5 -0
- package/lib/modules/annotation/components/move-handle.js +134 -0
- package/lib/modules/annotation/components/pen-picker.d.ts +4 -0
- package/lib/modules/annotation/components/pen-picker.js +155 -0
- package/lib/modules/annotation/components/screen-capture-picker.d.ts +4 -0
- package/lib/modules/annotation/components/screen-capture-picker.js +85 -0
- package/lib/modules/annotation/components/shape-picker.d.ts +4 -0
- package/lib/modules/annotation/components/shape-picker.js +210 -0
- package/lib/modules/annotation/hooks/index.d.ts +14 -0
- package/lib/modules/annotation/hooks/index.js +292 -0
- package/lib/modules/annotation/index.d.ts +45 -0
- package/lib/modules/annotation/index.js +168 -0
- package/lib/modules/annotation/store.d.ts +98 -0
- package/lib/modules/annotation/store.js +620 -0
- package/lib/modules/annotation/style.css +36 -0
- package/lib/modules/annotation/view.d.ts +3 -0
- package/lib/modules/annotation/view.js +44 -0
- package/lib/modules/chat/index.css +5 -1
- package/lib/modules/chat/view.js +6 -1
- package/lib/modules/components/control-bar/components/switch-theme/index.css +2 -0
- package/lib/modules/components/control-bar/components/switch-theme/index.js +5 -7
- package/lib/modules/components/control-bar/index.js +26 -7
- package/lib/modules/components/device-control/store.d.ts +42 -0
- package/lib/modules/components/device-control/store.js +241 -0
- package/lib/modules/components/leave-meeting/store.d.ts +39 -0
- package/lib/modules/components/leave-meeting/store.js +270 -0
- package/lib/modules/components/toolbar/components/capture-tool/index.d.ts +0 -1
- package/lib/modules/components/toolbar/components/capture-tool/index.js +1 -2
- package/lib/modules/components/toolbar/components/vertical-frame/index.js +2 -2
- package/lib/modules/components/toolbar/hooks/use-resize-visible.js +43 -42
- package/lib/modules/components/toolbar/index.js +6 -24
- package/lib/modules/control-bar/components/annotation-button/index.d.ts +1 -0
- package/lib/modules/control-bar/components/annotation-button/index.js +72 -0
- package/lib/modules/control-bar/components/cloud-recording-buttons.d.ts +3 -0
- package/lib/modules/control-bar/components/cloud-recording-buttons.js +65 -3
- package/lib/modules/control-bar/store.js +11 -6
- package/lib/modules/control-bar/types.d.ts +20 -0
- package/lib/modules/control-bar/types.js +6 -0
- package/lib/modules/dialog/components/dialog-container/component/body.d.ts +1 -0
- package/lib/modules/dialog/components/dialog-container/component/body.js +3 -2
- package/lib/modules/dialog/components/dialog-container/index.css +1 -1
- package/lib/modules/dialog/components/dialog-container/index.d.ts +1 -0
- package/lib/modules/dialog/components/dialog-container/index.js +4 -1
- package/lib/modules/dialog/components/normal-window/index.d.ts +1 -0
- package/lib/modules/dialog/components/normal-window/index.js +3 -1
- package/lib/modules/dialog/dialogs/chat/index.js +2 -1
- package/lib/modules/dialog/dialogs/control-bar-leave-meeting/index.js +0 -1
- package/lib/modules/dialog/dialogs/end-meeting/index.d.ts +1 -0
- package/lib/modules/dialog/dialogs/end-meeting/index.js +2 -1
- package/lib/modules/dialog/dialogs/participant/index.js +2 -1
- package/lib/modules/dialog/dialogs/pre-setting/index.css +26 -0
- package/lib/modules/dialog/dialogs/pre-setting/index.d.ts +6 -0
- package/lib/modules/dialog/dialogs/pre-setting/index.js +62 -0
- package/lib/modules/dialog/dialogs/widget/electron.d.ts +6 -0
- package/lib/modules/dialog/dialogs/widget/electron.js +38 -0
- package/lib/modules/dialog/hooks/use-popover-watcher.d.ts +14 -0
- package/lib/modules/dialog/hooks/use-popover-watcher.js +110 -0
- package/lib/modules/dialog/hooks/useElectron.d.ts +28 -0
- package/lib/modules/dialog/hooks/useElectron.js +277 -0
- package/lib/modules/dialog/store.d.ts +135 -0
- package/lib/modules/dialog/store.js +616 -0
- package/lib/modules/event-confirm/components/window/index.d.ts +7 -0
- package/lib/modules/event-confirm/components/window/index.js +221 -0
- package/lib/modules/event-confirm/index.css +24 -0
- package/lib/modules/event-confirm/index.d.ts +27 -0
- package/lib/modules/event-confirm/index.js +76 -0
- package/lib/modules/event-confirm/store.d.ts +50 -0
- package/lib/modules/event-confirm/store.js +394 -0
- package/lib/modules/event-confirm/view.d.ts +2 -0
- package/lib/modules/event-confirm/view.js +55 -0
- package/lib/modules/event-toast/store.d.ts +27 -0
- package/lib/modules/event-toast/store.js +205 -0
- package/lib/modules/layout/store.d.ts +176 -0
- package/lib/modules/layout/store.electron.js +1 -1
- package/lib/modules/layout/store.js +1452 -0
- package/lib/modules/participant/store.d.ts +222 -0
- package/lib/modules/participant/store.js +1929 -0
- package/lib/modules/pc-audio-connect/index.d.ts +22 -0
- package/lib/modules/pc-audio-connect/index.js +67 -0
- package/lib/modules/pc-audio-connect/store.d.ts +46 -0
- package/lib/modules/pc-audio-connect/store.js +304 -0
- package/lib/modules/secondary-window/store.d.ts +0 -1
- package/lib/modules/secondary-window/store.js +9 -22
- package/lib/modules/secondary-window/view.js +6 -5
- package/lib/modules/setting/common/advance-link.d.ts +3 -0
- package/lib/modules/setting/common/advance-link.js +27 -0
- package/lib/modules/setting/common/index.css +26 -0
- package/lib/modules/setting/common/useNamespace.d.ts +15 -0
- package/lib/modules/setting/common/useNamespace.js +66 -0
- package/lib/modules/setting/dialog-wrapper.d.ts +2 -0
- package/lib/modules/setting/dialog-wrapper.js +110 -0
- package/lib/modules/setting/index.css +0 -1
- package/lib/modules/setting/store.base.js +6 -0
- package/lib/modules/setting/store.d.ts +261 -0
- package/lib/modules/setting/store.js +1321 -0
- package/lib/modules/setting/view.js +0 -3
- package/lib/modules/share-screen/store.d.ts +148 -0
- package/lib/modules/share-screen/store.electron.js +1 -1
- package/lib/modules/share-screen/store.js +960 -0
- package/lib/modules/share-screen/types.d.ts +26 -0
- package/lib/modules/share-screen/types.js +6 -0
- package/lib/modules/state-bar/layout-config.js +6 -0
- package/lib/modules/state-bar/main-scene/store.base.d.ts +2 -0
- package/lib/modules/state-bar/main-scene/store.base.js +6 -0
- package/lib/modules/state-bar/store.d.ts +124 -0
- package/lib/modules/state-bar/store.js +664 -0
- package/lib/modules/video-window/index.css +6 -0
- package/lib/modules/video-window/popover-watcher.d.ts +4 -1
- package/lib/modules/video-window/popover-watcher.js +15 -2
- package/lib/modules/video-window/store.d.ts +18 -1
- package/lib/modules/video-window/store.js +55 -7
- package/lib/modules/whiteboard/components/progress/electron.d.ts +1 -0
- package/lib/modules/whiteboard/components/progress/electron.js +33 -0
- package/lib/modules/whiteboard/store.js +20 -2
- package/lib/modules/widget/store.d.ts +14 -0
- package/lib/modules/widget/store.js +28 -0
- package/lib/object-manager.d.ts +0 -1
- package/lib/object-manager.js +0 -1
- package/lib/providers/annotation-provider.d.ts +124 -0
- package/lib/providers/annotation-provider.js +369 -0
- package/lib/providers/board-share/bar-control/base.d.ts +1 -1
- package/lib/providers/board-share/bar-control/base.js +37 -28
- package/lib/providers/board-share/bar-control/electron.d.ts +1 -1
- package/lib/providers/board-share/bar-control/electron.js +19 -16
- package/lib/providers/board-share/provider.browser.d.ts +3 -0
- package/lib/providers/board-share/provider.browser.js +21 -3
- package/lib/providers/device-provider.js +5 -1
- package/lib/providers/dialog/provider.electron.js +6 -0
- package/lib/providers/dialog-provider.d.ts +137 -0
- package/lib/providers/dialog-provider.js +194 -0
- package/lib/providers/message-provider.d.ts +69 -0
- package/lib/providers/message-provider.js +140 -0
- package/lib/providers/mouse-detect/provider.d.ts +5 -0
- package/lib/providers/mouse-detect/provider.js +74 -49
- package/lib/providers/multi-display-provider.d.ts +3 -5
- package/lib/providers/multi-display-provider.js +0 -9
- package/lib/providers/room-provider/room-provider.d.ts +3 -14
- package/lib/providers/room-provider/room-provider.js +5 -26
- package/lib/providers/room-provider.d.ts +194 -0
- package/lib/providers/room-provider.js +916 -0
- package/lib/providers/screen-share/stream-state-sync.js +19 -12
- package/lib/providers/screen-share-provider.d.ts +245 -0
- package/lib/providers/screen-share-provider.js +850 -0
- package/lib/providers/sharing-provider.d.ts +42 -0
- package/lib/providers/sharing-provider.js +228 -0
- package/lib/providers/user-setting-storage-provider.d.ts +21 -0
- package/lib/providers/user-setting-storage-provider.js +65 -0
- package/lib/providers/whiteboard-provider.d.ts +24 -0
- package/lib/providers/whiteboard-provider.js +128 -0
- package/lib/providers/window/main-window.d.ts +0 -5
- package/lib/providers/window/main-window.js +0 -44
- package/lib/providers/window/renderer-window.d.ts +1 -0
- package/lib/providers/window/renderer-window.js +9 -1
- package/lib/scenes/main-scene.js +0 -2
- package/lib/shared-data-source/annotation-data.d.ts +17 -0
- package/lib/shared-data-source/annotation-data.js +110 -0
- package/lib/shared-data-source/app-list-data.d.ts +34 -0
- package/lib/shared-data-source/app-list-data.js +133 -0
- package/lib/shared-data-source/chat-data.d.ts +25 -0
- package/lib/shared-data-source/chat-data.js +139 -0
- package/lib/shared-data-source/config.d.ts +35 -0
- package/lib/shared-data-source/config.js +40 -0
- package/lib/shared-data-source/confirm-data.d.ts +44 -0
- package/lib/shared-data-source/confirm-data.js +201 -0
- package/lib/shared-data-source/device-privilege-data.d.ts +8 -0
- package/lib/shared-data-source/device-privilege-data.js +25 -0
- package/lib/shared-data-source/interpreter.d.ts +77 -0
- package/lib/shared-data-source/interpreter.js +247 -0
- package/lib/shared-data-source/layout-data.d.ts +31 -0
- package/lib/shared-data-source/layout-data.js +189 -0
- package/lib/shared-data-source/meeting-time.d.ts +90 -0
- package/lib/shared-data-source/meeting-time.js +416 -0
- package/lib/shared-data-source/member-data.d.ts +139 -0
- package/lib/shared-data-source/member-data.js +517 -0
- package/lib/shared-data-source/pin-data.d.ts +13 -0
- package/lib/shared-data-source/pin-data.js +111 -0
- package/lib/shared-data-source/screen-share-data.d.ts +357 -0
- package/lib/shared-data-source/screen-share-data.js +513 -0
- package/lib/shared-data-source/security-data.d.ts +39 -0
- package/lib/shared-data-source/security-data.js +156 -0
- package/lib/shared-data-source/setting.d.ts +67 -0
- package/lib/shared-data-source/setting.js +220 -0
- package/lib/shared-data-source/speaker-spotlight.d.ts +5 -0
- package/lib/shared-data-source/speaker-spotlight.js +15 -0
- package/lib/shared-data-source/video-window.d.ts +165 -0
- package/lib/shared-data-source/video-window.js +1266 -0
- package/lib/shared-data-source/waiting-room.d.ts +46 -0
- package/lib/shared-data-source/waiting-room.js +222 -0
- package/lib/shared-data-source/whiteboard-data.d.ts +70 -0
- package/lib/{providers/board-share/bar-control.js → shared-data-source/whiteboard-data.js} +62 -104
- package/lib/ui-scene.js +4 -2
- package/lib/utilities/board-context.d.ts +4 -0
- package/lib/utilities/board-context.js +12 -0
- package/lib/utilities/copyText.d.ts +2 -0
- package/lib/utilities/copyText.js +48 -0
- package/lib/utilities/renderer-event.d.ts +10 -0
- package/lib/utilities/renderer-event.js +95 -0
- package/lib/utilities/screen-capture-permission.d.ts +2 -0
- package/lib/utilities/screen-capture-permission.js +24 -0
- package/lib/utilities/screen.d.ts +3 -0
- package/lib/utilities/screen.js +53 -0
- package/lib/utilities/video-track-render-context.d.ts +6 -0
- package/lib/utilities/video-track-render-context.js +9 -0
- package/lib/waiting-room-control-manager.d.ts +28 -0
- package/lib/waiting-room-control-manager.js +230 -0
- package/package.json +5 -5
- package/public/index.html +22 -1
- package/lib/providers/board-share/bar-control.d.ts +0 -51
|
@@ -0,0 +1,1529 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("core-js/modules/es.symbol.js");
|
|
4
|
+
require("core-js/modules/es.symbol.description.js");
|
|
5
|
+
require("core-js/modules/es.symbol.to-primitive.js");
|
|
6
|
+
require("core-js/modules/es.error.cause.js");
|
|
7
|
+
require("core-js/modules/es.error.to-string.js");
|
|
8
|
+
require("core-js/modules/es.array.filter.js");
|
|
9
|
+
require("core-js/modules/es.array.is-array.js");
|
|
10
|
+
require("core-js/modules/es.date.to-primitive.js");
|
|
11
|
+
require("core-js/modules/es.function.name.js");
|
|
12
|
+
require("core-js/modules/es.number.constructor.js");
|
|
13
|
+
require("core-js/modules/es.object.create.js");
|
|
14
|
+
require("core-js/modules/es.object.define-properties.js");
|
|
15
|
+
require("core-js/modules/es.object.define-property.js");
|
|
16
|
+
require("core-js/modules/es.object.get-own-property-descriptor.js");
|
|
17
|
+
require("core-js/modules/es.object.get-own-property-descriptors.js");
|
|
18
|
+
require("core-js/modules/es.object.keys.js");
|
|
19
|
+
require("core-js/modules/esnext.function.metadata.js");
|
|
20
|
+
require("core-js/modules/esnext.iterator.filter.js");
|
|
21
|
+
require("core-js/modules/esnext.symbol.metadata.js");
|
|
22
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
23
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
24
|
+
Object.defineProperty(exports, "__esModule", {
|
|
25
|
+
value: true
|
|
26
|
+
});
|
|
27
|
+
exports["default"] = exports.AudioConnectType = exports.ActionBarContext = void 0;
|
|
28
|
+
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
29
|
+
require("core-js/modules/es.array.find.js");
|
|
30
|
+
require("core-js/modules/es.array.for-each.js");
|
|
31
|
+
require("core-js/modules/es.array.includes.js");
|
|
32
|
+
require("core-js/modules/es.array.iterator.js");
|
|
33
|
+
require("core-js/modules/es.array.push.js");
|
|
34
|
+
require("core-js/modules/es.array.reduce.js");
|
|
35
|
+
require("core-js/modules/es.array.some.js");
|
|
36
|
+
require("core-js/modules/es.function.bind.js");
|
|
37
|
+
require("core-js/modules/es.map.js");
|
|
38
|
+
require("core-js/modules/es.object.to-string.js");
|
|
39
|
+
require("core-js/modules/es.object.values.js");
|
|
40
|
+
require("core-js/modules/es.string.includes.js");
|
|
41
|
+
require("core-js/modules/es.string.iterator.js");
|
|
42
|
+
require("core-js/modules/es.weak-map.js");
|
|
43
|
+
require("core-js/modules/esnext.iterator.constructor.js");
|
|
44
|
+
require("core-js/modules/esnext.iterator.find.js");
|
|
45
|
+
require("core-js/modules/esnext.iterator.for-each.js");
|
|
46
|
+
require("core-js/modules/esnext.iterator.reduce.js");
|
|
47
|
+
require("core-js/modules/esnext.iterator.some.js");
|
|
48
|
+
require("core-js/modules/esnext.map.delete-all.js");
|
|
49
|
+
require("core-js/modules/esnext.map.emplace.js");
|
|
50
|
+
require("core-js/modules/esnext.map.every.js");
|
|
51
|
+
require("core-js/modules/esnext.map.filter.js");
|
|
52
|
+
require("core-js/modules/esnext.map.find.js");
|
|
53
|
+
require("core-js/modules/esnext.map.find-key.js");
|
|
54
|
+
require("core-js/modules/esnext.map.includes.js");
|
|
55
|
+
require("core-js/modules/esnext.map.key-of.js");
|
|
56
|
+
require("core-js/modules/esnext.map.map-keys.js");
|
|
57
|
+
require("core-js/modules/esnext.map.map-values.js");
|
|
58
|
+
require("core-js/modules/esnext.map.merge.js");
|
|
59
|
+
require("core-js/modules/esnext.map.reduce.js");
|
|
60
|
+
require("core-js/modules/esnext.map.some.js");
|
|
61
|
+
require("core-js/modules/esnext.map.update.js");
|
|
62
|
+
require("core-js/modules/esnext.weak-map.delete-all.js");
|
|
63
|
+
require("core-js/modules/esnext.weak-map.emplace.js");
|
|
64
|
+
require("core-js/modules/web.dom-collections.for-each.js");
|
|
65
|
+
require("core-js/modules/web.dom-collections.iterator.js");
|
|
66
|
+
require("core-js/modules/web.timers.js");
|
|
67
|
+
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
68
|
+
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
69
|
+
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
70
|
+
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
71
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
72
|
+
var _fcrCore = require("fcr-core");
|
|
73
|
+
var _mobx = require("mobx");
|
|
74
|
+
var _type = require("fcr-core/lib/type");
|
|
75
|
+
var _decorator = require("agora-foundation/lib/decorator");
|
|
76
|
+
var _type2 = require("../../type");
|
|
77
|
+
var _env = require("agora-foundation/lib/utilities/env");
|
|
78
|
+
var _type3 = require("agora-ui-foundation/lib/components/icon/type");
|
|
79
|
+
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
80
|
+
var _type4 = require("fcr-core/lib/room-control/type");
|
|
81
|
+
var _react = require("react");
|
|
82
|
+
var _constant = require("../../utilities/constant");
|
|
83
|
+
var _enums = require("./enums");
|
|
84
|
+
var _logger = require("../../utilities/logger");
|
|
85
|
+
var _ActionBarStore;
|
|
86
|
+
var _initProto, _init_newMessageTooltipVisible, _init_totalWaitingRoomUser, _init_liveStreamingState, _init_currentMenuIs, _init_cloudRecordingState, _init_connectionSettingVisible, _init_folded, _init_showArrow, _init_phoneMicEnabled, _init_chatTabIndex, _init_stateBarLeaveMeeting, _init_hasOfflineUserExistence, _init_connectionState, _init_appActionbarPopoverVisible, _setCheckedStateMapDecs, _pauseCloudRecordingDecs, _resumeCloudRecordingDecs, _stopCloudRecordingDecs, _showLockedRoomToastDecs, _toggleLayoutBarLockDecs, _showNewMessageTooltipDecs, _hideNewMessageTooltipDecs, _switchMenuDecs, _setPopoverOpenedDecs, _setStateBarLeaveMeetingDecs, _handleJoinWaitingRoomDecs, _toggleFoldDecs, _setShowArrowDecs, _setEnableWaitingRoomDecs, _kickOutWaitingRoomAllMemberDecs, _moveToMainRoomAllMemberDecs, _handleRemoteUsersJoinedDecs, _handleRemoteUsersLeftDecs, _handleLiveStreamingStateUpdatedDecs, _handleChatVisibleDecs, _setAppActionbarPopoverVisibleDecs, _operateWaitingRoomDecs, _handleCloudRecordingStateUpdatedDecs, _setOutputLanguageDecs, _subscribeLanguageDecs, _subscribeExtraOriginLanguageDecs, _getOfflineUserExistenceStateDecs, _clickWidgetDecs, _closeWidgetDecs, _ref;
|
|
87
|
+
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; }
|
|
88
|
+
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; }
|
|
89
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
|
90
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
|
91
|
+
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
|
92
|
+
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
|
93
|
+
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
|
94
|
+
function _applyDecs(e, t, r, n, o, a) { function i(e, t, r) { return function (n, o) { return r && r(n), e[t].call(n, o); }; } function c(e, t) { for (var r = 0; r < e.length; r++) e[r].call(t); return t; } function s(e, t, r, n) { if ("function" != typeof e && (n || void 0 !== e)) throw new TypeError(t + " must " + (r || "be") + " a function" + (n ? "" : " or undefined")); return e; } function applyDec(e, t, r, n, o, a, c, u, l, f, p, d, h) { function m(e) { if (!h(e)) throw new TypeError("Attempted to access private element on non-instance"); } var y, v = t[0], g = t[3], b = !u; if (!b) { r || Array.isArray(v) || (v = [v]); var w = {}, S = [], A = 3 === o ? "get" : 4 === o || d ? "set" : "value"; f ? (p || d ? w = { get: _setFunctionName(function () { return g(this); }, n, "get"), set: function set(e) { t[4](this, e); } } : w[A] = g, p || _setFunctionName(w[A], n, 2 === o ? "" : A)) : p || (w = Object.getOwnPropertyDescriptor(e, n)); } for (var P = e, j = v.length - 1; j >= 0; j -= r ? 2 : 1) { var D = v[j], E = r ? v[j - 1] : void 0, I = {}, O = { kind: ["field", "accessor", "method", "getter", "setter", "class"][o], name: n, metadata: a, addInitializer: function (e, t) { if (e.v) throw Error("attempted to call addInitializer after decoration was finished"); s(t, "An initializer", "be", !0), c.push(t); }.bind(null, I) }; try { if (b) (y = s(D.call(E, P, O), "class decorators", "return")) && (P = y);else { var k, F; O["static"] = l, O["private"] = f, f ? 2 === o ? k = function k(e) { return m(e), w.value; } : (o < 4 && (k = i(w, "get", m)), 3 !== o && (F = i(w, "set", m))) : (k = function k(e) { return e[n]; }, (o < 2 || 4 === o) && (F = function F(e, t) { e[n] = t; })); var N = O.access = { has: f ? h.bind() : function (e) { return n in e; } }; if (k && (N.get = k), F && (N.set = F), P = D.call(E, d ? { get: w.get, set: w.set } : w[A], O), d) { if ("object" == _typeof(P) && P) (y = s(P.get, "accessor.get")) && (w.get = y), (y = s(P.set, "accessor.set")) && (w.set = y), (y = s(P.init, "accessor.init")) && S.push(y);else if (void 0 !== P) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0"); } else s(P, (p ? "field" : "method") + " decorators", "return") && (p ? S.push(P) : w[A] = P); } } finally { I.v = !0; } } return (p || d) && u.push(function (e, t) { for (var r = S.length - 1; r >= 0; r--) t = S[r].call(e, t); return t; }), p || b || (f ? d ? u.push(i(w, "get"), i(w, "set")) : u.push(2 === o ? w[A] : i.call.bind(w[A])) : Object.defineProperty(e, n, w)), P; } function u(e, t) { return Object.defineProperty(e, Symbol.metadata || Symbol["for"]("Symbol.metadata"), { configurable: !0, enumerable: !0, value: t }); } if (arguments.length >= 6) var l = a[Symbol.metadata || Symbol["for"]("Symbol.metadata")]; var f = Object.create(null == l ? null : l), p = function (e, t, r, n) { var o, a, i = [], s = function s(t) { return _checkInRHS(t) === e; }, u = new Map(); function l(e) { e && i.push(c.bind(null, e)); } for (var f = 0; f < t.length; f++) { var p = t[f]; if (Array.isArray(p)) { var d = p[1], h = p[2], m = p.length > 3, y = 16 & d, v = !!(8 & d), g = 0 == (d &= 7), b = h + "/" + v; if (!g && !m) { var w = u.get(b); if (!0 === w || 3 === w && 4 !== d || 4 === w && 3 !== d) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + h); u.set(b, !(d > 2) || d); } applyDec(v ? e : e.prototype, p, y, m ? "#" + h : _toPropertyKey(h), d, n, v ? a = a || [] : o = o || [], i, v, m, g, 1 === d, v && m ? s : r); } } return l(o), l(a), i; }(e, t, o, f); return r.length || u(e, f), { e: p, get c() { var t = []; return r.length && [u(applyDec(e, [r], n, e.name, 5, f, t), f), c.bind(null, t, e)]; } }; }
|
|
95
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
96
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
97
|
+
function _setFunctionName(e, t, n) { "symbol" == _typeof(t) && (t = (t = t.description) ? "[" + t + "]" : ""); try { Object.defineProperty(e, "name", { configurable: !0, value: n ? n + " " + t : t }); } catch (e) {} return e; }
|
|
98
|
+
function _checkInRHS(e) { if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (null !== e ? _typeof(e) : "null")); return e; }
|
|
99
|
+
var AudioConnectType = exports.AudioConnectType = /*#__PURE__*/function (AudioConnectType) {
|
|
100
|
+
AudioConnectType[AudioConnectType["NONE"] = 0] = "NONE";
|
|
101
|
+
AudioConnectType[AudioConnectType["COMPUTER"] = 1] = "COMPUTER";
|
|
102
|
+
AudioConnectType[AudioConnectType["PHONE"] = 2] = "PHONE";
|
|
103
|
+
return AudioConnectType;
|
|
104
|
+
}({});
|
|
105
|
+
var _A = /*#__PURE__*/new WeakMap();
|
|
106
|
+
var _B = /*#__PURE__*/new WeakMap();
|
|
107
|
+
var _C = /*#__PURE__*/new WeakMap();
|
|
108
|
+
var _D = /*#__PURE__*/new WeakMap();
|
|
109
|
+
var _E = /*#__PURE__*/new WeakMap();
|
|
110
|
+
var _F = /*#__PURE__*/new WeakMap();
|
|
111
|
+
var _G = /*#__PURE__*/new WeakMap();
|
|
112
|
+
var _H = /*#__PURE__*/new WeakMap();
|
|
113
|
+
var _I = /*#__PURE__*/new WeakMap();
|
|
114
|
+
var _J = /*#__PURE__*/new WeakMap();
|
|
115
|
+
var _K = /*#__PURE__*/new WeakMap();
|
|
116
|
+
var _L = /*#__PURE__*/new WeakMap();
|
|
117
|
+
var _M = /*#__PURE__*/new WeakMap();
|
|
118
|
+
var _N = /*#__PURE__*/new WeakMap();
|
|
119
|
+
_ref = (_setCheckedStateMapDecs = [_mobx.action, _mobx.action.bound], _pauseCloudRecordingDecs = [_decorator.bound, (0, _decorator.debounced)(500, {
|
|
120
|
+
leading: true
|
|
121
|
+
})], _resumeCloudRecordingDecs = [_decorator.bound, (0, _decorator.debounced)(500, {
|
|
122
|
+
leading: true
|
|
123
|
+
})], _stopCloudRecordingDecs = [_decorator.bound, (0, _decorator.debounced)(500, {
|
|
124
|
+
leading: true
|
|
125
|
+
})], _showLockedRoomToastDecs = [_mobx.action, _mobx.action.bound], _toggleLayoutBarLockDecs = [_mobx.action, _mobx.action.bound], _showNewMessageTooltipDecs = [_mobx.action, _mobx.action.bound], _hideNewMessageTooltipDecs = [_mobx.action, _mobx.action.bound], _switchMenuDecs = [_mobx.action, _mobx.action.bound], _setPopoverOpenedDecs = [_mobx.action, _mobx.action.bound], _setStateBarLeaveMeetingDecs = [_mobx.action, _mobx.action.bound], _handleJoinWaitingRoomDecs = [_mobx.action, _mobx.action.bound], _toggleFoldDecs = [_mobx.action, _mobx.action.bound], _setShowArrowDecs = [_mobx.action, _mobx.action.bound], _setEnableWaitingRoomDecs = [_mobx.action, _mobx.action.bound], _kickOutWaitingRoomAllMemberDecs = [_mobx.action, _mobx.action.bound], _moveToMainRoomAllMemberDecs = [_mobx.action, _mobx.action.bound], _handleRemoteUsersJoinedDecs = [_mobx.action, _mobx.action.bound], _handleRemoteUsersLeftDecs = [_mobx.action, _mobx.action.bound], _handleLiveStreamingStateUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleChatVisibleDecs = [_mobx.action, _mobx.action.bound], _setAppActionbarPopoverVisibleDecs = [_mobx.action, _mobx.action.bound], _operateWaitingRoomDecs = [_mobx.action, _mobx.action.bound], _handleCloudRecordingStateUpdatedDecs = [_mobx.action, _mobx.action.bound], _setOutputLanguageDecs = [_mobx.action, _mobx.action.bound], _subscribeLanguageDecs = [_mobx.action, _mobx.action.bound], _subscribeExtraOriginLanguageDecs = [_mobx.action, _mobx.action.bound], _getOfflineUserExistenceStateDecs = [_mobx.action, _mobx.action.bound], _clickWidgetDecs = [_mobx.action, _mobx.action.bound], _closeWidgetDecs = [_mobx.action, _mobx.action.bound], "logger");
|
|
126
|
+
var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
127
|
+
function ActionBarStore(args) {
|
|
128
|
+
var _this = this,
|
|
129
|
+
_this$_roomControl$ge;
|
|
130
|
+
(0, _classCallCheck2["default"])(this, ActionBarStore);
|
|
131
|
+
(0, _defineProperty2["default"])(this, _ref, (_initProto(this), (0, _logger.createLogger)({
|
|
132
|
+
prefix: 'ActionBarStore'
|
|
133
|
+
})));
|
|
134
|
+
(0, _defineProperty2["default"])(this, "_disposers", []);
|
|
135
|
+
(0, _defineProperty2["default"])(this, "_userObserver", {
|
|
136
|
+
onRemoteUsersJoined: this._handleRemoteUsersJoined,
|
|
137
|
+
onRemoteUsersLeft: this._handleRemoteUsersLeft
|
|
138
|
+
});
|
|
139
|
+
// private _waitingRoomUserObserver: FcrUserObserver = {
|
|
140
|
+
// onRemoteUsersJoined: this._handleRemoteWaitingUserJoined,
|
|
141
|
+
// onRemoteUsersLeft: this._handleRemoteWaitingUserLeft,
|
|
142
|
+
// };
|
|
143
|
+
(0, _defineProperty2["default"])(this, "_roomObserver", {
|
|
144
|
+
onJoinWaitingRoom: this._handleJoinWaitingRoom.bind(this)
|
|
145
|
+
});
|
|
146
|
+
(0, _defineProperty2["default"])(this, "_mainRoomObserver", {
|
|
147
|
+
onLiveStreamingStateUpdated: this._handleLiveStreamingStateUpdated,
|
|
148
|
+
onCloudRecordingStateUpdated: this._handleCloudRecordingStateUpdated
|
|
149
|
+
});
|
|
150
|
+
(0, _defineProperty2["default"])(this, "_uiEventObserver", {
|
|
151
|
+
onEvent: this._onEvent
|
|
152
|
+
});
|
|
153
|
+
(0, _defineProperty2["default"])(this, "_openedDialogIdMap", new Map());
|
|
154
|
+
(0, _defineProperty2["default"])(this, "_newMessageTooltipTimer", null);
|
|
155
|
+
(0, _defineProperty2["default"])(this, "_hideBarArrowTimer", null);
|
|
156
|
+
(0, _defineProperty2["default"])(this, "_interpreterProviderObserver", {
|
|
157
|
+
onInterpreterListUpdated: function onInterpreterListUpdated() {
|
|
158
|
+
_this.hasOfflineUserExistence = _this.getOfflineUserExistenceState();
|
|
159
|
+
}
|
|
160
|
+
});
|
|
161
|
+
(0, _defineProperty2["default"])(this, "_applistObserver", {
|
|
162
|
+
onApplistItemClick: this._handleApplistItemClick.bind(this)
|
|
163
|
+
});
|
|
164
|
+
_classPrivateFieldInitSpec(this, _A, _init_newMessageTooltipVisible(this, false));
|
|
165
|
+
_classPrivateFieldInitSpec(this, _B, _init_totalWaitingRoomUser(this, 0));
|
|
166
|
+
_classPrivateFieldInitSpec(this, _C, _init_liveStreamingState(this));
|
|
167
|
+
_classPrivateFieldInitSpec(this, _D, _init_currentMenuIs(this, _enums.MoreMenuType.DEFAULT));
|
|
168
|
+
_classPrivateFieldInitSpec(this, _E, _init_cloudRecordingState(this));
|
|
169
|
+
_classPrivateFieldInitSpec(this, _F, _init_connectionSettingVisible(this, false));
|
|
170
|
+
_classPrivateFieldInitSpec(this, _G, _init_folded(this, false));
|
|
171
|
+
_classPrivateFieldInitSpec(this, _H, _init_showArrow(this, false));
|
|
172
|
+
_classPrivateFieldInitSpec(this, _I, _init_phoneMicEnabled(this, false));
|
|
173
|
+
_classPrivateFieldInitSpec(this, _J, _init_chatTabIndex(this, _type2.FcrUIRoomType.MAIN_ROOM));
|
|
174
|
+
_classPrivateFieldInitSpec(this, _K, _init_stateBarLeaveMeeting(this, false));
|
|
175
|
+
_classPrivateFieldInitSpec(this, _L, _init_hasOfflineUserExistence(this, true));
|
|
176
|
+
_classPrivateFieldInitSpec(this, _M, _init_connectionState(this, _fcrCore.FcrConnectionState.CONNECTED));
|
|
177
|
+
_classPrivateFieldInitSpec(this, _N, _init_appActionbarPopoverVisible(this, false));
|
|
178
|
+
this._roomProvider = args.roomProvider;
|
|
179
|
+
this._roomControl = args.roomControl;
|
|
180
|
+
this._deviceProvider = args.deviceProvider;
|
|
181
|
+
this._sharedLayoutDataSource = args.sharedLayoutDataSource;
|
|
182
|
+
this._eventProvider = args.eventProvider;
|
|
183
|
+
this._dialogProvider = args.dialogProvider;
|
|
184
|
+
this._messageProvider = args.messageProvider;
|
|
185
|
+
this._privilegeProvider = args.privilegeProvider;
|
|
186
|
+
this._deviceStreamProvider = args.deviceStreamProvider;
|
|
187
|
+
this._screenShareProvider = args.screenShareProvider;
|
|
188
|
+
this._sharedWaitingRoomDataSource = args.sharedWaitingRoomDataSource;
|
|
189
|
+
this._sharedInterpreterDataSource = args.sharedInterpreterDataSource;
|
|
190
|
+
this._sharedChatDataSource = args.sharedChatDataSource;
|
|
191
|
+
this._sharedDevicePrivilegeDataSource = args.sharedDevicePrivilegeDataSource;
|
|
192
|
+
this._sharedMemberDataSource = args.sharedMemberDataSource;
|
|
193
|
+
this._widgetProvider = args.widgetProvider;
|
|
194
|
+
this._sharedSecuritySharedDataSource = args.sharedSecuritySharedDataSource;
|
|
195
|
+
this._sharedScreenShareSharedDataSource = args.sharedScreenShareSharedDataSource;
|
|
196
|
+
this._abilityProvider = args.abilityProvider;
|
|
197
|
+
this._applistProvider = args.applistProvider;
|
|
198
|
+
this._sharedApplistDataSource = args.sharedApplistDataSource;
|
|
199
|
+
this._sharedWhiteboardDataSource = args.sharedWhiteboardDataSource;
|
|
200
|
+
this._applistProvider.addObserver(this._applistObserver);
|
|
201
|
+
this._userControl = this._roomControl.getUserControl();
|
|
202
|
+
this._roomType = (_this$_roomControl$ge = this._roomControl.getRoomInfo()) === null || _this$_roomControl$ge === void 0 ? void 0 : _this$_roomControl$ge.roomType;
|
|
203
|
+
this.liveStreamingState = this._roomControl.getLiveStreamingState();
|
|
204
|
+
this.cloudRecordingState = this._roomControl.getCloudRecordingState();
|
|
205
|
+
if (args.interpreterProvider) {
|
|
206
|
+
this._interpreterProvider = args.interpreterProvider;
|
|
207
|
+
if (this._roomType === _type4.FcrRoomType.Mainroom) {
|
|
208
|
+
this._roomProvider.addObserver(this._roomObserver);
|
|
209
|
+
this._interpreterProvider.addObserver(this._interpreterProviderObserver);
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
this.hasOfflineUserExistence = this.getOfflineUserExistenceState();
|
|
213
|
+
this._userControl.addObserver(this._userObserver);
|
|
214
|
+
this._roomControl.addObserver(this._mainRoomObserver);
|
|
215
|
+
this._eventProvider.addObserver(this._uiEventObserver);
|
|
216
|
+
this._disposers.push((0, _mobx.reaction)(function () {
|
|
217
|
+
return _this.localUserRole;
|
|
218
|
+
}, function (role) {
|
|
219
|
+
_this._widgetProvider.openedWidgets.forEach(function (_widget, widgetId) {
|
|
220
|
+
var widgetConfig = _this._widgetProvider.registeredWidgetConfigs.get(widgetId);
|
|
221
|
+
if (widgetConfig) {
|
|
222
|
+
if (!_this._checkIsWidgetSupportedRole(widgetConfig, role)) {
|
|
223
|
+
_this.closeWidget(widgetId);
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
});
|
|
227
|
+
}), (0, _mobx.reaction)(function () {
|
|
228
|
+
return _this.chatVisible;
|
|
229
|
+
}, function (chatVisible) {
|
|
230
|
+
if (chatVisible) {
|
|
231
|
+
_this._handleChatVisible(true);
|
|
232
|
+
} else {
|
|
233
|
+
_this._handleChatVisible(false);
|
|
234
|
+
}
|
|
235
|
+
}),
|
|
236
|
+
// reaction(
|
|
237
|
+
// () => this._sharedWaitingRoomDataSource.totalWaitingRoomUser,
|
|
238
|
+
// (totalWaitingRoomUser) => {
|
|
239
|
+
// if (totalWaitingRoomUser === 0) {
|
|
240
|
+
// this.newMessageCount = {
|
|
241
|
+
// ...this.newMessageCount,
|
|
242
|
+
// [FcrRoomType.Waitingroom]: 0,
|
|
243
|
+
// };
|
|
244
|
+
// }
|
|
245
|
+
// },
|
|
246
|
+
// ),
|
|
247
|
+
(0, _mobx.reaction)(function () {
|
|
248
|
+
return _this.newMessageCount;
|
|
249
|
+
}, function (count) {
|
|
250
|
+
var hasMainRoomMessage = count[_type2.FcrUIRoomType.MAIN_ROOM] && count[_type2.FcrUIRoomType.MAIN_ROOM] > 0;
|
|
251
|
+
var hasWaitingRoomMessage = count[_type2.FcrUIRoomType.WAITING_ROOM] && count[_type2.FcrUIRoomType.WAITING_ROOM] > 0;
|
|
252
|
+
if (hasMainRoomMessage || hasWaitingRoomMessage) {
|
|
253
|
+
_this._newMessageTooltipTimer && clearTimeout(_this._newMessageTooltipTimer);
|
|
254
|
+
_this.showNewMessageTooltip();
|
|
255
|
+
_this._newMessageTooltipTimer = window.setTimeout(function () {
|
|
256
|
+
_this.hideNewMessageTooltip();
|
|
257
|
+
}, 4000);
|
|
258
|
+
}
|
|
259
|
+
}));
|
|
260
|
+
}
|
|
261
|
+
return (0, _createClass2["default"])(ActionBarStore, [{
|
|
262
|
+
key: "newMessageTooltipVisible",
|
|
263
|
+
get: function get() {
|
|
264
|
+
return _classPrivateFieldGet(_A, this);
|
|
265
|
+
},
|
|
266
|
+
set: function set(v) {
|
|
267
|
+
_classPrivateFieldSet(_A, this, v);
|
|
268
|
+
}
|
|
269
|
+
}, {
|
|
270
|
+
key: "totalWaitingRoomUser",
|
|
271
|
+
get: function get() {
|
|
272
|
+
return _classPrivateFieldGet(_B, this);
|
|
273
|
+
},
|
|
274
|
+
set: function set(v) {
|
|
275
|
+
_classPrivateFieldSet(_B, this, v);
|
|
276
|
+
}
|
|
277
|
+
}, {
|
|
278
|
+
key: "liveStreamingState",
|
|
279
|
+
get: function get() {
|
|
280
|
+
return _classPrivateFieldGet(_C, this);
|
|
281
|
+
},
|
|
282
|
+
set: function set(v) {
|
|
283
|
+
_classPrivateFieldSet(_C, this, v);
|
|
284
|
+
}
|
|
285
|
+
}, {
|
|
286
|
+
key: "currentMenuIs",
|
|
287
|
+
get: function get() {
|
|
288
|
+
return _classPrivateFieldGet(_D, this);
|
|
289
|
+
},
|
|
290
|
+
set: function set(v) {
|
|
291
|
+
_classPrivateFieldSet(_D, this, v);
|
|
292
|
+
}
|
|
293
|
+
}, {
|
|
294
|
+
key: "cloudRecordingState",
|
|
295
|
+
get: function get() {
|
|
296
|
+
return _classPrivateFieldGet(_E, this);
|
|
297
|
+
},
|
|
298
|
+
set: function set(v) {
|
|
299
|
+
_classPrivateFieldSet(_E, this, v);
|
|
300
|
+
}
|
|
301
|
+
}, {
|
|
302
|
+
key: "connectionSettingVisible",
|
|
303
|
+
get: function get() {
|
|
304
|
+
return _classPrivateFieldGet(_F, this);
|
|
305
|
+
},
|
|
306
|
+
set: function set(v) {
|
|
307
|
+
_classPrivateFieldSet(_F, this, v);
|
|
308
|
+
}
|
|
309
|
+
}, {
|
|
310
|
+
key: "folded",
|
|
311
|
+
get: function get() {
|
|
312
|
+
return _classPrivateFieldGet(_G, this);
|
|
313
|
+
},
|
|
314
|
+
set: function set(v) {
|
|
315
|
+
_classPrivateFieldSet(_G, this, v);
|
|
316
|
+
}
|
|
317
|
+
}, {
|
|
318
|
+
key: "showArrow",
|
|
319
|
+
get: function get() {
|
|
320
|
+
return _classPrivateFieldGet(_H, this);
|
|
321
|
+
},
|
|
322
|
+
set: function set(v) {
|
|
323
|
+
_classPrivateFieldSet(_H, this, v);
|
|
324
|
+
}
|
|
325
|
+
}, {
|
|
326
|
+
key: "phoneMicEnabled",
|
|
327
|
+
get: function get() {
|
|
328
|
+
return _classPrivateFieldGet(_I, this);
|
|
329
|
+
},
|
|
330
|
+
set: function set(v) {
|
|
331
|
+
_classPrivateFieldSet(_I, this, v);
|
|
332
|
+
}
|
|
333
|
+
}, {
|
|
334
|
+
key: "chatTabIndex",
|
|
335
|
+
get: function get() {
|
|
336
|
+
return _classPrivateFieldGet(_J, this);
|
|
337
|
+
},
|
|
338
|
+
set: function set(v) {
|
|
339
|
+
_classPrivateFieldSet(_J, this, v);
|
|
340
|
+
}
|
|
341
|
+
}, {
|
|
342
|
+
key: "stateBarLeaveMeeting",
|
|
343
|
+
get: function get() {
|
|
344
|
+
return _classPrivateFieldGet(_K, this);
|
|
345
|
+
},
|
|
346
|
+
set: function set(v) {
|
|
347
|
+
_classPrivateFieldSet(_K, this, v);
|
|
348
|
+
}
|
|
349
|
+
}, {
|
|
350
|
+
key: "hasOfflineUserExistence",
|
|
351
|
+
get: function get() {
|
|
352
|
+
return _classPrivateFieldGet(_L, this);
|
|
353
|
+
},
|
|
354
|
+
set: function set(v) {
|
|
355
|
+
_classPrivateFieldSet(_L, this, v);
|
|
356
|
+
}
|
|
357
|
+
}, {
|
|
358
|
+
key: "connectionState",
|
|
359
|
+
get: function get() {
|
|
360
|
+
return _classPrivateFieldGet(_M, this);
|
|
361
|
+
},
|
|
362
|
+
set: function set(v) {
|
|
363
|
+
_classPrivateFieldSet(_M, this, v);
|
|
364
|
+
}
|
|
365
|
+
}, {
|
|
366
|
+
key: "appActionbarPopoverVisible",
|
|
367
|
+
get: function get() {
|
|
368
|
+
return _classPrivateFieldGet(_N, this);
|
|
369
|
+
},
|
|
370
|
+
set: function set(v) {
|
|
371
|
+
_classPrivateFieldSet(_N, this, v);
|
|
372
|
+
}
|
|
373
|
+
}, {
|
|
374
|
+
key: "_handleApplistItemClick",
|
|
375
|
+
value: function _handleApplistItemClick() {
|
|
376
|
+
this.setAppActionbarPopoverVisible(false);
|
|
377
|
+
}
|
|
378
|
+
}, {
|
|
379
|
+
key: "checkedStateMap",
|
|
380
|
+
get: function get() {
|
|
381
|
+
return this._sharedSecuritySharedDataSource.checkedStateMap;
|
|
382
|
+
}
|
|
383
|
+
}, {
|
|
384
|
+
key: "setCheckedStateMap",
|
|
385
|
+
value: function setCheckedStateMap(val) {
|
|
386
|
+
this._sharedSecuritySharedDataSource.setCheckedStateMap(val);
|
|
387
|
+
}
|
|
388
|
+
}, {
|
|
389
|
+
key: "registeredWidgetConfigs",
|
|
390
|
+
get: function get() {
|
|
391
|
+
var _this2 = this;
|
|
392
|
+
var widgetConfigs = [];
|
|
393
|
+
this._widgetProvider.registeredWidgetConfigs.forEach(function (widgetConfig) {
|
|
394
|
+
if (_this2._checkIsWidgetSupportedRole(widgetConfig, _this2.localUserRole)) {
|
|
395
|
+
widgetConfigs.push(widgetConfig);
|
|
396
|
+
}
|
|
397
|
+
});
|
|
398
|
+
return widgetConfigs;
|
|
399
|
+
}
|
|
400
|
+
}, {
|
|
401
|
+
key: "appItemOptions",
|
|
402
|
+
get: function get() {
|
|
403
|
+
return this._applistProvider.appItemOptions;
|
|
404
|
+
}
|
|
405
|
+
}, {
|
|
406
|
+
key: "supportedLanguages",
|
|
407
|
+
get: function get() {
|
|
408
|
+
return this._sharedInterpreterDataSource.supportedLanguages;
|
|
409
|
+
}
|
|
410
|
+
}, {
|
|
411
|
+
key: "users",
|
|
412
|
+
get: function get() {
|
|
413
|
+
return this._sharedMemberDataSource.memberUserInfoList;
|
|
414
|
+
}
|
|
415
|
+
}, {
|
|
416
|
+
key: "localUserRole",
|
|
417
|
+
get: function get() {
|
|
418
|
+
return this._sharedMemberDataSource.localUserRole;
|
|
419
|
+
}
|
|
420
|
+
}, {
|
|
421
|
+
key: "localUserId",
|
|
422
|
+
get: function get() {
|
|
423
|
+
return this._sharedMemberDataSource.localUser.userId;
|
|
424
|
+
}
|
|
425
|
+
}, {
|
|
426
|
+
key: "totalUser",
|
|
427
|
+
get: function get() {
|
|
428
|
+
return this._sharedMemberDataSource.totalUserCount;
|
|
429
|
+
}
|
|
430
|
+
}, {
|
|
431
|
+
key: "isPstnUser",
|
|
432
|
+
get: function get() {
|
|
433
|
+
return this._sharedMemberDataSource.hasOwnPstnStream;
|
|
434
|
+
}
|
|
435
|
+
}, {
|
|
436
|
+
key: "localInterpreterUserInfo",
|
|
437
|
+
get: function get() {
|
|
438
|
+
return this._sharedInterpreterDataSource.localInterpreterUserInfo;
|
|
439
|
+
}
|
|
440
|
+
}, {
|
|
441
|
+
key: "interpreterUserList",
|
|
442
|
+
get: function get() {
|
|
443
|
+
return this._sharedInterpreterDataSource.interpreterUserList;
|
|
444
|
+
}
|
|
445
|
+
}, {
|
|
446
|
+
key: "isInterpreterEnabled",
|
|
447
|
+
get: function get() {
|
|
448
|
+
return this._sharedInterpreterDataSource.isInterpreterEnabled;
|
|
449
|
+
}
|
|
450
|
+
}, {
|
|
451
|
+
key: "outputLanguage",
|
|
452
|
+
get: function get() {
|
|
453
|
+
return this._sharedInterpreterDataSource.outputLanguage;
|
|
454
|
+
}
|
|
455
|
+
}, {
|
|
456
|
+
key: "hasSubscribedLanguageList",
|
|
457
|
+
get: function get() {
|
|
458
|
+
return this._sharedInterpreterDataSource.hasSubscribedLanguageList;
|
|
459
|
+
}
|
|
460
|
+
}, {
|
|
461
|
+
key: "preHasSubscribedLanguageList",
|
|
462
|
+
get: function get() {
|
|
463
|
+
return this._sharedInterpreterDataSource.preHasSubscribedLanguageList;
|
|
464
|
+
}
|
|
465
|
+
}, {
|
|
466
|
+
key: "subscribeLanguageOptionList",
|
|
467
|
+
get: function get() {
|
|
468
|
+
return this._sharedInterpreterDataSource.subscribeLanguageOptionList;
|
|
469
|
+
}
|
|
470
|
+
}, {
|
|
471
|
+
key: "isNewWaitingRoomUserEnter",
|
|
472
|
+
get: function get() {
|
|
473
|
+
return this._sharedWaitingRoomDataSource.unReadState;
|
|
474
|
+
}
|
|
475
|
+
}, {
|
|
476
|
+
key: "privilegeProvider",
|
|
477
|
+
get: function get() {
|
|
478
|
+
return this._privilegeProvider;
|
|
479
|
+
}
|
|
480
|
+
}, {
|
|
481
|
+
key: "asideLayout",
|
|
482
|
+
get: function get() {
|
|
483
|
+
var _this$_sharedLayoutDa;
|
|
484
|
+
return (_this$_sharedLayoutDa = this._sharedLayoutDataSource) === null || _this$_sharedLayoutDa === void 0 ? void 0 : _this$_sharedLayoutDa.asideLayout;
|
|
485
|
+
}
|
|
486
|
+
}, {
|
|
487
|
+
key: "chatRenderAt",
|
|
488
|
+
get: function get() {
|
|
489
|
+
return this._sharedLayoutDataSource.chatRenderAt;
|
|
490
|
+
}
|
|
491
|
+
}, {
|
|
492
|
+
key: "participantsRenderAt",
|
|
493
|
+
get: function get() {
|
|
494
|
+
return this._sharedLayoutDataSource.participantsRenderAt;
|
|
495
|
+
}
|
|
496
|
+
}, {
|
|
497
|
+
key: "participantVisible",
|
|
498
|
+
get: function get() {
|
|
499
|
+
return this._sharedLayoutDataSource.asideLayout.participant;
|
|
500
|
+
}
|
|
501
|
+
}, {
|
|
502
|
+
key: "chatVisible",
|
|
503
|
+
get: function get() {
|
|
504
|
+
return this._sharedLayoutDataSource.asideLayout.chat;
|
|
505
|
+
}
|
|
506
|
+
}, {
|
|
507
|
+
key: "remoteUsers",
|
|
508
|
+
get: function get() {
|
|
509
|
+
return this._sharedMemberDataSource.memberUserInfoList;
|
|
510
|
+
}
|
|
511
|
+
}, {
|
|
512
|
+
key: "hasStartScreenSharePermission",
|
|
513
|
+
get: function get() {
|
|
514
|
+
return this._privilegeProvider.hasStartScreenSharePermission();
|
|
515
|
+
}
|
|
516
|
+
}, {
|
|
517
|
+
key: "hasStopScreenSharePermission",
|
|
518
|
+
get: function get() {
|
|
519
|
+
return this.hasScreenShare && this.hasEnableStartScreenSharePermission && this.sharingOwnerUser && !this.isMeSharingScreen;
|
|
520
|
+
}
|
|
521
|
+
}, {
|
|
522
|
+
key: "sharingOwnerUser",
|
|
523
|
+
get: function get() {
|
|
524
|
+
return this._sharedScreenShareSharedDataSource.screenSharingOwner;
|
|
525
|
+
}
|
|
526
|
+
}, {
|
|
527
|
+
key: "hasEnableStartScreenSharePermission",
|
|
528
|
+
get: function get() {
|
|
529
|
+
return this._privilegeProvider.hasStopScreenSharePermission();
|
|
530
|
+
}
|
|
531
|
+
}, {
|
|
532
|
+
key: "hasStartLiveStreamingPermission",
|
|
533
|
+
get: function get() {
|
|
534
|
+
return this._abilityProvider.isLiveSupported() && this._privilegeProvider.hasStartLiveStreamingPermission();
|
|
535
|
+
}
|
|
536
|
+
}, {
|
|
537
|
+
key: "hasEnableStartAudioPermission",
|
|
538
|
+
get: function get() {
|
|
539
|
+
return this._privilegeProvider.hasEnableStartAudioPermission();
|
|
540
|
+
}
|
|
541
|
+
}, {
|
|
542
|
+
key: "hasEnableChangeNamePermission",
|
|
543
|
+
get: function get() {
|
|
544
|
+
return this._privilegeProvider.hasEnableChangeNamePermission();
|
|
545
|
+
}
|
|
546
|
+
}, {
|
|
547
|
+
key: "hasEnableStartVideoPermission",
|
|
548
|
+
get: function get() {
|
|
549
|
+
return this._privilegeProvider.hasEnableStartVideoPermission();
|
|
550
|
+
}
|
|
551
|
+
}, {
|
|
552
|
+
key: "hasLockRoomPermission",
|
|
553
|
+
get: function get() {
|
|
554
|
+
return this._privilegeProvider.hasLockRoomPermission();
|
|
555
|
+
}
|
|
556
|
+
}, {
|
|
557
|
+
key: "hasEnableJoinWithAudioPermission",
|
|
558
|
+
get: function get() {
|
|
559
|
+
return this._privilegeProvider.hasEnableJoinWithAudioPermission();
|
|
560
|
+
}
|
|
561
|
+
}, {
|
|
562
|
+
key: "hasWaitingRoomPermission",
|
|
563
|
+
get: function get() {
|
|
564
|
+
return this._privilegeProvider.hasWaitingRoomPermission();
|
|
565
|
+
}
|
|
566
|
+
}, {
|
|
567
|
+
key: "hasWatermarkEnablePermission",
|
|
568
|
+
get: function get() {
|
|
569
|
+
return this._privilegeProvider.hasWatermarkEnablePermission();
|
|
570
|
+
}
|
|
571
|
+
}, {
|
|
572
|
+
key: "hasWatermarkDisablePermission",
|
|
573
|
+
get: function get() {
|
|
574
|
+
return this._privilegeProvider.hasWatermarkDisablePermission();
|
|
575
|
+
}
|
|
576
|
+
}, {
|
|
577
|
+
key: "hasEnableStartSharePermission",
|
|
578
|
+
get: function get() {
|
|
579
|
+
return this._privilegeProvider.hasEnableStartScreenSharePermission();
|
|
580
|
+
}
|
|
581
|
+
}, {
|
|
582
|
+
key: "hasAllowWriteBoardPermission",
|
|
583
|
+
get: function get() {
|
|
584
|
+
return this._privilegeProvider.hasAllowWriteBoardPermission();
|
|
585
|
+
}
|
|
586
|
+
}, {
|
|
587
|
+
key: "hasScreenShare",
|
|
588
|
+
get: function get() {
|
|
589
|
+
return this._sharedScreenShareSharedDataSource.isSharingScreen;
|
|
590
|
+
}
|
|
591
|
+
}, {
|
|
592
|
+
key: "hasAllowScreenShareAndBoardPermission",
|
|
593
|
+
get: function get() {
|
|
594
|
+
return this._privilegeProvider.hasAllowScreenShareAndBoardPermission();
|
|
595
|
+
}
|
|
596
|
+
}, {
|
|
597
|
+
key: "hasAllowChatPermission",
|
|
598
|
+
get: function get() {
|
|
599
|
+
return this._privilegeProvider.hasPermissionToControlAllowSendAll();
|
|
600
|
+
}
|
|
601
|
+
}, {
|
|
602
|
+
key: "hasStartCloudRecordingPermission",
|
|
603
|
+
get: function get() {
|
|
604
|
+
return this._privilegeProvider.hasStartCloudRecordingPermission();
|
|
605
|
+
}
|
|
606
|
+
}, {
|
|
607
|
+
key: "hasAssignHostBeforeLeavingPermission",
|
|
608
|
+
get: function get() {
|
|
609
|
+
return this._privilegeProvider.hasAssignHostBeforeLeavingPermission(this.localUserRole);
|
|
610
|
+
}
|
|
611
|
+
}, {
|
|
612
|
+
key: "hasEndRoomPermission",
|
|
613
|
+
get: function get() {
|
|
614
|
+
return this._privilegeProvider.hasEndRoomPermission();
|
|
615
|
+
}
|
|
616
|
+
}, {
|
|
617
|
+
key: "isScreenShareAndBoardEnabled",
|
|
618
|
+
get: function get() {
|
|
619
|
+
return this._privilegeProvider.allowScreenShareAndBoard();
|
|
620
|
+
}
|
|
621
|
+
}, {
|
|
622
|
+
key: "isBoardWriteEnabled",
|
|
623
|
+
get: function get() {
|
|
624
|
+
return this._privilegeProvider.allowBoardWriteState();
|
|
625
|
+
}
|
|
626
|
+
}, {
|
|
627
|
+
key: "isWaterMarkEnabled",
|
|
628
|
+
get: function get() {
|
|
629
|
+
return this._privilegeProvider.isWaterMarkEnabled();
|
|
630
|
+
}
|
|
631
|
+
}, {
|
|
632
|
+
key: "isMulti",
|
|
633
|
+
get: function get() {
|
|
634
|
+
return this._privilegeProvider.isMulti();
|
|
635
|
+
}
|
|
636
|
+
}, {
|
|
637
|
+
key: "hasEnableInterpreterPermission",
|
|
638
|
+
get: function get() {
|
|
639
|
+
return this._abilityProvider.isInterpreterSupported() && this._privilegeProvider.hasEnableInterpreterPermission();
|
|
640
|
+
}
|
|
641
|
+
}, {
|
|
642
|
+
key: "hasDisableInterpreterPermission",
|
|
643
|
+
get: function get() {
|
|
644
|
+
return this._privilegeProvider.hasDisableInterpreterPermission();
|
|
645
|
+
}
|
|
646
|
+
}, {
|
|
647
|
+
key: "microphoneEnabled",
|
|
648
|
+
get: function get() {
|
|
649
|
+
return this._deviceProvider.microphoneEnabled;
|
|
650
|
+
}
|
|
651
|
+
}, {
|
|
652
|
+
key: "allNewMessage",
|
|
653
|
+
get: function get() {
|
|
654
|
+
return Object.values(this._sharedChatDataSource.newMessageCount).reduce(function (a, b) {
|
|
655
|
+
return a + b;
|
|
656
|
+
}, 0);
|
|
657
|
+
}
|
|
658
|
+
}, {
|
|
659
|
+
key: "isMainRoom",
|
|
660
|
+
get: function get() {
|
|
661
|
+
return this._roomType === _type4.FcrRoomType.Mainroom;
|
|
662
|
+
}
|
|
663
|
+
}, {
|
|
664
|
+
key: "hasAllowChangeNamePromission",
|
|
665
|
+
get: function get() {
|
|
666
|
+
return this._privilegeProvider.hasAllowChangeNamePermission();
|
|
667
|
+
}
|
|
668
|
+
}, {
|
|
669
|
+
key: "hasDisallowChangeNamePromission",
|
|
670
|
+
get: function get() {
|
|
671
|
+
return this._privilegeProvider.hasDisallowChangeNamePermission();
|
|
672
|
+
}
|
|
673
|
+
}, {
|
|
674
|
+
key: "newMessageCount",
|
|
675
|
+
get: function get() {
|
|
676
|
+
return this._sharedChatDataSource.newMessageCount;
|
|
677
|
+
},
|
|
678
|
+
set: function set(value) {
|
|
679
|
+
this._sharedChatDataSource.newMessageCount = value;
|
|
680
|
+
}
|
|
681
|
+
}, {
|
|
682
|
+
key: "endMeetingPopoverOpened",
|
|
683
|
+
get: function get() {
|
|
684
|
+
return this._sharedLayoutDataSource.endMeetingPopoverOpened;
|
|
685
|
+
}
|
|
686
|
+
}, {
|
|
687
|
+
key: "latestMessage",
|
|
688
|
+
get: function get() {
|
|
689
|
+
return this._sharedChatDataSource.latestMessage;
|
|
690
|
+
}
|
|
691
|
+
}, {
|
|
692
|
+
key: "hasSecurityPermissions",
|
|
693
|
+
get: function get() {
|
|
694
|
+
return this.hasEnableStartSharePermission || this.hasAllowChatPermission || this.hasEnableStartAudioPermission || this.hasEnableChangeNamePermission || this.hasEnableStartVideoPermission || this.hasLockRoomPermission;
|
|
695
|
+
}
|
|
696
|
+
}, {
|
|
697
|
+
key: "isMeSharingScreen",
|
|
698
|
+
get: function get() {
|
|
699
|
+
var _this$_sharedScreenSh;
|
|
700
|
+
return ((_this$_sharedScreenSh = this._sharedScreenShareSharedDataSource.screenSharingOwner) === null || _this$_sharedScreenSh === void 0 ? void 0 : _this$_sharedScreenSh.userId) === this.localUserId;
|
|
701
|
+
}
|
|
702
|
+
}, {
|
|
703
|
+
key: "isMeSharingBoard",
|
|
704
|
+
get: function get() {
|
|
705
|
+
var _this$_sharedWhiteboa;
|
|
706
|
+
return ((_this$_sharedWhiteboa = this._sharedWhiteboardDataSource) === null || _this$_sharedWhiteboa === void 0 || (_this$_sharedWhiteboa = _this$_sharedWhiteboa.sharingUserInfo) === null || _this$_sharedWhiteboa === void 0 ? void 0 : _this$_sharedWhiteboa.userId) === this.localUserId;
|
|
707
|
+
}
|
|
708
|
+
}, {
|
|
709
|
+
key: "boardOwnerUser",
|
|
710
|
+
get: function get() {
|
|
711
|
+
return this._sharedWhiteboardDataSource.sharingUserInfo;
|
|
712
|
+
}
|
|
713
|
+
}, {
|
|
714
|
+
key: "pauseCloudRecording",
|
|
715
|
+
value: function pauseCloudRecording() {
|
|
716
|
+
this._roomControl.pauseCloudRecording();
|
|
717
|
+
}
|
|
718
|
+
}, {
|
|
719
|
+
key: "resumeCloudRecording",
|
|
720
|
+
value: function resumeCloudRecording() {
|
|
721
|
+
this._roomControl.resumeCloudRecording();
|
|
722
|
+
}
|
|
723
|
+
}, {
|
|
724
|
+
key: "stopCloudRecording",
|
|
725
|
+
value: function stopCloudRecording() {
|
|
726
|
+
this._roomControl.stopCloudRecording();
|
|
727
|
+
}
|
|
728
|
+
}, {
|
|
729
|
+
key: "startCloudRecording",
|
|
730
|
+
value: function startCloudRecording() {
|
|
731
|
+
this._roomControl.startCloudRecording({
|
|
732
|
+
audioProfile: _type.FcrCloudRecordingAudioProfile.DEFAULT,
|
|
733
|
+
videoEncoderConfig: {
|
|
734
|
+
dimensions: {
|
|
735
|
+
width: 1280,
|
|
736
|
+
height: 720
|
|
737
|
+
},
|
|
738
|
+
bitrate: 1200,
|
|
739
|
+
frameRate: 15,
|
|
740
|
+
isMirror: false
|
|
741
|
+
},
|
|
742
|
+
retryTimeout: 60
|
|
743
|
+
});
|
|
744
|
+
}
|
|
745
|
+
}, {
|
|
746
|
+
key: "showLockedRoomToast",
|
|
747
|
+
value: function showLockedRoomToast(enable) {
|
|
748
|
+
this._messageProvider.showToast({
|
|
749
|
+
type: 'info',
|
|
750
|
+
message: enable ? (0, _i18n.transI18n)('fmt_security_tips_lock_meeting_on') : (0, _i18n.transI18n)('fmt_uimanager_tips_meetingunlocked')
|
|
751
|
+
});
|
|
752
|
+
}
|
|
753
|
+
}, {
|
|
754
|
+
key: "toggleLayoutBarLock",
|
|
755
|
+
value: function toggleLayoutBarLock(payload) {
|
|
756
|
+
this._eventProvider.sendEvent(_constant.FcrUIAction.TOGGLE_LAYOUT_BAR_LOCK, payload);
|
|
757
|
+
}
|
|
758
|
+
}, {
|
|
759
|
+
key: "showNewMessageTooltip",
|
|
760
|
+
value: function showNewMessageTooltip() {
|
|
761
|
+
this.newMessageTooltipVisible = true;
|
|
762
|
+
}
|
|
763
|
+
}, {
|
|
764
|
+
key: "hideNewMessageTooltip",
|
|
765
|
+
value: function hideNewMessageTooltip() {
|
|
766
|
+
this.newMessageTooltipVisible = false;
|
|
767
|
+
}
|
|
768
|
+
}, {
|
|
769
|
+
key: "switchMenu",
|
|
770
|
+
value: function switchMenu(value) {
|
|
771
|
+
this.currentMenuIs = value || _enums.MoreMenuType.DEFAULT;
|
|
772
|
+
}
|
|
773
|
+
}, {
|
|
774
|
+
key: "isLocked",
|
|
775
|
+
get: function get() {
|
|
776
|
+
return this._privilegeProvider.isLockRoomEnabled();
|
|
777
|
+
}
|
|
778
|
+
}, {
|
|
779
|
+
key: "isWaitingRoomEnabled",
|
|
780
|
+
value: function isWaitingRoomEnabled() {
|
|
781
|
+
return this._privilegeProvider.isWaitingRoomEnabled();
|
|
782
|
+
}
|
|
783
|
+
}, {
|
|
784
|
+
key: "isAllowJoinWithAudioEnabled",
|
|
785
|
+
value: function isAllowJoinWithAudioEnabled() {
|
|
786
|
+
return this._privilegeProvider.allowJoinWithMuteAudio();
|
|
787
|
+
}
|
|
788
|
+
}, {
|
|
789
|
+
key: "enableMicrophone",
|
|
790
|
+
value: function enableMicrophone(enable) {
|
|
791
|
+
this._deviceStreamProvider.enableMicrophoneWithPreCheck(enable);
|
|
792
|
+
this._sharedDevicePrivilegeDataSource.setShouldIncludeMicrophone(true);
|
|
793
|
+
}
|
|
794
|
+
}, {
|
|
795
|
+
key: "setAllowWriteBoard",
|
|
796
|
+
value: function setAllowWriteBoard(state) {
|
|
797
|
+
this._privilegeProvider.setAllowWriteBoard(state);
|
|
798
|
+
}
|
|
799
|
+
}, {
|
|
800
|
+
key: "setAllowAnnotation",
|
|
801
|
+
value: function setAllowAnnotation(state) {
|
|
802
|
+
this._privilegeProvider.setAllowWriteBoard(state);
|
|
803
|
+
}
|
|
804
|
+
}, {
|
|
805
|
+
key: "setAllowScreenShare",
|
|
806
|
+
value: function setAllowScreenShare(state) {
|
|
807
|
+
this._privilegeProvider.setAllowShareScreen(state);
|
|
808
|
+
}
|
|
809
|
+
}, {
|
|
810
|
+
key: "setPopoverOpened",
|
|
811
|
+
value: function setPopoverOpened(isShow) {
|
|
812
|
+
this._sharedLayoutDataSource.endMeetingPopoverOpened = isShow;
|
|
813
|
+
if (this.stateBarLeaveMeeting && !isShow) {
|
|
814
|
+
this.stateBarLeaveMeeting = false;
|
|
815
|
+
}
|
|
816
|
+
}
|
|
817
|
+
}, {
|
|
818
|
+
key: "setStateBarLeaveMeeting",
|
|
819
|
+
value: function setStateBarLeaveMeeting(isShow) {
|
|
820
|
+
this.stateBarLeaveMeeting = isShow;
|
|
821
|
+
}
|
|
822
|
+
}, {
|
|
823
|
+
key: "release",
|
|
824
|
+
value: function release() {
|
|
825
|
+
this._disposers.forEach(function (dispose) {
|
|
826
|
+
return dispose();
|
|
827
|
+
});
|
|
828
|
+
this._disposers = [];
|
|
829
|
+
this._hideBarArrowTimer && clearTimeout(this._hideBarArrowTimer);
|
|
830
|
+
this._userControl.removeObserver(this._userObserver);
|
|
831
|
+
this._roomControl.removeObserver(this._mainRoomObserver);
|
|
832
|
+
this._eventProvider.removeObserver(this._uiEventObserver);
|
|
833
|
+
this._applistProvider.removeObserver(this._applistObserver);
|
|
834
|
+
if (this._roomType === _type4.FcrRoomType.Mainroom) {
|
|
835
|
+
var _this$_interpreterPro;
|
|
836
|
+
this._roomProvider.removeObserver(this._roomObserver);
|
|
837
|
+
(_this$_interpreterPro = this._interpreterProvider) === null || _this$_interpreterPro === void 0 || _this$_interpreterPro.removeObserver(this._interpreterProviderObserver);
|
|
838
|
+
}
|
|
839
|
+
}
|
|
840
|
+
}, {
|
|
841
|
+
key: "allowJoinWithMuteAudio",
|
|
842
|
+
value: function allowJoinWithMuteAudio() {
|
|
843
|
+
return this._privilegeProvider.allowJoinWithMuteAudio();
|
|
844
|
+
}
|
|
845
|
+
}, {
|
|
846
|
+
key: "setAllowJoinWithMuteAudio",
|
|
847
|
+
value: function setAllowJoinWithMuteAudio(enable) {
|
|
848
|
+
return this._privilegeProvider.setAllowJoinWithMuteAudio(enable);
|
|
849
|
+
}
|
|
850
|
+
}, {
|
|
851
|
+
key: "isLockRoomEnabled",
|
|
852
|
+
value: function isLockRoomEnabled() {
|
|
853
|
+
return this._privilegeProvider.isLockRoomEnabled();
|
|
854
|
+
}
|
|
855
|
+
}, {
|
|
856
|
+
key: "setLockRoomEnabled",
|
|
857
|
+
value: function setLockRoomEnabled(enable) {
|
|
858
|
+
return this._privilegeProvider.setLockRoomEnabled(enable);
|
|
859
|
+
}
|
|
860
|
+
}, {
|
|
861
|
+
key: "setAllowShareScreen",
|
|
862
|
+
value: function setAllowShareScreen(enable) {
|
|
863
|
+
return this._privilegeProvider.setAllowShareScreen(enable);
|
|
864
|
+
}
|
|
865
|
+
}, {
|
|
866
|
+
key: "allowShareScreen",
|
|
867
|
+
value: function allowShareScreen() {
|
|
868
|
+
return this._privilegeProvider.allowShareScreen();
|
|
869
|
+
}
|
|
870
|
+
}, {
|
|
871
|
+
key: "allowWriteBoard",
|
|
872
|
+
value: function allowWriteBoard() {
|
|
873
|
+
return this._privilegeProvider.hasAllowWriteBoardPermission();
|
|
874
|
+
}
|
|
875
|
+
}, {
|
|
876
|
+
key: "allowChat",
|
|
877
|
+
value: function allowChat() {
|
|
878
|
+
return this._privilegeProvider.allowChat();
|
|
879
|
+
}
|
|
880
|
+
}, {
|
|
881
|
+
key: "setAllowChat",
|
|
882
|
+
value: function setAllowChat(enable) {
|
|
883
|
+
return this._privilegeProvider.setAllowChat(enable);
|
|
884
|
+
}
|
|
885
|
+
}, {
|
|
886
|
+
key: "allowUnmuteSelfAudio",
|
|
887
|
+
value: function allowUnmuteSelfAudio() {
|
|
888
|
+
return this._privilegeProvider.allowUnmuteSelfAudio();
|
|
889
|
+
}
|
|
890
|
+
}, {
|
|
891
|
+
key: "setAllowUnmuteSelfAudio",
|
|
892
|
+
value: function setAllowUnmuteSelfAudio(enable) {
|
|
893
|
+
return this._privilegeProvider.setAllowUnmuteSelfAudio(enable);
|
|
894
|
+
}
|
|
895
|
+
}, {
|
|
896
|
+
key: "allowUnmuteSelfVideo",
|
|
897
|
+
value: function allowUnmuteSelfVideo() {
|
|
898
|
+
return this._privilegeProvider.allowUnmuteSelfVideo();
|
|
899
|
+
}
|
|
900
|
+
}, {
|
|
901
|
+
key: "setAllowUnmuteSelfVideo",
|
|
902
|
+
value: function setAllowUnmuteSelfVideo(enable) {
|
|
903
|
+
return this._privilegeProvider.setAllowUnmuteSelfVideo(enable);
|
|
904
|
+
}
|
|
905
|
+
}, {
|
|
906
|
+
key: "allowChangeName",
|
|
907
|
+
value: function allowChangeName() {
|
|
908
|
+
return this._privilegeProvider.allowChangeSelfName();
|
|
909
|
+
}
|
|
910
|
+
}, {
|
|
911
|
+
key: "setAllowChangeName",
|
|
912
|
+
value: function setAllowChangeName(enable) {
|
|
913
|
+
return this._privilegeProvider.setAllowChangeSelfName(enable);
|
|
914
|
+
}
|
|
915
|
+
}, {
|
|
916
|
+
key: "toggleChat",
|
|
917
|
+
value: function toggleChat() {
|
|
918
|
+
!this.chatVisible || (0, _env.isElectron)() && this.chatRenderAt === 'dialog' ? this.openChat() : this.closeChat();
|
|
919
|
+
}
|
|
920
|
+
}, {
|
|
921
|
+
key: "openChat",
|
|
922
|
+
value: function openChat() {
|
|
923
|
+
if (this.chatRenderAt === 'aside') {
|
|
924
|
+
this._sharedLayoutDataSource.setChatRenderAt('aside');
|
|
925
|
+
}
|
|
926
|
+
if (this.chatRenderAt === 'dialog') {
|
|
927
|
+
this._sharedLayoutDataSource.setChatRenderAt('dialog');
|
|
928
|
+
this._dialogProvider.openDialog(_constant.FcrUIDialogKey.CHAT);
|
|
929
|
+
}
|
|
930
|
+
this._sharedLayoutDataSource.setAsideLayout({
|
|
931
|
+
chat: true
|
|
932
|
+
});
|
|
933
|
+
}
|
|
934
|
+
}, {
|
|
935
|
+
key: "closeChat",
|
|
936
|
+
value: function closeChat() {
|
|
937
|
+
if (!this.chatVisible) return;
|
|
938
|
+
if (this.chatRenderAt === 'dialog') {
|
|
939
|
+
var chatDialogId = '';
|
|
940
|
+
this._openedDialogIdMap.forEach(function (dialogKey, dialogId) {
|
|
941
|
+
if (dialogKey === _constant.FcrUIDialogKey.CHAT) {
|
|
942
|
+
chatDialogId = dialogId;
|
|
943
|
+
}
|
|
944
|
+
});
|
|
945
|
+
chatDialogId && this._dialogProvider.closeDialog(chatDialogId);
|
|
946
|
+
}
|
|
947
|
+
this._sharedLayoutDataSource.setAsideLayout({
|
|
948
|
+
chat: false
|
|
949
|
+
});
|
|
950
|
+
}
|
|
951
|
+
}, {
|
|
952
|
+
key: "toggleParticipants",
|
|
953
|
+
value: function toggleParticipants() {
|
|
954
|
+
!this.participantVisible || (0, _env.isElectron)() && this.participantsRenderAt === 'dialog' ? this.openParticipants() : this.closeParticipants();
|
|
955
|
+
}
|
|
956
|
+
}, {
|
|
957
|
+
key: "openParticipants",
|
|
958
|
+
value: function openParticipants() {
|
|
959
|
+
if (this.participantsRenderAt === 'dialog') {
|
|
960
|
+
this._dialogProvider.openDialog(_constant.FcrUIDialogKey.PARTICIPANT);
|
|
961
|
+
}
|
|
962
|
+
this._sharedLayoutDataSource.setAsideLayout({
|
|
963
|
+
participant: true
|
|
964
|
+
});
|
|
965
|
+
// if (this._participantVisible) {
|
|
966
|
+
// if (this._participantTab === FcrRoomType.Waitingroom) {
|
|
967
|
+
// this.isNewWaitingRoomUserEnter = false;
|
|
968
|
+
// }
|
|
969
|
+
// }
|
|
970
|
+
}
|
|
971
|
+
}, {
|
|
972
|
+
key: "closeParticipants",
|
|
973
|
+
value: function closeParticipants() {
|
|
974
|
+
if (!this.participantVisible) return;
|
|
975
|
+
if (this.participantsRenderAt === 'dialog') {
|
|
976
|
+
var participantDialogId = '';
|
|
977
|
+
this._openedDialogIdMap.forEach(function (dialogKey, dialogId) {
|
|
978
|
+
if (dialogKey === _constant.FcrUIDialogKey.PARTICIPANT) {
|
|
979
|
+
participantDialogId = dialogId;
|
|
980
|
+
}
|
|
981
|
+
});
|
|
982
|
+
this._sharedLayoutDataSource.setAsideLayout({
|
|
983
|
+
participant: false
|
|
984
|
+
});
|
|
985
|
+
participantDialogId && this._dialogProvider.closeDialog(participantDialogId);
|
|
986
|
+
}
|
|
987
|
+
this._sharedLayoutDataSource.setAsideLayout({
|
|
988
|
+
participant: false
|
|
989
|
+
});
|
|
990
|
+
}
|
|
991
|
+
}, {
|
|
992
|
+
key: "openDeviceSettingDialog",
|
|
993
|
+
value: function openDeviceSettingDialog(arg) {
|
|
994
|
+
this._dialogProvider.openDeviceSettingDialog(arg);
|
|
995
|
+
}
|
|
996
|
+
}, {
|
|
997
|
+
key: "startScreenShare",
|
|
998
|
+
value: function startScreenShare() {
|
|
999
|
+
if (!this._interceptShareScreen()) return;
|
|
1000
|
+
this._screenShareProvider.bootstrap();
|
|
1001
|
+
}
|
|
1002
|
+
}, {
|
|
1003
|
+
key: "openInterpreterDialog",
|
|
1004
|
+
value: function openInterpreterDialog() {
|
|
1005
|
+
this._eventProvider.sendEvent(_constant.FcrUIAction.OPEN_INTERPRETER_DIALOG);
|
|
1006
|
+
}
|
|
1007
|
+
}, {
|
|
1008
|
+
key: "openWhiteboard",
|
|
1009
|
+
value: function openWhiteboard() {
|
|
1010
|
+
if (!this._interceptShareBoard()) return;
|
|
1011
|
+
this._eventProvider.sendEvent(_constant.FcrUIAction.OPEN_WHITEBOARD);
|
|
1012
|
+
}
|
|
1013
|
+
}, {
|
|
1014
|
+
key: "closeWhiteboard",
|
|
1015
|
+
value: function closeWhiteboard() {
|
|
1016
|
+
this._eventProvider.sendEvent(_constant.FcrUIAction.CLOSE_WHITEBOARD);
|
|
1017
|
+
}
|
|
1018
|
+
}, {
|
|
1019
|
+
key: "closeShareScreen",
|
|
1020
|
+
value: function closeShareScreen() {
|
|
1021
|
+
this._screenShareProvider.removeScreenStream();
|
|
1022
|
+
}
|
|
1023
|
+
}, {
|
|
1024
|
+
key: "openLiveStreamingDialog",
|
|
1025
|
+
value: function openLiveStreamingDialog() {
|
|
1026
|
+
this._dialogProvider.openDialog(_constant.FcrUIDialogKey.LIVE_STREAMING);
|
|
1027
|
+
this.toggleLayoutBarLock(true);
|
|
1028
|
+
}
|
|
1029
|
+
}, {
|
|
1030
|
+
key: "toggleConnection",
|
|
1031
|
+
value: function toggleConnection() {
|
|
1032
|
+
this.connectionSettingVisible ? this.closeConnection() : this.openConnection('computer');
|
|
1033
|
+
}
|
|
1034
|
+
}, {
|
|
1035
|
+
key: "openConnection",
|
|
1036
|
+
value: function openConnection(type) {
|
|
1037
|
+
this._dialogProvider.openDialog(_constant.FcrUIDialogKey.CONNECTION_GATEWAY, '', {
|
|
1038
|
+
type: type
|
|
1039
|
+
});
|
|
1040
|
+
}
|
|
1041
|
+
}, {
|
|
1042
|
+
key: "closeConnection",
|
|
1043
|
+
value: function closeConnection() {
|
|
1044
|
+
var connectionDialogId = '';
|
|
1045
|
+
this._openedDialogIdMap.forEach(function (dialogKey, dialogId) {
|
|
1046
|
+
if (dialogKey === _constant.FcrUIDialogKey.CONNECTION_GATEWAY) {
|
|
1047
|
+
connectionDialogId = dialogId;
|
|
1048
|
+
}
|
|
1049
|
+
});
|
|
1050
|
+
this._dialogProvider.closeDialog(connectionDialogId);
|
|
1051
|
+
}
|
|
1052
|
+
}, {
|
|
1053
|
+
key: "_handleJoinWaitingRoom",
|
|
1054
|
+
value: function _handleJoinWaitingRoom(room) {
|
|
1055
|
+
this._waitingRoomControl = room;
|
|
1056
|
+
this.newMessageCount = (0, _defineProperty2["default"])({}, _type2.FcrUIRoomType.WAITING_ROOM, 0);
|
|
1057
|
+
}
|
|
1058
|
+
}, {
|
|
1059
|
+
key: "toggleFold",
|
|
1060
|
+
value: function toggleFold() {
|
|
1061
|
+
this.folded = !this.folded;
|
|
1062
|
+
this._eventProvider.sendEvent(_constant.FcrUIAction.TOGGLE_LAYOUT_ACTIONBAR_HIDDEN);
|
|
1063
|
+
}
|
|
1064
|
+
}, {
|
|
1065
|
+
key: "setShowArrow",
|
|
1066
|
+
value: function setShowArrow(show) {
|
|
1067
|
+
var _this3 = this;
|
|
1068
|
+
if (this._hideBarArrowTimer) clearTimeout(this._hideBarArrowTimer);
|
|
1069
|
+
if (show) {
|
|
1070
|
+
this.showArrow = true;
|
|
1071
|
+
} else {
|
|
1072
|
+
this._hideBarArrowTimer = setTimeout(function () {
|
|
1073
|
+
return _this3.showArrow = false;
|
|
1074
|
+
}, 1000);
|
|
1075
|
+
}
|
|
1076
|
+
}
|
|
1077
|
+
}, {
|
|
1078
|
+
key: "setEnableWaitingRoom",
|
|
1079
|
+
value: function () {
|
|
1080
|
+
var _setEnableWaitingRoom = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee(enable, isNeedShowDialog) {
|
|
1081
|
+
var _this4 = this;
|
|
1082
|
+
var dialogId;
|
|
1083
|
+
return _regenerator["default"].wrap(function (_context) {
|
|
1084
|
+
while (1) switch (_context.prev = _context.next) {
|
|
1085
|
+
case 0:
|
|
1086
|
+
if (enable) {
|
|
1087
|
+
_context.next = 4;
|
|
1088
|
+
break;
|
|
1089
|
+
}
|
|
1090
|
+
if (!(this._sharedWaitingRoomDataSource.totalWaitingRoomUser && isNeedShowDialog)) {
|
|
1091
|
+
_context.next = 1;
|
|
1092
|
+
break;
|
|
1093
|
+
}
|
|
1094
|
+
dialogId = this._dialogProvider.openConfirmDialog({
|
|
1095
|
+
title: (0, _i18n.transI18n)('fmt_waitingroom_mobile_setting_popup_label_close'),
|
|
1096
|
+
content: (0, _i18n.transI18n)('fmt_waitingroom_mobile_setting_popup_label_choose', {
|
|
1097
|
+
reason1: this._sharedWaitingRoomDataSource.totalWaitingRoomUser
|
|
1098
|
+
}),
|
|
1099
|
+
onCancel: function onCancel() {
|
|
1100
|
+
_this4.setCheckedStateMap(_objectSpread(_objectSpread({}, _this4.checkedStateMap), {
|
|
1101
|
+
enableWaitingRoom: false
|
|
1102
|
+
}));
|
|
1103
|
+
_this4._eventProvider.sendEvent(_constant.FcrUIAction.MOVE_TO_MAIN_ROOM_ALL_MEMBER, false);
|
|
1104
|
+
_this4._dialogProvider.closeConfirm(dialogId);
|
|
1105
|
+
},
|
|
1106
|
+
onOk: function onOk() {
|
|
1107
|
+
_this4.setCheckedStateMap(_objectSpread(_objectSpread({}, _this4.checkedStateMap), {
|
|
1108
|
+
enableWaitingRoom: false
|
|
1109
|
+
}));
|
|
1110
|
+
_this4._eventProvider.sendEvent(_constant.FcrUIAction.MOVE_TO_MAIN_ROOM_ALL_MEMBER, true);
|
|
1111
|
+
_this4._dialogProvider.closeConfirm(dialogId);
|
|
1112
|
+
},
|
|
1113
|
+
okText: (0, _i18n.transI18n)('fmt_waitingroom_mobile_setting_popup_button_admit_all'),
|
|
1114
|
+
cancelText: (0, _i18n.transI18n)('fmt_waitingroom_mobile_setting_popup_button_cancel'),
|
|
1115
|
+
cancelButtonProps: {
|
|
1116
|
+
block: true
|
|
1117
|
+
},
|
|
1118
|
+
okButtonProps: {
|
|
1119
|
+
block: true
|
|
1120
|
+
},
|
|
1121
|
+
alignCenter: true
|
|
1122
|
+
});
|
|
1123
|
+
_context.next = 3;
|
|
1124
|
+
break;
|
|
1125
|
+
case 1:
|
|
1126
|
+
_context.next = 2;
|
|
1127
|
+
return this._roomControl.enableWaitingRoom(enable);
|
|
1128
|
+
case 2:
|
|
1129
|
+
this._messageProvider.showToast({
|
|
1130
|
+
type: 'normal',
|
|
1131
|
+
message: (0, _i18n.transI18n)('fmt_waitingroom_mobile_setting_tips_disable')
|
|
1132
|
+
});
|
|
1133
|
+
case 3:
|
|
1134
|
+
_context.next = 6;
|
|
1135
|
+
break;
|
|
1136
|
+
case 4:
|
|
1137
|
+
_context.next = 5;
|
|
1138
|
+
return this._roomControl.enableWaitingRoom(enable);
|
|
1139
|
+
case 5:
|
|
1140
|
+
this._messageProvider.showToast({
|
|
1141
|
+
type: 'normal',
|
|
1142
|
+
message: (0, _i18n.transI18n)('fmt_waitingroom_setting_tips_enable')
|
|
1143
|
+
});
|
|
1144
|
+
case 6:
|
|
1145
|
+
case "end":
|
|
1146
|
+
return _context.stop();
|
|
1147
|
+
}
|
|
1148
|
+
}, _callee, this);
|
|
1149
|
+
}));
|
|
1150
|
+
function setEnableWaitingRoom(_x, _x2) {
|
|
1151
|
+
return _setEnableWaitingRoom.apply(this, arguments);
|
|
1152
|
+
}
|
|
1153
|
+
return setEnableWaitingRoom;
|
|
1154
|
+
}()
|
|
1155
|
+
}, {
|
|
1156
|
+
key: "kickOutWaitingRoomAllMember",
|
|
1157
|
+
value: function () {
|
|
1158
|
+
var _kickOutWaitingRoomAllMember = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee2(type) {
|
|
1159
|
+
var _this$_userControl;
|
|
1160
|
+
return _regenerator["default"].wrap(function (_context2) {
|
|
1161
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
1162
|
+
case 0:
|
|
1163
|
+
_context2.next = 1;
|
|
1164
|
+
return (_this$_userControl = this._userControl) === null || _this$_userControl === void 0 ? void 0 : _this$_userControl.kickOutByUserRoles([_type.FcrUserRole.PARTICIPANT], type);
|
|
1165
|
+
case 1:
|
|
1166
|
+
case "end":
|
|
1167
|
+
return _context2.stop();
|
|
1168
|
+
}
|
|
1169
|
+
}, _callee2, this);
|
|
1170
|
+
}));
|
|
1171
|
+
function kickOutWaitingRoomAllMember(_x3) {
|
|
1172
|
+
return _kickOutWaitingRoomAllMember.apply(this, arguments);
|
|
1173
|
+
}
|
|
1174
|
+
return kickOutWaitingRoomAllMember;
|
|
1175
|
+
}()
|
|
1176
|
+
}, {
|
|
1177
|
+
key: "moveToMainRoomAllMember",
|
|
1178
|
+
value: function () {
|
|
1179
|
+
var _moveToMainRoomAllMember = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee3() {
|
|
1180
|
+
var _this$_waitingRoomCon;
|
|
1181
|
+
return _regenerator["default"].wrap(function (_context3) {
|
|
1182
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
1183
|
+
case 0:
|
|
1184
|
+
_context3.next = 1;
|
|
1185
|
+
return (_this$_waitingRoomCon = this._waitingRoomControl) === null || _this$_waitingRoomCon === void 0 ? void 0 : _this$_waitingRoomCon.moveToMainRoomByUserRoles([_type.FcrUserRole.PARTICIPANT]);
|
|
1186
|
+
case 1:
|
|
1187
|
+
case "end":
|
|
1188
|
+
return _context3.stop();
|
|
1189
|
+
}
|
|
1190
|
+
}, _callee3, this);
|
|
1191
|
+
}));
|
|
1192
|
+
function moveToMainRoomAllMember() {
|
|
1193
|
+
return _moveToMainRoomAllMember.apply(this, arguments);
|
|
1194
|
+
}
|
|
1195
|
+
return moveToMainRoomAllMember;
|
|
1196
|
+
}()
|
|
1197
|
+
}, {
|
|
1198
|
+
key: "_interceptShareScreen",
|
|
1199
|
+
value: function _interceptShareScreen() {
|
|
1200
|
+
var _this5 = this;
|
|
1201
|
+
if (this.sharingOwnerUser && !this.isMeSharingScreen || this.boardOwnerUser && !this.isMeSharingBoard) {
|
|
1202
|
+
var _this$sharingOwnerUse;
|
|
1203
|
+
var confirmKey = this._dialogProvider.openConfirmDialog({
|
|
1204
|
+
title: (0, _i18n.transI18n)('fmt_share_tips_otherssharing'),
|
|
1205
|
+
content: (0, _i18n.transI18n)("fmt_share_tips_stopothersharing", {
|
|
1206
|
+
reason1: ((_this$sharingOwnerUse = this.sharingOwnerUser) === null || _this$sharingOwnerUse === void 0 ? void 0 : _this$sharingOwnerUse.userName) || (0, _i18n.transI18n)('fmt_actionbar_screenshare_labels_others')
|
|
1207
|
+
}),
|
|
1208
|
+
okText: (0, _i18n.transI18n)('fmt_screenshare_continue_share'),
|
|
1209
|
+
okButtonProps: {
|
|
1210
|
+
className: 'fcr-screenshare-continue-share'
|
|
1211
|
+
},
|
|
1212
|
+
closable: false,
|
|
1213
|
+
alignCenter: true,
|
|
1214
|
+
onOk: function onOk() {
|
|
1215
|
+
_this5._screenShareProvider.bootstrap();
|
|
1216
|
+
_this5._dialogProvider.closeConfirm(confirmKey);
|
|
1217
|
+
},
|
|
1218
|
+
onCancel: function onCancel() {
|
|
1219
|
+
_this5._dialogProvider.closeConfirm(confirmKey);
|
|
1220
|
+
}
|
|
1221
|
+
});
|
|
1222
|
+
return false;
|
|
1223
|
+
} else {
|
|
1224
|
+
return true;
|
|
1225
|
+
}
|
|
1226
|
+
}
|
|
1227
|
+
}, {
|
|
1228
|
+
key: "_interceptShareBoard",
|
|
1229
|
+
value: function _interceptShareBoard() {
|
|
1230
|
+
var _this6 = this;
|
|
1231
|
+
if (this.boardOwnerUser && !this.isMeSharingBoard) {
|
|
1232
|
+
var confirmKey = this._dialogProvider.openConfirmDialog({
|
|
1233
|
+
icon: _type3.FcrIconType.FCR_SCREENSHARING,
|
|
1234
|
+
title: (0, _i18n.transI18n)('fmt_share_tips_othersharingboard'),
|
|
1235
|
+
content: (0, _i18n.transI18n)("fmt_share_tips_boardonly"),
|
|
1236
|
+
okText: (0, _i18n.transI18n)('fmt_screenshare_whiteboard_button_gotit'),
|
|
1237
|
+
closable: false,
|
|
1238
|
+
showCancel: false,
|
|
1239
|
+
onOk: function onOk() {
|
|
1240
|
+
_this6._screenShareProvider.bootstrap();
|
|
1241
|
+
_this6._dialogProvider.closeDialog(confirmKey);
|
|
1242
|
+
},
|
|
1243
|
+
onCancel: function onCancel() {
|
|
1244
|
+
_this6._dialogProvider.closeDialog(confirmKey);
|
|
1245
|
+
}
|
|
1246
|
+
});
|
|
1247
|
+
return false;
|
|
1248
|
+
} else {
|
|
1249
|
+
return true;
|
|
1250
|
+
}
|
|
1251
|
+
}
|
|
1252
|
+
}, {
|
|
1253
|
+
key: "_handleRemoteUsersJoined",
|
|
1254
|
+
value: function _handleRemoteUsersJoined(_roomId, _events) {
|
|
1255
|
+
this.hasOfflineUserExistence = this.getOfflineUserExistenceState();
|
|
1256
|
+
}
|
|
1257
|
+
}, {
|
|
1258
|
+
key: "_handleRemoteUsersLeft",
|
|
1259
|
+
value: function _handleRemoteUsersLeft(_roomId, _events) {
|
|
1260
|
+
this.hasOfflineUserExistence = this.getOfflineUserExistenceState();
|
|
1261
|
+
}
|
|
1262
|
+
}, {
|
|
1263
|
+
key: "_handleLiveStreamingStateUpdated",
|
|
1264
|
+
value: function _handleLiveStreamingStateUpdated(_roomId, state) {
|
|
1265
|
+
this.liveStreamingState = state;
|
|
1266
|
+
}
|
|
1267
|
+
}, {
|
|
1268
|
+
key: "_handleChatVisible",
|
|
1269
|
+
value: function _handleChatVisible(visible) {
|
|
1270
|
+
this._eventProvider.sendEvent(_constant.FcrUIAction.CHAT_VISIBLE, visible);
|
|
1271
|
+
this._newMessageTooltipTimer && clearTimeout(this._newMessageTooltipTimer);
|
|
1272
|
+
this.hideNewMessageTooltip();
|
|
1273
|
+
this.newMessageCount[this.chatTabIndex] = 0;
|
|
1274
|
+
}
|
|
1275
|
+
}, {
|
|
1276
|
+
key: "setAppActionbarPopoverVisible",
|
|
1277
|
+
value: function setAppActionbarPopoverVisible(visible) {
|
|
1278
|
+
this.appActionbarPopoverVisible = visible;
|
|
1279
|
+
}
|
|
1280
|
+
}, {
|
|
1281
|
+
key: "setAllowWaterMark",
|
|
1282
|
+
value: function setAllowWaterMark() {
|
|
1283
|
+
var allowState = !this.isWaterMarkEnabled;
|
|
1284
|
+
// 开启关闭前,进行权限判断
|
|
1285
|
+
this._privilegeProvider.setAllowWaterMark(allowState, void 0);
|
|
1286
|
+
}
|
|
1287
|
+
}, {
|
|
1288
|
+
key: "setWaterMarkLineType",
|
|
1289
|
+
value: function setWaterMarkLineType(lineType) {
|
|
1290
|
+
this._privilegeProvider.setAllowWaterMark(this.isWaterMarkEnabled, lineType);
|
|
1291
|
+
}
|
|
1292
|
+
}, {
|
|
1293
|
+
key: "setAlllowChangeName",
|
|
1294
|
+
value: function setAlllowChangeName(enable) {
|
|
1295
|
+
this._privilegeProvider.setAllowChangeSelfName(enable);
|
|
1296
|
+
}
|
|
1297
|
+
}, {
|
|
1298
|
+
key: "_onEvent",
|
|
1299
|
+
value: function _onEvent(action, payload) {
|
|
1300
|
+
if (action === _constant.FcrUIAction.CLOSE_DIALOG) {
|
|
1301
|
+
var _ref2 = payload,
|
|
1302
|
+
dialogId = _ref2.dialogId;
|
|
1303
|
+
var dialogKey = this._openedDialogIdMap.get(dialogId);
|
|
1304
|
+
if (dialogKey === _constant.FcrUIDialogKey.CHAT) {
|
|
1305
|
+
this._handleChatVisible(false);
|
|
1306
|
+
}
|
|
1307
|
+
if (dialogKey === _constant.FcrUIDialogKey.PARTICIPANT) {
|
|
1308
|
+
this._sharedLayoutDataSource.setAsideLayout({
|
|
1309
|
+
participant: false
|
|
1310
|
+
});
|
|
1311
|
+
}
|
|
1312
|
+
this._openedDialogIdMap["delete"](dialogId);
|
|
1313
|
+
}
|
|
1314
|
+
if (action === _constant.FcrUIAction.OPEN_DIALOG) {
|
|
1315
|
+
var _ref3 = payload,
|
|
1316
|
+
_dialogKey = _ref3.dialogKey,
|
|
1317
|
+
_dialogId = _ref3.dialogId;
|
|
1318
|
+
this._openedDialogIdMap.set(_dialogId, _dialogKey);
|
|
1319
|
+
if (_dialogKey === _constant.FcrUIDialogKey.CHAT) {
|
|
1320
|
+
this._sharedLayoutDataSource.setChatRenderAt('dialog');
|
|
1321
|
+
this._handleChatVisible(true);
|
|
1322
|
+
}
|
|
1323
|
+
if (_dialogKey === _constant.FcrUIDialogKey.PARTICIPANT) {
|
|
1324
|
+
this._sharedLayoutDataSource.setParticipantsRenderAt('dialog');
|
|
1325
|
+
this._sharedLayoutDataSource.setAsideLayout({
|
|
1326
|
+
participant: true
|
|
1327
|
+
});
|
|
1328
|
+
}
|
|
1329
|
+
}
|
|
1330
|
+
if (action === _constant.FcrUIAction.OPEN_LIVE_STEAMING_DIALOG) {
|
|
1331
|
+
this.openLiveStreamingDialog();
|
|
1332
|
+
}
|
|
1333
|
+
if (action === _constant.FcrUIAction.OPEN_CONNECTION_DIALOG) {
|
|
1334
|
+
this.openConnection(payload.params.type);
|
|
1335
|
+
}
|
|
1336
|
+
if (action === _constant.FcrUIAction.CLOSE_CONNECTION_DIALOG) {
|
|
1337
|
+
this.closeConnection();
|
|
1338
|
+
}
|
|
1339
|
+
if (action === _constant.FcrUIAction.TOGGLE_PARTICIPANT_TAB) {
|
|
1340
|
+
if (!this.participantVisible) {
|
|
1341
|
+
this.toggleParticipants();
|
|
1342
|
+
}
|
|
1343
|
+
}
|
|
1344
|
+
if (action === _constant.FcrUIAction.CHAT_ROOM_TAB_CHANGE) {
|
|
1345
|
+
this.chatTabIndex = payload;
|
|
1346
|
+
this.newMessageCount[this.chatTabIndex] = 0;
|
|
1347
|
+
}
|
|
1348
|
+
if (action === _constant.FcrUIAction.CLOSE_WAITING_ROOM_DIALOG) {
|
|
1349
|
+
var waitingDialogId = '';
|
|
1350
|
+
this._openedDialogIdMap.forEach(function (dialogKey, dialogId) {
|
|
1351
|
+
if (dialogKey === _constant.FcrUIDialogKey.WAITING_ROOM) {
|
|
1352
|
+
waitingDialogId = dialogId;
|
|
1353
|
+
}
|
|
1354
|
+
});
|
|
1355
|
+
this._dialogProvider.closeDialog(waitingDialogId);
|
|
1356
|
+
}
|
|
1357
|
+
if (action === _constant.FcrUIAction.CLOSE_REMOVE_ADMIT_WAITING_ROOM_DIALOG) {
|
|
1358
|
+
var operationDialogId = '';
|
|
1359
|
+
this._openedDialogIdMap.forEach(function (dialogKey, dialogId) {
|
|
1360
|
+
if (dialogKey === payload) {
|
|
1361
|
+
operationDialogId = dialogId;
|
|
1362
|
+
}
|
|
1363
|
+
});
|
|
1364
|
+
this._dialogProvider.closeDialog(operationDialogId);
|
|
1365
|
+
}
|
|
1366
|
+
if (action === _constant.FcrUIAction.MOVE_TO_MAIN_ROOM_ALL_MEMBER) {
|
|
1367
|
+
this._operateWaitingRoom(payload);
|
|
1368
|
+
}
|
|
1369
|
+
if (action === _constant.FcrUIAction.ENABLE_WAITING_ROOM) {
|
|
1370
|
+
this.setEnableWaitingRoom(payload, true);
|
|
1371
|
+
}
|
|
1372
|
+
}
|
|
1373
|
+
}, {
|
|
1374
|
+
key: "_operateWaitingRoom",
|
|
1375
|
+
value: function () {
|
|
1376
|
+
var _operateWaitingRoom2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee4(isOperate) {
|
|
1377
|
+
return _regenerator["default"].wrap(function (_context4) {
|
|
1378
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
1379
|
+
case 0:
|
|
1380
|
+
if (!isOperate) {
|
|
1381
|
+
_context4.next = 1;
|
|
1382
|
+
break;
|
|
1383
|
+
}
|
|
1384
|
+
_context4.next = 1;
|
|
1385
|
+
return this.moveToMainRoomAllMember();
|
|
1386
|
+
case 1:
|
|
1387
|
+
_context4.next = 2;
|
|
1388
|
+
return this.setEnableWaitingRoom(false, false);
|
|
1389
|
+
case 2:
|
|
1390
|
+
case "end":
|
|
1391
|
+
return _context4.stop();
|
|
1392
|
+
}
|
|
1393
|
+
}, _callee4, this);
|
|
1394
|
+
}));
|
|
1395
|
+
function _operateWaitingRoom(_x4) {
|
|
1396
|
+
return _operateWaitingRoom2.apply(this, arguments);
|
|
1397
|
+
}
|
|
1398
|
+
return _operateWaitingRoom;
|
|
1399
|
+
}()
|
|
1400
|
+
}, {
|
|
1401
|
+
key: "_handleCloudRecordingStateUpdated",
|
|
1402
|
+
value: function _handleCloudRecordingStateUpdated(_roomId, state) {
|
|
1403
|
+
this.cloudRecordingState = state;
|
|
1404
|
+
}
|
|
1405
|
+
}, {
|
|
1406
|
+
key: "setOutputLanguage",
|
|
1407
|
+
value: function () {
|
|
1408
|
+
var _setOutputLanguage = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee5(language) {
|
|
1409
|
+
var _this$_interpreterPro2,
|
|
1410
|
+
_this7 = this;
|
|
1411
|
+
return _regenerator["default"].wrap(function (_context5) {
|
|
1412
|
+
while (1) switch (_context5.prev = _context5.next) {
|
|
1413
|
+
case 0:
|
|
1414
|
+
_context5.next = 1;
|
|
1415
|
+
return (_this$_interpreterPro2 = this._interpreterProvider) === null || _this$_interpreterPro2 === void 0 ? void 0 : _this$_interpreterPro2.setOutputLanguage(language, function () {
|
|
1416
|
+
if (!_this7._deviceProvider.microphoneEnabled) {
|
|
1417
|
+
_this7._messageProvider.showToast({
|
|
1418
|
+
type: 'info',
|
|
1419
|
+
message: (0, _i18n.transI18n)('fmt_interpretation_interpreter_toast_label_open_micro')
|
|
1420
|
+
});
|
|
1421
|
+
}
|
|
1422
|
+
});
|
|
1423
|
+
case 1:
|
|
1424
|
+
case "end":
|
|
1425
|
+
return _context5.stop();
|
|
1426
|
+
}
|
|
1427
|
+
}, _callee5, this);
|
|
1428
|
+
}));
|
|
1429
|
+
function setOutputLanguage(_x5) {
|
|
1430
|
+
return _setOutputLanguage.apply(this, arguments);
|
|
1431
|
+
}
|
|
1432
|
+
return setOutputLanguage;
|
|
1433
|
+
}()
|
|
1434
|
+
}, {
|
|
1435
|
+
key: "subscribeLanguage",
|
|
1436
|
+
value: function () {
|
|
1437
|
+
var _subscribeLanguage = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee6(language) {
|
|
1438
|
+
var _this$_interpreterPro3;
|
|
1439
|
+
return _regenerator["default"].wrap(function (_context6) {
|
|
1440
|
+
while (1) switch (_context6.prev = _context6.next) {
|
|
1441
|
+
case 0:
|
|
1442
|
+
_context6.next = 1;
|
|
1443
|
+
return (_this$_interpreterPro3 = this._interpreterProvider) === null || _this$_interpreterPro3 === void 0 ? void 0 : _this$_interpreterPro3.subscribeLanguage(language);
|
|
1444
|
+
case 1:
|
|
1445
|
+
case "end":
|
|
1446
|
+
return _context6.stop();
|
|
1447
|
+
}
|
|
1448
|
+
}, _callee6, this);
|
|
1449
|
+
}));
|
|
1450
|
+
function subscribeLanguage(_x6) {
|
|
1451
|
+
return _subscribeLanguage.apply(this, arguments);
|
|
1452
|
+
}
|
|
1453
|
+
return subscribeLanguage;
|
|
1454
|
+
}()
|
|
1455
|
+
}, {
|
|
1456
|
+
key: "subscribeExtraOriginLanguage",
|
|
1457
|
+
value: function () {
|
|
1458
|
+
var _subscribeExtraOriginLanguage = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee7(enable) {
|
|
1459
|
+
var _this$_interpreterPro4;
|
|
1460
|
+
return _regenerator["default"].wrap(function (_context7) {
|
|
1461
|
+
while (1) switch (_context7.prev = _context7.next) {
|
|
1462
|
+
case 0:
|
|
1463
|
+
(_this$_interpreterPro4 = this._interpreterProvider) === null || _this$_interpreterPro4 === void 0 || _this$_interpreterPro4.subscribeExtraOriginLanguage(enable);
|
|
1464
|
+
case 1:
|
|
1465
|
+
case "end":
|
|
1466
|
+
return _context7.stop();
|
|
1467
|
+
}
|
|
1468
|
+
}, _callee7, this);
|
|
1469
|
+
}));
|
|
1470
|
+
function subscribeExtraOriginLanguage(_x7) {
|
|
1471
|
+
return _subscribeExtraOriginLanguage.apply(this, arguments);
|
|
1472
|
+
}
|
|
1473
|
+
return subscribeExtraOriginLanguage;
|
|
1474
|
+
}() //是否有离线翻译官
|
|
1475
|
+
}, {
|
|
1476
|
+
key: "getOfflineUserExistenceState",
|
|
1477
|
+
value: function getOfflineUserExistenceState() {
|
|
1478
|
+
var _this$_interpreterPro5,
|
|
1479
|
+
_this8 = this;
|
|
1480
|
+
var isOffLine = (_this$_interpreterPro5 = this._interpreterProvider) === null || _this$_interpreterPro5 === void 0 || (_this$_interpreterPro5 = _this$_interpreterPro5.getInterpreterList()) === null || _this$_interpreterPro5 === void 0 ? void 0 : _this$_interpreterPro5.some(function (ele) {
|
|
1481
|
+
return !_this8._userControl.getUserList().find(function (item) {
|
|
1482
|
+
return item.userId === ele.userId;
|
|
1483
|
+
});
|
|
1484
|
+
});
|
|
1485
|
+
return !!isOffLine;
|
|
1486
|
+
}
|
|
1487
|
+
}, {
|
|
1488
|
+
key: "clickWidget",
|
|
1489
|
+
value: function clickWidget(widgetConfig) {
|
|
1490
|
+
if (widgetConfig.type === _type2.FcrWidgetType.eventWidget) {
|
|
1491
|
+
this._widgetProvider.onWidgetClick(widgetConfig.id);
|
|
1492
|
+
} else {
|
|
1493
|
+
this._widgetProvider.openWidget(widgetConfig.id);
|
|
1494
|
+
}
|
|
1495
|
+
}
|
|
1496
|
+
}, {
|
|
1497
|
+
key: "closeWidget",
|
|
1498
|
+
value: function closeWidget(widgetId) {
|
|
1499
|
+
this._widgetProvider.closeWidget(widgetId);
|
|
1500
|
+
}
|
|
1501
|
+
}, {
|
|
1502
|
+
key: "_checkIsWidgetSupportedRole",
|
|
1503
|
+
value: function _checkIsWidgetSupportedRole(widgetConfig, _role) {
|
|
1504
|
+
var _widgetConfig$support;
|
|
1505
|
+
if (!widgetConfig.supportedRoles || widgetConfig.supportedRoles.length === 0 || (_widgetConfig$support = widgetConfig.supportedRoles) !== null && _widgetConfig$support !== void 0 && _widgetConfig$support.includes(this.localUserRole)) {
|
|
1506
|
+
return true;
|
|
1507
|
+
}
|
|
1508
|
+
return false;
|
|
1509
|
+
}
|
|
1510
|
+
}]);
|
|
1511
|
+
}();
|
|
1512
|
+
_ActionBarStore = ActionBarStore;
|
|
1513
|
+
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_ActionBarStore, [[_mobx.observable, 1, "newMessageTooltipVisible"], [_mobx.observable, 1, "totalWaitingRoomUser"], [_mobx.observable, 1, "liveStreamingState"], [_mobx.observable, 1, "currentMenuIs"], [_mobx.observable, 1, "cloudRecordingState"], [_mobx.observable, 1, "connectionSettingVisible"], [_mobx.observable, 1, "folded"], [_mobx.observable, 1, "showArrow"], [_mobx.observable, 1, "phoneMicEnabled"], [_mobx.observable, 1, "chatTabIndex"], [_mobx.observable, 1, "stateBarLeaveMeeting"], [_mobx.observable, 1, "hasOfflineUserExistence"], [_mobx.observable, 1, "connectionState"], [_mobx.observable, 1, "appActionbarPopoverVisible"], [_mobx.computed, 3, "checkedStateMap"], [_setCheckedStateMapDecs, 18, "setCheckedStateMap"], [_mobx.computed, 3, "registeredWidgetConfigs"], [_mobx.computed, 3, "asideLayout"], [_mobx.computed, 3, "chatRenderAt"], [_mobx.computed, 3, "participantsRenderAt"], [_mobx.computed, 3, "participantVisible"], [_mobx.computed, 3, "chatVisible"], [_mobx.computed, 3, "hasStartScreenSharePermission"], [_mobx.computed, 3, "hasStopScreenSharePermission"], [_mobx.computed, 3, "sharingOwnerUser"], [_mobx.computed, 3, "hasEnableStartScreenSharePermission"], [_mobx.computed, 3, "hasStartLiveStreamingPermission"], [_mobx.computed, 3, "hasEnableStartAudioPermission"], [_mobx.computed, 3, "hasEnableChangeNamePermission"], [_mobx.computed, 3, "hasEnableStartVideoPermission"], [_mobx.computed, 3, "hasLockRoomPermission"], [_mobx.computed, 3, "hasEnableJoinWithAudioPermission"], [_mobx.computed, 3, "hasWaitingRoomPermission"], [_mobx.computed, 3, "hasWatermarkDisablePermission"], [_mobx.computed, 3, "hasEnableStartSharePermission"], [_mobx.computed, 3, "hasAllowWriteBoardPermission"], [_mobx.computed, 3, "hasAllowScreenShareAndBoardPermission"], [_mobx.computed, 3, "hasAllowChatPermission"], [_mobx.computed, 3, "hasStartCloudRecordingPermission"], [_mobx.computed, 3, "hasAssignHostBeforeLeavingPermission"], [_mobx.computed, 3, "hasEndRoomPermission"], [_mobx.computed, 3, "isScreenShareAndBoardEnabled"], [_mobx.computed, 3, "isBoardWriteEnabled"], [_mobx.computed, 3, "isWaterMarkEnabled"], [_mobx.computed, 3, "isMulti"], [_mobx.computed, 3, "hasEnableInterpreterPermission"], [_mobx.computed, 3, "hasDisableInterpreterPermission"], [_mobx.computed, 3, "microphoneEnabled"], [_mobx.computed, 3, "allNewMessage"], [_mobx.computed, 3, "isMainRoom"], [_mobx.computed, 3, "hasAllowChangeNamePromission"], [_mobx.computed, 3, "hasDisallowChangeNamePromission"], [_mobx.computed, 3, "newMessageCount"], [_mobx.computed, 3, "endMeetingPopoverOpened"], [_pauseCloudRecordingDecs, 2, "pauseCloudRecording"], [_resumeCloudRecordingDecs, 2, "resumeCloudRecording"], [_stopCloudRecordingDecs, 2, "stopCloudRecording"], [_decorator.bound, 2, "startCloudRecording"], [_showLockedRoomToastDecs, 18, "showLockedRoomToast"], [_toggleLayoutBarLockDecs, 18, "toggleLayoutBarLock"], [_showNewMessageTooltipDecs, 18, "showNewMessageTooltip"], [_hideNewMessageTooltipDecs, 18, "hideNewMessageTooltip"], [_switchMenuDecs, 18, "switchMenu"], [_mobx.computed, 3, "isLocked"], [_decorator.bound, 2, "isWaitingRoomEnabled"], [_decorator.bound, 2, "isAllowJoinWithAudioEnabled"], [_decorator.bound, 2, "enableMicrophone"], [_decorator.bound, 2, "setAllowWriteBoard"], [_decorator.bound, 2, "setAllowAnnotation"], [_decorator.bound, 2, "setAllowScreenShare"], [_setPopoverOpenedDecs, 18, "setPopoverOpened"], [_setStateBarLeaveMeetingDecs, 18, "setStateBarLeaveMeeting"], [_decorator.bound, 2, "allowJoinWithMuteAudio"], [_decorator.bound, 2, "setAllowJoinWithMuteAudio"], [_decorator.bound, 2, "isLockRoomEnabled"], [_decorator.bound, 2, "setLockRoomEnabled"], [_decorator.bound, 2, "setAllowShareScreen"], [_decorator.bound, 2, "allowShareScreen"], [_decorator.bound, 2, "allowWriteBoard"], [_decorator.bound, 2, "allowChat"], [_decorator.bound, 2, "setAllowChat"], [_decorator.bound, 2, "allowUnmuteSelfAudio"], [_decorator.bound, 2, "setAllowUnmuteSelfAudio"], [_decorator.bound, 2, "allowUnmuteSelfVideo"], [_decorator.bound, 2, "setAllowUnmuteSelfVideo"], [_decorator.bound, 2, "allowChangeName"], [_decorator.bound, 2, "toggleChat"], [_decorator.bound, 2, "openChat"], [_decorator.bound, 2, "closeChat"], [_decorator.bound, 2, "toggleParticipants"], [_decorator.bound, 2, "openParticipants"], [_decorator.bound, 2, "closeParticipants"], [_decorator.bound, 2, "openDeviceSettingDialog"], [_decorator.bound, 2, "startScreenShare"], [_decorator.bound, 2, "openInterpreterDialog"], [_decorator.bound, 2, "openWhiteboard"], [_decorator.bound, 2, "closeWhiteboard"], [_decorator.bound, 2, "closeShareScreen"], [_decorator.bound, 2, "openLiveStreamingDialog"], [_decorator.bound, 2, "toggleConnection"], [_decorator.bound, 2, "openConnection"], [_decorator.bound, 2, "closeConnection"], [_handleJoinWaitingRoomDecs, 18, "_handleJoinWaitingRoom"], [_toggleFoldDecs, 18, "toggleFold"], [_setShowArrowDecs, 18, "setShowArrow"], [_setEnableWaitingRoomDecs, 18, "setEnableWaitingRoom"], [_kickOutWaitingRoomAllMemberDecs, 18, "kickOutWaitingRoomAllMember"], [_moveToMainRoomAllMemberDecs, 18, "moveToMainRoomAllMember"], [_decorator.bound, 2, "_interceptShareScreen"], [_decorator.bound, 2, "_interceptShareBoard"], [_handleRemoteUsersJoinedDecs, 18, "_handleRemoteUsersJoined"], [_handleRemoteUsersLeftDecs, 18, "_handleRemoteUsersLeft"], [_handleLiveStreamingStateUpdatedDecs, 18, "_handleLiveStreamingStateUpdated"], [_handleChatVisibleDecs, 18, "_handleChatVisible"], [_setAppActionbarPopoverVisibleDecs, 18, "setAppActionbarPopoverVisible"], [_decorator.bound, 2, "setAllowWaterMark"], [_decorator.bound, 2, "setWaterMarkLineType"], [_decorator.bound, 2, "setAlllowChangeName"], [_decorator.bound, 2, "_onEvent"], [_operateWaitingRoomDecs, 18, "_operateWaitingRoom"], [_handleCloudRecordingStateUpdatedDecs, 18, "_handleCloudRecordingStateUpdated"], [_setOutputLanguageDecs, 18, "setOutputLanguage"], [_subscribeLanguageDecs, 18, "subscribeLanguage"], [_subscribeExtraOriginLanguageDecs, 18, "subscribeExtraOriginLanguage"], [_getOfflineUserExistenceStateDecs, 18, "getOfflineUserExistenceState"], [_clickWidgetDecs, 18, "clickWidget"], [_closeWidgetDecs, 18, "closeWidget"]], []).e, 15);
|
|
1514
|
+
_init_newMessageTooltipVisible = _applyDecs$e[0];
|
|
1515
|
+
_init_totalWaitingRoomUser = _applyDecs$e[1];
|
|
1516
|
+
_init_liveStreamingState = _applyDecs$e[2];
|
|
1517
|
+
_init_currentMenuIs = _applyDecs$e[3];
|
|
1518
|
+
_init_cloudRecordingState = _applyDecs$e[4];
|
|
1519
|
+
_init_connectionSettingVisible = _applyDecs$e[5];
|
|
1520
|
+
_init_folded = _applyDecs$e[6];
|
|
1521
|
+
_init_showArrow = _applyDecs$e[7];
|
|
1522
|
+
_init_phoneMicEnabled = _applyDecs$e[8];
|
|
1523
|
+
_init_chatTabIndex = _applyDecs$e[9];
|
|
1524
|
+
_init_stateBarLeaveMeeting = _applyDecs$e[10];
|
|
1525
|
+
_init_hasOfflineUserExistence = _applyDecs$e[11];
|
|
1526
|
+
_init_connectionState = _applyDecs$e[12];
|
|
1527
|
+
_init_appActionbarPopoverVisible = _applyDecs$e[13];
|
|
1528
|
+
_initProto = _applyDecs$e[14];
|
|
1529
|
+
var ActionBarContext = exports.ActionBarContext = /*#__PURE__*/(0, _react.createContext)(null);
|