fcr-ui-scene 3.8.1-beta → 3.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/base.js +2 -2
- package/lib/creator/provider-initializer.browser.js +8 -7
- package/lib/creator/provider-initializer.electron.js +8 -8
- package/lib/electron/asar-validation.d.ts +12 -0
- package/lib/electron/asar-validation.js +115 -0
- package/lib/electron/bootstrap-sdk.js +20 -12
- package/lib/electron/default-options.js +2 -1
- package/lib/electron/env.d.ts +1 -0
- package/lib/electron/env.js +6 -4
- package/lib/electron/exit-codes.js +11 -11
- package/lib/electron/hang-detection/manager.js +4 -4
- package/lib/electron/ipc-protocol.js +12 -12
- package/lib/electron/process-manager/event-manager.js +30 -30
- package/lib/electron/process-manager/index.js +88 -88
- package/lib/electron/process-manager/state-manager.js +57 -57
- package/lib/electron/process-manager/types.js +16 -16
- package/lib/electron/sdk-helper.js +3 -3
- package/lib/electron/window-proxy/browser-window-proxy.js +13 -13
- package/lib/electron/window-proxy/main-process-handler.js +14 -14
- package/lib/fragments/annotation/style.css +9 -9
- package/lib/fragments/annotation/toolbar/components/item/style.css +45 -45
- package/lib/fragments/annotation/toolbar/components/panel/style.css +24 -24
- package/lib/fragments/annotation/toolbar/components/tips/style.css +19 -19
- package/lib/fragments/annotation/toolbar/style.css +55 -55
- package/lib/fragments/whiteboard/cursor.css +77 -77
- package/lib/fragments/whiteboard/style.css +4 -4
- package/lib/global.css +62 -62
- package/lib/global.d.ts +27 -27
- package/lib/index.js +9 -1
- package/lib/modules/action-bar/components/chat/index.css +88 -88
- package/lib/modules/action-bar/components/more/index.css +114 -114
- package/lib/modules/action-bar/components/notification-bar/components/interpreter/index.css +58 -58
- package/lib/modules/action-bar/components/notification-bar/components/virtual-image/index.css +56 -56
- package/lib/modules/action-bar/components/notification-bar/index.css +74 -74
- package/lib/modules/action-bar/components/participants/index.css +21 -21
- package/lib/modules/action-bar/components/record/index.css +39 -39
- package/lib/modules/action-bar/components/trigger-output-language/index.css +86 -86
- package/lib/modules/action-bar/components/trigger-subscribe-language/guide-tooltip/index.css +22 -22
- package/lib/modules/action-bar/index.css +358 -358
- package/lib/modules/action-bar/main-scene/store.base.d.ts +3 -2
- package/lib/modules/action-bar/main-scene/store.base.js +29 -57
- package/lib/modules/action-bar/main-scene/view.js +3 -3
- package/lib/modules/audio-stream/index.js +3 -3
- package/lib/modules/caption/draggable-container/index.css +10 -10
- package/lib/modules/caption/view.css +158 -158
- package/lib/modules/chat/components/chat-bar/index.css +89 -89
- package/lib/modules/chat/components/chat-select/index.css +185 -185
- package/lib/modules/chat/index.css +124 -124
- package/lib/modules/components/apps/app-item/index.css +49 -49
- package/lib/modules/components/apps/index.css +9 -9
- package/lib/modules/components/caption-menu/index.css +58 -58
- package/lib/modules/components/caption-menu/steps/index.css +73 -73
- package/lib/modules/components/control-bar/components/loading/index.css +76 -76
- package/lib/modules/components/control-bar/components/progress/style.css +51 -51
- package/lib/modules/components/control-bar/components/switch-theme/index.css +101 -101
- package/lib/modules/components/control-bar/index.css +99 -99
- package/lib/modules/components/device-control/index.css +177 -177
- package/lib/modules/components/leave-meeting/components/index.css +151 -151
- package/lib/modules/components/leave-meeting/style.css +9 -9
- package/lib/modules/components/member-window/components/member-actions/store.js +22 -22
- package/lib/modules/components/member-window/index.css +502 -502
- package/lib/modules/components/security-menu/index.css +42 -42
- package/lib/modules/components/tab-frame/index.css +40 -40
- package/lib/modules/components/toolbar/components/item/style.css +94 -94
- package/lib/modules/components/toolbar/components/panel/style.css +86 -86
- package/lib/modules/components/toolbar/style.css +85 -85
- package/lib/modules/connection-gateway/components/computer/index.css +12 -12
- package/lib/modules/connection-gateway/components/phone/components/callinfo/index.css +36 -36
- package/lib/modules/connection-gateway/components/phone/components/calling/index.css +72 -72
- package/lib/modules/connection-gateway/components/phone/components/remeber/index.css +10 -10
- package/lib/modules/connection-gateway/components/phone/components/useing/index.css +46 -46
- package/lib/modules/connection-gateway/components/phone/index.css +49 -49
- package/lib/modules/connection-gateway/index.css +6 -6
- package/lib/modules/control-bar/components/meeting-details/index.css +133 -133
- package/lib/modules/control-bar/components/more-actions/index.css +103 -103
- package/lib/modules/control-bar/components/share-audio/index.css +90 -90
- package/lib/modules/control-bar/components/share-state-nav/index.css +79 -79
- package/lib/modules/control-bar/index.css +340 -340
- package/lib/modules/control-bar/index.js +4 -4
- package/lib/modules/device-pretest/index.css +123 -123
- package/lib/modules/dialog/components/confirm/index.css +24 -24
- package/lib/modules/dialog/components/dialog-container/index.css +112 -112
- package/lib/modules/dialog/dialogs/confirm/index.css +24 -24
- package/lib/modules/dialog/dialogs/connection-gateway/tabs.d.ts +1 -0
- package/lib/modules/dialog/dialogs/connection-gateway/tabs.js +27 -14
- package/lib/modules/dialog/dialogs/device-setting/index.css +26 -26
- package/lib/modules/dialog/dialogs/interpreter/index.css +30 -30
- package/lib/modules/dialog/dialogs/mute-all/index.css +20 -20
- package/lib/modules/dialog/dialogs/system-preference/index.css +52 -52
- package/lib/modules/dialog/dialogs/widget/index.js +4 -4
- package/lib/modules/dialog/index.css +56 -56
- package/lib/modules/event-toast/index.css +25 -25
- package/lib/modules/interpreter/action/add-btn/index.css +4 -4
- package/lib/modules/interpreter/action/delete-btn/index.css +14 -14
- package/lib/modules/interpreter/action/switch-btn/index.css +3 -3
- package/lib/modules/interpreter/dialog-content/index.css +33 -33
- package/lib/modules/interpreter/footer/index.css +11 -11
- package/lib/modules/interpreter/index.css +4 -4
- package/lib/modules/interpreter/interpreter-list/index.css +8 -8
- package/lib/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/index.css +46 -46
- package/lib/modules/interpreter/interpreter-list/interpreter-item/components/pick-user/index.css +46 -46
- package/lib/modules/interpreter/interpreter-list/interpreter-item/index.css +32 -32
- package/lib/modules/interpreter/loading-wrapper/index.css +53 -53
- package/lib/modules/invite/components/pstn-invite.js +1 -1
- package/lib/modules/invite/components/voip-invite.css +26 -26
- package/lib/modules/invite/index.css +331 -331
- package/lib/modules/layout/components/CommonVideoRenderer.js +4 -4
- package/lib/modules/layout/components/index.css +653 -653
- package/lib/modules/layout/index.css +59 -59
- package/lib/modules/layout/store.base.js +5 -5
- package/lib/modules/layout/type.js +5 -5
- package/lib/modules/notification/index.css +77 -77
- package/lib/modules/notification/interpreter-status/index.css +76 -76
- package/lib/modules/participant/components/confirm-input/index.css +4 -4
- package/lib/modules/participant/components/participants/components/footer/components/drop-menu/index.css +83 -83
- package/lib/modules/participant/components/participants/components/render-user/components/attendee/index.css +87 -87
- package/lib/modules/participant/index.css +102 -102
- package/lib/modules/participant/store.base.js +175 -175
- package/lib/modules/pc-audio-connect/index.css +12 -12
- package/lib/modules/pc-audio-connect/main-scene/index.d.ts +2 -1
- package/lib/modules/pc-audio-connect/main-scene/index.js +5 -4
- package/lib/modules/pc-audio-connect/main-scene/store.d.ts +3 -0
- package/lib/modules/pc-audio-connect/main-scene/store.js +44 -7
- package/lib/modules/phone-audio-connect/components/callinfo/index.css +36 -36
- package/lib/modules/phone-audio-connect/components/calling/index.css +72 -72
- package/lib/modules/phone-audio-connect/components/remeber/index.css +10 -10
- package/lib/modules/phone-audio-connect/components/useing/index.css +46 -46
- package/lib/modules/phone-audio-connect/index.css +56 -56
- package/lib/modules/secondary-window/store.js +7 -7
- package/lib/modules/setting/audio-settings/index.css +195 -195
- package/lib/modules/setting/audio-whiteList/audio-device-adaptation.js +14 -14
- package/lib/modules/setting/audio-whiteList/audio-whiteList-manager.js +6 -6
- package/lib/modules/setting/caption_and_transcribing/index.css +88 -88
- package/lib/modules/setting/general-settings/index.css +41 -41
- package/lib/modules/setting/index.css +112 -112
- package/lib/modules/setting/minutes-settings/index.css +65 -65
- package/lib/modules/setting/state/index.css +207 -207
- package/lib/modules/setting/storage-settings/index.css +91 -91
- package/lib/modules/setting/translate-settings/index.css +47 -47
- package/lib/modules/setting/video-settings/index.css +357 -357
- package/lib/modules/share-screen/components/control-bar/index.css +75 -75
- package/lib/modules/share-screen/components/selection/index.css +73 -73
- package/lib/modules/share-screen/components/share-state-bar/index.css +76 -76
- package/lib/modules/share-screen/index.js +10 -10
- package/lib/modules/share-screen/store.base.js +2 -2
- package/lib/modules/state-bar/assets/fcr_grid_big.svg +3 -3
- package/lib/modules/state-bar/assets/fcr_listontop_big.svg +3 -3
- package/lib/modules/state-bar/index.css +706 -706
- package/lib/modules/state-bar/main-scene/store.base.js +2 -2
- package/lib/modules/state-bar/meeting-detail.css +137 -137
- package/lib/modules/state-bar/meeting-network-state.css +150 -150
- package/lib/modules/state-bar/waiting-scene/store.base.js +2 -2
- package/lib/modules/subtitles-history/components/settings/index.css +5 -5
- package/lib/modules/subtitles-history/index.css +129 -129
- package/lib/modules/video-window/components/members/index.css +51 -51
- package/lib/modules/video-window/components/speaking/index.css +86 -86
- package/lib/modules/video-window/components/topControl/index.css +35 -35
- package/lib/modules/video-window/index.css +21 -21
- package/lib/modules/video-window/popover-watcher.js +3 -3
- package/lib/modules/video-window/store.js +10 -10
- package/lib/modules/waiting-room-layout/index.css +96 -96
- package/lib/modules/whiteboard/components/control-bar/index.css +52 -52
- package/lib/modules/whiteboard/components/loading/index.css +76 -76
- package/lib/modules/whiteboard/components/multi-window/index.css +63 -63
- package/lib/modules/whiteboard/components/pagination/index.css +228 -228
- package/lib/modules/whiteboard/components/progress/style.css +51 -51
- package/lib/modules/whiteboard/components/switch-theme/index.css +99 -99
- package/lib/modules/whiteboard/components/toolbar/style.css +591 -591
- package/lib/modules/whiteboard/style.css +140 -140
- package/lib/modules/widget/index.css +9 -9
- package/lib/modules/widget/index.d.ts +1 -0
- package/lib/modules/widget/index.js +16 -1
- package/lib/modules/widget/store.base.d.ts +1 -0
- package/lib/modules/widget/store.base.js +12 -0
- package/lib/modules/widget/store.electron.js +5 -0
- package/lib/modules/widget/web-widget.d.ts +6 -1
- package/lib/modules/widget/web-widget.js +66 -22
- package/lib/object-manager.js +8 -8
- package/lib/plugins/module-dev-plugin.js +11 -11
- package/lib/providers/ability-provider.js +17 -17
- package/lib/providers/app-list-provider.d.ts +1 -1
- package/lib/providers/app-list-provider.js +9 -7
- package/lib/providers/board-share/bar-control/base.d.ts +1 -1
- package/lib/providers/board-share/bar-control/browser.d.ts +1 -1
- package/lib/providers/board-share/bar-control/electron.d.ts +1 -1
- package/lib/providers/board-share/struct.js +6 -6
- package/lib/providers/device-stream-provider.d.ts +1 -1
- package/lib/providers/dialog/provider.base.js +2 -2
- package/lib/providers/dialog/type.js +3 -3
- package/lib/providers/multi-display-provider.js +4 -4
- package/lib/providers/privilege-provider.js +7 -7
- package/lib/providers/screen-share/provider.base.js +23 -23
- package/lib/providers/screen-share/stream-state-sync.js +18 -18
- package/lib/providers/screen-share/struct.js +24 -24
- package/lib/providers/widget-provider.d.ts +13 -2
- package/lib/providers/widget-provider.js +60 -9
- package/lib/providers/window/main-window.js +2 -2
- package/lib/providers/window/provider.js +5 -5
- package/lib/providers/window/renderer-window.js +2 -2
- package/lib/scenes/main-scene.js +1 -0
- package/lib/schema.js +26 -26
- package/lib/shared-data/app-list-data.d.ts +0 -3
- package/lib/shared-data/app-list-data.js +3 -30
- package/lib/shared-data/meeting-time.js +8 -8
- package/lib/shared-data/setting.js +3 -3
- package/lib/shared-data/video-window.d.ts +1 -1
- package/lib/shared-data/video-window.js +1 -1
- package/lib/shared-data/widget-data.d.ts +0 -1
- package/lib/type.d.ts +1 -0
- package/lib/type.js +23 -21
- package/lib/ui-scene-switch.js +2 -2
- package/lib/utilities/constant.js +6 -6
- package/lib/utilities/renderer.js +8 -8
- package/lib/utilities/shared-storage.js +2 -2
- package/lib/utilities/tools.js +14 -14
- package/package.json +83 -79
- package/public/assets/fcr_chat_reddot.svg +5 -5
- package/public/assets/fcr_grid_big.svg +3 -3
- package/public/assets/fcr_leave2.svg +58 -58
- package/public/assets/fcr_listontop_big.svg +3 -3
- package/public/assets/step-gradient.svg +10 -10
- package/public/fragment.html +10 -10
- package/public/index.html +107 -183
- package/public/index.vite.html +109 -0
- package/public/js/init.js +75 -0
- package/public/{meeting-manager.js → js/meeting-manager.js} +405 -405
|
@@ -70,15 +70,16 @@ var PcAudioConnectionUIModule = exports.PcAudioConnectionUIModule = /*#__PURE__*
|
|
|
70
70
|
}, {
|
|
71
71
|
key: "getComponent",
|
|
72
72
|
value: function getComponent(params) {
|
|
73
|
-
var
|
|
74
|
-
|
|
75
|
-
|
|
73
|
+
var phoneChildren = params.phoneChildren,
|
|
74
|
+
type = params.type,
|
|
75
|
+
contactsChildren = params.contactsChildren;
|
|
76
76
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_store.StoreContext.Provider, {
|
|
77
77
|
value: this.store,
|
|
78
78
|
children: phoneChildren && type ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_tabs.GatewayConnectorTabs, {
|
|
79
79
|
type: type,
|
|
80
80
|
computerChildren: /*#__PURE__*/(0, _jsxRuntime.jsx)(_view["default"], {}),
|
|
81
|
-
phoneChildren: phoneChildren
|
|
81
|
+
phoneChildren: phoneChildren,
|
|
82
|
+
contactsChildren: contactsChildren
|
|
82
83
|
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_view["default"], {})
|
|
83
84
|
});
|
|
84
85
|
}
|
|
@@ -10,8 +10,10 @@ export default class ConnectionGatewayStoreMainScene {
|
|
|
10
10
|
private _devicePrivilegeProvider?;
|
|
11
11
|
private _sharedDevicePrivilegeDataSource?;
|
|
12
12
|
private _dialogProvider;
|
|
13
|
+
private _widgetProvider;
|
|
13
14
|
private _needShowConfirmDialog;
|
|
14
15
|
private _confirmDialogId;
|
|
16
|
+
private _dialogProviderObserver;
|
|
15
17
|
private _sharedSettingDataSource;
|
|
16
18
|
accessor phoneCallState: FcrRoomConnectorSessionState;
|
|
17
19
|
accessor phoneCallReason: FcrRoomConnectorSessionReason;
|
|
@@ -23,6 +25,7 @@ export default class ConnectionGatewayStoreMainScene {
|
|
|
23
25
|
get outgoingCall(): boolean;
|
|
24
26
|
get hasPstnStream(): boolean;
|
|
25
27
|
get connectInfo(): import("fcr-core/lib/room-control/room-connector-control/type").FcrRoomConnectorPhoneInfo;
|
|
28
|
+
get widgetConfigByContacts(): import("../../../type").FcrUIWebWidgetConfig | undefined;
|
|
26
29
|
constructor({ objectManager }: ConnectionGatewayStoreArgs);
|
|
27
30
|
openAudioSettings(): void;
|
|
28
31
|
release(): void;
|
|
@@ -38,12 +38,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
38
38
|
});
|
|
39
39
|
exports["default"] = exports.StoreContext = void 0;
|
|
40
40
|
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
41
|
+
require("core-js/modules/es.array.find.js");
|
|
41
42
|
require("core-js/modules/es.array.for-each.js");
|
|
42
43
|
require("core-js/modules/es.array.iterator.js");
|
|
43
44
|
require("core-js/modules/es.object.to-string.js");
|
|
44
45
|
require("core-js/modules/es.string.iterator.js");
|
|
45
46
|
require("core-js/modules/es.weak-map.js");
|
|
46
47
|
require("core-js/modules/esnext.iterator.constructor.js");
|
|
48
|
+
require("core-js/modules/esnext.iterator.find.js");
|
|
47
49
|
require("core-js/modules/esnext.iterator.for-each.js");
|
|
48
50
|
require("core-js/modules/esnext.weak-map.delete-all.js");
|
|
49
51
|
require("core-js/modules/esnext.weak-map.emplace.js");
|
|
@@ -59,12 +61,13 @@ var _react = require("react");
|
|
|
59
61
|
var _decorator = require("agora-foundation/lib/decorator");
|
|
60
62
|
var _type = require("fcr-core/lib/room-control/room-connector-control/type");
|
|
61
63
|
var _constant = require("../../../utilities/constant");
|
|
64
|
+
var _type2 = require("../../../type");
|
|
62
65
|
require("../../../providers/dialog/provider.browser");
|
|
63
66
|
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
64
67
|
var _objectManager = require("../../../object-manager");
|
|
65
|
-
var
|
|
68
|
+
var _type3 = require("../../../providers/dialog/type");
|
|
66
69
|
var _logger = require("../../../utilities/logger");
|
|
67
|
-
var
|
|
70
|
+
var _type4 = require("../../setting/type");
|
|
68
71
|
var _ConnectionGatewayStoreMainScene;
|
|
69
72
|
var _initProto, _init_phoneCallState, _init_phoneCallReason, _init_connectSession, _init_calling;
|
|
70
73
|
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
|
@@ -93,6 +96,28 @@ var ConnectionGatewayStoreMainScene = exports["default"] = /*#__PURE__*/function
|
|
|
93
96
|
(0, _defineProperty2["default"])(this, "_failureTimer", null);
|
|
94
97
|
(0, _defineProperty2["default"])(this, "_needShowConfirmDialog", true);
|
|
95
98
|
(0, _defineProperty2["default"])(this, "_confirmDialogId", null);
|
|
99
|
+
(0, _defineProperty2["default"])(this, "_dialogProviderObserver", {
|
|
100
|
+
onDialogClose: function onDialogClose(dialogKey) {
|
|
101
|
+
if (dialogKey === _constant.FcrUIDialogKey.CONNECTION_GATEWAY) {
|
|
102
|
+
var widgetConfigByContacts = _this.widgetConfigByContacts;
|
|
103
|
+
if (widgetConfigByContacts) {
|
|
104
|
+
_this._widgetProvider.closeWidget(widgetConfigByContacts.id);
|
|
105
|
+
} else {
|
|
106
|
+
_this.logger.info('widgetConfigByContacts closed');
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
onDialogOpen: function onDialogOpen(dialogKey) {
|
|
111
|
+
if (dialogKey === _constant.FcrUIDialogKey.CONNECTION_GATEWAY) {
|
|
112
|
+
var widgetConfigByContacts = _this.widgetConfigByContacts;
|
|
113
|
+
if (widgetConfigByContacts) {
|
|
114
|
+
_this._widgetProvider.openWidget(widgetConfigByContacts.id);
|
|
115
|
+
} else {
|
|
116
|
+
_this.logger.info('widgetConfigByContacts not found');
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
});
|
|
96
121
|
_classPrivateFieldInitSpec(this, _A, _init_phoneCallState(this, _type.FcrRoomConnectorSessionState.CALLING));
|
|
97
122
|
_classPrivateFieldInitSpec(this, _B, _init_phoneCallReason(this, _type.FcrRoomConnectorSessionReason.NONE));
|
|
98
123
|
_classPrivateFieldInitSpec(this, _C, _init_connectSession(this, null));
|
|
@@ -106,8 +131,10 @@ var ConnectionGatewayStoreMainScene = exports["default"] = /*#__PURE__*/function
|
|
|
106
131
|
this._devicePrivilegeProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_DEVICE_PRIVILEGE_PROVIDER);
|
|
107
132
|
this._sharedDevicePrivilegeDataSource = objectManager.getObject(_objectManager.FcrUIObjectKeys.S_SHARED_DEVICE_PRIVILEGE_DATA_SOURCE);
|
|
108
133
|
this._sharedSettingDataSource = objectManager.getObject(_objectManager.FcrUIObjectKeys.S_SHARED_SETTING_DATA_SOURCE);
|
|
134
|
+
|
|
109
135
|
// Optional providers may not exist in all scenarios
|
|
110
136
|
|
|
137
|
+
this._widgetProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_WIDGET_PROVIDER);
|
|
111
138
|
this._deviceObserver = {
|
|
112
139
|
onAudioConnected: function onAudioConnected() {
|
|
113
140
|
_this._needShowConfirmDialog = false;
|
|
@@ -118,7 +145,8 @@ var ConnectionGatewayStoreMainScene = exports["default"] = /*#__PURE__*/function
|
|
|
118
145
|
}
|
|
119
146
|
};
|
|
120
147
|
this._deviceProvider.addObserver(this._deviceObserver);
|
|
121
|
-
this._dialogProvider.addInterceptor(
|
|
148
|
+
this._dialogProvider.addInterceptor(_type3.FcrDialogInterceptorEventName.ON_CLOSE, this._handleInterceptorCloseDialog);
|
|
149
|
+
this._dialogProvider.addObserver(this._dialogProviderObserver);
|
|
122
150
|
}
|
|
123
151
|
return (0, _createClass2["default"])(ConnectionGatewayStoreMainScene, [{
|
|
124
152
|
key: "phoneCallState",
|
|
@@ -182,22 +210,31 @@ var ConnectionGatewayStoreMainScene = exports["default"] = /*#__PURE__*/function
|
|
|
182
210
|
get: function get() {
|
|
183
211
|
return this._phoneAudioConnectorProvider.connectInfo;
|
|
184
212
|
}
|
|
213
|
+
}, {
|
|
214
|
+
key: "widgetConfigByContacts",
|
|
215
|
+
get: function get() {
|
|
216
|
+
var contacts = this._widgetProvider.supportedWidgetConfigs.find(function (widgetConfig) {
|
|
217
|
+
return widgetConfig.id === _type2.CONTACTS_WIDGET_ID;
|
|
218
|
+
});
|
|
219
|
+
return contacts;
|
|
220
|
+
}
|
|
185
221
|
}, {
|
|
186
222
|
key: "openAudioSettings",
|
|
187
223
|
value: function openAudioSettings() {
|
|
188
224
|
this._dialogProvider.openDialog(_constant.FcrUIDialogKey.SETTINGS), {
|
|
189
|
-
activeTab:
|
|
225
|
+
activeTab: _type4.DeviceSettingTab.AUDIO,
|
|
190
226
|
highlightSelector: _constant.FcrUIHighlightElement.AUDIO_MICROPHONE
|
|
191
227
|
};
|
|
192
228
|
this._sharedSettingDataSource.setDialogConfig({
|
|
193
|
-
activeTab:
|
|
229
|
+
activeTab: _type4.DeviceSettingTab.AUDIO,
|
|
194
230
|
highlightSelector: _constant.FcrUIHighlightElement.AUDIO_MICROPHONE
|
|
195
231
|
});
|
|
196
232
|
}
|
|
197
233
|
}, {
|
|
198
234
|
key: "release",
|
|
199
235
|
value: function release() {
|
|
200
|
-
this._dialogProvider.removeInterceptor(
|
|
236
|
+
this._dialogProvider.removeInterceptor(_type3.FcrDialogInterceptorEventName.ON_CLOSE, this._handleInterceptorCloseDialog);
|
|
237
|
+
this._dialogProvider.removeObserver(this._dialogProviderObserver);
|
|
201
238
|
this._disposers.forEach(function (disposer) {
|
|
202
239
|
return disposer();
|
|
203
240
|
});
|
|
@@ -309,7 +346,7 @@ var ConnectionGatewayStoreMainScene = exports["default"] = /*#__PURE__*/function
|
|
|
309
346
|
}]);
|
|
310
347
|
}();
|
|
311
348
|
_ConnectionGatewayStoreMainScene = ConnectionGatewayStoreMainScene;
|
|
312
|
-
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_ConnectionGatewayStoreMainScene, [[_mobx.observable, 1, "phoneCallState"], [_mobx.observable, 1, "phoneCallReason"], [_mobx.observable, 1, "connectSession"], [_mobx.observable, 1, "calling"], [_mobx.computed, 3, "connectType"], [_mobx.computed, 3, "hasNeedMergedStream"], [_mobx.computed, 3, "hasOwnPstnStream"], [_mobx.computed, 3, "outgoingCall"], [_mobx.computed, 3, "hasPstnStream"], [_mobx.computed, 3, "connectInfo"], [_decorator.bound, 2, "openAudioSettings"], [_decorator.bound, 2, "_handleInterceptorCloseDialog"], [_decorator.bound, 2, "joinAudioByComputer"], [_decorator.bound, 2, "stopAudioByComputer"], [_decorator.bound, 2, "openInviteDialog"]], []).e, 5);
|
|
349
|
+
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_ConnectionGatewayStoreMainScene, [[_mobx.observable, 1, "phoneCallState"], [_mobx.observable, 1, "phoneCallReason"], [_mobx.observable, 1, "connectSession"], [_mobx.observable, 1, "calling"], [_mobx.computed, 3, "connectType"], [_mobx.computed, 3, "hasNeedMergedStream"], [_mobx.computed, 3, "hasOwnPstnStream"], [_mobx.computed, 3, "outgoingCall"], [_mobx.computed, 3, "hasPstnStream"], [_mobx.computed, 3, "connectInfo"], [_mobx.computed, 3, "widgetConfigByContacts"], [_decorator.bound, 2, "openAudioSettings"], [_decorator.bound, 2, "_handleInterceptorCloseDialog"], [_decorator.bound, 2, "joinAudioByComputer"], [_decorator.bound, 2, "stopAudioByComputer"], [_decorator.bound, 2, "openInviteDialog"]], []).e, 5);
|
|
313
350
|
_init_phoneCallState = _applyDecs$e[0];
|
|
314
351
|
_init_phoneCallReason = _applyDecs$e[1];
|
|
315
352
|
_init_connectSession = _applyDecs$e[2];
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
.connector-phone-call_info {
|
|
2
|
-
color: var(--fcr_ui_scene_icontext1);
|
|
3
|
-
margin-top: 8px;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.connector-phone-call_info.disabled {
|
|
7
|
-
color: var(--fcr_ui_scene_icontext3);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.connector-phone-call_info .connector-phone-call_info-item:first-child {
|
|
11
|
-
margin-bottom: 11px;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.connector-phone-call_info-item {
|
|
15
|
-
height: 32px;
|
|
16
|
-
display: flex;
|
|
17
|
-
align-items: center;
|
|
18
|
-
font-size: 14px;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.connector-phone-call_info .fcr-select {
|
|
22
|
-
width: 180px;
|
|
23
|
-
border-color: var(--fcr_web_ui_scene_line4);
|
|
24
|
-
background: var(--fcr_ui_scene_input2);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.connector-phone-call_info-label {
|
|
28
|
-
width: 97px;
|
|
29
|
-
display: block;
|
|
30
|
-
text-align: right;
|
|
31
|
-
margin-right: 12px;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.connector-phone-call_info.disabled .fcr-select .fcr-select__selected {
|
|
35
|
-
color: var(--fcr_ui_scene_icontext3);
|
|
36
|
-
}
|
|
1
|
+
.connector-phone-call_info {
|
|
2
|
+
color: var(--fcr_ui_scene_icontext1);
|
|
3
|
+
margin-top: 8px;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.connector-phone-call_info.disabled {
|
|
7
|
+
color: var(--fcr_ui_scene_icontext3);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.connector-phone-call_info .connector-phone-call_info-item:first-child {
|
|
11
|
+
margin-bottom: 11px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.connector-phone-call_info-item {
|
|
15
|
+
height: 32px;
|
|
16
|
+
display: flex;
|
|
17
|
+
align-items: center;
|
|
18
|
+
font-size: 14px;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.connector-phone-call_info .fcr-select {
|
|
22
|
+
width: 180px;
|
|
23
|
+
border-color: var(--fcr_web_ui_scene_line4);
|
|
24
|
+
background: var(--fcr_ui_scene_input2);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.connector-phone-call_info-label {
|
|
28
|
+
width: 97px;
|
|
29
|
+
display: block;
|
|
30
|
+
text-align: right;
|
|
31
|
+
margin-right: 12px;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.connector-phone-call_info.disabled .fcr-select .fcr-select__selected {
|
|
35
|
+
color: var(--fcr_ui_scene_icontext3);
|
|
36
|
+
}
|
|
@@ -1,72 +1,72 @@
|
|
|
1
|
-
.connector-phone-connecting {
|
|
2
|
-
width: 305px;
|
|
3
|
-
height: 100px;
|
|
4
|
-
border-radius: var(--fcr_cornerradius_xl);
|
|
5
|
-
background: var(--fcr_ui_scene_ramp_green1);
|
|
6
|
-
display: flex;
|
|
7
|
-
align-items: center;
|
|
8
|
-
margin-bottom: 16px;
|
|
9
|
-
flex-shrink: 0;
|
|
10
|
-
}
|
|
11
|
-
.connector-phone-connecting_icon {
|
|
12
|
-
margin: 13px;
|
|
13
|
-
width: 84px;
|
|
14
|
-
height: 84px;
|
|
15
|
-
display: flex;
|
|
16
|
-
align-items: center;
|
|
17
|
-
justify-content: center;
|
|
18
|
-
}
|
|
19
|
-
.connector-phone-connecting_icon-calling {
|
|
20
|
-
width: 50px;
|
|
21
|
-
height: 50px;
|
|
22
|
-
background: var(--fcr_ui_scene_ramp_lightgreen6);
|
|
23
|
-
display: flex;
|
|
24
|
-
justify-content: center;
|
|
25
|
-
align-items: center;
|
|
26
|
-
border-radius: 50%;
|
|
27
|
-
}
|
|
28
|
-
.connector-phone-connecting_content {
|
|
29
|
-
display: flex;
|
|
30
|
-
flex-direction: column;
|
|
31
|
-
align-items: center;
|
|
32
|
-
flex: 1;
|
|
33
|
-
}
|
|
34
|
-
.connector-phone-connecting_region {
|
|
35
|
-
color: var(--fcr_ui_scene_icontext2);
|
|
36
|
-
font-size: 12px;
|
|
37
|
-
text-align: left;
|
|
38
|
-
display: block;
|
|
39
|
-
width: 129px;
|
|
40
|
-
}
|
|
41
|
-
.connector-phone-connecting_number {
|
|
42
|
-
font-size: 20px;
|
|
43
|
-
color: var(--fcr_ui_scene_icontext1);
|
|
44
|
-
font-weight: 900;
|
|
45
|
-
line-height: 1;
|
|
46
|
-
}
|
|
47
|
-
.connector-phone-connecting_action {
|
|
48
|
-
background: var(--fcr_ui_scene_ramp_green1);
|
|
49
|
-
color: var(--fcr_ui_scene_ramp_green6);
|
|
50
|
-
border-radius: var(--fcr_cornerradius_l);
|
|
51
|
-
font-size: 12px;
|
|
52
|
-
height: 22px;
|
|
53
|
-
line-height: 22px;
|
|
54
|
-
padding: 0 10px;
|
|
55
|
-
margin: 10px 0 10px;
|
|
56
|
-
}
|
|
57
|
-
.connector-phone-connecting.failure {
|
|
58
|
-
background: var(--fcr_ui_scene_ramp_red1);
|
|
59
|
-
}
|
|
60
|
-
.connector-phone-connecting.failure .connector-phone-connecting_action {
|
|
61
|
-
color: var(--fcr_ui_scene_ramp_red6);
|
|
62
|
-
background: var(--fcr_ui_scene_ramp_red1);
|
|
63
|
-
}
|
|
64
|
-
.connector-phone-connecting.failure .connector-phone-connecting_icon-failure {
|
|
65
|
-
background: var(--fcr_ui_scene_ramp_red6);
|
|
66
|
-
width: 50px;
|
|
67
|
-
height: 50px;
|
|
68
|
-
border-radius: 50%;
|
|
69
|
-
display: flex;
|
|
70
|
-
align-items: center;
|
|
71
|
-
justify-content: center;
|
|
72
|
-
}
|
|
1
|
+
.connector-phone-connecting {
|
|
2
|
+
width: 305px;
|
|
3
|
+
height: 100px;
|
|
4
|
+
border-radius: var(--fcr_cornerradius_xl);
|
|
5
|
+
background: var(--fcr_ui_scene_ramp_green1);
|
|
6
|
+
display: flex;
|
|
7
|
+
align-items: center;
|
|
8
|
+
margin-bottom: 16px;
|
|
9
|
+
flex-shrink: 0;
|
|
10
|
+
}
|
|
11
|
+
.connector-phone-connecting_icon {
|
|
12
|
+
margin: 13px;
|
|
13
|
+
width: 84px;
|
|
14
|
+
height: 84px;
|
|
15
|
+
display: flex;
|
|
16
|
+
align-items: center;
|
|
17
|
+
justify-content: center;
|
|
18
|
+
}
|
|
19
|
+
.connector-phone-connecting_icon-calling {
|
|
20
|
+
width: 50px;
|
|
21
|
+
height: 50px;
|
|
22
|
+
background: var(--fcr_ui_scene_ramp_lightgreen6);
|
|
23
|
+
display: flex;
|
|
24
|
+
justify-content: center;
|
|
25
|
+
align-items: center;
|
|
26
|
+
border-radius: 50%;
|
|
27
|
+
}
|
|
28
|
+
.connector-phone-connecting_content {
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
align-items: center;
|
|
32
|
+
flex: 1;
|
|
33
|
+
}
|
|
34
|
+
.connector-phone-connecting_region {
|
|
35
|
+
color: var(--fcr_ui_scene_icontext2);
|
|
36
|
+
font-size: 12px;
|
|
37
|
+
text-align: left;
|
|
38
|
+
display: block;
|
|
39
|
+
width: 129px;
|
|
40
|
+
}
|
|
41
|
+
.connector-phone-connecting_number {
|
|
42
|
+
font-size: 20px;
|
|
43
|
+
color: var(--fcr_ui_scene_icontext1);
|
|
44
|
+
font-weight: 900;
|
|
45
|
+
line-height: 1;
|
|
46
|
+
}
|
|
47
|
+
.connector-phone-connecting_action {
|
|
48
|
+
background: var(--fcr_ui_scene_ramp_green1);
|
|
49
|
+
color: var(--fcr_ui_scene_ramp_green6);
|
|
50
|
+
border-radius: var(--fcr_cornerradius_l);
|
|
51
|
+
font-size: 12px;
|
|
52
|
+
height: 22px;
|
|
53
|
+
line-height: 22px;
|
|
54
|
+
padding: 0 10px;
|
|
55
|
+
margin: 10px 0 10px;
|
|
56
|
+
}
|
|
57
|
+
.connector-phone-connecting.failure {
|
|
58
|
+
background: var(--fcr_ui_scene_ramp_red1);
|
|
59
|
+
}
|
|
60
|
+
.connector-phone-connecting.failure .connector-phone-connecting_action {
|
|
61
|
+
color: var(--fcr_ui_scene_ramp_red6);
|
|
62
|
+
background: var(--fcr_ui_scene_ramp_red1);
|
|
63
|
+
}
|
|
64
|
+
.connector-phone-connecting.failure .connector-phone-connecting_icon-failure {
|
|
65
|
+
background: var(--fcr_ui_scene_ramp_red6);
|
|
66
|
+
width: 50px;
|
|
67
|
+
height: 50px;
|
|
68
|
+
border-radius: 50%;
|
|
69
|
+
display: flex;
|
|
70
|
+
align-items: center;
|
|
71
|
+
justify-content: center;
|
|
72
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
.connector-phone_remember {
|
|
2
|
-
display: flex;
|
|
3
|
-
font-size: 12px;
|
|
4
|
-
align-items: center;
|
|
5
|
-
margin-bottom: 16px;
|
|
6
|
-
color: var(--fcr_ui_scene_icontext1);
|
|
7
|
-
}
|
|
8
|
-
.connector-phone_remember .fcr-checkbox {
|
|
9
|
-
margin-right: 4px;
|
|
10
|
-
}
|
|
1
|
+
.connector-phone_remember {
|
|
2
|
+
display: flex;
|
|
3
|
+
font-size: 12px;
|
|
4
|
+
align-items: center;
|
|
5
|
+
margin-bottom: 16px;
|
|
6
|
+
color: var(--fcr_ui_scene_icontext1);
|
|
7
|
+
}
|
|
8
|
+
.connector-phone_remember .fcr-checkbox {
|
|
9
|
+
margin-right: 4px;
|
|
10
|
+
}
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
.connector-phone-using {
|
|
2
|
-
width: 376px;
|
|
3
|
-
height: 128px;
|
|
4
|
-
display: flex;
|
|
5
|
-
justify-content: center;
|
|
6
|
-
align-items: center;
|
|
7
|
-
background: var(--fcr_ui_scene_ramp_green1);
|
|
8
|
-
border-radius: var(--fcr_cornerradius_l);
|
|
9
|
-
flex-direction: column;
|
|
10
|
-
margin-bottom: 20px;
|
|
11
|
-
margin-top: 11px;
|
|
12
|
-
flex-shrink: 0;
|
|
13
|
-
}
|
|
14
|
-
.connector-phone-using.outgoing-call {
|
|
15
|
-
width: 300px;
|
|
16
|
-
height: 100px;
|
|
17
|
-
}
|
|
18
|
-
.connector-phone-using_number {
|
|
19
|
-
color: var(--fcr_ui_scene_ramp_green6);
|
|
20
|
-
font-size: 20px;
|
|
21
|
-
font-weight: 900;
|
|
22
|
-
line-height: 1;
|
|
23
|
-
margin-bottom: 10px;
|
|
24
|
-
}
|
|
25
|
-
.connector-phone-using_icon-dot {
|
|
26
|
-
background: var(--fcr_ui_scene_white10);
|
|
27
|
-
display: inline-block;
|
|
28
|
-
width: 8px;
|
|
29
|
-
height: 8px;
|
|
30
|
-
margin-right: 5px;
|
|
31
|
-
border-radius: 50%;
|
|
32
|
-
}
|
|
33
|
-
.connector-phone-using_number sub.connector-phone-using_region {
|
|
34
|
-
font-size: 12px;
|
|
35
|
-
color: var(--fcr_ui_scene_icontext3);
|
|
36
|
-
font-weight: 500;
|
|
37
|
-
margin-right: 6px;
|
|
38
|
-
vertical-align: middle;
|
|
39
|
-
bottom: inherit;
|
|
40
|
-
}
|
|
41
|
-
.connector-phone-using_button {
|
|
42
|
-
background: var(--fcr_ui_scene_ramp_green6);
|
|
43
|
-
}
|
|
44
|
-
.connector-phone-using .connector-phone_remember {
|
|
45
|
-
margin: 0;
|
|
46
|
-
}
|
|
1
|
+
.connector-phone-using {
|
|
2
|
+
width: 376px;
|
|
3
|
+
height: 128px;
|
|
4
|
+
display: flex;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
align-items: center;
|
|
7
|
+
background: var(--fcr_ui_scene_ramp_green1);
|
|
8
|
+
border-radius: var(--fcr_cornerradius_l);
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
margin-bottom: 20px;
|
|
11
|
+
margin-top: 11px;
|
|
12
|
+
flex-shrink: 0;
|
|
13
|
+
}
|
|
14
|
+
.connector-phone-using.outgoing-call {
|
|
15
|
+
width: 300px;
|
|
16
|
+
height: 100px;
|
|
17
|
+
}
|
|
18
|
+
.connector-phone-using_number {
|
|
19
|
+
color: var(--fcr_ui_scene_ramp_green6);
|
|
20
|
+
font-size: 20px;
|
|
21
|
+
font-weight: 900;
|
|
22
|
+
line-height: 1;
|
|
23
|
+
margin-bottom: 10px;
|
|
24
|
+
}
|
|
25
|
+
.connector-phone-using_icon-dot {
|
|
26
|
+
background: var(--fcr_ui_scene_white10);
|
|
27
|
+
display: inline-block;
|
|
28
|
+
width: 8px;
|
|
29
|
+
height: 8px;
|
|
30
|
+
margin-right: 5px;
|
|
31
|
+
border-radius: 50%;
|
|
32
|
+
}
|
|
33
|
+
.connector-phone-using_number sub.connector-phone-using_region {
|
|
34
|
+
font-size: 12px;
|
|
35
|
+
color: var(--fcr_ui_scene_icontext3);
|
|
36
|
+
font-weight: 500;
|
|
37
|
+
margin-right: 6px;
|
|
38
|
+
vertical-align: middle;
|
|
39
|
+
bottom: inherit;
|
|
40
|
+
}
|
|
41
|
+
.connector-phone-using_button {
|
|
42
|
+
background: var(--fcr_ui_scene_ramp_green6);
|
|
43
|
+
}
|
|
44
|
+
.connector-phone-using .connector-phone_remember {
|
|
45
|
+
margin: 0;
|
|
46
|
+
}
|
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
.connector-phone {
|
|
2
|
-
width: 100%;
|
|
3
|
-
height: 450px;
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
align-items: center;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.connector-phone_inner {
|
|
10
|
-
display: flex;
|
|
11
|
-
flex-direction: column;
|
|
12
|
-
width: 260px;
|
|
13
|
-
align-items: center;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.connector-phone_selector {
|
|
17
|
-
margin-bottom: 20px;
|
|
18
|
-
height: 32px;
|
|
19
|
-
margin-top: 21px;
|
|
20
|
-
width: 100%;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.connector-phone_selector_errmsg {
|
|
24
|
-
color: var(--fcr_ui_scene_ramp_red6);
|
|
25
|
-
font-size: 12px;
|
|
26
|
-
text-align: right;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.connector-phone_selector .fcr-select {
|
|
30
|
-
margin-bottom: 20px;
|
|
31
|
-
border-color: var(--fcr_web_ui_scene_line4);
|
|
32
|
-
width: 260px;
|
|
33
|
-
background-color: var(--fcr_ui_scene_input2);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.connector-phone_callme-button {
|
|
37
|
-
background: var(--fcr_ui_scene_ramp_green6);
|
|
38
|
-
margin-bottom: 20px;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.connector-phone_hangup-button {
|
|
42
|
-
margin-bottom: 20px;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.connector-phone-alert {
|
|
46
|
-
background: var(--fcr_ui_scene_ramp_green1);
|
|
47
|
-
color: var(--fcr_ui_scene_ramp_green6);
|
|
48
|
-
border-radius: var(--fcr_cornerradius_l);
|
|
49
|
-
min-height: 40px;
|
|
50
|
-
line-height: 1.5;
|
|
51
|
-
width: 376px;
|
|
52
|
-
font-size: 13px;
|
|
53
|
-
text-align: center;
|
|
54
|
-
margin-bottom: 10px;
|
|
55
|
-
padding: 10px;
|
|
56
|
-
}
|
|
1
|
+
.connector-phone {
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 450px;
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
align-items: center;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.connector-phone_inner {
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
width: 260px;
|
|
13
|
+
align-items: center;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.connector-phone_selector {
|
|
17
|
+
margin-bottom: 20px;
|
|
18
|
+
height: 32px;
|
|
19
|
+
margin-top: 21px;
|
|
20
|
+
width: 100%;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.connector-phone_selector_errmsg {
|
|
24
|
+
color: var(--fcr_ui_scene_ramp_red6);
|
|
25
|
+
font-size: 12px;
|
|
26
|
+
text-align: right;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.connector-phone_selector .fcr-select {
|
|
30
|
+
margin-bottom: 20px;
|
|
31
|
+
border-color: var(--fcr_web_ui_scene_line4);
|
|
32
|
+
width: 260px;
|
|
33
|
+
background-color: var(--fcr_ui_scene_input2);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.connector-phone_callme-button {
|
|
37
|
+
background: var(--fcr_ui_scene_ramp_green6);
|
|
38
|
+
margin-bottom: 20px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.connector-phone_hangup-button {
|
|
42
|
+
margin-bottom: 20px;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.connector-phone-alert {
|
|
46
|
+
background: var(--fcr_ui_scene_ramp_green1);
|
|
47
|
+
color: var(--fcr_ui_scene_ramp_green6);
|
|
48
|
+
border-radius: var(--fcr_cornerradius_l);
|
|
49
|
+
min-height: 40px;
|
|
50
|
+
line-height: 1.5;
|
|
51
|
+
width: 376px;
|
|
52
|
+
font-size: 13px;
|
|
53
|
+
text-align: center;
|
|
54
|
+
margin-bottom: 10px;
|
|
55
|
+
padding: 10px;
|
|
56
|
+
}
|
|
@@ -470,13 +470,13 @@ var SecondaryWindowStore = exports.SecondaryWindowStore = /*#__PURE__*/function
|
|
|
470
470
|
// @ts-ignore
|
|
471
471
|
secondaryWindow.rendererWindow.FcrUIMainWindowRenderer = window.FcrUIMainWindowRenderer;
|
|
472
472
|
secondaryWindow.setPosition(x, y);
|
|
473
|
-
/**
|
|
474
|
-
* windows 系统下,窗口存在透明边框, 使用显示器工作区的宽高作为窗口的大小设置后,
|
|
475
|
-
* 窗口边缘与显示器屏幕边缘存在7像素(windows 不同版本的系统上, 可能存在差异)的空隙.
|
|
476
|
-
*
|
|
477
|
-
* 如果使用 maximumSize 来设置窗口的大小, 则不会存在窗口边缘的空隙问题.
|
|
478
|
-
* 但使用 maximumSize 设置窗口, 有时会导致窗口出现异常(窗口只显示顶部的标题栏, 内容区域透明, 且鼠标点击后直接穿透到窗口后的应用或桌面).
|
|
479
|
-
* setBounds 方法设置窗口大小和位置时, 也会出现此问题.
|
|
473
|
+
/**
|
|
474
|
+
* windows 系统下,窗口存在透明边框, 使用显示器工作区的宽高作为窗口的大小设置后,
|
|
475
|
+
* 窗口边缘与显示器屏幕边缘存在7像素(windows 不同版本的系统上, 可能存在差异)的空隙.
|
|
476
|
+
*
|
|
477
|
+
* 如果使用 maximumSize 来设置窗口的大小, 则不会存在窗口边缘的空隙问题.
|
|
478
|
+
* 但使用 maximumSize 设置窗口, 有时会导致窗口出现异常(窗口只显示顶部的标题栏, 内容区域透明, 且鼠标点击后直接穿透到窗口后的应用或桌面).
|
|
479
|
+
* setBounds 方法设置窗口大小和位置时, 也会出现此问题.
|
|
480
480
|
*/
|
|
481
481
|
secondaryWindow.setSize(width, height);
|
|
482
482
|
secondaryWindow.removeObserver(windowObserver);
|