fcr-ui-scene 3.4.4 → 3.4.5
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/package.json +5 -5
- package/lib/ scenes/base.d.ts +0 -10
- package/lib/ scenes/base.js +0 -75
- package/lib/ scenes/main-scene.d.ts +0 -43
- package/lib/ scenes/main-scene.js +0 -368
- package/lib/ scenes/waiting-scene.d.ts +0 -31
- package/lib/ scenes/waiting-scene.js +0 -119
- package/lib/common/device-store.d.ts +0 -148
- package/lib/common/device-store.js +0 -1571
- package/lib/common/device-stream-store.d.ts +0 -31
- package/lib/common/device-stream-store.js +0 -532
- package/lib/common/event-store.d.ts +0 -144
- package/lib/common/event-store.js +0 -291
- package/lib/common/remote-renderer.d.ts +0 -15
- package/lib/common/remote-renderer.js +0 -138
- package/lib/common/room-store.d.ts +0 -58
- package/lib/common/room-store.js +0 -402
- package/lib/common/security-store.d.ts +0 -121
- package/lib/common/security-store.js +0 -969
- package/lib/common/type.d.ts +0 -8
- package/lib/common/type.js +0 -6
- package/lib/electron/bootstrap.d.ts +0 -1
- package/lib/electron/bootstrap.js +0 -56
- package/lib/electron/dev.d.ts +0 -1
- package/lib/electron/dev.js +0 -51
- package/lib/error-fallback.css +0 -62
- package/lib/error-fallback.d.ts +0 -2
- package/lib/error-fallback.js +0 -19
- package/lib/fragments/base.d.ts +0 -10
- package/lib/fragments/base.js +0 -44
- package/lib/fragments/control-bar/cloud-recording-buttons.d.ts +0 -1
- package/lib/fragments/control-bar/cloud-recording-buttons.js +0 -67
- package/lib/fragments/control-bar/context.d.ts +0 -2
- package/lib/fragments/control-bar/context.js +0 -9
- package/lib/fragments/control-bar/control-bar-store.d.ts +0 -152
- package/lib/fragments/control-bar/control-bar-store.js +0 -1296
- package/lib/fragments/control-bar/device/index.d.ts +0 -31
- package/lib/fragments/control-bar/device/index.js +0 -210
- package/lib/fragments/control-bar/index.css +0 -276
- package/lib/fragments/control-bar/index.d.ts +0 -26
- package/lib/fragments/control-bar/index.js +0 -233
- package/lib/fragments/control-bar/meeting-details/meeting-detail.css +0 -109
- package/lib/fragments/control-bar/meeting-details/meeting-details-portal.d.ts +0 -3
- package/lib/fragments/control-bar/meeting-details/meeting-details-portal.js +0 -60
- package/lib/fragments/control-bar/meeting-details/meeting-details.d.ts +0 -2
- package/lib/fragments/control-bar/meeting-details/meeting-details.js +0 -179
- package/lib/fragments/control-bar/more-actions/index.css +0 -19
- package/lib/fragments/control-bar/more-actions/index.d.ts +0 -7
- package/lib/fragments/control-bar/more-actions/index.js +0 -264
- package/lib/fragments/control-bar/security-content/index.css +0 -24
- package/lib/fragments/control-bar/security-content/index.d.ts +0 -2
- package/lib/fragments/control-bar/security-content/index.js +0 -148
- package/lib/fragments/control-bar/share-state-nav/index.css +0 -70
- package/lib/fragments/control-bar/share-state-nav/index.d.ts +0 -10
- package/lib/fragments/control-bar/share-state-nav/index.js +0 -134
- package/lib/fragments/control-bar/stop-live-streaming/index.d.ts +0 -1
- package/lib/fragments/control-bar/stop-live-streaming/index.js +0 -82
- package/lib/fragments/control-bar/transfer-position-icon/index.d.ts +0 -11
- package/lib/fragments/control-bar/transfer-position-icon/index.js +0 -46
- package/lib/fragments/control-bar/view.d.ts +0 -1
- package/lib/fragments/control-bar/view.js +0 -321
- package/lib/fragments/live-streaming/context.d.ts +0 -2
- package/lib/fragments/live-streaming/context.js +0 -9
- package/lib/fragments/live-streaming/index.css +0 -11
- package/lib/fragments/live-streaming/index.d.ts +0 -11
- package/lib/fragments/live-streaming/index.js +0 -79
- package/lib/fragments/live-streaming/store.d.ts +0 -21
- package/lib/fragments/live-streaming/store.js +0 -238
- package/lib/fragments/live-streaming/view.d.ts +0 -2
- package/lib/fragments/live-streaming/view.js +0 -44
- package/lib/fragments/share-screen-selection/context.d.ts +0 -2
- package/lib/fragments/share-screen-selection/context.js +0 -9
- package/lib/fragments/share-screen-selection/index.css +0 -66
- package/lib/fragments/share-screen-selection/index.d.ts +0 -9
- package/lib/fragments/share-screen-selection/index.js +0 -94
- package/lib/fragments/share-screen-selection/open-mic-tips.d.ts +0 -9
- package/lib/fragments/share-screen-selection/open-mic-tips.js +0 -55
- package/lib/fragments/share-screen-selection/selection-store.d.ts +0 -35
- package/lib/fragments/share-screen-selection/selection-store.js +0 -352
- package/lib/fragments/share-screen-selection/tips.css +0 -33
- package/lib/fragments/share-screen-selection/view.d.ts +0 -9
- package/lib/fragments/share-screen-selection/view.js +0 -262
- package/lib/fragments/toolbar/components/color-picker/components/color.d.ts +0 -5
- package/lib/fragments/toolbar/components/color-picker/components/color.js +0 -56
- package/lib/fragments/toolbar/components/color-picker/components/panel.d.ts +0 -1
- package/lib/fragments/toolbar/components/color-picker/components/panel.js +0 -118
- package/lib/fragments/toolbar/components/color-picker/components/picker.d.ts +0 -1
- package/lib/fragments/toolbar/components/color-picker/components/picker.js +0 -77
- package/lib/fragments/toolbar/components/color-picker/index.d.ts +0 -2
- package/lib/fragments/toolbar/components/color-picker/index.js +0 -57
- package/lib/fragments/toolbar/components/color-picker.d.ts +0 -2
- package/lib/fragments/toolbar/components/color-picker.js +0 -129
- package/lib/fragments/toolbar/components/eraser-picker.d.ts +0 -4
- package/lib/fragments/toolbar/components/eraser-picker.js +0 -75
- package/lib/fragments/toolbar/components/extension-toolbar-item.d.ts +0 -1
- package/lib/fragments/toolbar/components/extension-toolbar-item.js +0 -83
- package/lib/fragments/toolbar/components/extra-tool-picker.d.ts +0 -1
- package/lib/fragments/toolbar/components/extra-tool-picker.js +0 -64
- package/lib/fragments/toolbar/components/fold-icon.d.ts +0 -2
- package/lib/fragments/toolbar/components/fold-icon.js +0 -41
- package/lib/fragments/toolbar/components/history.d.ts +0 -2
- package/lib/fragments/toolbar/components/history.js +0 -46
- package/lib/fragments/toolbar/components/pen-picker.d.ts +0 -4
- package/lib/fragments/toolbar/components/pen-picker.js +0 -134
- package/lib/fragments/toolbar/components/screen-capture-picker.d.ts +0 -4
- package/lib/fragments/toolbar/components/screen-capture-picker.js +0 -86
- package/lib/fragments/toolbar/components/shape-picker.d.ts +0 -4
- package/lib/fragments/toolbar/components/shape-picker.js +0 -148
- package/lib/fragments/toolbar/components/toolbar-item.d.ts +0 -1
- package/lib/fragments/toolbar/components/toolbar-item.js +0 -42
- package/lib/fragments/toolbar/components/transfer-position-icon/index.d.ts +0 -11
- package/lib/fragments/toolbar/components/transfer-position-icon/index.js +0 -46
- package/lib/fragments/toolbar/components/wrapper.d.ts +0 -1
- package/lib/fragments/toolbar/components/wrapper.js +0 -138
- package/lib/fragments/toolbar/hooks.d.ts +0 -16
- package/lib/fragments/toolbar/hooks.js +0 -256
- package/lib/fragments/toolbar/index.d.ts +0 -12
- package/lib/fragments/toolbar/index.js +0 -80
- package/lib/fragments/toolbar/store.d.ts +0 -62
- package/lib/fragments/toolbar/store.js +0 -297
- package/lib/fragments/toolbar/style.css +0 -347
- package/lib/fragments/toolbar/view.d.ts +0 -1
- package/lib/fragments/toolbar/view.js +0 -36
- package/lib/modules/Interpreter/action/edit-btn/index.css +0 -3
- package/lib/modules/Interpreter/add-button/index.css +0 -4
- package/lib/modules/Interpreter/add-button/index.d.ts +0 -11
- package/lib/modules/Interpreter/add-button/index.js +0 -43
- package/lib/modules/Interpreter/config.d.ts +0 -16
- package/lib/modules/Interpreter/config.js +0 -17
- package/lib/modules/Interpreter/constant.d.ts +0 -55
- package/lib/modules/Interpreter/constant.js +0 -100
- package/lib/modules/Interpreter/context.d.ts +0 -2
- package/lib/modules/Interpreter/context.js +0 -9
- package/lib/modules/Interpreter/footer/components/interpreter-btn/index.d.ts +0 -5
- package/lib/modules/Interpreter/footer/components/interpreter-btn/index.js +0 -53
- package/lib/modules/Interpreter/footer/components/set-btn/index.d.ts +0 -5
- package/lib/modules/Interpreter/footer/components/set-btn/index.js +0 -49
- package/lib/modules/Interpreter/index.css +0 -15
- package/lib/modules/Interpreter/tooltip-wrapper/index.d.ts +0 -6
- package/lib/modules/Interpreter/tooltip-wrapper/index.js +0 -30
- package/lib/modules/action-bar/Interpreter/index.d.ts +0 -6
- package/lib/modules/action-bar/Interpreter/index.js +0 -41
- package/lib/modules/action-bar/action-bar-collapes-items.d.ts +0 -20
- package/lib/modules/action-bar/action-bar-collapes-items.js +0 -225
- package/lib/modules/action-bar/apps/app-item/index.css +0 -35
- package/lib/modules/action-bar/apps/app-item/index.d.ts +0 -12
- package/lib/modules/action-bar/apps/app-item/index.js +0 -61
- package/lib/modules/action-bar/apps/appitems.d.ts +0 -5
- package/lib/modules/action-bar/apps/appitems.js +0 -45
- package/lib/modules/action-bar/apps/index.css +0 -8
- package/lib/modules/action-bar/apps/index.d.ts +0 -4
- package/lib/modules/action-bar/apps/index.js +0 -57
- package/lib/modules/action-bar/apps/useAppItemOptions.d.ts +0 -9
- package/lib/modules/action-bar/apps/useAppItemOptions.js +0 -29
- package/lib/modules/action-bar/apps/useBeautyBackground.d.ts +0 -10
- package/lib/modules/action-bar/apps/useBeautyBackground.js +0 -34
- package/lib/modules/action-bar/apps/useInterpreter.d.ts +0 -14
- package/lib/modules/action-bar/apps/useInterpreter.js +0 -37
- package/lib/modules/action-bar/apps/useLiveStreaming.d.ts +0 -16
- package/lib/modules/action-bar/apps/useLiveStreaming.js +0 -41
- package/lib/modules/action-bar/board/index.d.ts +0 -4
- package/lib/modules/action-bar/board/index.js +0 -34
- package/lib/modules/action-bar/breakout-room/index.d.ts +0 -4
- package/lib/modules/action-bar/breakout-room/index.js +0 -32
- package/lib/modules/action-bar/chat/index.css +0 -80
- package/lib/modules/action-bar/chat/index.d.ts +0 -5
- package/lib/modules/action-bar/chat/index.js +0 -152
- package/lib/modules/action-bar/components/apps/useWidgetList.d.ts +0 -7
- package/lib/modules/action-bar/components/apps/useWidgetList.js +0 -43
- package/lib/modules/action-bar/components/device/index.css +0 -162
- package/lib/modules/action-bar/components/device/index.d.ts +0 -8
- package/lib/modules/action-bar/components/device/index.js +0 -611
- package/lib/modules/action-bar/components/item.d.ts +0 -27
- package/lib/modules/action-bar/components/item.js +0 -164
- package/lib/modules/action-bar/components/leave/assign-host.d.ts +0 -10
- package/lib/modules/action-bar/components/leave/assign-host.js +0 -64
- package/lib/modules/action-bar/components/leave/index.css +0 -126
- package/lib/modules/action-bar/components/leave/leave-meeting.d.ts +0 -18
- package/lib/modules/action-bar/components/leave/leave-meeting.js +0 -153
- package/lib/modules/action-bar/components/trigger-input-language-room/fcr_translateswitch.png +0 -0
- package/lib/modules/action-bar/components/trigger-input-language-room/index.css +0 -86
- package/lib/modules/action-bar/components/trigger-input-language-room/index.d.ts +0 -3
- package/lib/modules/action-bar/components/trigger-input-language-room/index.js +0 -215
- package/lib/modules/action-bar/components/trigger-output-language-room/constant.d.ts +0 -10
- package/lib/modules/action-bar/components/trigger-output-language-room/constant.js +0 -8
- package/lib/modules/action-bar/components/trigger-output-language-room/guide-tooltip/index.css +0 -22
- package/lib/modules/action-bar/components/trigger-output-language-room/guide-tooltip/index.d.ts +0 -3
- package/lib/modules/action-bar/components/trigger-output-language-room/guide-tooltip/index.js +0 -75
- package/lib/modules/action-bar/components/trigger-output-language-room/index.d.ts +0 -8
- package/lib/modules/action-bar/components/trigger-output-language-room/index.js +0 -98
- package/lib/modules/action-bar/components/trigger-output-language-room/trigger-language-room.d.ts +0 -5
- package/lib/modules/action-bar/components/trigger-output-language-room/trigger-language-room.js +0 -66
- package/lib/modules/action-bar/components/trigger-output-language-room/trigger-main-room.d.ts +0 -5
- package/lib/modules/action-bar/components/trigger-output-language-room/trigger-main-room.js +0 -37
- package/lib/modules/action-bar/components/trigger-output-language-room/useChangeOutputRoomTool.d.ts +0 -12
- package/lib/modules/action-bar/components/trigger-output-language-room/useChangeOutputRoomTool.js +0 -138
- package/lib/modules/action-bar/context.d.ts +0 -2
- package/lib/modules/action-bar/context.js +0 -9
- package/lib/modules/action-bar/device/index.css +0 -157
- package/lib/modules/action-bar/device/index.d.ts +0 -8
- package/lib/modules/action-bar/device/index.js +0 -613
- package/lib/modules/action-bar/item-placement.d.ts +0 -7
- package/lib/modules/action-bar/item-placement.js +0 -18
- package/lib/modules/action-bar/item.d.ts +0 -27
- package/lib/modules/action-bar/item.js +0 -159
- package/lib/modules/action-bar/leave/assign-host.d.ts +0 -7
- package/lib/modules/action-bar/leave/assign-host.js +0 -66
- package/lib/modules/action-bar/leave/index.css +0 -116
- package/lib/modules/action-bar/leave/index.d.ts +0 -3
- package/lib/modules/action-bar/leave/index.js +0 -115
- package/lib/modules/action-bar/leave/leave-meeting.d.ts +0 -6
- package/lib/modules/action-bar/leave/leave-meeting.js +0 -135
- package/lib/modules/action-bar/live-streaming/index.d.ts +0 -4
- package/lib/modules/action-bar/live-streaming/index.js +0 -39
- package/lib/modules/action-bar/more/index.css +0 -114
- package/lib/modules/action-bar/more/index.d.ts +0 -5
- package/lib/modules/action-bar/more/index.js +0 -80
- package/lib/modules/action-bar/more/poppover-content.d.ts +0 -8
- package/lib/modules/action-bar/more/poppover-content.js +0 -379
- package/lib/modules/action-bar/notification-bar/components/interpreter/index.css +0 -58
- package/lib/modules/action-bar/notification-bar/components/interpreter/index.d.ts +0 -8
- package/lib/modules/action-bar/notification-bar/components/interpreter/index.js +0 -100
- package/lib/modules/action-bar/notification-bar/components/virtual-image/index.css +0 -56
- package/lib/modules/action-bar/notification-bar/components/virtual-image/index.d.ts +0 -5
- package/lib/modules/action-bar/notification-bar/components/virtual-image/index.js +0 -33
- package/lib/modules/action-bar/notification-bar/dome.png +0 -0
- package/lib/modules/action-bar/notification-bar/fcr_translateswitch.png +0 -0
- package/lib/modules/action-bar/notification-bar/index.css +0 -74
- package/lib/modules/action-bar/notification-bar/index.d.ts +0 -2
- package/lib/modules/action-bar/notification-bar/index.js +0 -99
- package/lib/modules/action-bar/participants/index.css +0 -9
- package/lib/modules/action-bar/participants/index.d.ts +0 -5
- package/lib/modules/action-bar/participants/index.js +0 -75
- package/lib/modules/action-bar/record/index.css +0 -39
- package/lib/modules/action-bar/record/index.d.ts +0 -5
- package/lib/modules/action-bar/record/index.js +0 -161
- package/lib/modules/action-bar/record/stop-record-dialog.d.ts +0 -5
- package/lib/modules/action-bar/record/stop-record-dialog.js +0 -48
- package/lib/modules/action-bar/respond/index.d.ts +0 -4
- package/lib/modules/action-bar/respond/index.js +0 -32
- package/lib/modules/action-bar/screen-share/index.d.ts +0 -4
- package/lib/modules/action-bar/screen-share/index.js +0 -97
- package/lib/modules/action-bar/screen-share/submenu.d.ts +0 -1
- package/lib/modules/action-bar/screen-share/submenu.js +0 -160
- package/lib/modules/action-bar/security/drop-menu.d.ts +0 -1
- package/lib/modules/action-bar/security/drop-menu.js +0 -197
- package/lib/modules/action-bar/security/index.d.ts +0 -4
- package/lib/modules/action-bar/security/index.js +0 -50
- package/lib/modules/action-bar/settings/index.d.ts +0 -4
- package/lib/modules/action-bar/settings/index.js +0 -41
- package/lib/modules/action-bar/smaller.d.ts +0 -1
- package/lib/modules/action-bar/smaller.js +0 -52
- package/lib/modules/action-bar/switch-input-language-room/fcr_translateswitch.png +0 -0
- package/lib/modules/action-bar/switch-input-language-room/index.css +0 -86
- package/lib/modules/action-bar/switch-input-language-room/index.d.ts +0 -16
- package/lib/modules/action-bar/switch-input-language-room/index.js +0 -236
- package/lib/modules/action-bar/switch-output-language-room/drop-menu.d.ts +0 -1
- package/lib/modules/action-bar/switch-output-language-room/drop-menu.js +0 -197
- package/lib/modules/action-bar/switch-output-language-room/guide-tooltip/index.css +0 -18
- package/lib/modules/action-bar/switch-output-language-room/guide-tooltip/index.d.ts +0 -14
- package/lib/modules/action-bar/switch-output-language-room/guide-tooltip/index.js +0 -72
- package/lib/modules/action-bar/switch-output-language-room/index.d.ts +0 -12
- package/lib/modules/action-bar/switch-output-language-room/index.js +0 -303
- package/lib/modules/action-bar/switch-output-language-room/notification-bar/components/interpreter/index.css +0 -58
- package/lib/modules/action-bar/switch-output-language-room/notification-bar/components/interpreter/index.d.ts +0 -8
- package/lib/modules/action-bar/switch-output-language-room/notification-bar/components/interpreter/index.js +0 -100
- package/lib/modules/action-bar/switch-output-language-room/notification-bar/components/virtual-image/index.css +0 -56
- package/lib/modules/action-bar/switch-output-language-room/notification-bar/components/virtual-image/index.d.ts +0 -5
- package/lib/modules/action-bar/switch-output-language-room/notification-bar/components/virtual-image/index.js +0 -33
- package/lib/modules/action-bar/switch-output-language-room/notification-bar/dome.png +0 -0
- package/lib/modules/action-bar/switch-output-language-room/notification-bar/fcr_translateswitch.png +0 -0
- package/lib/modules/action-bar/switch-output-language-room/notification-bar/index.css +0 -74
- package/lib/modules/action-bar/switch-output-language-room/notification-bar/index.d.ts +0 -2
- package/lib/modules/action-bar/switch-output-language-room/notification-bar/index.js +0 -99
- package/lib/modules/action-bar/trigger-input-language-room/fcr_translateswitch.png +0 -0
- package/lib/modules/action-bar/trigger-input-language-room/index.css +0 -86
- package/lib/modules/action-bar/trigger-input-language-room/index.d.ts +0 -15
- package/lib/modules/action-bar/trigger-input-language-room/index.js +0 -220
- package/lib/modules/action-bar/trigger-output-language-room/constant.d.ts +0 -10
- package/lib/modules/action-bar/trigger-output-language-room/constant.js +0 -8
- package/lib/modules/action-bar/trigger-output-language-room/guide-tooltip/index.css +0 -22
- package/lib/modules/action-bar/trigger-output-language-room/guide-tooltip/index.d.ts +0 -14
- package/lib/modules/action-bar/trigger-output-language-room/guide-tooltip/index.js +0 -75
- package/lib/modules/action-bar/trigger-output-language-room/index.d.ts +0 -4
- package/lib/modules/action-bar/trigger-output-language-room/index.js +0 -98
- package/lib/modules/action-bar/trigger-output-language-room/trigger-language-room.d.ts +0 -5
- package/lib/modules/action-bar/trigger-output-language-room/trigger-language-room.js +0 -66
- package/lib/modules/action-bar/trigger-output-language-room/trigger-main-room.d.ts +0 -5
- package/lib/modules/action-bar/trigger-output-language-room/trigger-main-room.js +0 -36
- package/lib/modules/action-bar/trigger-output-language-room/useChangeOutputRoomTool.d.ts +0 -12
- package/lib/modules/action-bar/trigger-output-language-room/useChangeOutputRoomTool.js +0 -138
- package/lib/modules/action-bar/type.d.ts +0 -6
- package/lib/modules/action-bar/type.js +0 -13
- package/lib/modules/chat/chat-bar/index.css +0 -85
- package/lib/modules/chat/chat-bar/index.d.ts +0 -11
- package/lib/modules/chat/chat-bar/index.js +0 -144
- package/lib/modules/chat/chat-select/index.css +0 -181
- package/lib/modules/chat/chat-select/index.d.ts +0 -12
- package/lib/modules/chat/chat-select/index.js +0 -226
- package/lib/modules/chat/chat.d.ts +0 -11
- package/lib/modules/chat/chat.js +0 -387
- package/lib/modules/chat/components/chat-select/select-input/index.d.ts +0 -7
- package/lib/modules/chat/components/chat-select/select-input/index.js +0 -35
- package/lib/modules/chat/components/chat-select/select-item/index.d.ts +0 -12
- package/lib/modules/chat/components/chat-select/select-item/index.js +0 -153
- package/lib/modules/chat/components/chat-tabs/index.d.ts +0 -2
- package/lib/modules/chat/components/chat-tabs/index.js +0 -61
- package/lib/modules/chat/components/message-list/chat-empty/index.d.ts +0 -2
- package/lib/modules/chat/components/message-list/chat-empty/index.js +0 -26
- package/lib/modules/chat/components/message-list/history-unread-message-button/index.d.ts +0 -7
- package/lib/modules/chat/components/message-list/history-unread-message-button/index.js +0 -55
- package/lib/modules/chat/components/message-list/message-item/index.d.ts +0 -15
- package/lib/modules/chat/components/message-list/message-item/index.js +0 -279
- package/lib/modules/chat/components/message-list/scroll-bottom-button/index.d.ts +0 -9
- package/lib/modules/chat/components/message-list/scroll-bottom-button/index.js +0 -67
- package/lib/modules/chat/contex.d.ts +0 -2
- package/lib/modules/chat/contex.js +0 -9
- package/lib/modules/chat/demo-wrapper.d.ts +0 -1
- package/lib/modules/chat/demo-wrapper.js +0 -42
- package/lib/modules/chat/message-list.d.ts +0 -22
- package/lib/modules/chat/message-list.js +0 -633
- package/lib/modules/components/device-control/type.d.ts +0 -6
- package/lib/modules/components/device-control/type.js +0 -13
- package/lib/modules/components/dialog-container/component/body.d.ts +0 -7
- package/lib/modules/components/dialog-container/component/body.js +0 -46
- package/lib/modules/components/dialog-container/index.css +0 -78
- package/lib/modules/components/dialog-container/index.d.ts +0 -11
- package/lib/modules/components/dialog-container/index.js +0 -110
- package/lib/modules/components/member-window/components/member-actions/components/audio-control.d.ts +0 -6
- package/lib/modules/components/member-window/components/member-actions/components/audio-control.js +0 -36
- package/lib/modules/components/member-window/components/member-actions/components/icon-buttons/index.d.ts +0 -40
- package/lib/modules/components/member-window/components/member-actions/components/icon-buttons/index.js +0 -170
- package/lib/modules/components/member-window/components/member-actions/components/icon-status.d.ts +0 -11
- package/lib/modules/components/member-window/components/member-actions/components/icon-status.js +0 -105
- package/lib/modules/components/member-window/components/member-actions/components/layout/index.d.ts +0 -9
- package/lib/modules/components/member-window/components/member-actions/components/layout/index.js +0 -42
- package/lib/modules/components/member-window/components/member-actions/components/more-actions.d.ts +0 -11
- package/lib/modules/components/member-window/components/member-actions/components/more-actions.js +0 -159
- package/lib/modules/components/member-window/components/member-actions/components/share-status.d.ts +0 -2
- package/lib/modules/components/member-window/components/member-actions/components/share-status.js +0 -32
- package/lib/modules/components/member-window/components/member-actions/components/user-info.d.ts +0 -16
- package/lib/modules/components/member-window/components/member-actions/components/user-info.js +0 -130
- package/lib/modules/components/member-window/components/member-actions/components/user-tag.d.ts +0 -12
- package/lib/modules/components/member-window/components/member-actions/components/user-tag.js +0 -57
- package/lib/modules/components/member-window/components/member-actions/index.d.ts +0 -3
- package/lib/modules/components/member-window/components/member-actions/index.js +0 -122
- package/lib/modules/components/member-window/components/member-actions/libs/index.d.ts +0 -2
- package/lib/modules/components/member-window/components/member-actions/libs/index.js +0 -24
- package/lib/modules/components/member-window/components/member-actions/provider.d.ts +0 -21
- package/lib/modules/components/member-window/components/member-actions/provider.js +0 -77
- package/lib/modules/components/member-window/components/member-actions/store.d.ts +0 -48
- package/lib/modules/components/member-window/components/member-actions/store.js +0 -306
- package/lib/modules/components/member-window/components/member-board.d.ts +0 -2
- package/lib/modules/components/member-window/components/member-board.js +0 -63
- package/lib/modules/components/member-window/components/mic-volume.d.ts +0 -2
- package/lib/modules/components/member-window/components/mic-volume.js +0 -23
- package/lib/modules/components/member-window/components/video-player/components/local-video-player.d.ts +0 -4
- package/lib/modules/components/member-window/components/video-player/components/local-video-player.js +0 -40
- package/lib/modules/components/member-window/components/video-player/components/remote-video-player.d.ts +0 -8
- package/lib/modules/components/member-window/components/video-player/components/remote-video-player.js +0 -62
- package/lib/modules/components/member-window/components/video-player/index.d.ts +0 -9
- package/lib/modules/components/member-window/components/video-player/index.js +0 -38
- package/lib/modules/components/member-window/types.d.ts +0 -78
- package/lib/modules/components/member-window/types.js +0 -6
- package/lib/modules/components/toast/index.css +0 -12
- package/lib/modules/components/toast/index.d.ts +0 -10
- package/lib/modules/components/toast/index.js +0 -66
- package/lib/modules/components/toast/store.d.ts +0 -17
- package/lib/modules/components/toast/store.js +0 -149
- package/lib/modules/components/toast/view.d.ts +0 -2
- package/lib/modules/components/toast/view.js +0 -35
- package/lib/modules/connection-gateway/components/tabs/index.css +0 -31
- package/lib/modules/connection-gateway/components/tabs/index.d.ts +0 -4
- package/lib/modules/connection-gateway/components/tabs/index.js +0 -44
- package/lib/modules/control-bar/type.d.ts +0 -10
- package/lib/modules/control-bar/type.js +0 -18
- package/lib/modules/device-pretest/context.d.ts +0 -2
- package/lib/modules/device-pretest/context.js +0 -9
- package/lib/modules/dialog/components/Interpreter/user-queue/index.css +0 -36
- package/lib/modules/dialog/components/Interpreter/user-queue/index.d.ts +0 -3
- package/lib/modules/dialog/components/Interpreter/user-queue/index.js +0 -47
- package/lib/modules/dialog/components/confirm/electron.d.ts +0 -10
- package/lib/modules/dialog/components/confirm/electron.js +0 -84
- package/lib/modules/dialog/components/connection-gateway/index.css +0 -27
- package/lib/modules/dialog/components/operation-waiting-room/electron.d.ts +0 -5
- package/lib/modules/dialog/components/operation-waiting-room/electron.js +0 -42
- package/lib/modules/dialog/components/operation-waiting-room/index.css +0 -44
- package/lib/modules/dialog/components/operation-waiting-room/index.d.ts +0 -5
- package/lib/modules/dialog/components/operation-waiting-room/index.js +0 -156
- package/lib/modules/dialog/components/remove-admit-waiting-room/electron.d.ts +0 -12
- package/lib/modules/dialog/components/remove-admit-waiting-room/electron.js +0 -33
- package/lib/modules/dialog/components/remove-admit-waiting-room/index.css +0 -50
- package/lib/modules/dialog/components/remove-admit-waiting-room/index.d.ts +0 -5
- package/lib/modules/dialog/components/remove-admit-waiting-room/index.js +0 -80
- package/lib/modules/dialog/components/switch-language-channels/electron.d.ts +0 -2
- package/lib/modules/dialog/components/switch-language-channels/electron.js +0 -72
- package/lib/modules/dialog/components/switch-language-channels/index.css +0 -30
- package/lib/modules/dialog/components/switch-language-channels/index.d.ts +0 -4
- package/lib/modules/dialog/components/switch-language-channels/index.js +0 -63
- package/lib/modules/dialog/components/switch-language-channels/user-queue/index.css +0 -36
- package/lib/modules/dialog/components/switch-language-channels/user-queue/index.d.ts +0 -3
- package/lib/modules/dialog/components/switch-language-channels/user-queue/index.js +0 -47
- package/lib/modules/dialog/components/system-preference/assets/bg1.png +0 -0
- package/lib/modules/dialog/components/system-preference/assets/bg2.png +0 -0
- package/lib/modules/dialog/components/system-preference/assets/fcr_png_host.png +0 -0
- package/lib/modules/dialog/components/widget/electron.d.ts +0 -5
- package/lib/modules/dialog/components/widget/electron.js +0 -41
- package/lib/modules/dialog/components/widget/index.d.ts +0 -6
- package/lib/modules/dialog/components/widget/index.js +0 -41
- package/lib/modules/dialog/context.d.ts +0 -2
- package/lib/modules/dialog/context.js +0 -9
- package/lib/modules/dialog/type.d.ts +0 -84
- package/lib/modules/dialog/type.js +0 -6
- package/lib/modules/event-notification/context.d.ts +0 -2
- package/lib/modules/event-notification/context.js +0 -9
- package/lib/modules/event-notification/index.css +0 -58
- package/lib/modules/event-notification/index.d.ts +0 -13
- package/lib/modules/event-notification/index.js +0 -48
- package/lib/modules/event-notification/store.d.ts +0 -17
- package/lib/modules/event-notification/store.js +0 -133
- package/lib/modules/event-notification/view.d.ts +0 -5
- package/lib/modules/event-notification/view.js +0 -114
- package/lib/modules/event-toast/context.d.ts +0 -2
- package/lib/modules/event-toast/context.js +0 -9
- package/lib/modules/invite/context.d.ts +0 -2
- package/lib/modules/invite/context.js +0 -9
- package/lib/modules/invite/pstn-invite.d.ts +0 -2
- package/lib/modules/invite/pstn-invite.js +0 -271
- package/lib/modules/invite/voip-invite.d.ts +0 -1
- package/lib/modules/invite/voip-invite.js +0 -293
- package/lib/modules/layout/components/Layout.d.ts +0 -2
- package/lib/modules/layout/components/Layout.js +0 -193
- package/lib/modules/layout/context.d.ts +0 -2
- package/lib/modules/layout/context.js +0 -9
- package/lib/modules/layout/member-window/index.css +0 -419
- package/lib/modules/layout/member-window/index.d.ts +0 -74
- package/lib/modules/layout/member-window/index.js +0 -882
- package/lib/modules/layout/video-window-datasource.d.ts +0 -127
- package/lib/modules/layout/video-window-datasource.js +0 -1125
- package/lib/modules/live-streaming/context.d.ts +0 -2
- package/lib/modules/live-streaming/context.js +0 -9
- package/lib/modules/notification/context.d.ts +0 -2
- package/lib/modules/notification/context.js +0 -9
- package/lib/modules/participant/attendee/index.css +0 -18
- package/lib/modules/participant/attendee/index.d.ts +0 -39
- package/lib/modules/participant/attendee/index.js +0 -447
- package/lib/modules/participant/attendee/participants-more-action.d.ts +0 -18
- package/lib/modules/participant/attendee/participants-more-action.js +0 -278
- package/lib/modules/participant/attendee/user-more-actions.d.ts +0 -22
- package/lib/modules/participant/attendee/user-more-actions.js +0 -76
- package/lib/modules/participant/can-moveable/index.d.ts +0 -1
- package/lib/modules/participant/can-moveable/index.js +0 -68
- package/lib/modules/participant/components/attendee/components/interpreter-tag/index.d.ts +0 -3
- package/lib/modules/participant/components/attendee/components/interpreter-tag/index.js +0 -48
- package/lib/modules/participant/components/confirm-input/index.d.ts +0 -6
- package/lib/modules/participant/components/confirm-input/index.js +0 -49
- package/lib/modules/participant/components/drop-menu/util.d.ts +0 -5
- package/lib/modules/participant/components/drop-menu/util.js +0 -28
- package/lib/modules/participant/components/participants/components/footer/components/buttons.d.ts +0 -6
- package/lib/modules/participant/components/participants/components/footer/components/buttons.js +0 -52
- package/lib/modules/participant/components/participants/components/footer/components/drop-menu/index.css +0 -60
- package/lib/modules/participant/components/participants/components/footer/components/drop-menu/index.d.ts +0 -2
- package/lib/modules/participant/components/participants/components/footer/components/drop-menu/index.js +0 -166
- package/lib/modules/participant/components/participants/components/footer/components/drop-menu/util.d.ts +0 -5
- package/lib/modules/participant/components/participants/components/footer/components/drop-menu/util.js +0 -28
- package/lib/modules/participant/components/participants/components/footer/components/footer/index.css +0 -13
- package/lib/modules/participant/components/participants/components/footer/components/footer/index.d.ts +0 -5
- package/lib/modules/participant/components/participants/components/footer/components/footer/index.js +0 -242
- package/lib/modules/participant/components/participants/components/footer/index.d.ts +0 -5
- package/lib/modules/participant/components/participants/components/footer/index.js +0 -47
- package/lib/modules/participant/components/participants/components/merge/index.d.ts +0 -11
- package/lib/modules/participant/components/participants/components/merge/index.js +0 -49
- package/lib/modules/participant/components/participants/components/participants/components/attendee/index.css +0 -191
- package/lib/modules/participant/components/participants/components/participants/components/attendee/index.d.ts +0 -4
- package/lib/modules/participant/components/participants/components/participants/components/attendee/index.js +0 -204
- package/lib/modules/participant/components/participants/components/participants/components/participants-more/index.css +0 -49
- package/lib/modules/participant/components/participants/components/participants/components/participants-more/index.d.ts +0 -5
- package/lib/modules/participant/components/participants/components/participants/components/participants-more/index.js +0 -219
- package/lib/modules/participant/components/participants/components/participants/components/user-row/index.d.ts +0 -5
- package/lib/modules/participant/components/participants/components/participants/components/user-row/index.js +0 -70
- package/lib/modules/participant/components/participants/components/participants/index.css +0 -104
- package/lib/modules/participant/components/participants/components/participants/index.d.ts +0 -3
- package/lib/modules/participant/components/participants/components/participants/index.js +0 -110
- package/lib/modules/participant/components/participants/components/render-tab/index.d.ts +0 -2
- package/lib/modules/participant/components/participants/components/render-tab/index.js +0 -49
- package/lib/modules/participant/components/participants/components/render-user/components/attendee/components/interpreter-tag/index.d.ts +0 -3
- package/lib/modules/participant/components/participants/components/render-user/components/attendee/components/interpreter-tag/index.js +0 -48
- package/lib/modules/participant/components/participants/components/render-user/components/attendee/components/microphone-indicator/index.d.ts +0 -6
- package/lib/modules/participant/components/participants/components/render-user/components/attendee/components/microphone-indicator/index.js +0 -28
- package/lib/modules/participant/components/participants/components/render-user/components/attendee/components/user-avatar/index.d.ts +0 -7
- package/lib/modules/participant/components/participants/components/render-user/components/attendee/components/user-avatar/index.js +0 -39
- package/lib/modules/participant/components/participants/components/render-user/components/attendee/index.css +0 -69
- package/lib/modules/participant/components/participants/components/render-user/components/attendee/index.d.ts +0 -5
- package/lib/modules/participant/components/participants/components/render-user/components/attendee/index.js +0 -135
- package/lib/modules/participant/components/participants/components/render-user/components/user-action/components/audio-button/index.d.ts +0 -7
- package/lib/modules/participant/components/participants/components/render-user/components/user-action/components/audio-button/index.js +0 -31
- package/lib/modules/participant/components/participants/components/render-user/components/user-action/components/move-actions-popover/index.d.ts +0 -12
- package/lib/modules/participant/components/participants/components/render-user/components/user-action/components/move-actions-popover/index.js +0 -82
- package/lib/modules/participant/components/participants/components/render-user/components/user-action/components/move-to-mainroom-button/index.d.ts +0 -4
- package/lib/modules/participant/components/participants/components/render-user/components/user-action/components/move-to-mainroom-button/index.js +0 -26
- package/lib/modules/participant/components/participants/components/render-user/components/user-action/index.d.ts +0 -2
- package/lib/modules/participant/components/participants/components/render-user/components/user-action/index.js +0 -75
- package/lib/modules/participant/components/participants/components/render-user/index.d.ts +0 -5
- package/lib/modules/participant/components/participants/components/render-user/index.js +0 -21
- package/lib/modules/participant/components/participants/render-tab/index.d.ts +0 -2
- package/lib/modules/participant/components/participants/render-tab/index.js +0 -49
- package/lib/modules/participant/components/participants/render-user/index.d.ts +0 -5
- package/lib/modules/participant/components/participants/render-user/index.js +0 -21
- package/lib/modules/participant/components/participants/types.d.ts +0 -96
- package/lib/modules/participant/components/participants/types.js +0 -37
- package/lib/modules/participant/components/user-action/audio-button/index.d.ts +0 -7
- package/lib/modules/participant/components/user-action/audio-button/index.js +0 -31
- package/lib/modules/participant/components/user-action/move-actions-popover/index.d.ts +0 -12
- package/lib/modules/participant/components/user-action/move-actions-popover/index.js +0 -82
- package/lib/modules/participant/components/user-action/move-to-mainroom-button/index.d.ts +0 -4
- package/lib/modules/participant/components/user-action/move-to-mainroom-button/index.js +0 -26
- package/lib/modules/participant/context.d.ts +0 -2
- package/lib/modules/participant/context.js +0 -9
- package/lib/modules/participant/room-control-drop-menu/index.css +0 -19
- package/lib/modules/participant/room-control-drop-menu/index.d.ts +0 -2
- package/lib/modules/participant/room-control-drop-menu/index.js +0 -188
- package/lib/modules/setting/context.d.ts +0 -2
- package/lib/modules/setting/context.js +0 -9
- package/lib/modules/share-screen/selection/index.css +0 -70
- package/lib/modules/share-screen/selection/index.d.ts +0 -9
- package/lib/modules/share-screen/selection/index.js +0 -259
- package/lib/modules/share-screen/share-state-bar/index.css +0 -76
- package/lib/modules/share-screen/share-state-bar/index.d.ts +0 -4
- package/lib/modules/share-screen/share-state-bar/index.js +0 -98
- package/lib/modules/state-bar/context.d.ts +0 -2
- package/lib/modules/state-bar/context.js +0 -9
- package/lib/modules/video-window/components/deviceState/index.d.ts +0 -7
- package/lib/modules/video-window/components/deviceState/index.js +0 -75
- package/lib/modules/video-window/components/members/index.css +0 -51
- package/lib/modules/video-window/components/members/index.d.ts +0 -2
- package/lib/modules/video-window/components/members/index.js +0 -130
- package/lib/modules/video-window/components/speaking/index.css +0 -86
- package/lib/modules/video-window/components/speaking/index.d.ts +0 -3
- package/lib/modules/video-window/components/speaking/index.js +0 -48
- package/lib/modules/video-window/components/topControl/index.css +0 -35
- package/lib/modules/video-window/components/topControl/index.d.ts +0 -3
- package/lib/modules/video-window/components/topControl/index.js +0 -79
- package/lib/modules/video-window/context.d.ts +0 -2
- package/lib/modules/video-window/context.js +0 -9
- package/lib/modules/waiting-room-layout/context.d.ts +0 -2
- package/lib/modules/waiting-room-layout/context.js +0 -9
- package/lib/modules/waiting-room-layout/type.d.ts +0 -0
- package/lib/modules/waiting-room-layout/type.js +0 -1
- package/lib/modules/whiteboard/app.d.ts +0 -2
- package/lib/modules/whiteboard/app.js +0 -49
- package/lib/modules/widget/index.css +0 -17
- package/lib/modules/widget/index.d.ts +0 -10
- package/lib/modules/widget/index.js +0 -114
- package/lib/modules/widget/sdk.d.ts +0 -30
- package/lib/modules/widget/sdk.js +0 -221
- package/lib/modules/widget/store.d.ts +0 -14
- package/lib/modules/widget/store.js +0 -28
- package/lib/modules/widget/type.d.ts +0 -155
- package/lib/modules/widget/type.js +0 -6
- package/lib/modules/widget/view.d.ts +0 -2
- package/lib/modules/widget/view.js +0 -47
- package/lib/modules/widget/web-widget.d.ts +0 -29
- package/lib/modules/widget/web-widget.js +0 -234
- package/lib/providers/ability-provider.d.ts +0 -24
- package/lib/providers/ability-provider.js +0 -36
- package/lib/providers/widget-provider.d.ts +0 -44
- package/lib/providers/widget-provider.js +0 -167
- package/lib/scenes/base.d.ts +0 -10
- package/lib/scenes/base.js +0 -75
- package/lib/schema.d.ts +0 -114
- package/lib/schema.js +0 -77
- package/lib/shared-data-source/member-data.d.ts +0 -126
- package/lib/shared-data-source/member-data.js +0 -465
- package/lib/ui-node.d.ts +0 -25
- package/lib/ui-node.js +0 -156
- package/lib/utilities/extract.d.ts +0 -5
- package/lib/utilities/extract.js +0 -120
- package/lib/utilities/logger.d.ts +0 -8
- package/lib/utilities/logger.js +0 -42
- package/lib/utilities/validate-params.d.ts +0 -2
- package/lib/utilities/validate-params.js +0 -16
- package/lib/widget-sdk.d.ts +0 -2
- package/lib/widget-sdk.js +0 -13
- /package/lib/modules/dialog/components/{Interpreter → interpreter}/electron.d.ts +0 -0
- /package/lib/modules/dialog/components/{Interpreter → interpreter}/electron.js +0 -0
- /package/lib/modules/dialog/components/{Interpreter → interpreter}/index.css +0 -0
- /package/lib/modules/dialog/components/{Interpreter → interpreter}/index.d.ts +0 -0
- /package/lib/modules/dialog/components/{Interpreter → interpreter}/index.js +0 -0
- /package/lib/modules/{Interpreter → interpreter}/action/add-btn/index.css +0 -0
- /package/lib/modules/{Interpreter → interpreter}/action/add-btn/index.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/action/add-btn/index.js +0 -0
- /package/lib/modules/{Interpreter → interpreter}/action/delete-btn/index.css +0 -0
- /package/lib/modules/{Interpreter → interpreter}/action/delete-btn/index.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/action/delete-btn/index.js +0 -0
- /package/lib/modules/{Interpreter → interpreter}/action/edit-btn/index.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/action/edit-btn/index.js +0 -0
- /package/lib/modules/{Interpreter → interpreter}/action/switch-btn/index.css +0 -0
- /package/lib/modules/{Interpreter → interpreter}/action/switch-btn/index.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/action/switch-btn/index.js +0 -0
- /package/lib/modules/{Interpreter → interpreter}/dialog-content/index.css +0 -0
- /package/lib/modules/{Interpreter → interpreter}/dialog-content/index.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/dialog-content/index.js +0 -0
- /package/lib/modules/{Interpreter → interpreter}/footer/index.css +0 -0
- /package/lib/modules/{Interpreter → interpreter}/footer/index.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/footer/index.js +0 -0
- /package/lib/modules/{Interpreter → interpreter}/index.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/index.js +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/index.css +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/index.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/index.js +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/index.css +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/index.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/index.js +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ar.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_cn.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_de.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_en.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_es.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_fr.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_hi.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_id.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_it.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_jp.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ko.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ms.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_pt.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ru.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_th.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_tr.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_vi.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/index.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/index.js +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-user/index.css +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-user/index.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-user/index.js +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-user/option-Item.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-user/option-Item.js +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/index.css +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/index.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/index.js +0 -0
- /package/lib/modules/{Interpreter → interpreter}/loading-wrapper/index.css +0 -0
- /package/lib/modules/{Interpreter → interpreter}/loading-wrapper/index.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/loading-wrapper/index.js +0 -0
- /package/lib/modules/{Interpreter → interpreter}/store.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/store.js +0 -0
- /package/lib/modules/{Interpreter/footer/components → interpreter}/tooltip-wrapper/index.d.ts +0 -0
- /package/lib/modules/{Interpreter/footer/components → interpreter}/tooltip-wrapper/index.js +0 -0
- /package/lib/modules/{Interpreter → interpreter}/type.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/type.js +0 -0
- /package/lib/modules/{Interpreter → interpreter}/utils.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/utils.js +0 -0
- /package/lib/modules/{Interpreter → interpreter}/view.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/view.js +0 -0
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
.notification-bar {
|
|
2
|
-
position: absolute;
|
|
3
|
-
right: 20px;
|
|
4
|
-
bottom: 52px;
|
|
5
|
-
z-index: 9999;
|
|
6
|
-
/* height: 60px; */
|
|
7
|
-
/* display: flex;
|
|
8
|
-
justify-content:space-between;
|
|
9
|
-
align-items: center;
|
|
10
|
-
background: var(--fcr_ui_scene_white8); */
|
|
11
|
-
/* border-radius: 30px; */
|
|
12
|
-
/* padding: 5px; */
|
|
13
|
-
transition: all 0.2s;
|
|
14
|
-
}
|
|
15
|
-
.notification-bar-hidden {
|
|
16
|
-
bottom: 62px;
|
|
17
|
-
}
|
|
18
|
-
.notification-icon {
|
|
19
|
-
width: 60px;
|
|
20
|
-
height: 103px;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.notification-action {
|
|
24
|
-
/* width: 50%; */
|
|
25
|
-
height: 100%;
|
|
26
|
-
padding: 3px;
|
|
27
|
-
}
|
|
28
|
-
.notification-action-bg {
|
|
29
|
-
display: flex;
|
|
30
|
-
justify-content: space-between;
|
|
31
|
-
align-items: center;
|
|
32
|
-
height: 100%;
|
|
33
|
-
width: 100%;
|
|
34
|
-
padding: 8.5px 19.5px;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.notification-action-icon {
|
|
38
|
-
width: 25px;
|
|
39
|
-
height: 25px;
|
|
40
|
-
border-radius: 50%;
|
|
41
|
-
background: rgba(63, 59, 83, 1);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.notification-action__checked {
|
|
45
|
-
border-radius: 25px;
|
|
46
|
-
border: 1px solid var(--fcr_ui_scene_card3);
|
|
47
|
-
border-radius: 25px;
|
|
48
|
-
}
|
|
49
|
-
.notification-action__checked .notification-action-bg {
|
|
50
|
-
border-radius: 25px;
|
|
51
|
-
background: linear-gradient(
|
|
52
|
-
180deg,
|
|
53
|
-
#00cae0 0%,
|
|
54
|
-
#15d5ea 4.76%,
|
|
55
|
-
#6ae7f5 8.48%,
|
|
56
|
-
#64e8f7 25.6%,
|
|
57
|
-
#64e8f7 48%,
|
|
58
|
-
#00cae0 77.38%,
|
|
59
|
-
#00cae0 100%
|
|
60
|
-
);
|
|
61
|
-
box-shadow: 0px 4px 4px 0px rgba(4, 173, 191, 1) inset;
|
|
62
|
-
}
|
|
63
|
-
.notification-action__checked .notification-action-icon {
|
|
64
|
-
background: rgba(217, 217, 217, 1);
|
|
65
|
-
}
|
|
66
|
-
.notification-action-text {
|
|
67
|
-
color: var(--fcr_ui_scene_black10);
|
|
68
|
-
font-size: 20px;
|
|
69
|
-
margin-left: 8px;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.notification-action__checked .notification-action-text {
|
|
73
|
-
color: var(--fcr_ui_scene_white10);
|
|
74
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
require("core-js/modules/es.object.define-property.js");
|
|
4
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.NotificationBar = void 0;
|
|
9
|
-
require("core-js/modules/es.array.filter.js");
|
|
10
|
-
require("core-js/modules/es.array.includes.js");
|
|
11
|
-
require("core-js/modules/es.array.map.js");
|
|
12
|
-
require("core-js/modules/es.object.to-string.js");
|
|
13
|
-
require("core-js/modules/es.string.includes.js");
|
|
14
|
-
require("core-js/modules/esnext.async-iterator.filter.js");
|
|
15
|
-
require("core-js/modules/esnext.async-iterator.map.js");
|
|
16
|
-
require("core-js/modules/esnext.iterator.constructor.js");
|
|
17
|
-
require("core-js/modules/esnext.iterator.filter.js");
|
|
18
|
-
require("core-js/modules/esnext.iterator.map.js");
|
|
19
|
-
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
20
|
-
var _react = require("react");
|
|
21
|
-
var _classnames = _interopRequireDefault(require("classnames"));
|
|
22
|
-
require("./index.css");
|
|
23
|
-
var _interpreter = _interopRequireDefault(require("./components/interpreter"));
|
|
24
|
-
var _virtualImage = _interopRequireDefault(require("./components/virtual-image"));
|
|
25
|
-
var _store = require("../../store");
|
|
26
|
-
var _mobxReact = require("mobx-react");
|
|
27
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
28
|
-
var NotificationBar = exports.NotificationBar = (0, _mobxReact.observer)(function () {
|
|
29
|
-
var _useContext = (0, _react.useContext)(_store.ActionBarContext),
|
|
30
|
-
openInterpreterDialog = _useContext.openInterpreterDialog,
|
|
31
|
-
users = _useContext.users,
|
|
32
|
-
interpreterUsers = _useContext.interpreterUsers,
|
|
33
|
-
interpreterUsersOffline = _useContext.interpreterUsersOffline,
|
|
34
|
-
folded = _useContext.folded;
|
|
35
|
-
var _useState = (0, _react.useState)(false),
|
|
36
|
-
_useState2 = (0, _slicedToArray2["default"])(_useState, 2),
|
|
37
|
-
showNotification = _useState2[0],
|
|
38
|
-
setShowNotification = _useState2[1];
|
|
39
|
-
var _useState3 = (0, _react.useState)(false),
|
|
40
|
-
_useState4 = (0, _slicedToArray2["default"])(_useState3, 2),
|
|
41
|
-
hidden = _useState4[0],
|
|
42
|
-
setHidden = _useState4[1];
|
|
43
|
-
var shareScreenBarRef = (0, _react.useRef)(null);
|
|
44
|
-
var _useState5 = (0, _react.useState)([]),
|
|
45
|
-
_useState6 = (0, _slicedToArray2["default"])(_useState5, 2),
|
|
46
|
-
interpreterOffline = _useState6[0],
|
|
47
|
-
setInterpreterOffline = _useState6[1];
|
|
48
|
-
var _useState7 = (0, _react.useState)([]),
|
|
49
|
-
_useState8 = (0, _slicedToArray2["default"])(_useState7, 2),
|
|
50
|
-
reEnterInterperter = _useState8[0],
|
|
51
|
-
setReEnterInterperter = _useState8[1];
|
|
52
|
-
(0, _react.useEffect)(function () {
|
|
53
|
-
var offline = (interpreterUsers === null || interpreterUsers === void 0 ? void 0 : interpreterUsers.filter(function (user) {
|
|
54
|
-
return !users.map(function (u) {
|
|
55
|
-
return u.userId;
|
|
56
|
-
}).includes(user.userId);
|
|
57
|
-
})) || [];
|
|
58
|
-
setInterpreterOffline(offline);
|
|
59
|
-
if (offline.length > 0) {
|
|
60
|
-
setShowNotification(true);
|
|
61
|
-
}
|
|
62
|
-
}, [users, interpreterUsers]);
|
|
63
|
-
(0, _react.useEffect)(function () {
|
|
64
|
-
var reEnter = (interpreterOffline === null || interpreterOffline === void 0 ? void 0 : interpreterOffline.filter(function (user) {
|
|
65
|
-
return users.map(function (u) {
|
|
66
|
-
return u.userId;
|
|
67
|
-
}).includes(user.userId);
|
|
68
|
-
})) || [];
|
|
69
|
-
setReEnterInterperter(reEnter);
|
|
70
|
-
}, [users]);
|
|
71
|
-
(0, _react.useEffect)(function () {
|
|
72
|
-
if (showNotification) {
|
|
73
|
-
setReEnterInterperter([]);
|
|
74
|
-
}
|
|
75
|
-
}, [showNotification]);
|
|
76
|
-
var show = showNotification && (reEnterInterperter.length > 0 || interpreterOffline.length > 0);
|
|
77
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
78
|
-
ref: shareScreenBarRef,
|
|
79
|
-
className: (0, _classnames["default"])('notification-bar', {
|
|
80
|
-
'notification-bar-hidden': folded
|
|
81
|
-
}),
|
|
82
|
-
children: [show && /*#__PURE__*/(0, _jsxRuntime.jsx)(_interpreter["default"], {
|
|
83
|
-
offline: interpreterOffline,
|
|
84
|
-
reenter: reEnterInterperter,
|
|
85
|
-
onClose: function onClose() {
|
|
86
|
-
return setShowNotification(!showNotification);
|
|
87
|
-
},
|
|
88
|
-
onAssign: function onAssign() {
|
|
89
|
-
openInterpreterDialog();
|
|
90
|
-
}
|
|
91
|
-
}), (interpreterUsersOffline || show) && /*#__PURE__*/(0, _jsxRuntime.jsx)(_virtualImage["default"], {
|
|
92
|
-
hidden: hidden,
|
|
93
|
-
onClick: function onClick() {
|
|
94
|
-
setShowNotification(!showNotification);
|
|
95
|
-
setHidden(showNotification);
|
|
96
|
-
}
|
|
97
|
-
})]
|
|
98
|
-
});
|
|
99
|
-
});
|
|
Binary file
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
.switch-language-channels-bar {
|
|
2
|
-
width: 100%;
|
|
3
|
-
height: 60px;
|
|
4
|
-
display: flex;
|
|
5
|
-
justify-content: space-between;
|
|
6
|
-
align-items: center;
|
|
7
|
-
background: var(--fcr_ui_scene_white8);
|
|
8
|
-
border-radius: 30px;
|
|
9
|
-
padding: 5px;
|
|
10
|
-
}
|
|
11
|
-
.switch-language-channels-action {
|
|
12
|
-
/* width: 50%; */
|
|
13
|
-
height: 100%;
|
|
14
|
-
padding: 3px;
|
|
15
|
-
}
|
|
16
|
-
.switch-language-channels-action-bg {
|
|
17
|
-
display: flex;
|
|
18
|
-
justify-content: space-between;
|
|
19
|
-
align-items: center;
|
|
20
|
-
height: 100%;
|
|
21
|
-
width: 100%;
|
|
22
|
-
padding: 8.5px 19.5px;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.switch-language-channels-action-icon {
|
|
26
|
-
width: 25px;
|
|
27
|
-
height: 25px;
|
|
28
|
-
border-radius: 50%;
|
|
29
|
-
background: rgba(63, 59, 83, 1);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.switch-language-channels-action__checked {
|
|
33
|
-
border-radius: 25px;
|
|
34
|
-
border: 1px solid var(--fcr_ui_scene_card3);
|
|
35
|
-
border-radius: 25px;
|
|
36
|
-
}
|
|
37
|
-
.switch-language-channels-action__checked .switch-language-channels-action-bg {
|
|
38
|
-
border-radius: 25px;
|
|
39
|
-
background: linear-gradient(
|
|
40
|
-
180deg,
|
|
41
|
-
#00cae0 0%,
|
|
42
|
-
#15d5ea 4.76%,
|
|
43
|
-
#6ae7f5 8.48%,
|
|
44
|
-
#64e8f7 25.6%,
|
|
45
|
-
#64e8f7 48%,
|
|
46
|
-
#00cae0 77.38%,
|
|
47
|
-
#00cae0 100%
|
|
48
|
-
);
|
|
49
|
-
box-shadow: 0px 4px 4px 0px rgba(4, 173, 191, 1) inset;
|
|
50
|
-
}
|
|
51
|
-
.switch-language-channels-action__checked .switch-language-channels-action-icon {
|
|
52
|
-
background: rgba(217, 217, 217, 1);
|
|
53
|
-
}
|
|
54
|
-
.switch-language-channels-action-text {
|
|
55
|
-
color: var(--fcr_ui_scene_black10);
|
|
56
|
-
font-size: 20px;
|
|
57
|
-
margin-left: 8px;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.switch-language-channels-action__checked .switch-language-channels-action-text {
|
|
61
|
-
color: var(--fcr_ui_scene_white10);
|
|
62
|
-
}
|
|
63
|
-
.switch-language-channels-guide-content {
|
|
64
|
-
display: flex;
|
|
65
|
-
justify-content: space-between;
|
|
66
|
-
align-items: center;
|
|
67
|
-
}
|
|
68
|
-
.switch-language-channels-guide-content-icon {
|
|
69
|
-
height: 32px;
|
|
70
|
-
width: 32px;
|
|
71
|
-
border-radius: 16px;
|
|
72
|
-
background: var(--fcr_ui_scene_card3);
|
|
73
|
-
display: flex;
|
|
74
|
-
justify-content: center;
|
|
75
|
-
align-items: center;
|
|
76
|
-
margin-right: 12px;
|
|
77
|
-
}
|
|
78
|
-
.switch-language-channels-guide-content-text {
|
|
79
|
-
width: 200px;
|
|
80
|
-
line-height: 19.5px;
|
|
81
|
-
font-size: 13px;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.switch-language-loading {
|
|
85
|
-
border-radius: 30px;
|
|
86
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { FcrLanguage } from 'fcr-core/lib/room-control/interpreter-control/types';
|
|
2
|
-
import './index.css';
|
|
3
|
-
interface TriggerInputLanguageRoomProps {
|
|
4
|
-
}
|
|
5
|
-
export declare enum OpeneStateType {
|
|
6
|
-
CLOSE = 0,
|
|
7
|
-
OPEN = 1
|
|
8
|
-
}
|
|
9
|
-
export interface OptionsType {
|
|
10
|
-
label: string;
|
|
11
|
-
imgSrc: string;
|
|
12
|
-
value: FcrLanguage;
|
|
13
|
-
}
|
|
14
|
-
export declare const TriggerInputLanguageRoom: (props: TriggerInputLanguageRoomProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
15
|
-
export {};
|
|
@@ -1,220 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
require("core-js/modules/es.object.define-property.js");
|
|
4
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.TriggerInputLanguageRoom = exports.OpeneStateType = void 0;
|
|
9
|
-
require("core-js/modules/es.array.filter.js");
|
|
10
|
-
require("core-js/modules/es.array.find.js");
|
|
11
|
-
require("core-js/modules/es.array.map.js");
|
|
12
|
-
require("core-js/modules/es.object.to-string.js");
|
|
13
|
-
require("core-js/modules/esnext.async-iterator.filter.js");
|
|
14
|
-
require("core-js/modules/esnext.async-iterator.find.js");
|
|
15
|
-
require("core-js/modules/esnext.async-iterator.map.js");
|
|
16
|
-
require("core-js/modules/esnext.iterator.constructor.js");
|
|
17
|
-
require("core-js/modules/esnext.iterator.filter.js");
|
|
18
|
-
require("core-js/modules/esnext.iterator.find.js");
|
|
19
|
-
require("core-js/modules/esnext.iterator.map.js");
|
|
20
|
-
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
21
|
-
var _react = require("react");
|
|
22
|
-
var _mobxReact = require("mobx-react");
|
|
23
|
-
var _reactRnd = require("react-rnd");
|
|
24
|
-
var _classnames = _interopRequireDefault(require("classnames"));
|
|
25
|
-
var _type = require("agora-ui-foundation/lib/components/icon/type");
|
|
26
|
-
var _icon = require("agora-ui-foundation/lib/components/icon");
|
|
27
|
-
var _store = require("../store");
|
|
28
|
-
var _useLanguageConfig = require("../../interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig");
|
|
29
|
-
var _guideTooltip = require("../trigger-output-language-room/guide-tooltip");
|
|
30
|
-
var _loadingWrapper = require("../../interpreter/loading-wrapper");
|
|
31
|
-
require("./index.css");
|
|
32
|
-
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
33
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
34
|
-
var OpeneStateType = exports.OpeneStateType = /*#__PURE__*/function (OpeneStateType) {
|
|
35
|
-
OpeneStateType[OpeneStateType["CLOSE"] = 0] = "CLOSE";
|
|
36
|
-
OpeneStateType[OpeneStateType["OPEN"] = 1] = "OPEN";
|
|
37
|
-
return OpeneStateType;
|
|
38
|
-
}({});
|
|
39
|
-
var TriggerInputLanguageRoom = exports.TriggerInputLanguageRoom = (0, _mobxReact.observer)(function (props) {
|
|
40
|
-
var _useContext = (0, _react.useContext)(_store.ActionBarContext),
|
|
41
|
-
interpreter = _useContext.interpreter,
|
|
42
|
-
updateInterpreter = _useContext.updateInterpreter,
|
|
43
|
-
resetInterpreter = _useContext.resetInterpreter,
|
|
44
|
-
setInputLanguageRoom = _useContext.setInputLanguageRoom;
|
|
45
|
-
var preInterpreter = (0, _react.useRef)(null);
|
|
46
|
-
var getLanguageConfig = (0, _useLanguageConfig.useLanguageConfig)();
|
|
47
|
-
var transI18n = (0, _i18n.useI18n)();
|
|
48
|
-
var position = (0, _react.useMemo)(function () {
|
|
49
|
-
var windowWidth = window.innerWidth;
|
|
50
|
-
var width = 210;
|
|
51
|
-
var height = 60;
|
|
52
|
-
var x = windowWidth / 2 - width / 2;
|
|
53
|
-
return {
|
|
54
|
-
x: x,
|
|
55
|
-
y: -86,
|
|
56
|
-
width: width,
|
|
57
|
-
height: height
|
|
58
|
-
};
|
|
59
|
-
}, []);
|
|
60
|
-
var guideContent = (0, _react.useMemo)(function () {
|
|
61
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
62
|
-
className: "switch-language-channels-guide-content",
|
|
63
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
64
|
-
className: "switch-language-channels-guide-content-icon",
|
|
65
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
|
|
66
|
-
type: _type.FcrIconType.FCR_INTERPRETATION2,
|
|
67
|
-
size: 25,
|
|
68
|
-
colors: {
|
|
69
|
-
iconPrimary: 'var(--fcr_ui_scene_white10)'
|
|
70
|
-
}
|
|
71
|
-
})
|
|
72
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
73
|
-
className: "switch-language-channels-guide-content-text",
|
|
74
|
-
children: transI18n('fmt_interpretation_interpreter_toast_label_change_channel')
|
|
75
|
-
})]
|
|
76
|
-
});
|
|
77
|
-
}, []);
|
|
78
|
-
var _useState = (0, _react.useState)([]),
|
|
79
|
-
_useState2 = (0, _slicedToArray2["default"])(_useState, 2),
|
|
80
|
-
languageRoomList = _useState2[0],
|
|
81
|
-
setLanguageRoomList = _useState2[1];
|
|
82
|
-
var _useState3 = (0, _react.useState)(false),
|
|
83
|
-
_useState4 = (0, _slicedToArray2["default"])(_useState3, 2),
|
|
84
|
-
loading = _useState4[0],
|
|
85
|
-
setLoading = _useState4[1];
|
|
86
|
-
var _useState5 = (0, _react.useState)(),
|
|
87
|
-
_useState6 = (0, _slicedToArray2["default"])(_useState5, 2),
|
|
88
|
-
checked = _useState6[0],
|
|
89
|
-
setChecked = _useState6[1];
|
|
90
|
-
var successfulCallback = function successfulCallback() {
|
|
91
|
-
setLoading(false);
|
|
92
|
-
};
|
|
93
|
-
var handleClick = function handleClick(value) {
|
|
94
|
-
setLoading(true);
|
|
95
|
-
setChecked(value);
|
|
96
|
-
setInputLanguageRoom({
|
|
97
|
-
language: value,
|
|
98
|
-
callback: successfulCallback
|
|
99
|
-
});
|
|
100
|
-
};
|
|
101
|
-
var mergeLanguageRoom = function mergeLanguageRoom() {
|
|
102
|
-
var _ref = interpreter || {},
|
|
103
|
-
sourceLanguage = _ref.sourceLanguage,
|
|
104
|
-
targetLanguage = _ref.targetLanguage;
|
|
105
|
-
return [sourceLanguage, targetLanguage].map(function (language) {
|
|
106
|
-
var languageConfig = getLanguageConfig(language);
|
|
107
|
-
var abbr = languageConfig.abbr,
|
|
108
|
-
imgSrc = languageConfig.imgSrc,
|
|
109
|
-
value = languageConfig.value;
|
|
110
|
-
return {
|
|
111
|
-
label: abbr,
|
|
112
|
-
imgSrc: imgSrc,
|
|
113
|
-
value: value
|
|
114
|
-
};
|
|
115
|
-
});
|
|
116
|
-
};
|
|
117
|
-
(0, _react.useEffect)(function () {
|
|
118
|
-
if (interpreter) {
|
|
119
|
-
preInterpreter.current = interpreter;
|
|
120
|
-
setLoading(true);
|
|
121
|
-
var newLanguageRoomList = mergeLanguageRoom();
|
|
122
|
-
var language = newLanguageRoomList[1].value;
|
|
123
|
-
var leftRoomList = languageRoomList.filter(function (preRoom) {
|
|
124
|
-
return !newLanguageRoomList.find(function (room) {
|
|
125
|
-
return room.value === preRoom.value;
|
|
126
|
-
});
|
|
127
|
-
});
|
|
128
|
-
var joinRoomList = newLanguageRoomList.filter(function (preRoom) {
|
|
129
|
-
return !languageRoomList.find(function (room) {
|
|
130
|
-
return room.value === preRoom.value;
|
|
131
|
-
});
|
|
132
|
-
});
|
|
133
|
-
updateInterpreter({
|
|
134
|
-
leftRoomList: leftRoomList,
|
|
135
|
-
joinRoomList: joinRoomList,
|
|
136
|
-
language: language,
|
|
137
|
-
callback: successfulCallback
|
|
138
|
-
});
|
|
139
|
-
setLanguageRoomList(newLanguageRoomList);
|
|
140
|
-
setChecked(language);
|
|
141
|
-
} else {
|
|
142
|
-
if (preInterpreter.current) {
|
|
143
|
-
resetInterpreter({
|
|
144
|
-
languageRoomList: languageRoomList
|
|
145
|
-
});
|
|
146
|
-
preInterpreter.current = null;
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
}, [interpreter]);
|
|
150
|
-
var guideTooltip = (0, _react.useRef)();
|
|
151
|
-
var _useState7 = (0, _react.useState)(0),
|
|
152
|
-
_useState8 = (0, _slicedToArray2["default"])(_useState7, 2),
|
|
153
|
-
startX = _useState8[0],
|
|
154
|
-
setStartX = _useState8[1];
|
|
155
|
-
var _useState9 = (0, _react.useState)(0),
|
|
156
|
-
_useState10 = (0, _slicedToArray2["default"])(_useState9, 2),
|
|
157
|
-
startY = _useState10[0],
|
|
158
|
-
setStartY = _useState10[1];
|
|
159
|
-
var moveThreshold = 5; // 移动阈值
|
|
160
|
-
|
|
161
|
-
var handleMouseDown = function handleMouseDown(e) {
|
|
162
|
-
setStartX(e.clientX);
|
|
163
|
-
setStartY(e.clientY);
|
|
164
|
-
};
|
|
165
|
-
var handleMouseUp = function handleMouseUp(e, value) {
|
|
166
|
-
var dx = Math.abs(e.clientX - startX);
|
|
167
|
-
var dy = Math.abs(e.clientY - startY);
|
|
168
|
-
if (dx < moveThreshold && dy < moveThreshold) {
|
|
169
|
-
handleClick(value);
|
|
170
|
-
}
|
|
171
|
-
};
|
|
172
|
-
if (!interpreter) {
|
|
173
|
-
return null;
|
|
174
|
-
}
|
|
175
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactRnd.Rnd, {
|
|
176
|
-
"default": position,
|
|
177
|
-
bounds: "window",
|
|
178
|
-
enableResizing: false,
|
|
179
|
-
onDragStart: function onDragStart() {
|
|
180
|
-
if (guideTooltip.current) {
|
|
181
|
-
if (guideTooltip.current.show) {
|
|
182
|
-
guideTooltip.current.setShow(false);
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
},
|
|
186
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_guideTooltip.GuideTooltip, {
|
|
187
|
-
content: "",
|
|
188
|
-
guideContent: guideContent,
|
|
189
|
-
ref: guideTooltip,
|
|
190
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
191
|
-
className: "switch-language-channels-bar",
|
|
192
|
-
children: languageRoomList.map(function (ele) {
|
|
193
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_loadingWrapper.LoadingWrapper, {
|
|
194
|
-
maskClassName: "switch-language-loading",
|
|
195
|
-
loading: loading && checked === ele.value,
|
|
196
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
197
|
-
onMouseDown: handleMouseDown,
|
|
198
|
-
onMouseUp: function onMouseUp(e) {
|
|
199
|
-
handleMouseUp(e, ele.value);
|
|
200
|
-
},
|
|
201
|
-
className: (0, _classnames["default"])('switch-language-channels-action', {
|
|
202
|
-
'switch-language-channels-action__checked': checked === ele.value
|
|
203
|
-
}),
|
|
204
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
205
|
-
className: "switch-language-channels-action-bg",
|
|
206
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
207
|
-
className: "switch-language-channels-action-icon",
|
|
208
|
-
src: ele.imgSrc
|
|
209
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
210
|
-
className: "switch-language-channels-action-text",
|
|
211
|
-
children: ele.label
|
|
212
|
-
})]
|
|
213
|
-
})
|
|
214
|
-
})
|
|
215
|
-
}, ele.value);
|
|
216
|
-
})
|
|
217
|
-
})
|
|
218
|
-
})
|
|
219
|
-
});
|
|
220
|
-
});
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { FcrLanguage } from 'fcr-core/lib/room-control/interpreter-control/types';
|
|
2
|
-
import useChangeOutputRoomTool from './useChangeOutputRoomTool';
|
|
3
|
-
export type CloseAllLanguageRoomType = typeof CLOSE_ALL_LANGUAGE_ROOM;
|
|
4
|
-
export type LanguageRoomOptionValue = FcrLanguage | CloseAllLanguageRoomType;
|
|
5
|
-
export interface LanguageRoomOption {
|
|
6
|
-
text: string;
|
|
7
|
-
value: LanguageRoomOptionValue;
|
|
8
|
-
}
|
|
9
|
-
export declare const CLOSE_ALL_LANGUAGE_ROOM = "CLOSE_ALL_LANGUAGE_ROOM";
|
|
10
|
-
export type ChangeOutputRoomToolHookReturnType = ReturnType<typeof useChangeOutputRoomTool>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
require("core-js/modules/es.object.define-property.js");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.CLOSE_ALL_LANGUAGE_ROOM = void 0;
|
|
8
|
-
var CLOSE_ALL_LANGUAGE_ROOM = exports.CLOSE_ALL_LANGUAGE_ROOM = 'CLOSE_ALL_LANGUAGE_ROOM';
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
.fcr-guide-tooltip {
|
|
2
|
-
max-width: none;
|
|
3
|
-
}
|
|
4
|
-
.fcr-guide-tooltip-close-btn {
|
|
5
|
-
margin-left: 10px;
|
|
6
|
-
/* float: left; */
|
|
7
|
-
display: inline;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.fcr-guide-tooltip-close-container {
|
|
11
|
-
position: relative;
|
|
12
|
-
padding-right: 20px;
|
|
13
|
-
}
|
|
14
|
-
.fcr-guide-tooltip-close-btn {
|
|
15
|
-
position: absolute;
|
|
16
|
-
top: 0px;
|
|
17
|
-
right: 0px;
|
|
18
|
-
}
|
|
19
|
-
.fcr-guide-tooltip-close-text {
|
|
20
|
-
max-width: 300px;
|
|
21
|
-
text-align: left;
|
|
22
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ToolTipProps } from 'agora-ui-foundation/lib/components/tooltip';
|
|
2
|
-
import './index.css';
|
|
3
|
-
export interface guideTooltipPropsRef {
|
|
4
|
-
setShow: React.Dispatch<React.SetStateAction<boolean>>;
|
|
5
|
-
show: boolean;
|
|
6
|
-
}
|
|
7
|
-
interface GuideTooltipProps extends ToolTipProps {
|
|
8
|
-
children: React.ReactNode;
|
|
9
|
-
guideContent: string | React.ReactNode;
|
|
10
|
-
initShowGuide?: boolean;
|
|
11
|
-
onClose?: (visible: boolean) => any;
|
|
12
|
-
}
|
|
13
|
-
export declare const GuideTooltip: import("react").ForwardRefExoticComponent<GuideTooltipProps & import("react").RefAttributes<unknown>>;
|
|
14
|
-
export {};
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
require("core-js/modules/es.object.define-property.js");
|
|
4
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.GuideTooltip = void 0;
|
|
9
|
-
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
10
|
-
var _tooltip = require("agora-ui-foundation/lib/components/tooltip");
|
|
11
|
-
var _react = require("react");
|
|
12
|
-
require("./index.css");
|
|
13
|
-
var _icon = require("agora-ui-foundation/lib/components/icon");
|
|
14
|
-
var _type = require("agora-ui-foundation/lib/components/icon/type");
|
|
15
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
16
|
-
var GuideTooltip = exports.GuideTooltip = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
17
|
-
var children = props.children,
|
|
18
|
-
content = props.content,
|
|
19
|
-
guideContent = props.guideContent,
|
|
20
|
-
_props$initShowGuide = props.initShowGuide,
|
|
21
|
-
initShowGuide = _props$initShowGuide === void 0 ? true : _props$initShowGuide,
|
|
22
|
-
onClose = props.onClose;
|
|
23
|
-
var _useState = (0, _react.useState)(initShowGuide),
|
|
24
|
-
_useState2 = (0, _slicedToArray2["default"])(_useState, 2),
|
|
25
|
-
show = _useState2[0],
|
|
26
|
-
setShow = _useState2[1];
|
|
27
|
-
var showGuideRef = (0, _react.useRef)(initShowGuide);
|
|
28
|
-
(0, _react.useImperativeHandle)(ref, function () {
|
|
29
|
-
return {
|
|
30
|
-
setShow: setShow,
|
|
31
|
-
show: show
|
|
32
|
-
};
|
|
33
|
-
}, [show]);
|
|
34
|
-
var close = function close() {
|
|
35
|
-
setShow(false);
|
|
36
|
-
showGuideRef.current = false;
|
|
37
|
-
onClose && onClose(false);
|
|
38
|
-
};
|
|
39
|
-
var guideContentDom = /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
40
|
-
className: "fcr-guide-tooltip-close-container",
|
|
41
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
42
|
-
className: "fcr-guide-tooltip-close-text",
|
|
43
|
-
children: guideContent
|
|
44
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
|
|
45
|
-
className: "fcr-guide-tooltip-close-btn",
|
|
46
|
-
type: _type.FcrIconType.FCR_CLOSED,
|
|
47
|
-
onClick: close,
|
|
48
|
-
size: 14,
|
|
49
|
-
colors: {
|
|
50
|
-
iconPrimary: 'var(--fcr_ui_scene_icontext3)'
|
|
51
|
-
}
|
|
52
|
-
})]
|
|
53
|
-
});
|
|
54
|
-
(0, _react.useEffect)(function () {
|
|
55
|
-
if (initShowGuide) {
|
|
56
|
-
showGuideRef.current = true;
|
|
57
|
-
setShow(true);
|
|
58
|
-
}
|
|
59
|
-
}, [guideContent]);
|
|
60
|
-
var onVisibleChange = function onVisibleChange(visible) {
|
|
61
|
-
if (!showGuideRef.current) {
|
|
62
|
-
setShow(visible);
|
|
63
|
-
}
|
|
64
|
-
};
|
|
65
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_tooltip.FcrToolTip, {
|
|
66
|
-
overlayClassName: "fcr-guide-tooltip",
|
|
67
|
-
mouseEnterDelay: 0,
|
|
68
|
-
onVisibleChange: onVisibleChange
|
|
69
|
-
// content={showGuideContetRef.current}
|
|
70
|
-
,
|
|
71
|
-
content: showGuideRef.current ? guideContentDom : content,
|
|
72
|
-
visible: show,
|
|
73
|
-
children: children
|
|
74
|
-
});
|
|
75
|
-
});
|