fcr-ui-scene 3.9.0-alpha → 3.9.1-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/creator/provider-initializer.browser.js +4 -2
- package/lib/creator/provider-initializer.electron.js +13 -5
- package/lib/electron/injections.d.ts +1 -0
- package/lib/electron/injections.js +4 -1
- package/lib/electron/preload.js +1 -0
- package/lib/fragments/annotation/style.css +1 -0
- package/lib/fragments/whiteboard/style.css +4 -0
- package/lib/modules/action-bar/main-scene/store.base.d.ts +1 -0
- package/lib/modules/action-bar/main-scene/store.base.js +5 -0
- package/lib/modules/audio-stream/index.d.ts +2 -0
- package/lib/modules/audio-stream/index.js +33 -1
- package/lib/modules/chat/chat-room-store.js +4 -2
- package/lib/modules/chat/index.js +1 -1
- package/lib/modules/chat/store.d.ts +1 -1
- package/lib/modules/chat/store.js +4 -2
- package/lib/modules/components/device-control/store.base.d.ts +1 -0
- package/lib/modules/components/device-control/store.base.js +22 -3
- package/lib/modules/components/leave-meeting/index.js +3 -2
- package/lib/modules/components/leave-meeting/main-scene/store.d.ts +1 -0
- package/lib/modules/components/leave-meeting/main-scene/store.js +6 -1
- package/lib/modules/components/leave-meeting/store.base.d.ts +1 -0
- package/lib/modules/components/leave-meeting/store.base.js +1 -1
- package/lib/modules/components/leave-meeting/waiting-scene/store.d.ts +1 -0
- package/lib/modules/components/leave-meeting/waiting-scene/store.js +6 -1
- package/lib/modules/components/member-window/components/member-actions/components/icon-status.js +7 -10
- package/lib/modules/components/member-window/components/member-actions/components/more-actions.js +2 -2
- package/lib/modules/components/member-window/components/member-actions/index.js +0 -7
- package/lib/modules/components/member-window/components/member-actions/store.js +1 -1
- package/lib/modules/components/member-window/index.js +1 -1
- package/lib/modules/components/tab-frame/index.css +12 -1
- package/lib/modules/components/tab-frame/index.js +4 -1
- package/lib/modules/control-bar/components/share-state-nav/index.js +1 -3
- package/lib/modules/control-bar/mouse-event-bridge.d.ts +23 -0
- package/lib/modules/control-bar/mouse-event-bridge.js +87 -0
- package/lib/modules/control-bar/store.d.ts +3 -2
- package/lib/modules/control-bar/store.js +17 -29
- package/lib/modules/control-bar/type.d.ts +0 -1
- package/lib/modules/control-bar/view.js +21 -17
- package/lib/modules/dialog/dialogs/connection-gateway/tabs.js +3 -2
- package/lib/modules/dialog/dialogs/invite/index.js +6 -24
- package/lib/modules/invite/components/copy-info.css +72 -0
- package/lib/modules/invite/components/copy-info.d.ts +3 -0
- package/lib/modules/invite/components/copy-info.js +144 -0
- package/lib/modules/invite/components/pstn-invite.js +3 -15
- package/lib/modules/invite/components/voip-invite.js +10 -1
- package/lib/modules/invite/enums.d.ts +3 -1
- package/lib/modules/invite/enums.js +2 -0
- package/lib/modules/invite/store.d.ts +4 -1
- package/lib/modules/invite/store.js +37 -13
- package/lib/modules/invite/view.js +41 -20
- package/lib/modules/layout/store.base.d.ts +2 -1
- package/lib/modules/layout/store.base.js +20 -23
- package/lib/modules/participant/components/confirm-input/index.css +67 -1
- package/lib/modules/participant/components/confirm-input/index.js +16 -13
- package/lib/modules/participant/components/participants/components/render-user/components/attendee/index.css +4 -0
- package/lib/modules/participant/store.base.d.ts +1 -0
- package/lib/modules/participant/store.base.js +34 -7
- package/lib/modules/pc-audio-connect/main-scene/store.d.ts +2 -0
- package/lib/modules/pc-audio-connect/main-scene/store.js +12 -2
- package/lib/modules/pc-audio-connect/view.js +4 -2
- package/lib/modules/phone-audio-connect/store.d.ts +6 -4
- package/lib/modules/phone-audio-connect/store.js +12 -1
- package/lib/modules/phone-audio-connect/view.js +6 -4
- package/lib/modules/secondary-window/index.js +2 -2
- package/lib/modules/secondary-window/store.d.ts +3 -0
- package/lib/modules/secondary-window/store.js +16 -1
- package/lib/modules/secondary-window/view.js +96 -72
- package/lib/modules/toast-manager/type.d.ts +2 -1
- package/lib/modules/toast-manager/type.js +4 -1
- package/lib/plugins/module-dev-plugin.js +4 -4
- package/lib/providers/ability-provider.d.ts +15 -0
- package/lib/providers/ability-provider.js +13 -1
- package/lib/providers/mouse-detect/provider.d.ts +2 -0
- package/lib/providers/mouse-detect/provider.empty.d.ts +14 -0
- package/lib/providers/mouse-detect/provider.empty.js +47 -0
- package/lib/providers/mouse-detect/provider.js +13 -4
- package/lib/providers/mouse-detect/type.d.ts +2 -0
- package/lib/providers/phone-audio-provider.d.ts +31 -5
- package/lib/providers/phone-audio-provider.js +83 -22
- package/lib/providers/user-audio-volume-provider.d.ts +6 -0
- package/lib/providers/user-audio-volume-provider.js +3 -2
- package/lib/runtime.d.ts +1 -0
- package/lib/scenes/main-scene.js +2 -1
- package/lib/shared-data/chat-data.d.ts +19 -0
- package/lib/shared-data/chat-data.js +54 -7
- package/lib/shared-data/member-data.d.ts +9 -1
- package/lib/shared-data/member-data.js +46 -17
- package/lib/shared-data/video-window.js +8 -4
- package/lib/translations/enUS.d.ts +245 -1
- package/lib/translations/enUS.js +247 -3
- package/lib/translations/zhCN.d.ts +245 -1
- package/lib/translations/zhCN.js +246 -2
- package/lib/utilities/os.d.ts +1 -0
- package/lib/utilities/os.js +15 -0
- package/lib/utilities/renderer.d.ts +1 -0
- package/lib/utilities/renderer.js +7 -1
- package/lib-es/creator/provider-initializer.browser.js +4 -2
- package/lib-es/creator/provider-initializer.electron.js +11 -3
- package/lib-es/electron/injections.js +3 -0
- package/lib-es/electron/preload.js +2 -1
- package/lib-es/fragments/annotation/style.css +1 -0
- package/lib-es/fragments/whiteboard/style.css +4 -0
- package/lib-es/modules/action-bar/main-scene/store.base.js +5 -0
- package/lib-es/modules/audio-stream/index.js +33 -1
- package/lib-es/modules/chat/chat-room-store.js +4 -2
- package/lib-es/modules/chat/index.js +1 -1
- package/lib-es/modules/chat/store.js +4 -2
- package/lib-es/modules/components/device-control/store.base.js +22 -3
- package/lib-es/modules/components/leave-meeting/index.js +3 -2
- package/lib-es/modules/components/leave-meeting/main-scene/store.js +6 -1
- package/lib-es/modules/components/leave-meeting/store.base.js +1 -1
- package/lib-es/modules/components/leave-meeting/waiting-scene/store.js +6 -1
- package/lib-es/modules/components/member-window/components/member-actions/components/icon-status.js +7 -10
- package/lib-es/modules/components/member-window/components/member-actions/components/more-actions.js +2 -2
- package/lib-es/modules/components/member-window/components/member-actions/index.js +0 -7
- package/lib-es/modules/components/member-window/components/member-actions/store.js +1 -1
- package/lib-es/modules/components/member-window/index.js +1 -1
- package/lib-es/modules/components/tab-frame/index.css +12 -1
- package/lib-es/modules/components/tab-frame/index.js +4 -1
- package/lib-es/modules/control-bar/components/share-state-nav/index.js +1 -3
- package/lib-es/modules/control-bar/mouse-event-bridge.js +79 -0
- package/lib-es/modules/control-bar/store.js +18 -30
- package/lib-es/modules/control-bar/view.js +21 -17
- package/lib-es/modules/dialog/dialogs/connection-gateway/tabs.js +3 -2
- package/lib-es/modules/dialog/dialogs/invite/index.js +6 -24
- package/lib-es/modules/invite/components/copy-info.css +72 -0
- package/lib-es/modules/invite/components/copy-info.js +137 -0
- package/lib-es/modules/invite/components/pstn-invite.js +3 -15
- package/lib-es/modules/invite/components/voip-invite.js +10 -1
- package/lib-es/modules/invite/enums.js +2 -0
- package/lib-es/modules/invite/store.js +38 -14
- package/lib-es/modules/invite/view.js +43 -22
- package/lib-es/modules/layout/store.base.js +20 -23
- package/lib-es/modules/participant/components/confirm-input/index.css +67 -1
- package/lib-es/modules/participant/components/confirm-input/index.js +16 -13
- package/lib-es/modules/participant/components/participants/components/render-user/components/attendee/index.css +4 -0
- package/lib-es/modules/participant/store.base.js +34 -7
- package/lib-es/modules/pc-audio-connect/main-scene/store.js +12 -2
- package/lib-es/modules/pc-audio-connect/view.js +4 -2
- package/lib-es/modules/phone-audio-connect/store.js +12 -1
- package/lib-es/modules/phone-audio-connect/view.js +6 -4
- package/lib-es/modules/secondary-window/index.js +2 -2
- package/lib-es/modules/secondary-window/store.js +16 -1
- package/lib-es/modules/secondary-window/view.js +97 -73
- package/lib-es/modules/toast-manager/type.js +4 -1
- package/lib-es/plugins/module-dev-plugin.js +4 -4
- package/lib-es/providers/ability-provider.js +13 -1
- package/lib-es/providers/mouse-detect/provider.empty.js +39 -0
- package/lib-es/providers/mouse-detect/provider.js +13 -4
- package/lib-es/providers/phone-audio-provider.js +109 -48
- package/lib-es/providers/user-audio-volume-provider.js +3 -2
- package/lib-es/scenes/main-scene.js +3 -2
- package/lib-es/shared-data/chat-data.js +55 -8
- package/lib-es/shared-data/member-data.js +46 -17
- package/lib-es/shared-data/video-window.js +8 -4
- package/lib-es/translations/enUS.js +247 -3
- package/lib-es/translations/zhCN.js +246 -2
- package/lib-es/utilities/os.js +8 -0
- package/lib-es/utilities/renderer.js +7 -1
- package/lib-es/utilities/shared-storage.js +2 -2
- package/package.json +6 -6
- package/lib/modules/connection-gateway/components/computer/index.css +0 -12
- package/lib/modules/connection-gateway/components/computer/index.d.ts +0 -3
- package/lib/modules/connection-gateway/components/computer/index.js +0 -66
- package/lib/modules/connection-gateway/components/phone/components/callinfo/index.css +0 -36
- package/lib/modules/connection-gateway/components/phone/components/callinfo/index.d.ts +0 -10
- package/lib/modules/connection-gateway/components/phone/components/callinfo/index.js +0 -78
- package/lib/modules/connection-gateway/components/phone/components/calling/index.css +0 -72
- package/lib/modules/connection-gateway/components/phone/components/calling/index.d.ts +0 -7
- package/lib/modules/connection-gateway/components/phone/components/calling/index.js +0 -58
- package/lib/modules/connection-gateway/components/phone/components/remeber/index.css +0 -10
- package/lib/modules/connection-gateway/components/phone/components/remeber/index.d.ts +0 -5
- package/lib/modules/connection-gateway/components/phone/components/remeber/index.js +0 -24
- package/lib/modules/connection-gateway/components/phone/components/useing/index.css +0 -46
- package/lib/modules/connection-gateway/components/phone/components/useing/index.d.ts +0 -3
- package/lib/modules/connection-gateway/components/phone/components/useing/index.js +0 -36
- package/lib/modules/connection-gateway/components/phone/index.css +0 -49
- package/lib/modules/connection-gateway/components/phone/index.d.ts +0 -3
- package/lib/modules/connection-gateway/components/phone/index.js +0 -185
- package/lib/modules/connection-gateway/enums.d.ts +0 -4
- package/lib/modules/connection-gateway/enums.js +0 -12
- package/lib/modules/connection-gateway/index.css +0 -6
- package/lib/modules/connection-gateway/index.d.ts +0 -10
- package/lib/modules/connection-gateway/index.js +0 -78
- package/lib/modules/connection-gateway/store.d.ts +0 -68
- package/lib/modules/connection-gateway/store.js +0 -713
- package/lib/modules/connection-gateway/types.d.ts +0 -8
- package/lib/modules/connection-gateway/types.js +0 -6
- package/lib/modules/connection-gateway/view.d.ts +0 -1
- package/lib/modules/connection-gateway/view.js +0 -39
- package/lib-es/modules/connection-gateway/components/computer/index.css +0 -12
- package/lib-es/modules/connection-gateway/components/computer/index.js +0 -59
- package/lib-es/modules/connection-gateway/components/phone/components/callinfo/index.css +0 -36
- package/lib-es/modules/connection-gateway/components/phone/components/callinfo/index.js +0 -71
- package/lib-es/modules/connection-gateway/components/phone/components/calling/index.css +0 -72
- package/lib-es/modules/connection-gateway/components/phone/components/calling/index.js +0 -51
- package/lib-es/modules/connection-gateway/components/phone/components/remeber/index.css +0 -10
- package/lib-es/modules/connection-gateway/components/phone/components/remeber/index.js +0 -17
- package/lib-es/modules/connection-gateway/components/phone/components/useing/index.css +0 -46
- package/lib-es/modules/connection-gateway/components/phone/components/useing/index.js +0 -29
- package/lib-es/modules/connection-gateway/components/phone/index.css +0 -49
- package/lib-es/modules/connection-gateway/components/phone/index.js +0 -177
- package/lib-es/modules/connection-gateway/enums.js +0 -5
- package/lib-es/modules/connection-gateway/index.css +0 -6
- package/lib-es/modules/connection-gateway/index.js +0 -60
- package/lib-es/modules/connection-gateway/store.js +0 -707
- package/lib-es/modules/connection-gateway/types.js +0 -1
- package/lib-es/modules/connection-gateway/view.js +0 -31
|
@@ -396,6 +396,12 @@ export var FcrUIRendererWrapper = /*#__PURE__*/function () {
|
|
|
396
396
|
this._checkRuntime();
|
|
397
397
|
return runtime.getSystemMemorySize();
|
|
398
398
|
}
|
|
399
|
+
}, {
|
|
400
|
+
key: "getSystemVersion",
|
|
401
|
+
value: function getSystemVersion() {
|
|
402
|
+
this._checkRuntime();
|
|
403
|
+
return runtime.getSystemVersion();
|
|
404
|
+
}
|
|
399
405
|
}, {
|
|
400
406
|
key: "setFragmentOptions",
|
|
401
407
|
value: function setFragmentOptions(entryPath, windowOptions, webPreferences) {
|
|
@@ -430,7 +436,7 @@ export var FcrUIRendererWrapper = /*#__PURE__*/function () {
|
|
|
430
436
|
}]);
|
|
431
437
|
}();
|
|
432
438
|
_FcrUIRendererWrapper = FcrUIRendererWrapper;
|
|
433
|
-
var _applyDecs$e = _applyDecs(_FcrUIRendererWrapper, [[trace, 2, "addEventListener"], [trace, 2, "removeEventListener"], [trace, 2, "removeAllEventListener"], [trace, 2, "sendEvent"], [trace, 2, "openLinkInDefaultBrowser"], [trace, 2, "getMediaSourcesIdByTitle"], [trace, 2, "open"], [trace, 2, "close"], [trace, 2, "handleWillClose"], [trace, 2, "setInMeetingState"], [trace, 2, "setMainWindowDisplaySupport"], [trace, 2, "release"], [trace, 2, "initialize"], [trace, 2, "restartApp"], [trace, 2, "quitApp"], [trace, 2, "getDisplayMatching"], [trace, 2, "setUserSettingData"], [trace, 2, "getUserSettingData"], [trace, 2, "getAllDisplays"], [trace, 2, "checkMediaPermission"], [trace, 2, "openSystemPreferences"], [trace, 2, "captureScreen"], [trace, 2, "getDisplayNearestPoint"], [trace, 2, "fileToBlob"], [trace, 2, "downloadAndExtractResourceFileFromZip"], [trace, 2, "downloadResourceFile"], [trace, 2, "loadBuiltinResources"], [trace, 2, "openDirectory"], [trace, 2, "showItemInFolder"], [trace, 2, "openRendererWindow"], [trace, 2, "getBaseUrl"], [trace, 2, "getWindowInfoList"], [trace, 2, "getNetworkType"], [trace, 2, "getSystemCpuInfo"], [trace, 2, "getSystemMemorySize"], [trace, 2, "setFragmentOptions"], [trace, 2, "getCurrentBrowserWindow"], [trace, 2, "createWindowProxy"], [trace, 2, "getBrowserWindowById"]], []).e;
|
|
439
|
+
var _applyDecs$e = _applyDecs(_FcrUIRendererWrapper, [[trace, 2, "addEventListener"], [trace, 2, "removeEventListener"], [trace, 2, "removeAllEventListener"], [trace, 2, "sendEvent"], [trace, 2, "openLinkInDefaultBrowser"], [trace, 2, "getMediaSourcesIdByTitle"], [trace, 2, "open"], [trace, 2, "close"], [trace, 2, "handleWillClose"], [trace, 2, "setInMeetingState"], [trace, 2, "setMainWindowDisplaySupport"], [trace, 2, "release"], [trace, 2, "initialize"], [trace, 2, "restartApp"], [trace, 2, "quitApp"], [trace, 2, "getDisplayMatching"], [trace, 2, "setUserSettingData"], [trace, 2, "getUserSettingData"], [trace, 2, "getAllDisplays"], [trace, 2, "checkMediaPermission"], [trace, 2, "openSystemPreferences"], [trace, 2, "captureScreen"], [trace, 2, "getDisplayNearestPoint"], [trace, 2, "fileToBlob"], [trace, 2, "downloadAndExtractResourceFileFromZip"], [trace, 2, "downloadResourceFile"], [trace, 2, "loadBuiltinResources"], [trace, 2, "openDirectory"], [trace, 2, "showItemInFolder"], [trace, 2, "openRendererWindow"], [trace, 2, "getBaseUrl"], [trace, 2, "getWindowInfoList"], [trace, 2, "getNetworkType"], [trace, 2, "getSystemCpuInfo"], [trace, 2, "getSystemMemorySize"], [trace, 2, "getSystemVersion"], [trace, 2, "setFragmentOptions"], [trace, 2, "getCurrentBrowserWindow"], [trace, 2, "createWindowProxy"], [trace, 2, "getBrowserWindowById"]], []).e;
|
|
434
440
|
var _applyDecs$e2 = _slicedToArray(_applyDecs$e, 1);
|
|
435
441
|
_initProto = _applyDecs$e2[0];
|
|
436
442
|
_applyDecs$e;
|
|
@@ -3,7 +3,6 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
3
3
|
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) { _defineProperty(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; }
|
|
4
4
|
import "core-js/modules/es.date.to-json.js";
|
|
5
5
|
import "core-js/modules/es.json.stringify.js";
|
|
6
|
-
import "core-js/modules/es.object.keys.js";
|
|
7
6
|
import "core-js/modules/es.symbol.js";
|
|
8
7
|
import "core-js/modules/es.array.filter.js";
|
|
9
8
|
import "core-js/modules/es.array.for-each.js";
|
|
@@ -12,12 +11,13 @@ import "core-js/modules/es.object.define-properties.js";
|
|
|
12
11
|
import "core-js/modules/es.object.define-property.js";
|
|
13
12
|
import "core-js/modules/es.object.get-own-property-descriptor.js";
|
|
14
13
|
import "core-js/modules/es.object.get-own-property-descriptors.js";
|
|
14
|
+
import "core-js/modules/es.object.keys.js";
|
|
15
15
|
import "core-js/modules/es.object.to-string.js";
|
|
16
16
|
import "core-js/modules/esnext.iterator.constructor.js";
|
|
17
17
|
import "core-js/modules/esnext.iterator.filter.js";
|
|
18
18
|
import "core-js/modules/esnext.iterator.for-each.js";
|
|
19
|
-
import "core-js/modules/esnext.json.parse.js";
|
|
20
19
|
import "core-js/modules/web.dom-collections.for-each.js";
|
|
20
|
+
import "core-js/modules/esnext.json.parse.js";
|
|
21
21
|
/**
|
|
22
22
|
* This file is for managing shared storage utilities.
|
|
23
23
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fcr-ui-scene",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.1-alpha",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"repository": "ssh://git@git.agoralab.co/aduc/fcr-ui-scene-desktop.git",
|
|
6
6
|
"author": "agora.io",
|
|
@@ -31,14 +31,14 @@
|
|
|
31
31
|
"@react-spring/web": "^9.7.3",
|
|
32
32
|
"@use-gesture/react": "^10.3.1",
|
|
33
33
|
"agora-electron-sdk": "4.3.2-build.167-rc.2",
|
|
34
|
-
"agora-foundation": "3.9.
|
|
35
|
-
"agora-ui-foundation": "3.9.
|
|
34
|
+
"agora-foundation": "^3.9.1-alpha",
|
|
35
|
+
"agora-ui-foundation": "^3.9.1-alpha",
|
|
36
36
|
"classnames": "^2.5.1",
|
|
37
37
|
"core-js": "^3.33.3",
|
|
38
38
|
"dayjs": "^1.10.4",
|
|
39
39
|
"electron-screenshots": "^0.5.26",
|
|
40
|
-
"fcr-core": "3.9.
|
|
41
|
-
"fcr-ui-widget-sdk": "3.9.
|
|
40
|
+
"fcr-core": "^3.9.1-alpha",
|
|
41
|
+
"fcr-ui-widget-sdk": "^3.9.1-alpha",
|
|
42
42
|
"js-md5": "^0.8.3",
|
|
43
43
|
"jszip": "^3.10.1",
|
|
44
44
|
"lodash": "^4.17.21",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"@types/react-dom": "^17.0.11",
|
|
70
70
|
"@types/react-virtualized": "^9.21.30",
|
|
71
71
|
"@types/tinycolor2": "^1.4.6",
|
|
72
|
-
"agora-toolchain": "3.9.
|
|
72
|
+
"agora-toolchain": "^3.9.1-alpha",
|
|
73
73
|
"core-js": "^3.33.3",
|
|
74
74
|
"electron": "22.3.27",
|
|
75
75
|
"husky": "^9.0.11",
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
require("core-js/modules/es.object.define-property.js");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports["default"] = void 0;
|
|
8
|
-
var _button = require("agora-ui-foundation/lib/components/button");
|
|
9
|
-
var _tooltip = require("agora-ui-foundation/lib/components/tooltip");
|
|
10
|
-
var _mobxReact = require("mobx-react");
|
|
11
|
-
var _react = require("react");
|
|
12
|
-
var _store = require("../../store");
|
|
13
|
-
require("./index.css");
|
|
14
|
-
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
15
|
-
var _type = require("../../../../type");
|
|
16
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
17
|
-
var ConnectFromComputer = (0, _mobxReact.observer)(function () {
|
|
18
|
-
var _useContext = (0, _react.useContext)(_store.StoreContext),
|
|
19
|
-
openAudioSettings = _useContext.openAudioSettings,
|
|
20
|
-
hasPstnStream = _useContext.hasPstnStream,
|
|
21
|
-
connectInfo = _useContext.connectInfo,
|
|
22
|
-
outgoingCall = _useContext.outgoingCall,
|
|
23
|
-
hasOwnPstnStream = _useContext.hasOwnPstnStream,
|
|
24
|
-
hasNeedMergedStream = _useContext.hasNeedMergedStream,
|
|
25
|
-
joinAudioByComputer = _useContext.joinAudioByComputer,
|
|
26
|
-
stopAudioByComputer = _useContext.stopAudioByComputer,
|
|
27
|
-
connectType = _useContext.connectType;
|
|
28
|
-
var transI18n = (0, _i18n.useI18n)();
|
|
29
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
30
|
-
className: "connector-computer",
|
|
31
|
-
children: [connectType === _type.FcrUIConnectType.NONE && /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.FcrButton, {
|
|
32
|
-
size: "XS",
|
|
33
|
-
block: true,
|
|
34
|
-
className: "var(--fcrcornerradiusround) fcr_ui_scene_ramp_brand6",
|
|
35
|
-
onClick: joinAudioByComputer,
|
|
36
|
-
children: transI18n('fmt_pstn_label_accessmethodPC')
|
|
37
|
-
}), hasPstnStream && !outgoingCall && !hasOwnPstnStream && hasNeedMergedStream && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
38
|
-
className: "connector-phone-alert",
|
|
39
|
-
children: transI18n('fmt_pstn_label_alreadyin', {
|
|
40
|
-
reason1: connectInfo === null || connectInfo === void 0 ? void 0 : connectInfo.phoneUserId
|
|
41
|
-
})
|
|
42
|
-
}), connectType === _type.FcrUIConnectType.COMPUTER && /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.FcrButton, {
|
|
43
|
-
size: "XS",
|
|
44
|
-
styleType: "danger",
|
|
45
|
-
block: true,
|
|
46
|
-
className: "var(--fcrcornerradiusround)",
|
|
47
|
-
onClick: stopAudioByComputer,
|
|
48
|
-
children: transI18n('fmt_pstn_button_PCaudiostop')
|
|
49
|
-
}), connectType === _type.FcrUIConnectType.PHONE && hasOwnPstnStream && /*#__PURE__*/(0, _jsxRuntime.jsx)(_tooltip.FcrToolTip, {
|
|
50
|
-
content: transI18n('fmt_pstn_tips_alreadyphone'),
|
|
51
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.FcrButton, {
|
|
52
|
-
size: "XS",
|
|
53
|
-
block: true,
|
|
54
|
-
type: "secondary-bordered",
|
|
55
|
-
children: transI18n('fmt_pstn_status_unconnectted')
|
|
56
|
-
})
|
|
57
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.FcrButton, {
|
|
58
|
-
size: "XS",
|
|
59
|
-
block: true,
|
|
60
|
-
type: "link",
|
|
61
|
-
onClick: openAudioSettings,
|
|
62
|
-
children: transI18n('fmt_pstn_button_devicetest')
|
|
63
|
-
})]
|
|
64
|
-
});
|
|
65
|
-
});
|
|
66
|
-
var _default = exports["default"] = ConnectFromComputer;
|
|
@@ -1,36 +0,0 @@
|
|
|
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,10 +0,0 @@
|
|
|
1
|
-
import { FcrRoomConnectorPhoneInfo } from 'fcr-core/lib/room-control/room-connector-control/type';
|
|
2
|
-
import './index.css';
|
|
3
|
-
import { ConnectorRegion } from '../../../../enums';
|
|
4
|
-
declare function ConnectionInfo(props: {
|
|
5
|
-
disabled?: boolean;
|
|
6
|
-
onChange: (value: string) => void;
|
|
7
|
-
value: ConnectorRegion;
|
|
8
|
-
info: FcrRoomConnectorPhoneInfo;
|
|
9
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export default ConnectionInfo;
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
require("core-js/modules/es.object.define-property.js");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports["default"] = void 0;
|
|
8
|
-
require("core-js/modules/es.array.map.js");
|
|
9
|
-
require("core-js/modules/es.array.slice.js");
|
|
10
|
-
require("core-js/modules/es.object.to-string.js");
|
|
11
|
-
require("core-js/modules/esnext.iterator.constructor.js");
|
|
12
|
-
require("core-js/modules/esnext.iterator.map.js");
|
|
13
|
-
var _select = require("agora-ui-foundation/lib/components/select");
|
|
14
|
-
require("./index.css");
|
|
15
|
-
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
16
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
17
|
-
function ConnectionInfo(props) {
|
|
18
|
-
var _info$phoneNumberList;
|
|
19
|
-
var disabled = props.disabled,
|
|
20
|
-
value = props.value,
|
|
21
|
-
onChange = props.onChange,
|
|
22
|
-
info = props.info;
|
|
23
|
-
var transI18n = (0, _i18n.useI18n)();
|
|
24
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
25
|
-
className: "connector-phone_inner",
|
|
26
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("ul", {
|
|
27
|
-
className: "connector-phone-call_info ".concat(disabled && 'disabled'),
|
|
28
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("li", {
|
|
29
|
-
className: "connector-phone-call_info-item",
|
|
30
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
|
|
31
|
-
className: "connector-phone-call_info-label",
|
|
32
|
-
children: transI18n('fmt_pstn_label_countryregion')
|
|
33
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
34
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_select.FcrSelect, {
|
|
35
|
-
disabled: disabled,
|
|
36
|
-
size: "small",
|
|
37
|
-
value: String(value),
|
|
38
|
-
options: [{
|
|
39
|
-
text: transI18n('fmt_PSTN_status_china'),
|
|
40
|
-
value: '1'
|
|
41
|
-
}, {
|
|
42
|
-
text: transI18n('fmt_PSTN_status_usa'),
|
|
43
|
-
value: '2'
|
|
44
|
-
}],
|
|
45
|
-
onChange: onChange
|
|
46
|
-
})
|
|
47
|
-
})]
|
|
48
|
-
}), info === null || info === void 0 || (_info$phoneNumberList = info.phoneNumberList) === null || _info$phoneNumberList === void 0 ? void 0 : _info$phoneNumberList.map(function (phoneNumber, index) {
|
|
49
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("li", {
|
|
50
|
-
className: "connector-phone-call_info-item",
|
|
51
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
|
|
52
|
-
className: "connector-phone-call_info-label",
|
|
53
|
-
children: index === 0 ? transI18n('fmt_pstn_label_dial') : ''
|
|
54
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
55
|
-
children: ["+86 (", phoneNumber[0], ") ", phoneNumber.slice(1)]
|
|
56
|
-
})]
|
|
57
|
-
}, phoneNumber);
|
|
58
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("li", {
|
|
59
|
-
className: "connector-phone-call_info-item",
|
|
60
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
|
|
61
|
-
className: "connector-phone-call_info-label",
|
|
62
|
-
children: transI18n('fmt_pstn_label_meetingid')
|
|
63
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
64
|
-
children: (info === null || info === void 0 ? void 0 : info.phoneRoomId) || '-'
|
|
65
|
-
})]
|
|
66
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("li", {
|
|
67
|
-
className: "connector-phone-call_info-item",
|
|
68
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
|
|
69
|
-
className: "connector-phone-call_info-label",
|
|
70
|
-
children: transI18n('fmt_pstn_label_participantid')
|
|
71
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
72
|
-
children: ["#", (info === null || info === void 0 ? void 0 : info.phoneUserId) || '-', "#"]
|
|
73
|
-
})]
|
|
74
|
-
})]
|
|
75
|
-
})
|
|
76
|
-
});
|
|
77
|
-
}
|
|
78
|
-
var _default = exports["default"] = ConnectionInfo;
|
|
@@ -1,72 +0,0 @@
|
|
|
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,58 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
require("core-js/modules/es.object.define-property.js");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.CallingPhone = void 0;
|
|
8
|
-
var _actionPhone = require("agora-ui-foundation/lib/components/action-phone");
|
|
9
|
-
require("./index.css");
|
|
10
|
-
var _icon = require("agora-ui-foundation/lib/components/icon");
|
|
11
|
-
var _type = require("agora-ui-foundation/lib/components/icon/type");
|
|
12
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
|
-
var CallingPhone = exports.CallingPhone = function CallingPhone(props) {
|
|
14
|
-
var failure = props.failure,
|
|
15
|
-
number = props.number,
|
|
16
|
-
region = props.region,
|
|
17
|
-
reason = props.reason;
|
|
18
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
19
|
-
className: "connector-phone-connecting ".concat(failure ? 'failure' : ''),
|
|
20
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
21
|
-
className: "connector-phone-connecting_icon",
|
|
22
|
-
children: failure ? /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
23
|
-
className: "connector-phone-connecting_icon-failure",
|
|
24
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
|
|
25
|
-
type: _type.FcrIconType.FCR_PHONECALL3,
|
|
26
|
-
size: 32,
|
|
27
|
-
colors: {
|
|
28
|
-
iconPrimary: 'var(--fcr_ui_scene_white10)'
|
|
29
|
-
}
|
|
30
|
-
})
|
|
31
|
-
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_actionPhone.FcrActionPhone, {
|
|
32
|
-
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
33
|
-
className: "connector-phone-connecting_icon-calling",
|
|
34
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
|
|
35
|
-
type: _type.FcrIconType.FCR_PHONECALL3,
|
|
36
|
-
colors: {
|
|
37
|
-
iconPrimary: 'var(--fcr_ui_scene_white10)'
|
|
38
|
-
},
|
|
39
|
-
size: 32
|
|
40
|
-
})
|
|
41
|
-
}),
|
|
42
|
-
size: "medium"
|
|
43
|
-
})
|
|
44
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
45
|
-
className: "connector-phone-connecting_content",
|
|
46
|
-
children: [region && /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
47
|
-
className: "connector-phone-connecting_region",
|
|
48
|
-
children: region || '+86'
|
|
49
|
-
}), number && /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
50
|
-
className: "connector-phone-connecting_number",
|
|
51
|
-
children: number || '-'
|
|
52
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
53
|
-
className: "connector-phone-connecting_action",
|
|
54
|
-
children: reason
|
|
55
|
-
})]
|
|
56
|
-
})]
|
|
57
|
-
});
|
|
58
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
require("core-js/modules/es.object.define-property.js");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.ConnectionRemember = void 0;
|
|
8
|
-
var _checkbox = require("agora-ui-foundation/lib/components/checkbox");
|
|
9
|
-
require("./index.css");
|
|
10
|
-
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
11
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
|
-
var ConnectionRemember = exports.ConnectionRemember = function ConnectionRemember(props) {
|
|
13
|
-
var checked = props.checked,
|
|
14
|
-
onChange = props.onChange;
|
|
15
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("label", {
|
|
16
|
-
className: "connector-phone_remember",
|
|
17
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
|
|
18
|
-
checked: checked,
|
|
19
|
-
onChange: onChange
|
|
20
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
21
|
-
children: (0, _i18n.transI18n)('fmt_pstn_options_rememberphone')
|
|
22
|
-
})]
|
|
23
|
-
});
|
|
24
|
-
};
|
|
@@ -1,46 +0,0 @@
|
|
|
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,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
require("core-js/modules/es.object.define-property.js");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.ConnectionUsing = void 0;
|
|
8
|
-
var _button = require("agora-ui-foundation/lib/components/button");
|
|
9
|
-
require("./index.css");
|
|
10
|
-
var _mobxReact = require("mobx-react");
|
|
11
|
-
var _react = require("react");
|
|
12
|
-
var _store = require("../../../../store");
|
|
13
|
-
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
14
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
|
-
var ConnectionUsing = exports.ConnectionUsing = (0, _mobxReact.observer)(function (_ref) {
|
|
16
|
-
var children = _ref.children;
|
|
17
|
-
var _useContext = (0, _react.useContext)(_store.StoreContext),
|
|
18
|
-
connectSession = _useContext.connectSession,
|
|
19
|
-
outgoingCall = _useContext.outgoingCall;
|
|
20
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
21
|
-
className: "connector-phone-using ".concat(outgoingCall ? 'outgoing-call' : ''),
|
|
22
|
-
children: [outgoingCall && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
23
|
-
className: "connector-phone-using_number",
|
|
24
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("sub", {
|
|
25
|
-
className: "connector-phone-using_region",
|
|
26
|
-
children: "+86"
|
|
27
|
-
}), connectSession === null || connectSession === void 0 ? void 0 : connectSession.phoneNumber]
|
|
28
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_button.FcrButton, {
|
|
29
|
-
size: "XXS",
|
|
30
|
-
className: "connector-phone-using_button",
|
|
31
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
32
|
-
className: "connector-phone-using_icon-dot"
|
|
33
|
-
}), (0, _i18n.transI18n)('fmt_pstn_label_viaphone')]
|
|
34
|
-
}), children]
|
|
35
|
-
});
|
|
36
|
-
});
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
.connector-phone {
|
|
2
|
-
width: 100%;
|
|
3
|
-
height: 450px;
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
align-items: center;
|
|
7
|
-
}
|
|
8
|
-
.connector-phone_inner {
|
|
9
|
-
display: flex;
|
|
10
|
-
flex-direction: column;
|
|
11
|
-
width: 260px;
|
|
12
|
-
align-items: center;
|
|
13
|
-
}
|
|
14
|
-
.connector-phone_selector {
|
|
15
|
-
margin-bottom: 20px;
|
|
16
|
-
height: 32px;
|
|
17
|
-
margin-top: 21px;
|
|
18
|
-
width: 100%;
|
|
19
|
-
}
|
|
20
|
-
.connector-phone_selector_errmsg {
|
|
21
|
-
color: var(--fcr_ui_scene_ramp_red6);
|
|
22
|
-
font-size: 12px;
|
|
23
|
-
text-align: right;
|
|
24
|
-
}
|
|
25
|
-
.connector-phone_selector .fcr-select {
|
|
26
|
-
margin-bottom: 20px;
|
|
27
|
-
border-color: var(--fcr_web_ui_scene_line4);
|
|
28
|
-
width: 260px;
|
|
29
|
-
background-color: var(--fcr_ui_scene_input2);
|
|
30
|
-
}
|
|
31
|
-
.connector-phone_callme-button {
|
|
32
|
-
background: var(--fcr_ui_scene_ramp_green6);
|
|
33
|
-
margin-bottom: 20px;
|
|
34
|
-
}
|
|
35
|
-
.connector-phone_hangup-button {
|
|
36
|
-
margin-bottom: 20px;
|
|
37
|
-
}
|
|
38
|
-
.connector-phone-alert {
|
|
39
|
-
background: var(--fcr_ui_scene_ramp_green1);
|
|
40
|
-
color: var(--fcr_ui_scene_ramp_green6);
|
|
41
|
-
border-radius: var(--fcr_cornerradius_l);
|
|
42
|
-
min-height: 40px;
|
|
43
|
-
line-height: 1.5;
|
|
44
|
-
width: 376px;
|
|
45
|
-
font-size: 13px;
|
|
46
|
-
text-align: center;
|
|
47
|
-
margin-bottom: 10px;
|
|
48
|
-
padding: 10px;
|
|
49
|
-
}
|