fcr-ui-scene 1.0.40 → 3.1.0-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/base.d.ts +13 -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/event-store.d.ts +118 -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/electron/app.d.ts +1 -0
- package/lib/electron/app.js +140 -0
- package/lib/electron/default-options.d.ts +2 -0
- package/lib/electron/default-options.js +26 -0
- package/lib/electron/env.d.ts +5 -0
- package/lib/electron/env.js +13 -0
- package/lib/electron/index.d.ts +2 -0
- package/lib/electron/index.js +20 -0
- package/lib/electron/injections.d.ts +45 -0
- package/lib/electron/injections.js +689 -0
- package/lib/electron/main.d.ts +2 -0
- package/lib/electron/main.js +63 -0
- package/lib/electron/plugins/screenshot.d.ts +2 -0
- package/lib/electron/plugins/screenshot.js +49 -0
- package/lib/electron/preload.js +35 -0
- package/lib/electron/tools.d.ts +5 -0
- package/lib/electron/tools.js +57 -0
- package/lib/electron/window.d.ts +12 -0
- package/lib/electron/window.js +107 -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/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 +36 -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/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.d.ts +1 -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/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 +8 -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 +7 -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 +9 -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 +13 -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 +2 -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/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 +2 -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 +13 -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 +12 -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/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 +2 -0
- package/lib/modules/invite/voip-invite.js +294 -0
- package/lib/modules/layout/components/Aside.d.ts +7 -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/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/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 +67 -0
- package/lib/modules/layout/member-window/index.js +730 -0
- package/lib/modules/layout/store.d.ts +177 -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/{fcr-ui-scene/src/containers/stream-window/index.d.ts → modules/setting/common/advance-link.d.ts} +1 -1
- 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/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/index.d.ts +115 -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 +67 -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/runtime.d.ts +86 -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 +61 -85
- 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 → electron/preload.d.ts} +0 -0
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
.netless-whiteboard-wrapper {
|
|
2
|
+
height: 100%;
|
|
3
|
+
width: 100%;
|
|
4
|
+
pointer-events: none;
|
|
5
|
+
}
|
|
6
|
+
.netless-whiteboard-wrapper > * {
|
|
7
|
+
pointer-events: all;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.board-widget-app {
|
|
11
|
+
height: 100%;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.fcr-board-pagination {
|
|
15
|
+
position: absolute;
|
|
16
|
+
left: 10px;
|
|
17
|
+
bottom: 10px;
|
|
18
|
+
z-index: 10;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/* fold button */
|
|
22
|
+
|
|
23
|
+
/* board window */
|
|
24
|
+
.board-widget-app .telebox-maximized .netless-app-slide-btn-sidebar,
|
|
25
|
+
.board-widget-app .telebox-maximized .netless-app-docs-viewer-btn-sidebar,
|
|
26
|
+
.board-widget-app .telebox-maximized .vjs-p .player-controller-actions {
|
|
27
|
+
position: relative;
|
|
28
|
+
left: 190px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.netless-whiteboard-wrapper .telebox-box-main {
|
|
32
|
+
/* @apply fcr-border-1; */
|
|
33
|
+
border: 1px solid var(--fcr_ui_scene_black1);
|
|
34
|
+
}
|
|
35
|
+
.netless-whiteboard-wrapper .telebox-titlebar {
|
|
36
|
+
/* @apply fcr-bg-2 fcr-border-1; */
|
|
37
|
+
flex-direction: row-reverse;
|
|
38
|
+
border: 1px solid var(--fcr_ui_scene_black1);
|
|
39
|
+
background: var(--fcr_ui_scene_black1);
|
|
40
|
+
}
|
|
41
|
+
.netless-whiteboard-wrapper .telebox-title {
|
|
42
|
+
/* @apply fcr-text-1; */
|
|
43
|
+
color: var(--fcr_ui_scene_black1);
|
|
44
|
+
background: var(--fcr_ui_scene_black1);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.netless-whiteboard-wrapper .telebox-content-wrap {
|
|
48
|
+
/* @apply fcr-bg-7; */
|
|
49
|
+
background: var(--fcr_ui_scene_black1);
|
|
50
|
+
}
|
|
51
|
+
.netless-whiteboard-wrapper .netless-app-slide-preview,
|
|
52
|
+
.netless-whiteboard-wrapper .netless-app-docs-viewer-preview {
|
|
53
|
+
/* @apply fcr-bg-3; */
|
|
54
|
+
background: var(--fcr_ui_scene_black1);
|
|
55
|
+
}
|
|
56
|
+
.netless-whiteboard-wrapper .netless-app-slide-preview-page-name {
|
|
57
|
+
/* @apply fcr-text-1; */
|
|
58
|
+
color: var(--fcr_ui_scene_black1);
|
|
59
|
+
}
|
|
60
|
+
.netless-whiteboard-wrapper .netless-app-slide-footer,
|
|
61
|
+
.netless-whiteboard-wrapper .app-talkative-footer,
|
|
62
|
+
.netless-whiteboard-wrapper .netless-app-docs-viewer-footer {
|
|
63
|
+
/* @apply fcr-bg-2 fcr-border-1 fcr-text-1; */
|
|
64
|
+
background: var(--fcr_ui_scene_black1);
|
|
65
|
+
border: 1px solid var(--fcr_ui_scene_black1);
|
|
66
|
+
color: var(--fcr_ui_scene_black1);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.netless-whiteboard-wrapper .netless-app-slide-footer-btn:hover,
|
|
70
|
+
.netless-whiteboard-wrapper .netless-app-docs-viewer-footer-btn:hover {
|
|
71
|
+
/* @apply fcr-bg-7; */
|
|
72
|
+
background: var(--fcr_ui_scene_black1);
|
|
73
|
+
}
|
|
74
|
+
.netless-whiteboard-wrapper .netless-app-slide-footer-btn:focus,
|
|
75
|
+
.netless-whiteboard-wrapper .netless-app-docs-viewer-footer-btn:focus {
|
|
76
|
+
outline: none;
|
|
77
|
+
}
|
|
78
|
+
.netless-whiteboard-wrapper .netless-app-slide-page-number-input:hover,
|
|
79
|
+
.netless-whiteboard-wrapper .netless-app-slide-page-number-input:focus,
|
|
80
|
+
.netless-whiteboard-wrapper .netless-app-slide-page-number-input:active {
|
|
81
|
+
background: var(--fcr_ui_scene_black1);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.netless-whiteboard-wrapper .telebox-titlebar {
|
|
85
|
+
border-bottom: none;
|
|
86
|
+
}
|
|
87
|
+
.netless-whiteboard-wrapper
|
|
88
|
+
.telebox-titlebar.telebox-max-titlebar-maximized
|
|
89
|
+
.telebox-titlebar-btns {
|
|
90
|
+
margin-left: 0;
|
|
91
|
+
}
|
|
92
|
+
.netless-whiteboard-wrapper .telebox-titlebar-btn:focus,
|
|
93
|
+
.netless-whiteboard-wrapper .telebox-titles-tab:focus {
|
|
94
|
+
outline: none;
|
|
95
|
+
}
|
|
96
|
+
.netless-whiteboard-wrapper .telebox-titles-tab-focus {
|
|
97
|
+
/* @apply fcr-text-brand-6; */
|
|
98
|
+
color: var(--fcr_ui_scene_brand6);
|
|
99
|
+
background: #232529;
|
|
100
|
+
}
|
|
101
|
+
.netless-whiteboard-wrapper .telebox-titlebar.telebox-max-titlebar-maximized {
|
|
102
|
+
justify-content: flex-end;
|
|
103
|
+
}
|
|
104
|
+
.netless-whiteboard-wrapper .telebox-titles-tab,
|
|
105
|
+
.netless-whiteboard-wrapper .telebox-titles-bab.telebox-titles-tab-focus,
|
|
106
|
+
.netless-whiteboard-wrapper .netless-whiteboard-wrapper .telebox-titles-tab {
|
|
107
|
+
border-left: 1px solid #ccc;
|
|
108
|
+
border-right: 1px solid #ccc;
|
|
109
|
+
}
|
|
110
|
+
.netless-whiteboard-wrapper .telebox-titles-tab:not(:last-child) {
|
|
111
|
+
border-right: none;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.fcr-progress-saveImage {
|
|
115
|
+
/* @apply fcr-bg-block-4 !important; */
|
|
116
|
+
background: var(--fcr_ui_scene_black1);
|
|
117
|
+
|
|
118
|
+
text-align: left;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.fcr-progress-saveImage .fcr-progress {
|
|
122
|
+
background: rgba(47, 47, 47, 0.98);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.fcr-progress-saveImage .fcr-progress .fcr-progress-inner {
|
|
126
|
+
height: 100%;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.fcr-progress-saveImage .dialog-progress-tip {
|
|
130
|
+
/* @apply fcr-text-1 !important; */
|
|
131
|
+
color: var(--fcr_ui_scene_black1);
|
|
132
|
+
}
|
|
133
|
+
.fcr-progress-saveImage .dialog-progress-tip ~ div {
|
|
134
|
+
margin-top: 4px;
|
|
135
|
+
}
|
|
136
|
+
/* .fcr-widget-dialog-content {
|
|
137
|
+
display: flex;
|
|
138
|
+
align-items: center;
|
|
139
|
+
justify-content: center;
|
|
140
|
+
width: 100%;
|
|
141
|
+
height: 100%;
|
|
142
|
+
} */
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
export declare enum FcrBoardTool {
|
|
2
|
+
Selector = 1,
|
|
3
|
+
LaserPointer = 2,
|
|
4
|
+
Eraser = 3,
|
|
5
|
+
Clicker = 4,
|
|
6
|
+
Hand = 5,
|
|
7
|
+
Text = 6
|
|
8
|
+
}
|
|
9
|
+
export declare enum FcrBoardShape {
|
|
10
|
+
Curve = 1,
|
|
11
|
+
Straight = 2,
|
|
12
|
+
Arrow = 3,
|
|
13
|
+
Rectangle = 4,
|
|
14
|
+
Triangle = 5,
|
|
15
|
+
Rhombus = 6,
|
|
16
|
+
Pentagram = 7,
|
|
17
|
+
Ellipse = 8
|
|
18
|
+
}
|
|
19
|
+
export declare enum FcrBoardRegion {
|
|
20
|
+
CN = "cn-hz",
|
|
21
|
+
US = "us-sv",
|
|
22
|
+
IN = "in-mum",
|
|
23
|
+
SG = "sg",
|
|
24
|
+
GB = "gb-lon"
|
|
25
|
+
}
|
|
26
|
+
export declare enum FcrBoardMainWindowFailureReason {
|
|
27
|
+
ResourceWindowAlreadyOpened = "resource-window-already-opened",
|
|
28
|
+
SnapshotFailure = "snapshot-failure",
|
|
29
|
+
MountFailure = "mount-failure"
|
|
30
|
+
}
|
|
31
|
+
export type BoardState = {
|
|
32
|
+
strokeColor: Color;
|
|
33
|
+
strokeWidth: number;
|
|
34
|
+
textSize: number;
|
|
35
|
+
tool: FcrBoardTool;
|
|
36
|
+
shape: FcrBoardShape;
|
|
37
|
+
};
|
|
38
|
+
export type Color = {
|
|
39
|
+
r: number;
|
|
40
|
+
g: number;
|
|
41
|
+
b: number;
|
|
42
|
+
};
|
|
43
|
+
export declare enum ToolbarEvents {
|
|
44
|
+
REDO = "redo",
|
|
45
|
+
UNDO = "undo",
|
|
46
|
+
CLEAN = "clean",
|
|
47
|
+
SET_TOOL = "setTool",
|
|
48
|
+
SET_PEN = "setPen",
|
|
49
|
+
SET_SHAPE = "setShape",
|
|
50
|
+
SET_STROKE_COLOR = "setStrokeColor",
|
|
51
|
+
SET_STROKE_WIDTH = "setStrokeWidth",
|
|
52
|
+
CLICK_EXPANSION_TOOL = "clickExpansionTool",
|
|
53
|
+
SET_TOOLBAR_POSITION = "setToolbarPosition",
|
|
54
|
+
DRAG_TOOLBAR = "dragToolbar",
|
|
55
|
+
RELEASE_TOOLBAR = "releaseToolbar",
|
|
56
|
+
CAPTURE_SCREEN = "captureScreen",
|
|
57
|
+
SAVE_DRAFT = "saveDraft",
|
|
58
|
+
SET_THEME = "setTheme",
|
|
59
|
+
SET_COMMON_COLOR = "setCommonColor"
|
|
60
|
+
}
|
|
61
|
+
export declare enum WhiteboardRoomEvents {
|
|
62
|
+
onJoinSuccess = "onJoinSuccess",
|
|
63
|
+
onJoinFailure = "onJoinFailure",
|
|
64
|
+
onConnectionStateUpdated = "onConnectionStateUpdated",
|
|
65
|
+
onMemberStateChanged = "onMemberStateChanged"
|
|
66
|
+
}
|
|
67
|
+
export declare enum WhiteboardUIEvents {
|
|
68
|
+
handleBoardDomLoad = "handleBoardDomLoad",
|
|
69
|
+
handleCollectorDomLoad = "handleCollectorDomLoad",
|
|
70
|
+
handleClose = "handleClose",
|
|
71
|
+
setPrivilege = "setPrivilege"
|
|
72
|
+
}
|
|
73
|
+
export declare enum WhiteboardControlbarEvents {
|
|
74
|
+
ZOOMIN = "zoomin",
|
|
75
|
+
ZOOMOUT = "zoomout",
|
|
76
|
+
ADAPTIVE = "adaptive",
|
|
77
|
+
ORIGIN = "origin",
|
|
78
|
+
LONEYWINDOW = "lonelyWindow",
|
|
79
|
+
ENABLE_CONTROL = "enableControl"
|
|
80
|
+
}
|
|
81
|
+
export declare enum WhiteboardBaseEvents {
|
|
82
|
+
LONELY_WINDOWN_CLOSED = "lonelyWindowClosed",
|
|
83
|
+
SET_OWNER_USER_ID = "setOnwerUserId"
|
|
84
|
+
}
|
|
85
|
+
export type WhiteboardThemeType = {
|
|
86
|
+
showColors?: string[][];
|
|
87
|
+
colors: string[];
|
|
88
|
+
background: string;
|
|
89
|
+
title: string;
|
|
90
|
+
theme?: 'whiteboard' | 'blackboard' | 'chalkboard';
|
|
91
|
+
};
|
|
92
|
+
export declare enum LonelyWindowState {
|
|
93
|
+
OPEN = "open",
|
|
94
|
+
CLOSE = "close",
|
|
95
|
+
DEFAULT = "default"
|
|
96
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
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.WhiteboardUIEvents = exports.WhiteboardRoomEvents = exports.WhiteboardControlbarEvents = exports.WhiteboardBaseEvents = exports.ToolbarEvents = exports.LonelyWindowState = exports.FcrBoardTool = exports.FcrBoardShape = exports.FcrBoardRegion = exports.FcrBoardMainWindowFailureReason = void 0;
|
|
8
|
+
var FcrBoardTool = exports.FcrBoardTool = /*#__PURE__*/function (FcrBoardTool) {
|
|
9
|
+
FcrBoardTool[FcrBoardTool["Selector"] = 1] = "Selector";
|
|
10
|
+
FcrBoardTool[FcrBoardTool["LaserPointer"] = 2] = "LaserPointer";
|
|
11
|
+
FcrBoardTool[FcrBoardTool["Eraser"] = 3] = "Eraser";
|
|
12
|
+
FcrBoardTool[FcrBoardTool["Clicker"] = 4] = "Clicker";
|
|
13
|
+
FcrBoardTool[FcrBoardTool["Hand"] = 5] = "Hand";
|
|
14
|
+
FcrBoardTool[FcrBoardTool["Text"] = 6] = "Text";
|
|
15
|
+
return FcrBoardTool;
|
|
16
|
+
}({});
|
|
17
|
+
var FcrBoardShape = exports.FcrBoardShape = /*#__PURE__*/function (FcrBoardShape) {
|
|
18
|
+
FcrBoardShape[FcrBoardShape["Curve"] = 1] = "Curve";
|
|
19
|
+
FcrBoardShape[FcrBoardShape["Straight"] = 2] = "Straight";
|
|
20
|
+
FcrBoardShape[FcrBoardShape["Arrow"] = 3] = "Arrow";
|
|
21
|
+
FcrBoardShape[FcrBoardShape["Rectangle"] = 4] = "Rectangle";
|
|
22
|
+
FcrBoardShape[FcrBoardShape["Triangle"] = 5] = "Triangle";
|
|
23
|
+
FcrBoardShape[FcrBoardShape["Rhombus"] = 6] = "Rhombus";
|
|
24
|
+
FcrBoardShape[FcrBoardShape["Pentagram"] = 7] = "Pentagram";
|
|
25
|
+
FcrBoardShape[FcrBoardShape["Ellipse"] = 8] = "Ellipse";
|
|
26
|
+
return FcrBoardShape;
|
|
27
|
+
}({});
|
|
28
|
+
var FcrBoardRegion = exports.FcrBoardRegion = /*#__PURE__*/function (FcrBoardRegion) {
|
|
29
|
+
FcrBoardRegion["CN"] = "cn-hz";
|
|
30
|
+
FcrBoardRegion["US"] = "us-sv";
|
|
31
|
+
FcrBoardRegion["IN"] = "in-mum";
|
|
32
|
+
FcrBoardRegion["SG"] = "sg";
|
|
33
|
+
FcrBoardRegion["GB"] = "gb-lon";
|
|
34
|
+
return FcrBoardRegion;
|
|
35
|
+
}({});
|
|
36
|
+
var FcrBoardMainWindowFailureReason = exports.FcrBoardMainWindowFailureReason = /*#__PURE__*/function (FcrBoardMainWindowFailureReason) {
|
|
37
|
+
FcrBoardMainWindowFailureReason["ResourceWindowAlreadyOpened"] = "resource-window-already-opened";
|
|
38
|
+
FcrBoardMainWindowFailureReason["SnapshotFailure"] = "snapshot-failure";
|
|
39
|
+
FcrBoardMainWindowFailureReason["MountFailure"] = "mount-failure";
|
|
40
|
+
return FcrBoardMainWindowFailureReason;
|
|
41
|
+
}({});
|
|
42
|
+
var ToolbarEvents = exports.ToolbarEvents = /*#__PURE__*/function (ToolbarEvents) {
|
|
43
|
+
ToolbarEvents["REDO"] = "redo";
|
|
44
|
+
ToolbarEvents["UNDO"] = "undo";
|
|
45
|
+
ToolbarEvents["CLEAN"] = "clean";
|
|
46
|
+
ToolbarEvents["SET_TOOL"] = "setTool";
|
|
47
|
+
ToolbarEvents["SET_PEN"] = "setPen";
|
|
48
|
+
ToolbarEvents["SET_SHAPE"] = "setShape";
|
|
49
|
+
ToolbarEvents["SET_STROKE_COLOR"] = "setStrokeColor";
|
|
50
|
+
ToolbarEvents["SET_STROKE_WIDTH"] = "setStrokeWidth";
|
|
51
|
+
ToolbarEvents["CLICK_EXPANSION_TOOL"] = "clickExpansionTool";
|
|
52
|
+
ToolbarEvents["SET_TOOLBAR_POSITION"] = "setToolbarPosition";
|
|
53
|
+
ToolbarEvents["DRAG_TOOLBAR"] = "dragToolbar";
|
|
54
|
+
ToolbarEvents["RELEASE_TOOLBAR"] = "releaseToolbar";
|
|
55
|
+
ToolbarEvents["CAPTURE_SCREEN"] = "captureScreen";
|
|
56
|
+
ToolbarEvents["SAVE_DRAFT"] = "saveDraft";
|
|
57
|
+
ToolbarEvents["SET_THEME"] = "setTheme";
|
|
58
|
+
ToolbarEvents["SET_COMMON_COLOR"] = "setCommonColor";
|
|
59
|
+
return ToolbarEvents;
|
|
60
|
+
}({});
|
|
61
|
+
var WhiteboardRoomEvents = exports.WhiteboardRoomEvents = /*#__PURE__*/function (WhiteboardRoomEvents) {
|
|
62
|
+
WhiteboardRoomEvents["onJoinSuccess"] = "onJoinSuccess";
|
|
63
|
+
WhiteboardRoomEvents["onJoinFailure"] = "onJoinFailure";
|
|
64
|
+
WhiteboardRoomEvents["onConnectionStateUpdated"] = "onConnectionStateUpdated";
|
|
65
|
+
WhiteboardRoomEvents["onMemberStateChanged"] = "onMemberStateChanged";
|
|
66
|
+
return WhiteboardRoomEvents;
|
|
67
|
+
}({});
|
|
68
|
+
var WhiteboardUIEvents = exports.WhiteboardUIEvents = /*#__PURE__*/function (WhiteboardUIEvents) {
|
|
69
|
+
WhiteboardUIEvents["handleBoardDomLoad"] = "handleBoardDomLoad";
|
|
70
|
+
WhiteboardUIEvents["handleCollectorDomLoad"] = "handleCollectorDomLoad";
|
|
71
|
+
WhiteboardUIEvents["handleClose"] = "handleClose";
|
|
72
|
+
WhiteboardUIEvents["setPrivilege"] = "setPrivilege";
|
|
73
|
+
return WhiteboardUIEvents;
|
|
74
|
+
}({});
|
|
75
|
+
var WhiteboardControlbarEvents = exports.WhiteboardControlbarEvents = /*#__PURE__*/function (WhiteboardControlbarEvents) {
|
|
76
|
+
WhiteboardControlbarEvents["ZOOMIN"] = "zoomin";
|
|
77
|
+
WhiteboardControlbarEvents["ZOOMOUT"] = "zoomout";
|
|
78
|
+
WhiteboardControlbarEvents["ADAPTIVE"] = "adaptive";
|
|
79
|
+
WhiteboardControlbarEvents["ORIGIN"] = "origin";
|
|
80
|
+
WhiteboardControlbarEvents["LONEYWINDOW"] = "lonelyWindow";
|
|
81
|
+
WhiteboardControlbarEvents["ENABLE_CONTROL"] = "enableControl";
|
|
82
|
+
return WhiteboardControlbarEvents;
|
|
83
|
+
}({});
|
|
84
|
+
var WhiteboardBaseEvents = exports.WhiteboardBaseEvents = /*#__PURE__*/function (WhiteboardBaseEvents) {
|
|
85
|
+
WhiteboardBaseEvents["LONELY_WINDOWN_CLOSED"] = "lonelyWindowClosed";
|
|
86
|
+
WhiteboardBaseEvents["SET_OWNER_USER_ID"] = "setOnwerUserId";
|
|
87
|
+
return WhiteboardBaseEvents;
|
|
88
|
+
}({});
|
|
89
|
+
var LonelyWindowState = exports.LonelyWindowState = /*#__PURE__*/function (LonelyWindowState) {
|
|
90
|
+
LonelyWindowState["OPEN"] = "open";
|
|
91
|
+
LonelyWindowState["CLOSE"] = "close";
|
|
92
|
+
LonelyWindowState["DEFAULT"] = "default";
|
|
93
|
+
return LonelyWindowState;
|
|
94
|
+
}({});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const heightPerTool = 36;
|
|
2
|
+
export declare const heightPerColor = 18;
|
|
3
|
+
export declare const defaultToolsRetain: number;
|
|
4
|
+
export declare const verticalPadding = 10;
|
|
5
|
+
export declare const sceneNavHeight: number;
|
|
6
|
+
export declare const widgetContainerClassName = "netless-whiteboard-wrapper";
|
|
7
|
+
export declare const layoutContentClassName = "fcr-layout-content-main-view";
|
|
8
|
+
export declare const ZOOM_IN_CANVAS = false;
|
|
9
|
+
export declare const toolbarClassName = "fcr-board-toolbar";
|
|
10
|
+
export declare const windowClassName = "netless-whiteboard-wrapper";
|
|
11
|
+
export declare const downloadCanvasImage: (canvas: HTMLCanvasElement, filename?: string) => void;
|
|
@@ -0,0 +1,25 @@
|
|
|
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.windowClassName = exports.widgetContainerClassName = exports.verticalPadding = exports.toolbarClassName = exports.sceneNavHeight = exports.layoutContentClassName = exports.heightPerTool = exports.heightPerColor = exports.downloadCanvasImage = exports.defaultToolsRetain = exports.ZOOM_IN_CANVAS = void 0;
|
|
8
|
+
var heightPerTool = exports.heightPerTool = 36;
|
|
9
|
+
var heightPerColor = exports.heightPerColor = 18;
|
|
10
|
+
var defaultToolsRetain = exports.defaultToolsRetain = heightPerTool * 6;
|
|
11
|
+
var verticalPadding = exports.verticalPadding = 10;
|
|
12
|
+
var sceneNavHeight = exports.sceneNavHeight = heightPerTool + verticalPadding;
|
|
13
|
+
var widgetContainerClassName = exports.widgetContainerClassName = 'netless-whiteboard-wrapper';
|
|
14
|
+
var layoutContentClassName = exports.layoutContentClassName = 'fcr-layout-content-main-view';
|
|
15
|
+
var ZOOM_IN_CANVAS = exports.ZOOM_IN_CANVAS = false; // 开启是画布内放大,关闭是放大画布
|
|
16
|
+
|
|
17
|
+
var toolbarClassName = exports.toolbarClassName = 'fcr-board-toolbar';
|
|
18
|
+
var windowClassName = exports.windowClassName = 'netless-whiteboard-wrapper';
|
|
19
|
+
var downloadCanvasImage = exports.downloadCanvasImage = function downloadCanvasImage(canvas) {
|
|
20
|
+
var filename = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'fcr-board-snapshot.jpg';
|
|
21
|
+
var a = document.createElement('a');
|
|
22
|
+
a.download = filename;
|
|
23
|
+
a.href = canvas.toDataURL();
|
|
24
|
+
a.click();
|
|
25
|
+
};
|
|
File without changes
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("core-js/modules/es.object.to-string.js");
|
|
4
|
+
require("core-js/modules/es.promise.js");
|
|
5
|
+
if (!window.runtime) {
|
|
6
|
+
window.runtime = {
|
|
7
|
+
screen: null,
|
|
8
|
+
browserWindow: null,
|
|
9
|
+
sendEvent: function sendEvent(event) {},
|
|
10
|
+
open: function open(entryPath) {},
|
|
11
|
+
close: function close(entryPath) {},
|
|
12
|
+
addEventListener: function addEventListener() {},
|
|
13
|
+
removeEventListener: function removeEventListener() {},
|
|
14
|
+
setFragmentOptions: function setFragmentOptions() {},
|
|
15
|
+
openDirectory: function openDirectory() {
|
|
16
|
+
return Promise.resolve(undefined);
|
|
17
|
+
},
|
|
18
|
+
showItemInFolder: function showItemInFolder() {},
|
|
19
|
+
setAlwaysOnTop: function setAlwaysOnTop() {},
|
|
20
|
+
openRendererWindow: function openRendererWindow() {},
|
|
21
|
+
closeRendererWindow: function closeRendererWindow() {},
|
|
22
|
+
getLaunchOptions: function getLaunchOptions() {
|
|
23
|
+
return null;
|
|
24
|
+
},
|
|
25
|
+
openLinkInDefaultBrowser: function openLinkInDefaultBrowser() {},
|
|
26
|
+
getSystemMemorySize: function getSystemMemorySize() {
|
|
27
|
+
return 0;
|
|
28
|
+
},
|
|
29
|
+
getSystemCpuInfo: function getSystemCpuInfo() {
|
|
30
|
+
return [];
|
|
31
|
+
},
|
|
32
|
+
getNetworkType: function getNetworkType() {
|
|
33
|
+
return Promise.resolve({
|
|
34
|
+
isWifiConnected: false,
|
|
35
|
+
connection: ''
|
|
36
|
+
});
|
|
37
|
+
},
|
|
38
|
+
quitApp: function quitApp() {},
|
|
39
|
+
getRendererProcessUsage: function getRendererProcessUsage() {
|
|
40
|
+
return Promise.resolve({
|
|
41
|
+
cpuUsage: 0,
|
|
42
|
+
memoryUsage: 0,
|
|
43
|
+
totalMemoryUsage: 0,
|
|
44
|
+
totalCpuUsage: 0
|
|
45
|
+
});
|
|
46
|
+
},
|
|
47
|
+
getAssetUrl: function getAssetUrl(path) {
|
|
48
|
+
return /* CDN prefix + */path;
|
|
49
|
+
},
|
|
50
|
+
setFragmentBaseUrl: function setFragmentBaseUrl() {},
|
|
51
|
+
getBrowserWindowById: function getBrowserWindowById(id) {
|
|
52
|
+
return undefined;
|
|
53
|
+
},
|
|
54
|
+
captureScreen: function captureScreen() {},
|
|
55
|
+
getVirtualBgResource: function getVirtualBgResource() {
|
|
56
|
+
return Promise.resolve([]);
|
|
57
|
+
},
|
|
58
|
+
fileToBase64: function fileToBase64() {
|
|
59
|
+
return '';
|
|
60
|
+
},
|
|
61
|
+
registerListenerReady: function registerListenerReady() {},
|
|
62
|
+
releaseSubAllWindowRefs: function releaseSubAllWindowRefs() {},
|
|
63
|
+
getMediaSourceIdList: function getMediaSourceIdList() {
|
|
64
|
+
return [];
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import 'agora-ui-foundation/lib/utilities/global.css';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _generate = require("agora-ui-foundation/lib/theme/generate");
|
|
4
|
+
var _toast = require("agora-ui-foundation/lib/components/toast");
|
|
5
|
+
require("agora-ui-foundation/lib/utilities/global.css");
|
|
6
|
+
var loadCssPreset = function loadCssPreset() {
|
|
7
|
+
// todo dark mode
|
|
8
|
+
// if (matchMedia('(prefers-color-scheme: dark)').matches) {
|
|
9
|
+
// setThemeMode('dark');
|
|
10
|
+
// document.documentElement.style.colorScheme = 'dark';
|
|
11
|
+
// }
|
|
12
|
+
|
|
13
|
+
(0, _generate.generateTheme)();
|
|
14
|
+
document.body.classList.add(_toast.TOAST_ROOT_CLASS_NAME);
|
|
15
|
+
};
|
|
16
|
+
if (document.documentElement) {
|
|
17
|
+
loadCssPreset();
|
|
18
|
+
} else {
|
|
19
|
+
window.addEventListener('load', loadCssPreset, {
|
|
20
|
+
once: true
|
|
21
|
+
});
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FcrCoreEngine } from 'agora-edu-core';
|
|
2
|
+
declare global {
|
|
3
|
+
interface Window {
|
|
4
|
+
__DEV_ENGINE__: FcrCoreEngine;
|
|
5
|
+
__DEV_ENGINE_IS_READY__: Promise<void>;
|
|
6
|
+
__DEV_ROOM_ID__: string;
|
|
7
|
+
__DEV_USER_ID__: string;
|
|
8
|
+
__DEV_USER_ROLE__: string;
|
|
9
|
+
__DEV_USER_TOKEN__: string;
|
|
10
|
+
__DEV_APP_ID__: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
5
|
+
require("core-js/modules/es.date.now.js");
|
|
6
|
+
require("core-js/modules/es.date.to-json.js");
|
|
7
|
+
require("core-js/modules/es.json.stringify.js");
|
|
8
|
+
require("core-js/modules/es.object.to-string.js");
|
|
9
|
+
require("core-js/modules/es.promise.js");
|
|
10
|
+
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
11
|
+
var _agoraEduCore = require("agora-edu-core");
|
|
12
|
+
/**
|
|
13
|
+
* 创建房间
|
|
14
|
+
* @param roomName
|
|
15
|
+
* @returns 房间ID
|
|
16
|
+
*/
|
|
17
|
+
var createRoom = /*#__PURE__*/function () {
|
|
18
|
+
var _ref = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(roomName) {
|
|
19
|
+
var url, res, json;
|
|
20
|
+
return _regenerator["default"].wrap(function _callee$(_context) {
|
|
21
|
+
while (1) switch (_context.prev = _context.next) {
|
|
22
|
+
case 0:
|
|
23
|
+
url = "http://api-solutions-dev.bj2.agoralab.co/conference/companys/v1/rooms";
|
|
24
|
+
_context.next = 3;
|
|
25
|
+
return fetch(url, {
|
|
26
|
+
headers: {
|
|
27
|
+
'Content-Type': 'application/json'
|
|
28
|
+
},
|
|
29
|
+
method: 'POST',
|
|
30
|
+
body: JSON.stringify({
|
|
31
|
+
roomName: roomName,
|
|
32
|
+
sceneType: 4,
|
|
33
|
+
widgets: {},
|
|
34
|
+
startTime: Date.now(),
|
|
35
|
+
endTime: Date.now() + 1000 * 3600,
|
|
36
|
+
roomProperties: {}
|
|
37
|
+
})
|
|
38
|
+
});
|
|
39
|
+
case 3:
|
|
40
|
+
res = _context.sent;
|
|
41
|
+
_context.next = 6;
|
|
42
|
+
return res.json();
|
|
43
|
+
case 6:
|
|
44
|
+
json = _context.sent;
|
|
45
|
+
return _context.abrupt("return", json.data.roomId);
|
|
46
|
+
case 8:
|
|
47
|
+
case "end":
|
|
48
|
+
return _context.stop();
|
|
49
|
+
}
|
|
50
|
+
}, _callee);
|
|
51
|
+
}));
|
|
52
|
+
return function createRoom(_x) {
|
|
53
|
+
return _ref.apply(this, arguments);
|
|
54
|
+
};
|
|
55
|
+
}();
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* 生成用户Token
|
|
59
|
+
* @param roomId
|
|
60
|
+
* @param userId
|
|
61
|
+
* @param userName
|
|
62
|
+
* @param role
|
|
63
|
+
* @returns
|
|
64
|
+
*/
|
|
65
|
+
var getUserToken = /*#__PURE__*/function () {
|
|
66
|
+
var _ref2 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee2(roomId, userId, userName, role) {
|
|
67
|
+
var url, res, json;
|
|
68
|
+
return _regenerator["default"].wrap(function _callee2$(_context2) {
|
|
69
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
70
|
+
case 0:
|
|
71
|
+
url = "https://api-solutions-dev.bj2.agoralab.co/conference/companys/v1/rooms";
|
|
72
|
+
_context2.next = 3;
|
|
73
|
+
return fetch(url, {
|
|
74
|
+
headers: {
|
|
75
|
+
'Content-Type': 'application/json'
|
|
76
|
+
},
|
|
77
|
+
method: 'PUT',
|
|
78
|
+
body: JSON.stringify({
|
|
79
|
+
roomId: roomId,
|
|
80
|
+
role: role,
|
|
81
|
+
userUuid: userId,
|
|
82
|
+
userName: userName
|
|
83
|
+
})
|
|
84
|
+
});
|
|
85
|
+
case 3:
|
|
86
|
+
res = _context2.sent;
|
|
87
|
+
_context2.next = 6;
|
|
88
|
+
return res.json();
|
|
89
|
+
case 6:
|
|
90
|
+
json = _context2.sent;
|
|
91
|
+
return _context2.abrupt("return", {
|
|
92
|
+
token: json.data.token,
|
|
93
|
+
appId: json.data.appId
|
|
94
|
+
});
|
|
95
|
+
case 8:
|
|
96
|
+
case "end":
|
|
97
|
+
return _context2.stop();
|
|
98
|
+
}
|
|
99
|
+
}, _callee2);
|
|
100
|
+
}));
|
|
101
|
+
return function getUserToken(_x2, _x3, _x4, _x5) {
|
|
102
|
+
return _ref2.apply(this, arguments);
|
|
103
|
+
};
|
|
104
|
+
}();
|
|
105
|
+
var roomId = 'test-room';
|
|
106
|
+
var userId = "test-user-".concat(Date.now());
|
|
107
|
+
var role = 'host';
|
|
108
|
+
window.__DEV_ENGINE_IS_READY__ = createRoom(roomId).then( /*#__PURE__*/function () {
|
|
109
|
+
var _ref3 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee3(roomId) {
|
|
110
|
+
return _regenerator["default"].wrap(function _callee3$(_context3) {
|
|
111
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
112
|
+
case 0:
|
|
113
|
+
return _context3.abrupt("return", getUserToken(roomId, userId, userId, role).then(function (_ref4) {
|
|
114
|
+
var token = _ref4.token,
|
|
115
|
+
appId = _ref4.appId;
|
|
116
|
+
window.__DEV_ENGINE__ = new _agoraEduCore.FcrCoreEngine({
|
|
117
|
+
appId: appId,
|
|
118
|
+
token: token,
|
|
119
|
+
region: _agoraEduCore.FcrRegion.CN,
|
|
120
|
+
userId: userId,
|
|
121
|
+
dualCameraVideoStreamConfig: {
|
|
122
|
+
highVideoEncoderConfig: {
|
|
123
|
+
dimensions: {
|
|
124
|
+
width: 640,
|
|
125
|
+
height: 480
|
|
126
|
+
},
|
|
127
|
+
frameRate: 15,
|
|
128
|
+
bitrate: 800
|
|
129
|
+
},
|
|
130
|
+
lowVideoEncoderConfig: {
|
|
131
|
+
dimensions: {
|
|
132
|
+
width: 320,
|
|
133
|
+
height: 240
|
|
134
|
+
},
|
|
135
|
+
frameRate: 15,
|
|
136
|
+
bitrate: 400
|
|
137
|
+
},
|
|
138
|
+
enableDualStreamMode: false
|
|
139
|
+
},
|
|
140
|
+
dualScreenVideoStreamConfig: {
|
|
141
|
+
highVideoEncoderConfig: {
|
|
142
|
+
dimensions: {
|
|
143
|
+
width: 640,
|
|
144
|
+
height: 480
|
|
145
|
+
},
|
|
146
|
+
frameRate: 15,
|
|
147
|
+
bitrate: 800
|
|
148
|
+
},
|
|
149
|
+
lowVideoEncoderConfig: {
|
|
150
|
+
dimensions: {
|
|
151
|
+
width: 320,
|
|
152
|
+
height: 240
|
|
153
|
+
},
|
|
154
|
+
frameRate: 15,
|
|
155
|
+
bitrate: 400
|
|
156
|
+
},
|
|
157
|
+
enableDualStreamMode: false
|
|
158
|
+
}
|
|
159
|
+
});
|
|
160
|
+
var params = {
|
|
161
|
+
rte: {
|
|
162
|
+
restfulApiHost: 'http://api-solutions-dev.bj2.agoralab.co'
|
|
163
|
+
}
|
|
164
|
+
};
|
|
165
|
+
window.__DEV_ENGINE__.setParameters(params);
|
|
166
|
+
window.__DEV_ROOM_ID__ = roomId;
|
|
167
|
+
window.__DEV_USER_ID__ = userId;
|
|
168
|
+
window.__DEV_USER_ROLE__ = role;
|
|
169
|
+
window.__DEV_USER_TOKEN__ = token;
|
|
170
|
+
window.__DEV_APP_ID__ = appId;
|
|
171
|
+
}));
|
|
172
|
+
case 1:
|
|
173
|
+
case "end":
|
|
174
|
+
return _context3.stop();
|
|
175
|
+
}
|
|
176
|
+
}, _callee3);
|
|
177
|
+
}));
|
|
178
|
+
return function (_x6) {
|
|
179
|
+
return _ref3.apply(this, arguments);
|
|
180
|
+
};
|
|
181
|
+
}());
|