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.
Files changed (237) hide show
  1. package/lib/base.js +2 -2
  2. package/lib/electron/bootstrap-sdk.js +6 -6
  3. package/lib/electron/exit-codes.js +11 -11
  4. package/lib/electron/hang-detection/manager.js +4 -4
  5. package/lib/electron/ipc-protocol.js +12 -12
  6. package/lib/electron/process-manager/event-manager.js +30 -30
  7. package/lib/electron/process-manager/index.js +88 -88
  8. package/lib/electron/process-manager/state-manager.js +57 -57
  9. package/lib/electron/process-manager/types.js +16 -16
  10. package/lib/electron/sdk-helper.js +3 -3
  11. package/lib/electron/window-proxy/browser-window-proxy.js +13 -13
  12. package/lib/electron/window-proxy/main-process-handler.js +14 -14
  13. package/lib/fragments/annotation/style.css +9 -9
  14. package/lib/fragments/annotation/toolbar/components/item/style.css +45 -45
  15. package/lib/fragments/annotation/toolbar/components/panel/style.css +24 -24
  16. package/lib/fragments/annotation/toolbar/components/tips/style.css +19 -19
  17. package/lib/fragments/annotation/toolbar/style.css +55 -55
  18. package/lib/fragments/whiteboard/cursor.css +77 -77
  19. package/lib/fragments/whiteboard/store.js +1 -1
  20. package/lib/fragments/whiteboard/style.css +4 -4
  21. package/lib/global.css +62 -62
  22. package/lib/global.d.ts +27 -27
  23. package/lib/modules/action-bar/components/chat/index.css +88 -88
  24. package/lib/modules/action-bar/components/more/index.css +114 -114
  25. package/lib/modules/action-bar/components/notification-bar/components/interpreter/index.css +58 -58
  26. package/lib/modules/action-bar/components/notification-bar/components/virtual-image/index.css +56 -56
  27. package/lib/modules/action-bar/components/notification-bar/index.css +74 -74
  28. package/lib/modules/action-bar/components/participants/index.css +21 -21
  29. package/lib/modules/action-bar/components/record/index.css +39 -39
  30. package/lib/modules/action-bar/components/trigger-output-language/index.css +86 -86
  31. package/lib/modules/action-bar/components/trigger-subscribe-language/guide-tooltip/index.css +22 -22
  32. package/lib/modules/action-bar/index.css +358 -358
  33. package/lib/modules/action-bar/main-scene/view.js +3 -3
  34. package/lib/modules/audio-stream/index.js +3 -3
  35. package/lib/modules/caption/draggable-container/index.css +10 -10
  36. package/lib/modules/caption/draggable-container/index.js +34 -12
  37. package/lib/modules/caption/store.d.ts +1 -4
  38. package/lib/modules/caption/store.js +10 -18
  39. package/lib/modules/caption/view.css +158 -158
  40. package/lib/modules/caption/view.js +16 -27
  41. package/lib/modules/chat/components/chat-bar/index.css +89 -89
  42. package/lib/modules/chat/components/chat-select/index.css +185 -185
  43. package/lib/modules/chat/index.css +124 -124
  44. package/lib/modules/chat/store.d.ts +1 -0
  45. package/lib/modules/chat/store.js +2 -2
  46. package/lib/modules/components/apps/app-item/index.css +49 -49
  47. package/lib/modules/components/apps/index.css +9 -9
  48. package/lib/modules/components/caption-menu/index.css +58 -58
  49. package/lib/modules/components/caption-menu/index.d.ts +2 -0
  50. package/lib/modules/components/caption-menu/index.js +13 -10
  51. package/lib/modules/components/caption-menu/participants-privilege-control-options.js +5 -19
  52. package/lib/modules/components/caption-menu/steps/index.css +73 -73
  53. package/lib/modules/components/caption-menu/translation-setting-options.js +31 -24
  54. package/lib/modules/components/control-bar/components/loading/index.css +76 -76
  55. package/lib/modules/components/control-bar/components/progress/style.css +51 -51
  56. package/lib/modules/components/control-bar/components/switch-theme/index.css +101 -101
  57. package/lib/modules/components/control-bar/index.css +99 -99
  58. package/lib/modules/components/device-control/index.css +177 -177
  59. package/lib/modules/components/leave-meeting/components/index.css +151 -151
  60. package/lib/modules/components/leave-meeting/style.css +9 -9
  61. package/lib/modules/components/member-window/components/member-actions/store.js +22 -22
  62. package/lib/modules/components/member-window/index.css +502 -502
  63. package/lib/modules/components/security-menu/index.css +42 -42
  64. package/lib/modules/components/tab-frame/index.css +40 -40
  65. package/lib/modules/components/toolbar/components/item/style.css +94 -94
  66. package/lib/modules/components/toolbar/components/panel/style.css +86 -86
  67. package/lib/modules/components/toolbar/style.css +85 -85
  68. package/lib/modules/connection-gateway/components/computer/index.css +12 -12
  69. package/lib/modules/connection-gateway/components/phone/components/callinfo/index.css +36 -36
  70. package/lib/modules/connection-gateway/components/phone/components/calling/index.css +72 -72
  71. package/lib/modules/connection-gateway/components/phone/components/remeber/index.css +10 -10
  72. package/lib/modules/connection-gateway/components/phone/components/useing/index.css +46 -46
  73. package/lib/modules/connection-gateway/components/phone/index.css +49 -49
  74. package/lib/modules/connection-gateway/index.css +6 -6
  75. package/lib/modules/control-bar/components/carmera/index.js +7 -39
  76. package/lib/modules/control-bar/components/cloud-recording-buttons.js +18 -33
  77. package/lib/modules/control-bar/components/meeting-details/index.css +133 -133
  78. package/lib/modules/control-bar/components/microphone/index.js +3 -43
  79. package/lib/modules/control-bar/components/more-actions/index.css +103 -103
  80. package/lib/modules/control-bar/components/share-audio/index.css +90 -90
  81. package/lib/modules/control-bar/components/share-audio/index.d.ts +2 -0
  82. package/lib/modules/control-bar/components/share-audio/index.js +4 -10
  83. package/lib/modules/control-bar/components/share-state-nav/index.css +79 -79
  84. package/lib/modules/control-bar/hooks.d.ts +1 -0
  85. package/lib/modules/control-bar/hooks.js +140 -1
  86. package/lib/modules/control-bar/index.css +340 -340
  87. package/lib/modules/control-bar/index.js +4 -4
  88. package/lib/modules/control-bar/store.d.ts +3 -4
  89. package/lib/modules/control-bar/store.js +37 -30
  90. package/lib/modules/control-bar/type.d.ts +3 -0
  91. package/lib/modules/control-bar/view.js +40 -57
  92. package/lib/modules/device-pretest/index.css +123 -123
  93. package/lib/modules/dialog/components/confirm/index.css +24 -24
  94. package/lib/modules/dialog/components/confirm/index.js +0 -1
  95. package/lib/modules/dialog/components/dialog-container/index.css +112 -112
  96. package/lib/modules/dialog/components/dialog-container/index.js +1 -0
  97. package/lib/modules/dialog/dialogs/confirm/index.css +24 -24
  98. package/lib/modules/dialog/dialogs/device-setting/index.css +26 -26
  99. package/lib/modules/dialog/dialogs/interpreter/index.css +30 -30
  100. package/lib/modules/dialog/dialogs/mute-all/index.css +20 -20
  101. package/lib/modules/dialog/dialogs/system-preference/index.css +52 -52
  102. package/lib/modules/dialog/dialogs/widget/index.js +4 -4
  103. package/lib/modules/dialog/index.css +56 -56
  104. package/lib/modules/event-toast/index.css +25 -25
  105. package/lib/modules/event-toast/index.js +7 -1
  106. package/lib/modules/interpreter/action/add-btn/index.css +4 -4
  107. package/lib/modules/interpreter/action/delete-btn/index.css +14 -14
  108. package/lib/modules/interpreter/action/switch-btn/index.css +3 -3
  109. package/lib/modules/interpreter/dialog-content/index.css +33 -33
  110. package/lib/modules/interpreter/footer/index.css +11 -11
  111. package/lib/modules/interpreter/index.css +4 -4
  112. package/lib/modules/interpreter/interpreter-list/index.css +8 -8
  113. package/lib/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/index.css +46 -46
  114. package/lib/modules/interpreter/interpreter-list/interpreter-item/components/pick-user/index.css +46 -46
  115. package/lib/modules/interpreter/interpreter-list/interpreter-item/index.css +32 -32
  116. package/lib/modules/interpreter/loading-wrapper/index.css +53 -53
  117. package/lib/modules/invite/components/voip-invite.css +26 -26
  118. package/lib/modules/invite/index.css +331 -331
  119. package/lib/modules/layout/components/CommonVideoRenderer.js +4 -4
  120. package/lib/modules/layout/components/index.css +653 -653
  121. package/lib/modules/layout/index.css +59 -59
  122. package/lib/modules/layout/store.base.d.ts +1 -1
  123. package/lib/modules/layout/store.base.js +5 -5
  124. package/lib/modules/layout/store.electron.d.ts +0 -1
  125. package/lib/modules/layout/store.electron.js +37 -133
  126. package/lib/modules/layout/type.js +5 -5
  127. package/lib/modules/notification/index.css +77 -77
  128. package/lib/modules/notification/interpreter-status/index.css +76 -76
  129. package/lib/modules/participant/components/confirm-input/index.css +4 -4
  130. package/lib/modules/participant/components/participants/components/footer/components/drop-menu/index.css +83 -83
  131. package/lib/modules/participant/components/participants/components/render-user/components/attendee/index.css +87 -87
  132. package/lib/modules/participant/index.css +102 -102
  133. package/lib/modules/participant/store.base.js +183 -185
  134. package/lib/modules/pc-audio-connect/index.css +12 -12
  135. package/lib/modules/phone-audio-connect/components/callinfo/index.css +36 -36
  136. package/lib/modules/phone-audio-connect/components/calling/index.css +72 -72
  137. package/lib/modules/phone-audio-connect/components/remeber/index.css +10 -10
  138. package/lib/modules/phone-audio-connect/components/useing/index.css +46 -46
  139. package/lib/modules/phone-audio-connect/index.css +56 -56
  140. package/lib/modules/secondary-window/store.js +8 -10
  141. package/lib/modules/setting/audio-settings/index.css +195 -195
  142. package/lib/modules/setting/audio-whiteList/audio-device-adaptation.d.ts +28 -0
  143. package/lib/modules/setting/audio-whiteList/audio-device-adaptation.js +43 -7
  144. package/lib/modules/setting/audio-whiteList/audio-whiteList-manager.d.ts +3 -14
  145. package/lib/modules/setting/audio-whiteList/audio-whiteList-manager.js +51 -30
  146. package/lib/modules/setting/caption_and_transcribing/index.css +88 -88
  147. package/lib/modules/setting/general-settings/index.css +41 -41
  148. package/lib/modules/setting/index.css +112 -112
  149. package/lib/modules/setting/index.js +4 -2
  150. package/lib/modules/setting/minutes-settings/index.css +65 -65
  151. package/lib/modules/setting/state/index.css +207 -207
  152. package/lib/modules/setting/storage-settings/index.css +91 -91
  153. package/lib/modules/setting/store.base.d.ts +5 -3
  154. package/lib/modules/setting/store.base.js +64 -43
  155. package/lib/modules/setting/store.electron.d.ts +1 -1
  156. package/lib/modules/setting/store.electron.js +3 -7
  157. package/lib/modules/setting/translate-settings/index.css +47 -47
  158. package/lib/modules/setting/video-settings/index.css +357 -357
  159. package/lib/modules/setting/view.js +3 -2
  160. package/lib/modules/share-screen/components/control-bar/index.css +75 -75
  161. package/lib/modules/share-screen/components/selection/index.css +73 -73
  162. package/lib/modules/share-screen/components/share-state-bar/index.css +76 -76
  163. package/lib/modules/share-screen/index.js +10 -10
  164. package/lib/modules/share-screen/store.base.js +2 -2
  165. package/lib/modules/share-screen/store.electron.js +51 -23
  166. package/lib/modules/state-bar/assets/fcr_grid_big.svg +3 -3
  167. package/lib/modules/state-bar/assets/fcr_listontop_big.svg +3 -3
  168. package/lib/modules/state-bar/index.css +706 -706
  169. package/lib/modules/state-bar/main-scene/store.base.js +2 -2
  170. package/lib/modules/state-bar/meeting-detail.css +137 -137
  171. package/lib/modules/state-bar/meeting-network-state.css +150 -150
  172. package/lib/modules/state-bar/waiting-scene/store.base.js +2 -2
  173. package/lib/modules/subtitles-history/components/list-item.js +4 -7
  174. package/lib/modules/subtitles-history/components/settings/index.css +5 -5
  175. package/lib/modules/subtitles-history/index.css +129 -129
  176. package/lib/modules/subtitles-history/store.base.d.ts +3 -1
  177. package/lib/modules/subtitles-history/store.base.js +11 -1
  178. package/lib/modules/video-window/components/members/index.css +51 -51
  179. package/lib/modules/video-window/components/speaking/index.css +86 -86
  180. package/lib/modules/video-window/components/topControl/index.css +35 -35
  181. package/lib/modules/video-window/index.css +21 -21
  182. package/lib/modules/video-window/popover-watcher.js +3 -3
  183. package/lib/modules/video-window/store.js +10 -10
  184. package/lib/modules/waiting-room-layout/index.css +96 -96
  185. package/lib/modules/whiteboard/components/control-bar/index.css +52 -52
  186. package/lib/modules/whiteboard/components/loading/index.css +76 -76
  187. package/lib/modules/whiteboard/components/multi-window/index.css +63 -63
  188. package/lib/modules/whiteboard/components/pagination/index.css +228 -228
  189. package/lib/modules/whiteboard/components/progress/style.css +51 -51
  190. package/lib/modules/whiteboard/components/switch-theme/index.css +99 -99
  191. package/lib/modules/whiteboard/components/toolbar/style.css +591 -591
  192. package/lib/modules/whiteboard/style.css +140 -140
  193. package/lib/modules/widget/index.css +9 -9
  194. package/lib/object-manager.js +8 -8
  195. package/lib/plugins/module-dev-plugin.js +11 -11
  196. package/lib/providers/ability-provider.js +17 -17
  197. package/lib/providers/board-share/struct.js +6 -6
  198. package/lib/providers/dialog/provider.base.js +2 -2
  199. package/lib/providers/dialog/type.js +3 -3
  200. package/lib/providers/multi-display-provider.js +4 -4
  201. package/lib/providers/privilege-provider.js +7 -7
  202. package/lib/providers/screen-share/provider.base.d.ts +2 -13
  203. package/lib/providers/screen-share/provider.base.js +28 -35
  204. package/lib/providers/screen-share/provider.electron.d.ts +0 -5
  205. package/lib/providers/screen-share/provider.electron.js +31 -18
  206. package/lib/providers/screen-share/stream-state-sync.js +18 -18
  207. package/lib/providers/screen-share/struct.js +24 -24
  208. package/lib/providers/screen-share/type.d.ts +0 -16
  209. package/lib/providers/stt-provider/stt-provider.d.ts +3 -4
  210. package/lib/providers/stt-provider/stt-provider.js +145 -146
  211. package/lib/providers/stt-provider/type.d.ts +2 -10
  212. package/lib/providers/stt-provider/type.js +3 -3
  213. package/lib/providers/window/main-window.js +2 -2
  214. package/lib/providers/window/provider.js +5 -5
  215. package/lib/providers/window/renderer-window.js +2 -2
  216. package/lib/schema.js +26 -26
  217. package/lib/shared-data/meeting-time.js +8 -8
  218. package/lib/shared-data/setting.js +3 -3
  219. package/lib/translations/enUS.d.ts +12 -1
  220. package/lib/translations/enUS.js +22 -19
  221. package/lib/translations/zhCN.d.ts +12 -1
  222. package/lib/translations/zhCN.js +20 -17
  223. package/lib/type.js +21 -21
  224. package/lib/ui-scene-switch.js +2 -2
  225. package/lib/utilities/constant.js +6 -6
  226. package/lib/utilities/renderer.js +8 -8
  227. package/lib/utilities/shared-storage.js +2 -2
  228. package/lib/utilities/tools.js +14 -14
  229. package/package.json +78 -79
  230. package/public/assets/fcr_chat_reddot.svg +5 -5
  231. package/public/assets/fcr_grid_big.svg +3 -3
  232. package/public/assets/fcr_leave2.svg +58 -58
  233. package/public/assets/fcr_listontop_big.svg +3 -3
  234. package/public/assets/step-gradient.svg +10 -10
  235. package/public/fragment.html +10 -10
  236. package/public/index.html +183 -183
  237. package/public/meeting-manager.js +405 -405
