fcr-ui-scene 3.8.1-alpha → 3.8.1

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 (226) hide show
  1. package/lib/base.js +2 -2
  2. package/lib/creator/provider-initializer.browser.js +8 -7
  3. package/lib/creator/provider-initializer.electron.js +8 -8
  4. package/lib/electron/asar-validation.d.ts +12 -0
  5. package/lib/electron/asar-validation.js +115 -0
  6. package/lib/electron/bootstrap-sdk.js +20 -12
  7. package/lib/electron/default-options.js +2 -1
  8. package/lib/electron/env.d.ts +1 -0
  9. package/lib/electron/env.js +6 -4
  10. package/lib/electron/exit-codes.js +11 -11
  11. package/lib/electron/hang-detection/manager.js +4 -4
  12. package/lib/electron/ipc-protocol.js +12 -12
  13. package/lib/electron/process-manager/event-manager.js +30 -30
  14. package/lib/electron/process-manager/index.js +88 -88
  15. package/lib/electron/process-manager/state-manager.js +57 -57
  16. package/lib/electron/process-manager/types.js +16 -16
  17. package/lib/electron/sdk-helper.js +3 -3
  18. package/lib/electron/window-proxy/browser-window-proxy.js +13 -13
  19. package/lib/electron/window-proxy/main-process-handler.js +14 -14
  20. package/lib/fragments/annotation/style.css +9 -9
  21. package/lib/fragments/annotation/toolbar/components/item/style.css +45 -45
  22. package/lib/fragments/annotation/toolbar/components/panel/style.css +24 -24
  23. package/lib/fragments/annotation/toolbar/components/tips/style.css +19 -19
  24. package/lib/fragments/annotation/toolbar/style.css +55 -55
  25. package/lib/fragments/whiteboard/cursor.css +77 -77
  26. package/lib/fragments/whiteboard/style.css +4 -4
  27. package/lib/global.css +62 -62
  28. package/lib/global.d.ts +27 -27
  29. package/lib/index.js +9 -1
  30. package/lib/modules/action-bar/components/chat/index.css +88 -88
  31. package/lib/modules/action-bar/components/more/index.css +114 -114
  32. package/lib/modules/action-bar/components/notification-bar/components/interpreter/index.css +58 -58
  33. package/lib/modules/action-bar/components/notification-bar/components/virtual-image/index.css +56 -56
  34. package/lib/modules/action-bar/components/notification-bar/index.css +74 -74
  35. package/lib/modules/action-bar/components/participants/index.css +21 -21
  36. package/lib/modules/action-bar/components/record/index.css +39 -39
  37. package/lib/modules/action-bar/components/trigger-output-language/index.css +86 -86
  38. package/lib/modules/action-bar/components/trigger-subscribe-language/guide-tooltip/index.css +22 -22
  39. package/lib/modules/action-bar/index.css +358 -358
  40. package/lib/modules/action-bar/main-scene/store.base.d.ts +3 -2
  41. package/lib/modules/action-bar/main-scene/store.base.js +29 -57
  42. package/lib/modules/action-bar/main-scene/view.js +3 -3
  43. package/lib/modules/audio-stream/index.js +3 -3
  44. package/lib/modules/caption/draggable-container/index.css +10 -10
  45. package/lib/modules/caption/view.css +158 -158
  46. package/lib/modules/chat/components/chat-bar/index.css +89 -89
  47. package/lib/modules/chat/components/chat-select/index.css +185 -185
  48. package/lib/modules/chat/index.css +124 -124
  49. package/lib/modules/components/apps/app-item/index.css +49 -49
  50. package/lib/modules/components/apps/index.css +9 -9
  51. package/lib/modules/components/caption-menu/index.css +58 -58
  52. package/lib/modules/components/caption-menu/steps/index.css +73 -73
  53. package/lib/modules/components/control-bar/components/loading/index.css +76 -76
  54. package/lib/modules/components/control-bar/components/progress/style.css +51 -51
  55. package/lib/modules/components/control-bar/components/switch-theme/index.css +101 -101
  56. package/lib/modules/components/control-bar/index.css +99 -99
  57. package/lib/modules/components/device-control/index.css +177 -177
  58. package/lib/modules/components/leave-meeting/components/index.css +151 -151
  59. package/lib/modules/components/leave-meeting/style.css +9 -9
  60. package/lib/modules/components/member-window/components/member-actions/store.js +22 -22
  61. package/lib/modules/components/member-window/index.css +502 -502
  62. package/lib/modules/components/security-menu/index.css +42 -42
  63. package/lib/modules/components/tab-frame/index.css +40 -40
  64. package/lib/modules/components/toolbar/components/item/style.css +94 -94
  65. package/lib/modules/components/toolbar/components/panel/style.css +86 -86
  66. package/lib/modules/components/toolbar/style.css +85 -85
  67. package/lib/modules/connection-gateway/components/computer/index.css +12 -12
  68. package/lib/modules/connection-gateway/components/phone/components/callinfo/index.css +36 -36
  69. package/lib/modules/connection-gateway/components/phone/components/calling/index.css +72 -72
  70. package/lib/modules/connection-gateway/components/phone/components/remeber/index.css +10 -10
  71. package/lib/modules/connection-gateway/components/phone/components/useing/index.css +46 -46
  72. package/lib/modules/connection-gateway/components/phone/index.css +49 -49
  73. package/lib/modules/connection-gateway/index.css +6 -6
  74. package/lib/modules/control-bar/components/meeting-details/index.css +133 -133
  75. package/lib/modules/control-bar/components/more-actions/index.css +103 -103
  76. package/lib/modules/control-bar/components/share-audio/index.css +90 -90
  77. package/lib/modules/control-bar/components/share-state-nav/index.css +79 -79
  78. package/lib/modules/control-bar/index.css +340 -340
  79. package/lib/modules/control-bar/index.js +4 -4
  80. package/lib/modules/device-pretest/index.css +123 -123
  81. package/lib/modules/dialog/components/confirm/index.css +24 -24
  82. package/lib/modules/dialog/components/dialog-container/index.css +112 -112
  83. package/lib/modules/dialog/dialogs/confirm/index.css +24 -24
  84. package/lib/modules/dialog/dialogs/connection-gateway/tabs.d.ts +1 -0
  85. package/lib/modules/dialog/dialogs/connection-gateway/tabs.js +27 -14
  86. package/lib/modules/dialog/dialogs/device-setting/index.css +26 -26
  87. package/lib/modules/dialog/dialogs/interpreter/index.css +30 -30
  88. package/lib/modules/dialog/dialogs/mute-all/index.css +20 -20
  89. package/lib/modules/dialog/dialogs/system-preference/index.css +52 -52
  90. package/lib/modules/dialog/dialogs/widget/index.js +4 -4
  91. package/lib/modules/dialog/index.css +56 -56
  92. package/lib/modules/event-toast/index.css +25 -25
  93. package/lib/modules/interpreter/action/add-btn/index.css +4 -4
  94. package/lib/modules/interpreter/action/delete-btn/index.css +14 -14
  95. package/lib/modules/interpreter/action/switch-btn/index.css +3 -3
  96. package/lib/modules/interpreter/dialog-content/index.css +33 -33
  97. package/lib/modules/interpreter/footer/index.css +11 -11
  98. package/lib/modules/interpreter/index.css +4 -4
  99. package/lib/modules/interpreter/interpreter-list/index.css +8 -8
  100. package/lib/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/index.css +46 -46
  101. package/lib/modules/interpreter/interpreter-list/interpreter-item/components/pick-user/index.css +46 -46
  102. package/lib/modules/interpreter/interpreter-list/interpreter-item/index.css +32 -32
  103. package/lib/modules/interpreter/loading-wrapper/index.css +53 -53
  104. package/lib/modules/invite/components/pstn-invite.js +1 -1
  105. package/lib/modules/invite/components/voip-invite.css +26 -26
  106. package/lib/modules/invite/index.css +331 -331
  107. package/lib/modules/layout/components/CommonVideoRenderer.js +4 -4
  108. package/lib/modules/layout/components/index.css +653 -653
  109. package/lib/modules/layout/index.css +59 -59
  110. package/lib/modules/layout/store.base.js +5 -5
  111. package/lib/modules/layout/type.js +5 -5
  112. package/lib/modules/notification/index.css +77 -77
  113. package/lib/modules/notification/interpreter-status/index.css +76 -76
  114. package/lib/modules/participant/components/confirm-input/index.css +4 -4
  115. package/lib/modules/participant/components/participants/components/footer/components/drop-menu/index.css +83 -83
  116. package/lib/modules/participant/components/participants/components/render-user/components/attendee/index.css +87 -87
  117. package/lib/modules/participant/index.css +102 -102
  118. package/lib/modules/participant/store.base.js +175 -175
  119. package/lib/modules/pc-audio-connect/index.css +12 -12
  120. package/lib/modules/pc-audio-connect/main-scene/index.d.ts +2 -1
  121. package/lib/modules/pc-audio-connect/main-scene/index.js +5 -4
  122. package/lib/modules/pc-audio-connect/main-scene/store.d.ts +3 -0
  123. package/lib/modules/pc-audio-connect/main-scene/store.js +44 -7
  124. package/lib/modules/phone-audio-connect/components/callinfo/index.css +36 -36
  125. package/lib/modules/phone-audio-connect/components/calling/index.css +72 -72
  126. package/lib/modules/phone-audio-connect/components/remeber/index.css +10 -10
  127. package/lib/modules/phone-audio-connect/components/useing/index.css +46 -46
  128. package/lib/modules/phone-audio-connect/index.css +56 -56
  129. package/lib/modules/secondary-window/store.js +7 -7
  130. package/lib/modules/setting/audio-settings/index.css +195 -195
  131. package/lib/modules/setting/audio-whiteList/audio-device-adaptation.js +14 -14
  132. package/lib/modules/setting/audio-whiteList/audio-whiteList-manager.js +6 -6
  133. package/lib/modules/setting/caption_and_transcribing/index.css +88 -88
  134. package/lib/modules/setting/general-settings/index.css +41 -41
  135. package/lib/modules/setting/index.css +112 -112
  136. package/lib/modules/setting/minutes-settings/index.css +65 -65
  137. package/lib/modules/setting/state/index.css +207 -207
  138. package/lib/modules/setting/storage-settings/index.css +91 -91
  139. package/lib/modules/setting/translate-settings/index.css +47 -47
  140. package/lib/modules/setting/video-settings/index.css +357 -357
  141. package/lib/modules/share-screen/components/control-bar/index.css +75 -75
  142. package/lib/modules/share-screen/components/selection/index.css +73 -73
  143. package/lib/modules/share-screen/components/share-state-bar/index.css +76 -76
  144. package/lib/modules/share-screen/index.js +10 -10
  145. package/lib/modules/share-screen/store.base.js +2 -2
  146. package/lib/modules/state-bar/assets/fcr_grid_big.svg +3 -3
  147. package/lib/modules/state-bar/assets/fcr_listontop_big.svg +3 -3
  148. package/lib/modules/state-bar/index.css +706 -706
  149. package/lib/modules/state-bar/main-scene/store.base.js +2 -2
  150. package/lib/modules/state-bar/meeting-detail.css +137 -137
  151. package/lib/modules/state-bar/meeting-network-state.css +150 -150
  152. package/lib/modules/state-bar/waiting-scene/store.base.js +2 -2
  153. package/lib/modules/subtitles-history/components/settings/index.css +5 -5
  154. package/lib/modules/subtitles-history/index.css +129 -129
  155. package/lib/modules/video-window/components/members/index.css +51 -51
  156. package/lib/modules/video-window/components/speaking/index.css +86 -86
  157. package/lib/modules/video-window/components/topControl/index.css +35 -35
  158. package/lib/modules/video-window/index.css +21 -21
  159. package/lib/modules/video-window/popover-watcher.js +3 -3
  160. package/lib/modules/video-window/store.js +10 -10
  161. package/lib/modules/waiting-room-layout/index.css +96 -96
  162. package/lib/modules/whiteboard/components/control-bar/index.css +52 -52
  163. package/lib/modules/whiteboard/components/loading/index.css +76 -76
  164. package/lib/modules/whiteboard/components/multi-window/index.css +63 -63
  165. package/lib/modules/whiteboard/components/pagination/index.css +228 -228
  166. package/lib/modules/whiteboard/components/progress/style.css +51 -51
  167. package/lib/modules/whiteboard/components/switch-theme/index.css +99 -99
  168. package/lib/modules/whiteboard/components/toolbar/style.css +591 -591
  169. package/lib/modules/whiteboard/style.css +140 -140
  170. package/lib/modules/widget/index.css +9 -9
  171. package/lib/modules/widget/index.d.ts +1 -0
  172. package/lib/modules/widget/index.js +16 -1
  173. package/lib/modules/widget/store.base.d.ts +1 -0
  174. package/lib/modules/widget/store.base.js +12 -0
  175. package/lib/modules/widget/store.electron.js +5 -0
  176. package/lib/modules/widget/web-widget.d.ts +6 -1
  177. package/lib/modules/widget/web-widget.js +66 -22
  178. package/lib/object-manager.js +8 -8
  179. package/lib/plugins/module-dev-plugin.js +11 -11
  180. package/lib/providers/ability-provider.js +17 -17
  181. package/lib/providers/app-list-provider.d.ts +1 -1
  182. package/lib/providers/app-list-provider.js +9 -7
  183. package/lib/providers/board-share/bar-control/base.d.ts +1 -1
  184. package/lib/providers/board-share/bar-control/browser.d.ts +1 -1
  185. package/lib/providers/board-share/bar-control/electron.d.ts +1 -1
  186. package/lib/providers/board-share/struct.js +6 -6
  187. package/lib/providers/device-stream-provider.d.ts +1 -1
  188. package/lib/providers/dialog/provider.base.js +2 -2
  189. package/lib/providers/dialog/type.js +3 -3
  190. package/lib/providers/multi-display-provider.js +4 -4
  191. package/lib/providers/privilege-provider.js +7 -7
  192. package/lib/providers/screen-share/provider.base.js +23 -23
  193. package/lib/providers/screen-share/stream-state-sync.js +18 -18
  194. package/lib/providers/screen-share/struct.js +24 -24
  195. package/lib/providers/widget-provider.d.ts +13 -2
  196. package/lib/providers/widget-provider.js +60 -9
  197. package/lib/providers/window/main-window.js +2 -2
  198. package/lib/providers/window/provider.js +5 -5
  199. package/lib/providers/window/renderer-window.js +2 -2
  200. package/lib/scenes/main-scene.js +1 -0
  201. package/lib/schema.js +26 -26
  202. package/lib/shared-data/app-list-data.d.ts +0 -3
  203. package/lib/shared-data/app-list-data.js +3 -30
  204. package/lib/shared-data/meeting-time.js +8 -8
  205. package/lib/shared-data/setting.js +3 -3
  206. package/lib/shared-data/video-window.d.ts +1 -1
  207. package/lib/shared-data/video-window.js +1 -1
  208. package/lib/shared-data/widget-data.d.ts +0 -1
  209. package/lib/type.d.ts +1 -0
  210. package/lib/type.js +23 -21
  211. package/lib/ui-scene-switch.js +2 -2
  212. package/lib/utilities/constant.js +6 -6
  213. package/lib/utilities/renderer.js +8 -8
  214. package/lib/utilities/shared-storage.js +2 -2
  215. package/lib/utilities/tools.js +14 -14
  216. package/package.json +82 -77
  217. package/public/assets/fcr_chat_reddot.svg +5 -5
  218. package/public/assets/fcr_grid_big.svg +3 -3
  219. package/public/assets/fcr_leave2.svg +58 -58
  220. package/public/assets/fcr_listontop_big.svg +3 -3
  221. package/public/assets/step-gradient.svg +10 -10
  222. package/public/fragment.html +10 -10
  223. package/public/index.html +107 -183
  224. package/public/index.vite.html +109 -0
  225. package/public/js/init.js +75 -0
  226. package/public/{meeting-manager.js → js/meeting-manager.js} +405 -405
