fcr-ui-scene 3.8.1-beta → 3.8.2
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/creator/provider-initializer.browser.js +8 -7
- package/lib/creator/provider-initializer.electron.js +8 -8
- package/lib/electron/asar-validation.d.ts +12 -0
- package/lib/electron/asar-validation.js +115 -0
- package/lib/electron/bootstrap-sdk.js +20 -12
- package/lib/electron/default-options.js +2 -1
- package/lib/electron/env.d.ts +1 -0
- package/lib/electron/env.js +6 -4
- 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/style.css +4 -4
- package/lib/global.css +62 -62
- package/lib/global.d.ts +27 -27
- package/lib/index.js +9 -1
- 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/store.base.d.ts +3 -2
- package/lib/modules/action-bar/main-scene/store.base.js +29 -57
- 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/view.css +158 -158
- 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/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/steps/index.css +73 -73
- 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/meeting-details/index.css +133 -133
- 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-state-nav/index.css +79 -79
- package/lib/modules/control-bar/index.css +340 -340
- package/lib/modules/control-bar/index.js +4 -4
- package/lib/modules/device-pretest/index.css +123 -123
- package/lib/modules/dialog/components/confirm/index.css +24 -24
- package/lib/modules/dialog/components/dialog-container/index.css +112 -112
- package/lib/modules/dialog/dialogs/confirm/index.css +24 -24
- package/lib/modules/dialog/dialogs/connection-gateway/tabs.js +14 -12
- 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/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/pstn-invite.js +1 -1
- package/lib/modules/invite/components/voip-invite.css +26 -26
- package/lib/modules/invite/index.css +331 -331
- package/lib/modules/invite/index.d.ts +4 -1
- package/lib/modules/invite/index.js +5 -2
- package/lib/modules/invite/store.d.ts +4 -0
- package/lib/modules/invite/store.js +48 -9
- package/lib/modules/invite/view.d.ts +4 -1
- package/lib/modules/invite/view.js +25 -10
- 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.js +5 -5
- 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 +175 -175
- package/lib/modules/pc-audio-connect/index.css +12 -12
- package/lib/modules/pc-audio-connect/main-scene/index.d.ts +1 -1
- package/lib/modules/pc-audio-connect/main-scene/index.js +2 -3
- package/lib/modules/pc-audio-connect/main-scene/store.js +1 -0
- 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 +7 -7
- package/lib/modules/setting/audio-settings/index.css +195 -195
- package/lib/modules/setting/audio-whiteList/audio-device-adaptation.js +14 -14
- package/lib/modules/setting/audio-whiteList/audio-whiteList-manager.js +6 -6
- 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/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/translate-settings/index.css +47 -47
- package/lib/modules/setting/video-settings/index.css +357 -357
- 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/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/settings/index.css +5 -5
- package/lib/modules/subtitles-history/index.css +129 -129
- 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/modules/widget/index.d.ts +1 -0
- package/lib/modules/widget/index.js +16 -1
- package/lib/modules/widget/store.base.d.ts +1 -0
- package/lib/modules/widget/store.base.js +12 -0
- package/lib/modules/widget/store.electron.js +5 -0
- package/lib/modules/widget/web-widget.d.ts +6 -1
- package/lib/modules/widget/web-widget.js +66 -22
- 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/app-list-provider.d.ts +1 -1
- package/lib/providers/app-list-provider.js +9 -7
- package/lib/providers/board-share/bar-control/base.d.ts +1 -1
- package/lib/providers/board-share/bar-control/browser.d.ts +1 -1
- package/lib/providers/board-share/bar-control/electron.d.ts +1 -1
- package/lib/providers/board-share/struct.js +6 -6
- package/lib/providers/device-stream-provider.d.ts +1 -1
- 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.js +23 -23
- package/lib/providers/screen-share/stream-state-sync.js +18 -18
- package/lib/providers/screen-share/struct.js +24 -24
- package/lib/providers/widget-provider.d.ts +13 -2
- package/lib/providers/widget-provider.js +60 -9
- 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/scenes/main-scene.js +3 -1
- package/lib/schema.js +26 -26
- package/lib/shared-data/app-list-data.d.ts +0 -3
- package/lib/shared-data/app-list-data.js +3 -30
- package/lib/shared-data/meeting-time.js +8 -8
- package/lib/shared-data/setting.js +3 -3
- package/lib/shared-data/video-window.d.ts +1 -1
- package/lib/shared-data/video-window.js +1 -1
- package/lib/shared-data/widget-data.d.ts +0 -1
- package/lib/type.d.ts +1 -0
- package/lib/type.js +23 -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/lib-es/assets/mic-loading.gif +0 -0
- package/lib-es/base.js +335 -0
- package/lib-es/creator/index.js +543 -0
- package/lib-es/creator/provider-initializer.browser.js +322 -0
- package/lib-es/creator/provider-initializer.electron.js +359 -0
- package/lib-es/creator/type.js +1 -0
- package/lib-es/electron/app.js +247 -0
- package/lib-es/electron/asar-validation.js +106 -0
- package/lib-es/electron/bootstrap-dev.js +45 -0
- package/lib-es/electron/bootstrap-sdk.js +198 -0
- package/lib-es/electron/default-options.js +18 -0
- package/lib-es/electron/env.js +8 -0
- package/lib-es/electron/exit-codes.js +20 -0
- package/lib-es/electron/hang-detection/index.js +2 -0
- package/lib-es/electron/hang-detection/manager.js +225 -0
- package/lib-es/electron/hang-detection/types.js +1 -0
- package/lib-es/electron/index.js +2 -0
- package/lib-es/electron/injections.js +830 -0
- package/lib-es/electron/ipc/ipc.js +134 -0
- package/lib-es/electron/ipc/type.js +22 -0
- package/lib-es/electron/ipc-protocol.js +58 -0
- package/lib-es/electron/logger.js +57 -0
- package/lib-es/electron/main.js +116 -0
- package/lib-es/electron/plugins/devtool-shortcut.js +26 -0
- package/lib-es/electron/plugins/meeting-state.js +32 -0
- package/lib-es/electron/plugins/screenshot.js +46 -0
- package/lib-es/electron/preload.js +42 -0
- package/lib-es/electron/process-manager/constants.js +1 -0
- package/lib-es/electron/process-manager/event-manager.js +242 -0
- package/lib-es/electron/process-manager/index.js +842 -0
- package/lib-es/electron/process-manager/state-manager.js +354 -0
- package/lib-es/electron/process-manager/types.js +78 -0
- package/lib-es/electron/sdk-helper.js +305 -0
- package/lib-es/electron/struct.js +21 -0
- package/lib-es/electron/until.js +64 -0
- package/lib-es/electron/window-proxy/browser-window-proxy.js +720 -0
- package/lib-es/electron/window-proxy/main-process-handler.js +441 -0
- package/lib-es/electron/window.js +91 -0
- package/lib-es/fragments/annotation/index.js +130 -0
- package/lib-es/fragments/annotation/libs.js +86 -0
- package/lib-es/fragments/annotation/store.js +866 -0
- package/lib-es/fragments/annotation/style.css +9 -0
- package/lib-es/fragments/annotation/toolbar/components/color-tool/color-panel/index.js +40 -0
- package/lib-es/fragments/annotation/toolbar/components/color-tool/index.js +48 -0
- package/lib-es/fragments/annotation/toolbar/components/graphic-tool/graphic-panel/index.js +55 -0
- package/lib-es/fragments/annotation/toolbar/components/graphic-tool/graphic-panel/libs.js +57 -0
- package/lib-es/fragments/annotation/toolbar/components/graphic-tool/index.js +62 -0
- package/lib-es/fragments/annotation/toolbar/components/item/item.js +106 -0
- package/lib-es/fragments/annotation/toolbar/components/item/style.css +45 -0
- package/lib-es/fragments/annotation/toolbar/components/panel/index.js +15 -0
- package/lib-es/fragments/annotation/toolbar/components/panel/style.css +24 -0
- package/lib-es/fragments/annotation/toolbar/components/pen-tool/index.js +54 -0
- package/lib-es/fragments/annotation/toolbar/components/pen-tool/pen-panel/index.js +28 -0
- package/lib-es/fragments/annotation/toolbar/components/tips/index.js +18 -0
- package/lib-es/fragments/annotation/toolbar/components/tips/style.css +19 -0
- package/lib-es/fragments/annotation/toolbar/store.js +292 -0
- package/lib-es/fragments/annotation/toolbar/style.css +55 -0
- package/lib-es/fragments/annotation/toolbar/view.js +140 -0
- package/lib-es/fragments/annotation/utils.js +20 -0
- package/lib-es/fragments/annotation/view.js +59 -0
- package/lib-es/fragments/base.js +40 -0
- package/lib-es/fragments/whiteboard/cursor.css +77 -0
- package/lib-es/fragments/whiteboard/index.js +80 -0
- package/lib-es/fragments/whiteboard/store.js +487 -0
- package/lib-es/fragments/whiteboard/style.css +4 -0
- package/lib-es/fragments/whiteboard/view.js +24 -0
- package/lib-es/global.css +62 -0
- package/lib-es/global.d.ts +27 -0
- package/lib-es/hooks/i18n.js +10 -0
- package/lib-es/index.js +38 -0
- package/lib-es/modules/action-bar/components/apps/index.js +43 -0
- package/lib-es/modules/action-bar/components/board/index.js +25 -0
- package/lib-es/modules/action-bar/components/breakout-room/index.js +23 -0
- package/lib-es/modules/action-bar/components/chat/index.css +88 -0
- package/lib-es/modules/action-bar/components/chat/index.js +126 -0
- package/lib-es/modules/action-bar/components/collapse/index.js +203 -0
- package/lib-es/modules/action-bar/components/confirm-leave-meeting/index.js +70 -0
- package/lib-es/modules/action-bar/components/interpreter/index.js +34 -0
- package/lib-es/modules/action-bar/components/item/index.js +158 -0
- package/lib-es/modules/action-bar/components/leave/index.js +118 -0
- package/lib-es/modules/action-bar/components/live-streaming/index.js +32 -0
- package/lib-es/modules/action-bar/components/more/index.css +114 -0
- package/lib-es/modules/action-bar/components/more/index.js +79 -0
- package/lib-es/modules/action-bar/components/more/poppover-content.js +410 -0
- package/lib-es/modules/action-bar/components/notification-bar/assets/dome.png +0 -0
- package/lib-es/modules/action-bar/components/notification-bar/assets/fcr_translateswitch.png +0 -0
- package/lib-es/modules/action-bar/components/notification-bar/components/interpreter/index.css +58 -0
- package/lib-es/modules/action-bar/components/notification-bar/components/interpreter/index.js +93 -0
- package/lib-es/modules/action-bar/components/notification-bar/components/virtual-image/index.css +56 -0
- package/lib-es/modules/action-bar/components/notification-bar/components/virtual-image/index.js +25 -0
- package/lib-es/modules/action-bar/components/notification-bar/index.css +74 -0
- package/lib-es/modules/action-bar/components/notification-bar/index.js +96 -0
- package/lib-es/modules/action-bar/components/participants/index.css +21 -0
- package/lib-es/modules/action-bar/components/participants/index.js +52 -0
- package/lib-es/modules/action-bar/components/placement/index.js +10 -0
- package/lib-es/modules/action-bar/components/record/index.css +39 -0
- package/lib-es/modules/action-bar/components/record/index.js +89 -0
- package/lib-es/modules/action-bar/components/record/popover.js +50 -0
- package/lib-es/modules/action-bar/components/record/stop-record-dialog.js +41 -0
- package/lib-es/modules/action-bar/components/respond/index.js +25 -0
- package/lib-es/modules/action-bar/components/screen-share/index.browser.js +61 -0
- package/lib-es/modules/action-bar/components/screen-share/index.electron.js +78 -0
- package/lib-es/modules/action-bar/components/screen-share/index.js +4 -0
- package/lib-es/modules/action-bar/components/screen-share/submenu.js +219 -0
- package/lib-es/modules/action-bar/components/security/index.js +42 -0
- package/lib-es/modules/action-bar/components/settings/index.js +29 -0
- package/lib-es/modules/action-bar/components/smaller/index.js +45 -0
- package/lib-es/modules/action-bar/components/trigger-output-language/fcr_translateswitch.png +0 -0
- package/lib-es/modules/action-bar/components/trigger-output-language/index.css +86 -0
- package/lib-es/modules/action-bar/components/trigger-output-language/index.js +228 -0
- package/lib-es/modules/action-bar/components/trigger-subscribe-language/guide-tooltip/index.css +22 -0
- package/lib-es/modules/action-bar/components/trigger-subscribe-language/guide-tooltip/index.js +62 -0
- package/lib-es/modules/action-bar/components/trigger-subscribe-language/index.js +216 -0
- package/lib-es/modules/action-bar/constants.js +1 -0
- package/lib-es/modules/action-bar/enums.js +28 -0
- package/lib-es/modules/action-bar/index.css +358 -0
- package/lib-es/modules/action-bar/main-scene/index.js +123 -0
- package/lib-es/modules/action-bar/main-scene/store.base.js +1486 -0
- package/lib-es/modules/action-bar/main-scene/store.browser.js +105 -0
- package/lib-es/modules/action-bar/main-scene/store.electron.js +94 -0
- package/lib-es/modules/action-bar/main-scene/view.js +105 -0
- package/lib-es/modules/action-bar/type.js +6 -0
- package/lib-es/modules/action-bar/waiting-scene/index.js +94 -0
- package/lib-es/modules/action-bar/waiting-scene/store.base.js +88 -0
- package/lib-es/modules/action-bar/waiting-scene/store.browser.js +17 -0
- package/lib-es/modules/action-bar/waiting-scene/store.electron.js +37 -0
- package/lib-es/modules/action-bar/waiting-scene/view.js +116 -0
- package/lib-es/modules/audio-stream/index.js +393 -0
- package/lib-es/modules/caption/draggable-container/index.css +10 -0
- package/lib-es/modules/caption/draggable-container/index.js +159 -0
- package/lib-es/modules/caption/index.js +117 -0
- package/lib-es/modules/caption/store.js +352 -0
- package/lib-es/modules/caption/type.js +7 -0
- package/lib-es/modules/caption/view.css +158 -0
- package/lib-es/modules/caption/view.js +266 -0
- package/lib-es/modules/chat/chat-room-store.js +923 -0
- package/lib-es/modules/chat/components/chat-action/index.js +21 -0
- package/lib-es/modules/chat/components/chat-bar/index.css +89 -0
- package/lib-es/modules/chat/components/chat-bar/index.js +141 -0
- package/lib-es/modules/chat/components/chat-select/index.css +185 -0
- package/lib-es/modules/chat/components/chat-select/index.js +100 -0
- package/lib-es/modules/chat/components/chat-select/select-input/index.js +27 -0
- package/lib-es/modules/chat/components/chat-select/select-item/index.js +150 -0
- package/lib-es/modules/chat/components/chat-tabs/index.js +53 -0
- package/lib-es/modules/chat/components/message-list/chat-empty/index.js +18 -0
- package/lib-es/modules/chat/components/message-list/history-unread-message-button/index.js +48 -0
- package/lib-es/modules/chat/components/message-list/index.js +327 -0
- package/lib-es/modules/chat/components/message-list/message-item/index.js +343 -0
- package/lib-es/modules/chat/components/message-list/scroll-bottom-button/index.js +60 -0
- package/lib-es/modules/chat/index.css +124 -0
- package/lib-es/modules/chat/index.dev.js +71 -0
- package/lib-es/modules/chat/index.js +168 -0
- package/lib-es/modules/chat/mock.js +276 -0
- package/lib-es/modules/chat/store.js +359 -0
- package/lib-es/modules/chat/types.js +12 -0
- package/lib-es/modules/chat/util.js +63 -0
- package/lib-es/modules/chat/view.js +312 -0
- package/lib-es/modules/components/annotation-menu/index.js +104 -0
- package/lib-es/modules/components/apps/app-item/index.css +49 -0
- package/lib-es/modules/components/apps/app-item/index.js +130 -0
- package/lib-es/modules/components/apps/app-list.js +49 -0
- package/lib-es/modules/components/apps/index.css +9 -0
- package/lib-es/modules/components/apps/types.js +1 -0
- package/lib-es/modules/components/caption-menu/index.css +58 -0
- package/lib-es/modules/components/caption-menu/index.js +108 -0
- package/lib-es/modules/components/caption-menu/participants-privilege-control-options.js +65 -0
- package/lib-es/modules/components/caption-menu/steps/index.css +73 -0
- package/lib-es/modules/components/caption-menu/steps/index.js +49 -0
- package/lib-es/modules/components/caption-menu/translation-setting-options.js +180 -0
- package/lib-es/modules/components/control-bar/components/loading/index.css +76 -0
- package/lib-es/modules/components/control-bar/components/loading/index.js +56 -0
- package/lib-es/modules/components/control-bar/components/loading/loading.png +0 -0
- package/lib-es/modules/components/control-bar/components/progress/index.js +36 -0
- package/lib-es/modules/components/control-bar/components/progress/style.css +51 -0
- package/lib-es/modules/components/control-bar/components/switch-theme/index.css +101 -0
- package/lib-es/modules/components/control-bar/components/switch-theme/index.js +86 -0
- package/lib-es/modules/components/control-bar/components/switch-theme/item.js +46 -0
- package/lib-es/modules/components/control-bar/components/switch-theme/libs.js +24 -0
- package/lib-es/modules/components/control-bar/index.css +99 -0
- package/lib-es/modules/components/control-bar/index.js +357 -0
- package/lib-es/modules/components/device-control/components/audio-menu/index.js +167 -0
- package/lib-es/modules/components/device-control/components/carmera/index.js +108 -0
- package/lib-es/modules/components/device-control/components/microphone/index.js +182 -0
- package/lib-es/modules/components/device-control/components/none-menu/index.js +61 -0
- package/lib-es/modules/components/device-control/components/phone-menu/index.js +54 -0
- package/lib-es/modules/components/device-control/components/video-menu/index.js +105 -0
- package/lib-es/modules/components/device-control/hooks/index.js +34 -0
- package/lib-es/modules/components/device-control/index.css +177 -0
- package/lib-es/modules/components/device-control/index.js +14 -0
- package/lib-es/modules/components/device-control/main-scene/store.js +88 -0
- package/lib-es/modules/components/device-control/store.base.js +242 -0
- package/lib-es/modules/components/device-control/type.js +1 -0
- package/lib-es/modules/components/device-control/waiting-scene/store.js +84 -0
- package/lib-es/modules/components/leave-meeting/components/assign-host.js +101 -0
- package/lib-es/modules/components/leave-meeting/components/index.css +151 -0
- package/lib-es/modules/components/leave-meeting/index.js +148 -0
- package/lib-es/modules/components/leave-meeting/main-scene/store.js +107 -0
- package/lib-es/modules/components/leave-meeting/portal.js +22 -0
- package/lib-es/modules/components/leave-meeting/store.base.js +299 -0
- package/lib-es/modules/components/leave-meeting/style.css +9 -0
- package/lib-es/modules/components/leave-meeting/type.js +1 -0
- package/lib-es/modules/components/leave-meeting/waiting-scene/store.js +98 -0
- package/lib-es/modules/components/member-window/components/member-actions/components/audio-control.js +35 -0
- package/lib-es/modules/components/member-window/components/member-actions/components/icon-buttons/index.js +162 -0
- package/lib-es/modules/components/member-window/components/member-actions/components/icon-status.js +80 -0
- package/lib-es/modules/components/member-window/components/member-actions/components/layout/index.js +23 -0
- package/lib-es/modules/components/member-window/components/member-actions/components/more-actions.js +128 -0
- package/lib-es/modules/components/member-window/components/member-actions/components/share-status.js +34 -0
- package/lib-es/modules/components/member-window/components/member-actions/components/user-info.js +105 -0
- package/lib-es/modules/components/member-window/components/member-actions/components/user-tag.js +51 -0
- package/lib-es/modules/components/member-window/components/member-actions/index.js +98 -0
- package/lib-es/modules/components/member-window/components/member-actions/libs/index.js +14 -0
- package/lib-es/modules/components/member-window/components/member-actions/provider.js +70 -0
- package/lib-es/modules/components/member-window/components/member-actions/store.js +430 -0
- package/lib-es/modules/components/member-window/components/mic-volume.js +16 -0
- package/lib-es/modules/components/member-window/components/video-player/components/local-video-player-with-zoom.js +104 -0
- package/lib-es/modules/components/member-window/components/video-player/components/local-video-player.js +1 -0
- package/lib-es/modules/components/member-window/components/video-player/components/remote-video-player-with-zoom.js +60 -0
- package/lib-es/modules/components/member-window/components/video-player/components/remote-video-player.js +1 -0
- package/lib-es/modules/components/member-window/components/video-player/components/zoomable-container.js +223 -0
- package/lib-es/modules/components/member-window/components/video-player/index.js +37 -0
- package/lib-es/modules/components/member-window/index.css +502 -0
- package/lib-es/modules/components/member-window/index.js +179 -0
- package/lib-es/modules/components/member-window/types.js +1 -0
- package/lib-es/modules/components/security-menu/index.css +42 -0
- package/lib-es/modules/components/security-menu/index.js +472 -0
- package/lib-es/modules/components/security-menu/store.js +388 -0
- package/lib-es/modules/components/security-menu/type.js +1 -0
- package/lib-es/modules/components/tab-frame/index.css +40 -0
- package/lib-es/modules/components/tab-frame/index.js +51 -0
- package/lib-es/modules/components/toolbar/components/capture-tool/index.js +58 -0
- package/lib-es/modules/components/toolbar/components/clean-tool/index.js +63 -0
- package/lib-es/modules/components/toolbar/components/color-tool/color-panel/index.js +70 -0
- package/lib-es/modules/components/toolbar/components/color-tool/index.js +58 -0
- package/lib-es/modules/components/toolbar/components/graphic-tool/graphic-panel/index.js +57 -0
- package/lib-es/modules/components/toolbar/components/graphic-tool/graphic-panel/libs.js +57 -0
- package/lib-es/modules/components/toolbar/components/graphic-tool/index.js +72 -0
- package/lib-es/modules/components/toolbar/components/group-tool/index.js +35 -0
- package/lib-es/modules/components/toolbar/components/icons/fold-icon.js +33 -0
- package/lib-es/modules/components/toolbar/components/icons/move-icon.js +59 -0
- package/lib-es/modules/components/toolbar/components/item/index.js +157 -0
- package/lib-es/modules/components/toolbar/components/item/style.css +94 -0
- package/lib-es/modules/components/toolbar/components/multiple-color-tool/index.js +67 -0
- package/lib-es/modules/components/toolbar/components/panel/index.js +21 -0
- package/lib-es/modules/components/toolbar/components/panel/style.css +86 -0
- package/lib-es/modules/components/toolbar/components/pen-tool/index.js +54 -0
- package/lib-es/modules/components/toolbar/components/pen-tool/pen-panel/index.js +32 -0
- package/lib-es/modules/components/toolbar/components/save-draft/index.js +51 -0
- package/lib-es/modules/components/toolbar/components/vertical-frame/index.js +176 -0
- package/lib-es/modules/components/toolbar/hooks/use-resize-visible.js +64 -0
- package/lib-es/modules/components/toolbar/index.js +235 -0
- package/lib-es/modules/components/toolbar/style.css +85 -0
- package/lib-es/modules/components/toolbar/types.js +1 -0
- package/lib-es/modules/connection-gateway/components/computer/index.css +12 -0
- package/lib-es/modules/connection-gateway/components/computer/index.js +59 -0
- package/lib-es/modules/connection-gateway/components/phone/components/callinfo/index.css +36 -0
- package/lib-es/modules/connection-gateway/components/phone/components/callinfo/index.js +71 -0
- package/lib-es/modules/connection-gateway/components/phone/components/calling/index.css +72 -0
- package/lib-es/modules/connection-gateway/components/phone/components/calling/index.js +51 -0
- package/lib-es/modules/connection-gateway/components/phone/components/remeber/index.css +10 -0
- package/lib-es/modules/connection-gateway/components/phone/components/remeber/index.js +17 -0
- package/lib-es/modules/connection-gateway/components/phone/components/useing/index.css +46 -0
- package/lib-es/modules/connection-gateway/components/phone/components/useing/index.js +29 -0
- package/lib-es/modules/connection-gateway/components/phone/index.css +49 -0
- package/lib-es/modules/connection-gateway/components/phone/index.js +177 -0
- package/lib-es/modules/connection-gateway/enums.js +5 -0
- package/lib-es/modules/connection-gateway/index.css +6 -0
- package/lib-es/modules/connection-gateway/index.js +60 -0
- package/lib-es/modules/connection-gateway/store.js +709 -0
- package/lib-es/modules/connection-gateway/types.js +1 -0
- package/lib-es/modules/connection-gateway/view.js +31 -0
- package/lib-es/modules/control-bar/components/apps-popover/index.js +34 -0
- package/lib-es/modules/control-bar/components/boundary-detector.js +49 -0
- package/lib-es/modules/control-bar/components/carmera/index.js +107 -0
- package/lib-es/modules/control-bar/components/cloud-recording-buttons.js +109 -0
- package/lib-es/modules/control-bar/components/meeting-details/index.css +133 -0
- package/lib-es/modules/control-bar/components/meeting-details/index.js +230 -0
- package/lib-es/modules/control-bar/components/microphone/index.js +185 -0
- package/lib-es/modules/control-bar/components/more-actions/index.css +103 -0
- package/lib-es/modules/control-bar/components/more-actions/index.js +158 -0
- package/lib-es/modules/control-bar/components/share-audio/index.css +90 -0
- package/lib-es/modules/control-bar/components/share-audio/index.js +142 -0
- package/lib-es/modules/control-bar/components/share-state-nav/index.css +79 -0
- package/lib-es/modules/control-bar/components/share-state-nav/index.js +122 -0
- package/lib-es/modules/control-bar/components/stop-live-streaming/index.js +29 -0
- package/lib-es/modules/control-bar/components/stop-live-streaming/stop-button.js +28 -0
- package/lib-es/modules/control-bar/components/transfer-position-icon/index.js +34 -0
- package/lib-es/modules/control-bar/context.js +5 -0
- package/lib-es/modules/control-bar/enums.js +27 -0
- package/lib-es/modules/control-bar/hooks.js +168 -0
- package/lib-es/modules/control-bar/index.css +340 -0
- package/lib-es/modules/control-bar/index.dev.js +37 -0
- package/lib-es/modules/control-bar/index.js +144 -0
- package/lib-es/modules/control-bar/store.js +781 -0
- package/lib-es/modules/control-bar/type.js +1 -0
- package/lib-es/modules/control-bar/view.js +663 -0
- package/lib-es/modules/device-pretest/assets/virtual-backdound-resources.js +14 -0
- package/lib-es/modules/device-pretest/audio-preview/microphone-detection.js +64 -0
- package/lib-es/modules/device-pretest/audio-preview/speaker-control.js +58 -0
- package/lib-es/modules/device-pretest/audio-preview/speaker-detection.js +63 -0
- package/lib-es/modules/device-pretest/index.css +123 -0
- package/lib-es/modules/device-pretest/index.js +234 -0
- package/lib-es/modules/device-pretest/settings/beauty.js +107 -0
- package/lib-es/modules/device-pretest/settings/camera-select.js +45 -0
- package/lib-es/modules/device-pretest/settings/video-effect.js +43 -0
- package/lib-es/modules/device-pretest/settings/video-settings-basic.js +137 -0
- package/lib-es/modules/device-pretest/settings/virtual-background-setting.js +94 -0
- package/lib-es/modules/device-pretest/store.js +437 -0
- package/lib-es/modules/dialog/components/confirm/index.css +24 -0
- package/lib-es/modules/dialog/components/confirm/index.js +154 -0
- package/lib-es/modules/dialog/components/dialog-container/component/body.js +103 -0
- package/lib-es/modules/dialog/components/dialog-container/index.css +112 -0
- package/lib-es/modules/dialog/components/dialog-container/index.js +135 -0
- package/lib-es/modules/dialog/components/host-area-container/index.js +146 -0
- package/lib-es/modules/dialog/components/normal-window/index.js +53 -0
- package/lib-es/modules/dialog/dialogs/annotation-tool/index.js +47 -0
- package/lib-es/modules/dialog/dialogs/caption/index.js +35 -0
- package/lib-es/modules/dialog/dialogs/chat/components/actions.js +36 -0
- package/lib-es/modules/dialog/dialogs/chat/index.js +74 -0
- package/lib-es/modules/dialog/dialogs/confirm/index.css +24 -0
- package/lib-es/modules/dialog/dialogs/confirm/index.js +51 -0
- package/lib-es/modules/dialog/dialogs/confirm-leave-meeting/index.js +38 -0
- package/lib-es/modules/dialog/dialogs/connection-gateway/index.js +40 -0
- package/lib-es/modules/dialog/dialogs/connection-gateway/tabs.js +40 -0
- package/lib-es/modules/dialog/dialogs/control-bar/index.js +29 -0
- package/lib-es/modules/dialog/dialogs/control-bar-leave-meeting/index.js +33 -0
- package/lib-es/modules/dialog/dialogs/device-setting/index.css +26 -0
- package/lib-es/modules/dialog/dialogs/device-setting/index.js +36 -0
- package/lib-es/modules/dialog/dialogs/end-meeting/index.js +48 -0
- package/lib-es/modules/dialog/dialogs/interpreter/index.css +30 -0
- package/lib-es/modules/dialog/dialogs/interpreter/index.js +38 -0
- package/lib-es/modules/dialog/dialogs/invite/index.js +51 -0
- package/lib-es/modules/dialog/dialogs/live-streaming/index.js +30 -0
- package/lib-es/modules/dialog/dialogs/mute-all/index.css +20 -0
- package/lib-es/modules/dialog/dialogs/mute-all/index.js +42 -0
- package/lib-es/modules/dialog/dialogs/participant/components/actions.js +23 -0
- package/lib-es/modules/dialog/dialogs/participant/components/title.js +9 -0
- package/lib-es/modules/dialog/dialogs/participant/index.js +52 -0
- package/lib-es/modules/dialog/dialogs/rename/index.js +43 -0
- package/lib-es/modules/dialog/dialogs/sample-dialog/index.js +48 -0
- package/lib-es/modules/dialog/dialogs/share-screen-selection/index.js +32 -0
- package/lib-es/modules/dialog/dialogs/sub-window/index.js +31 -0
- package/lib-es/modules/dialog/dialogs/subtitles-history/index.js +44 -0
- package/lib-es/modules/dialog/dialogs/system-preference/assets/bg1.png +0 -0
- package/lib-es/modules/dialog/dialogs/system-preference/assets/bg2.png +0 -0
- package/lib-es/modules/dialog/dialogs/system-preference/assets/fcr_png_host.png +0 -0
- package/lib-es/modules/dialog/dialogs/system-preference/electron.js +31 -0
- package/lib-es/modules/dialog/dialogs/system-preference/index.css +52 -0
- package/lib-es/modules/dialog/dialogs/system-preference/index.js +130 -0
- package/lib-es/modules/dialog/dialogs/toast/index.js +28 -0
- package/lib-es/modules/dialog/dialogs/video-window/index.js +55 -0
- package/lib-es/modules/dialog/dialogs/whiteboard/index.js +60 -0
- package/lib-es/modules/dialog/dialogs/widget/index.js +40 -0
- package/lib-es/modules/dialog/hooks/use-web-drag.js +64 -0
- package/lib-es/modules/dialog/index.css +56 -0
- package/lib-es/modules/dialog/index.js +70 -0
- package/lib-es/modules/dialog/level-config.js +11 -0
- package/lib-es/modules/dialog/store.base.js +272 -0
- package/lib-es/modules/dialog/store.browser.js +135 -0
- package/lib-es/modules/dialog/store.electron.js +284 -0
- package/lib-es/modules/dialog/type.js +1 -0
- package/lib-es/modules/dialog/view.js +28 -0
- package/lib-es/modules/event-sound/enum.js +13 -0
- package/lib-es/modules/event-sound/index.js +49 -0
- package/lib-es/modules/event-sound/sound-effect-player.js +49 -0
- package/lib-es/modules/event-sound/store.js +275 -0
- package/lib-es/modules/event-sound/type.js +1 -0
- package/lib-es/modules/event-toast/index.css +25 -0
- package/lib-es/modules/event-toast/index.js +82 -0
- package/lib-es/modules/event-toast/store.base.js +193 -0
- package/lib-es/modules/event-toast/store.browser.js +23 -0
- package/lib-es/modules/event-toast/store.electron.js +138 -0
- package/lib-es/modules/event-toast/type.js +1 -0
- package/lib-es/modules/event-toast/view.js +37 -0
- package/lib-es/modules/interpreter/action/add-btn/index.css +4 -0
- package/lib-es/modules/interpreter/action/add-btn/index.js +35 -0
- package/lib-es/modules/interpreter/action/delete-btn/index.css +14 -0
- package/lib-es/modules/interpreter/action/delete-btn/index.js +31 -0
- package/lib-es/modules/interpreter/action/edit-btn/index.js +39 -0
- package/lib-es/modules/interpreter/action/switch-btn/index.css +3 -0
- package/lib-es/modules/interpreter/action/switch-btn/index.js +44 -0
- package/lib-es/modules/interpreter/dialog-content/index.css +33 -0
- package/lib-es/modules/interpreter/dialog-content/index.js +30 -0
- package/lib-es/modules/interpreter/footer/index.css +11 -0
- package/lib-es/modules/interpreter/footer/index.js +18 -0
- package/lib-es/modules/interpreter/index.css +4 -0
- package/lib-es/modules/interpreter/index.js +109 -0
- package/lib-es/modules/interpreter/interpreter-list/index.css +8 -0
- package/lib-es/modules/interpreter/interpreter-list/index.js +30 -0
- package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/index.css +46 -0
- package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/index.js +173 -0
- package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ar.png +0 -0
- package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_cn.png +0 -0
- package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_de.png +0 -0
- package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_en.png +0 -0
- package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_es.png +0 -0
- package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_fr.png +0 -0
- package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_hi.png +0 -0
- package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_id.png +0 -0
- package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_it.png +0 -0
- package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_jp.png +0 -0
- package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ko.png +0 -0
- package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ms.png +0 -0
- package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_pt.png +0 -0
- package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ru.png +0 -0
- package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_th.png +0 -0
- package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_tr.png +0 -0
- package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_vi.png +0 -0
- package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/index.js +169 -0
- package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-user/index.css +46 -0
- package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-user/index.js +120 -0
- package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-user/option-Item.js +51 -0
- package/lib-es/modules/interpreter/interpreter-list/interpreter-item/index.css +32 -0
- package/lib-es/modules/interpreter/interpreter-list/interpreter-item/index.js +40 -0
- package/lib-es/modules/interpreter/loading-wrapper/index.css +53 -0
- package/lib-es/modules/interpreter/loading-wrapper/index.js +20 -0
- package/lib-es/modules/interpreter/store.js +614 -0
- package/lib-es/modules/interpreter/tooltip-wrapper/index.js +23 -0
- package/lib-es/modules/interpreter/type.js +5 -0
- package/lib-es/modules/interpreter/utils.js +54 -0
- package/lib-es/modules/interpreter/view.js +62 -0
- package/lib-es/modules/invite/components/error-tips.js +11 -0
- package/lib-es/modules/invite/components/pstn-invite.js +245 -0
- package/lib-es/modules/invite/components/voip-invite.css +26 -0
- package/lib-es/modules/invite/components/voip-invite.js +265 -0
- package/lib-es/modules/invite/enums.js +27 -0
- package/lib-es/modules/invite/index.css +331 -0
- package/lib-es/modules/invite/index.js +64 -0
- package/lib-es/modules/invite/store.js +578 -0
- package/lib-es/modules/invite/types.js +1 -0
- package/lib-es/modules/invite/view.js +46 -0
- package/lib-es/modules/layout/components/Aside.js +208 -0
- package/lib-es/modules/layout/components/Carousel.js +192 -0
- package/lib-es/modules/layout/components/CommonVideoRenderer.js +265 -0
- package/lib-es/modules/layout/components/Gallery.js +256 -0
- package/lib-es/modules/layout/components/index.css +653 -0
- package/lib-es/modules/layout/components/index.js +5 -0
- package/lib-es/modules/layout/components/utils.js +3 -0
- package/lib-es/modules/layout/components/who-is-speaking.js +49 -0
- package/lib-es/modules/layout/index.css +59 -0
- package/lib-es/modules/layout/index.dev.js +313 -0
- package/lib-es/modules/layout/index.js +74 -0
- package/lib-es/modules/layout/store.base.js +1468 -0
- package/lib-es/modules/layout/store.browser.js +49 -0
- package/lib-es/modules/layout/store.electron.js +175 -0
- package/lib-es/modules/layout/type.js +59 -0
- package/lib-es/modules/layout/view.js +149 -0
- package/lib-es/modules/live-streaming/index.css +0 -0
- package/lib-es/modules/live-streaming/index.dev.js +56 -0
- package/lib-es/modules/live-streaming/index.js +60 -0
- package/lib-es/modules/live-streaming/store.js +246 -0
- package/lib-es/modules/live-streaming/type.js +1 -0
- package/lib-es/modules/live-streaming/view.js +26 -0
- package/lib-es/modules/notification/index.css +77 -0
- package/lib-es/modules/notification/index.js +59 -0
- package/lib-es/modules/notification/interpreter-status/index.css +76 -0
- package/lib-es/modules/notification/interpreter-status/index.js +55 -0
- package/lib-es/modules/notification/store.js +122 -0
- package/lib-es/modules/notification/type.js +1 -0
- package/lib-es/modules/notification/view.js +127 -0
- package/lib-es/modules/offscreen-pulling/index.js +122 -0
- package/lib-es/modules/participant/components/can-moveable/index.js +59 -0
- package/lib-es/modules/participant/components/confirm-input/index.css +4 -0
- package/lib-es/modules/participant/components/confirm-input/index.js +112 -0
- package/lib-es/modules/participant/components/mute-all/index.js +67 -0
- package/lib-es/modules/participant/components/operate-waitingroom-member/index.js +40 -0
- package/lib-es/modules/participant/components/participants/components/footer/components/buttons.js +45 -0
- package/lib-es/modules/participant/components/participants/components/footer/components/drop-menu/index.css +83 -0
- package/lib-es/modules/participant/components/participants/components/footer/components/drop-menu/index.js +156 -0
- package/lib-es/modules/participant/components/participants/components/footer/components/drop-menu/util.js +21 -0
- package/lib-es/modules/participant/components/participants/components/footer/index.js +42 -0
- package/lib-es/modules/participant/components/participants/components/merge/index.js +40 -0
- package/lib-es/modules/participant/components/participants/components/render-tab/index.js +42 -0
- package/lib-es/modules/participant/components/participants/components/render-user/components/attendee/components/interpreter-tag/index.js +40 -0
- package/lib-es/modules/participant/components/participants/components/render-user/components/attendee/components/microphone-indicator/index.js +21 -0
- package/lib-es/modules/participant/components/participants/components/render-user/components/attendee/components/user-avatar/index.js +32 -0
- package/lib-es/modules/participant/components/participants/components/render-user/components/attendee/index.css +87 -0
- package/lib-es/modules/participant/components/participants/components/render-user/components/attendee/index.js +138 -0
- package/lib-es/modules/participant/components/participants/components/render-user/components/user-action/components/audio-button/index.js +25 -0
- package/lib-es/modules/participant/components/participants/components/render-user/components/user-action/components/move-actions-popover/index.js +70 -0
- package/lib-es/modules/participant/components/participants/components/render-user/components/user-action/components/move-to-mainroom-button/index.js +20 -0
- package/lib-es/modules/participant/components/participants/components/render-user/components/user-action/index.js +70 -0
- package/lib-es/modules/participant/components/participants/components/render-user/index.js +16 -0
- package/lib-es/modules/participant/components/participants/index.js +71 -0
- package/lib-es/modules/participant/index.css +102 -0
- package/lib-es/modules/participant/index.dev.js +87 -0
- package/lib-es/modules/participant/index.js +137 -0
- package/lib-es/modules/participant/member-list-data-source.js +297 -0
- package/lib-es/modules/participant/store.base.js +2354 -0
- package/lib-es/modules/participant/store.browser.js +117 -0
- package/lib-es/modules/participant/store.electron.js +124 -0
- package/lib-es/modules/participant/struct.js +55 -0
- package/lib-es/modules/participant/type.js +7 -0
- package/lib-es/modules/participant/view.js +18 -0
- package/lib-es/modules/pc-audio-connect/index.css +12 -0
- package/lib-es/modules/pc-audio-connect/main-scene/index.js +67 -0
- package/lib-es/modules/pc-audio-connect/main-scene/store.js +313 -0
- package/lib-es/modules/pc-audio-connect/types.js +1 -0
- package/lib-es/modules/pc-audio-connect/view.js +60 -0
- package/lib-es/modules/pc-audio-connect/waiting-scene/index.js +61 -0
- package/lib-es/modules/pc-audio-connect/waiting-scene/store.js +293 -0
- package/lib-es/modules/phone-audio-connect/components/callinfo/index.css +36 -0
- package/lib-es/modules/phone-audio-connect/components/callinfo/index.js +71 -0
- package/lib-es/modules/phone-audio-connect/components/calling/index.css +72 -0
- package/lib-es/modules/phone-audio-connect/components/calling/index.js +51 -0
- package/lib-es/modules/phone-audio-connect/components/remeber/index.css +10 -0
- package/lib-es/modules/phone-audio-connect/components/remeber/index.js +17 -0
- package/lib-es/modules/phone-audio-connect/components/useing/index.css +46 -0
- package/lib-es/modules/phone-audio-connect/components/useing/index.js +29 -0
- package/lib-es/modules/phone-audio-connect/enums.js +5 -0
- package/lib-es/modules/phone-audio-connect/index.css +56 -0
- package/lib-es/modules/phone-audio-connect/index.js +52 -0
- package/lib-es/modules/phone-audio-connect/store.js +317 -0
- package/lib-es/modules/phone-audio-connect/types.js +1 -0
- package/lib-es/modules/phone-audio-connect/view.js +177 -0
- package/lib-es/modules/secondary-window/index.js +147 -0
- package/lib-es/modules/secondary-window/store.js +502 -0
- package/lib-es/modules/secondary-window/type.js +28 -0
- package/lib-es/modules/secondary-window/view.js +281 -0
- package/lib-es/modules/setting/audio-settings/audio-settings.js +292 -0
- package/lib-es/modules/setting/audio-settings/index.css +195 -0
- package/lib-es/modules/setting/audio-whiteList/audio-device-adaptation.js +62 -0
- package/lib-es/modules/setting/audio-whiteList/audio-whiteList-manager.js +368 -0
- package/lib-es/modules/setting/caption_and_transcribing/index.css +88 -0
- package/lib-es/modules/setting/caption_and_transcribing/index.js +89 -0
- package/lib-es/modules/setting/general-settings/general-settings.js +148 -0
- package/lib-es/modules/setting/general-settings/index.css +41 -0
- package/lib-es/modules/setting/index.css +112 -0
- package/lib-es/modules/setting/index.dev.js +120 -0
- package/lib-es/modules/setting/index.js +145 -0
- package/lib-es/modules/setting/minutes-settings/index.css +65 -0
- package/lib-es/modules/setting/minutes-settings/minutes-settings.js +146 -0
- package/lib-es/modules/setting/state/index.css +207 -0
- package/lib-es/modules/setting/state/index.js +322 -0
- package/lib-es/modules/setting/storage-settings/index.css +91 -0
- package/lib-es/modules/setting/storage-settings/storage-settings.js +65 -0
- package/lib-es/modules/setting/store.base.js +1440 -0
- package/lib-es/modules/setting/store.browser.js +43 -0
- package/lib-es/modules/setting/store.electron.js +168 -0
- package/lib-es/modules/setting/translate-settings/index.css +47 -0
- package/lib-es/modules/setting/translate-settings/language-select.js +40 -0
- package/lib-es/modules/setting/translate-settings/translate-settings.js +131 -0
- package/lib-es/modules/setting/type.js +14 -0
- package/lib-es/modules/setting/video-settings/index.css +357 -0
- package/lib-es/modules/setting/video-settings/video-settings-basic.js +131 -0
- package/lib-es/modules/setting/video-settings/video-settings.js +167 -0
- package/lib-es/modules/setting/view.js +147 -0
- package/lib-es/modules/share-screen/components/control-bar/index.css +75 -0
- package/lib-es/modules/share-screen/components/control-bar/index.js +92 -0
- package/lib-es/modules/share-screen/components/control-bar/items/annotation-edit-btn/index.js +38 -0
- package/lib-es/modules/share-screen/components/control-bar/items/full-container-btn/index.js +25 -0
- package/lib-es/modules/share-screen/components/control-bar/items/original-size-btn/index.js +25 -0
- package/lib-es/modules/share-screen/components/control-bar/items/zoom-in-btn/index.js +25 -0
- package/lib-es/modules/share-screen/components/control-bar/items/zoom-out-btn/index.js +25 -0
- package/lib-es/modules/share-screen/components/selection/index.css +73 -0
- package/lib-es/modules/share-screen/components/selection/index.js +220 -0
- package/lib-es/modules/share-screen/components/share-scenario/index.js +40 -0
- package/lib-es/modules/share-screen/components/share-state-bar/index.css +76 -0
- package/lib-es/modules/share-screen/components/share-state-bar/index.js +90 -0
- package/lib-es/modules/share-screen/index.css +0 -0
- package/lib-es/modules/share-screen/index.dev.js +90 -0
- package/lib-es/modules/share-screen/index.js +99 -0
- package/lib-es/modules/share-screen/store.base.js +464 -0
- package/lib-es/modules/share-screen/store.browser.js +36 -0
- package/lib-es/modules/share-screen/store.electron.js +429 -0
- package/lib-es/modules/share-screen/type.js +8 -0
- package/lib-es/modules/share-screen/view.js +24 -0
- package/lib-es/modules/state-bar/assets/fcr_grid_big.svg +3 -0
- package/lib-es/modules/state-bar/assets/fcr_listontop_big.svg +3 -0
- package/lib-es/modules/state-bar/assets/live-streaming.gif +0 -0
- package/lib-es/modules/state-bar/index.css +706 -0
- package/lib-es/modules/state-bar/index.dev.js +78 -0
- package/lib-es/modules/state-bar/index.js +41 -0
- package/lib-es/modules/state-bar/layout-config.js +168 -0
- package/lib-es/modules/state-bar/live-streaming-state.js +169 -0
- package/lib-es/modules/state-bar/main-scene/index.js +39 -0
- package/lib-es/modules/state-bar/main-scene/store.base.js +137 -0
- package/lib-es/modules/state-bar/main-scene/store.browser.js +80 -0
- package/lib-es/modules/state-bar/main-scene/store.electron.js +107 -0
- package/lib-es/modules/state-bar/meeting-detail.css +137 -0
- package/lib-es/modules/state-bar/meeting-details.js +219 -0
- package/lib-es/modules/state-bar/meeting-network-state.css +150 -0
- package/lib-es/modules/state-bar/meeting-network-state.js +107 -0
- package/lib-es/modules/state-bar/meeting-time.js +25 -0
- package/lib-es/modules/state-bar/network-quality.js +26 -0
- package/lib-es/modules/state-bar/recording.js +103 -0
- package/lib-es/modules/state-bar/store.base.electron.js +108 -0
- package/lib-es/modules/state-bar/store.base.js +616 -0
- package/lib-es/modules/state-bar/subtitles-history-state.js +101 -0
- package/lib-es/modules/state-bar/type.js +1 -0
- package/lib-es/modules/state-bar/view.js +241 -0
- package/lib-es/modules/state-bar/waiting-scene/index.js +39 -0
- package/lib-es/modules/state-bar/waiting-scene/store.base.js +48 -0
- package/lib-es/modules/state-bar/waiting-scene/store.browser.js +80 -0
- package/lib-es/modules/state-bar/waiting-scene/store.electron.js +99 -0
- package/lib-es/modules/subtitles-history/components/actions.js +29 -0
- package/lib-es/modules/subtitles-history/components/list-item.js +95 -0
- package/lib-es/modules/subtitles-history/components/list.js +175 -0
- package/lib-es/modules/subtitles-history/components/respond-dialog-content.js +36 -0
- package/lib-es/modules/subtitles-history/components/settings/index.css +5 -0
- package/lib-es/modules/subtitles-history/components/settings/index.js +46 -0
- package/lib-es/modules/subtitles-history/components/timer.js +36 -0
- package/lib-es/modules/subtitles-history/components/title.js +8 -0
- package/lib-es/modules/subtitles-history/empty.js +14 -0
- package/lib-es/modules/subtitles-history/index.css +129 -0
- package/lib-es/modules/subtitles-history/index.js +89 -0
- package/lib-es/modules/subtitles-history/store.base.js +790 -0
- package/lib-es/modules/subtitles-history/store.electron.js +148 -0
- package/lib-es/modules/subtitles-history/type.js +1 -0
- package/lib-es/modules/subtitles-history/view.js +96 -0
- package/lib-es/modules/video-window/components/deviceState/index.js +68 -0
- package/lib-es/modules/video-window/components/members/index.css +51 -0
- package/lib-es/modules/video-window/components/members/index.js +116 -0
- package/lib-es/modules/video-window/components/speaking/index.css +86 -0
- package/lib-es/modules/video-window/components/speaking/index.js +40 -0
- package/lib-es/modules/video-window/components/topControl/index.css +35 -0
- package/lib-es/modules/video-window/components/topControl/index.js +68 -0
- package/lib-es/modules/video-window/index.css +21 -0
- package/lib-es/modules/video-window/index.js +82 -0
- package/lib-es/modules/video-window/popover-watcher.js +69 -0
- package/lib-es/modules/video-window/store.js +512 -0
- package/lib-es/modules/video-window/type.js +19 -0
- package/lib-es/modules/video-window/view.js +107 -0
- package/lib-es/modules/waiting-room-layout/index.css +96 -0
- package/lib-es/modules/waiting-room-layout/index.js +67 -0
- package/lib-es/modules/waiting-room-layout/store.js +231 -0
- package/lib-es/modules/waiting-room-layout/view.js +87 -0
- package/lib-es/modules/whiteboard/components/control-bar/index.css +52 -0
- package/lib-es/modules/whiteboard/components/control-bar/index.js +151 -0
- package/lib-es/modules/whiteboard/components/control-bar/store.js +298 -0
- package/lib-es/modules/whiteboard/components/loading/index.css +76 -0
- package/lib-es/modules/whiteboard/components/loading/index.js +57 -0
- package/lib-es/modules/whiteboard/components/loading/loading.png +0 -0
- package/lib-es/modules/whiteboard/components/multi-window/index.css +63 -0
- package/lib-es/modules/whiteboard/components/multi-window/index.js +31 -0
- package/lib-es/modules/whiteboard/components/pagination/index.css +228 -0
- package/lib-es/modules/whiteboard/components/pagination/index.js +155 -0
- package/lib-es/modules/whiteboard/components/pagination/store.js +10 -0
- package/lib-es/modules/whiteboard/components/progress/index.js +36 -0
- package/lib-es/modules/whiteboard/components/progress/style.css +51 -0
- package/lib-es/modules/whiteboard/components/scene-pagination.js +23 -0
- package/lib-es/modules/whiteboard/components/switch-theme/index.css +99 -0
- package/lib-es/modules/whiteboard/components/switch-theme/index.js +89 -0
- package/lib-es/modules/whiteboard/components/switch-theme/item.js +46 -0
- package/lib-es/modules/whiteboard/components/switch-theme/libs.js +24 -0
- package/lib-es/modules/whiteboard/components/toolbar/components/color-picker/components/color.js +30 -0
- package/lib-es/modules/whiteboard/components/toolbar/components/color-picker/components/panel.js +101 -0
- package/lib-es/modules/whiteboard/components/toolbar/components/color-picker/components/picker.js +67 -0
- package/lib-es/modules/whiteboard/components/toolbar/components/color-picker/index.js +40 -0
- package/lib-es/modules/whiteboard/components/toolbar/components/eraser-picker.js +136 -0
- package/lib-es/modules/whiteboard/components/toolbar/components/expansion/index.js +85 -0
- package/lib-es/modules/whiteboard/components/toolbar/components/extra-tool-picker.js +46 -0
- package/lib-es/modules/whiteboard/components/toolbar/components/history.js +70 -0
- package/lib-es/modules/whiteboard/components/toolbar/components/icons/fold-icon.js +33 -0
- package/lib-es/modules/whiteboard/components/toolbar/components/icons/move-icon.js +59 -0
- package/lib-es/modules/whiteboard/components/toolbar/components/item/index.js +35 -0
- package/lib-es/modules/whiteboard/components/toolbar/components/move-handle.js +127 -0
- package/lib-es/modules/whiteboard/components/toolbar/components/pen-picker.js +147 -0
- package/lib-es/modules/whiteboard/components/toolbar/components/screen-capture-picker.js +78 -0
- package/lib-es/modules/whiteboard/components/toolbar/components/shape-picker.js +202 -0
- package/lib-es/modules/whiteboard/components/toolbar/hooks/index.js +285 -0
- package/lib-es/modules/whiteboard/components/toolbar/index.js +72 -0
- package/lib-es/modules/whiteboard/components/toolbar/store.js +484 -0
- package/lib-es/modules/whiteboard/components/toolbar/style.css +591 -0
- package/lib-es/modules/whiteboard/context.js +28 -0
- package/lib-es/modules/whiteboard/index.js +67 -0
- package/lib-es/modules/whiteboard/libs/theme.js +24 -0
- package/lib-es/modules/whiteboard/store.browser.js +20 -0
- package/lib-es/modules/whiteboard/store.electron.js +163 -0
- package/lib-es/modules/whiteboard/store.js +457 -0
- package/lib-es/modules/whiteboard/style.css +140 -0
- package/lib-es/modules/whiteboard/type.js +52 -0
- package/lib-es/modules/whiteboard/utils.js +29 -0
- package/lib-es/modules/whiteboard/view.js +105 -0
- package/lib-es/modules/widget/index.css +9 -0
- package/lib-es/modules/widget/index.js +129 -0
- package/lib-es/modules/widget/store.base.js +35 -0
- package/lib-es/modules/widget/store.browser.js +74 -0
- package/lib-es/modules/widget/store.electron.js +127 -0
- package/lib-es/modules/widget/type.js +1 -0
- package/lib-es/modules/widget/view.js +49 -0
- package/lib-es/modules/widget/web-widget.js +263 -0
- package/lib-es/object-manager.js +194 -0
- package/lib-es/plugins/browser-runtime-plugin.js +0 -0
- package/lib-es/plugins/css-preset-plugin.js +18 -0
- package/lib-es/plugins/electron-rtc-plugin.js +3 -0
- package/lib-es/plugins/module-dev-plugin.js +162 -0
- package/lib-es/plugins/multi-lang-plugin.js +18 -0
- package/lib-es/plugins/rtm-plugin.js +3 -0
- package/lib-es/plugins/web-rtc-plugin.js +3 -0
- package/lib-es/providers/ability-provider.js +76 -0
- package/lib-es/providers/annotation/provider.js +61 -0
- package/lib-es/providers/annotation/type.js +1 -0
- package/lib-es/providers/app-list-provider.js +392 -0
- package/lib-es/providers/board-share/bar-control/base.js +318 -0
- package/lib-es/providers/board-share/bar-control/browser.js +34 -0
- package/lib-es/providers/board-share/bar-control/electron.js +211 -0
- package/lib-es/providers/board-share/provider.base.js +406 -0
- package/lib-es/providers/board-share/provider.browser.js +147 -0
- package/lib-es/providers/board-share/provider.electron.js +162 -0
- package/lib-es/providers/board-share/struct.js +16 -0
- package/lib-es/providers/board-share/type.js +1 -0
- package/lib-es/providers/chat-provider.js +166 -0
- package/lib-es/providers/device-privilege-provider.js +402 -0
- package/lib-es/providers/device-provider.js +2148 -0
- package/lib-es/providers/device-stream-provider.js +418 -0
- package/lib-es/providers/dialog/provider.base.js +282 -0
- package/lib-es/providers/dialog/provider.browser.js +160 -0
- package/lib-es/providers/dialog/provider.electron.js +273 -0
- package/lib-es/providers/dialog/type.js +8 -0
- package/lib-es/providers/event-provider.js +50 -0
- package/lib-es/providers/facility/provider.base.js +152 -0
- package/lib-es/providers/facility/provider.browser.js +67 -0
- package/lib-es/providers/facility/provider.electron.js +83 -0
- package/lib-es/providers/facility/struct.js +6 -0
- package/lib-es/providers/facility/type.js +1 -0
- package/lib-es/providers/interpreter-provider.js +955 -0
- package/lib-es/providers/local-storage-provider.js +37 -0
- package/lib-es/providers/message/provider.js +97 -0
- package/lib-es/providers/message/struct.js +5 -0
- package/lib-es/providers/message/type.js +1 -0
- package/lib-es/providers/monitor-provider.js +22 -0
- package/lib-es/providers/mouse-detect/provider.js +312 -0
- package/lib-es/providers/mouse-detect/struct.js +5 -0
- package/lib-es/providers/mouse-detect/type.js +1 -0
- package/lib-es/providers/multi-display-provider.js +603 -0
- package/lib-es/providers/phone-audio-provider.js +512 -0
- package/lib-es/providers/privilege-provider.js +1158 -0
- package/lib-es/providers/renderer-provider.js +310 -0
- package/lib-es/providers/room-provider/room-provider.js +730 -0
- package/lib-es/providers/room-provider/waiting-room-control-manager.js +224 -0
- package/lib-es/providers/screen-share/constant.js +1 -0
- package/lib-es/providers/screen-share/provider.base.js +511 -0
- package/lib-es/providers/screen-share/provider.browser.js +290 -0
- package/lib-es/providers/screen-share/provider.electron.js +486 -0
- package/lib-es/providers/screen-share/strategy/browser.js +306 -0
- package/lib-es/providers/screen-share/strategy/electron.js +364 -0
- package/lib-es/providers/screen-share/strategy/type.js +31 -0
- package/lib-es/providers/screen-share/stream-state-sync.js +312 -0
- package/lib-es/providers/screen-share/struct.js +60 -0
- package/lib-es/providers/screen-share/type.js +1 -0
- package/lib-es/providers/session-provider.js +42 -0
- package/lib-es/providers/setting-storage/provider.base.js +6 -0
- package/lib-es/providers/setting-storage/provider.browser.js +57 -0
- package/lib-es/providers/setting-storage/provider.electron.js +55 -0
- package/lib-es/providers/setting-storage/type.js +1 -0
- package/lib-es/providers/stt-provider/stt-provider.js +1000 -0
- package/lib-es/providers/stt-provider/type.js +14 -0
- package/lib-es/providers/widget-provider.js +236 -0
- package/lib-es/providers/window/main-window.js +259 -0
- package/lib-es/providers/window/provider.js +158 -0
- package/lib-es/providers/window/renderer-window.js +576 -0
- package/lib-es/providers/window/type.js +1 -0
- package/lib-es/runtime.js +1 -0
- package/lib-es/scenes/main-scene.js +696 -0
- package/lib-es/scenes/type.js +1 -0
- package/lib-es/scenes/waiting-scene.js +155 -0
- package/lib-es/schema.js +88 -0
- package/lib-es/shared-context/board-context.js +7 -0
- package/lib-es/shared-context/dialog-context.js +3 -0
- package/lib-es/shared-context/video-track-render-context.js +2 -0
- package/lib-es/shared-data/app-list-data.js +122 -0
- package/lib-es/shared-data/chat-data.js +135 -0
- package/lib-es/shared-data/config.js +38 -0
- package/lib-es/shared-data/confirm-data.js +195 -0
- package/lib-es/shared-data/device-privilege-data.js +18 -0
- package/lib-es/shared-data/interpreter.js +235 -0
- package/lib-es/shared-data/layout-data.js +211 -0
- package/lib-es/shared-data/meeting-time.js +409 -0
- package/lib-es/shared-data/member-data.js +482 -0
- package/lib-es/shared-data/pin-data.js +107 -0
- package/lib-es/shared-data/screen-share/index.js +188 -0
- package/lib-es/shared-data/screen-share/type.js +1 -0
- package/lib-es/shared-data/security-data.js +153 -0
- package/lib-es/shared-data/setting.js +244 -0
- package/lib-es/shared-data/speaker-spotlight.js +11 -0
- package/lib-es/shared-data/stt-setting.ts/constant.js +27 -0
- package/lib-es/shared-data/stt-setting.ts/index.js +195 -0
- package/lib-es/shared-data/stt-setting.ts/type.js +7 -0
- package/lib-es/shared-data/video-window.js +1248 -0
- package/lib-es/shared-data/waiting-room.js +216 -0
- package/lib-es/shared-data/widget-data.js +42 -0
- package/lib-es/translations/enUS.js +2075 -0
- package/lib-es/translations/zhCN.js +2073 -0
- package/lib-es/type.js +149 -0
- package/lib-es/ui-manager.js +213 -0
- package/lib-es/ui-scene-switch.js +572 -0
- package/lib-es/utilities/browser-api.js +74 -0
- package/lib-es/utilities/constant.js +190 -0
- package/lib-es/utilities/debug.js +33 -0
- package/lib-es/utilities/default-config.js +89 -0
- package/lib-es/utilities/dialog-utils.js +210 -0
- package/lib-es/utilities/focus-helper.js +26 -0
- package/lib-es/utilities/hooks.js +82 -0
- package/lib-es/utilities/i18n-common-data.js +7 -0
- package/lib-es/utilities/logger.js +48 -0
- package/lib-es/utilities/meeting-detail.js +74 -0
- package/lib-es/utilities/mute-action.js +41 -0
- package/lib-es/utilities/package-info.js +7 -0
- package/lib-es/utilities/parameters.js +47 -0
- package/lib-es/utilities/platform.js +7 -0
- package/lib-es/utilities/privilege.js +21 -0
- package/lib-es/utilities/regex.js +7 -0
- package/lib-es/utilities/renderer.js +430 -0
- package/lib-es/utilities/shared-storage.js +56 -0
- package/lib-es/utilities/tools.js +252 -0
- package/lib-es/utilities/ui-resources.js +84 -0
- package/lib-es/utilities/useNamespace.js +59 -0
- package/lib-es/utilities/validate-params.js +9 -0
- package/package.json +85 -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 +107 -183
- package/public/index.vite.html +109 -0
- package/public/js/init.js +75 -0
- package/public/{meeting-manager.js → js/meeting-manager.js} +405 -405
|
@@ -0,0 +1,578 @@
|
|
|
1
|
+
import "core-js/modules/es.symbol.js";
|
|
2
|
+
import "core-js/modules/es.symbol.description.js";
|
|
3
|
+
import "core-js/modules/es.symbol.to-primitive.js";
|
|
4
|
+
import "core-js/modules/es.error.cause.js";
|
|
5
|
+
import "core-js/modules/es.error.to-string.js";
|
|
6
|
+
import "core-js/modules/es.array.is-array.js";
|
|
7
|
+
import "core-js/modules/es.array.push.js";
|
|
8
|
+
import "core-js/modules/es.date.to-primitive.js";
|
|
9
|
+
import "core-js/modules/es.function.bind.js";
|
|
10
|
+
import "core-js/modules/es.function.name.js";
|
|
11
|
+
import "core-js/modules/es.map.js";
|
|
12
|
+
import "core-js/modules/es.number.constructor.js";
|
|
13
|
+
import "core-js/modules/es.object.create.js";
|
|
14
|
+
import "core-js/modules/es.object.define-property.js";
|
|
15
|
+
import "core-js/modules/es.object.get-own-property-descriptor.js";
|
|
16
|
+
import "core-js/modules/esnext.function.metadata.js";
|
|
17
|
+
import "core-js/modules/esnext.map.delete-all.js";
|
|
18
|
+
import "core-js/modules/esnext.map.emplace.js";
|
|
19
|
+
import "core-js/modules/esnext.map.every.js";
|
|
20
|
+
import "core-js/modules/esnext.map.filter.js";
|
|
21
|
+
import "core-js/modules/esnext.map.find.js";
|
|
22
|
+
import "core-js/modules/esnext.map.find-key.js";
|
|
23
|
+
import "core-js/modules/esnext.map.includes.js";
|
|
24
|
+
import "core-js/modules/esnext.map.key-of.js";
|
|
25
|
+
import "core-js/modules/esnext.map.map-keys.js";
|
|
26
|
+
import "core-js/modules/esnext.map.map-values.js";
|
|
27
|
+
import "core-js/modules/esnext.map.merge.js";
|
|
28
|
+
import "core-js/modules/esnext.map.reduce.js";
|
|
29
|
+
import "core-js/modules/esnext.map.some.js";
|
|
30
|
+
import "core-js/modules/esnext.map.update.js";
|
|
31
|
+
import "core-js/modules/esnext.symbol.metadata.js";
|
|
32
|
+
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
33
|
+
import _typeof from "@babel/runtime/helpers/typeof";
|
|
34
|
+
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
35
|
+
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
36
|
+
import _createClass from "@babel/runtime/helpers/createClass";
|
|
37
|
+
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
38
|
+
var _InviteStore;
|
|
39
|
+
var _initProto, _init_InviteStatus, _init_isPstnCalling, _init_isVoipCalling, _init_ipInfo, _init_phoneInfo, _init_calledPstnInfo, _init_calledVoipInfo, _stopSessionDecs, _startSessionByPhoneDecs, _startSessionByVoipDecs, _showToastDecs, _getRoomConnectorIpInfoDecs, _getRoomConnectorPhoneInfoDecs, _handleErrorDecs, _updateInviteStatusDecs, _resetpstnStatusDecs, _resetVoipStatusDecs, _handlePhoneConnectorSessionStateUpdatedDecs, _handleIPConnectorSessionStateUpdatedDecs, _ref;
|
|
40
|
+
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
41
|
+
import "core-js/modules/es.array.find.js";
|
|
42
|
+
import "core-js/modules/es.array.iterator.js";
|
|
43
|
+
import "core-js/modules/es.array.map.js";
|
|
44
|
+
import "core-js/modules/es.object.to-string.js";
|
|
45
|
+
import "core-js/modules/es.string.iterator.js";
|
|
46
|
+
import "core-js/modules/es.weak-map.js";
|
|
47
|
+
import "core-js/modules/esnext.iterator.constructor.js";
|
|
48
|
+
import "core-js/modules/esnext.iterator.find.js";
|
|
49
|
+
import "core-js/modules/esnext.iterator.map.js";
|
|
50
|
+
import "core-js/modules/esnext.weak-map.delete-all.js";
|
|
51
|
+
import "core-js/modules/esnext.weak-map.emplace.js";
|
|
52
|
+
import "core-js/modules/web.dom-collections.iterator.js";
|
|
53
|
+
import "core-js/modules/web.timers.js";
|
|
54
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
|
55
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
|
56
|
+
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
|
57
|
+
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
|
58
|
+
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
|
59
|
+
function _applyDecs(e, t, r, n, o, a) { function i(e, t, r) { return function (n, o) { return r && r(n), e[t].call(n, o); }; } function c(e, t) { for (var r = 0; r < e.length; r++) e[r].call(t); return t; } function s(e, t, r, n) { if ("function" != typeof e && (n || void 0 !== e)) throw new TypeError(t + " must " + (r || "be") + " a function" + (n ? "" : " or undefined")); return e; } function applyDec(e, t, r, n, o, a, c, u, l, f, p, d, h) { function m(e) { if (!h(e)) throw new TypeError("Attempted to access private element on non-instance"); } var y, v = t[0], g = t[3], b = !u; if (!b) { r || Array.isArray(v) || (v = [v]); var w = {}, S = [], A = 3 === o ? "get" : 4 === o || d ? "set" : "value"; f ? (p || d ? w = { get: _setFunctionName(function () { return g(this); }, n, "get"), set: function set(e) { t[4](this, e); } } : w[A] = g, p || _setFunctionName(w[A], n, 2 === o ? "" : A)) : p || (w = Object.getOwnPropertyDescriptor(e, n)); } for (var P = e, j = v.length - 1; j >= 0; j -= r ? 2 : 1) { var D = v[j], E = r ? v[j - 1] : void 0, I = {}, O = { kind: ["field", "accessor", "method", "getter", "setter", "class"][o], name: n, metadata: a, addInitializer: function (e, t) { if (e.v) throw Error("attempted to call addInitializer after decoration was finished"); s(t, "An initializer", "be", !0), c.push(t); }.bind(null, I) }; try { if (b) (y = s(D.call(E, P, O), "class decorators", "return")) && (P = y);else { var k, F; O["static"] = l, O["private"] = f, f ? 2 === o ? k = function k(e) { return m(e), w.value; } : (o < 4 && (k = i(w, "get", m)), 3 !== o && (F = i(w, "set", m))) : (k = function k(e) { return e[n]; }, (o < 2 || 4 === o) && (F = function F(e, t) { e[n] = t; })); var N = O.access = { has: f ? h.bind() : function (e) { return n in e; } }; if (k && (N.get = k), F && (N.set = F), P = D.call(E, d ? { get: w.get, set: w.set } : w[A], O), d) { if ("object" == _typeof(P) && P) (y = s(P.get, "accessor.get")) && (w.get = y), (y = s(P.set, "accessor.set")) && (w.set = y), (y = s(P.init, "accessor.init")) && S.push(y);else if (void 0 !== P) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0"); } else s(P, (p ? "field" : "method") + " decorators", "return") && (p ? S.push(P) : w[A] = P); } } finally { I.v = !0; } } return (p || d) && u.push(function (e, t) { for (var r = S.length - 1; r >= 0; r--) t = S[r].call(e, t); return t; }), p || b || (f ? d ? u.push(i(w, "get"), i(w, "set")) : u.push(2 === o ? w[A] : i.call.bind(w[A])) : Object.defineProperty(e, n, w)), P; } function u(e, t) { return Object.defineProperty(e, Symbol.metadata || Symbol["for"]("Symbol.metadata"), { configurable: !0, enumerable: !0, value: t }); } if (arguments.length >= 6) var l = a[Symbol.metadata || Symbol["for"]("Symbol.metadata")]; var f = Object.create(null == l ? null : l), p = function (e, t, r, n) { var o, a, i = [], s = function s(t) { return _checkInRHS(t) === e; }, u = new Map(); function l(e) { e && i.push(c.bind(null, e)); } for (var f = 0; f < t.length; f++) { var p = t[f]; if (Array.isArray(p)) { var d = p[1], h = p[2], m = p.length > 3, y = 16 & d, v = !!(8 & d), g = 0 == (d &= 7), b = h + "/" + v; if (!g && !m) { var w = u.get(b); if (!0 === w || 3 === w && 4 !== d || 4 === w && 3 !== d) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + h); u.set(b, !(d > 2) || d); } applyDec(v ? e : e.prototype, p, y, m ? "#" + h : _toPropertyKey(h), d, n, v ? a = a || [] : o = o || [], i, v, m, g, 1 === d, v && m ? s : r); } } return l(o), l(a), i; }(e, t, o, f); return r.length || u(e, f), { e: p, get c() { var t = []; return r.length && [u(applyDec(e, [r], n, e.name, 5, f, t), f), c.bind(null, t, e)]; } }; }
|
|
60
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
61
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
62
|
+
function _setFunctionName(e, t, n) { "symbol" == _typeof(t) && (t = (t = t.description) ? "[" + t + "]" : ""); try { Object.defineProperty(e, "name", { configurable: !0, value: n ? n + " " + t : t }); } catch (e) {} return e; }
|
|
63
|
+
function _checkInRHS(e) { if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (null !== e ? _typeof(e) : "null")); return e; }
|
|
64
|
+
import { action, computed, observable } from 'mobx';
|
|
65
|
+
import { FcrIPConnectorSessionType, FcrRoomConnectorPhoneRegion, FcrRoomConnectorSessionReason, FcrRoomConnectorSessionState } from 'fcr-core/lib/room-control/room-connector-control/type';
|
|
66
|
+
import { createContext } from 'react';
|
|
67
|
+
import { CONTACTS_WIDGET_ID } from '../../type';
|
|
68
|
+
import { InviteStatus } from './enums';
|
|
69
|
+
import { FcrUIObjectKeys } from '../../object-manager';
|
|
70
|
+
import { createLogger } from '../../utilities/logger';
|
|
71
|
+
import { getInvitationInfoByRoomInfo } from '../../utilities/meeting-detail';
|
|
72
|
+
import { FcrUIDialogKey } from '../../utilities/constant';
|
|
73
|
+
var _A = /*#__PURE__*/new WeakMap();
|
|
74
|
+
var _B = /*#__PURE__*/new WeakMap();
|
|
75
|
+
var _C = /*#__PURE__*/new WeakMap();
|
|
76
|
+
var _D = /*#__PURE__*/new WeakMap();
|
|
77
|
+
var _E = /*#__PURE__*/new WeakMap();
|
|
78
|
+
var _F = /*#__PURE__*/new WeakMap();
|
|
79
|
+
var _G = /*#__PURE__*/new WeakMap();
|
|
80
|
+
var _H = /*#__PURE__*/new WeakMap();
|
|
81
|
+
var _I = /*#__PURE__*/new WeakMap();
|
|
82
|
+
var _J = /*#__PURE__*/new WeakMap();
|
|
83
|
+
var _K = /*#__PURE__*/new WeakMap();
|
|
84
|
+
_ref = (_stopSessionDecs = [action, action.bound], _startSessionByPhoneDecs = [action, action.bound], _startSessionByVoipDecs = [action, action.bound], _showToastDecs = [action, action.bound], _getRoomConnectorIpInfoDecs = [action, action.bound], _getRoomConnectorPhoneInfoDecs = [action, action.bound], _handleErrorDecs = [action, action.bound], _updateInviteStatusDecs = [action, action.bound], _resetpstnStatusDecs = [action, action.bound], _resetVoipStatusDecs = [action, action.bound], _handlePhoneConnectorSessionStateUpdatedDecs = [action, action.bound], _handleIPConnectorSessionStateUpdatedDecs = [action, action.bound], "logger");
|
|
85
|
+
var InviteStore = /*#__PURE__*/function () {
|
|
86
|
+
function InviteStore(_ref2) {
|
|
87
|
+
var _this = this,
|
|
88
|
+
_ref3;
|
|
89
|
+
var objectManager = _ref2.objectManager;
|
|
90
|
+
_classCallCheck(this, InviteStore);
|
|
91
|
+
_defineProperty(this, _ref, (_initProto(this), createLogger({
|
|
92
|
+
prefix: 'InviteStore'
|
|
93
|
+
})));
|
|
94
|
+
_defineProperty(this, "_pstnSessionId", '');
|
|
95
|
+
_defineProperty(this, "_voipSessionId", '');
|
|
96
|
+
_defineProperty(this, "_roomConnectorObserver", {
|
|
97
|
+
onPhoneConnectorSessionStateUpdated: this._handlePhoneConnectorSessionStateUpdated,
|
|
98
|
+
onIPConnectorSessionStateUpdated: this._handleIPConnectorSessionStateUpdated
|
|
99
|
+
});
|
|
100
|
+
_defineProperty(this, "_dialogProviderObserver", {
|
|
101
|
+
onDialogClose: function onDialogClose(dialogKey) {
|
|
102
|
+
if (dialogKey === FcrUIDialogKey.INVITE) {
|
|
103
|
+
var widgetConfigByContacts = _this.widgetConfigByContacts;
|
|
104
|
+
if (widgetConfigByContacts) {
|
|
105
|
+
_this._widgetProvider.closeWidget(widgetConfigByContacts.id);
|
|
106
|
+
} else {
|
|
107
|
+
_this.logger.info('widgetConfigByContacts closed');
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
onDialogOpen: function onDialogOpen(dialogKey) {
|
|
112
|
+
if (dialogKey === FcrUIDialogKey.INVITE) {
|
|
113
|
+
var widgetConfigByContacts = _this.widgetConfigByContacts;
|
|
114
|
+
if (widgetConfigByContacts) {
|
|
115
|
+
_this._widgetProvider.openWidget(widgetConfigByContacts.id);
|
|
116
|
+
} else {
|
|
117
|
+
_this.logger.info('widgetConfigByContacts not found');
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
_classPrivateFieldInitSpec(this, _A, void 0);
|
|
123
|
+
_classPrivateFieldInitSpec(this, _B, void 0);
|
|
124
|
+
_classPrivateFieldInitSpec(this, _C, '');
|
|
125
|
+
_classPrivateFieldInitSpec(this, _D, '');
|
|
126
|
+
_classPrivateFieldInitSpec(this, _E, _init_InviteStatus(this, 1));
|
|
127
|
+
_classPrivateFieldInitSpec(this, _F, _init_isPstnCalling(this, false));
|
|
128
|
+
_classPrivateFieldInitSpec(this, _G, _init_isVoipCalling(this, false));
|
|
129
|
+
_classPrivateFieldInitSpec(this, _H, _init_ipInfo(this, null));
|
|
130
|
+
_classPrivateFieldInitSpec(this, _I, _init_phoneInfo(this, null));
|
|
131
|
+
_classPrivateFieldInitSpec(this, _J, _init_calledPstnInfo(this, {
|
|
132
|
+
phoneNumber: '',
|
|
133
|
+
userName: '',
|
|
134
|
+
zone: ''
|
|
135
|
+
}));
|
|
136
|
+
_classPrivateFieldInitSpec(this, _K, _init_calledVoipInfo(this, {
|
|
137
|
+
address: '',
|
|
138
|
+
addressType: FcrIPConnectorSessionType.H323,
|
|
139
|
+
state: InviteStatus.DEFAULT
|
|
140
|
+
}));
|
|
141
|
+
// Get all required objects from objectManager
|
|
142
|
+
|
|
143
|
+
this._mainRoomControl = objectManager.getObject(FcrUIObjectKeys.P_MAIN_ROOM_CONTROL_PROVIDER).mainRoomControl;
|
|
144
|
+
this._messageProvider = objectManager.getObject(FcrUIObjectKeys.P_MESSAGE_PROVIDER);
|
|
145
|
+
this._roomConnectorControl = this._mainRoomControl.getRoomConnectorControl();
|
|
146
|
+
this._sharedMemberDataSource = objectManager.getObject(FcrUIObjectKeys.S_SHARED_MEMBER_DATA_SOURCE);
|
|
147
|
+
this._sharedMeetingTimeDataSource = objectManager.getObject(FcrUIObjectKeys.S_SHARED_MEETING_TIME_DATA_SOURCE);
|
|
148
|
+
this._widgetProvider = objectManager.getObject(FcrUIObjectKeys.P_WIDGET_PROVIDER);
|
|
149
|
+
this._dialogProvider = objectManager.getObject(FcrUIObjectKeys.P_DIALOG_PROVIDER);
|
|
150
|
+
this._roomConnectorControl.addObserver(this._roomConnectorObserver);
|
|
151
|
+
this._getRoomConnectorPhoneInfo();
|
|
152
|
+
this._getRoomConnectorIpInfo();
|
|
153
|
+
this.roomInfo = this._mainRoomControl.getRoomInfo();
|
|
154
|
+
this.roomSchedule = this._mainRoomControl.getRoomSchedule();
|
|
155
|
+
this.meetingId = (_ref3 = this._mainRoomControl.getRoomPropertiesByKeyPath('meetingId')) !== null && _ref3 !== void 0 ? _ref3 : this.roomId;
|
|
156
|
+
this.localUserName = this._mainRoomControl.getUserControl().getLocalUser().userName;
|
|
157
|
+
this._dialogProvider.addObserver(this._dialogProviderObserver);
|
|
158
|
+
}
|
|
159
|
+
return _createClass(InviteStore, [{
|
|
160
|
+
key: "roomInfo",
|
|
161
|
+
get: function get() {
|
|
162
|
+
return _classPrivateFieldGet(_A, this);
|
|
163
|
+
},
|
|
164
|
+
set: function set(v) {
|
|
165
|
+
_classPrivateFieldSet(_A, this, v);
|
|
166
|
+
}
|
|
167
|
+
}, {
|
|
168
|
+
key: "roomSchedule",
|
|
169
|
+
get: function get() {
|
|
170
|
+
return _classPrivateFieldGet(_B, this);
|
|
171
|
+
},
|
|
172
|
+
set: function set(v) {
|
|
173
|
+
_classPrivateFieldSet(_B, this, v);
|
|
174
|
+
}
|
|
175
|
+
}, {
|
|
176
|
+
key: "meetingId",
|
|
177
|
+
get: function get() {
|
|
178
|
+
return _classPrivateFieldGet(_C, this);
|
|
179
|
+
},
|
|
180
|
+
set: function set(v) {
|
|
181
|
+
_classPrivateFieldSet(_C, this, v);
|
|
182
|
+
}
|
|
183
|
+
}, {
|
|
184
|
+
key: "localUserName",
|
|
185
|
+
get: function get() {
|
|
186
|
+
return _classPrivateFieldGet(_D, this);
|
|
187
|
+
},
|
|
188
|
+
set: function set(v) {
|
|
189
|
+
_classPrivateFieldSet(_D, this, v);
|
|
190
|
+
}
|
|
191
|
+
}, {
|
|
192
|
+
key: "InviteStatus",
|
|
193
|
+
get: function get() {
|
|
194
|
+
return _classPrivateFieldGet(_E, this);
|
|
195
|
+
},
|
|
196
|
+
set: function set(v) {
|
|
197
|
+
_classPrivateFieldSet(_E, this, v);
|
|
198
|
+
}
|
|
199
|
+
}, {
|
|
200
|
+
key: "isPstnCalling",
|
|
201
|
+
get: function get() {
|
|
202
|
+
return _classPrivateFieldGet(_F, this);
|
|
203
|
+
},
|
|
204
|
+
set: function set(v) {
|
|
205
|
+
_classPrivateFieldSet(_F, this, v);
|
|
206
|
+
}
|
|
207
|
+
}, {
|
|
208
|
+
key: "isVoipCalling",
|
|
209
|
+
get: function get() {
|
|
210
|
+
return _classPrivateFieldGet(_G, this);
|
|
211
|
+
},
|
|
212
|
+
set: function set(v) {
|
|
213
|
+
_classPrivateFieldSet(_G, this, v);
|
|
214
|
+
}
|
|
215
|
+
}, {
|
|
216
|
+
key: "ipInfo",
|
|
217
|
+
get: function get() {
|
|
218
|
+
return _classPrivateFieldGet(_H, this);
|
|
219
|
+
},
|
|
220
|
+
set: function set(v) {
|
|
221
|
+
_classPrivateFieldSet(_H, this, v);
|
|
222
|
+
}
|
|
223
|
+
}, {
|
|
224
|
+
key: "phoneInfo",
|
|
225
|
+
get: function get() {
|
|
226
|
+
return _classPrivateFieldGet(_I, this);
|
|
227
|
+
},
|
|
228
|
+
set: function set(v) {
|
|
229
|
+
_classPrivateFieldSet(_I, this, v);
|
|
230
|
+
}
|
|
231
|
+
}, {
|
|
232
|
+
key: "calledPstnInfo",
|
|
233
|
+
get: function get() {
|
|
234
|
+
return _classPrivateFieldGet(_J, this);
|
|
235
|
+
},
|
|
236
|
+
set: function set(v) {
|
|
237
|
+
_classPrivateFieldSet(_J, this, v);
|
|
238
|
+
}
|
|
239
|
+
}, {
|
|
240
|
+
key: "calledVoipInfo",
|
|
241
|
+
get: function get() {
|
|
242
|
+
return _classPrivateFieldGet(_K, this);
|
|
243
|
+
},
|
|
244
|
+
set: function set(v) {
|
|
245
|
+
_classPrivateFieldSet(_K, this, v);
|
|
246
|
+
}
|
|
247
|
+
}, {
|
|
248
|
+
key: "pstnCountryCodeList",
|
|
249
|
+
get: function get() {
|
|
250
|
+
var _this$phoneInfo;
|
|
251
|
+
return ((_this$phoneInfo = this.phoneInfo) === null || _this$phoneInfo === void 0 ? void 0 : _this$phoneInfo.map(function (item) {
|
|
252
|
+
var _item$region;
|
|
253
|
+
return {
|
|
254
|
+
value: (_item$region = item.region) !== null && _item$region !== void 0 ? _item$region : '',
|
|
255
|
+
text: item.region === FcrRoomConnectorPhoneRegion.CN ? '+86' : "+".concat(item.region)
|
|
256
|
+
};
|
|
257
|
+
})) || [];
|
|
258
|
+
}
|
|
259
|
+
}, {
|
|
260
|
+
key: "localVoipList",
|
|
261
|
+
get: function get() {
|
|
262
|
+
var _this$ipInfo;
|
|
263
|
+
return (_this$ipInfo = this.ipInfo) === null || _this$ipInfo === void 0 ? void 0 : _this$ipInfo.addressList.map(function (item) {
|
|
264
|
+
return {
|
|
265
|
+
value: item,
|
|
266
|
+
text: item
|
|
267
|
+
};
|
|
268
|
+
});
|
|
269
|
+
}
|
|
270
|
+
}, {
|
|
271
|
+
key: "roomDetailCopyText",
|
|
272
|
+
get: function get() {
|
|
273
|
+
return getInvitationInfoByRoomInfo(this.roomInfo, this.roomSchedule, this.meetingId, this._sharedMemberDataSource.localUser.userName);
|
|
274
|
+
}
|
|
275
|
+
}, {
|
|
276
|
+
key: "totalHourText",
|
|
277
|
+
get: function get() {
|
|
278
|
+
return this._sharedMeetingTimeDataSource.totalHourText;
|
|
279
|
+
}
|
|
280
|
+
}, {
|
|
281
|
+
key: "totalMinuteText",
|
|
282
|
+
get: function get() {
|
|
283
|
+
return this._sharedMeetingTimeDataSource.totalMinuteText;
|
|
284
|
+
}
|
|
285
|
+
}, {
|
|
286
|
+
key: "meetingTimeStatus",
|
|
287
|
+
get: function get() {
|
|
288
|
+
return this._sharedMeetingTimeDataSource.status;
|
|
289
|
+
}
|
|
290
|
+
}, {
|
|
291
|
+
key: "meetingTime",
|
|
292
|
+
get: function get() {
|
|
293
|
+
return this._sharedMeetingTimeDataSource.meetingTime;
|
|
294
|
+
}
|
|
295
|
+
}, {
|
|
296
|
+
key: "roomId",
|
|
297
|
+
get: function get() {
|
|
298
|
+
return this.roomInfo.roomId;
|
|
299
|
+
}
|
|
300
|
+
}, {
|
|
301
|
+
key: "widgetConfigByContacts",
|
|
302
|
+
get: function get() {
|
|
303
|
+
var contacts = this._widgetProvider.supportedWidgetConfigs.find(function (widgetConfig) {
|
|
304
|
+
return widgetConfig.id === CONTACTS_WIDGET_ID;
|
|
305
|
+
});
|
|
306
|
+
return contacts;
|
|
307
|
+
}
|
|
308
|
+
}, {
|
|
309
|
+
key: "closeInviteDialog",
|
|
310
|
+
value: function closeInviteDialog() {
|
|
311
|
+
if (this._pstnSessionId) {
|
|
312
|
+
this.stopSession('pstn');
|
|
313
|
+
}
|
|
314
|
+
if (this._voipSessionId) {
|
|
315
|
+
this.stopSession('voip');
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
}, {
|
|
319
|
+
key: "release",
|
|
320
|
+
value: function release() {
|
|
321
|
+
this._roomConnectorControl.removeObserver(this._roomConnectorObserver);
|
|
322
|
+
this._dialogProvider.removeObserver(this._dialogProviderObserver);
|
|
323
|
+
}
|
|
324
|
+
}, {
|
|
325
|
+
key: "stopSession",
|
|
326
|
+
value: function () {
|
|
327
|
+
var _stopSession = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(type) {
|
|
328
|
+
var sessionId, res, _t;
|
|
329
|
+
return _regeneratorRuntime.wrap(function (_context) {
|
|
330
|
+
while (1) switch (_context.prev = _context.next) {
|
|
331
|
+
case 0:
|
|
332
|
+
sessionId = type === 'pstn' ? this._pstnSessionId : this._voipSessionId;
|
|
333
|
+
_context.prev = 1;
|
|
334
|
+
_context.next = 2;
|
|
335
|
+
return this._roomConnectorControl.stopSession(sessionId);
|
|
336
|
+
case 2:
|
|
337
|
+
res = _context.sent;
|
|
338
|
+
if (!(type === 'pstn')) {
|
|
339
|
+
_context.next = 3;
|
|
340
|
+
break;
|
|
341
|
+
}
|
|
342
|
+
this._resetpstnStatus();
|
|
343
|
+
return _context.abrupt("return");
|
|
344
|
+
case 3:
|
|
345
|
+
this._resetVoipStatus();
|
|
346
|
+
_context.next = 5;
|
|
347
|
+
break;
|
|
348
|
+
case 4:
|
|
349
|
+
_context.prev = 4;
|
|
350
|
+
_t = _context["catch"](1);
|
|
351
|
+
this.handleError(this.calledPstnInfo, _t, 'voip');
|
|
352
|
+
case 5:
|
|
353
|
+
case "end":
|
|
354
|
+
return _context.stop();
|
|
355
|
+
}
|
|
356
|
+
}, _callee, this, [[1, 4]]);
|
|
357
|
+
}));
|
|
358
|
+
function stopSession(_x) {
|
|
359
|
+
return _stopSession.apply(this, arguments);
|
|
360
|
+
}
|
|
361
|
+
return stopSession;
|
|
362
|
+
}()
|
|
363
|
+
}, {
|
|
364
|
+
key: "startSessionByPhone",
|
|
365
|
+
value: function () {
|
|
366
|
+
var _startSessionByPhone = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(_ref4) {
|
|
367
|
+
var phoneNumber, userName, zone, _t2;
|
|
368
|
+
return _regeneratorRuntime.wrap(function (_context2) {
|
|
369
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
370
|
+
case 0:
|
|
371
|
+
phoneNumber = _ref4.phoneNumber, userName = _ref4.userName, zone = _ref4.zone;
|
|
372
|
+
this.isPstnCalling = true;
|
|
373
|
+
this.calledPstnInfo = {
|
|
374
|
+
phoneNumber: phoneNumber,
|
|
375
|
+
userName: userName,
|
|
376
|
+
zone: zone
|
|
377
|
+
};
|
|
378
|
+
_context2.prev = 1;
|
|
379
|
+
_context2.next = 2;
|
|
380
|
+
return this._roomConnectorControl.startSessionByPhone({
|
|
381
|
+
phoneNumber: phoneNumber,
|
|
382
|
+
userName: userName
|
|
383
|
+
});
|
|
384
|
+
case 2:
|
|
385
|
+
this._pstnSessionId = _context2.sent;
|
|
386
|
+
this.updateInviteStatus(this.calledPstnInfo, InviteStatus.RINGING);
|
|
387
|
+
_context2.next = 4;
|
|
388
|
+
break;
|
|
389
|
+
case 3:
|
|
390
|
+
_context2.prev = 3;
|
|
391
|
+
_t2 = _context2["catch"](1);
|
|
392
|
+
this.handleError(this.calledVoipInfo, _t2, 'voip');
|
|
393
|
+
case 4:
|
|
394
|
+
case "end":
|
|
395
|
+
return _context2.stop();
|
|
396
|
+
}
|
|
397
|
+
}, _callee2, this, [[1, 3]]);
|
|
398
|
+
}));
|
|
399
|
+
function startSessionByPhone(_x2) {
|
|
400
|
+
return _startSessionByPhone.apply(this, arguments);
|
|
401
|
+
}
|
|
402
|
+
return startSessionByPhone;
|
|
403
|
+
}()
|
|
404
|
+
}, {
|
|
405
|
+
key: "startSessionByVoip",
|
|
406
|
+
value: function () {
|
|
407
|
+
var _startSessionByVoip = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(address, ipType) {
|
|
408
|
+
var _t3;
|
|
409
|
+
return _regeneratorRuntime.wrap(function (_context3) {
|
|
410
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
411
|
+
case 0:
|
|
412
|
+
this.isVoipCalling = true;
|
|
413
|
+
this.calledVoipInfo = {
|
|
414
|
+
address: address,
|
|
415
|
+
addressType: ipType
|
|
416
|
+
};
|
|
417
|
+
_context3.prev = 1;
|
|
418
|
+
_context3.next = 2;
|
|
419
|
+
return this._roomConnectorControl.startSessionByIP({
|
|
420
|
+
address: address,
|
|
421
|
+
type: ipType
|
|
422
|
+
});
|
|
423
|
+
case 2:
|
|
424
|
+
this._voipSessionId = _context3.sent;
|
|
425
|
+
_context3.next = 4;
|
|
426
|
+
break;
|
|
427
|
+
case 3:
|
|
428
|
+
_context3.prev = 3;
|
|
429
|
+
_t3 = _context3["catch"](1);
|
|
430
|
+
this.handleError(this.calledPstnInfo, _t3, 'voip');
|
|
431
|
+
case 4:
|
|
432
|
+
case "end":
|
|
433
|
+
return _context3.stop();
|
|
434
|
+
}
|
|
435
|
+
}, _callee3, this, [[1, 3]]);
|
|
436
|
+
}));
|
|
437
|
+
function startSessionByVoip(_x3, _x4) {
|
|
438
|
+
return _startSessionByVoip.apply(this, arguments);
|
|
439
|
+
}
|
|
440
|
+
return startSessionByVoip;
|
|
441
|
+
}()
|
|
442
|
+
}, {
|
|
443
|
+
key: "showToast",
|
|
444
|
+
value: function showToast(params) {
|
|
445
|
+
this._messageProvider.showToast(params);
|
|
446
|
+
}
|
|
447
|
+
}, {
|
|
448
|
+
key: "_getRoomConnectorIpInfo",
|
|
449
|
+
value: function () {
|
|
450
|
+
var _getRoomConnectorIpInfo2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4() {
|
|
451
|
+
return _regeneratorRuntime.wrap(function (_context4) {
|
|
452
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
453
|
+
case 0:
|
|
454
|
+
_context4.next = 1;
|
|
455
|
+
return this._roomConnectorControl.getRoomConnectorIpInfo();
|
|
456
|
+
case 1:
|
|
457
|
+
this.ipInfo = _context4.sent;
|
|
458
|
+
case 2:
|
|
459
|
+
case "end":
|
|
460
|
+
return _context4.stop();
|
|
461
|
+
}
|
|
462
|
+
}, _callee4, this);
|
|
463
|
+
}));
|
|
464
|
+
function _getRoomConnectorIpInfo() {
|
|
465
|
+
return _getRoomConnectorIpInfo2.apply(this, arguments);
|
|
466
|
+
}
|
|
467
|
+
return _getRoomConnectorIpInfo;
|
|
468
|
+
}()
|
|
469
|
+
}, {
|
|
470
|
+
key: "_getRoomConnectorPhoneInfo",
|
|
471
|
+
value: function () {
|
|
472
|
+
var _getRoomConnectorPhoneInfo2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5() {
|
|
473
|
+
return _regeneratorRuntime.wrap(function (_context5) {
|
|
474
|
+
while (1) switch (_context5.prev = _context5.next) {
|
|
475
|
+
case 0:
|
|
476
|
+
_context5.next = 1;
|
|
477
|
+
return this._roomConnectorControl.getRoomConnectorPhoneInfo();
|
|
478
|
+
case 1:
|
|
479
|
+
this.phoneInfo = _context5.sent;
|
|
480
|
+
case 2:
|
|
481
|
+
case "end":
|
|
482
|
+
return _context5.stop();
|
|
483
|
+
}
|
|
484
|
+
}, _callee5, this);
|
|
485
|
+
}));
|
|
486
|
+
function _getRoomConnectorPhoneInfo() {
|
|
487
|
+
return _getRoomConnectorPhoneInfo2.apply(this, arguments);
|
|
488
|
+
}
|
|
489
|
+
return _getRoomConnectorPhoneInfo;
|
|
490
|
+
}()
|
|
491
|
+
}, {
|
|
492
|
+
key: "handleError",
|
|
493
|
+
value: function handleError(info, error, sessionType) {
|
|
494
|
+
var _this2 = this;
|
|
495
|
+
this.updateInviteStatus(info, InviteStatus.ERROR);
|
|
496
|
+
setTimeout(function () {
|
|
497
|
+
if (sessionType === 'pstn') {
|
|
498
|
+
_this2.isPstnCalling = false;
|
|
499
|
+
} else if (sessionType === 'voip') {
|
|
500
|
+
_this2.isVoipCalling = false;
|
|
501
|
+
}
|
|
502
|
+
}, 1500);
|
|
503
|
+
}
|
|
504
|
+
}, {
|
|
505
|
+
key: "updateInviteStatus",
|
|
506
|
+
value: function updateInviteStatus(info, status) {
|
|
507
|
+
info.state = status;
|
|
508
|
+
}
|
|
509
|
+
}, {
|
|
510
|
+
key: "_resetpstnStatus",
|
|
511
|
+
value: function _resetpstnStatus() {
|
|
512
|
+
this.isPstnCalling = false;
|
|
513
|
+
this._pstnSessionId = '';
|
|
514
|
+
}
|
|
515
|
+
}, {
|
|
516
|
+
key: "_resetVoipStatus",
|
|
517
|
+
value: function _resetVoipStatus() {
|
|
518
|
+
this.isVoipCalling = false;
|
|
519
|
+
this._voipSessionId = '';
|
|
520
|
+
}
|
|
521
|
+
}, {
|
|
522
|
+
key: "_handlePhoneConnectorSessionStateUpdated",
|
|
523
|
+
value: function _handlePhoneConnectorSessionStateUpdated(session, state, reason) {
|
|
524
|
+
var _this3 = this;
|
|
525
|
+
if (session.phoneNumber !== this.calledPstnInfo.phoneNumber) {
|
|
526
|
+
return;
|
|
527
|
+
}
|
|
528
|
+
if (session.sessionId !== this._pstnSessionId) {
|
|
529
|
+
return;
|
|
530
|
+
}
|
|
531
|
+
var stateReasonMap = _defineProperty(_defineProperty(_defineProperty({}, FcrRoomConnectorSessionState.RINGING, InviteStatus.RINGING), FcrRoomConnectorSessionState.CALLING, InviteStatus.CALLING), FcrRoomConnectorSessionState.END, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, FcrRoomConnectorSessionReason.REJECT, InviteStatus.REJECT), FcrRoomConnectorSessionReason.LINE_BUSY, InviteStatus.REJECT), FcrRoomConnectorSessionReason.TIMEOUT, InviteStatus.REJECT), FcrRoomConnectorSessionReason.ACCEPTED, InviteStatus.ACCEPTED), "default", InviteStatus.ERROR));
|
|
532
|
+
if (_typeof(stateReasonMap[state]) === 'object') {
|
|
533
|
+
this.calledPstnInfo.state = stateReasonMap[state][reason] || stateReasonMap[state]["default"];
|
|
534
|
+
} else {
|
|
535
|
+
this.calledPstnInfo.state = stateReasonMap[state];
|
|
536
|
+
}
|
|
537
|
+
if (state === FcrRoomConnectorSessionState.END) {
|
|
538
|
+
setTimeout(function () {
|
|
539
|
+
_this3._resetpstnStatus();
|
|
540
|
+
}, 1.5 * 1000);
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
}, {
|
|
544
|
+
key: "_handleIPConnectorSessionStateUpdated",
|
|
545
|
+
value: function _handleIPConnectorSessionStateUpdated(session, state, reason) {
|
|
546
|
+
var _this4 = this;
|
|
547
|
+
if (session.address !== this.calledVoipInfo.address) {
|
|
548
|
+
return;
|
|
549
|
+
}
|
|
550
|
+
if (session.sessionId !== this._voipSessionId) {
|
|
551
|
+
return;
|
|
552
|
+
}
|
|
553
|
+
var stateReasonMap = _defineProperty(_defineProperty(_defineProperty({}, FcrRoomConnectorSessionState.RINGING, InviteStatus.RINGING), FcrRoomConnectorSessionState.CALLING, InviteStatus.CALLING), FcrRoomConnectorSessionState.END, _defineProperty(_defineProperty(_defineProperty({}, FcrRoomConnectorSessionReason.REJECT, InviteStatus.REJECT), FcrRoomConnectorSessionReason.ACCEPTED, InviteStatus.ACCEPTED), "default", InviteStatus.ERROR));
|
|
554
|
+
if (_typeof(stateReasonMap[state]) === 'object') {
|
|
555
|
+
this.calledVoipInfo.state = stateReasonMap[state][reason] || stateReasonMap[state]["default"];
|
|
556
|
+
} else {
|
|
557
|
+
this.calledVoipInfo.state = stateReasonMap[state];
|
|
558
|
+
}
|
|
559
|
+
if (state === FcrRoomConnectorSessionState.END) {
|
|
560
|
+
setTimeout(function () {
|
|
561
|
+
_this4._resetVoipStatus();
|
|
562
|
+
}, 1.5 * 1000);
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
}]);
|
|
566
|
+
}();
|
|
567
|
+
_InviteStore = InviteStore;
|
|
568
|
+
var _applyDecs$e = _slicedToArray(_applyDecs(_InviteStore, [[observable, 1, "InviteStatus"], [observable, 1, "isPstnCalling"], [observable, 1, "isVoipCalling"], [observable, 1, "ipInfo"], [observable, 1, "phoneInfo"], [observable, 1, "calledPstnInfo"], [observable, 1, "calledVoipInfo"], [computed, 3, "widgetConfigByContacts"], [_stopSessionDecs, 18, "stopSession"], [_startSessionByPhoneDecs, 18, "startSessionByPhone"], [_startSessionByVoipDecs, 18, "startSessionByVoip"], [_showToastDecs, 18, "showToast"], [_getRoomConnectorIpInfoDecs, 18, "_getRoomConnectorIpInfo"], [_getRoomConnectorPhoneInfoDecs, 18, "_getRoomConnectorPhoneInfo"], [_handleErrorDecs, 18, "handleError"], [_updateInviteStatusDecs, 18, "updateInviteStatus"], [_resetpstnStatusDecs, 18, "_resetpstnStatus"], [_resetVoipStatusDecs, 18, "_resetVoipStatus"], [_handlePhoneConnectorSessionStateUpdatedDecs, 18, "_handlePhoneConnectorSessionStateUpdated"], [_handleIPConnectorSessionStateUpdatedDecs, 18, "_handleIPConnectorSessionStateUpdated"]], []).e, 8);
|
|
569
|
+
_init_InviteStatus = _applyDecs$e[0];
|
|
570
|
+
_init_isPstnCalling = _applyDecs$e[1];
|
|
571
|
+
_init_isVoipCalling = _applyDecs$e[2];
|
|
572
|
+
_init_ipInfo = _applyDecs$e[3];
|
|
573
|
+
_init_phoneInfo = _applyDecs$e[4];
|
|
574
|
+
_init_calledPstnInfo = _applyDecs$e[5];
|
|
575
|
+
_init_calledVoipInfo = _applyDecs$e[6];
|
|
576
|
+
_initProto = _applyDecs$e[7];
|
|
577
|
+
export { InviteStore as default };
|
|
578
|
+
export var StoreContext = /*#__PURE__*/createContext(null);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
|
+
import "core-js/modules/es.array.push.js";
|
|
3
|
+
import "core-js/modules/es.function.name.js";
|
|
4
|
+
import { observer } from 'mobx-react';
|
|
5
|
+
import { useContext, useState } from 'react';
|
|
6
|
+
import { PSTNInvite } from './components/pstn-invite';
|
|
7
|
+
import { VoipInvite } from './components/voip-invite';
|
|
8
|
+
import { useI18n } from 'agora-ui-foundation/lib/i18n';
|
|
9
|
+
import FcrTabFrame from '../components/tab-frame';
|
|
10
|
+
import { InviteType } from './enums';
|
|
11
|
+
import { StoreContext } from './store';
|
|
12
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
+
export var View = observer(function (props) {
|
|
14
|
+
var contactsChildren = props.contactsChildren;
|
|
15
|
+
var _useContext = useContext(StoreContext),
|
|
16
|
+
widgetConfigByContacts = _useContext.widgetConfigByContacts;
|
|
17
|
+
var widgetConfigByContactsId = widgetConfigByContacts === null || widgetConfigByContacts === void 0 ? void 0 : widgetConfigByContacts.id;
|
|
18
|
+
var _useState = useState(InviteType.PSTN),
|
|
19
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
20
|
+
currentInviteType = _useState2[0],
|
|
21
|
+
setCurrentInviteType = _useState2[1];
|
|
22
|
+
var transI18n = useI18n();
|
|
23
|
+
var tabs = [{
|
|
24
|
+
label: "".concat(transI18n('fmt_pstn_label_phonecall')),
|
|
25
|
+
key: InviteType.PSTN,
|
|
26
|
+
content: /*#__PURE__*/_jsx(PSTNInvite, {})
|
|
27
|
+
}, {
|
|
28
|
+
label: "".concat(transI18n('fmt_sip_options_H323')),
|
|
29
|
+
key: InviteType.VOIP,
|
|
30
|
+
content: /*#__PURE__*/_jsx(VoipInvite, {})
|
|
31
|
+
}];
|
|
32
|
+
if (widgetConfigByContacts) {
|
|
33
|
+
tabs.push({
|
|
34
|
+
label: widgetConfigByContacts.name,
|
|
35
|
+
key: widgetConfigByContactsId,
|
|
36
|
+
content: contactsChildren
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
return /*#__PURE__*/_jsx(FcrTabFrame, {
|
|
40
|
+
activeKey: currentInviteType,
|
|
41
|
+
onChange: function onChange(key) {
|
|
42
|
+
return setCurrentInviteType(key);
|
|
43
|
+
},
|
|
44
|
+
tabs: tabs
|
|
45
|
+
});
|
|
46
|
+
});
|