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.
- package/lib/base.js +2 -2
- package/lib/electron/bootstrap-sdk.js +6 -6
- package/lib/electron/exit-codes.js +11 -11
- package/lib/electron/hang-detection/manager.js +4 -4
- package/lib/electron/ipc-protocol.js +12 -12
- package/lib/electron/process-manager/event-manager.js +30 -30
- package/lib/electron/process-manager/index.js +88 -88
- package/lib/electron/process-manager/state-manager.js +57 -57
- package/lib/electron/process-manager/types.js +16 -16
- package/lib/electron/sdk-helper.js +3 -3
- package/lib/electron/window-proxy/browser-window-proxy.js +13 -13
- package/lib/electron/window-proxy/main-process-handler.js +14 -14
- package/lib/fragments/annotation/style.css +9 -9
- package/lib/fragments/annotation/toolbar/components/item/style.css +45 -45
- package/lib/fragments/annotation/toolbar/components/panel/style.css +24 -24
- package/lib/fragments/annotation/toolbar/components/tips/style.css +19 -19
- package/lib/fragments/annotation/toolbar/style.css +55 -55
- package/lib/fragments/whiteboard/cursor.css +77 -77
- package/lib/fragments/whiteboard/store.js +1 -1
- package/lib/fragments/whiteboard/style.css +4 -4
- package/lib/global.css +62 -62
- package/lib/global.d.ts +27 -27
- package/lib/modules/action-bar/components/chat/index.css +88 -88
- package/lib/modules/action-bar/components/more/index.css +114 -114
- package/lib/modules/action-bar/components/notification-bar/components/interpreter/index.css +58 -58
- package/lib/modules/action-bar/components/notification-bar/components/virtual-image/index.css +56 -56
- package/lib/modules/action-bar/components/notification-bar/index.css +74 -74
- package/lib/modules/action-bar/components/participants/index.css +21 -21
- package/lib/modules/action-bar/components/record/index.css +39 -39
- package/lib/modules/action-bar/components/trigger-output-language/index.css +86 -86
- package/lib/modules/action-bar/components/trigger-subscribe-language/guide-tooltip/index.css +22 -22
- package/lib/modules/action-bar/index.css +358 -358
- package/lib/modules/action-bar/main-scene/view.js +3 -3
- package/lib/modules/audio-stream/index.js +3 -3
- package/lib/modules/caption/draggable-container/index.css +10 -10
- package/lib/modules/caption/draggable-container/index.js +34 -12
- package/lib/modules/caption/store.d.ts +1 -4
- package/lib/modules/caption/store.js +10 -18
- package/lib/modules/caption/view.css +158 -158
- package/lib/modules/caption/view.js +16 -27
- package/lib/modules/chat/components/chat-bar/index.css +89 -89
- package/lib/modules/chat/components/chat-select/index.css +185 -185
- package/lib/modules/chat/index.css +124 -124
- package/lib/modules/chat/store.d.ts +1 -0
- package/lib/modules/chat/store.js +2 -2
- package/lib/modules/components/apps/app-item/index.css +49 -49
- package/lib/modules/components/apps/index.css +9 -9
- package/lib/modules/components/caption-menu/index.css +58 -58
- package/lib/modules/components/caption-menu/index.d.ts +2 -0
- package/lib/modules/components/caption-menu/index.js +13 -10
- package/lib/modules/components/caption-menu/participants-privilege-control-options.js +5 -19
- package/lib/modules/components/caption-menu/steps/index.css +73 -73
- package/lib/modules/components/caption-menu/translation-setting-options.js +31 -24
- package/lib/modules/components/control-bar/components/loading/index.css +76 -76
- package/lib/modules/components/control-bar/components/progress/style.css +51 -51
- package/lib/modules/components/control-bar/components/switch-theme/index.css +101 -101
- package/lib/modules/components/control-bar/index.css +99 -99
- package/lib/modules/components/device-control/index.css +177 -177
- package/lib/modules/components/leave-meeting/components/index.css +151 -151
- package/lib/modules/components/leave-meeting/style.css +9 -9
- package/lib/modules/components/member-window/components/member-actions/store.js +22 -22
- package/lib/modules/components/member-window/index.css +502 -502
- package/lib/modules/components/security-menu/index.css +42 -42
- package/lib/modules/components/tab-frame/index.css +40 -40
- package/lib/modules/components/toolbar/components/item/style.css +94 -94
- package/lib/modules/components/toolbar/components/panel/style.css +86 -86
- package/lib/modules/components/toolbar/style.css +85 -85
- package/lib/modules/connection-gateway/components/computer/index.css +12 -12
- package/lib/modules/connection-gateway/components/phone/components/callinfo/index.css +36 -36
- package/lib/modules/connection-gateway/components/phone/components/calling/index.css +72 -72
- package/lib/modules/connection-gateway/components/phone/components/remeber/index.css +10 -10
- package/lib/modules/connection-gateway/components/phone/components/useing/index.css +46 -46
- package/lib/modules/connection-gateway/components/phone/index.css +49 -49
- package/lib/modules/connection-gateway/index.css +6 -6
- package/lib/modules/control-bar/components/carmera/index.js +7 -39
- package/lib/modules/control-bar/components/cloud-recording-buttons.js +18 -33
- package/lib/modules/control-bar/components/meeting-details/index.css +133 -133
- package/lib/modules/control-bar/components/microphone/index.js +3 -43
- package/lib/modules/control-bar/components/more-actions/index.css +103 -103
- package/lib/modules/control-bar/components/share-audio/index.css +90 -90
- package/lib/modules/control-bar/components/share-audio/index.d.ts +2 -0
- package/lib/modules/control-bar/components/share-audio/index.js +4 -10
- package/lib/modules/control-bar/components/share-state-nav/index.css +79 -79
- package/lib/modules/control-bar/hooks.d.ts +1 -0
- package/lib/modules/control-bar/hooks.js +140 -1
- package/lib/modules/control-bar/index.css +340 -340
- package/lib/modules/control-bar/index.js +4 -4
- package/lib/modules/control-bar/store.d.ts +3 -4
- package/lib/modules/control-bar/store.js +37 -30
- package/lib/modules/control-bar/type.d.ts +3 -0
- package/lib/modules/control-bar/view.js +40 -57
- package/lib/modules/device-pretest/index.css +123 -123
- package/lib/modules/dialog/components/confirm/index.css +24 -24
- package/lib/modules/dialog/components/confirm/index.js +0 -1
- package/lib/modules/dialog/components/dialog-container/index.css +112 -112
- package/lib/modules/dialog/components/dialog-container/index.js +1 -0
- package/lib/modules/dialog/dialogs/confirm/index.css +24 -24
- package/lib/modules/dialog/dialogs/device-setting/index.css +26 -26
- package/lib/modules/dialog/dialogs/interpreter/index.css +30 -30
- package/lib/modules/dialog/dialogs/mute-all/index.css +20 -20
- package/lib/modules/dialog/dialogs/system-preference/index.css +52 -52
- package/lib/modules/dialog/dialogs/widget/index.js +4 -4
- package/lib/modules/dialog/index.css +56 -56
- package/lib/modules/event-toast/index.css +25 -25
- package/lib/modules/event-toast/index.js +7 -1
- package/lib/modules/interpreter/action/add-btn/index.css +4 -4
- package/lib/modules/interpreter/action/delete-btn/index.css +14 -14
- package/lib/modules/interpreter/action/switch-btn/index.css +3 -3
- package/lib/modules/interpreter/dialog-content/index.css +33 -33
- package/lib/modules/interpreter/footer/index.css +11 -11
- package/lib/modules/interpreter/index.css +4 -4
- package/lib/modules/interpreter/interpreter-list/index.css +8 -8
- package/lib/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/index.css +46 -46
- package/lib/modules/interpreter/interpreter-list/interpreter-item/components/pick-user/index.css +46 -46
- package/lib/modules/interpreter/interpreter-list/interpreter-item/index.css +32 -32
- package/lib/modules/interpreter/loading-wrapper/index.css +53 -53
- package/lib/modules/invite/components/voip-invite.css +26 -26
- package/lib/modules/invite/index.css +331 -331
- package/lib/modules/layout/components/CommonVideoRenderer.js +4 -4
- package/lib/modules/layout/components/index.css +653 -653
- package/lib/modules/layout/index.css +59 -59
- package/lib/modules/layout/store.base.d.ts +1 -1
- package/lib/modules/layout/store.base.js +5 -5
- package/lib/modules/layout/store.electron.d.ts +0 -1
- package/lib/modules/layout/store.electron.js +37 -133
- package/lib/modules/layout/type.js +5 -5
- package/lib/modules/notification/index.css +77 -77
- package/lib/modules/notification/interpreter-status/index.css +76 -76
- package/lib/modules/participant/components/confirm-input/index.css +4 -4
- package/lib/modules/participant/components/participants/components/footer/components/drop-menu/index.css +83 -83
- package/lib/modules/participant/components/participants/components/render-user/components/attendee/index.css +87 -87
- package/lib/modules/participant/index.css +102 -102
- package/lib/modules/participant/store.base.js +183 -185
- package/lib/modules/pc-audio-connect/index.css +12 -12
- package/lib/modules/phone-audio-connect/components/callinfo/index.css +36 -36
- package/lib/modules/phone-audio-connect/components/calling/index.css +72 -72
- package/lib/modules/phone-audio-connect/components/remeber/index.css +10 -10
- package/lib/modules/phone-audio-connect/components/useing/index.css +46 -46
- package/lib/modules/phone-audio-connect/index.css +56 -56
- package/lib/modules/secondary-window/store.js +8 -10
- package/lib/modules/setting/audio-settings/index.css +195 -195
- package/lib/modules/setting/audio-whiteList/audio-device-adaptation.d.ts +28 -0
- package/lib/modules/setting/audio-whiteList/audio-device-adaptation.js +43 -7
- package/lib/modules/setting/audio-whiteList/audio-whiteList-manager.d.ts +3 -14
- package/lib/modules/setting/audio-whiteList/audio-whiteList-manager.js +51 -30
- package/lib/modules/setting/caption_and_transcribing/index.css +88 -88
- package/lib/modules/setting/general-settings/index.css +41 -41
- package/lib/modules/setting/index.css +112 -112
- package/lib/modules/setting/index.js +4 -2
- package/lib/modules/setting/minutes-settings/index.css +65 -65
- package/lib/modules/setting/state/index.css +207 -207
- package/lib/modules/setting/storage-settings/index.css +91 -91
- package/lib/modules/setting/store.base.d.ts +5 -3
- package/lib/modules/setting/store.base.js +64 -43
- package/lib/modules/setting/store.electron.d.ts +1 -1
- package/lib/modules/setting/store.electron.js +3 -7
- package/lib/modules/setting/translate-settings/index.css +47 -47
- package/lib/modules/setting/video-settings/index.css +357 -357
- package/lib/modules/setting/view.js +3 -2
- package/lib/modules/share-screen/components/control-bar/index.css +75 -75
- package/lib/modules/share-screen/components/selection/index.css +73 -73
- package/lib/modules/share-screen/components/share-state-bar/index.css +76 -76
- package/lib/modules/share-screen/index.js +10 -10
- package/lib/modules/share-screen/store.base.js +2 -2
- package/lib/modules/share-screen/store.electron.js +51 -23
- package/lib/modules/state-bar/assets/fcr_grid_big.svg +3 -3
- package/lib/modules/state-bar/assets/fcr_listontop_big.svg +3 -3
- package/lib/modules/state-bar/index.css +706 -706
- package/lib/modules/state-bar/main-scene/store.base.js +2 -2
- package/lib/modules/state-bar/meeting-detail.css +137 -137
- package/lib/modules/state-bar/meeting-network-state.css +150 -150
- package/lib/modules/state-bar/waiting-scene/store.base.js +2 -2
- package/lib/modules/subtitles-history/components/list-item.js +4 -7
- package/lib/modules/subtitles-history/components/settings/index.css +5 -5
- package/lib/modules/subtitles-history/index.css +129 -129
- package/lib/modules/subtitles-history/store.base.d.ts +3 -1
- package/lib/modules/subtitles-history/store.base.js +11 -1
- package/lib/modules/video-window/components/members/index.css +51 -51
- package/lib/modules/video-window/components/speaking/index.css +86 -86
- package/lib/modules/video-window/components/topControl/index.css +35 -35
- package/lib/modules/video-window/index.css +21 -21
- package/lib/modules/video-window/popover-watcher.js +3 -3
- package/lib/modules/video-window/store.js +10 -10
- package/lib/modules/waiting-room-layout/index.css +96 -96
- package/lib/modules/whiteboard/components/control-bar/index.css +52 -52
- package/lib/modules/whiteboard/components/loading/index.css +76 -76
- package/lib/modules/whiteboard/components/multi-window/index.css +63 -63
- package/lib/modules/whiteboard/components/pagination/index.css +228 -228
- package/lib/modules/whiteboard/components/progress/style.css +51 -51
- package/lib/modules/whiteboard/components/switch-theme/index.css +99 -99
- package/lib/modules/whiteboard/components/toolbar/style.css +591 -591
- package/lib/modules/whiteboard/style.css +140 -140
- package/lib/modules/widget/index.css +9 -9
- package/lib/object-manager.js +8 -8
- package/lib/plugins/module-dev-plugin.js +11 -11
- package/lib/providers/ability-provider.js +17 -17
- package/lib/providers/board-share/struct.js +6 -6
- package/lib/providers/dialog/provider.base.js +2 -2
- package/lib/providers/dialog/type.js +3 -3
- package/lib/providers/multi-display-provider.js +4 -4
- package/lib/providers/privilege-provider.js +7 -7
- package/lib/providers/screen-share/provider.base.d.ts +2 -13
- package/lib/providers/screen-share/provider.base.js +28 -35
- package/lib/providers/screen-share/provider.electron.d.ts +0 -5
- package/lib/providers/screen-share/provider.electron.js +31 -18
- package/lib/providers/screen-share/stream-state-sync.js +18 -18
- package/lib/providers/screen-share/struct.js +24 -24
- package/lib/providers/screen-share/type.d.ts +0 -16
- package/lib/providers/stt-provider/stt-provider.d.ts +3 -4
- package/lib/providers/stt-provider/stt-provider.js +145 -146
- package/lib/providers/stt-provider/type.d.ts +2 -10
- package/lib/providers/stt-provider/type.js +3 -3
- package/lib/providers/window/main-window.js +2 -2
- package/lib/providers/window/provider.js +5 -5
- package/lib/providers/window/renderer-window.js +2 -2
- package/lib/schema.js +26 -26
- package/lib/shared-data/meeting-time.js +8 -8
- package/lib/shared-data/setting.js +3 -3
- package/lib/translations/enUS.d.ts +12 -1
- package/lib/translations/enUS.js +22 -19
- package/lib/translations/zhCN.d.ts +12 -1
- package/lib/translations/zhCN.js +20 -17
- package/lib/type.js +21 -21
- package/lib/ui-scene-switch.js +2 -2
- package/lib/utilities/constant.js +6 -6
- package/lib/utilities/renderer.js +8 -8
- package/lib/utilities/shared-storage.js +2 -2
- package/lib/utilities/tools.js +14 -14
- package/package.json +78 -79
- package/public/assets/fcr_chat_reddot.svg +5 -5
- package/public/assets/fcr_grid_big.svg +3 -3
- package/public/assets/fcr_leave2.svg +58 -58
- package/public/assets/fcr_listontop_big.svg +3 -3
- package/public/assets/step-gradient.svg +10 -10
- package/public/fragment.html +10 -10
- package/public/index.html +183 -183
- package/public/meeting-manager.js +405 -405
|
@@ -1,73 +1,73 @@
|
|
|
1
|
-
.fcr-steps-container {
|
|
2
|
-
display: flex;
|
|
3
|
-
width: 100%;
|
|
4
|
-
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.fcr-steps-container.horizontal {
|
|
8
|
-
flex-direction: row;
|
|
9
|
-
align-items: center;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.fcr-steps-container.vertical {
|
|
13
|
-
flex-direction: column;
|
|
14
|
-
align-items: flex-start;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.fcr-step-item {
|
|
18
|
-
position: relative;
|
|
19
|
-
display: flex;
|
|
20
|
-
align-items: center;
|
|
21
|
-
flex: 1;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.fcr-step-icon {
|
|
25
|
-
width: 16px;
|
|
26
|
-
height: 16px;
|
|
27
|
-
border-radius: 50%;
|
|
28
|
-
display: flex;
|
|
29
|
-
align-items: center;
|
|
30
|
-
justify-content: center;
|
|
31
|
-
font-weight: bold;
|
|
32
|
-
flex-shrink: 0;
|
|
33
|
-
z-index: 1;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.fcr-step-item.fcr-wait .fcr-step-icon {
|
|
37
|
-
background-color: var(--fcr_mobile_ui_scene_fill1);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.fcr-step-item.fcr-finish .fcr-step-icon {
|
|
41
|
-
background-color: var(--fcr_ui_scene_icontext7);
|
|
42
|
-
}
|
|
43
|
-
.fcr-step-item.fcr-last {
|
|
44
|
-
flex: none;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.fcr-step-connector {
|
|
48
|
-
z-index: 0;
|
|
49
|
-
flex: 1;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.fcr-steps-container.horizontal .fcr-step-connector {
|
|
53
|
-
height: 4px;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.fcr-steps-container.vertical .fcr-step-connector {
|
|
57
|
-
width: 4px;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.fcr-step-line {
|
|
61
|
-
height: 100%;
|
|
62
|
-
width: 100%;
|
|
63
|
-
background-color: var(--fcr_mobile_ui_scene_fill1);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.fcr-step-connector.fcr-finish .fcr-step-line {
|
|
67
|
-
background-color: var(--fcr_ui_scene_icontext7);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.fcr-steps-disabled {
|
|
71
|
-
opacity: 0.5;
|
|
72
|
-
cursor: not-allowed;
|
|
73
|
-
}
|
|
1
|
+
.fcr-steps-container {
|
|
2
|
+
display: flex;
|
|
3
|
+
width: 100%;
|
|
4
|
+
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.fcr-steps-container.horizontal {
|
|
8
|
+
flex-direction: row;
|
|
9
|
+
align-items: center;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.fcr-steps-container.vertical {
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
align-items: flex-start;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.fcr-step-item {
|
|
18
|
+
position: relative;
|
|
19
|
+
display: flex;
|
|
20
|
+
align-items: center;
|
|
21
|
+
flex: 1;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.fcr-step-icon {
|
|
25
|
+
width: 16px;
|
|
26
|
+
height: 16px;
|
|
27
|
+
border-radius: 50%;
|
|
28
|
+
display: flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
justify-content: center;
|
|
31
|
+
font-weight: bold;
|
|
32
|
+
flex-shrink: 0;
|
|
33
|
+
z-index: 1;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.fcr-step-item.fcr-wait .fcr-step-icon {
|
|
37
|
+
background-color: var(--fcr_mobile_ui_scene_fill1);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.fcr-step-item.fcr-finish .fcr-step-icon {
|
|
41
|
+
background-color: var(--fcr_ui_scene_icontext7);
|
|
42
|
+
}
|
|
43
|
+
.fcr-step-item.fcr-last {
|
|
44
|
+
flex: none;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.fcr-step-connector {
|
|
48
|
+
z-index: 0;
|
|
49
|
+
flex: 1;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.fcr-steps-container.horizontal .fcr-step-connector {
|
|
53
|
+
height: 4px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.fcr-steps-container.vertical .fcr-step-connector {
|
|
57
|
+
width: 4px;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.fcr-step-line {
|
|
61
|
+
height: 100%;
|
|
62
|
+
width: 100%;
|
|
63
|
+
background-color: var(--fcr_mobile_ui_scene_fill1);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.fcr-step-connector.fcr-finish .fcr-step-line {
|
|
67
|
+
background-color: var(--fcr_ui_scene_icontext7);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.fcr-steps-disabled {
|
|
71
|
+
opacity: 0.5;
|
|
72
|
+
cursor: not-allowed;
|
|
73
|
+
}
|
|
@@ -56,8 +56,7 @@ var useSourceLanguageMenuOptions = function useSourceLanguageMenuOptions() {
|
|
|
56
56
|
var _useContext = (0, _react.useContext)(_.CaptionMenuContext),
|
|
57
57
|
languageOptions = _useContext.languageOptions,
|
|
58
58
|
updateSourceLanguage = _useContext.updateSourceLanguage,
|
|
59
|
-
sourceLanguage = _useContext.sourceLanguage
|
|
60
|
-
setIsSourceLanguageVisible = _useContext.setIsSourceLanguageVisible;
|
|
59
|
+
sourceLanguage = _useContext.sourceLanguage;
|
|
61
60
|
var getLanguageConfig = (0, _useLanguageConfig.useLanguageConfig)();
|
|
62
61
|
var transI18n = (0, _i18n.useI18n)();
|
|
63
62
|
var sourceLanguageOptions = languageOptions.sourceList.map(function (language) {
|
|
@@ -73,14 +72,17 @@ var useSourceLanguageMenuOptions = function useSourceLanguageMenuOptions() {
|
|
|
73
72
|
}),
|
|
74
73
|
onButtonClick: function onButtonClick() {
|
|
75
74
|
updateSourceLanguage(language);
|
|
76
|
-
setIsSourceLanguageVisible(false);
|
|
77
75
|
}
|
|
78
76
|
};
|
|
79
77
|
});
|
|
80
78
|
return [{
|
|
79
|
+
type: 'title',
|
|
81
80
|
title: transI18n('fmt_ai_subtitles_setting_label_source_language'),
|
|
82
81
|
key: 'source_language_title',
|
|
83
|
-
|
|
82
|
+
onButtonClick: function onButtonClick(e) {
|
|
83
|
+
e.stopPropagation();
|
|
84
|
+
e.preventDefault();
|
|
85
|
+
}
|
|
84
86
|
}, _.line].concat((0, _toConsumableArray2["default"])(sourceLanguageOptions));
|
|
85
87
|
};
|
|
86
88
|
var useTranslationMenuOptions = function useTranslationMenuOptions() {
|
|
@@ -99,7 +101,9 @@ var useTranslationMenuOptions = function useTranslationMenuOptions() {
|
|
|
99
101
|
checked: language === item.value
|
|
100
102
|
}),
|
|
101
103
|
key: item.value,
|
|
102
|
-
onButtonClick: function onButtonClick() {
|
|
104
|
+
onButtonClick: function onButtonClick(e) {
|
|
105
|
+
e.stopPropagation();
|
|
106
|
+
e.preventDefault();
|
|
103
107
|
var value = item.value === _type2.NONE ? null : item.value;
|
|
104
108
|
subscribeTranslateLanguage(value);
|
|
105
109
|
}
|
|
@@ -107,7 +111,12 @@ var useTranslationMenuOptions = function useTranslationMenuOptions() {
|
|
|
107
111
|
});
|
|
108
112
|
return [{
|
|
109
113
|
title: transI18n('fmt_ai_subtitles_setting_label_translation_setting'),
|
|
110
|
-
key: 'traslation_settings_title'
|
|
114
|
+
key: 'traslation_settings_title',
|
|
115
|
+
type: 'title',
|
|
116
|
+
onButtonClick: function onButtonClick(e) {
|
|
117
|
+
e.stopPropagation();
|
|
118
|
+
e.preventDefault();
|
|
119
|
+
}
|
|
111
120
|
}, _.line].concat((0, _toConsumableArray2["default"])(translationLanguageOptions));
|
|
112
121
|
};
|
|
113
122
|
var useTranslationSettingOptions = exports.useTranslationSettingOptions = function useTranslationSettingOptions() {
|
|
@@ -119,12 +128,11 @@ var useTranslationSettingOptions = exports.useTranslationSettingOptions = functi
|
|
|
119
128
|
isTwoLineTranscribingEnabled = _useContext3.isTwoLineTranscribingEnabled,
|
|
120
129
|
toggleTwoLineTranscribingEnabled = _useContext3.toggleTwoLineTranscribingEnabled,
|
|
121
130
|
hasSetSourceLanguagePermission = _useContext3.hasSetSourceLanguagePermission,
|
|
122
|
-
captionState = _useContext3.captionState,
|
|
123
|
-
transcribingState = _useContext3.transcribingState,
|
|
124
131
|
isSourceLanguageVisible = _useContext3.isSourceLanguageVisible,
|
|
125
|
-
setIsSourceLanguageVisible = _useContext3.setIsSourceLanguageVisible
|
|
132
|
+
setIsSourceLanguageVisible = _useContext3.setIsSourceLanguageVisible,
|
|
133
|
+
isTranslationVisible = _useContext3.isTranslationVisible,
|
|
134
|
+
setIsTranslationVisible = _useContext3.setIsTranslationVisible;
|
|
126
135
|
var transI18n = (0, _i18n.useI18n)();
|
|
127
|
-
0;
|
|
128
136
|
var sourceLanguageOptions = useSourceLanguageMenuOptions();
|
|
129
137
|
var translationLanguageOptions = useTranslationMenuOptions();
|
|
130
138
|
var twoLineProps = menuType === FcrUICaptionMenuType.CAPTION ? {
|
|
@@ -134,31 +142,33 @@ var useTranslationSettingOptions = exports.useTranslationSettingOptions = functi
|
|
|
134
142
|
value: isTwoLineTranscribingEnabled,
|
|
135
143
|
onChange: toggleTwoLineTranscribingEnabled
|
|
136
144
|
};
|
|
137
|
-
var isDisabled = menuType === FcrUICaptionMenuType.CAPTION ? !captionState : !transcribingState;
|
|
138
145
|
return [{
|
|
139
146
|
key: 'translate_settings_title',
|
|
140
147
|
title: transI18n('fmt_ai_subtitles_setting_label_translation_setting'),
|
|
141
|
-
type: 'title'
|
|
142
|
-
onButtonClick: function onButtonClick() {
|
|
143
|
-
setIsSourceLanguageVisible(false);
|
|
144
|
-
}
|
|
148
|
+
type: 'title'
|
|
145
149
|
}, {
|
|
146
150
|
title: transI18n('fmt_ai_subtitles_setting_label_source_language'),
|
|
147
151
|
key: 'source_language',
|
|
148
152
|
options: sourceLanguageOptions,
|
|
149
|
-
disabled: !hasSetSourceLanguagePermission
|
|
150
|
-
onButtonClick: function onButtonClick() {
|
|
153
|
+
disabled: !hasSetSourceLanguagePermission,
|
|
154
|
+
onButtonClick: function onButtonClick(e) {
|
|
155
|
+
e.stopPropagation();
|
|
156
|
+
e.preventDefault();
|
|
151
157
|
setIsSourceLanguageVisible(true);
|
|
158
|
+
setIsTranslationVisible(false);
|
|
152
159
|
},
|
|
153
160
|
visible: isSourceLanguageVisible
|
|
154
161
|
}, {
|
|
155
162
|
title: transI18n('fmt_ai_subtitles_setting_label_translations_display'),
|
|
156
163
|
key: 'translate_display',
|
|
157
164
|
options: translationLanguageOptions,
|
|
158
|
-
|
|
159
|
-
|
|
165
|
+
onButtonClick: function onButtonClick(e) {
|
|
166
|
+
e.stopPropagation();
|
|
167
|
+
e.preventDefault();
|
|
168
|
+
setIsTranslationVisible(true);
|
|
160
169
|
setIsSourceLanguageVisible(false);
|
|
161
|
-
}
|
|
170
|
+
},
|
|
171
|
+
visible: isTranslationVisible
|
|
162
172
|
}, _.line, {
|
|
163
173
|
key: 'two_line_caption_enabled',
|
|
164
174
|
title: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
@@ -173,9 +183,6 @@ var useTranslationSettingOptions = exports.useTranslationSettingOptions = functi
|
|
|
173
183
|
value: twoLineProps.value,
|
|
174
184
|
onChange: twoLineProps.onChange
|
|
175
185
|
})]
|
|
176
|
-
})
|
|
177
|
-
onButtonClick: function onButtonClick() {
|
|
178
|
-
setIsSourceLanguageVisible(false);
|
|
179
|
-
}
|
|
186
|
+
})
|
|
180
187
|
}];
|
|
181
188
|
};
|
|
@@ -1,76 +1,76 @@
|
|
|
1
|
-
.fcr-board-loading {
|
|
2
|
-
border-radius: 10px;
|
|
3
|
-
position: absolute;
|
|
4
|
-
z-index: 999;
|
|
5
|
-
display: flex;
|
|
6
|
-
top: 38px;
|
|
7
|
-
right: 13px;
|
|
8
|
-
width: 447px;
|
|
9
|
-
height: fit-content;
|
|
10
|
-
transition: all 0.2s;
|
|
11
|
-
padding: 16px 12px 0 19px;
|
|
12
|
-
gap: 14px;
|
|
13
|
-
background: #748bff;
|
|
14
|
-
}
|
|
15
|
-
.fcr-board-loading-minimize {
|
|
16
|
-
width: fit-content;
|
|
17
|
-
height: 38px;
|
|
18
|
-
padding: 0 14px 0;
|
|
19
|
-
gap: 6px;
|
|
20
|
-
display: flex;
|
|
21
|
-
align-items: center;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.fcr-board-loading-img-wrap img {
|
|
25
|
-
width: 100%;
|
|
26
|
-
height: 100%;
|
|
27
|
-
animation: rotate 1s linear infinite;
|
|
28
|
-
width: 43px;
|
|
29
|
-
height: 43px;
|
|
30
|
-
}
|
|
31
|
-
.fcr-board-loading-minimize .fcr-board-loading-img-wrap img {
|
|
32
|
-
width: 22px;
|
|
33
|
-
height: 22px;
|
|
34
|
-
}
|
|
35
|
-
.fcr-board-loading-text {
|
|
36
|
-
color: #fff;
|
|
37
|
-
font-size: 14px;
|
|
38
|
-
line-height: 18px;
|
|
39
|
-
font-weight: 600;
|
|
40
|
-
text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.4);
|
|
41
|
-
white-space: pre-wrap;
|
|
42
|
-
}
|
|
43
|
-
.fcr-board-loading-minimize .fcr-board-loading-text {
|
|
44
|
-
color: #fff;
|
|
45
|
-
font-size: 14px;
|
|
46
|
-
line-height: 14px;
|
|
47
|
-
font-weight: 600;
|
|
48
|
-
}
|
|
49
|
-
.fcr-board-loading-btns {
|
|
50
|
-
color: #fff;
|
|
51
|
-
display: flex;
|
|
52
|
-
gap: 7px;
|
|
53
|
-
justify-content: flex-end;
|
|
54
|
-
padding-top: 10px;
|
|
55
|
-
}
|
|
56
|
-
.fcr-board-loading-btns .fcr-button-secondary {
|
|
57
|
-
color: #fff;
|
|
58
|
-
}
|
|
59
|
-
.fcr-board-loading-content {
|
|
60
|
-
flex: 1;
|
|
61
|
-
justify-content: space-between;
|
|
62
|
-
padding-bottom: 10px;
|
|
63
|
-
display: flex;
|
|
64
|
-
flex-direction: column;
|
|
65
|
-
}
|
|
66
|
-
.fcr-board-loading-minimize .fcr-board-loading-content {
|
|
67
|
-
padding-bottom: 0;
|
|
68
|
-
}
|
|
69
|
-
@keyframes rotate {
|
|
70
|
-
0% {
|
|
71
|
-
transform: rotate(0deg);
|
|
72
|
-
}
|
|
73
|
-
100% {
|
|
74
|
-
transform: rotate(359deg);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
1
|
+
.fcr-board-loading {
|
|
2
|
+
border-radius: 10px;
|
|
3
|
+
position: absolute;
|
|
4
|
+
z-index: 999;
|
|
5
|
+
display: flex;
|
|
6
|
+
top: 38px;
|
|
7
|
+
right: 13px;
|
|
8
|
+
width: 447px;
|
|
9
|
+
height: fit-content;
|
|
10
|
+
transition: all 0.2s;
|
|
11
|
+
padding: 16px 12px 0 19px;
|
|
12
|
+
gap: 14px;
|
|
13
|
+
background: #748bff;
|
|
14
|
+
}
|
|
15
|
+
.fcr-board-loading-minimize {
|
|
16
|
+
width: fit-content;
|
|
17
|
+
height: 38px;
|
|
18
|
+
padding: 0 14px 0;
|
|
19
|
+
gap: 6px;
|
|
20
|
+
display: flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.fcr-board-loading-img-wrap img {
|
|
25
|
+
width: 100%;
|
|
26
|
+
height: 100%;
|
|
27
|
+
animation: rotate 1s linear infinite;
|
|
28
|
+
width: 43px;
|
|
29
|
+
height: 43px;
|
|
30
|
+
}
|
|
31
|
+
.fcr-board-loading-minimize .fcr-board-loading-img-wrap img {
|
|
32
|
+
width: 22px;
|
|
33
|
+
height: 22px;
|
|
34
|
+
}
|
|
35
|
+
.fcr-board-loading-text {
|
|
36
|
+
color: #fff;
|
|
37
|
+
font-size: 14px;
|
|
38
|
+
line-height: 18px;
|
|
39
|
+
font-weight: 600;
|
|
40
|
+
text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.4);
|
|
41
|
+
white-space: pre-wrap;
|
|
42
|
+
}
|
|
43
|
+
.fcr-board-loading-minimize .fcr-board-loading-text {
|
|
44
|
+
color: #fff;
|
|
45
|
+
font-size: 14px;
|
|
46
|
+
line-height: 14px;
|
|
47
|
+
font-weight: 600;
|
|
48
|
+
}
|
|
49
|
+
.fcr-board-loading-btns {
|
|
50
|
+
color: #fff;
|
|
51
|
+
display: flex;
|
|
52
|
+
gap: 7px;
|
|
53
|
+
justify-content: flex-end;
|
|
54
|
+
padding-top: 10px;
|
|
55
|
+
}
|
|
56
|
+
.fcr-board-loading-btns .fcr-button-secondary {
|
|
57
|
+
color: #fff;
|
|
58
|
+
}
|
|
59
|
+
.fcr-board-loading-content {
|
|
60
|
+
flex: 1;
|
|
61
|
+
justify-content: space-between;
|
|
62
|
+
padding-bottom: 10px;
|
|
63
|
+
display: flex;
|
|
64
|
+
flex-direction: column;
|
|
65
|
+
}
|
|
66
|
+
.fcr-board-loading-minimize .fcr-board-loading-content {
|
|
67
|
+
padding-bottom: 0;
|
|
68
|
+
}
|
|
69
|
+
@keyframes rotate {
|
|
70
|
+
0% {
|
|
71
|
+
transform: rotate(0deg);
|
|
72
|
+
}
|
|
73
|
+
100% {
|
|
74
|
+
transform: rotate(359deg);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
.fcr-progress-dialog-frame {
|
|
2
|
-
width: 290px;
|
|
3
|
-
min-height: 58px;
|
|
4
|
-
padding: 10px 0;
|
|
5
|
-
border-radius: var(--fcr_cornerradius_s);
|
|
6
|
-
background: var(--fcr_ui_scene_white6);
|
|
7
|
-
box-shadow: var(--fcr_web_light_dropup);
|
|
8
|
-
display: flex;
|
|
9
|
-
align-items: center;
|
|
10
|
-
z-index: 1000;
|
|
11
|
-
position: absolute;
|
|
12
|
-
top: calc(100% - 98px);
|
|
13
|
-
left: calc(100vw - 310px);
|
|
14
|
-
}
|
|
15
|
-
.fcr-progress-dialog-icon {
|
|
16
|
-
width: 32px;
|
|
17
|
-
height: 32px;
|
|
18
|
-
margin: 0 18px;
|
|
19
|
-
}
|
|
20
|
-
.fcr-progress-dialog-icon svg {
|
|
21
|
-
width: 32px;
|
|
22
|
-
height: 32px;
|
|
23
|
-
}
|
|
24
|
-
.fcr-progress-dialog-content {
|
|
25
|
-
display: flex;
|
|
26
|
-
flex-direction: column;
|
|
27
|
-
justify-content: center;
|
|
28
|
-
flex: 1;
|
|
29
|
-
padding-right: 18px;
|
|
30
|
-
}
|
|
31
|
-
.fcr-progress-dialog-title {
|
|
32
|
-
font-size: 13px;
|
|
33
|
-
color: var(--fcr_ui_scene_icontext1);
|
|
34
|
-
margin-bottom: 10px;
|
|
35
|
-
justify-content: space-between;
|
|
36
|
-
display: flex;
|
|
37
|
-
flex: 1;
|
|
38
|
-
}
|
|
39
|
-
.fcr-progress-dialog-progress {
|
|
40
|
-
font-size: 12px;
|
|
41
|
-
height: 9px;
|
|
42
|
-
background: var(--fcr_ui_scene_ramp_brand1);
|
|
43
|
-
border-radius: var(--fcr_cornerradius_round);
|
|
44
|
-
flex: 1;
|
|
45
|
-
}
|
|
46
|
-
.fcr-progress-dialog-progress-bar {
|
|
47
|
-
width: 100%;
|
|
48
|
-
height: 9px;
|
|
49
|
-
background: var(--fcr_ui_scene_ramp_brand6);
|
|
50
|
-
border-radius: var(--fcr_cornerradius_round);
|
|
51
|
-
}
|
|
1
|
+
.fcr-progress-dialog-frame {
|
|
2
|
+
width: 290px;
|
|
3
|
+
min-height: 58px;
|
|
4
|
+
padding: 10px 0;
|
|
5
|
+
border-radius: var(--fcr_cornerradius_s);
|
|
6
|
+
background: var(--fcr_ui_scene_white6);
|
|
7
|
+
box-shadow: var(--fcr_web_light_dropup);
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
z-index: 1000;
|
|
11
|
+
position: absolute;
|
|
12
|
+
top: calc(100% - 98px);
|
|
13
|
+
left: calc(100vw - 310px);
|
|
14
|
+
}
|
|
15
|
+
.fcr-progress-dialog-icon {
|
|
16
|
+
width: 32px;
|
|
17
|
+
height: 32px;
|
|
18
|
+
margin: 0 18px;
|
|
19
|
+
}
|
|
20
|
+
.fcr-progress-dialog-icon svg {
|
|
21
|
+
width: 32px;
|
|
22
|
+
height: 32px;
|
|
23
|
+
}
|
|
24
|
+
.fcr-progress-dialog-content {
|
|
25
|
+
display: flex;
|
|
26
|
+
flex-direction: column;
|
|
27
|
+
justify-content: center;
|
|
28
|
+
flex: 1;
|
|
29
|
+
padding-right: 18px;
|
|
30
|
+
}
|
|
31
|
+
.fcr-progress-dialog-title {
|
|
32
|
+
font-size: 13px;
|
|
33
|
+
color: var(--fcr_ui_scene_icontext1);
|
|
34
|
+
margin-bottom: 10px;
|
|
35
|
+
justify-content: space-between;
|
|
36
|
+
display: flex;
|
|
37
|
+
flex: 1;
|
|
38
|
+
}
|
|
39
|
+
.fcr-progress-dialog-progress {
|
|
40
|
+
font-size: 12px;
|
|
41
|
+
height: 9px;
|
|
42
|
+
background: var(--fcr_ui_scene_ramp_brand1);
|
|
43
|
+
border-radius: var(--fcr_cornerradius_round);
|
|
44
|
+
flex: 1;
|
|
45
|
+
}
|
|
46
|
+
.fcr-progress-dialog-progress-bar {
|
|
47
|
+
width: 100%;
|
|
48
|
+
height: 9px;
|
|
49
|
+
background: var(--fcr_ui_scene_ramp_brand6);
|
|
50
|
+
border-radius: var(--fcr_cornerradius_round);
|
|
51
|
+
}
|