fcr-ui-scene 3.4.2 → 3.4.4

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 (215) hide show
  1. package/lib/common/device-store.d.ts +23 -14
  2. package/lib/common/device-store.js +361 -252
  3. package/lib/common/device-stream-store.d.ts +8 -14
  4. package/lib/common/device-stream-store.js +254 -116
  5. package/lib/common/event-store.d.ts +35 -10
  6. package/lib/common/event-store.js +64 -13
  7. package/lib/common/security-store.d.ts +47 -39
  8. package/lib/common/security-store.js +335 -379
  9. package/lib/electron/app.js +1 -0
  10. package/lib/modules/action-bar/action-bar-collapes-items.d.ts +4 -1
  11. package/lib/modules/action-bar/action-bar-collapes-items.js +38 -21
  12. package/lib/modules/action-bar/components/apps/useWidgetList.d.ts +7 -0
  13. package/lib/modules/action-bar/components/apps/useWidgetList.js +43 -0
  14. package/lib/modules/action-bar/components/leave/assign-host.d.ts +8 -1
  15. package/lib/modules/action-bar/components/leave/assign-host.js +1 -1
  16. package/lib/modules/action-bar/components/leave/leave-meeting.d.ts +16 -1
  17. package/lib/modules/action-bar/smaller.js +5 -5
  18. package/lib/modules/chat/chat-bar/index.css +6 -0
  19. package/lib/modules/chat/chat-bar/index.d.ts +3 -3
  20. package/lib/modules/chat/chat-bar/index.js +51 -39
  21. package/lib/modules/chat/chat-select/index.css +27 -7
  22. package/lib/modules/chat/chat-select/index.d.ts +1 -1
  23. package/lib/modules/chat/chat-select/index.js +18 -4
  24. package/lib/modules/chat/chat.d.ts +1 -2
  25. package/lib/modules/chat/chat.js +196 -128
  26. package/lib/modules/chat/components/chat-select/select-input/index.d.ts +7 -0
  27. package/lib/modules/chat/components/chat-select/select-input/index.js +35 -0
  28. package/lib/modules/chat/components/chat-select/select-item/index.d.ts +12 -0
  29. package/lib/modules/chat/components/chat-select/select-item/index.js +153 -0
  30. package/lib/modules/chat/components/chat-tabs/index.d.ts +2 -0
  31. package/lib/modules/chat/components/chat-tabs/index.js +61 -0
  32. package/lib/modules/chat/components/message-list/chat-empty/index.d.ts +2 -0
  33. package/lib/modules/chat/components/message-list/chat-empty/index.js +26 -0
  34. package/lib/modules/chat/components/message-list/history-unread-message-button/index.d.ts +7 -0
  35. package/lib/modules/chat/components/message-list/history-unread-message-button/index.js +55 -0
  36. package/lib/modules/chat/components/message-list/message-item/index.d.ts +15 -0
  37. package/lib/modules/chat/components/message-list/message-item/index.js +279 -0
  38. package/lib/modules/chat/components/message-list/scroll-bottom-button/index.d.ts +9 -0
  39. package/lib/modules/chat/components/message-list/scroll-bottom-button/index.js +67 -0
  40. package/lib/modules/chat/message-list.js +68 -51
  41. package/lib/modules/components/dialog-container/component/body.js +1 -2
  42. package/lib/modules/components/dialog-container/index.d.ts +2 -2
  43. package/lib/modules/components/member-window/components/member-actions/components/audio-control.d.ts +6 -0
  44. package/lib/modules/components/member-window/components/member-actions/components/audio-control.js +36 -0
  45. package/lib/modules/components/member-window/components/member-actions/components/icon-buttons/index.d.ts +40 -0
  46. package/lib/modules/components/member-window/components/member-actions/components/icon-buttons/index.js +170 -0
  47. package/lib/modules/components/member-window/components/member-actions/components/icon-status.d.ts +11 -0
  48. package/lib/modules/components/member-window/components/member-actions/components/icon-status.js +105 -0
  49. package/lib/modules/components/member-window/components/member-actions/components/layout/index.d.ts +9 -0
  50. package/lib/modules/components/member-window/components/member-actions/components/layout/index.js +42 -0
  51. package/lib/modules/components/member-window/components/member-actions/components/more-actions.d.ts +11 -0
  52. package/lib/modules/components/member-window/components/member-actions/components/more-actions.js +159 -0
  53. package/lib/modules/components/member-window/components/member-actions/components/share-status.d.ts +2 -0
  54. package/lib/modules/components/member-window/components/member-actions/components/share-status.js +32 -0
  55. package/lib/modules/components/member-window/components/member-actions/components/user-info.d.ts +16 -0
  56. package/lib/modules/components/member-window/components/member-actions/components/user-info.js +130 -0
  57. package/lib/modules/components/member-window/components/member-actions/components/user-tag.d.ts +12 -0
  58. package/lib/modules/components/member-window/components/member-actions/components/user-tag.js +57 -0
  59. package/lib/modules/components/member-window/components/member-actions/index.d.ts +3 -0
  60. package/lib/modules/components/member-window/components/member-actions/index.js +122 -0
  61. package/lib/modules/components/member-window/components/member-actions/libs/index.d.ts +2 -0
  62. package/lib/modules/components/member-window/components/member-actions/libs/index.js +24 -0
  63. package/lib/modules/components/member-window/components/member-actions/provider.d.ts +21 -0
  64. package/lib/modules/components/member-window/components/member-actions/provider.js +77 -0
  65. package/lib/modules/components/member-window/components/member-actions/store.d.ts +48 -0
  66. package/lib/modules/components/member-window/components/member-actions/store.js +306 -0
  67. package/lib/modules/components/member-window/components/member-board.d.ts +2 -0
  68. package/lib/modules/components/member-window/components/member-board.js +63 -0
  69. package/lib/modules/components/member-window/components/mic-volume.d.ts +2 -0
  70. package/lib/modules/components/member-window/components/mic-volume.js +23 -0
  71. package/lib/modules/components/member-window/components/video-player/components/local-video-player.d.ts +4 -0
  72. package/lib/modules/components/member-window/components/video-player/components/local-video-player.js +40 -0
  73. package/lib/modules/components/member-window/components/video-player/components/remote-video-player.d.ts +8 -0
  74. package/lib/modules/components/member-window/components/video-player/components/remote-video-player.js +62 -0
  75. package/lib/modules/components/member-window/components/video-player/index.d.ts +9 -0
  76. package/lib/modules/components/member-window/components/video-player/index.js +38 -0
  77. package/lib/modules/components/member-window/types.d.ts +78 -0
  78. package/lib/modules/components/member-window/types.js +6 -0
  79. package/lib/modules/connection-gateway/components/tabs/index.js +2 -1
  80. package/lib/modules/control-bar/components/meeting-details/index.js +7 -15
  81. package/lib/modules/control-bar/components/more-actions/index.js +5 -15
  82. package/lib/modules/dialog/components/system-preference/assets/bg1.png +0 -0
  83. package/lib/modules/dialog/components/system-preference/assets/bg2.png +0 -0
  84. package/lib/modules/dialog/components/system-preference/assets/fcr_png_host.png +0 -0
  85. package/lib/modules/dialog/components/widget/electron.d.ts +5 -0
  86. package/lib/modules/dialog/components/widget/electron.js +41 -0
  87. package/lib/modules/dialog/components/widget/index.d.ts +6 -0
  88. package/lib/modules/dialog/components/widget/index.js +41 -0
  89. package/lib/modules/dialog/type.d.ts +84 -0
  90. package/lib/modules/dialog/type.js +6 -0
  91. package/lib/modules/invite/components/pstn-invite.js +4 -13
  92. package/lib/modules/invite/pstn-invite.js +7 -9
  93. package/lib/modules/invite/store.d.ts +2 -0
  94. package/lib/modules/invite/store.js +6 -0
  95. package/lib/modules/invite/voip-invite.js +5 -6
  96. package/lib/modules/layout/member-window/index.css +116 -18
  97. package/lib/modules/layout/member-window/index.d.ts +10 -3
  98. package/lib/modules/layout/member-window/index.js +227 -115
  99. package/lib/modules/participant/attendee/index.css +0 -51
  100. package/lib/modules/participant/attendee/index.d.ts +8 -5
  101. package/lib/modules/participant/attendee/index.js +61 -15
  102. package/lib/modules/participant/components/attendee/components/interpreter-tag/index.d.ts +3 -0
  103. package/lib/modules/participant/components/attendee/components/interpreter-tag/index.js +48 -0
  104. package/lib/modules/participant/components/confirm-input/index.d.ts +6 -0
  105. package/lib/modules/participant/components/confirm-input/index.js +49 -0
  106. package/lib/modules/participant/components/drop-menu/util.d.ts +5 -0
  107. package/lib/modules/participant/components/drop-menu/util.js +28 -0
  108. package/lib/modules/participant/components/participants/components/footer/components/buttons.d.ts +6 -0
  109. package/lib/modules/participant/components/participants/components/footer/components/buttons.js +52 -0
  110. package/lib/modules/participant/components/participants/components/footer/components/drop-menu/index.css +60 -0
  111. package/lib/modules/participant/components/participants/components/footer/components/drop-menu/index.d.ts +2 -0
  112. package/lib/modules/participant/components/participants/components/footer/components/drop-menu/index.js +166 -0
  113. package/lib/modules/participant/components/participants/components/footer/components/drop-menu/util.d.ts +5 -0
  114. package/lib/modules/participant/components/participants/components/footer/components/drop-menu/util.js +28 -0
  115. package/lib/modules/participant/components/participants/components/footer/components/footer/index.css +13 -0
  116. package/lib/modules/participant/components/participants/components/footer/components/footer/index.d.ts +5 -0
  117. package/lib/modules/participant/components/participants/components/footer/components/footer/index.js +242 -0
  118. package/lib/modules/participant/components/participants/components/footer/index.d.ts +5 -0
  119. package/lib/modules/participant/components/participants/components/footer/index.js +47 -0
  120. package/lib/modules/participant/components/participants/components/merge/index.d.ts +11 -0
  121. package/lib/modules/participant/components/participants/components/merge/index.js +49 -0
  122. package/lib/modules/participant/components/participants/components/participants/components/attendee/index.css +191 -0
  123. package/lib/modules/participant/components/participants/components/participants/components/attendee/index.d.ts +4 -0
  124. package/lib/modules/participant/components/participants/components/participants/components/attendee/index.js +204 -0
  125. package/lib/modules/participant/components/participants/components/participants/components/participants-more/index.css +49 -0
  126. package/lib/modules/participant/components/participants/components/participants/components/participants-more/index.d.ts +5 -0
  127. package/lib/modules/participant/components/participants/components/participants/components/participants-more/index.js +219 -0
  128. package/lib/modules/participant/components/participants/components/participants/components/user-row/index.d.ts +5 -0
  129. package/lib/modules/participant/components/participants/components/participants/components/user-row/index.js +70 -0
  130. package/lib/modules/participant/components/participants/components/participants/index.css +104 -0
  131. package/lib/modules/participant/components/participants/components/participants/index.d.ts +3 -0
  132. package/lib/modules/participant/components/participants/components/participants/index.js +110 -0
  133. package/lib/modules/participant/components/participants/components/render-tab/index.d.ts +2 -0
  134. package/lib/modules/participant/components/participants/components/render-tab/index.js +49 -0
  135. package/lib/modules/participant/components/participants/components/render-user/components/attendee/components/interpreter-tag/index.d.ts +3 -0
  136. package/lib/modules/participant/components/participants/components/render-user/components/attendee/components/interpreter-tag/index.js +48 -0
  137. package/lib/modules/participant/components/participants/components/render-user/components/attendee/components/microphone-indicator/index.d.ts +6 -0
  138. package/lib/modules/participant/components/participants/components/render-user/components/attendee/components/microphone-indicator/index.js +28 -0
  139. package/lib/modules/participant/components/participants/components/render-user/components/attendee/components/user-avatar/index.d.ts +7 -0
  140. package/lib/modules/participant/components/participants/components/render-user/components/attendee/components/user-avatar/index.js +39 -0
  141. package/lib/modules/participant/components/participants/components/render-user/components/attendee/index.css +69 -0
  142. package/lib/modules/participant/components/participants/components/render-user/components/attendee/index.d.ts +5 -0
  143. package/lib/modules/participant/components/participants/components/render-user/components/attendee/index.js +135 -0
  144. package/lib/modules/participant/components/participants/components/render-user/components/user-action/components/audio-button/index.d.ts +7 -0
  145. package/lib/modules/participant/components/participants/components/render-user/components/user-action/components/audio-button/index.js +31 -0
  146. package/lib/modules/participant/components/participants/components/render-user/components/user-action/components/move-actions-popover/index.d.ts +12 -0
  147. package/lib/modules/participant/components/participants/components/render-user/components/user-action/components/move-actions-popover/index.js +82 -0
  148. package/lib/modules/participant/components/participants/components/render-user/components/user-action/components/move-to-mainroom-button/index.d.ts +4 -0
  149. package/lib/modules/participant/components/participants/components/render-user/components/user-action/components/move-to-mainroom-button/index.js +26 -0
  150. package/lib/modules/participant/components/participants/components/render-user/components/user-action/index.d.ts +2 -0
  151. package/lib/modules/participant/components/participants/components/render-user/components/user-action/index.js +75 -0
  152. package/lib/modules/participant/components/participants/components/render-user/index.d.ts +5 -0
  153. package/lib/modules/participant/components/participants/components/render-user/index.js +21 -0
  154. package/lib/modules/participant/components/participants/render-tab/index.d.ts +2 -0
  155. package/lib/modules/participant/components/participants/render-tab/index.js +49 -0
  156. package/lib/modules/participant/components/participants/render-user/index.d.ts +5 -0
  157. package/lib/modules/participant/components/participants/render-user/index.js +21 -0
  158. package/lib/modules/participant/components/participants/types.d.ts +96 -0
  159. package/lib/modules/participant/components/participants/types.js +37 -0
  160. package/lib/modules/participant/components/user-action/audio-button/index.d.ts +7 -0
  161. package/lib/modules/participant/components/user-action/audio-button/index.js +31 -0
  162. package/lib/modules/participant/components/user-action/move-actions-popover/index.d.ts +12 -0
  163. package/lib/modules/participant/components/user-action/move-actions-popover/index.js +82 -0
  164. package/lib/modules/participant/components/user-action/move-to-mainroom-button/index.d.ts +4 -0
  165. package/lib/modules/participant/components/user-action/move-to-mainroom-button/index.js +26 -0
  166. package/lib/modules/share-screen/selection/index.css +4 -0
  167. package/lib/modules/share-screen/selection/index.js +126 -129
  168. package/lib/modules/share-screen/share-state-bar/index.js +1 -1
  169. package/lib/modules/state-bar/meeting-details.js +29 -34
  170. package/lib/modules/video-window/components/deviceState/index.d.ts +7 -0
  171. package/lib/modules/video-window/components/deviceState/index.js +75 -0
  172. package/lib/modules/video-window/components/members/index.css +51 -0
  173. package/lib/modules/video-window/components/members/index.d.ts +2 -0
  174. package/lib/modules/video-window/components/members/index.js +130 -0
  175. package/lib/modules/video-window/components/speaking/index.css +86 -0
  176. package/lib/modules/video-window/components/speaking/index.d.ts +3 -0
  177. package/lib/modules/video-window/components/speaking/index.js +48 -0
  178. package/lib/modules/video-window/components/topControl/index.css +35 -0
  179. package/lib/modules/video-window/components/topControl/index.d.ts +3 -0
  180. package/lib/modules/video-window/components/topControl/index.js +79 -0
  181. package/lib/modules/widget/index.css +17 -0
  182. package/lib/modules/widget/index.d.ts +10 -0
  183. package/lib/modules/widget/index.js +114 -0
  184. package/lib/modules/widget/sdk.d.ts +30 -0
  185. package/lib/modules/widget/sdk.js +221 -0
  186. package/lib/modules/widget/store.d.ts +14 -0
  187. package/lib/modules/widget/store.js +28 -0
  188. package/lib/modules/widget/type.d.ts +155 -0
  189. package/lib/modules/widget/type.js +6 -0
  190. package/lib/modules/widget/view.d.ts +2 -0
  191. package/lib/modules/widget/view.js +47 -0
  192. package/lib/modules/widget/web-widget.d.ts +29 -0
  193. package/lib/modules/widget/web-widget.js +234 -0
  194. package/lib/providers/ability-provider.d.ts +24 -0
  195. package/lib/providers/ability-provider.js +36 -0
  196. package/lib/providers/widget-provider.d.ts +44 -0
  197. package/lib/providers/widget-provider.js +167 -0
  198. package/lib/schema.d.ts +114 -0
  199. package/lib/schema.js +77 -0
  200. package/lib/shared-data-source/member-data.d.ts +126 -0
  201. package/lib/shared-data-source/member-data.js +465 -0
  202. package/lib/translations/enUS.d.ts +5 -0
  203. package/lib/translations/enUS.js +9 -3
  204. package/lib/translations/zhCN.d.ts +5 -0
  205. package/lib/translations/zhCN.js +13 -7
  206. package/lib/utilities/extract.d.ts +1 -1
  207. package/lib/utilities/logger.d.ts +8 -0
  208. package/lib/utilities/logger.js +42 -0
  209. package/lib/utilities/meeting-detail.d.ts +2 -0
  210. package/lib/utilities/meeting-detail.js +56 -0
  211. package/lib/utilities/validate-params.d.ts +2 -0
  212. package/lib/utilities/validate-params.js +16 -0
  213. package/lib/widget-sdk.d.ts +2 -0
  214. package/lib/widget-sdk.js +13 -0
  215. package/package.json +5 -5