@@ -15,8 +15,6 @@ var _popover = require("agora-ui-foundation/lib/components/popover");
15
15
  var _videoMenu = _interopRequireDefault(require("../../../components/device-control/components/video-menu"));
16
16
  var _hooks = _interopRequireDefault(require("../../../components/device-control/hooks"));
17
17
  var _store = require("../../../components/device-control/store.base");
18
- var _boundaryDetector = require("../boundary-detector");
19
- var _store2 = require("../../store");
20
18
  var _context = require("../../context");
21
19
  var _tooltip = require("agora-ui-foundation/lib/components/tooltip");
22
20
  var _jsxRuntime = require("react/jsx-runtime");
@@ -27,10 +25,8 @@ var CameraControl = exports.CameraControl = (0, _mobxReact.observer)(function ()
27
25
  enableCamera = _useContext.enableCamera,
28
26
  cameraList = _useContext.cameraList,
29
27
  checkMediaPermission = _useContext.checkMediaPermission;
30
- var _useContext2 = (0, _react.useContext)(_store2.StoreContext),
31
- setPopoverArea = _useContext2.setPopoverArea;
32
- var _useContext3 = (0, _react.useContext)(_context.ControlBarCalculationContext),
33
- isShareActionNavHidden = _useContext3.isShareActionNavHidden;
28
+ var _useContext2 = (0, _react.useContext)(_context.ControlBarCalculationContext),
29
+ isShareActionNavHidden = _useContext2.isShareActionNavHidden;
34
30
  var _useDeviceTooltipVisi = (0, _hooks["default"])(),
35
31
  popoverOpened = _useDeviceTooltipVisi.popoverOpened,
36
32
  handlePopoverVisibleChanged = _useDeviceTooltipVisi.handlePopoverVisibleChanged,
@@ -46,18 +42,9 @@ var CameraControl = exports.CameraControl = (0, _mobxReact.observer)(function ()
46
42
  iconPrimary: "var(--fcr_web_ui_scene_mainicon1)",
47
43
  iconSecondary: 'var(--fcr_ui_scene_ramp_red6)'
48
44
  };
49
- var handleBoundariesChanged = (0, _react.useCallback)(function (boundaries) {
50
- setPopoverArea(boundaries);
51
- }, []);
52
45
  (0, _react.useEffect)(function () {
53
46
  if (isShareActionNavHidden) {
54
47
  _setPopoverOpened(false);
55
- setPopoverArea({
56
- x: 0,
57
- y: 0,
58
- width: 0,
59
- height: 0
60
- });
61
48
  }
62
49
  }, [isShareActionNavHidden]);
63
50
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
@@ -100,32 +87,13 @@ var CameraControl = exports.CameraControl = (0, _mobxReact.observer)(function ()
100
87
  visible: popoverOpened,
101
88
  onVisibleChange: function onVisibleChange(visible) {
102
89
  handlePopoverVisibleChanged(visible);
103
- if (!visible) {
104
- setPopoverArea({
105
- x: 0,
106
- y: 0,
107
- width: 0,
108
- height: 0
109
- });
110
- }
111
90
  },
112
91
  overlayClassName: "device-control--device-popover",
113
- content: /*#__PURE__*/(0, _jsxRuntime.jsx)(_boundaryDetector.BoundaryDetector, {
114
- onBoundariesChanged: handleBoundariesChanged,
115
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_videoMenu["default"], {
116
- setPopoverOpened: function setPopoverOpened(opened) {
117
- _setPopoverOpened(opened);
118
- if (!opened) {
119
- setPopoverArea({
120
- x: 0,
121
- y: 0,
122
- width: 0,
123
- height: 0
124
- });
125
- }
126
- },
127
- onMoreClick: function onMoreClick() {}
128
- })
92
+ content: /*#__PURE__*/(0, _jsxRuntime.jsx)(_videoMenu["default"], {
93
+ setPopoverOpened: function setPopoverOpened(opened) {
94
+ _setPopoverOpened(opened);
95
+ },
96
+ onMoreClick: function onMoreClick() {}
129
97
  }),
130
98
  trigger: "click",
131
99
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
@@ -15,7 +15,6 @@ var _type2 = require("agora-ui-foundation/lib/components/icon/type");
15
15
  var _tooltip = require("agora-ui-foundation/lib/components/tooltip");
16
16
  var _store = require("../store");
17
17
  var _i18n = require("agora-ui-foundation/lib/i18n");
18
- var _boundaryDetector = require("./boundary-detector");
19
18
  var _popover = require("agora-ui-foundation/lib/components/popover");
20
19
  var _context = require("../context");
21
20
  var _jsxRuntime = require("react/jsx-runtime");
@@ -77,48 +76,34 @@ var CloudRecordingButtons = exports.CloudRecordingButtons = (0, _mobxReact.obser
77
76
  var StopCloudRecording = exports.StopCloudRecording = (0, _mobxReact.observer)(function (_ref) {
78
77
  var stopCloudRecording = _ref.stopCloudRecording,
79
78
  children = _ref.children;
80
- var _useContext2 = (0, _react.useContext)(_store.StoreContext),
81
- setPopoverArea = _useContext2.setPopoverArea;
82
79
  var _useState = (0, _react.useState)(false),
83
80
  _useState2 = (0, _slicedToArray2["default"])(_useState, 2),
84
81
  visible = _useState2[0],
85
82
  setVisible = _useState2[1];
86
83
  var transI18n = (0, _i18n.useI18n)();
87
- var handleBoundariesChanged = (0, _react.useCallback)(function (boundaries) {
88
- setPopoverArea(boundaries);
89
- }, []);
90
- var _useContext3 = (0, _react.useContext)(_context.ControlBarCalculationContext),
91
- isShareActionNavHidden = _useContext3.isShareActionNavHidden;
84
+ var _useContext2 = (0, _react.useContext)(_context.ControlBarCalculationContext),
85
+ isShareActionNavHidden = _useContext2.isShareActionNavHidden;
92
86
  (0, _react.useEffect)(function () {
93
87
  if (isShareActionNavHidden) {
94
88
  setVisible(false);
95
- setPopoverArea({
96
- x: 0,
97
- y: 0,
98
- width: 0,
99
- height: 0
100
- });
101
89
  }
102
90
  }, [isShareActionNavHidden]);
103
- var content = /*#__PURE__*/(0, _jsxRuntime.jsx)(_boundaryDetector.BoundaryDetector, {
104
- onBoundariesChanged: handleBoundariesChanged,
105
- children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
106
- className: "leave-container",
107
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
108
- className: "leave-title",
109
- children: transI18n('fmt_actionbar_record_tips_stoprecord')
110
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
111
- className: "leave-confirm",
112
- onClick: stopCloudRecording,
113
- children: transI18n('fmt_actionbar_record_option_stoprecord')
114
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
115
- className: "leave-cancel",
116
- onClick: function onClick() {
117
- return setVisible(false);
118
- },
119
- children: transI18n('fmt_security_buttons_cancel')
120
- })]
121
- })
91
+ var content = /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
92
+ className: "leave-container",
93
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
94
+ className: "leave-title",
95
+ children: transI18n('fmt_actionbar_record_tips_stoprecord')
96
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
97
+ className: "leave-confirm",
98
+ onClick: stopCloudRecording,
99
+ children: transI18n('fmt_actionbar_record_option_stoprecord')
100
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
101
+ className: "leave-cancel",
102
+ onClick: function onClick() {
103
+ return setVisible(false);
104
+ },
105
+ children: transI18n('fmt_security_buttons_cancel')
106
+ })]
122
107
  });