@@ -1,123 +1,123 @@
1
- .fcr-meeting-preview__wrapper {
2
- /* TODO: for dev */
3
- padding: 100px 160px 0px;
4
- }
5
-
6
- .fcr-meeting-preview__close {
7
- position: absolute;
8
- top: 25px;
9
- right: 40px;
10
- height: 50px;
11
- width: 50px;
12
- margin-bottom: 20px;
13
- align-self: flex-end;
14
- margin-right: 20px;
15
- cursor: pointer;
16
- border-radius: 50%;
17
- display: flex;
18
- align-items: center;
19
- justify-content: center;
20
- /* TODO */
21
- background: #f2f2fa;
22
- }
23
-
24
- .fcr-meeting-preview__close:hover {
25
- /* TODO */
26
- background: #4262ff;
27
- }
28
-
29
- .fcr-meeting-preview__close:hover path {
30
- /* TODO */
31
- fill: #ffffff;
32
- }
33
-
34
- .fcr-speaker-control-wrapper {
35
- display: flex;
36
- align-items: center;
37
-
38
- background-color: var(--fcr_web_ui_scene_fill3);
39
- border: 0.5px solid var(--fcr_ui_scene_line1);
40
- border-radius: var(--fcr_cornerradius_l);
41
-
42
- height: 40px;
43
- min-width: 160px;
44
- padding: 0 14px 0 4px;
45
- }
46
-
47
- .fcr-speak-louder-bg {
48
- height: 30px;
49
- width: 30px;
50
- cursor: pointer;
51
- display: flex;
52
- align-items: center;
53
- justify-content: center;
54
- border-radius: var(--fcr_cornerradius_m);
55
- background: var(--fcr_web_ui_scene_fill3);
56
- }
57
-
58
- .fcr-speak-louder-bg:hover {
59
- /* TODO: 缺色值 */
60
- background-color: var(--fcr_ui_scene_hover);
61
- background-color: #4262ff1a;
62
- }
63
-
64
- .fcr-speaker-control__slider {
65
- margin-left: 6px;
66
- flex: 1;
67
- }
68
-
69
- .fcr-video-settings-basic_preview {
70
- padding-top: 20px;
71
- padding: 0 16px;
72
- background-color: var(--fcr_mobile_ui_scene_color_popup_block5);
73
- border-radius: var(--fcr_cornerradius_s);
74
- }
75
-
76
- .fcr-video-settings-basic_preview__form-row {
77
- display: flex;
78
- width: 100%;
79
- gap: 8px;
80
- }
81
-
82
- .fcr-video-settings-basic_preview__form-column {
83
- display: flex;
84
- flex: 1;
85
- }
86
-
87
- .fcr-video-settings-basic_preview__form-column-max-width {
88
- max-width: 50%;
89
- }
90
-
91
- .fcr-video-settings-basic_preview__form-item {
92
- flex: 1;
93
- width: 100%;
94
- }
95
-
96
- .fcr-video-settings-basic_preview__form-label {
97
- padding: 10px 0;
98
- font-family: Helvetica Neue;
99
- }
100
-
101
- .fcr-video-settings-basic_preview__form-column .label--l {
102
- font-weight: 700;
103
- font-size: 15px;
104
- line-height: 15px;
105
- }
106
-
107
- .fcr-video-settings-basic_preview__form-label-inline {
108
- display: flex;
109
- align-items: center;
110
- }
111
-
112
- .fcr-video-settings-basic_preview__form-column .fcr-microphone-detection {
113
- padding: 0;
114
- }
115
-
116
- .fcr-video-settings-basic_preview__form-column .fcr-speaker-detection {
117
- padding: 0;
118
- }
119
-
120
- .fcr-video-settings-basic_preview__form-column .fcr-volume-indicator {
121
- padding: 0 0 0 10px;
122
- flex: 1;
123
- }
1
+ .fcr-meeting-preview__wrapper {
2
+ /* TODO: for dev */
3
+ padding: 100px 160px 0px;
4
+ }
5
+
6
+ .fcr-meeting-preview__close {
7
+ position: absolute;
8
+ top: 25px;
9
+ right: 40px;
10
+ height: 50px;
11
+ width: 50px;
12
+ margin-bottom: 20px;
13
+ align-self: flex-end;
14
+ margin-right: 20px;
15
+ cursor: pointer;
16
+ border-radius: 50%;
17
+ display: flex;
18
+ align-items: center;
19
+ justify-content: center;
20
+ /* TODO */
21
+ background: #f2f2fa;
22
+ }
23
+
24
+ .fcr-meeting-preview__close:hover {
25
+ /* TODO */
26
+ background: #4262ff;
27
+ }
28
+
29
+ .fcr-meeting-preview__close:hover path {
30
+ /* TODO */
31
+ fill: #ffffff;
32
+ }
33
+
34
+ .fcr-speaker-control-wrapper {
35
+ display: flex;
36
+ align-items: center;
37
+
38
+ background-color: var(--fcr_web_ui_scene_fill3);
39
+ border: 0.5px solid var(--fcr_ui_scene_line1);
40
+ border-radius: var(--fcr_cornerradius_l);
41
+
42
+ height: 40px;
43
+ min-width: 160px;
44
+ padding: 0 14px 0 4px;
45
+ }
46
+
47
+ .fcr-speak-louder-bg {
48
+ height: 30px;
49
+ width: 30px;
50
+ cursor: pointer;
51
+ display: flex;
52
+ align-items: center;
53
+ justify-content: center;
54
+ border-radius: var(--fcr_cornerradius_m);
55
+ background: var(--fcr_web_ui_scene_fill3);
56
+ }
57
+
58
+ .fcr-speak-louder-bg:hover {
59
+ /* TODO: 缺色值 */
60
+ background-color: var(--fcr_ui_scene_hover);
61
+ background-color: #4262ff1a;
62
+ }
63
+
64
+ .fcr-speaker-control__slider {
65
+ margin-left: 6px;
66
+ flex: 1;
67
+ }
68
+
69
+ .fcr-video-settings-basic_preview {
70
+ padding-top: 20px;
71
+ padding: 0 16px;
72
+ background-color: var(--fcr_mobile_ui_scene_color_popup_block5);
73
+ border-radius: var(--fcr_cornerradius_s);
74
+ }
75
+
76
+ .fcr-video-settings-basic_preview__form-row {
77
+ display: flex;
78
+ width: 100%;
79
+ gap: 8px;
80
+ }
81
+
82
+ .fcr-video-settings-basic_preview__form-column {
83
+ display: flex;
84
+ flex: 1;
85
+ }
86
+
87
+ .fcr-video-settings-basic_preview__form-column-max-width {
88
+ max-width: 50%;
89
+ }
90
+
91
+ .fcr-video-settings-basic_preview__form-item {
92
+ flex: 1;
93
+ width: 100%;
94
+ }
95
+
96
+ .fcr-video-settings-basic_preview__form-label {
97
+ padding: 10px 0;
98
+ font-family: Helvetica Neue;
99
+ }
100
+
101
+ .fcr-video-settings-basic_preview__form-column .label--l {
102
+ font-weight: 700;
103
+ font-size: 15px;
104
+ line-height: 15px;
105
+ }
106
+
107
+ .fcr-video-settings-basic_preview__form-label-inline {
108
+ display: flex;
109
+ align-items: center;
110
+ }
111
+
112
+ .fcr-video-settings-basic_preview__form-column .fcr-microphone-detection {
113
+ padding: 0;
114
+ }
115
+
116
+ .fcr-video-settings-basic_preview__form-column .fcr-speaker-detection {
117
+ padding: 0;
118
+ }
119
+
120
+ .fcr-video-settings-basic_preview__form-column .fcr-volume-indicator {
121
+ padding: 0 0 0 10px;
122
+ flex: 1;
123
+ }
@@ -1,24 +1,24 @@
1
- .fcr-event-confirm-wrapper.fcr-event-confirm-container {
2
- width: 100vw;
3
- height: 100vh;
4
- position: absolute;
5
- top: 0;
6
- left: 0;
7
- z-index: 2000;
8
- pointer-events: none;
9
- }
10
-
11
- .fcr-event-confirm-wrapper.fcr-event-confirm-container div {
12
- pointer-events: all;
13
- }
14
-
15
- .fcr-confirm-dialog-wrapper {
16
- background: #fff;
17
- }
18
-
19
- .fcr-confirm-dialog-wrapper_web {
20
- background: var(--fcr_mobile_ui_scene_color_popup_fill2);
21
- border-radius: var(--fcr_cornerradius_xl);
22
- box-shadow: var(--fcr_web_light_dropup);
23
- border: 1px solid var(--fcr_ui_scene_line1);
24
- }
1
+ .fcr-event-confirm-wrapper.fcr-event-confirm-container {
2
+ width: 100vw;
3
+ height: 100vh;
4
+ position: absolute;
5
+ top: 0;
6
+ left: 0;
7
+ z-index: 2000;
8
+ pointer-events: none;
9
+ }
10
+
11
+ .fcr-event-confirm-wrapper.fcr-event-confirm-container div {
12
+ pointer-events: all;
13
+ }
14
+
15
+ .fcr-confirm-dialog-wrapper {
16
+ background: #fff;
17
+ }
18
+
19
+ .fcr-confirm-dialog-wrapper_web {
20
+ background: var(--fcr_mobile_ui_scene_color_popup_fill2);
21
+ border-radius: var(--fcr_cornerradius_xl);
22
+ box-shadow: var(--fcr_web_light_dropup);
23
+ border: 1px solid var(--fcr_ui_scene_line1);
24
+ }
@@ -1,112 +1,112 @@
1
- .fcr-dialog-container {
2
- background: var(--fcr_mobile_ui_scene_color_popup_fill2);
3
- position: relative;
4
- flex: 1;
5
- width: 100%;
6
- /* height: 100%; 此处设置 100% 会影响自适应高度布局 */
7
- box-sizing: border-box;
8
- overflow: hidden;
9
- font-family:
10
- ui-sans-serif,
11
- system-ui,
12
- -apple-system,
13
- BlinkMacSystemFont,
14
- 'Segoe UI',
15
- Roboto,
16
- 'Helvetica Neue',
17
- Arial,
18
- 'Noto Sans',
19
- sans-serif,
20
- 'Apple Color Emoji',
21
- 'Segoe UI Emoji',
22
- 'Segoe UI Symbol',
23
- 'Noto Color Emoji';
24
- font-size: 14px;
25
- z-index: 0;
26
- }
27
-
28
- ::-webkit-scrollbar {
29
- display: none;
30
- }
31
- .fcr-dialog-container_shadow {
32
- box-shadow: var(--fcr_web_light_dropup);
33
- border: 1px solid var(--fcr_ui_scene_line1);
34
- border-radius: var(--fcr_cornerradius_xl);
35
- }
36
-
37
- .fcr-dialog-container-header {
38
- width: 100%;
39
- height: 46px;
40
- display: flex;
41
- align-items: center;
42
- -webkit-app-region: drag;
43
- color: var(--fcr_ui_scene_icontext1);
44
- justify-content: center;
45
- cursor: move;
46
- border-radius: var(--fcr_cornerradius_xl);
47
- }
48
-
49
- .fcr-dialog-container-header h2 {
50
- font-size: 16px;
51
- font-weight: 700;
52
- display: flex;
53
- flex: 3;
54
- align-items: center;
55
- justify-content: center;
56
- color: var(--fcr_ui_scene_icontext1);
57
- }
58
-
59
- .fcr-dialog-container-actions {
60
- flex: 1;
61
- display: flex;
62
- justify-content: flex-end;
63
- align-items: center;
64
- padding-right: 10px;
65
- }
66
-
67
- .fcr-dialog-container-actions .frc-window-header__icon {
68
- margin-left: 5px;
69
- }
70
- · .fcr-dialog-container-content {
71
- position: relative;
72
- border-bottom-left-radius: var(--fcr_cornerradius_xl);
73
- border-bottom-right-radius: var(--fcr_cornerradius_xl);
74
- overflow: hidden;
75
- }
76
-
77
- .fcr-dialog-container-content::-webkit-scrollbar {
78
- display: none;
79
- }
80
-
81
- .fcr-dialog-container .fcr-dialog-container-content:first-child {
82
- border-top-left-radius: var(--fcr_cornerradius_xl);
83
- border-top-right-radius: var(--fcr_cornerradius_xl);
84
- }
85
-
86
- .fcr-dialog-container-close {
87
- width: 14px;
88
- height: 14px;
89
- border-radius: 50%;
90
- background: var(--fcr_ui_scene_ramp_red6);
91
- position: absolute;
92
- left: 15px;
93
- top: 15px;
94
- display: block;
95
- cursor: pointer;
96
- -webkit-app-region: no-drag;
97
- text-align: center;
98
- line-height: 14px;
99
- }
100
-
101
- .fcr-dialog-container-close span {
102
- display: none;
103
- }
104
-
105
- .fcr-dialog-container-close:hover span {
106
- display: block;
107
- color: #fff;
108
- }
109
-
110
- .fcr-dialog-container-close:hover {
111
- color: var(--fcr_ui_scene_ramp_red7);
112
- }
1
+ .fcr-dialog-container {
2
+ background: var(--fcr_mobile_ui_scene_color_popup_fill2);
3
+ position: relative;
4
+ flex: 1;
5
+ width: 100%;
6
+ /* height: 100%; 此处设置 100% 会影响自适应高度布局 */
7
+ box-sizing: border-box;
8
+ overflow: hidden;
9
+ font-family:
10
+ ui-sans-serif,
11
+ system-ui,
12
+ -apple-system,
13
+ BlinkMacSystemFont,
14
+ 'Segoe UI',
15
+ Roboto,
16
+ 'Helvetica Neue',
17
+ Arial,
18
+ 'Noto Sans',
19
+ sans-serif,
20
+ 'Apple Color Emoji',
21
+ 'Segoe UI Emoji',
22
+ 'Segoe UI Symbol',
23
+ 'Noto Color Emoji';
24
+ font-size: 14px;
25
+ z-index: 0;
26
+ }
27
+
28
+ ::-webkit-scrollbar {
29
+ display: none;
30
+ }
31
+ .fcr-dialog-container_shadow {
32
+ box-shadow: var(--fcr_web_light_dropup);
33
+ border: 1px solid var(--fcr_ui_scene_line1);
34
+ border-radius: var(--fcr_cornerradius_xl);
35
+ }
36
+
37
+ .fcr-dialog-container-header {
38
+ width: 100%;
39
+ height: 46px;
40
+ display: flex;
41
+ align-items: center;
42
+ -webkit-app-region: drag;
43
+ color: var(--fcr_ui_scene_icontext1);
44
+ justify-content: center;
45
+ cursor: move;
46
+ border-radius: var(--fcr_cornerradius_xl);
47
+ }
48
+
49
+ .fcr-dialog-container-header h2 {
50
+ font-size: 16px;
51
+ font-weight: 700;
52
+ display: flex;
53
+ flex: 3;
54
+ align-items: center;
55
+ justify-content: center;
56
+ color: var(--fcr_ui_scene_icontext1);
57
+ }
58
+
59
+ .fcr-dialog-container-actions {
60
+ flex: 1;
61
+ display: flex;
62
+ justify-content: flex-end;
63
+ align-items: center;
64
+ padding-right: 10px;
65
+ }
66
+
67
+ .fcr-dialog-container-actions .frc-window-header__icon {
68
+ margin-left: 5px;
69
+ }
70
+ · .fcr-dialog-container-content {
71
+ position: relative;
72
+ border-bottom-left-radius: var(--fcr_cornerradius_xl);
73
+ border-bottom-right-radius: var(--fcr_cornerradius_xl);
74
+ overflow: hidden;
75
+ }
76
+
77
+ .fcr-dialog-container-content::-webkit-scrollbar {
78
+ display: none;
79
+ }
80
+
81
+ .fcr-dialog-container .fcr-dialog-container-content:first-child {
82
+ border-top-left-radius: var(--fcr_cornerradius_xl);
83
+ border-top-right-radius: var(--fcr_cornerradius_xl);
84
+ }
85
+
86
+ .fcr-dialog-container-close {
87
+ width: 14px;
88
+ height: 14px;
89
+ border-radius: 50%;
90
+ background: var(--fcr_ui_scene_ramp_red6);
91
+ position: absolute;
92
+ left: 15px;
93
+ top: 15px;
94
+ display: block;
95
+ cursor: pointer;
96
+ -webkit-app-region: no-drag;
97
+ text-align: center;
98
+ line-height: 14px;
99
+ }
100
+
101
+ .fcr-dialog-container-close span {
102
+ display: none;
103
+ }
104
+
105
+ .fcr-dialog-container-close:hover span {
106
+ display: block;
107
+ color: #fff;
108
+ }
109
+
110
+ .fcr-dialog-container-close:hover {
111
+ color: var(--fcr_ui_scene_ramp_red7);
112
+ }
@@ -1,24 +1,24 @@
1
- .fcr-event-confirm-wrapper.fcr-event-confirm-container {
2
- width: 100vw;
3
- height: 100vh;
4
- position: absolute;
5
- top: 0;
6
- left: 0;
7
- z-index: 2000;
8
- pointer-events: none;
9
- }
10
-
11
- .fcr-event-confirm-wrapper.fcr-event-confirm-container div {
12
- pointer-events: all;
13
- }
14
-
15
- .fcr-confirm-dialog-wrapper {
16
- background: #fff;
17
- }
18
-
19
- .fcr-confirm-dialog-wrapper_web {
20
- background: var(--fcr_mobile_ui_scene_color_popup_fill2);
21
- border-radius: var(--fcr_cornerradius_xl);
22
- box-shadow: var(--fcr_web_light_dropup);
23
- border: 1px solid var(--fcr_ui_scene_line1);
24
- }
1
+ .fcr-event-confirm-wrapper.fcr-event-confirm-container {
2
+ width: 100vw;
3
+ height: 100vh;
4
+ position: absolute;
5
+ top: 0;
6
+ left: 0;
7
+ z-index: 2000;
8
+ pointer-events: none;
9
+ }
10
+
11
+ .fcr-event-confirm-wrapper.fcr-event-confirm-container div {
12
+ pointer-events: all;
13
+ }
14
+
15
+ .fcr-confirm-dialog-wrapper {
16
+ background: #fff;
17
+ }
18
+
19
+ .fcr-confirm-dialog-wrapper_web {
20
+ background: var(--fcr_mobile_ui_scene_color_popup_fill2);
21
+ border-radius: var(--fcr_cornerradius_xl);
22
+ box-shadow: var(--fcr_web_light_dropup);
23
+ border: 1px solid var(--fcr_ui_scene_line1);
24
+ }
@@ -3,4 +3,5 @@ export declare const GatewayConnectorTabs: (props: {
3
3
  type: string;
4
4
  computerChildren: ReactNode;
5
5
  phoneChildren: ReactNode;
6
+ contactsChildren: ReactNode;
6
7
  }) => import("react/jsx-runtime").JSX.Element;