@@ -53,25 +53,24 @@ require("core-js/modules/esnext.typed-array.filter-reject.js");
53
53
  require("core-js/modules/esnext.typed-array.group-by.js");
54
54
  require("core-js/modules/esnext.typed-array.to-spliced.js");
55
55
  require("core-js/modules/esnext.typed-array.unique-by.js");
56
+ var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
57
+ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
56
58
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
57
59
  var _card = require("agora-ui-foundation/lib/components/card");
58
60
  var _type = require("agora-rte-sdk/lib/core/rtc/type");
59
61
  var _button = require("agora-ui-foundation/lib/components/button");
60
62
  var _shareAudio = require("agora-ui-foundation/lib/components/room-screen-share-state-bar/share-audio");
61
- var _tabs = require("agora-ui-foundation/lib/components/tabs");
62
- var _windowsControl = require("agora-ui-foundation/lib/components/windows-control");
63
63
  var _debounce = _interopRequireDefault(require("lodash/debounce"));
64
64
  var _mobxReact = require("mobx-react");
65
65
  var _react = require("react");
66
66
  var _tools = require("../../../utilities/tools");
67
- var _platform = require("../../../utilities/platform");
68
67
  var _type2 = require("../../../type");
69
68
  var _tooltip = require("agora-ui-foundation/lib/components/tooltip");
