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,195 +1,195 @@
1
- .fcr-device-settings-audio {
2
- padding-top: 15px;
3
- }
4
-
5
- .fcr-device-settings-audio__section {
6
- margin-top: 10px;
7
- border-radius: var(--fcr_cornerradius_s);
8
- width: 100%;
9
- background: var(--fcr_mobile_ui_scene_color_popup_block5);
10
- }
11
- .fcr-device-settings-audio__section:first-child {
12
- margin-top: 0;
13
- }
14
-
15
- .fcr-device-settings-audio__section:last-child {
16
- margin-bottom: 10px;
17
- }
18
-
19
- .fcr-device-settings-audio__section:nth-child(2) {
20
- margin-top: 15px;
21
- }
22
-
23
- .fcr-device-settings-audio__section-title {
24
- padding: 0 10px 0 12px;
25
- font-size: 13px;
26
- line-height: 32px;
27
- font-weight: 700;
28
- color: var(--fcr_ui_scene_icontext1);
29
- }
30
- .fcr-device-settings-audio__switch-wrapper {
31
- padding: 0 10px 0 12px;
32
- display: flex;
33
- align-items: center;
34
- justify-content: space-between;
35
- }
36
-
37
- .fcr-device-settings-audio__switch-wrapper-switch {
38
- flex-shrink: 0;
39
- }
40
-
41
- .fcr-device-settings-audio__switch-wrapper-orinalvoise-tip {
42
- font-size: 12px;
43
- }
44
-
45
- .fcr-device-settings-audio__switch-title {
46
- padding: 0 10px 0 12px;
47
- font-size: 12px;
48
- line-height: 18px;
49
- color: var(--fcr_ui_scene_icontext1);
50
- display: flex;
51
- align-items: center;
52
- justify-content: space-between;
53
- }
54
-
55
- .fcr-device-settings-audio__checkbox-item {
56
- gap: 8px;
57
- font-size: 12px;
58
- line-height: 32px;
59
- color: var(--fcr_ui_scene_icontext1);
60
- display: flex;
61
- align-items: center;
62
- }
63
-
64
- .fcr-device-settings-audio__options-section {
65
- background-color: var(--fcr_mobile_ui_scene_color_popup_fill2);
66
- border-radius: var(--fcr_cornerradius_s);
67
- padding: 10px 12px;
68
- margin: 10px;
69
- }
70
- /* .fcr-device-settings-audio__options {
71
- padding-left: 28px;
72
- } */
73
-
74
- .fcr-device-settings-audio__section .fcr-radio {
75
- min-width: 100px;
76
- padding: 6px 10px;
77
- align-items: start;
78
- }
79
- .fcr-device-settings-audio__section .fcr-radio .fcr-radio-label {
80
- padding-left: 6px;
81
- line-height: 20px;
82
- }
83
- .fcr-device-settings-audio__section-title + .fcr-radio {
84
- margin-top: 4px;
85
- }
86
-
87
- .fcr-device-settings-audio__radio-label-addition {
88
- font-size: 12px;
89
- line-height: 1;
90
- color: var(--fcr_ui_scene_icontext2);
91
- }
92
-
93
- .fcr-device-settings-audio__form-item {
94
- height: 32px;
95
- padding: 0 10px;
96
- display: flex;
97
- align-items: center;
98
- column-gap: 22px;
99
- }
100
- .fcr-device-settings-audio__form-item .fcr-slider.is-disabled {
101
- border: none;
102
- }
103
-
104
- .fcr-device-settings-audio__form-label {
105
- font-size: 12px;
106
- line-height: 16px;
107
- font-weight: 300;
108
- color: var(--fcr_ui_scene_icontext1);
109
- }
110
-
111
- .fcr-device-settings-audio__form-item .fcr-volume-indicator {
112
- flex-grow: 1;
113
- }
114
-
115
- .fcr-device-settings-audio__form-item .fcr-slider {
116
- flex-grow: 1;
117
- }
118
-
119
- .fcr-device-settings-audio__checkbox-wrapper--bordered {
120
- margin-top: 5px;
121
- border-top: 1px solid var(--fcr_ui_scene_line2);
122
- /* height: 46px; */
123
- padding: 8px 8px;
124
- display: flex;
125
- /* align-items: center; */
126
- /* gap: 10px; */
127
- flex-direction: column;
128
- }
129
- .fcr-device-settings-audio__checkbox-wrapper--bordered .fcr-checkbox {
130
- /* height: 32px; */
131
- align-items: start;
132
- margin: 6px 0;
133
- }
134
-
135
- .fcr-device-settings-audio__checkbox-wrapper--bordered .fcr-checkbox-label {
136
- font-size: 14px;
137
- font-weight: 400;
138
- color: var(--fcr_ui_scene_icontext1);
139
- line-height: 20px;
140
- }
141
-
142
- .fcr-device-settings-audio__section-reduce-noise {
143
- padding-bottom: 10px;
144
- }
145
-
146
- .fcr-device-settings-audio__section-reduce-noise .fcr-radio-label {
147
- white-space: pre-wrap;
148
- line-height: 16px;
149
- }
150
-
151
- .fcr-device-settings-audio__section-pro-audio {
152
- padding-bottom: 10px;
153
- }
154
-
155
- .fcr-device-settings-audio__section-pro-audio .fcr-checkbox {
156
- margin-top: 4px;
157
- height: 32px;
158
- padding: 0 8px;
159
- }
160
-
161
- .fcr-device-settings-audio .fcr-device-settings-advance-link {
162
- margin-top: 10px;
163
- }
164
-
165
- .fcr-speaker-detection,
166
- .fcr-microphone-detection {
167
- height: 32px;
168
- padding: 0 10px;
169
- display: flex;
170
- align-items: center;
171
- column-gap: 8px;
172
- }
173
-
174
- .fcr-speaker-detection .fcr-select-wrapper,
175
- .fcr-microphone-detection .fcr-select-wrapper {
176
- flex-grow: 1;
177
- min-width: 0;
178
- }
179
-
180
- .fcr-speaker-detection .fcr-button,
181
- .fcr-microphone-detection .fcr-button {
182
- flex-shrink: 0;
183
- border-radius: var(--fcr_cornerradius_xs);
184
- padding: 0 4px;
185
- }
186
- .fcr-speaker-detection .fcr-button > div,
187
- .fcr-microphone-detection .fcr-button > div {
188
- width: 100px;
189
- overflow: hidden;
190
- text-overflow: ellipsis;
191
- white-space: nowrap;
192
- }
193
- .fcr-device-settings-audio__detection-wrapper {
194
- margin-bottom: 8px;
195
- }
1
+ .fcr-device-settings-audio {
2
+ padding-top: 15px;
3
+ }
4
+
5
+ .fcr-device-settings-audio__section {
6
+ margin-top: 10px;
7
+ border-radius: var(--fcr_cornerradius_s);
8
+ width: 100%;
9
+ background: var(--fcr_mobile_ui_scene_color_popup_block5);
10
+ }
11
+ .fcr-device-settings-audio__section:first-child {
12
+ margin-top: 0;
13
+ }
14
+
15
+ .fcr-device-settings-audio__section:last-child {
16
+ margin-bottom: 10px;
17
+ }
18
+
19
+ .fcr-device-settings-audio__section:nth-child(2) {
20
+ margin-top: 15px;
21
+ }
22
+
23
+ .fcr-device-settings-audio__section-title {
24
+ padding: 0 10px 0 12px;
25
+ font-size: 13px;
26
+ line-height: 32px;
27
+ font-weight: 700;
28
+ color: var(--fcr_ui_scene_icontext1);
29
+ }
30
+ .fcr-device-settings-audio__switch-wrapper {
31
+ padding: 0 10px 0 12px;
32
+ display: flex;
33
+ align-items: center;
34
+ justify-content: space-between;
35
+ }
36
+
37
+ .fcr-device-settings-audio__switch-wrapper-switch {
38
+ flex-shrink: 0;
39
+ }
40
+
41
+ .fcr-device-settings-audio__switch-wrapper-orinalvoise-tip {
42
+ font-size: 12px;
43
+ }
44
+
45
+ .fcr-device-settings-audio__switch-title {
46
+ padding: 0 10px 0 12px;
47
+ font-size: 12px;
48
+ line-height: 18px;
49
+ color: var(--fcr_ui_scene_icontext1);
50
+ display: flex;
51
+ align-items: center;
52
+ justify-content: space-between;
53
+ }
54
+
55
+ .fcr-device-settings-audio__checkbox-item {
56
+ gap: 8px;
57
+ font-size: 12px;
58
+ line-height: 32px;
59
+ color: var(--fcr_ui_scene_icontext1);
60
+ display: flex;
61
+ align-items: center;
62
+ }
63
+
64
+ .fcr-device-settings-audio__options-section {
65
+ background-color: var(--fcr_mobile_ui_scene_color_popup_fill2);
66
+ border-radius: var(--fcr_cornerradius_s);
67
+ padding: 10px 12px;
68
+ margin: 10px;
69
+ }
70
+ /* .fcr-device-settings-audio__options {
71
+ padding-left: 28px;
72
+ } */
73
+
74
+ .fcr-device-settings-audio__section .fcr-radio {
75
+ min-width: 100px;
76
+ padding: 6px 10px;
77
+ align-items: start;
78
+ }
79
+ .fcr-device-settings-audio__section .fcr-radio .fcr-radio-label {
80
+ padding-left: 6px;
81
+ line-height: 20px;
82
+ }
83
+ .fcr-device-settings-audio__section-title + .fcr-radio {
84
+ margin-top: 4px;
85
+ }
86
+
87
+ .fcr-device-settings-audio__radio-label-addition {
88
+ font-size: 12px;
89
+ line-height: 1;
90
+ color: var(--fcr_ui_scene_icontext2);
91
+ }
92
+
93
+ .fcr-device-settings-audio__form-item {
94
+ height: 32px;
95
+ padding: 0 10px;
96
+ display: flex;
97
+ align-items: center;
98
+ column-gap: 22px;
99
+ }
100
+ .fcr-device-settings-audio__form-item .fcr-slider.is-disabled {
101
+ border: none;
102
+ }
103
+
104
+ .fcr-device-settings-audio__form-label {
105
+ font-size: 12px;
106
+ line-height: 16px;
107
+ font-weight: 300;
108
+ color: var(--fcr_ui_scene_icontext1);
109
+ }
110
+
111
+ .fcr-device-settings-audio__form-item .fcr-volume-indicator {
112
+ flex-grow: 1;
113
+ }
114
+
115
+ .fcr-device-settings-audio__form-item .fcr-slider {
116
+ flex-grow: 1;
117
+ }
118
+
119
+ .fcr-device-settings-audio__checkbox-wrapper--bordered {
120
+ margin-top: 5px;
121
+ border-top: 1px solid var(--fcr_ui_scene_line2);
122
+ /* height: 46px; */
123
+ padding: 8px 8px;
124
+ display: flex;
125
+ /* align-items: center; */
126
+ /* gap: 10px; */
127
+ flex-direction: column;
128
+ }
129
+ .fcr-device-settings-audio__checkbox-wrapper--bordered .fcr-checkbox {
130
+ /* height: 32px; */
131
+ align-items: start;
132
+ margin: 6px 0;
133
+ }
134
+
135
+ .fcr-device-settings-audio__checkbox-wrapper--bordered .fcr-checkbox-label {
136
+ font-size: 14px;
137
+ font-weight: 400;
138
+ color: var(--fcr_ui_scene_icontext1);
139
+ line-height: 20px;
140
+ }
141
+
142
+ .fcr-device-settings-audio__section-reduce-noise {
143
+ padding-bottom: 10px;
144
+ }
145
+
146
+ .fcr-device-settings-audio__section-reduce-noise .fcr-radio-label {
147
+ white-space: pre-wrap;
148
+ line-height: 16px;
149
+ }
150
+
151
+ .fcr-device-settings-audio__section-pro-audio {
152
+ padding-bottom: 10px;
153
+ }
154
+
155
+ .fcr-device-settings-audio__section-pro-audio .fcr-checkbox {
156
+ margin-top: 4px;
157
+ height: 32px;
158
+ padding: 0 8px;
159
+ }
160
+
161
+ .fcr-device-settings-audio .fcr-device-settings-advance-link {
162
+ margin-top: 10px;
163
+ }
164
+
165
+ .fcr-speaker-detection,
166
+ .fcr-microphone-detection {
167
+ height: 32px;
168
+ padding: 0 10px;
169
+ display: flex;
170
+ align-items: center;
171
+ column-gap: 8px;
172
+ }
173
+
174
+ .fcr-speaker-detection .fcr-select-wrapper,
175
+ .fcr-microphone-detection .fcr-select-wrapper {
176
+ flex-grow: 1;
177
+ min-width: 0;
178
+ }
179
+
180
+ .fcr-speaker-detection .fcr-button,
181
+ .fcr-microphone-detection .fcr-button {
182
+ flex-shrink: 0;
183
+ border-radius: var(--fcr_cornerradius_xs);
184
+ padding: 0 4px;
185
+ }
186
+ .fcr-speaker-detection .fcr-button > div,
187
+ .fcr-microphone-detection .fcr-button > div {
188
+ width: 100px;
189
+ overflow: hidden;
190
+ text-overflow: ellipsis;
191
+ white-space: nowrap;
192
+ }
193
+ .fcr-device-settings-audio__detection-wrapper {
194
+ margin-bottom: 8px;
195
+ }
@@ -1,3 +1,4 @@
1
+ import { FcrUIAiDenoiseLevel } from '../../../type';
1
2
  export interface AudioDeviceAdaptationConfig {
2
3
  /**
3
4
  * WhiteList device ID list
@@ -16,3 +17,30 @@ export interface AudioDeviceAdaptationConfig {
16
17
  * Audio device whiteList configuration
17
18
  */
18
19
  export declare const AUDIO_DEVICE_WHITE_LIST_CONFIG: AudioDeviceAdaptationConfig;
20
+ /**
21
+ * Audio device configuration for individual device
22
+ */
23
+ export interface AudioDeviceConfig {
24
+ audioEchoCancellation: boolean;
25
+ audioAgc: boolean;
26
+ noiseReduce: FcrUIAiDenoiseLevel;
27
+ }
28
+ /**
29
+ * Device profile with name and audio configuration
30
+ */
31
+ export interface DeviceProfile {
32
+ deviceName: string;
33
+ config: AudioDeviceConfig;
34
+ }
35
+ /**
36
+ * Device-specific audio configurations
37
+ * Key: deviceId (format: "vendorId:productId")
38
+ * Value: device profile with name and config
39
+ */
40
+ export declare const DEVICE_SPECIFIC_CONFIGS: Record<string, DeviceProfile>;
41
+ /**
42
+ * Get audio configuration for a specific device
43
+ * @param deviceId Device ID in format "vendorId:productId"
44
+ * @returns AudioDeviceConfig if device has specific config, undefined otherwise
45
+ */
46
+ export declare function getDeviceSpecificConfig(deviceId: string): AudioDeviceConfig | undefined;
@@ -4,9 +4,11 @@ require("core-js/modules/es.object.define-property.js");
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports.AUDIO_DEVICE_WHITE_LIST_CONFIG = void 0;
8
- /**
9
- * Audio device whiteList configuration
7
+ exports.DEVICE_SPECIFIC_CONFIGS = exports.AUDIO_DEVICE_WHITE_LIST_CONFIG = void 0;
8
+ exports.getDeviceSpecificConfig = getDeviceSpecificConfig;
9
+ var _type = require("../../../type");
10
+ /**
11
+ * Audio device whiteList configuration
10
12
  */
11
13
  var AUDIO_DEVICE_WHITE_LIST_CONFIG = exports.AUDIO_DEVICE_WHITE_LIST_CONFIG = {
12
14
  whiteListDeviceIds: [
@@ -23,12 +25,46 @@ var AUDIO_DEVICE_WHITE_LIST_CONFIG = exports.AUDIO_DEVICE_WHITE_LIST_CONFIG = {
23
25
  // Huawei-MIC100 Mic 100会议音箱
24
26
  '12D1:2308', //Hamedal Speak A20
25
27
  "1FC9:826B", //Hamedal A21T TEA
26
- "2A5F:2005",
27
- //HD Audio
28
- '33F1:1016'],
28
+ "2A5F:2005", //HD Audio VA400
29
+ "33F1:1016"],
29
30
  whiteListConfig: {
30
31
  audioEchoCancellation: false,
31
32
  audioAgc: false,
32
33
  noiseReduce: 4
33
34
  }
34
- };
35
+ };
36
+
37
+ /**
38
+ * Audio device configuration for individual device
39
+ */
40
+
41
+ /**
42
+ * Device profile with name and audio configuration
43
+ */
44
+
45
+ /**
46
+ * Device-specific audio configurations
47
+ * Key: deviceId (format: "vendorId:productId")
48
+ * Value: device profile with name and config
49
+ */
50
+ var DEVICE_SPECIFIC_CONFIGS = exports.DEVICE_SPECIFIC_CONFIGS = {
51
+ // INNOTRIK I-90
52
+ '2F9D:0091': {
53
+ deviceName: 'INNOTRIK I-90',
54
+ config: {
55
+ audioEchoCancellation: true,
56
+ audioAgc: true,
57
+ noiseReduce: _type.FcrUIAiDenoiseLevel.LOW
58
+ }
59
+ }
60
+ };
61
+
62
+ /**
63
+ * Get audio configuration for a specific device
64
+ * @param deviceId Device ID in format "vendorId:productId"
65
+ * @returns AudioDeviceConfig if device has specific config, undefined otherwise
66
+ */
67
+ function getDeviceSpecificConfig(deviceId) {
68
+ var _DEVICE_SPECIFIC_CONF;
69
+ return (_DEVICE_SPECIFIC_CONF = DEVICE_SPECIFIC_CONFIGS[deviceId]) === null || _DEVICE_SPECIFIC_CONF === void 0 ? void 0 : _DEVICE_SPECIFIC_CONF.config;
70
+ }
@@ -1,26 +1,14 @@
1
1
  import { FcrUIAiDenoiseLevel } from '../../../type';
