fcr-ui-scene 3.8.0-alpha → 3.8.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/base.js +2 -2
- package/lib/electron/bootstrap-sdk.js +6 -6
- 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/store.js +1 -1
- package/lib/fragments/whiteboard/style.css +4 -4
- package/lib/global.css +62 -62
- package/lib/global.d.ts +27 -27
- 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/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/draggable-container/index.js +34 -12
- package/lib/modules/caption/store.d.ts +1 -4
- package/lib/modules/caption/store.js +10 -18
- package/lib/modules/caption/view.css +158 -158
- package/lib/modules/caption/view.js +16 -27
- 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/chat/store.d.ts +1 -0
- package/lib/modules/chat/store.js +2 -2
- 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/index.d.ts +2 -0
- package/lib/modules/components/caption-menu/index.js +13 -10
- package/lib/modules/components/caption-menu/participants-privilege-control-options.js +5 -19
- package/lib/modules/components/caption-menu/steps/index.css +73 -73
- package/lib/modules/components/caption-menu/translation-setting-options.js +31 -24
- 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/carmera/index.js +7 -39
- package/lib/modules/control-bar/components/cloud-recording-buttons.js +18 -33
- package/lib/modules/control-bar/components/meeting-details/index.css +133 -133
- package/lib/modules/control-bar/components/microphone/index.js +3 -43
- 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-audio/index.d.ts +2 -0
- package/lib/modules/control-bar/components/share-audio/index.js +4 -10
- package/lib/modules/control-bar/components/share-state-nav/index.css +79 -79
- package/lib/modules/control-bar/hooks.d.ts +1 -0
- package/lib/modules/control-bar/hooks.js +140 -1
- package/lib/modules/control-bar/index.css +340 -340
- package/lib/modules/control-bar/index.js +4 -4
- package/lib/modules/control-bar/store.d.ts +3 -4
- package/lib/modules/control-bar/store.js +37 -30
- package/lib/modules/control-bar/type.d.ts +3 -0
- package/lib/modules/control-bar/view.js +40 -57
- package/lib/modules/device-pretest/index.css +123 -123
- package/lib/modules/dialog/components/confirm/index.css +24 -24
- package/lib/modules/dialog/components/confirm/index.js +0 -1
- package/lib/modules/dialog/components/dialog-container/index.css +112 -112
- package/lib/modules/dialog/components/dialog-container/index.js +1 -0
- package/lib/modules/dialog/dialogs/confirm/index.css +24 -24
- 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/event-toast/index.js +7 -1
- 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/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.d.ts +1 -1
- package/lib/modules/layout/store.base.js +5 -5
- package/lib/modules/layout/store.electron.d.ts +0 -1
- package/lib/modules/layout/store.electron.js +37 -133
- 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 +183 -185
- package/lib/modules/pc-audio-connect/index.css +12 -12
- 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 +8 -10
- package/lib/modules/setting/audio-settings/index.css +195 -195
- package/lib/modules/setting/audio-whiteList/audio-device-adaptation.d.ts +28 -0
- package/lib/modules/setting/audio-whiteList/audio-device-adaptation.js +43 -7
- package/lib/modules/setting/audio-whiteList/audio-whiteList-manager.d.ts +3 -14
- package/lib/modules/setting/audio-whiteList/audio-whiteList-manager.js +51 -30
- 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/index.js +4 -2
- 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/store.base.d.ts +5 -3
- package/lib/modules/setting/store.base.js +64 -43
- package/lib/modules/setting/store.electron.d.ts +1 -1
- package/lib/modules/setting/store.electron.js +3 -7
- package/lib/modules/setting/translate-settings/index.css +47 -47
- package/lib/modules/setting/video-settings/index.css +357 -357
- package/lib/modules/setting/view.js +3 -2
- 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/share-screen/store.electron.js +51 -23
- 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/list-item.js +4 -7
- package/lib/modules/subtitles-history/components/settings/index.css +5 -5
- package/lib/modules/subtitles-history/index.css +129 -129
- package/lib/modules/subtitles-history/store.base.d.ts +3 -1
- package/lib/modules/subtitles-history/store.base.js +11 -1
- 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/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/board-share/struct.js +6 -6
- 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.d.ts +2 -13
- package/lib/providers/screen-share/provider.base.js +28 -35
- package/lib/providers/screen-share/provider.electron.d.ts +0 -5
- package/lib/providers/screen-share/provider.electron.js +31 -18
- package/lib/providers/screen-share/stream-state-sync.js +18 -18
- package/lib/providers/screen-share/struct.js +24 -24
- package/lib/providers/screen-share/type.d.ts +0 -16
- package/lib/providers/stt-provider/stt-provider.d.ts +3 -4
- package/lib/providers/stt-provider/stt-provider.js +145 -146
- package/lib/providers/stt-provider/type.d.ts +2 -10
- package/lib/providers/stt-provider/type.js +3 -3
- 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/schema.js +26 -26
- package/lib/shared-data/meeting-time.js +8 -8
- package/lib/shared-data/setting.js +3 -3
- package/lib/translations/enUS.d.ts +12 -1
- package/lib/translations/enUS.js +22 -19
- package/lib/translations/zhCN.d.ts +12 -1
- package/lib/translations/zhCN.js +20 -17
- package/lib/type.js +21 -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 +78 -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 +183 -183
- package/public/meeting-manager.js +405 -405
|
@@ -23,11 +23,11 @@ var _constants = require("./constants");
|
|
|
23
23
|
var _meetingState = require("../plugins/meeting-state");
|
|
24
24
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2["default"])(o), (0, _possibleConstructorReturn2["default"])(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2["default"])(t).constructor) : o.apply(t, e)); }
|
|
25
25
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
26
|
-
/**
|
|
27
|
-
* 窗口状态变更事件
|
|
26
|
+
/**
|
|
27
|
+
* 窗口状态变更事件
|
|
28
28
|
*/
|
|
29
|
-
/**
|
|
30
|
-
* IPC 连接状态
|
|
29
|
+
/**
|
|
30
|
+
* IPC 连接状态
|
|
31
31
|
*/
|
|
32
32
|
var IPCConnectionState = exports.IPCConnectionState = /*#__PURE__*/function (IPCConnectionState) {
|
|
33
33
|
IPCConnectionState["DISCONNECTED"] = "disconnected";
|
|
@@ -36,15 +36,15 @@ var IPCConnectionState = exports.IPCConnectionState = /*#__PURE__*/function (IPC
|
|
|
36
36
|
IPCConnectionState["ERROR"] = "error";
|
|
37
37
|
return IPCConnectionState;
|
|
38
38
|
}({});
|
|
39
|
-
/**
|
|
40
|
-
* IPC 连接状态变更事件
|
|
39
|
+
/**
|
|
40
|
+
* IPC 连接状态变更事件
|
|
41
41
|
*/
|
|
42
|
-
/**
|
|
43
|
-
* StateManager 负责管理应用的各种状态
|
|
44
|
-
* - 窗口状态(显示/隐藏/最小化)
|
|
45
|
-
* - IPC 连接状态
|
|
46
|
-
* - 主窗口准备状态
|
|
47
|
-
* - 用户交互状态
|
|
42
|
+
/**
|
|
43
|
+
* StateManager 负责管理应用的各种状态
|
|
44
|
+
* - 窗口状态(显示/隐藏/最小化)
|
|
45
|
+
* - IPC 连接状态
|
|
46
|
+
* - 主窗口准备状态
|
|
47
|
+
* - 用户交互状态
|
|
48
48
|
*/
|
|
49
49
|
var StateManager = exports.StateManager = /*#__PURE__*/function (_EventEmitter) {
|
|
50
50
|
function StateManager() {
|
|
@@ -67,8 +67,8 @@ var StateManager = exports.StateManager = /*#__PURE__*/function (_EventEmitter)
|
|
|
67
67
|
|
|
68
68
|
// ==================== Getters ====================
|
|
69
69
|
|
|
70
|
-
/**
|
|
71
|
-
* 获取主窗口实例
|
|
70
|
+
/**
|
|
71
|
+
* 获取主窗口实例
|
|
72
72
|
*/
|
|
73
73
|
(0, _inherits2["default"])(StateManager, _EventEmitter);
|
|
74
74
|
return (0, _createClass2["default"])(StateManager, [{
|
|
@@ -82,8 +82,8 @@ var StateManager = exports.StateManager = /*#__PURE__*/function (_EventEmitter)
|
|
|
82
82
|
return this._mainWindow;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
/**
|
|
86
|
-
* 获取主窗口显示状态
|
|
85
|
+
/**
|
|
86
|
+
* 获取主窗口显示状态
|
|
87
87
|
*/
|
|
88
88
|
}, {
|
|
89
89
|
key: "mainWindowDisplayState",
|
|
@@ -91,8 +91,8 @@ var StateManager = exports.StateManager = /*#__PURE__*/function (_EventEmitter)
|
|
|
91
91
|
return this._mainWindowDisplayState;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
/**
|
|
95
|
-
* 获取主窗口是否准备就绪
|
|
94
|
+
/**
|
|
95
|
+
* 获取主窗口是否准备就绪
|
|
96
96
|
*/
|
|
97
97
|
}, {
|
|
98
98
|
key: "mainWindowReady",
|
|
@@ -100,8 +100,8 @@ var StateManager = exports.StateManager = /*#__PURE__*/function (_EventEmitter)
|
|
|
100
100
|
return this._mainWindowReady;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
/**
|
|
104
|
-
* 获取是否用户主动最小化
|
|
103
|
+
/**
|
|
104
|
+
* 获取是否用户主动最小化
|
|
105
105
|
*/
|
|
106
106
|
}, {
|
|
107
107
|
key: "userMinimize",
|
|
@@ -109,8 +109,8 @@ var StateManager = exports.StateManager = /*#__PURE__*/function (_EventEmitter)
|
|
|
109
109
|
return this._userMinimize;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
/**
|
|
113
|
-
* 获取 IPC 连接状态
|
|
112
|
+
/**
|
|
113
|
+
* 获取 IPC 连接状态
|
|
114
114
|
*/
|
|
115
115
|
}, {
|
|
116
116
|
key: "ipcConnectionState",
|
|
@@ -118,8 +118,8 @@ var StateManager = exports.StateManager = /*#__PURE__*/function (_EventEmitter)
|
|
|
118
118
|
return this._ipcConnectionState;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
/**
|
|
122
|
-
* 获取最后一次初始化参数
|
|
121
|
+
/**
|
|
122
|
+
* 获取最后一次初始化参数
|
|
123
123
|
*/
|
|
124
124
|
}, {
|
|
125
125
|
key: "lastInitParams",
|
|
@@ -129,8 +129,8 @@ var StateManager = exports.StateManager = /*#__PURE__*/function (_EventEmitter)
|
|
|
129
129
|
|
|
130
130
|
// ==================== Setters ====================
|
|
131
131
|
|
|
132
|
-
/**
|
|
133
|
-
* 设置主窗口实例
|
|
132
|
+
/**
|
|
133
|
+
* 设置主窗口实例
|
|
134
134
|
*/
|
|
135
135
|
}, {
|
|
136
136
|
key: "setMainWindow",
|
|
@@ -139,8 +139,8 @@ var StateManager = exports.StateManager = /*#__PURE__*/function (_EventEmitter)
|
|
|
139
139
|
this.logger.info("Main window ".concat(window ? 'set' : 'cleared'));
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
/**
|
|
143
|
-
* 设置主窗口显示状态
|
|
142
|
+
/**
|
|
143
|
+
* 设置主窗口显示状态
|
|
144
144
|
*/
|
|
145
145
|
}, {
|
|
146
146
|
key: "setMainWindowDisplayState",
|
|
@@ -156,8 +156,8 @@ var StateManager = exports.StateManager = /*#__PURE__*/function (_EventEmitter)
|
|
|
156
156
|
this.emit('windowStateChange', event);
|
|
157
157
|
}
|
|
158
158
|
|
|
159
|
-
/**
|
|
160
|
-
* 设置主窗口准备状态
|
|
159
|
+
/**
|
|
160
|
+
* 设置主窗口准备状态
|
|
161
161
|
*/
|
|
162
162
|
}, {
|
|
163
163
|
key: "setMainWindowReady",
|
|
@@ -169,8 +169,8 @@ var StateManager = exports.StateManager = /*#__PURE__*/function (_EventEmitter)
|
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
171
|
|
|
172
|
-
/**
|
|
173
|
-
* 设置用户最小化状态
|
|
172
|
+
/**
|
|
173
|
+
* 设置用户最小化状态
|
|
174
174
|
*/
|
|
175
175
|
}, {
|
|
176
176
|
key: "setUserMinimize",
|
|
@@ -179,8 +179,8 @@ var StateManager = exports.StateManager = /*#__PURE__*/function (_EventEmitter)
|
|
|
179
179
|
this.logger.info("User minimize state: ".concat(minimize));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
/**
|
|
183
|
-
* 设置 IPC 连接状态
|
|
182
|
+
/**
|
|
183
|
+
* 设置 IPC 连接状态
|
|
184
184
|
*/
|
|
185
185
|
}, {
|
|
186
186
|
key: "setIPCConnectionState",
|
|
@@ -196,8 +196,8 @@ var StateManager = exports.StateManager = /*#__PURE__*/function (_EventEmitter)
|
|
|
196
196
|
this.emit('ipcConnectionStateChange', event);
|
|
197
197
|
}
|
|
198
198
|
|
|
199
|
-
/**
|
|
200
|
-
* 设置最后一次初始化参数
|
|
199
|
+
/**
|
|
200
|
+
* 设置最后一次初始化参数
|
|
201
201
|
*/
|
|
202
202
|
}, {
|
|
203
203
|
key: "setLastInitParams",
|
|
@@ -208,8 +208,8 @@ var StateManager = exports.StateManager = /*#__PURE__*/function (_EventEmitter)
|
|
|
208
208
|
|
|
209
209
|
// ==================== 窗口操作方法 ====================
|
|
210
210
|
|
|
211
|
-
/**
|
|
212
|
-
* 显示并聚焦主窗口
|
|
211
|
+
/**
|
|
212
|
+
* 显示并聚焦主窗口
|
|
213
213
|
*/
|
|
214
214
|
}, {
|
|
215
215
|
key: "showAndFocusMainWindow",
|
|
@@ -224,8 +224,8 @@ var StateManager = exports.StateManager = /*#__PURE__*/function (_EventEmitter)
|
|
|
224
224
|
this.setMainWindowDisplayState(_struct.DisplayState.SHOW);
|
|
225
225
|
}
|
|
226
226
|
|
|
227
|
-
/**
|
|
228
|
-
* 隐藏主窗口
|
|
227
|
+
/**
|
|
228
|
+
* 隐藏主窗口
|
|
229
229
|
*/
|
|
230
230
|
}, {
|
|
231
231
|
key: "hideMainWindow",
|
|
@@ -238,8 +238,8 @@ var StateManager = exports.StateManager = /*#__PURE__*/function (_EventEmitter)
|
|
|
238
238
|
this.setMainWindowDisplayState(_struct.DisplayState.HIDE);
|
|
239
239
|
}
|
|
240
240
|
|
|
241
|
-
/**
|
|
242
|
-
* 最小化主窗口
|
|
241
|
+
/**
|
|
242
|
+
* 最小化主窗口
|
|
243
243
|
*/
|
|
244
244
|
}, {
|
|
245
245
|
key: "minimizeMainWindow",
|
|
@@ -252,9 +252,9 @@ var StateManager = exports.StateManager = /*#__PURE__*/function (_EventEmitter)
|
|
|
252
252
|
this.setMainWindowDisplayState(_struct.DisplayState.MINIMIZE);
|
|
253
253
|
}
|
|
254
254
|
|
|
255
|
-
/**
|
|
256
|
-
* Windows 平台特殊处理:显示并置顶窗口
|
|
257
|
-
* 用于 Windows 平台的会议启动逻辑
|
|
255
|
+
/**
|
|
256
|
+
* Windows 平台特殊处理:显示并置顶窗口
|
|
257
|
+
* 用于 Windows 平台的会议启动逻辑
|
|
258
258
|
*/
|
|
259
259
|
}, {
|
|
260
260
|
key: "showAndFocusWithAlwaysOnTop",
|
|
@@ -284,8 +284,8 @@ var StateManager = exports.StateManager = /*#__PURE__*/function (_EventEmitter)
|
|
|
284
284
|
this.setMainWindowDisplayState(_struct.DisplayState.SHOW);
|
|
285
285
|
}
|
|
286
286
|
|
|
287
|
-
/**
|
|
288
|
-
* 聚焦主窗口
|
|
287
|
+
/**
|
|
288
|
+
* 聚焦主窗口
|
|
289
289
|
*/
|
|
290
290
|
}, {
|
|
291
291
|
key: "focusMainWindow",
|
|
@@ -299,8 +299,8 @@ var StateManager = exports.StateManager = /*#__PURE__*/function (_EventEmitter)
|
|
|
299
299
|
|
|
300
300
|
// ==================== 状态查询 ====================
|
|
301
301
|
|
|
302
|
-
/**
|
|
303
|
-
* 检查主窗口是否可用
|
|
302
|
+
/**
|
|
303
|
+
* 检查主窗口是否可用
|
|
304
304
|
*/
|
|
305
305
|
}, {
|
|
306
306
|
key: "isMainWindowAvailable",
|
|
@@ -308,8 +308,8 @@ var StateManager = exports.StateManager = /*#__PURE__*/function (_EventEmitter)
|
|
|
308
308
|
return this._mainWindow !== null && !this._mainWindow.isDestroyed();
|
|
309
309
|
}
|
|
310
310
|
|
|
311
|
-
/**
|
|
312
|
-
* 检查主窗口是否可见
|
|
311
|
+
/**
|
|
312
|
+
* 检查主窗口是否可见
|
|
313
313
|
*/
|
|
314
314
|
}, {
|
|
315
315
|
key: "isMainWindowVisible",
|
|
@@ -317,8 +317,8 @@ var StateManager = exports.StateManager = /*#__PURE__*/function (_EventEmitter)
|
|
|
317
317
|
return this.isMainWindowAvailable() && this._mainWindow.isVisible() && this._mainWindowDisplayState === _struct.DisplayState.SHOW;
|
|
318
318
|
}
|
|
319
319
|
|
|
320
|
-
/**
|
|
321
|
-
* 获取状态描述
|
|
320
|
+
/**
|
|
321
|
+
* 获取状态描述
|
|
322
322
|
*/
|
|
323
323
|
}, {
|
|
324
324
|
key: "getStateDescription",
|
|
@@ -328,8 +328,8 @@ var StateManager = exports.StateManager = /*#__PURE__*/function (_EventEmitter)
|
|
|
328
328
|
|
|
329
329
|
// ==================== 清理 ====================
|
|
330
330
|
|
|
331
|
-
/**
|
|
332
|
-
* 重置所有状态
|
|
331
|
+
/**
|
|
332
|
+
* 重置所有状态
|
|
333
333
|
*/
|
|
334
334
|
}, {
|
|
335
335
|
key: "reset",
|
|
@@ -344,8 +344,8 @@ var StateManager = exports.StateManager = /*#__PURE__*/function (_EventEmitter)
|
|
|
344
344
|
});
|
|
345
345
|
}
|
|
346
346
|
|
|
347
|
-
/**
|
|
348
|
-
* 清理资源
|
|
347
|
+
/**
|
|
348
|
+
* 清理资源
|
|
349
349
|
*/
|
|
350
350
|
}, {
|
|
351
351
|
key: "release",
|
|
@@ -18,14 +18,14 @@ var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits
|
|
|
18
18
|
var _wrapNativeSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/wrapNativeSuper"));
|
|
19
19
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2["default"])(o), (0, _possibleConstructorReturn2["default"])(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2["default"])(t).constructor) : o.apply(t, e)); }
|
|
20
20
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
21
|
-
/**
|
|
22
|
-
* ProcessManager 模块的类型定义
|
|
21
|
+
/**
|
|
22
|
+
* ProcessManager 模块的类型定义
|
|
23
23
|
*/
|
|
24
|
-
/**
|
|
25
|
-
* ProcessManager 配置接口
|
|
24
|
+
/**
|
|
25
|
+
* ProcessManager 配置接口
|
|
26
26
|
*/
|
|
27
|
-
/**
|
|
28
|
-
* ProcessManager 初始化状态
|
|
27
|
+
/**
|
|
28
|
+
* ProcessManager 初始化状态
|
|
29
29
|
*/
|
|
30
30
|
var ProcessManagerState = exports.ProcessManagerState = /*#__PURE__*/function (ProcessManagerState) {
|
|
31
31
|
/** 未初始化 */
|
|
@@ -36,17 +36,17 @@ var ProcessManagerState = exports.ProcessManagerState = /*#__PURE__*/function (P
|
|
|
36
36
|
ProcessManagerState["RELEASED"] = "released";
|
|
37
37
|
return ProcessManagerState;
|
|
38
38
|
}({});
|
|
39
|
-
/**
|
|
40
|
-
* ProcessManager 事件类型
|
|
39
|
+
/**
|
|
40
|
+
* ProcessManager 事件类型
|
|
41
41
|
*/
|
|
42
|
-
/**
|
|
43
|
-
* 窗口初始化参数
|
|
42
|
+
/**
|
|
43
|
+
* 窗口初始化参数
|
|
44
44
|
*/
|
|
45
|
-
/**
|
|
46
|
-
* ProcessManager 状态信息
|
|
45
|
+
/**
|
|
46
|
+
* ProcessManager 状态信息
|
|
47
47
|
*/
|
|
48
|
-
/**
|
|
49
|
-
* 错误类型枚举
|
|
48
|
+
/**
|
|
49
|
+
* 错误类型枚举
|
|
50
50
|
*/
|
|
51
51
|
var ProcessManagerErrorType = exports.ProcessManagerErrorType = /*#__PURE__*/function (ProcessManagerErrorType) {
|
|
52
52
|
/** 配置错误 */
|
|
@@ -61,8 +61,8 @@ var ProcessManagerErrorType = exports.ProcessManagerErrorType = /*#__PURE__*/fun
|
|
|
61
61
|
ProcessManagerErrorType["STATE_ERROR"] = "STATE_ERROR";
|
|
62
62
|
return ProcessManagerErrorType;
|
|
63
63
|
}({});
|
|
64
|
-
/**
|
|
65
|
-
* ProcessManager 自定义错误类
|
|
64
|
+
/**
|
|
65
|
+
* ProcessManager 自定义错误类
|
|
66
66
|
*/
|
|
67
67
|
var ProcessManagerError = exports.ProcessManagerError = /*#__PURE__*/function (_Error) {
|
|
68
68
|
function ProcessManagerError(type, message, originalError) {
|
|
@@ -196,9 +196,9 @@ var cppSdkHelper = {
|
|
|
196
196
|
// @ts-ignore
|
|
197
197
|
window.cppSdkHelper = cppSdkHelper;
|
|
198
198
|
|
|
199
|
-
/**
|
|
200
|
-
* 监听主进程来的事件
|
|
201
|
-
* 调用渲染进程的方法
|
|
199
|
+
/**
|
|
200
|
+
* 监听主进程来的事件
|
|
201
|
+
* 调用渲染进程的方法
|
|
202
202
|
*/
|
|
203
203
|
|
|
204
204
|
_renderer.ipcRenderer.on(_type.IPCMessageCMD.InitCreator, function (_event, value) {
|
|
@@ -63,9 +63,9 @@ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/creat
|
|
|
63
63
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
64
64
|
var _electron = require("electron");
|
|
65
65
|
var _ipcProtocol = require("../ipc-protocol");
|
|
66
|
-
/**
|
|
67
|
-
* BrowserWindow 代理类
|
|
68
|
-
* 通过 IPC 通信与主进程中的 BrowserWindow 进行交互
|
|
66
|
+
/**
|
|
67
|
+
* BrowserWindow 代理类
|
|
68
|
+
* 通过 IPC 通信与主进程中的 BrowserWindow 进行交互
|
|
69
69
|
*/
|
|
70
70
|
var BrowserWindowProxyImpl = exports.BrowserWindowProxyImpl = /*#__PURE__*/function () {
|
|
71
71
|
function BrowserWindowProxyImpl(windowId) {
|
|
@@ -90,8 +90,8 @@ var BrowserWindowProxyImpl = exports.BrowserWindowProxyImpl = /*#__PURE__*/funct
|
|
|
90
90
|
return this._windowId;
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
/**
|
|
94
|
-
* 检查窗口是否已销毁
|
|
93
|
+
/**
|
|
94
|
+
* 检查窗口是否已销毁
|
|
95
95
|
*/
|
|
96
96
|
}, {
|
|
97
97
|
key: "isDestroyed",
|
|
@@ -407,8 +407,8 @@ var BrowserWindowProxyImpl = exports.BrowserWindowProxyImpl = /*#__PURE__*/funct
|
|
|
407
407
|
}
|
|
408
408
|
return getBounds;
|
|
409
409
|
}()
|
|
410
|
-
/**
|
|
411
|
-
* 窗口设置方法
|
|
410
|
+
/**
|
|
411
|
+
* 窗口设置方法
|
|
412
412
|
*/
|
|
413
413
|
}, {
|
|
414
414
|
key: "setBounds",
|
|
@@ -533,8 +533,8 @@ var BrowserWindowProxyImpl = exports.BrowserWindowProxyImpl = /*#__PURE__*/funct
|
|
|
533
533
|
}
|
|
534
534
|
return setPreventClose;
|
|
535
535
|
}()
|
|
536
|
-
/**
|
|
537
|
-
* 事件监听方法
|
|
536
|
+
/**
|
|
537
|
+
* 事件监听方法
|
|
538
538
|
*/
|
|
539
539
|
}, {
|
|
540
540
|
key: "addListener",
|
|
@@ -572,8 +572,8 @@ var BrowserWindowProxyImpl = exports.BrowserWindowProxyImpl = /*#__PURE__*/funct
|
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
574
|
|
|
575
|
-
/**
|
|
576
|
-
* 销毁代理对象
|
|
575
|
+
/**
|
|
576
|
+
* 销毁代理对象
|
|
577
577
|
*/
|
|
578
578
|
}, {
|
|
579
579
|
key: "destroy",
|
|
@@ -583,8 +583,8 @@ var BrowserWindowProxyImpl = exports.BrowserWindowProxyImpl = /*#__PURE__*/funct
|
|
|
583
583
|
this._isDestroyed = true;
|
|
584
584
|
}
|
|
585
585
|
|
|
586
|
-
/**
|
|
587
|
-
* 私有方法
|
|
586
|
+
/**
|
|
587
|
+
* 私有方法
|
|
588
588
|
*/
|
|
589
589
|
}, {
|
|
590
590
|
key: "_sendIpcRequest",
|
|
@@ -67,8 +67,8 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
67
67
|
var _electron = require("electron");
|
|
68
68
|
var _ipcProtocol = require("../ipc-protocol");
|
|
69
69
|
var _logger = require("../logger");
|
|
70
|
-
/**
|
|
71
|
-
* 主进程中的 BrowserWindow IPC 处理器
|
|
70
|
+
/**
|
|
71
|
+
* 主进程中的 BrowserWindow IPC 处理器
|
|
72
72
|
*/
|
|
73
73
|
var BrowserWindowIPCHandler = exports.BrowserWindowIPCHandler = /*#__PURE__*/function () {
|
|
74
74
|
function BrowserWindowIPCHandler() {
|
|
@@ -82,8 +82,8 @@ var BrowserWindowIPCHandler = exports.BrowserWindowIPCHandler = /*#__PURE__*/fun
|
|
|
82
82
|
this._setupIpcHandlers();
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
/**
|
|
86
|
-
* 设置主窗口,所有事件通知都通过主窗口发送
|
|
85
|
+
/**
|
|
86
|
+
* 设置主窗口,所有事件通知都通过主窗口发送
|
|
87
87
|
*/
|
|
88
88
|
return (0, _createClass2["default"])(BrowserWindowIPCHandler, [{
|
|
89
89
|
key: "setMainWindow",
|
|
@@ -92,8 +92,8 @@ var BrowserWindowIPCHandler = exports.BrowserWindowIPCHandler = /*#__PURE__*/fun
|
|
|
92
92
|
this._mainWindow = mainWindow;
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
/**
|
|
96
|
-
* 注册窗口
|
|
95
|
+
/**
|
|
96
|
+
* 注册窗口
|
|
97
97
|
*/
|
|
98
98
|
}, {
|
|
99
99
|
key: "registerWindow",
|
|
@@ -139,16 +139,16 @@ var BrowserWindowIPCHandler = exports.BrowserWindowIPCHandler = /*#__PURE__*/fun
|
|
|
139
139
|
});
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
/**
|
|
143
|
-
* 注销窗口
|
|
142
|
+
/**
|
|
143
|
+
* 注销窗口
|
|
144
144
|
*/
|
|
145
145
|
// unregisterWindow(windowId: string): void {
|
|
146
146
|
// this.logger.info(`Unregister window: ${windowId}`);
|
|
147
147
|
// this._unregisterWindow(windowId);
|
|
148
148
|
// }
|
|
149
149
|
|
|
150
|
-
/**
|
|
151
|
-
* 获取窗口
|
|
150
|
+
/**
|
|
151
|
+
* 获取窗口
|
|
152
152
|
*/
|
|
153
153
|
}, {
|
|
154
154
|
key: "getWindow",
|
|
@@ -415,8 +415,8 @@ var BrowserWindowIPCHandler = exports.BrowserWindowIPCHandler = /*#__PURE__*/fun
|
|
|
415
415
|
}
|
|
416
416
|
}
|
|
417
417
|
|
|
418
|
-
/**
|
|
419
|
-
* 处理主窗口关闭事件
|
|
418
|
+
/**
|
|
419
|
+
* 处理主窗口关闭事件
|
|
420
420
|
*/
|
|
421
421
|
}, {
|
|
422
422
|
key: "_handleMainWindowClose",
|
|
@@ -427,8 +427,8 @@ var BrowserWindowIPCHandler = exports.BrowserWindowIPCHandler = /*#__PURE__*/fun
|
|
|
427
427
|
}
|
|
428
428
|
}
|
|
429
429
|
|
|
430
|
-
/**
|
|
431
|
-
* 处理子窗口关闭事件
|
|
430
|
+
/**
|
|
431
|
+
* 处理子窗口关闭事件
|
|
432
432
|
*/
|
|
433
433
|
}, {
|
|
434
434
|
key: "_handleSubWindowClose",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
.fragment-annotation-wrapper {
|
|
2
|
-
width: '100vw';
|
|
3
|
-
height: '100vh';
|
|
4
|
-
overflow: 'hidden';
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.fragment-annotation-wrapper-visible-hidden {
|
|
8
|
-
visibility: hidden;
|
|
9
|
-
}
|
|
1
|
+
.fragment-annotation-wrapper {
|
|
2
|
+
width: '100vw';
|
|
3
|
+
height: '100vh';
|
|
4
|
+
overflow: 'hidden';
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.fragment-annotation-wrapper-visible-hidden {
|
|
8
|
+
visibility: hidden;
|
|
9
|
+
}
|
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
.annotation-toolbar-item {
|
|
2
|
-
min-width: 32px;
|
|
3
|
-
max-width: 64px;
|
|
4
|
-
min-height: 32px;
|
|
5
|
-
max-height: 52px;
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-direction: column;
|
|
8
|
-
align-items: center;
|
|
9
|
-
justify-content: center;
|
|
10
|
-
color: var(--fcr_ui_scene_icontext1);
|
|
11
|
-
cursor: pointer;
|
|
12
|
-
position: relative;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.annotation-toolbar-item-icon {
|
|
16
|
-
max-width: 44px;
|
|
17
|
-
min-width: 32px;
|
|
18
|
-
height: 32px;
|
|
19
|
-
border-radius: var(--fcr_cornerradius_xs);
|
|
20
|
-
display: flex;
|
|
21
|
-
justify-content: center;
|
|
22
|
-
align-items: center;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.annotation-toolbar-item-title {
|
|
26
|
-
margin-top: 4px;
|
|
27
|
-
font-size: 12px;
|
|
28
|
-
font-weight: 300;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.annotation-toolbar-item.is-active > .annotation-toolbar-item-icon {
|
|
32
|
-
background: var(--fcr_ui_scene_ramp_brand0);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.annotation-toolbar-item.is-active > .annotation-toolbar-item-title {
|
|
36
|
-
color: var(--fcr_ui_scene_ramp_brand6);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.annotation-toolbar-item.is-disabled {
|
|
40
|
-
cursor: not-allowed;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.annotation-toolbar-item.is-disabled > .annotation-toolbar-item-title {
|
|
44
|
-
color: var(--fcr_ui_scene_icontext3);
|
|
45
|
-
}
|
|
1
|
+
.annotation-toolbar-item {
|
|
2
|
+
min-width: 32px;
|
|
3
|
+
max-width: 64px;
|
|
4
|
+
min-height: 32px;
|
|
5
|
+
max-height: 52px;
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
align-items: center;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
color: var(--fcr_ui_scene_icontext1);
|
|
11
|
+
cursor: pointer;
|
|
12
|
+
position: relative;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.annotation-toolbar-item-icon {
|
|
16
|
+
max-width: 44px;
|
|
17
|
+
min-width: 32px;
|
|
18
|
+
height: 32px;
|
|
19
|
+
border-radius: var(--fcr_cornerradius_xs);
|
|
20
|
+
display: flex;
|
|
21
|
+
justify-content: center;
|
|
22
|
+
align-items: center;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.annotation-toolbar-item-title {
|
|
26
|
+
margin-top: 4px;
|
|
27
|
+
font-size: 12px;
|
|
28
|
+
font-weight: 300;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.annotation-toolbar-item.is-active > .annotation-toolbar-item-icon {
|
|
32
|
+
background: var(--fcr_ui_scene_ramp_brand0);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.annotation-toolbar-item.is-active > .annotation-toolbar-item-title {
|
|
36
|
+
color: var(--fcr_ui_scene_ramp_brand6);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.annotation-toolbar-item.is-disabled {
|
|
40
|
+
cursor: not-allowed;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.annotation-toolbar-item.is-disabled > .annotation-toolbar-item-title {
|
|
44
|
+
color: var(--fcr_ui_scene_icontext3);
|
|
45
|
+
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
.annotation-toolbar-panel {
|
|
2
|
-
max-width: 300px;
|
|
3
|
-
height: auto;
|
|
4
|
-
background: var(fcr_mobile_ui_scene_color_popup_fill2);
|
|
5
|
-
border-radius: var(--fcr_cornerradius_l);
|
|
6
|
-
padding: 12px;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.annotation-toolbar-panel > div {
|
|
10
|
-
height: 36px;
|
|
11
|
-
display: flex;
|
|
12
|
-
gap: 12px;
|
|
13
|
-
box-sizing: content-box;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.annotation-toolbar-panel .annotation-toolbar-item {
|
|
17
|
-
width: 36px;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.annotation-toolbar-panel-footer {
|
|
21
|
-
border-top: 1px solid var(--fcr_ui_scene_line1);
|
|
22
|
-
padding-top: 8px;
|
|
23
|
-
margin-top: 8px;
|
|
24
|
-
}
|
|
1
|
+
.annotation-toolbar-panel {
|
|
2
|
+
max-width: 300px;
|
|
3
|
+
height: auto;
|
|
4
|
+
background: var(fcr_mobile_ui_scene_color_popup_fill2);
|
|
5
|
+
border-radius: var(--fcr_cornerradius_l);
|
|
6
|
+
padding: 12px;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.annotation-toolbar-panel > div {
|
|
10
|
+
height: 36px;
|
|
11
|
+
display: flex;
|
|
12
|
+
gap: 12px;
|
|
13
|
+
box-sizing: content-box;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.annotation-toolbar-panel .annotation-toolbar-item {
|
|
17
|
+
width: 36px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.annotation-toolbar-panel-footer {
|
|
21
|
+
border-top: 1px solid var(--fcr_ui_scene_line1);
|
|
22
|
+
padding-top: 8px;
|
|
23
|
+
margin-top: 8px;
|
|
24
|
+
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
.annotation-toolbar-tips {
|
|
2
|
-
position: absolute;
|
|
3
|
-
left: 50%;
|
|
4
|
-
transform: translateX(-104px);
|
|
5
|
-
/* width: 208px; */
|
|
6
|
-
height: 32px;
|
|
7
|
-
background: var(--fcr_mobile_ui_scene_color_popup_fill2);
|
|
8
|
-
box-shadow: var(--fcr_web_light_dropup);
|
|
9
|
-
border-radius: var(--fcr_cornerradius_m);
|
|
10
|
-
font-size: 12px;
|
|
11
|
-
color: var(--fcr_ui_scene_text1);
|
|
12
|
-
display: flex;
|
|
13
|
-
align-items: center;
|
|
14
|
-
justify-content: center;
|
|
15
|
-
z-index: 10;
|
|
16
|
-
gap: 4px;
|
|
17
|
-
top: -40px;
|
|
18
|
-
padding: 2px 8px;
|
|
19
|
-
}
|
|
1
|
+
.annotation-toolbar-tips {
|
|
2
|
+
position: absolute;
|
|
3
|
+
left: 50%;
|
|
4
|
+
transform: translateX(-104px);
|
|
5
|
+
/* width: 208px; */
|
|
6
|
+
height: 32px;
|
|
7
|
+
background: var(--fcr_mobile_ui_scene_color_popup_fill2);
|
|
8
|
+
box-shadow: var(--fcr_web_light_dropup);
|
|
9
|
+
border-radius: var(--fcr_cornerradius_m);
|
|
10
|
+
font-size: 12px;
|
|
11
|
+
color: var(--fcr_ui_scene_text1);
|
|
12
|
+
display: flex;
|
|
13
|
+
align-items: center;
|
|
14
|
+
justify-content: center;
|
|
15
|
+
z-index: 10;
|
|
16
|
+
gap: 4px;
|
|
17
|
+
top: -40px;
|
|
18
|
+
padding: 2px 8px;
|
|
19
|
+
}
|