70
69
  var _i18n = require("agora-ui-foundation/lib/i18n");
71
70
  require("./index.css");
72
71
  var _store = require("../store");
73
- var _popover = require("agora-ui-foundation/lib/components/popover");
74
- var _openMicTips = _interopRequireDefault(require("../../../fragments/share-screen-selection/open-mic-tips"));
72
+ var _icon = require("agora-ui-foundation/lib/components/icon");
73
+ var _tabFrame = _interopRequireDefault(require("../../components/tab-frame"));
75
74
  var _jsxRuntime = require("react/jsx-runtime");
76
75
  var ShareSelectionWindowType = /*#__PURE__*/function (ShareSelectionWindowType) {
77
76
  ShareSelectionWindowType["BASIC"] = "basic";
@@ -89,38 +88,56 @@ var ShareSelection = exports.ShareSelection = (0, _mobxReact.observer)(function
89
88
  boardOwnerUser = _useContext.boardOwnerUser,
90
89
  localUser = _useContext.localUser,
91
90
  localUserRole = _useContext.localUserRole,
92
- title = _useContext.title,
93
- localMicrophoneMute = _useContext.localMicrophoneMute,
94
91
  handleChooseScreen = _useContext.handleChooseScreen,
95
92
  handleStartShare = _useContext.handleStartShare,
96
93
  setShareWithAudioState = _useContext.setShareWithAudioState,
97
94
  setShareAudioProcessingChannel = _useContext.setShareAudioProcessingChannel,
98
95
  closeShareScreenSelection = _useContext.closeShareScreenSelection,
99
96
  handlerBoardShareStop = _useContext.handlerBoardShareStop,
100
- sendLocalAudioStateEvent = _useContext.sendLocalAudioStateEvent;
97
+ hasLoopbackDevice = _useContext.hasLoopbackDevice,
98
+ openRelaunchTipsDialog = _useContext.openRelaunchTipsDialog;
101
99
  var _useState = (0, _react.useState)(false),
102
100
  _useState2 = (0, _slicedToArray2["default"])(_useState, 2),
103
101
  loading = _useState2[0],
104
102
  setLoading = _useState2[1];
105
- var _useState3 = (0, _react.useState)(false),
106
- _useState4 = (0, _slicedToArray2["default"])(_useState3, 2),
107
- showOpenMicTips = _useState4[0],
108
- setShowOpenMicTips = _useState4[1];
103
+ var t = (0, _i18n.useI18n)();
109
104
  (0, _react.useEffect)(function () {
110
105
  setLoading(false);
111
106
  return function () {
112
107
  setLoading(false);
113
108
  };
114
109
  }, []);
115
- var toggleShareWithAudio = function toggleShareWithAudio(target) {
116
- setShareWithAudioState(target);
117
- setShowOpenMicTips(target && localMicrophoneMute);
118
- };
119
- var openMicAndCloseTips = function openMicAndCloseTips() {
120
- setShareWithAudioState(true);
121
- setShowOpenMicTips(false);
122
- sendLocalAudioStateEvent();
123
- };
110
+ var toggleShareWithAudio = /*#__PURE__*/function () {
111
+ var _ref = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee(target) {
112
+ var hideTips;
113
+ return _regenerator["default"].wrap(function _callee$(_context) {
114
+ while (1) switch (_context.prev = _context.next) {
115
+ case 0:
116
+ if (target) {
117
+ _context.next = 3;
118
+ break;
119
+ }
120
+ setShareWithAudioState(target);
121
+ return _context.abrupt("return");
122
+ case 3:
123
+ _context.next = 5;
124
+ return hasLoopbackDevice();
125
+ case 5:
126
+ hideTips = _context.sent;
127
+ if (!hideTips) {
128
+ openRelaunchTipsDialog();
129
+ }
130
+ setShareWithAudioState(target);
131
+ case 8:
132
+ case "end":
133
+ return _context.stop();
134
+ }
135
+ }, _callee);
136
+ }));
137
+ return function toggleShareWithAudio(_x) {
138
+ return _ref.apply(this, arguments);
139
+ };
140
+ }();
124
141
  var handleOkClick = (0, _react.useCallback)((0, _debounce["default"])(function () {
125
142
  if (currentSelection) {
126
143
  setLoading(true);
@@ -130,120 +147,100 @@ var ShareSelection = exports.ShareSelection = (0, _mobxReact.observer)(function
130
147
  var transI18n = (0, _i18n.useI18n)();
131
148
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
132
149
  className: "share-selection-window",
133
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
134
- className: "share-selection-window-control draggable",
135
- children: (0, _platform.isWindows)() && /*#__PURE__*/(0, _jsxRuntime.jsx)(_windowsControl.FcrWindowControl, {
136
- onClose: closeShareScreenSelection,
137
- enableMinimize: false,
138
- enableMaximize: false
139
- })
140
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
141
- className: "share-selection-window__header fcr-flex-center draggable",
142
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_tabs.FcrTabs, {
143
- items: [{
144
- label: transI18n('fmt_screenshare_window_tab_basic'),
145
- key: ShareSelectionWindowType.BASIC
146
- }, {
147
- label: transI18n('fmt_screenshare_window_tab_advanced'),
148
- key: ShareSelectionWindowType.ADVANCED
149
- }],
150
- activeKey: ShareSelectionWindowType.BASIC,
151
- onChange: function onChange(key) {
152
- // throw new Error('Function not implemented.');
153
- }
154
- })
155
- }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
156
- className: "share-selection-window__share-content frc-flex",
157
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
158
- className: "share-selection-window__share-windows share-selection-window__share-card",
159
- children: screenCaptureSources.map(function (screen) {
160
- var type = _type.AgoraRtcScreenCaptureType.DISPLAY;
161
- var isWhiteboard = screen.id.split('-')[0] === 'whiteboard';
162
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_card.FcrCard, {
163
- disabled: isWhiteboard && !!(boardOwnerUser !== null && boardOwnerUser !== void 0 && boardOwnerUser.userId),
164
- title: isWhiteboard ? title : screen.title,
165
- active: currentSelectionType === type && screen.id === currentSelection || screen.id === currentSelection,
166
- onCardClick: function onCardClick() {
167
- handleChooseScreen(screen.id, type);
168
- },
169
- onDoubleClickCard: function onDoubleClickCard() {
170
- if (boardOwnerUser) return;
171
- handleStartShare(screen.id, type, shareWithAudio);
172
- },
173
- content: screen.image instanceof Uint8Array ? /*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
174
- src: (0, _tools.uint8ArrayToImageData)({
175
- buffer: screen.image,
176
- width: screen.imageWidth,
177
- height: screen.imageHeight
178
- }),
179
- alt: screen.title
180
- }) : [_type2.FcrUserRole.HOST, _type2.FcrUserRole.COHOST].includes(localUserRole) && isWhiteboard && (boardOwnerUser === null || boardOwnerUser === void 0 ? void 0 : boardOwnerUser.userId) !== (localUser === null || localUser === void 0 ? void 0 : localUser.userId) && boardOwnerUser ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_tooltip.FcrToolTip, {
181
- trigger: "hover",
182
- content: transI18n('fmt_screenshare_tips_alreadyopened'),
183
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.FcrButton, {
184
- styleType: "danger",
185
- size: "XXS",
186
- shape: "rounded",
187
- onClick: handlerBoardShareStop,
188
- children: transI18n('fmt_screenshare_button_stopshare')
189
- })
190
- }) : screen.image
191
- }, "screen-".concat(screen.id));
192
- })
193
- }), !!applicationCaptureSources.length && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
194
- className: "frc-flex",
195
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
196
- style: {
197
- marginTop: '38px'
198
- },
199
- children: transI18n('fmt_uimanager_labels_Application')
200
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
201
- className: "share-selection-window__share-application share-selection-window__share-card",
202
- children: applicationCaptureSources.map(function (application) {
203
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_card.FcrCard, {
204
- active: currentSelectionType === _type.AgoraRtcScreenCaptureType.WINDOW && application.id === currentSelection,
205
- onCardClick: function onCardClick() {
206
- handleChooseScreen(application.id, _type.AgoraRtcScreenCaptureType.WINDOW);
207
- },
208
- onDoubleClickCard: function onDoubleClickCard() {
209
- handleStartShare(application.id, _type.AgoraRtcScreenCaptureType.WINDOW, shareWithAudio);
150
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_tabFrame["default"], {
151
+ activeKey: ShareSelectionWindowType.BASIC,
152
+ tabs: [{
153
+ label: transI18n('fmt_screenshare_window_tab_basic'),
154
+ key: ShareSelectionWindowType.BASIC,
155
+ content: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
156
+ className: "share-selection-window__share-content frc-flex",
157
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
158
+ className: "share-selection-window__share-windows share-selection-window__share-card",
159
+ children: screenCaptureSources.map(function (screen) {
160
+ var type = _type.AgoraRtcScreenCaptureType.SCREEN;
161
+ var isWhiteboard = screen.id.split('-')[0] === 'whiteboard';
162
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_card.FcrCard, {
163
+ disabled: isWhiteboard && !!(boardOwnerUser !== null && boardOwnerUser !== void 0 && boardOwnerUser.userId),
164
+ title: isWhiteboard ? t('fmt_share_options_whiteboard') : screen.title,
165
+ active: currentSelectionType === type && screen.id === currentSelection || screen.id === currentSelection,
166
+ onCardClick: function onCardClick() {
167
+ handleChooseScreen(screen.id, type);
168
+ },
169
+ onDoubleClickCard: function onDoubleClickCard() {
170
+ if (boardOwnerUser) return;
171
+ handleStartShare(screen.id, type, shareWithAudio);
172
+ },
173
+ content: screen.image instanceof Uint8Array ? /*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
174
+ src: (0, _tools.uint8ArrayToImageData)({
175
+ buffer: screen.image,
176
+ width: screen.imageWidth,
177
+ height: screen.imageHeight
178
+ }),
179
+ alt: screen.title
180
+ }) : [_type2.FcrUserRole.HOST, _type2.FcrUserRole.COHOST].includes(localUserRole) && isWhiteboard && (boardOwnerUser === null || boardOwnerUser === void 0 ? void 0 : boardOwnerUser.userId) !== (localUser === null || localUser === void 0 ? void 0 : localUser.userId) && boardOwnerUser ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_tooltip.FcrToolTip, {
181
+ trigger: "hover",
182
+ content: transI18n('fmt_screenshare_tips_alreadyopened'),
183
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.FcrButton, {
184
+ styleType: "danger",
185
+ size: "XXS",
186
+ shape: "rounded",
187
+ onClick: handlerBoardShareStop,
188
+ children: transI18n('fmt_screenshare_button_stopshare')
189
+ })
190
+ }) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
191
+ type: screen.image,
192
+ size: 48,
193
+ colors: {
194
+ iconPrimary: '#4262FF'
195
+ }
196
+ })
197
+ }, "screen-".concat(screen.id));
198
+ })
199
+ }), !!applicationCaptureSources.length && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
200
+ className: "frc-flex",
201
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
202
+ style: {
203
+ marginTop: '38px'
210
204
  },
211
- title: application.title,
212
- content: /*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
213
- src: (0, _tools.uint8ArrayToImageData)({
214
- buffer: application.image,
215
- width: application.imageWidth,
216
- height: application.imageHeight
217
- }),
218
- alt: application.title
205
+ children: transI18n('fmt_uimanager_labels_Application')
206
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
207
+ className: "share-selection-window__share-application share-selection-window__share-card",
208
+ children: applicationCaptureSources.map(function (application) {
209
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_card.FcrCard, {
210
+ active: currentSelectionType === _type.AgoraRtcScreenCaptureType.WINDOW && application.id === currentSelection,
211
+ onCardClick: function onCardClick() {
212
+ handleChooseScreen(application.id, _type.AgoraRtcScreenCaptureType.WINDOW);
213
+ },
214
+ onDoubleClickCard: function onDoubleClickCard() {
215
+ handleStartShare(application.id, _type.AgoraRtcScreenCaptureType.WINDOW, shareWithAudio);
216
+ },
217
+ title: application.title,
218
+ content: /*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
219
+ src: (0, _tools.uint8ArrayToImageData)({
220
+ buffer: application.image,
221
+ width: application.imageWidth,
222
+ height: application.imageHeight
223
+ }),
224
+ alt: application.title
225
+ })
226
+ }, "application-".concat(application.id));
219
227
  })
220
- }, "application-".concat(application.id));
221
- })
222
- })]
223
- })]
228
+ })]
229
+ })]
230
+ })
231
+ }, {
232
+ label: transI18n('fmt_screenshare_window_tab_advanced'),
233
+ key: ShareSelectionWindowType.ADVANCED
234
+ }]
224
235
  }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
225
236
  className: "share-selection-window__footer",
226
237
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
227
238
  className: "share-selection-window__footer-action",
228
- children: currentSelection.split('-')[0] !== 'whiteboard' && /*#__PURE__*/(0, _jsxRuntime.jsx)(_popover.FcrPopover, {
229
- showArrow: true,
230
- visible: showOpenMicTips,
231
- overlayInnerStyle: {
232
- width: '270px'
233
- },
234
- placement: "top",
235
- content: /*#__PURE__*/(0, _jsxRuntime.jsx)(_openMicTips["default"], {
236
- onCancel: function onCancel() {
237
- return toggleShareWithAudio(false);
238
- },
239
- onOK: openMicAndCloseTips
240
- }),
241
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_shareAudio.ShareAudio, {
242
- shareWithAudio: shareWithAudio,
243
- toggleShareWithAudio: toggleShareWithAudio,
244
- currentAudioChannel: currentShareAudioProcessingChannel,
245
- onSwitchAudioChannel: setShareAudioProcessingChannel
246
- })
239
+ children: currentSelection.split('-')[0] !== 'whiteboard' && /*#__PURE__*/(0, _jsxRuntime.jsx)(_shareAudio.ShareAudio, {
240
+ shareWithAudio: shareWithAudio,
241
+ toggleShareWithAudio: toggleShareWithAudio,
242
+ currentAudioChannel: currentShareAudioProcessingChannel,
243
+ onSwitchAudioChannel: setShareAudioProcessingChannel
247
244
  })
248
245
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.FcrButton, {
249
246
  disabled: currentSelection.split('-')[0] === 'whiteboard' && !!(boardOwnerUser !== null && boardOwnerUser !== void 0 && boardOwnerUser.userId) || loading,
@@ -13,9 +13,9 @@ var _icon = require("agora-ui-foundation/lib/components/icon");
13
13
  var _type = require("agora-ui-foundation/lib/components/icon/type");
14
14
  var _react = require("react");
15
15
  var _reactRnd = require("react-rnd");
16
- var _shareStateNav = require("../../../fragments/control-bar/share-state-nav");
17
16
  require("./index.css");
18
17
  var _i18n = require("agora-ui-foundation/lib/i18n");
18
+ var _shareStateNav = require("../../control-bar/components/share-state-nav");
19
19
  var _jsxRuntime = require("react/jsx-runtime");
20
20
  var ShareStateBar = exports.ShareStateBar = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
21
21
  var shareScreenBarRef = (0, _react.useRef)(null);
@@ -6,11 +6,11 @@ Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
8
  exports.MeetingDetails = void 0;
9
- require("core-js/modules/es.array.concat.js");
9
+ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
10
+ require("core-js/modules/es.date.to-string.js");
10
11
  require("core-js/modules/es.regexp.exec.js");
11
12
  require("core-js/modules/es.string.replace.js");
12
13
  require("core-js/modules/web.timers.js");
13
- var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
14
14
  var _button = require("agora-ui-foundation/lib/components/button");
15
15
  var _icon = require("agora-ui-foundation/lib/components/icon");
16
16
  var _type = require("agora-ui-foundation/lib/components/icon/type");
@@ -23,6 +23,7 @@ var _store = require("./store");
23
23
  require("./meeting-detail.css");
24
24
  var _classnames = _interopRequireDefault(require("classnames"));
25
25
  var _meetingTime = require("../../hooks/meeting-time");
26
+ var _meetingDetail2 = require("../../utilities/meeting-detail");
26
27
  var _jsxRuntime = require("react/jsx-runtime");
27
28
  var CopyState = /*#__PURE__*/function (CopyState) {
28
29
  CopyState[CopyState["COPYINIT"] = 1] = "COPYINIT";
@@ -31,13 +32,25 @@ var CopyState = /*#__PURE__*/function (CopyState) {
31
32
  CopyState[CopyState["FAILED"] = 4] = "FAILED";
32
33
  return CopyState;
33
34
  }(CopyState || {});
35
+ var isNextDayAfterDuration = function isNextDayAfterDuration(startTimeStamp, duration) {
36
+ var futureTimestamp = startTimeStamp + duration;
37
+ var currentDate = new Date(startTimeStamp);
38
+ var futureDate = new Date(futureTimestamp);
39
+ var currentYear = currentDate.getFullYear();
40
+ var currentMonth = currentDate.getMonth();
41
+ var currentDay = currentDate.getDate();
42
+ var futureYear = futureDate.getFullYear();
43
+ var futureMonth = futureDate.getMonth();
44
+ var futureDay = futureDate.getDate();
45
+ return futureYear > currentYear || futureYear === currentYear && futureMonth > currentMonth || futureYear === currentYear && futureMonth === currentMonth && futureDay > currentDay;
46
+ };
34
47
  var MeetingDetails = exports.MeetingDetails = (0, _mobxReact.observer)(function () {
35
48
  var t = (0, _i18n.useI18n)();
36
49
  var copyTimer = null;
37
50
  var _useState = (0, _react.useState)({
38
51
  copyState: CopyState.COPYINIT,
39
52
  copyIcon: _type.FcrIconType.FCR_LINK,
40
- copyText: t('fmt_sharing_button_copydetailed')
53
+ copyText: t('fmt_popup_button_meetinginfor')
41
54
  }),
42
55
  _useState2 = (0, _slicedToArray2["default"])(_useState, 2),
43
56
  copyInfoState = _useState2[0],
@@ -62,28 +75,8 @@ var MeetingDetails = exports.MeetingDetails = (0, _mobxReact.observer)(function
62
75
  }, []);
63
76
  if (!roomInfo || !localUser) return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {});
64
77
  var displayMeetingId = (0, _tools.renderMeetingId)(meetingId, roomInfo.roomId);
65
-
66
- // const detailText = t('fmt_link_invitation_password', {
67
- // reason1: localUser.userName,
68
- // reason2: roomInfo?.roomName,
69
- // // reason3: dayjs(scheduleInfo?.startTime ?? 0).format('YYYY-MM-DD HH:mm:ss'),
70
- // reason3: '',
71
- // reason4: shareLink,
72
- // reason5: displayMeetingId,
73
- // reason6: !!password ? `${t('fmt_meeting_creatpage_label_password')}: ${password}` : '',
74
- // });
75
-
76
- var detailText = "\n".concat(t('fmt_link_invitation', {
77
- reason1: localUser.userName
78
- }), "\n").concat(t('fmt_link_invitation_topic', {
79
- reason1: roomInfo.roomName
80
- }), "\n").concat(t('fmt_link_invitation_link', {
81
- reason1: shareLink
82
- }), "\n").concat(t('fmt_link_invitation_id', {
83
- reason1: displayMeetingId
84
- }), "\n").concat(!!password ? t('fmt_link_invitation_password', {
85
- reason1: password
86
- }) : '').replace(/^\s*\n/gm, '');
78
+ var duration = (scheduleInfo === null || scheduleInfo === void 0 ? void 0 : scheduleInfo.duration) || 0;
79
+ var detailText = (0, _meetingDetail2.generateMeetingDetail)(localUser.userName, roomInfo.roomName, (0, _meetingDetail2.generateMeetingDuration)((scheduleInfo === null || scheduleInfo === void 0 ? void 0 : scheduleInfo.startTime) || 0, duration), shareLink, displayMeetingId, password !== null && password !== void 0 ? password : '');
87
80
  function handleCopyMeetingId(copyContent) {
88
81
  if (!copyContent) return;
89
82
  var content = meetingId ? copyContent : copyContent.replace(/\s+/g, '');
@@ -161,7 +154,7 @@ var MeetingDetails = exports.MeetingDetails = (0, _mobxReact.observer)(function
161
154
  setCopyInfoState({
162
155
  copyState: CopyState.COPYINIT,
163
156
  copyIcon: _type.FcrIconType.FCR_LINK,
164
- copyText: t('fmt_sharing_button_copydetailed')
157
+ copyText: t('fmt_popup_button_meetinginfor')
165
158
  });
166
159
  }, 1000);
167
160
  }
@@ -195,30 +188,32 @@ var MeetingDetails = exports.MeetingDetails = (0, _mobxReact.observer)(function
195
188
  size: 20
196
189
  })
197
190
  })]
198
- }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
191
+ }), !!password && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
199
192
  className: "meeting-details__content-share-link",
200
193
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
201
- children: t('fmt_sharing_label_invitationlink')
194
+ children: t('fmt_meeting_mainwindow_topbar_left_popup_label_meeting_password', {
195
+ reason1: ''
196
+ })
202
197
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
203
- children: shareLink
198
+ children: password
204
199
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
205
200
  onClick: function onClick() {
206
- return handlerCopyMeetingShareLink(shareLink);
201
+ return handleCopyMeetingPassword(password !== null && password !== void 0 ? password : '');
207
202
  },
208
203
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
209
204
  type: _type.FcrIconType.FCR_COPY_ICON,
210
205
  size: 20
211
206
  })