2
+ import { AudioDeviceConfig } from './audio-device-adaptation';
2
3
  import { FcrDeviceInfo } from 'fcr-core/lib/type';
3
- /**
4
- * Audio device configuration
5
- * Includes audio echo cancellation, automatic gain control, noise reduction and other audio processing parameters
6
- */
7
- export interface AudioDeviceConfig {
8
- audioEchoCancellation: boolean;
9
- audioAgc: boolean;
10
- noiseReduce: FcrUIAiDenoiseLevel;
11
- }
12
4
  /**
13
5
  * The manager delegates device operations and settings management to the implementing class
14
6
  */
15
7
  export interface AudioDeviceWhiteListDelegate {
16
- getCurrentSetting: () => {
17
- audioEchoCancellation: boolean;
18
- noiseReduce: FcrUIAiDenoiseLevel;
19
- };
20
8
  getMicrophoneId: () => string;
21
9
  getMicrophoneList: () => FcrDeviceInfo[];
22
10
  enableAudioEchoCancellation: (enable: boolean) => void;
23
- toggleAgc: (enable: boolean) => void;
11
+ enableAudioGainControl: (enable: boolean) => void;
24
12
  setNoiseLevel: (level: FcrUIAiDenoiseLevel) => void;
25
13
  updateSettings: (settings: {
26
14
  audioEchoCancellation?: boolean;
@@ -40,6 +28,7 @@ export declare class AudioDeviceWhiteListManager {
40
28
  handleMicrophoneListUpdated(microphoneList: FcrDeviceInfo[]): void;
41
29
  handleMicrophoneChanged(microphoneId: string, productId: string | null, vendorId: string | null): void;
42
30
  private _handleDeviceChanged;
31
+ private _createDeviceConfig;
43
32
  /**
44
33
  * Get device 3A configuration (use current settings if not exists)
45
34
  */