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
@@ -1,129 +1,129 @@
1
- .fcr-subtitles-history__header {
2
- display: flex;
3
- align-items: center;
4
- padding: 7px 12px;
5
- font-size: 12px;
6
- line-height: 16px;
7
- color: var(--fcr_ui_scene_icontext1);
8
- background-color: var(--fcr_web_ui_scene_fill4_popup);
9
- border-radius: var(--fcr_cornerradius_s);
10
- }
11
-
12
- .fcr-no-data-subtitles-history {
13
- width: 100%;
14
- height: 100%;
15
- display: flex;
16
- flex-grow: 1;
17
- align-items: center;
18
- justify-content: center;
19
- flex-direction: column;
20
- }
21
-
22
- .fcr-no-data-subtitles-history img {
23
- width: 138px;
24
- height: 100;
25
- object-fit: contain;
26
- margin-bottom: 20px;
27
- }
28
-
29
- .fcr-no-data-subtitles-history span {
30
- font-weight: 400;
31
- font-size: 13px;
32
- line-height: 14px;
33
- font-family: PingFang HK;
34
- color: var(--fcr_ui_scene_icontext2);
35
- }
36
-
37
- .fcr-subtitles-history-wrapper {
38
- padding: 5px 15px 0 15px;
39
- height: 100%;
40
- }
41
-
42
- .fcr-dialog-container .fcr-subtitles-history-wrapper-electron {
43
- height: calc(100% - 46px);
44
- }
45
-
46
- .fcr-subtitles-history-container {
47
- height: 100%;
48
- display: flex;
49
- flex-direction: column;
50
- }
51
-
52
- .fcr-subtitles-history__content {
53
- margin: 24px 0 12px 0;
54
- flex-grow: 1;
55
- overflow-y: auto;
56
- }
57
-
58
- .fcr-subtitles-history__waiting-input {
59
- display: flex;
60
- align-items: center;
61
- }
62
-
63
- .fcr-subtitles-history__list__item {
64
- display: flex;
65
- padding-bottom: 24px;
66
- }
67
-
68
- .fcr-subtitles-history__list__item__action {
69
- margin: 0 auto;
70
- width: 128px;
71
- height: 30px;
72
- color: var(--fcr_ui_scene_icontext1);
73
- font-weight: 300;
74
- font-size: 12px;
75
- line-height: 30px;
76
- text-align: center;
77
- background: var(--fcr_chat_bg);
78
- border-radius: var(--fcr_cornerradius_xxxxl);
79
- }
80
-
81
- .fcr-subtitles-history__list__item__head-icon {
82
- margin-right: 12px;
83
- }
84
-
85
- .fcr-subtitles-history__list__item__info {
86
- display: flex;
87
- margin-bottom: 6px;
88
- font-size: 12px;
89
- line-height: 1;
90
- }
91
- .fcr-subtitles-history__list__item__info__name {
92
- margin-right: 8px;
93
- color: var(--fcr_ui_scene_icontext1);
94
- }
95
- .fcr-subtitles-history__list__item__info__time {
96
- color: var(--fcr_ui_scene_icontext3);
97
- }
98
-
99
- .fcr-subtitles-history__list__item__text,
100
- .fcr-subtitles-history__list__item__text--translation {
101
- font-size: 14px;
102
- font-weight: 500;
103
- line-height: 1.3;
104
- color: var(--fcr_ui_scene_icontext1);
105
- }
106
-
107
- .fcr-subtitles-history__list__item__text--translation {
108
- margin-top: 6px;
109
- color: var(--fcr_ui_scene_icontext2);
110
- }
111
-
112
- .fcr-subtitles-history__footer {
113
- display: flex;
114
- justify-content: space-between;
115
- padding: 10px 0;
116
- }
117
-
118
- .fcr-subtitles-history__footer__btn {
119
- width: 100%;
120
- }
121
-
122
- .fcr-ui-subtitles-history-request-dialog .fcr-confirm-content-title {
123
- text-align: center;
124
- }
125
-
126
- .fcr-ui-subtitles-history-request-dialog .fcr-button {
127
- width: 50%;
128
- flex-shrink: 1;
129
- }
1
+ .fcr-subtitles-history__header {
2
+ display: flex;
3
+ align-items: center;
4
+ padding: 7px 12px;
5
+ font-size: 12px;
6
+ line-height: 16px;
7
+ color: var(--fcr_ui_scene_icontext1);
8
+ background-color: var(--fcr_web_ui_scene_fill4_popup);
9
+ border-radius: var(--fcr_cornerradius_s);
10
+ }
11
+
12
+ .fcr-no-data-subtitles-history {
13
+ width: 100%;
14
+ height: 100%;
15
+ display: flex;
16
+ flex-grow: 1;
17
+ align-items: center;
18
+ justify-content: center;
19
+ flex-direction: column;
20
+ }
21
+
22
+ .fcr-no-data-subtitles-history img {
23
+ width: 138px;
24
+ height: 100;
25
+ object-fit: contain;
26
+ margin-bottom: 20px;
27
+ }
28
+
29
+ .fcr-no-data-subtitles-history span {
30
+ font-weight: 400;
31
+ font-size: 13px;
32
+ line-height: 14px;
33
+ font-family: PingFang HK;
34
+ color: var(--fcr_ui_scene_icontext2);
35
+ }
36
+
37
+ .fcr-subtitles-history-wrapper {
38
+ padding: 5px 15px 0 15px;
39
+ height: 100%;
40
+ }
41
+
42
+ .fcr-dialog-container .fcr-subtitles-history-wrapper-electron {
43
+ height: calc(100% - 46px);
44
+ }
45
+
46
+ .fcr-subtitles-history-container {
47
+ height: 100%;
48
+ display: flex;
49
+ flex-direction: column;
50
+ }
51
+
52
+ .fcr-subtitles-history__content {
53
+ margin: 24px 0 12px 0;
54
+ flex-grow: 1;
55
+ overflow-y: auto;
56
+ }
57
+
58
+ .fcr-subtitles-history__waiting-input {
59
+ display: flex;
60
+ align-items: center;
61
+ }
62
+
63
+ .fcr-subtitles-history__list__item {
64
+ display: flex;
65
+ padding-bottom: 24px;
66
+ }
67
+
68
+ .fcr-subtitles-history__list__item__action {
69
+ margin: 0 auto;
70
+ width: 128px;
71
+ height: 30px;
72
+ color: var(--fcr_ui_scene_icontext1);
73
+ font-weight: 300;
74
+ font-size: 12px;
75
+ line-height: 30px;
76
+ text-align: center;
77
+ background: var(--fcr_chat_bg);
78
+ border-radius: var(--fcr_cornerradius_xxxxl);
79
+ }
80
+
81
+ .fcr-subtitles-history__list__item__head-icon {
82
+ margin-right: 12px;
83
+ }
84
+
85
+ .fcr-subtitles-history__list__item__info {
86
+ display: flex;
87
+ margin-bottom: 6px;
88
+ font-size: 12px;
89
+ line-height: 1;
90
+ }
91
+ .fcr-subtitles-history__list__item__info__name {
92
+ margin-right: 8px;
93
+ color: var(--fcr_ui_scene_icontext1);
94
+ }
95
+ .fcr-subtitles-history__list__item__info__time {
96
+ color: var(--fcr_ui_scene_icontext3);
97
+ }
98
+
99
+ .fcr-subtitles-history__list__item__text,
100
+ .fcr-subtitles-history__list__item__text--translation {
101
+ font-size: 14px;
102
+ font-weight: 500;
103
+ line-height: 1.3;
104
+ color: var(--fcr_ui_scene_icontext1);
105
+ }
106
+
107
+ .fcr-subtitles-history__list__item__text--translation {
108
+ margin-top: 6px;
109
+ color: var(--fcr_ui_scene_icontext2);
110
+ }
111
+
112
+ .fcr-subtitles-history__footer {
113
+ display: flex;
114
+ justify-content: space-between;
115
+ padding: 10px 0;
116
+ }
117
+
118
+ .fcr-subtitles-history__footer__btn {
119
+ width: 100%;
120
+ }
121
+
122
+ .fcr-ui-subtitles-history-request-dialog .fcr-confirm-content-title {
123
+ text-align: center;
124
+ }
125
+
126
+ .fcr-ui-subtitles-history-request-dialog .fcr-button {
127
+ width: 50%;
128
+ flex-shrink: 1;
129
+ }
@@ -10,7 +10,7 @@ export type Subtitle = {
10
10
  headIcon: string;
11
11
  };