123
108
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_popover.FcrPopover, {
124
109
  showArrow: false,
@@ -1,133 +1,133 @@
1
- .meeting-details {
2
- display: flex;
3
- flex-direction: column;
4
- width: 290px;
5
- padding: 20px 15px 15px 15px;
6
- border-radius: var(--fcr_cornerradius_s);
7
- background-color: var(--fcr_mobile_ui_scene_color_popup_fill2, #3c3c3c);
8
- box-shadow: none;
9
- }
10
-
11
- .meeting-details__header {
12
- display: flex;
13
- align-items: center;
14
- font-size: 14px;
15
- font-weight: 600;
16
- color: var(--fcr_ui_scene_icontext1, #ffffff);
17
- user-select: none;
18
- }
19
-
20
- .meeting-details__content-meeting-subject {
21
- font-size: 15px;
22
- font-weight: 500;
23
- color: var(--fcr_ui_scene_icontext1, #ffffff);
24
- word-break: break-all;
25
- text-align: left;
26
- min-height: 34px;
27
- line-height: 23px;
28
- }
29
-
30
- .meeting-details__content-meeting-id,
31
- .meeting-details__content-code,
32
- .meeting-details__content-share-link {
33
- display: flex;
34
- align-items: center;
35
- line-height: 34px;
36
- font-size: 12px;
37
- font-weight: 300;
38
- color: var(--fcr_ui_scene_icontext1, #ffffff);
39
- }
40
-
41
- .meeting-details__content-meeting-id > span,
42
- .meeting-details__content-code > span,
43
- .meeting-details__content-share-link > span {
44
- font-weight: 600;
45
- }
46
-
47
- .meeting-details__content-meeting-id > label,
48
- .meeting-details__content-code > label,
49
- .meeting-details__content-share-link > label {
50
- user-select: none;
51
- flex-shrink: 0;
52
- }
53
-
54
- .meeting-details__content-meeting-id > span,
55
- .meeting-details__content-code > span,
56
- .meeting-details__content-share-link > span {
57
- margin-left: 10px;
58
- flex-grow: 1;
59
- text-align: right;
60
- text-overflow: ellipsis;
61
- overflow: hidden;
62
- white-space: nowrap;
63
- }
64
-
65
- .meeting-details__content-code > span.none {
66
- font-weight: 400 !important;
67
- }
68
-
69
- .meeting-details__content-meeting-id > div > svg,
70
- .meeting-details__content-code > div > svg,
71
- .meeting-details__content-share-link > div > svg {
72
- flex-shrink: 0;
73
- margin-left: 8px;
74
- border-radius: var(--fcr_cornerradius_s, 4px);
75
- cursor: pointer;
76
- border: 0.5px solid var(--fcr_ui_scene_line1);
77
- border-radius: var(--fcr_cornerradius_xs);
78
- }
79
-
80
- .meeting-details__content-meeting-id > div > svg:hover,
81
- .meeting-details__content-code > div > svg:hover,
82
- .meeting-details__content-share-link > div > svg:hover {
83
- background-color: var(--fcr_web_ui_scene_hover);
84
- border: none;
85
- }
86
-
87
- .meeting-details__content-meeting-id > div > svg:hover path,
88
- .meeting-details__content-code > div > svg:hover path,
89
- .meeting-details__content-share-link > div > svg:hover path {
90
- fill: var(--fcr_web_ui_scene_mainicon2);
91
- }
92
-
93
- .meeting-details__content-meeting-duration span {
94
- padding-right: 30px;
95
- }
96
-
97
- .meeting-details__footer {
98
- margin-top: 4px;
99
- display: flex;
100
- }
101
-
102
- .meeting-details__footer > button {
103
- flex: 1;
104
- }
105
-
106
- .meeting-details__footer > button > p {
107
- display: flex;
108
- align-items: center;
109
- position: relative;
110
- }
111
-
112
- .meeting-details__footer > button > p > svg {
113
- position: absolute;
114
- left: -18px;
115
- }
116
-
117
- .meeting-details__footer > button > p > span {
118
- margin-left: 8px;
119
- }
120
-
121
- .meeting-details__reset-icon {
122
- animation: rotate 1s linear infinite;
123
- }
124
-
125
- @keyframes rotate {
126
- from {
127
- transform: rotate(0deg);
128
- }
129
-
130
- to {
131
- transform: rotate(360deg);
132
- }
133
- }
1
+ .meeting-details {
2
+ display: flex;
3
+ flex-direction: column;
4
+ width: 290px;
5
+ padding: 20px 15px 15px 15px;
6
+ border-radius: var(--fcr_cornerradius_s);
7
+ background-color: var(--fcr_mobile_ui_scene_color_popup_fill2, #3c3c3c);
8
+ box-shadow: none;
9
+ }
10
+
11
+ .meeting-details__header {
12
+ display: flex;
13
+ align-items: center;
14
+ font-size: 14px;
15
+ font-weight: 600;
16
+ color: var(--fcr_ui_scene_icontext1, #ffffff);
17
+ user-select: none;
18
+ }
19
+
20
+ .meeting-details__content-meeting-subject {
21
+ font-size: 15px;
22
+ font-weight: 500;
23
+ color: var(--fcr_ui_scene_icontext1, #ffffff);
24
+ word-break: break-all;
25
+ text-align: left;
26
+ min-height: 34px;
27
+ line-height: 23px;
28
+ }
29
+
30
+ .meeting-details__content-meeting-id,
31
+ .meeting-details__content-code,
32
+ .meeting-details__content-share-link {
33
+ display: flex;
34
+ align-items: center;
35
+ line-height: 34px;
36
+ font-size: 12px;
37
+ font-weight: 300;
38
+ color: var(--fcr_ui_scene_icontext1, #ffffff);
39
+ }
40
+
41
+ .meeting-details__content-meeting-id > span,
42
+ .meeting-details__content-code > span,
43
+ .meeting-details__content-share-link > span {
44
+ font-weight: 600;
45
+ }
46
+
47
+ .meeting-details__content-meeting-id > label,
48
+ .meeting-details__content-code > label,
49
+ .meeting-details__content-share-link > label {
50
+ user-select: none;
51
+ flex-shrink: 0;
52
+ }
53
+
54
+ .meeting-details__content-meeting-id > span,
55
+ .meeting-details__content-code > span,
56
+ .meeting-details__content-share-link > span {
57
+ margin-left: 10px;
58
+ flex-grow: 1;
59
+ text-align: right;
60
+ text-overflow: ellipsis;
61
+ overflow: hidden;
62
+ white-space: nowrap;
63
+ }
64
+
65
+ .meeting-details__content-code > span.none {
66
+ font-weight: 400 !important;
67
+ }
68
+
69
+ .meeting-details__content-meeting-id > div > svg,
70
+ .meeting-details__content-code > div > svg,
71
+ .meeting-details__content-share-link > div > svg {
72
+ flex-shrink: 0;
73
+ margin-left: 8px;
74
+ border-radius: var(--fcr_cornerradius_s, 4px);
75
+ cursor: pointer;
76
+ border: 0.5px solid var(--fcr_ui_scene_line1);
77
+ border-radius: var(--fcr_cornerradius_xs);
78
+ }
79
+
80
+ .meeting-details__content-meeting-id > div > svg:hover,
81
+ .meeting-details__content-code > div > svg:hover,
82
+ .meeting-details__content-share-link > div > svg:hover {
83
+ background-color: var(--fcr_web_ui_scene_hover);
84
+ border: none;
85
+ }
86
+
87
+ .meeting-details__content-meeting-id > div > svg:hover path,
88
+ .meeting-details__content-code > div > svg:hover path,
89
+ .meeting-details__content-share-link > div > svg:hover path {
90
+ fill: var(--fcr_web_ui_scene_mainicon2);
91
+ }
92
+
93
+ .meeting-details__content-meeting-duration span {
94
+ padding-right: 30px;
95
+ }
96
+
97
+ .meeting-details__footer {
98
+ margin-top: 4px;
99
+ display: flex;
100
+ }
101
+
102
+ .meeting-details__footer > button {
103
+ flex: 1;
104
+ }
105
+
106
+ .meeting-details__footer > button > p {
107
+ display: flex;
108
+ align-items: center;
109
+ position: relative;
110
+ }
111
+
112
+ .meeting-details__footer > button > p > svg {
113
+ position: absolute;
114
+ left: -18px;
115
+ }
116
+
117
+ .meeting-details__footer > button > p > span {
118
+ margin-left: 8px;
119
+ }
120
+
121
+ .meeting-details__reset-icon {
122
+ animation: rotate 1s linear infinite;
123
+ }
124
+
125
+ @keyframes rotate {
126
+ from {
127
+ transform: rotate(0deg);
128
+ }
129
+
130
+ to {
131
+ transform: rotate(360deg);
132
+ }
133
+ }
@@ -21,8 +21,6 @@ var _noneMenu = _interopRequireDefault(require("../../../components/device-contr
21
21
  var _phoneMenu = _interopRequireDefault(require("../../../components/device-control/components/phone-menu"));
22
22
  var _hooks = _interopRequireDefault(require("../../../components/device-control/hooks"));
23
23
  var _store = require("../../../components/device-control/store.base");
24
- var _boundaryDetector = require("../boundary-detector");
25
- var _store2 = require("../../store");
26
24
  var _context = require("../../context");
27
25
  var _tooltip = require("agora-ui-foundation/lib/components/tooltip");
28
26
  var _jsxRuntime = require("react/jsx-runtime");
@@ -66,10 +64,8 @@ var MicrophoneControl = exports.MicrophoneControl = (0, _mobxReact.observer)(fun
66
64
  checkMediaPermission = _useContext2.checkMediaPermission,
67
65
  connectType = _useContext2.connectType,
68
66
  microphoneState = _useContext2.microphoneState;
69
- var _useContext3 = (0, _react.useContext)(_store2.StoreContext),
70
- setPopoverArea = _useContext3.setPopoverArea;
71
- var _useContext4 = (0, _react.useContext)(_context.ControlBarCalculationContext),
72
- isShareActionNavHidden = _useContext4.isShareActionNavHidden;
67
+ var _useContext3 = (0, _react.useContext)(_context.ControlBarCalculationContext),
68
+ isShareActionNavHidden = _useContext3.isShareActionNavHidden;
73
69
  var _useDeviceTooltipVisi = (0, _hooks["default"])(),
74
70
  popoverOpened = _useDeviceTooltipVisi.popoverOpened,
75
71
  _setPopoverOpened = _useDeviceTooltipVisi.setPopoverOpened,
@@ -90,18 +86,9 @@ var MicrophoneControl = exports.MicrophoneControl = (0, _mobxReact.observer)(fun
90
86
  iconPrimary: "var(--fcr_web_ui_scene_mainicon1)",
91
87
  iconSecondary: 'var(--fcr_ui_scene_ramp_red6)'
92
88
  };
93
- var handleBoundariesChanged = (0, _react.useCallback)(function (boundaries) {
94
- setPopoverArea(boundaries);
95
- }, []);
96
89
  (0, _react.useEffect)(function () {
97
90
  if (isShareActionNavHidden) {
98
91
  _setPopoverOpened(false);
99
- setPopoverArea({
100
- x: 0,
101
- y: 0,
102
- width: 0,
103
- height: 0
104
- });
105
92
  }
106
93
  }, [isShareActionNavHidden]);
107
94
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
@@ -169,48 +156,21 @@ var MicrophoneControl = exports.MicrophoneControl = (0, _mobxReact.observer)(fun
169
156
  visible: popoverOpened,
170
157
  onVisibleChange: handlePopoverVisibleChanged,
171
158
  trigger: "click",
172
- content: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_boundaryDetector.BoundaryDetector, {
173
- onBoundariesChanged: handleBoundariesChanged,
159
+ content: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
174
160
  children: [connectType === _type2.FcrUIConnectType.NONE && /*#__PURE__*/(0, _jsxRuntime.jsx)(_noneMenu["default"], {
175
161
  onItemClick: function onItemClick() {
176
162
  handlePopoverVisibleChanged(false);
177
- setPopoverArea({
178
- x: 0,
179
- y: 0,
180
- width: 0,
181
- height: 0
182
- });
183
163
  }
184
164
  }), connectType === _type2.FcrUIConnectType.COMPUTER && /*#__PURE__*/(0, _jsxRuntime.jsx)(_audioMenu["default"], {
185
165
  setPopoverOpened: function setPopoverOpened(opened) {
186
166
  _setPopoverOpened(opened);
187
- if (!opened) {
188
- setPopoverArea({
189
- x: 0,
190
- y: 0,
191
- width: 0,
192
- height: 0
193
- });
194
- }
195
167
  },
196
168
  onConnectClick: function onConnectClick() {
197
169
  handlePopoverVisibleChanged(false);
198
- setPopoverArea({
199
- x: 0,
200
- y: 0,
201
- width: 0,
202
- height: 0
203
- });
204
170
  }
205
171
  }), connectType === _type2.FcrUIConnectType.PHONE && /*#__PURE__*/(0, _jsxRuntime.jsx)(_phoneMenu["default"], {
206
172
  onItemClick: function onItemClick() {
207
173
  handlePopoverVisibleChanged(false);
208
- setPopoverArea({
209
- x: 0,
210
- y: 0,
211
- width: 0,
212
- height: 0
213
- });
214
174
  }
215
175
  })]
216
176
  }),