@@ -7,6 +7,8 @@ Object.defineProperty(exports, "__esModule", {
7
7
  });
8
8
  exports.GatewayConnectorTabs = void 0;
9
9
  require("core-js/modules/es.array.concat.js");
10
+ require("core-js/modules/es.array.push.js");
11
+ require("core-js/modules/es.function.name.js");
10
12
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
11
13
  var _mobxReact = require("mobx-react");
12
14
  var _tabFrame = _interopRequireDefault(require("../../../components/tab-frame"));
@@ -18,29 +20,40 @@ var _jsxRuntime = require("react/jsx-runtime");
18
20
  var GatewayConnectorTabs = exports.GatewayConnectorTabs = (0, _mobxReact.observer)(function (props) {
19
21
  var type = props.type,
20
22
  computerChildren = props.computerChildren,
21
- phoneChildren = props.phoneChildren;
23
+ phoneChildren = props.phoneChildren,
24
+ contactsChildren = props.contactsChildren;
22
25
  var _useContext = (0, _react.useContext)(_store.StoreContext),
23
26
  connectType = _useContext.connectType,
24
- hasOwnPstnStream = _useContext.hasOwnPstnStream;
27
+ hasOwnPstnStream = _useContext.hasOwnPstnStream,
28
+ widgetConfigByContacts = _useContext.widgetConfigByContacts;
25
29
  var _useState = (0, _react.useState)("".concat(type)),
26
30
  _useState2 = (0, _slicedToArray2["default"])(_useState, 2),
27
31
  activeTabKey = _useState2[0],
28
32
  setActiveTabKey = _useState2[1];
33
+ var tabs = [{
34
+ label: "".concat((0, _i18n.transI18n)('fmt_PSTN_label_pcaudio')).concat(connectType === _type.FcrUIConnectType.COMPUTER ? "-".concat((0, _i18n.transI18n)('fmt_PSTN_status_connected')) : ''),
35
+ key: 'computer',
36
+ content: computerChildren
37
+ }, {
38
+ label: "".concat((0, _i18n.transI18n)('fmt_pstn_options_phoneaudio')).concat(hasOwnPstnStream ? "-".concat((0, _i18n.transI18n)('fmt_PSTN_status_connected')) : ''),
39
+ key: 'phone',
40
+ content: phoneChildren
41
+ }];
42
+ if (widgetConfigByContacts) {
43
+ tabs.push({
44
+ label: widgetConfigByContacts.name,
45
+ key: widgetConfigByContacts.id,
46
+ content: contactsChildren
47
+ });
48
+ }
49
+ var onChange = function onChange(tab) {
50
+ setActiveTabKey(tab);
51
+ };
29
52
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
30
53
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_tabFrame["default"], {
31
54
  activeKey: activeTabKey,
32
- onChange: function onChange(tab) {
33
- return setActiveTabKey(tab);
34
- },
35
- tabs: [{
36
- label: "".concat((0, _i18n.transI18n)('fmt_PSTN_label_pcaudio')).concat(connectType === _type.FcrUIConnectType.COMPUTER ? "-".concat((0, _i18n.transI18n)('fmt_PSTN_status_connected')) : ''),
37
- key: 'computer',
38
- content: computerChildren
39
- }, {
40
- label: "".concat((0, _i18n.transI18n)('fmt_pstn_options_phoneaudio')).concat(hasOwnPstnStream ? "-".concat((0, _i18n.transI18n)('fmt_PSTN_status_connected')) : ''),
41
- key: 'phone',
42
- content: phoneChildren
43
- }]
55
+ onChange: onChange,
56
+ tabs: tabs
44
57
  })
45
58
  });
46
59
  });