212
207
  })]
213
- }), !!password && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
208
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
214
209
  className: "meeting-details__content-share-link",
215
210
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
216
- children: t('fmt_meeting_creatpage_label_password')
211
+ children: t('fmt_sharing_label_invitationlink')
217
212
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
218
- children: password
213
+ children: shareLink
219
214
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
220
215
  onClick: function onClick() {
221
- return handleCopyMeetingPassword(password !== null && password !== void 0 ? password : '');
216
+ return handlerCopyMeetingShareLink(shareLink);
222
217
  },
223
218
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
224
219
  type: _type.FcrIconType.FCR_COPY_ICON,
@@ -0,0 +1,7 @@
1
+ import { DeviceStateProps } from '../../type';
2
+ export declare const DeviceState: ({ connectType, openConnection, microphoneVolumeLevel, enableMicrophone, microphoneEnabled, }: DeviceStateProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const AudioRecordinDeviceIcon: ({ size, micEnabled, volume, }: {
4
+ size?: number;
5
+ micEnabled?: boolean;
6
+ volume?: number;
7
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,75 @@
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.DeviceState = exports.AudioRecordinDeviceIcon = void 0;
8
+ var _mobxReact = require("mobx-react");
9
+ var _icon = require("agora-ui-foundation/lib/components/icon");
10
+ var _type = require("agora-ui-foundation/lib/components/icon/type");
11
+ var _microphoneIndicator = require("agora-ui-foundation/lib/components/microphone-indicator");
12
+ var _type2 = require("../../../../type");
13
+ var _jsxRuntime = require("react/jsx-runtime");
14
+ var DeviceState = exports.DeviceState = (0, _mobxReact.observer)(function (_ref) {
15
+ var connectType = _ref.connectType,
16
+ openConnection = _ref.openConnection,
17
+ microphoneVolumeLevel = _ref.microphoneVolumeLevel,
18
+ enableMicrophone = _ref.enableMicrophone,
19
+ microphoneEnabled = _ref.microphoneEnabled;
20
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
21
+ children: [connectType === _type2.FcrUIConnectType.NONE && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
22
+ onClick: function onClick() {
23
+ return openConnection('computer');
24
+ },
25
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
26
+ type: _type.FcrIconType.FCR_WEB_CONNECTSOUND,
27
+ size: 32,
28
+ colors: {
29
+ iconPrimary: "var(--fcr_web_ui_scene_mainicon1)",
30
+ iconSecondary: 'var(--fcr_ui_scene_ramp_green6)'
31
+ }
32
+ })
33
+ }), connectType === _type2.FcrUIConnectType.COMPUTER && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
34
+ onClick: function onClick() {
35
+ enableMicrophone(!microphoneEnabled);
36
+ },
37
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(AudioRecordinDeviceIcon, {
38
+ micEnabled: microphoneEnabled,
39
+ volume: microphoneVolumeLevel
40
+ })
41
+ }), connectType === _type2.FcrUIConnectType.PHONE && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
42
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
43
+ type: microphoneVolumeLevel > 20 ? _type.FcrIconType.FCR_PHONECALL3 : microphoneVolumeLevel > 10 ? _type.FcrIconType.FCR_PHONECALL2 : _type.FcrIconType.FCR_PHONECALL1,
44
+ size: 32,
45
+ colors: {
46
+ iconPrimary: 'var(--fcr_ui_scene_ramp_green6)'
47
+ }
48
+ })
49
+ })]
50
+ });
51
+ });
52
+ var AudioRecordinDeviceIcon = exports.AudioRecordinDeviceIcon = function AudioRecordinDeviceIcon(_ref2) {
53
+ var _ref2$size = _ref2.size,
54
+ size = _ref2$size === void 0 ? 32 : _ref2$size,
55
+ _ref2$micEnabled = _ref2.micEnabled,
56
+ micEnabled = _ref2$micEnabled === void 0 ? false : _ref2$micEnabled,
57
+ _ref2$volume = _ref2.volume,
58
+ volume = _ref2$volume === void 0 ? 0 : _ref2$volume;
59
+ var muteColor = {
60
+ iconPrimary: "var(--fcr_ui_scene_ramp_red6)",
61
+ iconSecondary: 'var(--fcr_ui_scene_ramp_red6)'
62
+ };
63
+ return !micEnabled ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
64
+ type: _type.FcrIconType.FCR_NOMUTE,
65
+ colors: muteColor,
66
+ size: size
67
+ }) : /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
68
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_microphoneIndicator.MicrophoneIndicator, {
69
+ pathColor: "var(--fcr_web_ui_scene_mainicon1)",
70
+ stopStartColor: "var(--fcr_web_ui_scene_mainicon1)",
71
+ size: size,
72
+ voicePercent: volume
73
+ })
74
+ });
75
+ };
@@ -0,0 +1,51 @@
1
+ .fcr-video-window-members {
2
+ gap: 0;
3
+ user-select: none;
4
+ position: relative;
5
+ width: 100%;
6
+ min-height: 144px;
7
+ flex: 1;
8
+ display: none;
9
+ flex-direction: column;
10
+ align-items: center;
11
+ box-sizing: border-box;
12
+ padding: 0 1px;
13
+ border: 1px solid transparent;
14
+ border-top: none;
15
+ background-color: var(--fcr_web_ui_scene_fill5);
16
+ border-radius: 0 0 var(--fcr_cornerradius_m) var(--fcr_cornerradius_m);
17
+ }
18
+ .fcr-video-window-members .fcr-video-window-members-item {
19
+ width: 100%;
20
+ min-height: 144px;
21
+ overflow: hidden;
22
+ flex: 1;
23
+ box-sizing: border-box;
24
+ }
25
+ .fcr-video-window-members .fcr-video-window-members-item_last {
26
+ border-radius: 0 0 var(--fcr_cornerradius_s) var(--fcr_cornerradius_s);
27
+ }
28
+ .fcr-video-window-members .fcr-video-window-members-item_last .fcr-member-window-excitation {
29
+ border-radius: 0 0 var(--fcr_cornerradius_s) var(--fcr_cornerradius_s);
30
+ }
31
+ .fcr-video-window-members.fcr-video-window-members_mediapreview {
32
+ display: flex;
33
+ border: 1px solid var(--fcr_ui_scene_line1);
34
+ border-top: 0;
35
+ }
36
+ .fcr-video-window-members.fcr-video-window-members_mediapreviews {
37
+ border: 1px solid var(--fcr_ui_scene_line1);
38
+ border-top: 0;
39
+ display: flex;
40
+ }
41
+ .fcr-video-window-members-resize {
42
+ position: absolute;
43
+ left: 0;
44
+ bottom: 0;
45
+ width: 100%;
46
+ display: none;
47
+ justify-content: space-between;
48
+ }
49
+ .fcr-video-window-members-resize_active {
50
+ display: flex;
51
+ }
@@ -0,0 +1,2 @@
1
+ import './index.css';
2
+ export declare const Members: () => import("react/jsx-runtime").JSX.Element;