12
12
  export default class SubtitlesHistoryStoreBase {
13
- protected logger: import("agora-foundation/lib/logger").Logger;
13
+ protected logger: import("fcr-core/lib/imports").Logger;
14
14
  private _disposer;
15
15
  private _eventProvider;
16
16
  private _messageProvider;
@@ -26,6 +26,8 @@ export default class SubtitlesHistoryStoreBase {
26
26
  private _dialogObserver;
27
27
  private _requestDialogId;
28
28
  private _respondDialogId;
29
+ /** 主持人处理转写请求的时间 */
30
+ private _acceptOrRejectRequestTranscribingTime;
29
31
  /** 发起转写请求的用户 */
30
32
  private _requestTranscribingUser;
31
33
  /** 自己发起转写请求时的 sessionId */
@@ -72,6 +72,7 @@ var _timer = require("./components/timer");
72
72
  var _type4 = require("../../type");
73
73
  var _i18n = require("agora-ui-foundation/lib/i18n");
74
74
  var _respondDialogContent = require("./components/respond-dialog-content");
75
+ var _imports = require("fcr-core/lib/imports");
75
76
  var _jsxRuntime = require("react/jsx-runtime");
76
77
  var _SubtitlesHistoryStoreBase;
77
78
  var _initProto, _init_isLoading, _toggleOpenDecs, _ref;
@@ -103,6 +104,8 @@ var SubtitlesHistoryStoreBase = exports["default"] = /*#__PURE__*/function () {
103
104
  });
104
105
  (0, _defineProperty2["default"])(this, "_requestDialogId", null);
105
106
  (0, _defineProperty2["default"])(this, "_respondDialogId", null);
107
+ /** 主持人处理转写请求的时间 */
108
+ (0, _defineProperty2["default"])(this, "_acceptOrRejectRequestTranscribingTime", 0);
106
109
  /** 发起转写请求的用户 */
107
110
  (0, _defineProperty2["default"])(this, "_requestTranscribingUser", null);
108
111
  /** 自己发起转写请求时的 sessionId */
@@ -499,6 +502,7 @@ var SubtitlesHistoryStoreBase = exports["default"] = /*#__PURE__*/function () {
499
502
  case 0:
500
503
  _this3._closeRespondDialog(id);
501
504
  _context6.prev = 1;
505
+ _this3._acceptOrRejectRequestTranscribingTime = Date.now();
502
506
  _context6.next = 2;
503
507
  return _this3._sttProvider.rejectOpenTranscribing(session);
504
508
  case 2:
@@ -551,6 +555,7 @@ var SubtitlesHistoryStoreBase = exports["default"] = /*#__PURE__*/function () {
551
555
  _this3._closeRespondDialog(id);
552
556
  _context7.prev = 1;
553
557
  _this3._setIsLoading(true);
558
+ _this3._acceptOrRejectRequestTranscribingTime = Date.now();
554
559
  _context7.next = 2;
555
560
  return _this3._sttProvider.acceptOpenTranscribing(session);
556
561
  case 2:
@@ -691,6 +696,11 @@ var SubtitlesHistoryStoreBase = exports["default"] = /*#__PURE__*/function () {
691
696
  this.logger.info('_onRoomSessionReceived: have set not to receive transcribing request, ignore this request');
692
697
  return;
693
698
  }
699
+ if (Date.now() - this._acceptOrRejectRequestTranscribingTime < _imports.Duration.second(3)) {
700
+ // 在刚处理完请求的 3 秒内, 忽略后续请求
701
+ this.logger.info('_onRoomSessionReceived: accept or reject a request in 3 second, ignore this request');
702
+ return;
703
+ }
694
704
  if (this._respondDialogId) {
695
705
  // 多人一起提交申请时, 只处理第一个请求, 在处理期间忽略后续请求
696
706
  this.logger.info('_onRoomSessionReceived: respond dialog is already opened, ignore this request');
@@ -715,7 +725,7 @@ var SubtitlesHistoryStoreBase = exports["default"] = /*#__PURE__*/function () {
715
725
  this._showRespondDialog(session);
716
726
  }
717
727
  if (session.sessionKey === _type2.FcrUISessionKey.REJECT_OPEN_TRANSCRIBING) {
718
- var isSelfRequest = this._requestTranscribingTimeBySelf && Date.now() - this._requestTranscribingTimeBySelf < _type.FcrUiSttConstants.REQUEST_OPEN_TRANSCRIBING_DURATION;
728
+ var isSelfRequest = this._requestTranscribingTimeBySelf && Date.now() - this._requestTranscribingTimeBySelf < _type.FcrUISttConstants.REQUEST_OPEN_TRANSCRIBING_DURATION;
719
729
  if (!(isSelfRequest || [_type3.FcrUserRole.HOST, _type3.FcrUserRole.COHOST].includes(localUser.userRole))) {
720
730
  // 不是申请开启转写的用户,或者是主持人或联席主持人,无需处理该拒绝通知
721
731
  return;
@@ -1,51 +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
- }
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
+ }
@@ -1,86 +1,86 @@
1
- .fcr-video-window-speaking-wrapper {
2
- width: 100%;
3
- height: 50px;
4
- box-sizing: border-box;
5
- position: relative;
6
- display: flex;
7
- justify-content: center;
8
- align-items: center;
9
- padding: 1px;
10
- border-radius: 0 0 var(--fcr_cornerradius_m) var(--fcr_cornerradius_m);
11
- border: 1px solid transparent;
12
- }
13
- .fcr-video-window-speaking-wrapper_hover,
14
- .fcr-video-window-speaking-wrapper_mediapreview {
15
- background-color: var(--fcr_web_ui_scene_fill5);
16
- border-left: 1px solid var(--fcr_ui_scene_line1);
17
- border-right: 1px solid var(--fcr_ui_scene_line1);
18
- }
19
- .fcr-video-window-speaking-wrapper.fcr-video-window-speaking-wrapper_mediapreview {
20
- border-radius: var(--fcr_cornerradius_m) var(--fcr_cornerradius_m) 0 0;
21
- }
22
- .fcr-video-window-speaking-wrapper.fcr-video-window-speaking-wrapper_hover.fcr-video-window-speaking-wrapper_mediapreview {
23
- border-radius: 0;
24
- }
25
- .fcr-video-window-speaking {
26
- position: absolute;
27
- inset: 0;
28
- margin: 0 auto;
29
- display: flex;
30
- box-sizing: border-box;
31
- width: calc(100% - 2px);
32
- height: 48px;
33
- align-items: center;
34
- gap: 8px;
35
- padding: 0 4px;
36
- background-color: var(--fcr_mobile_ui_scene_color_popup_fill1);
37
- border-radius: var(--fcr_cornerradius_m);
38
- }
39
- .fcr-video-window-speaking-wrapper_mediapreview .fcr-video-window-speaking {
40
- border-radius: var(--fcr_cornerradius_m) var(--fcr_cornerradius_m) 0 0;
41
- }
42
- .fcr-video-window-speaking-icon {
43
- flex-grow: 0;
44
- flex-shrink: 0;
45
- width: 40px;
46
- height: 40px;
47
- display: flex;
48
- justify-content: center;
49
- align-items: center;
50
- background-color: var(--fcr_mobile_ui_scene_guide);
51
- border-radius: var(--fcr_cornerradius_m);
52
- cursor: pointer;
53
- }
54
- .fcr-video-window-speaking-icon .device-control {
55
- width: 40px;
56
- height: 40px;
57
- min-width: 40px;
58
- }
59
- .fcr-video-window-speaking-icon .device-control-inner {
60
- justify-content: center;
61
- height: 40px;
62
- min-width: 40px;
63
- }
64
- .fcr-video-window-speaking-icon .device-control-item-wrapper:hover {
65
- background: none;
66
- }
67
- .fcr-video-window-speaking-icon .device-control-extra {
68
- display: none;
69
- }
70
- .fcr-video-window-control-speakers {
71
- flex: 1 0 0;
72
- height: 14px;
73
- display: flex;
74
- gap: 4px;
75
- font-size: 12px;
76
- color: var(--fcr_ui_scene_icontext1);
77
- }
78
- .fcr-video-window-control-speakers_names {
79
- width: 0;
80
- flex-grow: 1;
81
- font-weight: 800;
82
- color: var(--fcr_ui_scene_icontext1);
83
- white-space: nowrap;
84
- overflow: hidden;
85
- text-overflow: ellipsis;
86
- }
1
+ .fcr-video-window-speaking-wrapper {
2
+ width: 100%;
3
+ height: 50px;
4
+ box-sizing: border-box;
5
+ position: relative;
6
+ display: flex;
7
+ justify-content: center;
8
+ align-items: center;
9
+ padding: 1px;
10
+ border-radius: 0 0 var(--fcr_cornerradius_m) var(--fcr_cornerradius_m);
11
+ border: 1px solid transparent;
12
+ }
13
+ .fcr-video-window-speaking-wrapper_hover,
14
+ .fcr-video-window-speaking-wrapper_mediapreview {
15
+ background-color: var(--fcr_web_ui_scene_fill5);
16
+ border-left: 1px solid var(--fcr_ui_scene_line1);
17
+ border-right: 1px solid var(--fcr_ui_scene_line1);
18
+ }
19
+ .fcr-video-window-speaking-wrapper.fcr-video-window-speaking-wrapper_mediapreview {
20
+ border-radius: var(--fcr_cornerradius_m) var(--fcr_cornerradius_m) 0 0;
21
+ }
22
+ .fcr-video-window-speaking-wrapper.fcr-video-window-speaking-wrapper_hover.fcr-video-window-speaking-wrapper_mediapreview {
23
+ border-radius: 0;
24
+ }
25
+ .fcr-video-window-speaking {
26
+ position: absolute;
27
+ inset: 0;
28
+ margin: 0 auto;
29
+ display: flex;
30
+ box-sizing: border-box;
31
+ width: calc(100% - 2px);
32
+ height: 48px;
33
+ align-items: center;
34
+ gap: 8px;
35
+ padding: 0 4px;
36
+ background-color: var(--fcr_mobile_ui_scene_color_popup_fill1);
37
+ border-radius: var(--fcr_cornerradius_m);
38
+ }
39
+ .fcr-video-window-speaking-wrapper_mediapreview .fcr-video-window-speaking {
40
+ border-radius: var(--fcr_cornerradius_m) var(--fcr_cornerradius_m) 0 0;
41
+ }
42
+ .fcr-video-window-speaking-icon {
43
+ flex-grow: 0;
44
+ flex-shrink: 0;
45
+ width: 40px;
46
+ height: 40px;
47
+ display: flex;
48
+ justify-content: center;
49
+ align-items: center;
50
+ background-color: var(--fcr_mobile_ui_scene_guide);
51
+ border-radius: var(--fcr_cornerradius_m);
52
+ cursor: pointer;
53
+ }
54
+ .fcr-video-window-speaking-icon .device-control {
55
+ width: 40px;
56
+ height: 40px;
57
+ min-width: 40px;
58
+ }
59
+ .fcr-video-window-speaking-icon .device-control-inner {
60
+ justify-content: center;
61
+ height: 40px;
62
+ min-width: 40px;
63
+ }
64
+ .fcr-video-window-speaking-icon .device-control-item-wrapper:hover {
65
+ background: none;
66
+ }
67
+ .fcr-video-window-speaking-icon .device-control-extra {
68
+ display: none;
69
+ }
70
+ .fcr-video-window-control-speakers {
71
+ flex: 1 0 0;
72
+ height: 14px;
73
+ display: flex;
74
+ gap: 4px;
75
+ font-size: 12px;
76
+ color: var(--fcr_ui_scene_icontext1);
77
+ }
78
+ .fcr-video-window-control-speakers_names {
79
+ width: 0;
80
+ flex-grow: 1;
81
+ font-weight: 800;
82
+ color: var(--fcr_ui_scene_icontext1);
83
+ white-space: nowrap;
84
+ overflow: hidden;
85
+ text-overflow: ellipsis;
86
+ }
@@ -1,35 +1,35 @@
1
- .fcr-video-window-topcontrol {
2
- display: flex;
3
- width: 100%;
4
- gap: 3px;
5
- height: 38px;
6
- box-sizing: border-box;
7
- overflow: hidden;
8
- background-color: var(--fcr_web_ui_scene_fill5);
9
- border-radius: var(--fcr_cornerradius_m) var(--fcr_cornerradius_m) 0 0;
10
- padding: 4px 6px;
11
- visibility: hidden;
12
- border: 1px solid var(--fcr_ui_scene_line1);
13
- border-bottom: none;
14
- -webkit-app-region: drag;
15
- user-select: none;
16
- -webkit-user-select: none;
17
- }
18
- .fcr-video-window-topcontrol.fcr-video-window-topcontrol_hover {
19
- visibility: visible;
20
- }
21
- .fcr-video-window-topcontrol-item {
22
- width: 30px;
23
- height: 30px;
24
- display: flex;
25
- justify-content: center;
26
- flex-direction: column-reverse;
27
- border-radius: var(--fcr_cornerradius_xs);
28
- -webkit-app-region: no-drag;
29
- }
30
- .fcr-video-window-topcontrol-item:hover {
31
- background: var(--fcr_web_ui_scene_hover);
32
- }
33
- .fcr-video-window-topcontrol-item:hover svg path {
34
- fill: var(--fcr_ui_scene_ramp_brand6);
35
- }
1
+ .fcr-video-window-topcontrol {
2
+ display: flex;
3
+ width: 100%;
4
+ gap: 3px;
5
+ height: 38px;
6
+ box-sizing: border-box;
7
+ overflow: hidden;
8
+ background-color: var(--fcr_web_ui_scene_fill5);
9
+ border-radius: var(--fcr_cornerradius_m) var(--fcr_cornerradius_m) 0 0;
10
+ padding: 4px 6px;
11
+ visibility: hidden;
12
+ border: 1px solid var(--fcr_ui_scene_line1);
13
+ border-bottom: none;
14
+ -webkit-app-region: drag;
15
+ user-select: none;
16
+ -webkit-user-select: none;
17
+ }
18
+ .fcr-video-window-topcontrol.fcr-video-window-topcontrol_hover {
19
+ visibility: visible;
20
+ }
21
+ .fcr-video-window-topcontrol-item {
22
+ width: 30px;
23
+ height: 30px;
24
+ display: flex;
25
+ justify-content: center;
26
+ flex-direction: column-reverse;
27
+ border-radius: var(--fcr_cornerradius_xs);
28
+ -webkit-app-region: no-drag;
29
+ }
30
+ .fcr-video-window-topcontrol-item:hover {
31
+ background: var(--fcr_web_ui_scene_hover);
32
+ }
33
+ .fcr-video-window-topcontrol-item:hover svg path {
34
+ fill: var(--fcr_ui_scene_ramp_brand6);
35
+ }