fcr-ui-scene 1.0.40 → 3.1.0
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/installer/icons/favicon.ico +0 -0
- package/installer/icons/favicon.png +0 -0
- package/installer/mac/entitlements.mac.plist +16 -0
- package/lib/base.d.ts +12 -0
- package/lib/base.js +78 -0
- package/lib/common/device-store.d.ts +140 -0
- package/lib/common/device-store.js +1378 -0
- package/lib/common/device-stream-store.d.ts +36 -0
- package/lib/common/device-stream-store.js +372 -0
- package/lib/common/device-streams-store.d.ts +34 -0
- package/lib/common/device-streams-store.js +403 -0
- package/lib/common/event-store.d.ts +117 -0
- package/lib/common/event-store.js +235 -0
- package/lib/common/security-store.d.ts +123 -0
- package/lib/common/security-store.js +978 -0
- package/lib/creator.d.ts +8 -0
- package/lib/creator.js +37 -0
- package/lib/fragments/base.d.ts +10 -0
- package/lib/fragments/base.js +44 -0
- package/lib/fragments/control-bar/cloud-recording-buttons.d.ts +1 -0
- package/lib/fragments/control-bar/cloud-recording-buttons.js +67 -0
- package/lib/fragments/control-bar/context.d.ts +3 -0
- package/lib/fragments/control-bar/context.js +9 -0
- package/lib/fragments/control-bar/control-bar-store.d.ts +152 -0
- package/lib/fragments/control-bar/control-bar-store.js +1275 -0
- package/lib/fragments/control-bar/device/index.d.ts +31 -0
- package/lib/fragments/control-bar/device/index.js +203 -0
- package/lib/fragments/control-bar/index.css +276 -0
- package/lib/fragments/control-bar/index.d.ts +26 -0
- package/lib/fragments/control-bar/index.js +223 -0
- package/lib/fragments/control-bar/more-actions/index.css +19 -0
- package/lib/fragments/control-bar/more-actions/index.d.ts +7 -0
- package/lib/fragments/control-bar/more-actions/index.js +259 -0
- package/lib/fragments/control-bar/security-content/index.css +24 -0
- package/lib/fragments/control-bar/security-content/index.d.ts +2 -0
- package/lib/fragments/control-bar/security-content/index.js +145 -0
- package/lib/fragments/control-bar/share-state-nav/index.css +70 -0
- package/lib/fragments/control-bar/share-state-nav/index.d.ts +10 -0
- package/lib/fragments/control-bar/share-state-nav/index.js +134 -0
- package/lib/fragments/control-bar/stop-live-streaming/index.d.ts +1 -0
- package/lib/fragments/control-bar/stop-live-streaming/index.js +82 -0
- package/lib/fragments/control-bar/transfer-position-icon/index.d.ts +11 -0
- package/lib/fragments/control-bar/transfer-position-icon/index.js +46 -0
- package/lib/fragments/control-bar/view.d.ts +1 -0
- package/lib/fragments/control-bar/view.js +321 -0
- package/lib/fragments/live-streaming/context.d.ts +3 -0
- package/lib/fragments/live-streaming/context.js +9 -0
- package/lib/fragments/live-streaming/index.css +11 -0
- package/lib/fragments/live-streaming/index.d.ts +11 -0
- package/lib/fragments/live-streaming/index.js +79 -0
- package/lib/fragments/live-streaming/store.d.ts +21 -0
- package/lib/fragments/live-streaming/store.js +228 -0
- package/lib/fragments/live-streaming/view.d.ts +2 -0
- package/lib/fragments/live-streaming/view.js +44 -0
- package/lib/fragments/participant/context.d.ts +3 -0
- package/lib/fragments/participant/context.js +9 -0
- package/lib/fragments/participant/index.css +20 -0
- package/lib/fragments/participant/index.d.ts +9 -0
- package/lib/fragments/participant/index.js +90 -0
- package/lib/fragments/participant/room-control-drop-menu/index.css +19 -0
- package/lib/fragments/participant/room-control-drop-menu/index.d.ts +2 -0
- package/lib/fragments/participant/room-control-drop-menu/index.js +134 -0
- package/lib/fragments/participant/store.d.ts +34 -0
- package/lib/fragments/participant/store.js +326 -0
- package/lib/fragments/participant/view.d.ts +2 -0
- package/lib/fragments/participant/view.js +86 -0
- package/lib/fragments/share-screen-selection/context.d.ts +3 -0
- package/lib/fragments/share-screen-selection/context.js +9 -0
- package/lib/fragments/share-screen-selection/index.css +66 -0
- package/lib/fragments/share-screen-selection/index.d.ts +9 -0
- package/lib/fragments/share-screen-selection/index.js +94 -0
- package/lib/fragments/share-screen-selection/open-mic-tips.d.ts +9 -0
- package/lib/fragments/share-screen-selection/open-mic-tips.js +55 -0
- package/lib/fragments/share-screen-selection/selection-store.d.ts +35 -0
- package/lib/fragments/share-screen-selection/selection-store.js +351 -0
- package/lib/fragments/share-screen-selection/tips.css +33 -0
- package/lib/fragments/share-screen-selection/view.d.ts +9 -0
- package/lib/fragments/share-screen-selection/view.js +255 -0
- package/lib/fragments/state-bar/index.d.ts +9 -0
- package/lib/fragments/state-bar/index.js +68 -0
- package/lib/fragments/toolbar/components/color-picker/components/color.d.ts +5 -0
- package/lib/fragments/toolbar/components/color-picker/components/color.js +54 -0
- package/lib/fragments/toolbar/components/color-picker/components/panel.d.ts +1 -0
- package/lib/fragments/toolbar/components/color-picker/components/panel.js +114 -0
- package/lib/fragments/toolbar/components/color-picker/components/picker.d.ts +1 -0
- package/lib/fragments/toolbar/components/color-picker/components/picker.js +75 -0
- package/lib/fragments/toolbar/components/color-picker/index.d.ts +2 -0
- package/lib/fragments/toolbar/components/color-picker/index.js +53 -0
- package/lib/fragments/toolbar/components/color-picker.d.ts +2 -0
- package/lib/fragments/toolbar/components/color-picker.js +127 -0
- package/lib/fragments/toolbar/components/eraser-picker.d.ts +4 -0
- package/lib/fragments/toolbar/components/eraser-picker.js +84 -0
- package/lib/fragments/toolbar/components/extension-toolbar-item.js +78 -0
- package/lib/fragments/toolbar/components/extra-tool-picker.d.ts +1 -0
- package/lib/fragments/toolbar/components/extra-tool-picker.js +60 -0
- package/lib/fragments/toolbar/components/fold-icon.d.ts +2 -0
- package/lib/fragments/toolbar/components/fold-icon.js +41 -0
- package/lib/fragments/toolbar/components/history.d.ts +2 -0
- package/lib/fragments/toolbar/components/history.js +46 -0
- package/lib/fragments/toolbar/components/pen-picker.d.ts +4 -0
- package/lib/fragments/toolbar/components/pen-picker.js +132 -0
- package/lib/fragments/toolbar/components/screen-capture-picker.d.ts +4 -0
- package/lib/fragments/toolbar/components/screen-capture-picker.js +84 -0
- package/lib/fragments/toolbar/components/shape-picker.d.ts +4 -0
- package/lib/fragments/toolbar/components/shape-picker.js +146 -0
- package/lib/fragments/toolbar/components/toolbar-item.d.ts +1 -0
- package/lib/fragments/toolbar/components/toolbar-item.js +42 -0
- package/lib/fragments/toolbar/components/wrapper.d.ts +1 -0
- package/lib/fragments/toolbar/components/wrapper.js +138 -0
- package/lib/fragments/toolbar/hooks.d.ts +16 -0
- package/lib/fragments/toolbar/hooks.js +251 -0
- package/lib/fragments/toolbar/index.d.ts +12 -0
- package/lib/fragments/toolbar/index.js +80 -0
- package/lib/fragments/toolbar/store.d.ts +62 -0
- package/lib/fragments/toolbar/store.js +279 -0
- package/lib/fragments/toolbar/style.css +347 -0
- package/lib/fragments/toolbar/view.d.ts +1 -0
- package/lib/fragments/toolbar/view.js +34 -0
- package/lib/fragments/type.d.ts +2 -0
- package/lib/fragments/type.js +6 -0
- package/lib/global.d.ts +8 -0
- package/lib/hooks/i18n.d.ts +4 -0
- package/lib/hooks/i18n.js +18 -0
- package/lib/hooks/meeting-time.d.ts +15 -0
- package/lib/hooks/meeting-time.js +92 -0
- package/lib/index.d.ts +8 -0
- package/lib/index.js +52 -0
- package/lib/modules/action-bar/action-bar-collapes-items.d.ts +17 -0
- package/lib/modules/action-bar/action-bar-collapes-items.js +199 -0
- package/lib/modules/action-bar/board/index.d.ts +4 -0
- package/lib/modules/action-bar/board/index.js +34 -0
- package/lib/modules/action-bar/breakout-room/index.d.ts +4 -0
- package/lib/modules/action-bar/breakout-room/index.js +32 -0
- package/lib/modules/action-bar/chat/index.css +80 -0
- package/lib/modules/action-bar/chat/index.d.ts +5 -0
- package/lib/modules/action-bar/chat/index.js +152 -0
- package/lib/modules/action-bar/context.d.ts +3 -0
- package/lib/modules/action-bar/context.js +9 -0
- package/lib/modules/action-bar/device/index.css +157 -0
- package/lib/modules/action-bar/device/index.d.ts +8 -0
- package/lib/modules/action-bar/device/index.js +611 -0
- package/lib/modules/action-bar/index.css +212 -0
- package/lib/modules/action-bar/index.d.ts +25 -0
- package/lib/modules/action-bar/index.dev.d.ts +1 -0
- package/lib/modules/action-bar/index.dev.js +96 -0
- package/lib/modules/action-bar/index.js +89 -0
- package/lib/modules/action-bar/item-placement.d.ts +8 -0
- package/lib/modules/action-bar/item-placement.js +18 -0
- package/lib/modules/action-bar/item.d.ts +27 -0
- package/lib/modules/action-bar/item.js +154 -0
- package/lib/modules/action-bar/leave/assign-host.d.ts +7 -0
- package/lib/modules/action-bar/leave/assign-host.js +64 -0
- package/lib/modules/action-bar/leave/index.css +116 -0
- package/lib/modules/action-bar/leave/index.d.ts +3 -0
- package/lib/modules/action-bar/leave/index.js +110 -0
- package/lib/modules/action-bar/leave/leave-meeting.d.ts +6 -0
- package/lib/modules/action-bar/leave/leave-meeting.js +135 -0
- package/lib/modules/action-bar/live-streaming/index.d.ts +4 -0
- package/lib/modules/action-bar/live-streaming/index.js +39 -0
- package/lib/modules/action-bar/more/index.css +114 -0
- package/lib/modules/action-bar/more/index.d.ts +5 -0
- package/lib/modules/action-bar/more/index.js +80 -0
- package/lib/modules/action-bar/more/poppover-content.d.ts +8 -0
- package/lib/modules/action-bar/more/poppover-content.js +369 -0
- package/lib/modules/action-bar/participants/index.css +9 -0
- package/lib/modules/action-bar/participants/index.d.ts +5 -0
- package/lib/modules/action-bar/participants/index.js +75 -0
- package/lib/modules/action-bar/record/index.css +39 -0
- package/lib/modules/action-bar/record/index.d.ts +5 -0
- package/lib/modules/action-bar/record/index.js +161 -0
- package/lib/modules/action-bar/record/stop-record-dialog.d.ts +5 -0
- package/lib/modules/action-bar/record/stop-record-dialog.js +48 -0
- package/lib/modules/action-bar/respond/index.d.ts +4 -0
- package/lib/modules/action-bar/respond/index.js +32 -0
- package/lib/modules/action-bar/screen-share/index.d.ts +4 -0
- package/lib/modules/action-bar/screen-share/index.js +97 -0
- package/lib/modules/action-bar/screen-share/submenu.d.ts +1 -0
- package/lib/modules/action-bar/screen-share/submenu.js +159 -0
- package/lib/modules/action-bar/security/drop-menu.d.ts +1 -0
- package/lib/modules/action-bar/security/drop-menu.js +164 -0
- package/lib/modules/action-bar/security/index.d.ts +4 -0
- package/lib/modules/action-bar/security/index.js +50 -0
- package/lib/modules/action-bar/settings/index.d.ts +4 -0
- package/lib/modules/action-bar/settings/index.js +41 -0
- package/lib/modules/action-bar/smaller.d.ts +1 -0
- package/lib/modules/action-bar/smaller.js +52 -0
- package/lib/modules/action-bar/store.d.ts +177 -0
- package/lib/modules/action-bar/store.js +1179 -0
- package/lib/modules/action-bar/type.d.ts +6 -0
- package/lib/modules/action-bar/type.js +13 -0
- package/lib/modules/action-bar/view.d.ts +5 -0
- package/lib/modules/action-bar/view.js +80 -0
- package/lib/modules/audio-stream/index.d.ts +21 -0
- package/lib/modules/audio-stream/index.js +119 -0
- package/lib/modules/chat/chat-bar/index.css +79 -0
- package/lib/modules/chat/chat-bar/index.d.ts +11 -0
- package/lib/modules/chat/chat-bar/index.js +125 -0
- package/lib/modules/chat/chat-select/index.css +156 -0
- package/lib/modules/chat/chat-select/index.d.ts +12 -0
- package/lib/modules/chat/chat-select/index.js +186 -0
- package/lib/modules/chat/chat.d.ts +12 -0
- package/lib/modules/chat/chat.js +295 -0
- package/lib/modules/chat/contex.d.ts +3 -0
- package/lib/modules/chat/contex.js +9 -0
- package/lib/modules/chat/demo-wrapper.d.ts +1 -0
- package/lib/modules/chat/demo-wrapper.js +42 -0
- package/lib/modules/chat/index.css +17 -0
- package/lib/modules/chat/index.d.ts +29 -0
- package/lib/modules/chat/index.dev.d.ts +1 -0
- package/lib/modules/chat/index.dev.js +58 -0
- package/lib/modules/chat/index.js +189 -0
- package/lib/modules/chat/message-list.d.ts +22 -0
- package/lib/modules/chat/message-list.js +595 -0
- package/lib/modules/chat/mock.d.ts +2 -0
- package/lib/modules/chat/mock.js +283 -0
- package/lib/modules/chat/store.d.ts +132 -0
- package/lib/modules/chat/store.js +923 -0
- package/lib/modules/chat/util.d.ts +6 -0
- package/lib/modules/chat/util.js +69 -0
- package/lib/modules/connection-gateway/components/computer/index.css +11 -0
- package/lib/modules/connection-gateway/components/computer/index.d.ts +3 -0
- package/lib/modules/connection-gateway/components/computer/index.js +66 -0
- package/lib/modules/connection-gateway/components/computer/menu.d.ts +0 -0
- package/lib/modules/connection-gateway/components/computer/menu.js +1 -0
- package/lib/modules/connection-gateway/components/phone/components/callinfo/index.css +36 -0
- package/lib/modules/connection-gateway/components/phone/components/callinfo/index.d.ts +10 -0
- package/lib/modules/connection-gateway/components/phone/components/callinfo/index.js +75 -0
- package/lib/modules/connection-gateway/components/phone/components/calling/index.css +72 -0
- package/lib/modules/connection-gateway/components/phone/components/calling/index.d.ts +7 -0
- package/lib/modules/connection-gateway/components/phone/components/calling/index.js +58 -0
- package/lib/modules/connection-gateway/components/phone/components/remeber/index.css +10 -0
- package/lib/modules/connection-gateway/components/phone/components/remeber/index.d.ts +5 -0
- package/lib/modules/connection-gateway/components/phone/components/remeber/index.js +24 -0
- package/lib/modules/connection-gateway/components/phone/components/useing/index.css +46 -0
- package/lib/modules/connection-gateway/components/phone/components/useing/index.d.ts +3 -0
- package/lib/modules/connection-gateway/components/phone/components/useing/index.js +36 -0
- package/lib/modules/connection-gateway/components/phone/index.css +49 -0
- package/lib/modules/connection-gateway/components/phone/index.d.ts +3 -0
- package/lib/modules/connection-gateway/components/phone/index.js +181 -0
- package/lib/modules/connection-gateway/components/tabs/index.css +31 -0
- package/lib/modules/connection-gateway/components/tabs/index.d.ts +4 -0
- package/lib/modules/connection-gateway/components/tabs/index.js +43 -0
- package/lib/modules/connection-gateway/index.css +6 -0
- package/lib/modules/connection-gateway/index.d.ts +16 -0
- package/lib/modules/connection-gateway/index.js +67 -0
- package/lib/modules/connection-gateway/store.d.ts +80 -0
- package/lib/modules/connection-gateway/store.js +698 -0
- package/lib/modules/connection-gateway/view.d.ts +1 -0
- package/lib/modules/connection-gateway/view.js +22 -0
- package/lib/modules/device-pretest/assets/virtual-backdound-resources.d.ts +13 -0
- package/lib/modules/device-pretest/assets/virtual-backdound-resources.js +15 -0
- package/lib/modules/device-pretest/audio-preview/microphone-detection.d.ts +12 -0
- package/lib/modules/device-pretest/audio-preview/microphone-detection.js +71 -0
- package/lib/modules/device-pretest/audio-preview/speaker-control.d.ts +1 -0
- package/lib/modules/device-pretest/audio-preview/speaker-control.js +63 -0
- package/lib/modules/device-pretest/audio-preview/speaker-detection.d.ts +12 -0
- package/lib/modules/device-pretest/audio-preview/speaker-detection.js +71 -0
- package/lib/modules/device-pretest/context.d.ts +3 -0
- package/lib/modules/device-pretest/context.js +9 -0
- package/lib/modules/device-pretest/index.css +127 -0
- package/lib/modules/device-pretest/index.d.ts +12 -0
- package/lib/modules/device-pretest/index.js +242 -0
- package/lib/modules/device-pretest/settings/beauty.d.ts +10 -0
- package/lib/modules/device-pretest/settings/beauty.js +103 -0
- package/lib/modules/device-pretest/settings/camera-select.d.ts +12 -0
- package/lib/modules/device-pretest/settings/camera-select.js +53 -0
- package/lib/modules/device-pretest/settings/index.css +15 -0
- package/lib/modules/device-pretest/settings/video-effect.d.ts +11 -0
- package/lib/modules/device-pretest/settings/video-effect.js +50 -0
- package/lib/modules/device-pretest/settings/video-settings-basic.d.ts +2 -0
- package/lib/modules/device-pretest/settings/video-settings-basic.js +143 -0
- package/lib/modules/device-pretest/settings/virtual-background-setting.d.ts +7 -0
- package/lib/modules/device-pretest/settings/virtual-background-setting.js +99 -0
- package/lib/modules/device-pretest/store.d.ts +69 -0
- package/lib/modules/device-pretest/store.js +413 -0
- package/lib/modules/device-settings/audio-settings/audio-settings.d.ts +4 -0
- package/lib/modules/device-settings/audio-settings/audio-settings.js +297 -0
- package/lib/modules/device-settings/audio-settings/index.css +139 -0
- package/lib/modules/device-settings/audio-settings/microphone-detection.d.ts +2 -0
- package/lib/modules/device-settings/audio-settings/microphone-detection.js +68 -0
- package/lib/modules/device-settings/audio-settings/speaker-detection.d.ts +2 -0
- package/lib/modules/device-settings/audio-settings/speaker-detection.js +72 -0
- package/lib/{fcr-ui-scene/src/containers/stream-window/index.d.ts → modules/device-settings/common/advance-link.d.ts} +1 -1
- package/lib/modules/device-settings/common/advance-link.js +27 -0
- package/lib/modules/device-settings/common/index.css +26 -0
- package/lib/modules/device-settings/common/useNamespace.d.ts +15 -0
- package/lib/modules/device-settings/common/useNamespace.js +66 -0
- package/lib/modules/device-settings/context.d.ts +3 -0
- package/lib/modules/device-settings/context.js +9 -0
- package/lib/modules/device-settings/dialog-wrapper.d.ts +2 -0
- package/lib/modules/device-settings/dialog-wrapper.js +110 -0
- package/lib/modules/device-settings/general-settings/general-settings.d.ts +4 -0
- package/lib/modules/device-settings/general-settings/general-settings.js +66 -0
- package/lib/modules/device-settings/general-settings/index.css +26 -0
- package/lib/modules/device-settings/index.css +109 -0
- package/lib/modules/device-settings/index.d.ts +21 -0
- package/lib/modules/device-settings/index.dev.d.ts +1 -0
- package/lib/modules/device-settings/index.dev.js +112 -0
- package/lib/modules/device-settings/index.js +84 -0
- package/lib/modules/device-settings/state/index.css +211 -0
- package/lib/modules/device-settings/state/index.d.ts +4 -0
- package/lib/modules/device-settings/state/index.js +330 -0
- package/lib/modules/device-settings/storage-settings/index.css +91 -0
- package/lib/modules/device-settings/storage-settings/storage-settings.d.ts +3 -0
- package/lib/modules/device-settings/storage-settings/storage-settings.js +84 -0
- package/lib/modules/device-settings/store.d.ts +205 -0
- package/lib/modules/device-settings/store.js +1035 -0
- package/lib/modules/device-settings/video-settings/camera-select.d.ts +2 -0
- package/lib/modules/device-settings/video-settings/camera-select.js +51 -0
- package/lib/modules/device-settings/video-settings/index.css +327 -0
- package/lib/modules/device-settings/video-settings/local-video-player.d.ts +3 -0
- package/lib/modules/device-settings/video-settings/local-video-player.js +37 -0
- package/lib/modules/device-settings/video-settings/mirror-toggle.d.ts +2 -0
- package/lib/modules/device-settings/video-settings/mirror-toggle.js +62 -0
- package/lib/modules/device-settings/video-settings/video-settings-basic.d.ts +9 -0
- package/lib/modules/device-settings/video-settings/video-settings-basic.js +177 -0
- package/lib/modules/device-settings/video-settings/video-settings.d.ts +6 -0
- package/lib/modules/device-settings/video-settings/video-settings.js +185 -0
- package/lib/modules/device-settings/view.d.ts +10 -0
- package/lib/modules/device-settings/view.js +193 -0
- package/lib/modules/dialog/components/chat/electron.d.ts +4 -0
- package/lib/modules/dialog/components/chat/electron.js +59 -0
- package/lib/modules/dialog/components/chat/index.d.ts +7 -0
- package/lib/modules/dialog/components/chat/index.js +66 -0
- package/lib/modules/dialog/components/confirm/electron.d.ts +10 -0
- package/lib/modules/dialog/components/confirm/electron.js +84 -0
- package/lib/modules/dialog/components/confirm/index.d.ts +10 -0
- package/lib/modules/dialog/components/confirm/index.js +75 -0
- package/lib/modules/dialog/components/connection-gateway/electron.d.ts +2 -0
- package/lib/modules/dialog/components/connection-gateway/electron.js +62 -0
- package/lib/modules/dialog/components/connection-gateway/index.css +27 -0
- package/lib/modules/dialog/components/connection-gateway/index.d.ts +3 -0
- package/lib/modules/dialog/components/connection-gateway/index.js +74 -0
- package/lib/modules/dialog/components/participant/electron.d.ts +2 -0
- package/lib/modules/dialog/components/participant/electron.js +85 -0
- package/lib/modules/dialog/components/participant/index.d.ts +3 -0
- package/lib/modules/dialog/components/participant/index.js +61 -0
- package/lib/modules/dialog/components/share-screen-selection/index.d.ts +4 -0
- package/lib/modules/dialog/components/share-screen-selection/index.js +42 -0
- package/lib/modules/dialog/components/whiteboard/index.d.ts +4 -0
- package/lib/modules/dialog/components/whiteboard/index.js +74 -0
- package/lib/modules/dialog/context.d.ts +3 -0
- package/lib/modules/dialog/context.js +9 -0
- package/lib/modules/dialog/dialogs.d.ts +11 -0
- package/lib/modules/dialog/dialogs.js +376 -0
- package/lib/modules/dialog/index.css +55 -0
- package/lib/modules/dialog/index.d.ts +29 -0
- package/lib/modules/dialog/index.js +80 -0
- package/lib/modules/dialog/store.d.ts +82 -0
- package/lib/modules/dialog/store.js +525 -0
- package/lib/modules/dialog/view.d.ts +5 -0
- package/lib/modules/dialog/view.js +30 -0
- package/lib/modules/event-toast/context.d.ts +3 -0
- package/lib/modules/event-toast/context.js +9 -0
- package/lib/modules/event-toast/index.d.ts +10 -0
- package/lib/modules/event-toast/index.js +41 -0
- package/lib/modules/event-toast/store.d.ts +9 -0
- package/lib/modules/event-toast/store.js +76 -0
- package/lib/modules/event-toast/view.d.ts +1 -0
- package/lib/modules/event-toast/view.js +14 -0
- package/lib/modules/invite/context.d.ts +3 -0
- package/lib/modules/invite/context.js +9 -0
- package/lib/modules/invite/index.css +318 -0
- package/lib/modules/invite/index.d.ts +13 -0
- package/lib/modules/invite/index.js +51 -0
- package/lib/modules/invite/pstn-invite.d.ts +2 -0
- package/lib/modules/invite/pstn-invite.js +271 -0
- package/lib/modules/invite/store.d.ts +71 -0
- package/lib/modules/invite/store.js +472 -0
- package/lib/modules/invite/view.d.ts +1 -0
- package/lib/modules/invite/view.js +47 -0
- package/lib/modules/invite/voip-invite.d.ts +1 -0
- package/lib/modules/invite/voip-invite.js +294 -0
- package/lib/modules/layout/components/Aside.d.ts +6 -0
- package/lib/modules/layout/components/Aside.js +144 -0
- package/lib/modules/layout/components/Carousel.d.ts +1 -0
- package/lib/modules/layout/components/Carousel.js +271 -0
- package/lib/modules/layout/components/Gallery.d.ts +1 -0
- package/lib/modules/layout/components/Gallery.js +360 -0
- package/lib/modules/layout/components/Layout.d.ts +2 -0
- package/lib/modules/layout/components/Layout.js +160 -0
- package/lib/modules/layout/components/UserWindow.d.ts +8 -0
- package/lib/modules/layout/components/UserWindow.js +513 -0
- package/lib/modules/layout/components/index.css +608 -0
- package/lib/modules/layout/components/index.d.ts +5 -0
- package/lib/modules/layout/components/index.js +55 -0
- package/lib/modules/layout/components/utils.d.ts +1 -0
- package/lib/modules/layout/components/utils.js +10 -0
- package/lib/modules/layout/context.d.ts +3 -0
- package/lib/modules/layout/context.js +9 -0
- package/lib/modules/layout/hooks.d.ts +14 -0
- package/lib/modules/layout/hooks.js +48 -0
- package/lib/modules/layout/index.css +27 -0
- package/lib/modules/layout/index.d.ts +10 -0
- package/lib/modules/layout/index.dev.d.ts +1 -0
- package/lib/modules/layout/index.dev.js +378 -0
- package/lib/modules/layout/index.js +72 -0
- package/lib/modules/layout/member-window/index.css +321 -0
- package/lib/modules/layout/member-window/index.d.ts +66 -0
- package/lib/modules/layout/member-window/index.js +730 -0
- package/lib/modules/layout/store.d.ts +176 -0
- package/lib/modules/layout/store.js +1278 -0
- package/lib/modules/layout/type.d.ts +64 -0
- package/lib/modules/layout/type.js +52 -0
- package/lib/modules/layout/video-window-datasource.d.ts +119 -0
- package/lib/modules/layout/video-window-datasource.js +1031 -0
- package/lib/modules/layout/view.d.ts +2 -0
- package/lib/modules/layout/view.js +10 -0
- package/lib/modules/live-streaming/context.d.ts +3 -0
- package/lib/modules/live-streaming/context.js +9 -0
- package/lib/modules/live-streaming/index.css +0 -0
- package/lib/modules/live-streaming/index.d.ts +13 -0
- package/lib/modules/live-streaming/index.dev.d.ts +1 -0
- package/lib/modules/live-streaming/index.dev.js +59 -0
- package/lib/modules/live-streaming/index.js +76 -0
- package/lib/modules/live-streaming/store.d.ts +38 -0
- package/lib/modules/live-streaming/store.js +360 -0
- package/lib/modules/live-streaming/view.d.ts +1 -0
- package/lib/modules/live-streaming/view.js +33 -0
- package/lib/modules/participant/attendee/index.css +14 -0
- package/lib/modules/participant/attendee/index.d.ts +19 -0
- package/lib/modules/participant/attendee/index.js +280 -0
- package/lib/modules/participant/attendee/participants-more-action.d.ts +18 -0
- package/lib/modules/participant/attendee/participants-more-action.js +275 -0
- package/lib/modules/participant/attendee/user-more-actions.d.ts +22 -0
- package/lib/modules/participant/attendee/user-more-actions.js +76 -0
- package/lib/modules/participant/can-moveable/index.d.ts +1 -0
- package/lib/modules/participant/can-moveable/index.js +68 -0
- package/lib/modules/participant/context.d.ts +3 -0
- package/lib/modules/participant/context.js +9 -0
- package/lib/modules/participant/index.css +58 -0
- package/lib/modules/participant/index.d.ts +25 -0
- package/lib/modules/participant/index.dev.d.ts +1 -0
- package/lib/modules/participant/index.dev.js +98 -0
- package/lib/modules/participant/index.js +93 -0
- package/lib/modules/participant/member-list-data-source.d.ts +28 -0
- package/lib/modules/participant/member-list-data-source.js +261 -0
- package/lib/modules/participant/room-control-drop-menu/index.css +19 -0
- package/lib/modules/participant/room-control-drop-menu/index.d.ts +2 -0
- package/lib/modules/participant/room-control-drop-menu/index.js +154 -0
- package/lib/modules/participant/store.d.ts +145 -0
- package/lib/modules/participant/store.js +1334 -0
- package/lib/modules/participant/type.d.ts +34 -0
- package/lib/modules/participant/type.js +22 -0
- package/lib/modules/participant/view.d.ts +11 -0
- package/lib/modules/participant/view.js +260 -0
- package/lib/modules/setting/audio-settings/audio-settings.d.ts +4 -0
- package/lib/modules/setting/audio-settings/audio-settings.js +303 -0
- package/lib/modules/setting/audio-settings/index.css +144 -0
- package/lib/modules/setting/common/advance-link.d.ts +3 -0
- package/lib/modules/setting/common/advance-link.js +27 -0
- package/lib/modules/setting/common/index.css +26 -0
- package/lib/modules/setting/common/useNamespace.d.ts +15 -0
- package/lib/modules/setting/common/useNamespace.js +66 -0
- package/lib/modules/setting/config.d.ts +16 -0
- package/lib/modules/setting/config.js +17 -0
- package/lib/modules/setting/context.d.ts +3 -0
- package/lib/modules/setting/context.js +9 -0
- package/lib/modules/setting/dialog-wrapper.d.ts +2 -0
- package/lib/modules/setting/dialog-wrapper.js +110 -0
- package/lib/modules/setting/general-settings/general-settings.d.ts +4 -0
- package/lib/modules/setting/general-settings/general-settings.js +66 -0
- package/lib/modules/setting/general-settings/index.css +26 -0
- package/lib/modules/setting/index.css +115 -0
- package/lib/modules/setting/index.d.ts +21 -0
- package/lib/modules/setting/index.dev.d.ts +1 -0
- package/lib/modules/setting/index.dev.js +71 -0
- package/lib/modules/setting/index.js +81 -0
- package/lib/modules/setting/state/index.css +211 -0
- package/lib/modules/setting/state/index.d.ts +4 -0
- package/lib/modules/setting/state/index.js +331 -0
- package/lib/modules/setting/storage-settings/index.css +91 -0
- package/lib/modules/setting/storage-settings/storage-settings.d.ts +3 -0
- package/lib/modules/setting/storage-settings/storage-settings.js +84 -0
- package/lib/modules/setting/store.d.ts +213 -0
- package/lib/modules/setting/store.js +1125 -0
- package/lib/modules/setting/video-settings/index.css +339 -0
- package/lib/modules/setting/video-settings/video-settings-basic.d.ts +9 -0
- package/lib/modules/setting/video-settings/video-settings-basic.js +160 -0
- package/lib/modules/setting/video-settings/video-settings.d.ts +10 -0
- package/lib/modules/setting/video-settings/video-settings.js +191 -0
- package/lib/modules/setting/view.d.ts +10 -0
- package/lib/modules/setting/view.js +139 -0
- package/lib/modules/share-screen/context.d.ts +3 -0
- package/lib/modules/share-screen/context.js +9 -0
- package/lib/modules/share-screen/index.css +0 -0
- package/lib/modules/share-screen/index.d.ts +26 -0
- package/lib/modules/share-screen/index.dev.d.ts +1 -0
- package/lib/modules/share-screen/index.dev.js +96 -0
- package/lib/modules/share-screen/index.js +171 -0
- package/lib/modules/share-screen/selection/index.css +66 -0
- package/lib/modules/share-screen/selection/index.d.ts +9 -0
- package/lib/modules/share-screen/selection/index.js +224 -0
- package/lib/modules/share-screen/share-state-bar/index.css +38 -0
- package/lib/modules/share-screen/share-state-bar/index.d.ts +5 -0
- package/lib/modules/share-screen/share-state-bar/index.js +67 -0
- package/lib/modules/share-screen/store.d.ts +132 -0
- package/lib/modules/share-screen/store.js +1714 -0
- package/lib/modules/share-screen/view.d.ts +2 -0
- package/lib/modules/share-screen/view.js +45 -0
- package/lib/modules/state-bar/assets/fcr_grid_big.svg +3 -0
- package/lib/modules/state-bar/assets/fcr_listontop_big.svg +3 -0
- package/lib/modules/state-bar/assets/live-streaming.gif +0 -0
- package/lib/modules/state-bar/context.d.ts +3 -0
- package/lib/modules/state-bar/context.js +9 -0
- package/lib/modules/state-bar/index.css +630 -0
- package/lib/modules/state-bar/index.d.ts +18 -0
- package/lib/modules/state-bar/index.dev.d.ts +1 -0
- package/lib/modules/state-bar/index.dev.js +82 -0
- package/lib/modules/state-bar/index.js +69 -0
- package/lib/modules/state-bar/layout-config.d.ts +5 -0
- package/lib/modules/state-bar/layout-config.js +151 -0
- package/lib/modules/state-bar/live-streaming-state.d.ts +1 -0
- package/lib/modules/state-bar/live-streaming-state.js +199 -0
- package/lib/modules/state-bar/meeting-detail.css +107 -0
- package/lib/modules/state-bar/meeting-details.d.ts +2 -0
- package/lib/modules/state-bar/meeting-details.js +151 -0
- package/lib/modules/state-bar/meeting-network-state.css +131 -0
- package/lib/modules/state-bar/meeting-network-state.d.ts +2 -0
- package/lib/modules/state-bar/meeting-network-state.js +108 -0
- package/lib/modules/state-bar/meeting-time.d.ts +2 -0
- package/lib/modules/state-bar/meeting-time.js +49 -0
- package/lib/modules/state-bar/network-quality.d.ts +2 -0
- package/lib/modules/state-bar/network-quality.js +33 -0
- package/lib/modules/state-bar/recording.d.ts +1 -0
- package/lib/modules/state-bar/recording.js +110 -0
- package/lib/modules/state-bar/store.d.ts +70 -0
- package/lib/modules/state-bar/store.js +515 -0
- package/lib/modules/state-bar/view.d.ts +5 -0
- package/lib/modules/state-bar/view.js +182 -0
- package/lib/modules/video-window/context.d.ts +3 -0
- package/lib/modules/video-window/context.js +9 -0
- package/lib/modules/video-window/deviceState/index.d.ts +15 -0
- package/lib/modules/video-window/deviceState/index.js +77 -0
- package/lib/modules/video-window/index.css +17 -0
- package/lib/modules/video-window/index.d.ts +9 -0
- package/lib/modules/video-window/index.js +65 -0
- package/lib/modules/video-window/members/index.css +50 -0
- package/lib/modules/video-window/members/index.d.ts +2 -0
- package/lib/modules/video-window/members/index.js +134 -0
- package/lib/modules/video-window/speaking/index.css +69 -0
- package/lib/modules/video-window/speaking/index.d.ts +3 -0
- package/lib/modules/video-window/speaking/index.js +57 -0
- package/lib/modules/video-window/store.d.ts +88 -0
- package/lib/modules/video-window/store.js +598 -0
- package/lib/modules/video-window/topControl/index.css +35 -0
- package/lib/modules/video-window/topControl/index.d.ts +3 -0
- package/lib/modules/video-window/topControl/index.js +85 -0
- package/lib/modules/video-window/type.d.ts +23 -0
- package/lib/modules/video-window/type.js +32 -0
- package/lib/modules/video-window/view.d.ts +2 -0
- package/lib/modules/video-window/view.js +63 -0
- package/lib/modules/whiteboard/app.d.ts +2 -0
- package/lib/modules/whiteboard/app.js +55 -0
- package/lib/modules/whiteboard/components/control-bar/index.css +49 -0
- package/lib/modules/whiteboard/components/control-bar/index.d.ts +2 -0
- package/lib/modules/whiteboard/components/control-bar/index.js +163 -0
- package/lib/modules/whiteboard/components/control-bar/store.d.ts +36 -0
- package/lib/modules/whiteboard/components/control-bar/store.js +288 -0
- package/lib/modules/whiteboard/components/loading/index.css +76 -0
- package/lib/modules/whiteboard/components/loading/index.d.ts +2 -0
- package/lib/modules/whiteboard/components/loading/index.js +68 -0
- package/lib/modules/whiteboard/components/loading/loading.png +0 -0
- package/lib/modules/whiteboard/components/multi-window/index.css +63 -0
- package/lib/modules/whiteboard/components/multi-window/index.d.ts +5 -0
- package/lib/modules/whiteboard/components/multi-window/index.js +34 -0
- package/lib/modules/whiteboard/components/pagination/index.css +228 -0
- package/lib/modules/whiteboard/components/pagination/index.d.ts +15 -0
- package/lib/modules/whiteboard/components/pagination/index.js +163 -0
- package/lib/modules/whiteboard/components/pagination/store.d.ts +19 -0
- package/lib/modules/whiteboard/components/pagination/store.js +17 -0
- package/lib/modules/whiteboard/components/progress/electron.d.ts +1 -0
- package/lib/modules/whiteboard/components/progress/electron.js +32 -0
- package/lib/modules/whiteboard/components/progress/index.d.ts +5 -0
- package/lib/modules/whiteboard/components/progress/index.js +43 -0
- package/lib/modules/whiteboard/components/progress/style.css +50 -0
- package/lib/modules/whiteboard/components/scene-pagination.d.ts +1 -0
- package/lib/modules/whiteboard/components/scene-pagination.js +32 -0
- package/lib/modules/whiteboard/components/switch-theme/index.css +94 -0
- package/lib/modules/whiteboard/components/switch-theme/index.d.ts +2 -0
- package/lib/modules/whiteboard/components/switch-theme/index.js +77 -0
- package/lib/modules/whiteboard/components/switch-theme/item.d.ts +8 -0
- package/lib/modules/whiteboard/components/switch-theme/item.js +44 -0
- package/lib/modules/whiteboard/components/switch-theme/libs.d.ts +3 -0
- package/lib/modules/whiteboard/components/switch-theme/libs.js +28 -0
- package/lib/modules/whiteboard/components/toolbar/ style.css +588 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/color.d.ts +5 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/color.js +39 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/panel.d.ts +1 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/panel.js +105 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/picker.d.ts +1 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/picker.js +63 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/index.d.ts +2 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/index.js +44 -0
- package/lib/modules/whiteboard/components/toolbar/components/eraser-picker.d.ts +4 -0
- package/lib/modules/whiteboard/components/toolbar/components/eraser-picker.js +98 -0
- package/lib/modules/whiteboard/components/toolbar/components/extra-tool-picker.d.ts +1 -0
- package/lib/modules/whiteboard/components/toolbar/components/extra-tool-picker.js +59 -0
- package/lib/modules/whiteboard/components/toolbar/components/history.d.ts +2 -0
- package/lib/modules/whiteboard/components/toolbar/components/history.js +46 -0
- package/lib/modules/whiteboard/components/toolbar/components/icons/fold-icon.d.ts +2 -0
- package/lib/modules/whiteboard/components/toolbar/components/icons/fold-icon.js +41 -0
- package/lib/modules/whiteboard/components/toolbar/components/icons/move-icon.d.ts +1 -0
- package/lib/modules/whiteboard/components/toolbar/components/icons/move-icon.js +66 -0
- package/lib/modules/whiteboard/components/toolbar/components/move-handle.d.ts +5 -0
- package/lib/modules/whiteboard/components/toolbar/components/move-handle.js +131 -0
- package/lib/modules/whiteboard/components/toolbar/components/pen-picker.d.ts +4 -0
- package/lib/modules/whiteboard/components/toolbar/components/pen-picker.js +112 -0
- package/lib/modules/whiteboard/components/toolbar/components/screen-capture-picker.d.ts +4 -0
- package/lib/modules/whiteboard/components/toolbar/components/screen-capture-picker.js +74 -0
- package/lib/modules/whiteboard/components/toolbar/components/shape-picker.d.ts +4 -0
- package/lib/modules/whiteboard/components/toolbar/components/shape-picker.js +163 -0
- package/lib/modules/whiteboard/components/toolbar/hooks/index.d.ts +14 -0
- package/lib/modules/whiteboard/components/toolbar/hooks/index.js +211 -0
- package/lib/modules/whiteboard/components/toolbar/index.d.ts +2 -0
- package/lib/modules/whiteboard/components/toolbar/index.js +175 -0
- package/lib/modules/whiteboard/components/toolbar/store.d.ts +50 -0
- package/lib/modules/whiteboard/components/toolbar/store.js +224 -0
- package/lib/modules/whiteboard/context.d.ts +66 -0
- package/lib/modules/whiteboard/context.js +34 -0
- package/lib/modules/whiteboard/i18n/config.d.ts +1 -0
- package/lib/modules/whiteboard/i18n/config.js +15 -0
- package/lib/modules/whiteboard/i18n/en/index.d.ts +32 -0
- package/lib/modules/whiteboard/i18n/en/index.js +38 -0
- package/lib/modules/whiteboard/i18n/zh/index.d.ts +32 -0
- package/lib/modules/whiteboard/i18n/zh/index.js +38 -0
- package/lib/modules/whiteboard/index.d.ts +114 -0
- package/lib/modules/whiteboard/index.js +1082 -0
- package/lib/modules/whiteboard/style.css +142 -0
- package/lib/modules/whiteboard/type.d.ts +96 -0
- package/lib/modules/whiteboard/type.js +94 -0
- package/lib/modules/whiteboard/utils.d.ts +11 -0
- package/lib/modules/whiteboard/utils.js +25 -0
- package/lib/plugins/browser-runtime-plugin.d.ts +0 -0
- package/lib/plugins/browser-runtime-plugin.js +70 -0
- package/lib/plugins/css-preset-plugin.d.ts +1 -0
- package/lib/plugins/css-preset-plugin.js +22 -0
- package/lib/plugins/electron-rtc-plugin.d.ts +1 -0
- package/lib/plugins/electron-rtc-plugin.js +5 -0
- package/lib/plugins/module-dev-plugin.d.ts +12 -0
- package/lib/plugins/module-dev-plugin.js +181 -0
- package/lib/plugins/multi-lang-plugin.d.ts +5 -0
- package/lib/plugins/multi-lang-plugin.js +17 -0
- package/lib/plugins/rtm-plugin.d.ts +1 -0
- package/lib/plugins/rtm-plugin.js +5 -0
- package/lib/plugins/web-rtc-plugin.d.ts +1 -0
- package/lib/plugins/web-rtc-plugin.js +5 -0
- package/lib/translations/enUS.d.ts +993 -0
- package/lib/translations/enUS.js +1016 -0
- package/lib/translations/zhCN.d.ts +993 -0
- package/lib/translations/zhCN.js +1016 -0
- package/lib/type.d.ts +107 -0
- package/lib/type.js +42 -0
- package/lib/ui-manager.d.ts +17 -0
- package/lib/ui-manager.js +555 -0
- package/lib/ui-scene.d.ts +13 -0
- package/lib/ui-scene.js +142 -0
- package/lib/utilities/board-context.d.ts +5 -0
- package/lib/utilities/board-context.js +12 -0
- package/lib/utilities/constant.d.ts +248 -0
- package/lib/utilities/constant.js +232 -0
- package/lib/utilities/copyText.d.ts +2 -0
- package/lib/utilities/copyText.js +43 -0
- package/lib/utilities/default-config.d.ts +32 -0
- package/lib/utilities/default-config.js +39 -0
- package/lib/utilities/extract.d.ts +5 -0
- package/lib/utilities/extract.js +97 -0
- package/lib/utilities/hooks.d.ts +14 -0
- package/lib/utilities/hooks.js +99 -0
- package/lib/utilities/mute-action.d.ts +4 -0
- package/lib/utilities/mute-action.js +48 -0
- package/lib/utilities/parameters.d.ts +7 -0
- package/lib/utilities/parameters.js +20 -0
- package/lib/utilities/platform.d.ts +1 -0
- package/lib/utilities/platform.js +11 -0
- package/lib/utilities/regex.d.ts +1 -0
- package/lib/utilities/regex.js +14 -0
- package/lib/utilities/renderer-event.d.ts +9 -0
- package/lib/utilities/renderer-event.js +76 -0
- package/lib/utilities/renderer.d.ts +23 -0
- package/lib/utilities/renderer.js +109 -0
- package/lib/utilities/screen.d.ts +3 -0
- package/lib/utilities/screen.js +41 -0
- package/lib/utilities/tools.d.ts +25 -0
- package/lib/utilities/tools.js +164 -0
- package/lib/utilities/ui-resources.d.ts +2 -0
- package/lib/utilities/ui-resources.js +9 -0
- package/lib/utilities/useNamespace.d.ts +15 -0
- package/lib/utilities/useNamespace.js +66 -0
- package/lib/utilities/video-track-render-context.d.ts +8 -0
- package/lib/utilities/video-track-render-context.js +9 -0
- package/package.json +59 -84
- package/public/assets/fcr_chat_reddot.svg +5 -0
- package/public/assets/fcr_defaultpage.png +0 -0
- package/public/assets/fcr_grid_big.svg +3 -0
- package/public/assets/fcr_listontop_big.svg +3 -0
- package/public/assets/pretest.mp3 +0 -0
- package/public/assets/state-bar-logo.png +0 -0
- package/public/assets/step-gradient.svg +10 -0
- package/public/extensions/agora-extension-virtual-background/agora-wasm.wasm +0 -0
- package/public/extensions/ai-denoiser/denoiser-wasm-simd.wasm +0 -0
- package/public/extensions/ai-denoiser/denoiser-wasm.js +1 -0
- package/public/extensions/ai-denoiser/denoiser-wasm.wasm +0 -0
- package/public/index.html +26 -0
- package/.github/workflows/gitee-sync.yml +0 -27
- package/lib/fcr-ui-kit/src/components/avatar/helper.d.ts +0 -2
- package/lib/fcr-ui-kit/src/components/avatar/index.d.ts +0 -8
- package/lib/fcr-ui-kit/src/components/button/index.d.ts +0 -82
- package/lib/fcr-ui-kit/src/components/checkbox/index.d.ts +0 -12
- package/lib/fcr-ui-kit/src/components/dialog/class-dialog.d.ts +0 -51
- package/lib/fcr-ui-kit/src/components/dialog/confirm-dialog.d.ts +0 -70
- package/lib/fcr-ui-kit/src/components/dialog/global-dialog.d.ts +0 -11
- package/lib/fcr-ui-kit/src/components/dialog/index.d.ts +0 -68
- package/lib/fcr-ui-kit/src/components/dropdown/index.d.ts +0 -58
- package/lib/fcr-ui-kit/src/components/input/index.d.ts +0 -69
- package/lib/fcr-ui-kit/src/components/input-number/index.d.ts +0 -69
- package/lib/fcr-ui-kit/src/components/pagination/index.d.ts +0 -27
- package/lib/fcr-ui-kit/src/components/popover/index.d.ts +0 -47
- package/lib/fcr-ui-kit/src/components/progress/index.d.ts +0 -11
- package/lib/fcr-ui-kit/src/components/radio/index.d.ts +0 -21
- package/lib/fcr-ui-kit/src/components/slider/index.d.ts +0 -22
- package/lib/fcr-ui-kit/src/components/sound-player/index.d.ts +0 -6
- package/lib/fcr-ui-kit/src/components/svg-img/clickable-icon.d.ts +0 -25
- package/lib/fcr-ui-kit/src/components/svg-img/index.d.ts +0 -15
- package/lib/fcr-ui-kit/src/components/svg-img/mic.d.ts +0 -5
- package/lib/fcr-ui-kit/src/components/svg-img/svg-dict.d.ts +0 -12
- package/lib/fcr-ui-kit/src/components/svg-img/type.d.ts +0 -196
- package/lib/fcr-ui-kit/src/components/svga-player/index.d.ts +0 -15
- package/lib/fcr-ui-kit/src/components/svga-player/svga-types.d.ts +0 -1
- package/lib/fcr-ui-kit/src/components/table/index.d.ts +0 -9
- package/lib/fcr-ui-kit/src/components/tabs/index.d.ts +0 -14
- package/lib/fcr-ui-kit/src/components/textarea/helper.d.ts +0 -2
- package/lib/fcr-ui-kit/src/components/textarea/index.d.ts +0 -100
- package/lib/fcr-ui-kit/src/components/toast/index.d.ts +0 -122
- package/lib/fcr-ui-kit/src/components/tooltip/dialog.d.ts +0 -19
- package/lib/fcr-ui-kit/src/components/tooltip/index.d.ts +0 -89
- package/lib/fcr-ui-kit/src/components/tooltip/info.d.ts +0 -6
- package/lib/fcr-ui-kit/src/components/volume/index.d.ts +0 -8
- package/lib/fcr-ui-kit/src/utils/click-anywhere.d.ts +0 -1
- package/lib/fcr-ui-kit/src/utils/hooks/animations.d.ts +0 -14
- package/lib/fcr-ui-kit/src/utils/hooks/use-click-anywhere.d.ts +0 -2
- package/lib/fcr-ui-kit/src/utils/tailwindcss.d.ts +0 -3
- package/lib/fcr-ui-scene/src/app.d.ts +0 -5
- package/lib/fcr-ui-scene/src/configs/base-theme.d.ts +0 -391
- package/lib/fcr-ui-scene/src/configs/base-ui.d.ts +0 -12
- package/lib/fcr-ui-scene/src/configs/room-template.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/action-bar/chat/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/action-bar/cloud/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/action-bar/device/index.d.ts +0 -9
- package/lib/fcr-ui-scene/src/containers/action-bar/index.d.ts +0 -24
- package/lib/fcr-ui-scene/src/containers/action-bar/leave/index.d.ts +0 -4
- package/lib/fcr-ui-scene/src/containers/action-bar/participants/index.d.ts +0 -5
- package/lib/fcr-ui-scene/src/containers/action-bar/raise-hands/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/action-bar/record/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/action-bar/screen-share/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/action-bar/setting/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/action-bar/toolbox/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/action-bar/whiteboard/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/breakout-room/ask-help-list.d.ts +0 -10
- package/lib/fcr-ui-scene/src/containers/breakout-room/broadcast-panel.d.ts +0 -4
- package/lib/fcr-ui-scene/src/containers/breakout-room/create-panel.d.ts +0 -4
- package/lib/fcr-ui-scene/src/containers/breakout-room/group-info-panel.d.ts +0 -2
- package/lib/fcr-ui-scene/src/containers/breakout-room/group-panel.d.ts +0 -5
- package/lib/fcr-ui-scene/src/containers/breakout-room/group-status-panel.d.ts +0 -2
- package/lib/fcr-ui-scene/src/containers/breakout-room/grouping.d.ts +0 -15
- package/lib/fcr-ui-scene/src/containers/breakout-room/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/breakout-room/search-panel.d.ts +0 -5
- package/lib/fcr-ui-scene/src/containers/breakout-room/wizard.d.ts +0 -6
- package/lib/fcr-ui-scene/src/containers/cloud/dialog-header.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/cloud/index.d.ts +0 -6
- package/lib/fcr-ui-scene/src/containers/cloud/personal.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/cloud/public.d.ts +0 -4
- package/lib/fcr-ui-scene/src/containers/common/interact-labels.d.ts +0 -6
- package/lib/fcr-ui-scene/src/containers/device-pretest/basic-settings.d.ts +0 -4
- package/lib/fcr-ui-scene/src/containers/device-pretest/beauty-filter.d.ts +0 -2
- package/lib/fcr-ui-scene/src/containers/device-pretest/beauty-slider.d.ts +0 -2
- package/lib/fcr-ui-scene/src/containers/device-pretest/device-select.d.ts +0 -4
- package/lib/fcr-ui-scene/src/containers/device-pretest/index.d.ts +0 -4
- package/lib/fcr-ui-scene/src/containers/device-pretest/mirror-toggle.d.ts +0 -4
- package/lib/fcr-ui-scene/src/containers/device-pretest/video-portal.d.ts +0 -2
- package/lib/fcr-ui-scene/src/containers/device-pretest/virtual-background.d.ts +0 -4
- package/lib/fcr-ui-scene/src/containers/device-settings/audio-settings.d.ts +0 -2
- package/lib/fcr-ui-scene/src/containers/device-settings/dialog-wrapper.d.ts +0 -2
- package/lib/fcr-ui-scene/src/containers/device-settings/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/device-settings/video-settings.d.ts +0 -2
- package/lib/fcr-ui-scene/src/containers/dialog/class-info.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/dialog/confirm.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/dialog/index.d.ts +0 -2
- package/lib/fcr-ui-scene/src/containers/layout/cover-view.d.ts +0 -2
- package/lib/fcr-ui-scene/src/containers/layout/gallery-view.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/layout/presentation-view.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/loading/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/participants/dialog.d.ts +0 -2
- package/lib/fcr-ui-scene/src/containers/participants/index.d.ts +0 -5
- package/lib/fcr-ui-scene/src/containers/status-bar/class-duration/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/status-bar/fullscreen/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/status-bar/index.d.ts +0 -4
- package/lib/fcr-ui-scene/src/containers/status-bar/layout-switch/index.d.ts +0 -22
- package/lib/fcr-ui-scene/src/containers/status-bar/network/index.d.ts +0 -4
- package/lib/fcr-ui-scene/src/containers/status-bar/record-status/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/status-bar/room-info/index.d.ts +0 -4
- package/lib/fcr-ui-scene/src/containers/status-bar/share/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/status-bar/widgets/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/stream-window/context.d.ts +0 -52
- package/lib/fcr-ui-scene/src/containers/video-player/index.d.ts +0 -2
- package/lib/fcr-ui-scene/src/containers/video-player/players.d.ts +0 -2
- package/lib/fcr-ui-scene/src/containers/widget/break-out-room/index.d.ts +0 -2
- package/lib/fcr-ui-scene/src/containers/widget/draggable-wrapper/index.d.ts +0 -7
- package/lib/fcr-ui-scene/src/containers/widget/helpers.d.ts +0 -40
- package/lib/fcr-ui-scene/src/containers/widget/hooks.d.ts +0 -21
- package/lib/fcr-ui-scene/src/containers/widget/index.d.ts +0 -7
- package/lib/fcr-ui-scene/src/containers/widget/participants/index.d.ts +0 -2
- package/lib/fcr-ui-scene/src/extension/board.d.ts +0 -73
- package/lib/fcr-ui-scene/src/extension/edu-tool.d.ts +0 -57
- package/lib/fcr-ui-scene/src/extension/events.d.ts +0 -91
- package/lib/fcr-ui-scene/src/extension/type.d.ts +0 -94
- package/lib/fcr-ui-scene/src/index.d.ts +0 -39
- package/lib/fcr-ui-scene/src/lock.d.ts +0 -8
- package/lib/fcr-ui-scene/src/preset.d.ts +0 -1
- package/lib/fcr-ui-scene/src/resources/translations/enUs.d.ts +0 -400
- package/lib/fcr-ui-scene/src/resources/translations/zhCn.d.ts +0 -405
- package/lib/fcr-ui-scene/src/scenarios/classroom.d.ts +0 -2
- package/lib/fcr-ui-scene/src/scenarios/layout/index.d.ts +0 -2
- package/lib/fcr-ui-scene/src/type.d.ts +0 -361
- package/lib/fcr-ui-scene/src/uistores/action-bar.d.ts +0 -58
- package/lib/fcr-ui-scene/src/uistores/base.d.ts +0 -58
- package/lib/fcr-ui-scene/src/uistores/breakout.d.ts +0 -225
- package/lib/fcr-ui-scene/src/uistores/cloud/helper.d.ts +0 -26
- package/lib/fcr-ui-scene/src/uistores/cloud/index.d.ts +0 -51
- package/lib/fcr-ui-scene/src/uistores/cloud/struct.d.ts +0 -131
- package/lib/fcr-ui-scene/src/uistores/context.d.ts +0 -7
- package/lib/fcr-ui-scene/src/uistores/device-setting.d.ts +0 -222
- package/lib/fcr-ui-scene/src/uistores/gallery-view.d.ts +0 -16
- package/lib/fcr-ui-scene/src/uistores/getters.d.ts +0 -42
- package/lib/fcr-ui-scene/src/uistores/index.d.ts +0 -47
- package/lib/fcr-ui-scene/src/uistores/layout.d.ts +0 -64
- package/lib/fcr-ui-scene/src/uistores/notification.d.ts +0 -9
- package/lib/fcr-ui-scene/src/uistores/participants.d.ts +0 -48
- package/lib/fcr-ui-scene/src/uistores/presentation-view.d.ts +0 -24
- package/lib/fcr-ui-scene/src/uistores/status-bar.d.ts +0 -47
- package/lib/fcr-ui-scene/src/uistores/stream.d.ts +0 -48
- package/lib/fcr-ui-scene/src/uistores/subscription/abstract.d.ts +0 -45
- package/lib/fcr-ui-scene/src/uistores/subscription/index.d.ts +0 -13
- package/lib/fcr-ui-scene/src/uistores/subscription/main-room.d.ts +0 -14
- package/lib/fcr-ui-scene/src/uistores/subscription/type.d.ts +0 -10
- package/lib/fcr-ui-scene/src/uistores/type.d.ts +0 -86
- package/lib/fcr-ui-scene/src/uistores/widget.d.ts +0 -49
- package/lib/fcr-ui-scene/src/utils/asset.d.ts +0 -1
- package/lib/fcr-ui-scene/src/utils/check.d.ts +0 -7
- package/lib/fcr-ui-scene/src/utils/clamp-bounds.d.ts +0 -14
- package/lib/fcr-ui-scene/src/utils/config-loader.d.ts +0 -7
- package/lib/fcr-ui-scene/src/utils/grid/index.d.ts +0 -9
- package/lib/fcr-ui-scene/src/utils/hooks/use-authorization.d.ts +0 -5
- package/lib/fcr-ui-scene/src/utils/hooks/use-device-switch.d.ts +0 -29
- package/lib/fcr-ui-scene/src/utils/hooks/use-drag-position.d.ts +0 -21
- package/lib/fcr-ui-scene/src/utils/hooks/use-network.d.ts +0 -17
- package/lib/fcr-ui-scene/src/utils/hooks/use-pin-stream.d.ts +0 -4
- package/lib/fcr-ui-scene/src/utils/hooks/use-rnd-position.d.ts +0 -24
- package/lib/fcr-ui-scene/src/utils/hooks/use-store.d.ts +0 -1
- package/lib/fcr-ui-scene/src/utils/hooks/use-video-renderable.d.ts +0 -3
- package/lib/fcr-ui-scene/src/utils/hooks/use-z-index.d.ts +0 -8
- package/lib/fcr-ui-scene/src/utils/index.d.ts +0 -7
- package/lib/fcr-ui-scene/src/utils/launch-options-holder.d.ts +0 -10
- package/lib/fcr-ui-scene/src/utils/rtc-extensions.d.ts +0 -29
- package/lib/fcr-ui-scene/src/utils/short-name.d.ts +0 -1
- package/lib/fcr-ui-scene/src/utils/stream/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/utils/stream/state-keeper.d.ts +0 -18
- package/lib/fcr-ui-scene/src/utils/stream/struct.d.ts +0 -67
- package/lib/fcr-ui-scene/src/utils/vsd-pattern.d.ts +0 -1
- package/lib/fcr-ui-scene/src/utils/z-index-controller.d.ts +0 -9
- package/lib/fcr-ui-scene/tailwind.config.d.ts +0 -1
- package/lib/scene.bundle.js +0 -2
- /package/lib/{fcr-ui-scene/src/containers/video-player/tools-overlay.d.ts → fragments/toolbar/components/extension-toolbar-item.d.ts} +0 -0
|
@@ -0,0 +1,326 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("core-js/modules/es.symbol.js");
|
|
4
|
+
require("core-js/modules/es.symbol.description.js");
|
|
5
|
+
require("core-js/modules/es.symbol.to-primitive.js");
|
|
6
|
+
require("core-js/modules/es.error.cause.js");
|
|
7
|
+
require("core-js/modules/es.error.to-string.js");
|
|
8
|
+
require("core-js/modules/es.array.is-array.js");
|
|
9
|
+
require("core-js/modules/es.array.push.js");
|
|
10
|
+
require("core-js/modules/es.date.to-primitive.js");
|
|
11
|
+
require("core-js/modules/es.function.bind.js");
|
|
12
|
+
require("core-js/modules/es.function.name.js");
|
|
13
|
+
require("core-js/modules/es.map.js");
|
|
14
|
+
require("core-js/modules/es.number.constructor.js");
|
|
15
|
+
require("core-js/modules/es.object.create.js");
|
|
16
|
+
require("core-js/modules/es.object.define-property.js");
|
|
17
|
+
require("core-js/modules/es.object.get-own-property-descriptor.js");
|
|
18
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
19
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
20
|
+
Object.defineProperty(exports, "__esModule", {
|
|
21
|
+
value: true
|
|
22
|
+
});
|
|
23
|
+
exports["default"] = void 0;
|
|
24
|
+
require("core-js/modules/es.array.filter.js");
|
|
25
|
+
require("core-js/modules/es.array.includes.js");
|
|
26
|
+
require("core-js/modules/es.array.iterator.js");
|
|
27
|
+
require("core-js/modules/es.object.to-string.js");
|
|
28
|
+
require("core-js/modules/es.string.includes.js");
|
|
29
|
+
require("core-js/modules/es.string.iterator.js");
|
|
30
|
+
require("core-js/modules/es.weak-map.js");
|
|
31
|
+
require("core-js/modules/web.dom-collections.iterator.js");
|
|
32
|
+
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
33
|
+
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
34
|
+
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
35
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
36
|
+
var _logger = require("agora-foundation/lib/logger");
|
|
37
|
+
var _mobx = require("mobx");
|
|
38
|
+
var _constant = require("../../utilities/constant");
|
|
39
|
+
var _rendererEvent = require("../../utilities/renderer-event");
|
|
40
|
+
var _ParticipantStore;
|
|
41
|
+
var _initProto, _init_attendeeList, _init_searchKeyword, _init_currentPerspectiveType, _init_allowChangeSelfName, _init_allowChat, _init_allowJoinWithMuteAudio, _init_allowShareScreen, _init_allowUnmuteSelfVideo, _init_allowUnmuteSelfAudio, _init_isLockRoomEnabled, _init_isWaitingRoomEnabled, _init_showSecurity, _init_isHost, _initParticipantListDecs, _enableLockRoomDecs, _setCurrentPerspectiveTypeDecs, _setParticipantListDecs, _onSearchUserDecs, _handlerRoomControlActionDecs, _setAllowChangeSelfNameDecs, _setAllowChatDecs, _setAllowJoinWithMuteAudioDecs, _setAllowShareScreenDecs, _setAllowUnmuteSelfVideoDecs, _setAllowUnmuteSelfAudioDecs, _setLockRoomEnabledDecs, _setWaitingRoomEnabledDecs, _ref;
|
|
42
|
+
function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
|
|
43
|
+
function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
|
|
44
|
+
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
|
45
|
+
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
|
46
|
+
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"); }
|
|
47
|
+
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)]; } }; }
|
|
48
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
49
|
+
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); }
|
|
50
|
+
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; }
|
|
51
|
+
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; }
|
|
52
|
+
var _A = /*#__PURE__*/new WeakMap();
|
|
53
|
+
var _B = /*#__PURE__*/new WeakMap();
|
|
54
|
+
var _C = /*#__PURE__*/new WeakMap();
|
|
55
|
+
var _D = /*#__PURE__*/new WeakMap();
|
|
56
|
+
var _E = /*#__PURE__*/new WeakMap();
|
|
57
|
+
var _F = /*#__PURE__*/new WeakMap();
|
|
58
|
+
var _G = /*#__PURE__*/new WeakMap();
|
|
59
|
+
var _H = /*#__PURE__*/new WeakMap();
|
|
60
|
+
var _I = /*#__PURE__*/new WeakMap();
|
|
61
|
+
var _J = /*#__PURE__*/new WeakMap();
|
|
62
|
+
var _K = /*#__PURE__*/new WeakMap();
|
|
63
|
+
var _L = /*#__PURE__*/new WeakMap();
|
|
64
|
+
var _M = /*#__PURE__*/new WeakMap();
|
|
65
|
+
_ref = (_initParticipantListDecs = [_mobx.action, _mobx.action.bound], _enableLockRoomDecs = [_mobx.action, _mobx.action.bound], _setCurrentPerspectiveTypeDecs = [_mobx.action, _mobx.action.bound], _setParticipantListDecs = [_mobx.action, _mobx.action.bound], _onSearchUserDecs = [_mobx.action, _mobx.action.bound], _handlerRoomControlActionDecs = [_mobx.action, _mobx.action.bound], _setAllowChangeSelfNameDecs = [_mobx.action, _mobx.action.bound], _setAllowChatDecs = [_mobx.action, _mobx.action.bound], _setAllowJoinWithMuteAudioDecs = [_mobx.action, _mobx.action.bound], _setAllowShareScreenDecs = [_mobx.action, _mobx.action.bound], _setAllowUnmuteSelfVideoDecs = [_mobx.action, _mobx.action.bound], _setAllowUnmuteSelfAudioDecs = [_mobx.action, _mobx.action.bound], _setLockRoomEnabledDecs = [_mobx.action, _mobx.action.bound], _setWaitingRoomEnabledDecs = [_mobx.action, _mobx.action.bound], "logger");
|
|
66
|
+
var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
67
|
+
function ParticipantStore() {
|
|
68
|
+
(0, _classCallCheck2["default"])(this, ParticipantStore);
|
|
69
|
+
(0, _defineProperty2["default"])(this, _ref, (_initProto(this), (0, _logger.getLogger)()));
|
|
70
|
+
_classPrivateFieldInitSpec(this, _A, _init_attendeeList(this, []));
|
|
71
|
+
_classPrivateFieldInitSpec(this, _B, _init_searchKeyword(this, ''));
|
|
72
|
+
_classPrivateFieldInitSpec(this, _C, _init_currentPerspectiveType(this, 'attendee'));
|
|
73
|
+
_classPrivateFieldInitSpec(this, _D, _init_allowChangeSelfName(this, false));
|
|
74
|
+
_classPrivateFieldInitSpec(this, _E, _init_allowChat(this, false));
|
|
75
|
+
_classPrivateFieldInitSpec(this, _F, _init_allowJoinWithMuteAudio(this, false));
|
|
76
|
+
_classPrivateFieldInitSpec(this, _G, _init_allowShareScreen(this, false));
|
|
77
|
+
_classPrivateFieldInitSpec(this, _H, _init_allowUnmuteSelfVideo(this, false));
|
|
78
|
+
_classPrivateFieldInitSpec(this, _I, _init_allowUnmuteSelfAudio(this, false));
|
|
79
|
+
_classPrivateFieldInitSpec(this, _J, _init_isLockRoomEnabled(this, false));
|
|
80
|
+
_classPrivateFieldInitSpec(this, _K, _init_isWaitingRoomEnabled(this, false));
|
|
81
|
+
_classPrivateFieldInitSpec(this, _L, _init_showSecurity(this, false));
|
|
82
|
+
_classPrivateFieldInitSpec(this, _M, _init_isHost(this, false));
|
|
83
|
+
}
|
|
84
|
+
return (0, _createClass2["default"])(ParticipantStore, [{
|
|
85
|
+
key: "attendeeList",
|
|
86
|
+
get: function get() {
|
|
87
|
+
return _classPrivateFieldGet(_A, this);
|
|
88
|
+
},
|
|
89
|
+
set: function set(v) {
|
|
90
|
+
_classPrivateFieldSet(_A, this, v);
|
|
91
|
+
}
|
|
92
|
+
}, {
|
|
93
|
+
key: "searchKeyword",
|
|
94
|
+
get: function get() {
|
|
95
|
+
return _classPrivateFieldGet(_B, this);
|
|
96
|
+
},
|
|
97
|
+
set: function set(v) {
|
|
98
|
+
_classPrivateFieldSet(_B, this, v);
|
|
99
|
+
}
|
|
100
|
+
}, {
|
|
101
|
+
key: "currentPerspectiveType",
|
|
102
|
+
get: function get() {
|
|
103
|
+
return _classPrivateFieldGet(_C, this);
|
|
104
|
+
},
|
|
105
|
+
set: function set(v) {
|
|
106
|
+
_classPrivateFieldSet(_C, this, v);
|
|
107
|
+
}
|
|
108
|
+
}, {
|
|
109
|
+
key: "allowChangeSelfName",
|
|
110
|
+
get: function get() {
|
|
111
|
+
return _classPrivateFieldGet(_D, this);
|
|
112
|
+
},
|
|
113
|
+
set: function set(v) {
|
|
114
|
+
_classPrivateFieldSet(_D, this, v);
|
|
115
|
+
}
|
|
116
|
+
}, {
|
|
117
|
+
key: "allowChat",
|
|
118
|
+
get: function get() {
|
|
119
|
+
return _classPrivateFieldGet(_E, this);
|
|
120
|
+
},
|
|
121
|
+
set: function set(v) {
|
|
122
|
+
_classPrivateFieldSet(_E, this, v);
|
|
123
|
+
}
|
|
124
|
+
}, {
|
|
125
|
+
key: "allowJoinWithMuteAudio",
|
|
126
|
+
get: function get() {
|
|
127
|
+
return _classPrivateFieldGet(_F, this);
|
|
128
|
+
},
|
|
129
|
+
set: function set(v) {
|
|
130
|
+
_classPrivateFieldSet(_F, this, v);
|
|
131
|
+
}
|
|
132
|
+
}, {
|
|
133
|
+
key: "allowShareScreen",
|
|
134
|
+
get: function get() {
|
|
135
|
+
return _classPrivateFieldGet(_G, this);
|
|
136
|
+
},
|
|
137
|
+
set: function set(v) {
|
|
138
|
+
_classPrivateFieldSet(_G, this, v);
|
|
139
|
+
}
|
|
140
|
+
}, {
|
|
141
|
+
key: "allowUnmuteSelfVideo",
|
|
142
|
+
get: function get() {
|
|
143
|
+
return _classPrivateFieldGet(_H, this);
|
|
144
|
+
},
|
|
145
|
+
set: function set(v) {
|
|
146
|
+
_classPrivateFieldSet(_H, this, v);
|
|
147
|
+
}
|
|
148
|
+
}, {
|
|
149
|
+
key: "allowUnmuteSelfAudio",
|
|
150
|
+
get: function get() {
|
|
151
|
+
return _classPrivateFieldGet(_I, this);
|
|
152
|
+
},
|
|
153
|
+
set: function set(v) {
|
|
154
|
+
_classPrivateFieldSet(_I, this, v);
|
|
155
|
+
}
|
|
156
|
+
}, {
|
|
157
|
+
key: "isLockRoomEnabled",
|
|
158
|
+
get: function get() {
|
|
159
|
+
return _classPrivateFieldGet(_J, this);
|
|
160
|
+
},
|
|
161
|
+
set: function set(v) {
|
|
162
|
+
_classPrivateFieldSet(_J, this, v);
|
|
163
|
+
}
|
|
164
|
+
}, {
|
|
165
|
+
key: "isWaitingRoomEnabled",
|
|
166
|
+
get: function get() {
|
|
167
|
+
return _classPrivateFieldGet(_K, this);
|
|
168
|
+
},
|
|
169
|
+
set: function set(v) {
|
|
170
|
+
_classPrivateFieldSet(_K, this, v);
|
|
171
|
+
}
|
|
172
|
+
}, {
|
|
173
|
+
key: "showSecurity",
|
|
174
|
+
get: function get() {
|
|
175
|
+
return _classPrivateFieldGet(_L, this);
|
|
176
|
+
},
|
|
177
|
+
set: function set(v) {
|
|
178
|
+
_classPrivateFieldSet(_L, this, v);
|
|
179
|
+
}
|
|
180
|
+
}, {
|
|
181
|
+
key: "isHost",
|
|
182
|
+
get: function get() {
|
|
183
|
+
return _classPrivateFieldGet(_M, this);
|
|
184
|
+
},
|
|
185
|
+
set: function set(v) {
|
|
186
|
+
_classPrivateFieldSet(_M, this, v);
|
|
187
|
+
}
|
|
188
|
+
}, {
|
|
189
|
+
key: "initParticipantList",
|
|
190
|
+
value: function initParticipantList(payload) {
|
|
191
|
+
console.log('initParticipantList payload', payload);
|
|
192
|
+
this.setParticipantList(payload.userList);
|
|
193
|
+
this.setCurrentPerspectiveType(payload.perspectiveType);
|
|
194
|
+
this.enableLockRoom(payload.isLockRoomEnabled);
|
|
195
|
+
// security
|
|
196
|
+
this.setAllowChangeSelfName(payload.allowChangeSelfName);
|
|
197
|
+
this.setAllowChat(payload.allowChat);
|
|
198
|
+
this.setAllowJoinWithMuteAudio(payload.allowJoinWithMuteAudio);
|
|
199
|
+
this.setAllowShareScreen(payload.allowShareScreen);
|
|
200
|
+
this.setAllowUnmuteSelfVideo(payload.allowUnmuteSelfVideo);
|
|
201
|
+
this.setAllowUnmuteSelfAudio(payload.allowUnmuteSelfAudio);
|
|
202
|
+
this.setLockRoomEnabled(payload.isLockRoomEnabled);
|
|
203
|
+
this.setWaitingRoomEnabled(payload.isWaitingRoomEnabled);
|
|
204
|
+
}
|
|
205
|
+
}, {
|
|
206
|
+
key: "enableLockRoom",
|
|
207
|
+
value: function enableLockRoom(isLockRoomEnabled) {
|
|
208
|
+
this.isLockRoomEnabled = isLockRoomEnabled;
|
|
209
|
+
}
|
|
210
|
+
}, {
|
|
211
|
+
key: "userList",
|
|
212
|
+
get: function get() {
|
|
213
|
+
var _this = this;
|
|
214
|
+
if (this.searchKeyword) {
|
|
215
|
+
return this.attendeeList.filter(function (user) {
|
|
216
|
+
return user.userName.toLocaleLowerCase().includes(_this.searchKeyword.toLocaleLowerCase());
|
|
217
|
+
});
|
|
218
|
+
}
|
|
219
|
+
return this.attendeeList;
|
|
220
|
+
}
|
|
221
|
+
}, {
|
|
222
|
+
key: "setCurrentPerspectiveType",
|
|
223
|
+
value: function setCurrentPerspectiveType(perspectiveType) {
|
|
224
|
+
this.currentPerspectiveType = perspectiveType;
|
|
225
|
+
}
|
|
226
|
+
}, {
|
|
227
|
+
key: "setParticipantList",
|
|
228
|
+
value: function setParticipantList(payload) {
|
|
229
|
+
console.log('get userList payload', payload);
|
|
230
|
+
this.attendeeList = payload;
|
|
231
|
+
}
|
|
232
|
+
}, {
|
|
233
|
+
key: "onSearchUser",
|
|
234
|
+
value: function onSearchUser(keyword) {
|
|
235
|
+
this.searchKeyword = keyword;
|
|
236
|
+
}
|
|
237
|
+
}, {
|
|
238
|
+
key: "handlerUserAction",
|
|
239
|
+
value: function handlerUserAction(action, userId) {
|
|
240
|
+
console.log('ParticipantUIModule handlerUserAction', action, userId);
|
|
241
|
+
(0, _rendererEvent.sendEvent)({
|
|
242
|
+
action: _constant.RendererEventAction.PARTICIPANT_ACTION,
|
|
243
|
+
payload: {
|
|
244
|
+
action: action,
|
|
245
|
+
userId: userId
|
|
246
|
+
}
|
|
247
|
+
});
|
|
248
|
+
}
|
|
249
|
+
}, {
|
|
250
|
+
key: "closeParticipantsWindow",
|
|
251
|
+
value: function closeParticipantsWindow() {
|
|
252
|
+
(0, _rendererEvent.sendEvent)({
|
|
253
|
+
action: _constant.RendererEventAction.CLOSE_PARTICIPANTS_WINDOW,
|
|
254
|
+
payload: {}
|
|
255
|
+
});
|
|
256
|
+
}
|
|
257
|
+
}, {
|
|
258
|
+
key: "handlerRoomControlAction",
|
|
259
|
+
value: function handlerRoomControlAction(action, data) {
|
|
260
|
+
console.log('ParticipantUIModule handlerRoomControlAction', action, data);
|
|
261
|
+
(0, _rendererEvent.sendEvent)({
|
|
262
|
+
action: _constant.RendererEventAction.ROOM_CONTROL_ACTION,
|
|
263
|
+
payload: {
|
|
264
|
+
action: action,
|
|
265
|
+
data: data
|
|
266
|
+
}
|
|
267
|
+
});
|
|
268
|
+
}
|
|
269
|
+
}, {
|
|
270
|
+
key: "setAllowChangeSelfName",
|
|
271
|
+
value: function setAllowChangeSelfName(allow) {
|
|
272
|
+
this.allowChangeSelfName = allow;
|
|
273
|
+
}
|
|
274
|
+
}, {
|
|
275
|
+
key: "setAllowChat",
|
|
276
|
+
value: function setAllowChat(allow) {
|
|
277
|
+
this.allowChat = allow;
|
|
278
|
+
}
|
|
279
|
+
}, {
|
|
280
|
+
key: "setAllowJoinWithMuteAudio",
|
|
281
|
+
value: function setAllowJoinWithMuteAudio(allow) {
|
|
282
|
+
this.allowJoinWithMuteAudio = allow;
|
|
283
|
+
}
|
|
284
|
+
}, {
|
|
285
|
+
key: "setAllowShareScreen",
|
|
286
|
+
value: function setAllowShareScreen(allow) {
|
|
287
|
+
this.allowShareScreen = allow;
|
|
288
|
+
}
|
|
289
|
+
}, {
|
|
290
|
+
key: "setAllowUnmuteSelfVideo",
|
|
291
|
+
value: function setAllowUnmuteSelfVideo(allow) {
|
|
292
|
+
this.allowUnmuteSelfVideo = allow;
|
|
293
|
+
}
|
|
294
|
+
}, {
|
|
295
|
+
key: "setAllowUnmuteSelfAudio",
|
|
296
|
+
value: function setAllowUnmuteSelfAudio(allow) {
|
|
297
|
+
this.allowUnmuteSelfAudio = allow;
|
|
298
|
+
}
|
|
299
|
+
}, {
|
|
300
|
+
key: "setLockRoomEnabled",
|
|
301
|
+
value: function setLockRoomEnabled(lock) {
|
|
302
|
+
this.isLockRoomEnabled = lock;
|
|
303
|
+
}
|
|
304
|
+
}, {
|
|
305
|
+
key: "setWaitingRoomEnabled",
|
|
306
|
+
value: function setWaitingRoomEnabled(allow) {
|
|
307
|
+
this.isWaitingRoomEnabled = allow;
|
|
308
|
+
}
|
|
309
|
+
}]);
|
|
310
|
+
}();
|
|
311
|
+
_ParticipantStore = ParticipantStore;
|
|
312
|
+
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_ParticipantStore, [[_mobx.observable, 1, "attendeeList"], [_mobx.observable, 1, "searchKeyword"], [_mobx.observable, 1, "currentPerspectiveType"], [_mobx.observable, 1, "allowChangeSelfName"], [_mobx.observable, 1, "allowChat"], [_mobx.observable, 1, "allowJoinWithMuteAudio"], [_mobx.observable, 1, "allowShareScreen"], [_mobx.observable, 1, "allowUnmuteSelfVideo"], [_mobx.observable, 1, "allowUnmuteSelfAudio"], [_mobx.observable, 1, "isLockRoomEnabled"], [_mobx.observable, 1, "isWaitingRoomEnabled"], [_mobx.observable, 1, "showSecurity"], [_mobx.observable, 1, "isHost"], [_initParticipantListDecs, 18, "initParticipantList"], [_enableLockRoomDecs, 18, "enableLockRoom"], [_setCurrentPerspectiveTypeDecs, 18, "setCurrentPerspectiveType"], [_setParticipantListDecs, 18, "setParticipantList"], [_onSearchUserDecs, 18, "onSearchUser"], [_handlerRoomControlActionDecs, 18, "handlerRoomControlAction"], [_setAllowChangeSelfNameDecs, 18, "setAllowChangeSelfName"], [_setAllowChatDecs, 18, "setAllowChat"], [_setAllowJoinWithMuteAudioDecs, 18, "setAllowJoinWithMuteAudio"], [_setAllowShareScreenDecs, 18, "setAllowShareScreen"], [_setAllowUnmuteSelfVideoDecs, 18, "setAllowUnmuteSelfVideo"], [_setAllowUnmuteSelfAudioDecs, 18, "setAllowUnmuteSelfAudio"], [_setLockRoomEnabledDecs, 18, "setLockRoomEnabled"], [_setWaitingRoomEnabledDecs, 18, "setWaitingRoomEnabled"]], []).e, 14);
|
|
313
|
+
_init_attendeeList = _applyDecs$e[0];
|
|
314
|
+
_init_searchKeyword = _applyDecs$e[1];
|
|
315
|
+
_init_currentPerspectiveType = _applyDecs$e[2];
|
|
316
|
+
_init_allowChangeSelfName = _applyDecs$e[3];
|
|
317
|
+
_init_allowChat = _applyDecs$e[4];
|
|
318
|
+
_init_allowJoinWithMuteAudio = _applyDecs$e[5];
|
|
319
|
+
_init_allowShareScreen = _applyDecs$e[6];
|
|
320
|
+
_init_allowUnmuteSelfVideo = _applyDecs$e[7];
|
|
321
|
+
_init_allowUnmuteSelfAudio = _applyDecs$e[8];
|
|
322
|
+
_init_isLockRoomEnabled = _applyDecs$e[9];
|
|
323
|
+
_init_isWaitingRoomEnabled = _applyDecs$e[10];
|
|
324
|
+
_init_showSecurity = _applyDecs$e[11];
|
|
325
|
+
_init_isHost = _applyDecs$e[12];
|
|
326
|
+
_initProto = _applyDecs$e[13];
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("core-js/modules/es.object.define-property.js");
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.Participant = void 0;
|
|
9
|
+
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
10
|
+
var _participants = require("agora-ui-foundation/lib/components/participants");
|
|
11
|
+
var _footer = require("agora-ui-foundation/lib/components/participants/footer");
|
|
12
|
+
var _windowHeader = require("agora-ui-foundation/lib/components/window-header");
|
|
13
|
+
var _mobxReact = require("mobx-react");
|
|
14
|
+
var _react = require("react");
|
|
15
|
+
var _view = require("../../modules/participant/view");
|
|
16
|
+
var _constant = require("../../utilities/constant");
|
|
17
|
+
var _context = require("./context");
|
|
18
|
+
var _roomControlDropMenu = require("./room-control-drop-menu");
|
|
19
|
+
require("./index.css");
|
|
20
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
21
|
+
var Participant = exports.Participant = (0, _mobxReact.observer)(function () {
|
|
22
|
+
var _useContext = (0, _react.useContext)(_context.StoreContext),
|
|
23
|
+
userList = _useContext.userList,
|
|
24
|
+
currentPerspectiveType = _useContext.currentPerspectiveType,
|
|
25
|
+
onSearchUser = _useContext.onSearchUser,
|
|
26
|
+
allowJoinWithMuteAudio = _useContext.allowJoinWithMuteAudio,
|
|
27
|
+
handlerRoomControlAction = _useContext.handlerRoomControlAction,
|
|
28
|
+
handlerUserAction = _useContext.handlerUserAction,
|
|
29
|
+
closeParticipantsWindow = _useContext.closeParticipantsWindow,
|
|
30
|
+
allowUnmuteSelfAudio = _useContext.allowUnmuteSelfAudio,
|
|
31
|
+
searchKeyword = _useContext.searchKeyword;
|
|
32
|
+
var _useState = (0, _react.useState)(false),
|
|
33
|
+
_useState2 = (0, _slicedToArray2["default"])(_useState, 2),
|
|
34
|
+
showMuteAllDialog = _useState2[0],
|
|
35
|
+
setShowMuteAllDialog = _useState2[1];
|
|
36
|
+
var handlerRoomControlClick = function handlerRoomControlClick(action, userId) {
|
|
37
|
+
if (action === _constant.RoomControlType.MUTE_ALL_AUDIO) {
|
|
38
|
+
setShowMuteAllDialog(true);
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
setShowMuteAllDialog(false);
|
|
42
|
+
handlerRoomControlAction(action);
|
|
43
|
+
};
|
|
44
|
+
var handlerTypeChange = function handlerTypeChange(type) {
|
|
45
|
+
closeParticipantsWindow();
|
|
46
|
+
};
|
|
47
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
48
|
+
className: "participants-container",
|
|
49
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_participants.FcrParticipants, {
|
|
50
|
+
type: 'window',
|
|
51
|
+
userList: userList,
|
|
52
|
+
searchText: searchKeyword,
|
|
53
|
+
header: /*#__PURE__*/(0, _jsxRuntime.jsx)(_windowHeader.FcrWindowHeader, {
|
|
54
|
+
title: "\u53C2\u4F1A\u4EBA(".concat(userList.length, ")"),
|
|
55
|
+
type: _windowHeader.WindowType.WINDOW,
|
|
56
|
+
rootClassName: "draggable",
|
|
57
|
+
onTypeChange: handlerTypeChange
|
|
58
|
+
}),
|
|
59
|
+
perspectiveType: currentPerspectiveType,
|
|
60
|
+
toggleParticipantAction: handlerUserAction,
|
|
61
|
+
footer: /*#__PURE__*/(0, _jsxRuntime.jsx)(_footer.FcrParticipantsFooter, {
|
|
62
|
+
onRoomControlClick: handlerRoomControlClick,
|
|
63
|
+
type: currentPerspectiveType,
|
|
64
|
+
moreDropMenu: /*#__PURE__*/(0, _jsxRuntime.jsx)(_roomControlDropMenu.RoomControlDropMenu, {})
|
|
65
|
+
}),
|
|
66
|
+
onSearch: onSearchUser
|
|
67
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_view.MuteAllDialog, {
|
|
68
|
+
allowUnmuteSelfAudio: allowUnmuteSelfAudio,
|
|
69
|
+
allowJoinWithMuteAudio: allowJoinWithMuteAudio,
|
|
70
|
+
showMuteAllDialog: showMuteAllDialog,
|
|
71
|
+
onCancel: function onCancel() {
|
|
72
|
+
return setShowMuteAllDialog(false);
|
|
73
|
+
},
|
|
74
|
+
onOk: function onOk(allowUnmute, joinWithMute) {
|
|
75
|
+
setShowMuteAllDialog(false);
|
|
76
|
+
handlerRoomControlAction(_constant.RoomControlType.MUTE_ALL_AUDIO, {
|
|
77
|
+
allowUnmute: allowUnmute,
|
|
78
|
+
joinWithMute: joinWithMute
|
|
79
|
+
});
|
|
80
|
+
},
|
|
81
|
+
onClose: function onClose() {
|
|
82
|
+
return setShowMuteAllDialog(false);
|
|
83
|
+
}
|
|
84
|
+
})]
|
|
85
|
+
});
|
|
86
|
+
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("core-js/modules/es.object.define-property.js");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.StoreContext = void 0;
|
|
8
|
+
var _react = require("react");
|
|
9
|
+
var StoreContext = exports.StoreContext = /*#__PURE__*/(0, _react.createContext)(null);
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
.draggable {
|
|
2
|
+
-webkit-app-region: drag;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.share-selection-window-control {
|
|
6
|
+
width: 100%;
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: row-reverse;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.share-selection-window-control button {
|
|
12
|
+
-webkit-app-region: no-drag;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.share-selection-window {
|
|
16
|
+
width: 100%;
|
|
17
|
+
height: 100%;
|
|
18
|
+
min-height: 550px;
|
|
19
|
+
overflow: hidden;
|
|
20
|
+
-webkit-app-region: no-drag;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.share-selection-window__share-content {
|
|
24
|
+
width: 100%;
|
|
25
|
+
height: 458px;
|
|
26
|
+
padding: 10px 20px;
|
|
27
|
+
overflow-y: scroll;
|
|
28
|
+
-webkit-app-region: no-drag;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.share-selection-window__header {
|
|
32
|
+
height: 46px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.share-selection-window__footer {
|
|
36
|
+
width: 100%;
|
|
37
|
+
border-top: 1px solid var(--fcr_ui_scene_line1);
|
|
38
|
+
background-color: var(--fcr_mobile_ui_scene_color_popup_fill2);
|
|
39
|
+
display: flex;
|
|
40
|
+
flex-direction: row;
|
|
41
|
+
gap: 30px;
|
|
42
|
+
align-items: center;
|
|
43
|
+
height: 46px;
|
|
44
|
+
padding: 0 10px 0 20px;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.share-selection-window__footer .share-selection-window__footer-action {
|
|
48
|
+
width: 100%;
|
|
49
|
+
background-color: var(--fcr_mobile_ui_scene_color_popup_fill2);
|
|
50
|
+
display: flex;
|
|
51
|
+
flex-direction: row;
|
|
52
|
+
gap: 30px;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.share-selection-window__footer-start-share-txt {
|
|
56
|
+
color: var(--fcr_ui_scene_white10);
|
|
57
|
+
font-size: 12px;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.share-selection-window__share-windows,
|
|
61
|
+
.share-selection-window__share-application {
|
|
62
|
+
display: flex;
|
|
63
|
+
flex-direction: row;
|
|
64
|
+
flex-wrap: wrap;
|
|
65
|
+
gap: 8px;
|
|
66
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BaseFragment } from '../base';
|
|
2
|
+
export declare class ShareScreenSelection extends BaseFragment {
|
|
3
|
+
private _store;
|
|
4
|
+
get name(): "share-screen-selection";
|
|
5
|
+
get component(): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
constructor(runtime: Runtime);
|
|
7
|
+
onEvent(event: RendererCustomEvent): void;
|
|
8
|
+
}
|
|
9
|
+
export declare const windowOptions: Electron.BrowserWindowConstructorOptions;
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("core-js/modules/es.object.define-property.js");
|
|
4
|
+
require("core-js/modules/es.reflect.construct.js");
|
|
5
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
6
|
+
Object.defineProperty(exports, "__esModule", {
|
|
7
|
+
value: true
|
|
8
|
+
});
|
|
9
|
+
exports.windowOptions = exports.ShareScreenSelection = void 0;
|
|
10
|
+
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
11
|
+
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
12
|
+
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
|
|
13
|
+
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
|
14
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
15
|
+
var _constant = require("../../utilities/constant");
|
|
16
|
+
var _base = require("../base");
|
|
17
|
+
var _context = require("./context");
|
|
18
|
+
var _selectionStore = _interopRequireDefault(require("./selection-store"));
|
|
19
|
+
var _view = require("./view");
|
|
20
|
+
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
21
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
22
|
+
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2["default"])(o), (0, _possibleConstructorReturn2["default"])(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2["default"])(t).constructor) : o.apply(t, e)); }
|
|
23
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
24
|
+
var ShareScreenSelection = exports.ShareScreenSelection = /*#__PURE__*/function (_BaseFragment) {
|
|
25
|
+
function ShareScreenSelection(runtime) {
|
|
26
|
+
var _this;
|
|
27
|
+
(0, _classCallCheck2["default"])(this, ShareScreenSelection);
|
|
28
|
+
_this = _callSuper(this, ShareScreenSelection, [runtime]);
|
|
29
|
+
_this._store = new _selectionStore["default"]();
|
|
30
|
+
_this.sendEvent({
|
|
31
|
+
action: _constant.RendererEventAction.GET_LOCAL_USER,
|
|
32
|
+
payload: {}
|
|
33
|
+
});
|
|
34
|
+
_this.sendEvent({
|
|
35
|
+
action: _constant.RendererEventAction.GET_OWNER_USER,
|
|
36
|
+
payload: {}
|
|
37
|
+
});
|
|
38
|
+
return _this;
|
|
39
|
+
}
|
|
40
|
+
(0, _inherits2["default"])(ShareScreenSelection, _BaseFragment);
|
|
41
|
+
return (0, _createClass2["default"])(ShareScreenSelection, [{
|
|
42
|
+
key: "name",
|
|
43
|
+
get: function get() {
|
|
44
|
+
return 'share-screen-selection';
|
|
45
|
+
}
|
|
46
|
+
}, {
|
|
47
|
+
key: "component",
|
|
48
|
+
get: function get() {
|
|
49
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_context.StoreContext.Provider, {
|
|
50
|
+
value: this._store,
|
|
51
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_view.ShareSelection, {})
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
}, {
|
|
55
|
+
key: "onEvent",
|
|
56
|
+
value: function onEvent(event) {
|
|
57
|
+
var _window$runtime$brows, _window$runtime$brows2, _this$_store$localUse;
|
|
58
|
+
console.log('ShareSelection received message', event);
|
|
59
|
+
var action = event.action,
|
|
60
|
+
payload = event.payload;
|
|
61
|
+
switch (action) {
|
|
62
|
+
case _constant.RendererEventAction.INIT_SHARE_SCREEN_SELECTION:
|
|
63
|
+
this._store.initSelection(payload);
|
|
64
|
+
break;
|
|
65
|
+
case _constant.RendererEventAction.MOVE_SHARE_SCREEN_SELECTION_TO_TOP:
|
|
66
|
+
(_window$runtime$brows = window.runtime.browserWindow) === null || _window$runtime$brows === void 0 || _window$runtime$brows.moveTop();
|
|
67
|
+
(_window$runtime$brows2 = window.runtime.browserWindow) === null || _window$runtime$brows2 === void 0 || _window$runtime$brows2.focus();
|
|
68
|
+
break;
|
|
69
|
+
case _constant.RendererEventAction.USER_ROLE_CHANGED:
|
|
70
|
+
this._store.setLocalUserRole(payload);
|
|
71
|
+
break;
|
|
72
|
+
case _constant.RendererEventAction.SET_LOCAL_USER:
|
|
73
|
+
var userInfo = payload;
|
|
74
|
+
this._store.setLocalUser(userInfo);
|
|
75
|
+
this._store.setLocalUserRole(userInfo.userRole);
|
|
76
|
+
break;
|
|
77
|
+
case _constant.RendererEventAction.SET_OWNER_USER:
|
|
78
|
+
var owner = payload;
|
|
79
|
+
this._store.setOwnerUser(owner);
|
|
80
|
+
this._store.title = owner !== null && owner !== void 0 && owner.userId ? ((_this$_store$localUse = this._store.localUser) === null || _this$_store$localUse === void 0 ? void 0 : _this$_store$localUse.userId) === (owner === null || owner === void 0 ? void 0 : owner.userId) ? (0, _i18n.transI18n)('fmt_screenshare_tips_imsharing') + '...' : (0, _i18n.transI18n)('fmt_screenshare_tips_smonesharing') + '...' : 'Whiteboard';
|
|
81
|
+
break;
|
|
82
|
+
case _constant.RendererEventAction.SET_CONTROL_BAR_LOCAL_AUDIO_STATE:
|
|
83
|
+
this._store.setLocalMicrophoneState(!payload.status);
|
|
84
|
+
break;
|
|
85
|
+
default:
|
|
86
|
+
break;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}]);
|
|
90
|
+
}(_base.BaseFragment);
|
|
91
|
+
var windowOptions = exports.windowOptions = {
|
|
92
|
+
width: 790,
|
|
93
|
+
height: 550
|
|
94
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import './tips.css';
|
|
2
|
+
interface IOpenMicTipsProps {
|
|
3
|
+
okText?: string;
|
|
4
|
+
onCancelText?: string;
|
|
5
|
+
onOK?: () => void;
|
|
6
|
+
onCancel?: () => void;
|
|
7
|
+
}
|
|
8
|
+
declare const OpenMicTips: (props: IOpenMicTipsProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default OpenMicTips;
|