educast-classroom-sdk 2.4.2 → 2.4.3
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/infra/api/index.d.ts +53 -0
- package/lib/infra/api/lock.d.ts +8 -0
- package/lib/infra/api/polyfills.d.ts +0 -0
- package/lib/infra/api/providers.d.ts +7 -0
- package/lib/infra/api/rtc-extensions/index.d.ts +29 -0
- package/lib/infra/api/type.d.ts +112 -0
- package/lib/infra/capabilities/config.d.ts +22 -0
- package/lib/infra/capabilities/containers/action-sheet-mobile/hands-up.mobile.d.ts +3 -0
- package/lib/infra/capabilities/containers/action-sheet-mobile/mic.d.ts +5 -0
- package/lib/infra/capabilities/containers/action-sheet-mobile/share.mobile.d.ts +3 -0
- package/lib/infra/capabilities/containers/aside/index.d.ts +3 -0
- package/lib/infra/capabilities/containers/award/index.d.ts +3 -0
- package/lib/infra/capabilities/containers/camera-preview/index.d.ts +3 -0
- package/lib/infra/capabilities/containers/cloud-driver/cloud-driver.d.ts +13 -0
- package/lib/infra/capabilities/containers/cloud-driver/cloud-help.d.ts +2 -0
- package/lib/infra/capabilities/containers/cloud-driver/cloud-minimize.d.ts +3 -0
- package/lib/infra/capabilities/containers/cloud-driver/cloud-more-menu.d.ts +6 -0
- package/lib/infra/capabilities/containers/cloud-driver/cloud-toolbar.d.ts +21 -0
- package/lib/infra/capabilities/containers/cloud-driver/index.d.ts +6 -0
- package/lib/infra/capabilities/containers/cloud-driver/person-resource.d.ts +6 -0
- package/lib/infra/capabilities/containers/cloud-driver/public-resource.d.ts +2 -0
- package/lib/infra/capabilities/containers/device-setting/index.d.ts +5 -0
- package/lib/infra/capabilities/containers/dialog/breakout-room/confirm-dialog.d.ts +10 -0
- package/lib/infra/capabilities/containers/dialog/breakout-room/confirm-panel.d.ts +10 -0
- package/lib/infra/capabilities/containers/dialog/breakout-room/fragments/group-select.d.ts +7 -0
- package/lib/infra/capabilities/containers/dialog/breakout-room/fragments/start.d.ts +10 -0
- package/lib/infra/capabilities/containers/dialog/breakout-room/group.d.ts +17 -0
- package/lib/infra/capabilities/containers/dialog/breakout-room/index.d.ts +5 -0
- package/lib/infra/capabilities/containers/dialog/breakout-room/panel.d.ts +23 -0
- package/lib/infra/capabilities/containers/dialog/breakout-room/user.d.ts +18 -0
- package/lib/infra/capabilities/containers/dialog/confirm.d.ts +13 -0
- package/lib/infra/capabilities/containers/dialog/error-generic.d.ts +9 -0
- package/lib/infra/capabilities/containers/dialog/guide/index.d.ts +5 -0
- package/lib/infra/capabilities/containers/dialog/index.d.ts +5 -0
- package/lib/infra/capabilities/containers/dialog/kick-out.d.ts +5 -0
- package/lib/infra/capabilities/containers/dialog/quit.d.ts +6 -0
- package/lib/infra/capabilities/containers/dialog/remote-control-confirm/index.d.ts +7 -0
- package/lib/infra/capabilities/containers/dialog/screen-picker/index.d.ts +30 -0
- package/lib/infra/capabilities/containers/dialog/screen-share/index.d.ts +8 -0
- package/lib/infra/capabilities/containers/dialog/video-gallery/hooks.d.ts +33 -0
- package/lib/infra/capabilities/containers/dialog/video-gallery/index.d.ts +22 -0
- package/lib/infra/capabilities/containers/dialog/video-gallery/pager.d.ts +9 -0
- package/lib/infra/capabilities/containers/dialog/video-gallery/setting.d.ts +11 -0
- package/lib/infra/capabilities/containers/fragments/video-gallery/context.d.ts +5 -0
- package/lib/infra/capabilities/containers/fragments/video-gallery/hooks.d.ts +35 -0
- package/lib/infra/capabilities/containers/fragments/video-gallery/index.d.ts +4 -0
- package/lib/infra/capabilities/containers/fragments/video-gallery/renderer.d.ts +22 -0
- package/lib/infra/capabilities/containers/hand-up/index.d.ts +5 -0
- package/lib/infra/capabilities/containers/hand-up/invite-confirm.d.ts +13 -0
- package/lib/infra/capabilities/containers/hand-up/invite-container.d.ts +7 -0
- package/lib/infra/capabilities/containers/hand-up/invite-table.d.ts +7 -0
- package/lib/infra/capabilities/containers/hand-up/manager.d.ts +12 -0
- package/lib/infra/capabilities/containers/hand-up/sender.d.ts +34 -0
- package/lib/infra/capabilities/containers/hand-up/types.d.ts +14 -0
- package/lib/infra/capabilities/containers/loading/index.d.ts +3 -0
- package/lib/infra/capabilities/containers/nav/index.d.ts +7 -0
- package/lib/infra/capabilities/containers/pczbj-bottom-controls/index.d.ts +3 -0
- package/lib/infra/capabilities/containers/pczbj-middle/index.d.ts +3 -0
- package/lib/infra/capabilities/containers/pczbj-right-panel/index.d.ts +3 -0
- package/lib/infra/capabilities/containers/pretest/form-field/index.d.ts +23 -0
- package/lib/infra/capabilities/containers/pretest/form-field/select.d.ts +5 -0
- package/lib/infra/capabilities/containers/pretest/index.d.ts +11 -0
- package/lib/infra/capabilities/containers/pretest/pretest-audio.d.ts +2 -0
- package/lib/infra/capabilities/containers/pretest/pretest-footer.d.ts +5 -0
- package/lib/infra/capabilities/containers/pretest/pretest-stage.d.ts +2 -0
- package/lib/infra/capabilities/containers/pretest/pretest-video.d.ts +5 -0
- package/lib/infra/capabilities/containers/pretest/volume.d.ts +8 -0
- package/lib/infra/capabilities/containers/root-box/fixed-aspect-ratio.d.ts +24 -0
- package/lib/infra/capabilities/containers/root-box/hooks.d.ts +4 -0
- package/lib/infra/capabilities/containers/root-box/index.d.ts +1 -0
- package/lib/infra/capabilities/containers/roster/button.d.ts +3 -0
- package/lib/infra/capabilities/containers/roster/index.d.ts +2 -0
- package/lib/infra/capabilities/containers/roster/lecture-user-list.d.ts +5 -0
- package/lib/infra/capabilities/containers/roster/user-list.d.ts +5 -0
- package/lib/infra/capabilities/containers/scene-switch/index.d.ts +7 -0
- package/lib/infra/capabilities/containers/scenes-controller/index.d.ts +3 -0
- package/lib/infra/capabilities/containers/screen-share/index.d.ts +12 -0
- package/lib/infra/capabilities/containers/screen-share/index.mobile.d.ts +3 -0
- package/lib/infra/capabilities/containers/stream/cdn-player.d.ts +24 -0
- package/lib/infra/capabilities/containers/stream/draggable-stream.d.ts +10 -0
- package/lib/infra/capabilities/containers/stream/index.d.ts +42 -0
- package/lib/infra/capabilities/containers/stream/index.mobile.d.ts +24 -0
- package/lib/infra/capabilities/containers/stream/room-1v1-player.d.ts +4 -0
- package/lib/infra/capabilities/containers/stream/room-big-class-player.mobile.d.ts +12 -0
- package/lib/infra/capabilities/containers/stream/room-big-player.d.ts +3 -0
- package/lib/infra/capabilities/containers/stream/room-mid-player.d.ts +4 -0
- package/lib/infra/capabilities/containers/stream/stream-tool.d.ts +13 -0
- package/lib/infra/capabilities/containers/stream/track-player.d.ts +21 -0
- package/lib/infra/capabilities/containers/stream/video-live-player.d.ts +16 -0
- package/lib/infra/capabilities/containers/stream-window/index.d.ts +9 -0
- package/lib/infra/capabilities/containers/toast/index.d.ts +3 -0
- package/lib/infra/capabilities/containers/toast/index.mobile.d.ts +3 -0
- package/lib/infra/capabilities/containers/toolbar/board-cleaners/index.d.ts +2 -0
- package/lib/infra/capabilities/containers/toolbar/index.d.ts +6 -0
- package/lib/infra/capabilities/containers/toolbar/pens/index.d.ts +5 -0
- package/lib/infra/capabilities/containers/toolbar/slice/index.d.ts +2 -0
- package/lib/infra/capabilities/containers/toolbar/tool-cabinet/index.d.ts +2 -0
- package/lib/infra/capabilities/containers/widget/index.d.ts +7 -0
- package/lib/infra/capabilities/containers/widget/index.mobile.d.ts +6 -0
- package/lib/infra/capabilities/containers/widget/slots.d.ts +8 -0
- package/lib/infra/capabilities/containers/widget/track.d.ts +22 -0
- package/lib/infra/capabilities/scenarios/1v1/index.d.ts +2 -0
- package/lib/infra/capabilities/scenarios/big-class/index.d.ts +2 -0
- package/lib/infra/capabilities/scenarios/big-class-mobile/index.mobile.d.ts +12 -0
- package/lib/infra/capabilities/scenarios/big-class-mobile/zbj-layout.d.ts +3 -0
- package/lib/infra/capabilities/scenarios/index.d.ts +10 -0
- package/lib/infra/capabilities/scenarios/mid-class/index.d.ts +2 -0
- package/lib/infra/capabilities/scenarios/room/index.d.ts +6 -0
- package/lib/infra/configs/base-theme.d.ts +391 -0
- package/lib/infra/configs/base-ui.d.ts +14 -0
- package/lib/infra/contexts/index.d.ts +15 -0
- package/lib/infra/contexts/ui-store-factory.d.ts +6 -0
- package/lib/infra/hooks/cabinet.d.ts +4 -0
- package/lib/infra/hooks/index.d.ts +6 -0
- package/lib/infra/hooks/ui-store.d.ts +10 -0
- package/lib/infra/hooks/utilites.d.ts +3 -0
- package/lib/infra/protocol/board.d.ts +70 -0
- package/lib/infra/protocol/events.d.ts +67 -0
- package/lib/infra/protocol/index.d.ts +24 -0
- package/lib/infra/protocol/type.d.ts +70 -0
- package/lib/infra/stores/common/base.d.ts +46 -0
- package/lib/infra/stores/common/board/index.d.ts +41 -0
- package/lib/infra/stores/common/cloud-drive/helper.d.ts +14 -0
- package/lib/infra/stores/common/cloud-drive/index.d.ts +178 -0
- package/lib/infra/stores/common/cloud-drive/struct.d.ts +109 -0
- package/lib/infra/stores/common/cloud-drive/type.d.ts +23 -0
- package/lib/infra/stores/common/device-setting/index.d.ts +68 -0
- package/lib/infra/stores/common/getters.d.ts +61 -0
- package/lib/infra/stores/common/group/index.d.ts +139 -0
- package/lib/infra/stores/common/hand-up/index.d.ts +127 -0
- package/lib/infra/stores/common/hand-up/type.d.ts +18 -0
- package/lib/infra/stores/common/index.d.ts +78 -0
- package/lib/infra/stores/common/layout/helper.d.ts +4 -0
- package/lib/infra/stores/common/layout/index.d.ts +24 -0
- package/lib/infra/stores/common/nav/index.d.ts +192 -0
- package/lib/infra/stores/common/notification/index.d.ts +55 -0
- package/lib/infra/stores/common/pretest/helper.d.ts +1 -0
- package/lib/infra/stores/common/pretest/index.d.ts +299 -0
- package/lib/infra/stores/common/pretest/type.d.ts +8 -0
- package/lib/infra/stores/common/roster/index.d.ts +163 -0
- package/lib/infra/stores/common/roster/type.d.ts +55 -0
- package/lib/infra/stores/common/share/index.d.ts +151 -0
- package/lib/infra/stores/common/stream/index.d.ts +257 -0
- package/lib/infra/stores/common/stream/state-keeper.d.ts +18 -0
- package/lib/infra/stores/common/stream/struct.d.ts +63 -0
- package/lib/infra/stores/common/stream/tool.d.ts +32 -0
- package/lib/infra/stores/common/stream-window/helper.d.ts +101 -0
- package/lib/infra/stores/common/stream-window/index.d.ts +223 -0
- package/lib/infra/stores/common/stream-window/struct.d.ts +95 -0
- package/lib/infra/stores/common/stream-window/type.d.ts +32 -0
- package/lib/infra/stores/common/subscription/abstract.d.ts +43 -0
- package/lib/infra/stores/common/subscription/index.d.ts +14 -0
- package/lib/infra/stores/common/subscription/main-room.d.ts +14 -0
- package/lib/infra/stores/common/subscription/type.d.ts +10 -0
- package/lib/infra/stores/common/toolbar/index.d.ts +145 -0
- package/lib/infra/stores/common/toolbar/type.d.ts +45 -0
- package/lib/infra/stores/common/type.d.ts +10 -0
- package/lib/infra/stores/common/video-gallery/index.d.ts +42 -0
- package/lib/infra/stores/common/widget/index.d.ts +40 -0
- package/lib/infra/stores/interactive/board.d.ts +6 -0
- package/lib/infra/stores/interactive/index.d.ts +7 -0
- package/lib/infra/stores/interactive/stream.d.ts +33 -0
- package/lib/infra/stores/lecture/board.d.ts +7 -0
- package/lib/infra/stores/lecture/index.d.ts +9 -0
- package/lib/infra/stores/lecture/roster.d.ts +57 -0
- package/lib/infra/stores/lecture/stream.d.ts +31 -0
- package/lib/infra/stores/lecture/toolbar.d.ts +11 -0
- package/lib/infra/stores/lecture-mobile/board.d.ts +24 -0
- package/lib/infra/stores/lecture-mobile/device-setting.d.ts +9 -0
- package/lib/infra/stores/lecture-mobile/index.d.ts +13 -0
- package/lib/infra/stores/lecture-mobile/layout.d.ts +40 -0
- package/lib/infra/stores/lecture-mobile/stream.d.ts +66 -0
- package/lib/infra/stores/one-on-one/index.d.ts +7 -0
- package/lib/infra/stores/one-on-one/stream.d.ts +12 -0
- package/lib/infra/stores/one-on-one/toolbar.d.ts +7 -0
- package/lib/infra/translate/en.d.ts +882 -0
- package/lib/infra/translate/zh.d.ts +882 -0
- package/lib/infra/utils/async-queue.d.ts +16 -0
- package/lib/infra/utils/board-utils.d.ts +22 -0
- package/lib/infra/utils/colors.d.ts +13 -0
- package/lib/infra/utils/config-loader.d.ts +9 -0
- package/lib/infra/utils/error.d.ts +12 -0
- package/lib/infra/utils/event-center.d.ts +20 -0
- package/lib/infra/utils/extract.d.ts +6 -0
- package/lib/infra/utils/index.d.ts +16 -0
- package/lib/infra/utils/interaction.d.ts +6 -0
- package/lib/infra/utils/ipc-channels.d.ts +39 -0
- package/lib/infra/utils/ipc.d.ts +48 -0
- package/lib/ui-kit/components/button/abutton.d.ts +6 -0
- package/lib/ui-kit/components/button/index.d.ts +18 -0
- package/lib/ui-kit/components/card/index.d.ts +14 -0
- package/lib/ui-kit/components/checkbox/index.d.ts +14 -0
- package/lib/ui-kit/components/float/index.d.ts +13 -0
- package/lib/ui-kit/components/index.d.ts +27 -0
- package/lib/ui-kit/components/input/ainput.d.ts +6 -0
- package/lib/ui-kit/components/input/index.d.ts +31 -0
- package/lib/ui-kit/components/input-number/index.d.ts +10 -0
- package/lib/ui-kit/components/layout/index.d.ts +12 -0
- package/lib/ui-kit/components/loading/index.d.ts +37 -0
- package/lib/ui-kit/components/modal/index.d.ts +32 -0
- package/lib/ui-kit/components/overlay-wrap/index.d.ts +15 -0
- package/lib/ui-kit/components/pagination/index.d.ts +5 -0
- package/lib/ui-kit/components/placeholder/index.d.ts +18 -0
- package/lib/ui-kit/components/popover/index.d.ts +9 -0
- package/lib/ui-kit/components/progress/index.d.ts +19 -0
- package/lib/ui-kit/components/radio/index.d.ts +21 -0
- package/lib/ui-kit/components/root-box/index.d.ts +5 -0
- package/lib/ui-kit/components/roster/carousel-setting.d.ts +5 -0
- package/lib/ui-kit/components/roster/columns.d.ts +8 -0
- package/lib/ui-kit/components/roster/hooks.d.ts +3 -0
- package/lib/ui-kit/components/roster/index.d.ts +140 -0
- package/lib/ui-kit/components/roster/roster.d.ts +3 -0
- package/lib/ui-kit/components/roster/table.d.ts +21 -0
- package/lib/ui-kit/components/select/index.d.ts +24 -0
- package/lib/ui-kit/components/slider/index.d.ts +17 -0
- package/lib/ui-kit/components/sound-player/index.d.ts +6 -0
- package/lib/ui-kit/components/svg-img/generate.d.ts +0 -0
- package/lib/ui-kit/components/svg-img/index.d.ts +37 -0
- package/lib/ui-kit/components/svg-img/paths/add-scene.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/add.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/alf.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/answer.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/arrow.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/ask-for-help.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/audio.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/authorized-solid.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/authorized.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/auto-play-failed.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/backward.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/bad-signal.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/beta.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/board-not-granted.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/buffing.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/calendar.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/camera-disabled.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/camera-enabled.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/camera-off-mobile.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/camera-on-mobile.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/camera.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/chat.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/checked.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/chevron-right.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/circle.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/clear.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/clicker.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/clock.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/close.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/cloud-file-help.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/cloud-more.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/cloud-refresh.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/cloud.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/collapse-stream-mobile.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/copy.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/countdown.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/delete.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/down.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/dropdown.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/edit.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/emoji.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/eraser.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/excel.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/exit.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/extension-actived.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/fcr-ppt-broken.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/forward.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/fullscreen-shrink.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/fullscreen.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/gooffstage.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/goonstage.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/group-discuss.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/h5.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/hand.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/hands-up-active.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/hands-up.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/id.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/image.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/indicator.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/invite-on-podium.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/invite-to-podium.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/kick-out.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/landscape.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/laser-pointer.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/line.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/link-solid.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/link.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/log.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/m-camera-off.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/m-camera.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/m-micphone-off.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/m-micphone.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/m-switch-camera.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/mark.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/matrix.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/max.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/maximize.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/menu-fold.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/menu-unfold.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/mic-disabled.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/mic-enabled.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/microphone-off-outline.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/microphone-off.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/microphone-on-outline.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/microphone-on.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/microphone.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/min.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/minimize.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/more.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/mute-mobile.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/no-authorized.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/no-discussion.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/none.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/normal-signal.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/on-podium.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/out.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pdf.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pen-arrow.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pen-circle.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pen-curve.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pen-line.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pen-pentagram.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pen-rhombus.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pen-square.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pen-triangle.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pen.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pentagram.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pic.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pip-off.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pip-on.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/placeholder-camera-broken.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/placeholder-camera-no-body.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/placeholder-camera-off.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/placeholder-no-ask.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/placeholder-no-file.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/placeholder-no-message.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/placeholder-no-search.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/placeholder-no-setup.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/placeholder-not-present.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/ppt.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pretest-check.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pretest-checked.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pretest-speaker.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/record.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/recording.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/red-caution.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/redo.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/register.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/replay.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/reset.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/restore.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/review.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/reward.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/rhombus.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/room-label.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/ruddy.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/save-ghost.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/search.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/select.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/set-outline.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/set.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/settings.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/share-close.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/share-default.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/share-hover.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/share-mobile.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/share-screen.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/slice-window.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/slice.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/speaker.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/square.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/stage.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/star-outline.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/star.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/stream-window-on.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/switch-screen-share-active.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/switch-screen-share.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/text.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/toast-info.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/toast-success.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/tools.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/triangle-down.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/triangle-solid-down.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/triangle-solid-right.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/triangle-solid-up.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/triangle.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/txt.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/undo.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/unknown-signal.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/unknown.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/unmute-mobile.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/video-gallery.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/video-switch-mobile.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/video.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/vote.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/whiteboard.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/whitening.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/word.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/zoom-in.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/zoom-out.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/svg-dict.d.ts +12 -0
- package/lib/ui-kit/components/svg-img/type.d.ts +182 -0
- package/lib/ui-kit/components/svga-player/index.d.ts +11 -0
- package/lib/ui-kit/components/svga-player/svga-types.d.ts +1 -0
- package/lib/ui-kit/components/table/index.d.ts +40 -0
- package/lib/ui-kit/components/tabs/index.d.ts +7 -0
- package/lib/ui-kit/components/toast/index.d.ts +16 -0
- package/lib/ui-kit/components/toolbar/board-cleaners.d.ts +15 -0
- package/lib/ui-kit/components/toolbar/index.d.ts +15 -0
- package/lib/ui-kit/components/toolbar/pens.d.ts +19 -0
- package/lib/ui-kit/components/toolbar/slice.d.ts +14 -0
- package/lib/ui-kit/components/toolbar/tool-cabinet.d.ts +7 -0
- package/lib/ui-kit/components/toolbar/tool.d.ts +19 -0
- package/lib/ui-kit/components/toolbar/util.d.ts +3 -0
- package/lib/ui-kit/components/tooltip/index.d.ts +30 -0
- package/lib/ui-kit/components/tooltip/placements.d.ts +17 -0
- package/lib/ui-kit/components/tree/index.d.ts +34 -0
- package/lib/ui-kit/components/util/colors.d.ts +3 -0
- package/lib/ui-kit/components/util/getRenderPropValue.d.ts +3 -0
- package/lib/ui-kit/components/util/motion.d.ts +5 -0
- package/lib/ui-kit/components/util/type.d.ts +13 -0
- package/lib/ui-kit/components/volume/index.d.ts +17 -0
- package/lib/ui-kit/index.d.ts +2 -0
- package/lib/ui-kit/utilities/hooks.d.ts +22 -0
- package/lib/ui-kit/utilities/index.d.ts +31 -0
- package/lib/ui-kit/utilities/state-color.d.ts +17 -0
- package/lib/ui-kit/utilities/style-config.d.ts +60 -0
- package/lib/ui-kit/utilities/types.d.ts +8 -0
- package/package.json +1 -1
- package/lib/edu_sdk.bundle.js +0 -2
- package/lib/edu_sdk.bundle.js.LICENSE.txt +0 -164
- package/lib/worker-entry.bundle.worker.js.LICENSE.txt +0 -3
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { GroupDetail, GroupState } from 'agora-edu-core';
|
|
2
|
+
import { EduUIStoreBase } from '../base';
|
|
3
|
+
export declare enum GroupMethod {
|
|
4
|
+
AUTO = 0,
|
|
5
|
+
MANUAL = 1
|
|
6
|
+
}
|
|
7
|
+
export declare class GroupUIStore extends EduUIStoreBase {
|
|
8
|
+
private _disposers;
|
|
9
|
+
private _groupSeq;
|
|
10
|
+
joiningSubRoom: boolean;
|
|
11
|
+
isCopyContent: boolean;
|
|
12
|
+
localGroups: Map<string, GroupDetail>;
|
|
13
|
+
private _groupNum;
|
|
14
|
+
private _dialogsMap;
|
|
15
|
+
MAX_USER_COUNT: number;
|
|
16
|
+
/**
|
|
17
|
+
* 分组列表
|
|
18
|
+
*/
|
|
19
|
+
get groups(): {
|
|
20
|
+
id: string;
|
|
21
|
+
text: string;
|
|
22
|
+
children: {
|
|
23
|
+
id: string;
|
|
24
|
+
text: string;
|
|
25
|
+
}[];
|
|
26
|
+
}[];
|
|
27
|
+
get groupDetails(): Map<string, GroupDetail>;
|
|
28
|
+
/**
|
|
29
|
+
* 获取学生所在组ID
|
|
30
|
+
* @param userUuid
|
|
31
|
+
*/
|
|
32
|
+
getUserGroupUuid(userUuid: string): string | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* 获取学生信息
|
|
35
|
+
* @param userUuid
|
|
36
|
+
*/
|
|
37
|
+
getGroupUserByUuid(userUuid: string): import("agora-edu-core").GroupUser | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* 学生列表
|
|
40
|
+
*/
|
|
41
|
+
get students(): {
|
|
42
|
+
userUuid: string;
|
|
43
|
+
userName: string;
|
|
44
|
+
groupUuid: string | undefined;
|
|
45
|
+
}[];
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
get notGroupedCount(): number;
|
|
50
|
+
get numberToBeAssigned(): number;
|
|
51
|
+
get userData(): {
|
|
52
|
+
users: Map<string, import("agora-edu-core").EduUserStruct>;
|
|
53
|
+
teacherList: Map<string, import("agora-edu-core").EduUserStruct>;
|
|
54
|
+
studentList: Map<string, import("agora-edu-core").EduUserStruct>;
|
|
55
|
+
assistantList: Map<string, import("agora-edu-core").EduUserStruct>;
|
|
56
|
+
rewards: Map<string, number>;
|
|
57
|
+
userCount: number;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* 当前是否开放分组
|
|
61
|
+
*/
|
|
62
|
+
get groupState(): GroupState;
|
|
63
|
+
/**
|
|
64
|
+
* 当前房间
|
|
65
|
+
*/
|
|
66
|
+
get currentSubRoom(): string | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* 设置分组用户列表
|
|
69
|
+
* @param groupUuid
|
|
70
|
+
* @param users
|
|
71
|
+
*/
|
|
72
|
+
setGroupUsers(groupUuid: string, users: string[]): void;
|
|
73
|
+
/**
|
|
74
|
+
* 重命名组
|
|
75
|
+
* @param from 原名字
|
|
76
|
+
* @param to 新名字
|
|
77
|
+
*/
|
|
78
|
+
renameGroupName(groupUuid: string, groupName: string): void;
|
|
79
|
+
/**
|
|
80
|
+
* 新增组
|
|
81
|
+
*/
|
|
82
|
+
addGroup(): void;
|
|
83
|
+
/**
|
|
84
|
+
* 删除组
|
|
85
|
+
* @param groupUuid 组id
|
|
86
|
+
*/
|
|
87
|
+
removeGroup(groupUuid: string): void;
|
|
88
|
+
/**
|
|
89
|
+
* 移动用户
|
|
90
|
+
* @param fromGroupUuid
|
|
91
|
+
* @param toGroupUuid
|
|
92
|
+
* @param user
|
|
93
|
+
*/
|
|
94
|
+
moveUserToGroup(fromGroupUuid: string, toGroupUuid: string, userUuid: string): void;
|
|
95
|
+
toastFullOfStudents: () => void;
|
|
96
|
+
/**
|
|
97
|
+
* 用户组互换
|
|
98
|
+
* @param userUuid1
|
|
99
|
+
* @param userUuid2
|
|
100
|
+
*/
|
|
101
|
+
interchangeGroup(userUuid1: string, userUuid2: string): void;
|
|
102
|
+
startGroup(): Promise<void>;
|
|
103
|
+
/**
|
|
104
|
+
* 结束分组
|
|
105
|
+
*/
|
|
106
|
+
stopGroup(cb: () => void): Promise<void>;
|
|
107
|
+
/**
|
|
108
|
+
* 创建分组
|
|
109
|
+
* @param type
|
|
110
|
+
* @param group
|
|
111
|
+
*/
|
|
112
|
+
createGroups(type: GroupMethod, count: number): void;
|
|
113
|
+
private _isGroupExisted;
|
|
114
|
+
getGroupUserCount(groupUuid: string): number | undefined;
|
|
115
|
+
/**
|
|
116
|
+
* 加入子房间
|
|
117
|
+
* @param groupUuid
|
|
118
|
+
*/
|
|
119
|
+
joinSubRoom(groupUuid: string): void;
|
|
120
|
+
broadcastMessage(message: string): Promise<void>;
|
|
121
|
+
private _generateGroupName;
|
|
122
|
+
private setConnectionState;
|
|
123
|
+
private _waitUntilLeft;
|
|
124
|
+
private _waitUntilConnected;
|
|
125
|
+
private _waitUntilJoined;
|
|
126
|
+
private _grantWhiteboard;
|
|
127
|
+
private _joinSubRoom;
|
|
128
|
+
private _copyRoomContent;
|
|
129
|
+
private _leaveSubRoom;
|
|
130
|
+
private _changeSubRoom;
|
|
131
|
+
/**
|
|
132
|
+
* 设置是否要复制内容到讨论组
|
|
133
|
+
* @param v 开启或关闭
|
|
134
|
+
*/
|
|
135
|
+
setCopyContent(v: boolean): void;
|
|
136
|
+
onInstall(): void;
|
|
137
|
+
private _handleClassroomEvent;
|
|
138
|
+
onDestroy(): void;
|
|
139
|
+
}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { EduRoleTypeEnum } from 'agora-edu-core';
|
|
2
|
+
import { EduUIStoreBase } from '../base';
|
|
3
|
+
import { OnPodiumStateEnum } from './type';
|
|
4
|
+
import { FetchUserParam, FetchUserType } from '../roster/type';
|
|
5
|
+
export declare type UserWaveArmInfo = {
|
|
6
|
+
userUuid: string;
|
|
7
|
+
userName: string;
|
|
8
|
+
onPodium: boolean;
|
|
9
|
+
};
|
|
10
|
+
export declare type UserHandUpInfo = {
|
|
11
|
+
name: string;
|
|
12
|
+
uid: string;
|
|
13
|
+
role: EduRoleTypeEnum;
|
|
14
|
+
onPodiumState: OnPodiumStateEnum;
|
|
15
|
+
};
|
|
16
|
+
export declare class HandUpUIStore extends EduUIStoreBase {
|
|
17
|
+
private _disposers;
|
|
18
|
+
private _autoAcceptingInviteUuids;
|
|
19
|
+
private _confirmedByTeacherInviteAt;
|
|
20
|
+
onInstall(): void;
|
|
21
|
+
private _curInvitedInfo;
|
|
22
|
+
private _refuseInvitedTs;
|
|
23
|
+
private _curInvitedByTeacherInfo;
|
|
24
|
+
private _refuseInvitedByTeacherTs;
|
|
25
|
+
/**
|
|
26
|
+
* 持续挥手时间
|
|
27
|
+
*/
|
|
28
|
+
get waveArmDurationTime(): number;
|
|
29
|
+
/**
|
|
30
|
+
* 查询下一页的参数
|
|
31
|
+
*/
|
|
32
|
+
get fetchUserListParams(): {
|
|
33
|
+
nextId: string | number | undefined;
|
|
34
|
+
count: number;
|
|
35
|
+
type: FetchUserType;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* 查询下一页的ID
|
|
39
|
+
*/
|
|
40
|
+
private _nextPageId;
|
|
41
|
+
/**
|
|
42
|
+
* 分页查询到的用户列表
|
|
43
|
+
*/
|
|
44
|
+
private _userList;
|
|
45
|
+
get isOnPodiuming(): boolean;
|
|
46
|
+
get isWavingArm(): boolean;
|
|
47
|
+
get userList(): UserHandUpInfo[];
|
|
48
|
+
/**
|
|
49
|
+
* 是否被邀请上台
|
|
50
|
+
* @returns
|
|
51
|
+
*/
|
|
52
|
+
get beingInvited(): boolean;
|
|
53
|
+
get beingInvitedByTeacher(): boolean;
|
|
54
|
+
get beingInvitedCombined(): boolean;
|
|
55
|
+
/**
|
|
56
|
+
* 挥手用户列表
|
|
57
|
+
* @returns
|
|
58
|
+
*/
|
|
59
|
+
get userWaveArmList(): UserWaveArmInfo[];
|
|
60
|
+
/**
|
|
61
|
+
* 是否有用户在挥手
|
|
62
|
+
* @returns
|
|
63
|
+
*/
|
|
64
|
+
get hasWaveArmUser(): boolean;
|
|
65
|
+
/**
|
|
66
|
+
* 挥手用户数
|
|
67
|
+
* @returns
|
|
68
|
+
*/
|
|
69
|
+
get waveArmCount(): number;
|
|
70
|
+
/**
|
|
71
|
+
* 老师的唯一标识
|
|
72
|
+
* @returns
|
|
73
|
+
*/
|
|
74
|
+
get teacherUuid(): string;
|
|
75
|
+
/**
|
|
76
|
+
* 学生上台(接受学生举手)
|
|
77
|
+
* @param userUuid
|
|
78
|
+
*/
|
|
79
|
+
onPodium: (userUuid: string) => void;
|
|
80
|
+
/**
|
|
81
|
+
* 邀请学生上台
|
|
82
|
+
* @param userUuid
|
|
83
|
+
*/
|
|
84
|
+
invite(userUuid: string, duration: number, payload?: any): Promise<void>;
|
|
85
|
+
cancelInvite(userUuid: string): Promise<void>;
|
|
86
|
+
/**
|
|
87
|
+
* 学生同意上台
|
|
88
|
+
* @param userUuid
|
|
89
|
+
*/
|
|
90
|
+
confirmInvite(): void;
|
|
91
|
+
/**
|
|
92
|
+
* 学生拒绝上台邀请
|
|
93
|
+
* @param userUuid
|
|
94
|
+
*/
|
|
95
|
+
refuseInvite(): void;
|
|
96
|
+
/**
|
|
97
|
+
* 学生下台
|
|
98
|
+
* @param userUuid
|
|
99
|
+
*/
|
|
100
|
+
offPodium: (userUuid: string) => void;
|
|
101
|
+
get confirmedTeacherInviteRecently(): boolean;
|
|
102
|
+
/**
|
|
103
|
+
* 老师拒绝学生上台
|
|
104
|
+
* @param userUuid
|
|
105
|
+
*/
|
|
106
|
+
rejectHandUp(userUuid: string): void;
|
|
107
|
+
/**
|
|
108
|
+
* 学生取消举手
|
|
109
|
+
*/
|
|
110
|
+
cancelHandUp(): Promise<void>;
|
|
111
|
+
/**
|
|
112
|
+
* 学生挥手
|
|
113
|
+
*
|
|
114
|
+
* @param teacherUuid
|
|
115
|
+
* @param duration 挥手的时间,单位:秒,-1 为持续举手
|
|
116
|
+
*/
|
|
117
|
+
waveArm(teacherUuid: string, duration: number, payload?: any): void;
|
|
118
|
+
/**
|
|
119
|
+
* 获取下一页的用户列表
|
|
120
|
+
*/
|
|
121
|
+
fetchUsersList(override?: Partial<FetchUserParam>, reset?: boolean): void;
|
|
122
|
+
/**
|
|
123
|
+
* 重置学生列表及查询条件
|
|
124
|
+
*/
|
|
125
|
+
resetStudentList(): void;
|
|
126
|
+
onDestroy(): void;
|
|
127
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { AgoraRteScene } from 'agora-rte-sdk';
|
|
2
|
+
import { BoardUIStore } from './board';
|
|
3
|
+
import { CloudUIStore } from './cloud-drive';
|
|
4
|
+
import { DeviceSettingUIStore } from './device-setting/index';
|
|
5
|
+
import { HandUpUIStore } from './hand-up';
|
|
6
|
+
import { NavigationBarUIStore } from './nav';
|
|
7
|
+
import { RosterUIStore } from './roster';
|
|
8
|
+
import { EduShareUIStore } from './share';
|
|
9
|
+
import { StreamUIStore } from './stream';
|
|
10
|
+
import { ToolbarUIStore } from './toolbar';
|
|
11
|
+
import { LayoutUIStore } from './layout';
|
|
12
|
+
import { NotificationUIStore } from './notification';
|
|
13
|
+
import { StreamWindowUIStore } from './stream-window';
|
|
14
|
+
import { PretestUIStore } from './pretest';
|
|
15
|
+
import { EduClassroomStore } from 'agora-edu-core';
|
|
16
|
+
import { WidgetUIStore } from './widget';
|
|
17
|
+
import { GroupUIStore } from './group';
|
|
18
|
+
import { SubscriptionUIStore } from './subscription';
|
|
19
|
+
import { VideoGalleryUIStore } from './video-gallery';
|
|
20
|
+
import { Getters } from './getters';
|
|
21
|
+
export declare class EduClassroomUIStore {
|
|
22
|
+
protected _classroomStore: EduClassroomStore;
|
|
23
|
+
protected _boardUIStore: BoardUIStore;
|
|
24
|
+
protected _shareUIStore: EduShareUIStore;
|
|
25
|
+
protected _cloudUIStore: CloudUIStore;
|
|
26
|
+
protected _streamUIStore: StreamUIStore;
|
|
27
|
+
protected _rosterUIStore: RosterUIStore;
|
|
28
|
+
protected _handUpUIStore: HandUpUIStore;
|
|
29
|
+
protected _deviceSettingUIStore: DeviceSettingUIStore;
|
|
30
|
+
protected _navigationBarUIStore: NavigationBarUIStore;
|
|
31
|
+
protected _toolbarUIStore: ToolbarUIStore;
|
|
32
|
+
protected _layoutUIStore: LayoutUIStore;
|
|
33
|
+
protected _notificationUIStore: NotificationUIStore;
|
|
34
|
+
protected _pretestUIStore: PretestUIStore;
|
|
35
|
+
protected _widgetUIStore: WidgetUIStore;
|
|
36
|
+
protected _groupUIStore: GroupUIStore;
|
|
37
|
+
protected _streamWindowUIStore: StreamWindowUIStore;
|
|
38
|
+
protected _subscriptionUIStore: SubscriptionUIStore;
|
|
39
|
+
protected _videoGalleryUIStore: VideoGalleryUIStore;
|
|
40
|
+
protected _getters: Getters;
|
|
41
|
+
private _installed;
|
|
42
|
+
constructor(store: EduClassroomStore);
|
|
43
|
+
/**
|
|
44
|
+
* getters
|
|
45
|
+
*/
|
|
46
|
+
get classroomStore(): EduClassroomStore;
|
|
47
|
+
get shareUIStore(): EduShareUIStore;
|
|
48
|
+
get boardUIStore(): BoardUIStore;
|
|
49
|
+
get cloudUIStore(): CloudUIStore;
|
|
50
|
+
get streamUIStore(): StreamUIStore;
|
|
51
|
+
get rosterUIStore(): RosterUIStore;
|
|
52
|
+
get handUpUIStore(): HandUpUIStore;
|
|
53
|
+
get deviceSettingUIStore(): DeviceSettingUIStore;
|
|
54
|
+
get navigationBarUIStore(): NavigationBarUIStore;
|
|
55
|
+
get toolbarUIStore(): ToolbarUIStore;
|
|
56
|
+
get layoutUIStore(): LayoutUIStore;
|
|
57
|
+
get notificationUIStore(): NotificationUIStore;
|
|
58
|
+
get pretestUIStore(): PretestUIStore;
|
|
59
|
+
get widgetUIStore(): WidgetUIStore;
|
|
60
|
+
get groupUIStore(): GroupUIStore;
|
|
61
|
+
get streamWindowUIStore(): StreamWindowUIStore;
|
|
62
|
+
get videoGalleryUIStore(): VideoGalleryUIStore;
|
|
63
|
+
get getters(): Getters;
|
|
64
|
+
/**
|
|
65
|
+
* 初始化所有 UIStore
|
|
66
|
+
* @returns
|
|
67
|
+
*/
|
|
68
|
+
initialize(): void;
|
|
69
|
+
enableDualStream(fromScene?: AgoraRteScene): Promise<void>;
|
|
70
|
+
/**
|
|
71
|
+
* 加入教室,之后加入 RTC 频道
|
|
72
|
+
*/
|
|
73
|
+
join(): Promise<void>;
|
|
74
|
+
/**
|
|
75
|
+
* 销毁所有 UIStore
|
|
76
|
+
*/
|
|
77
|
+
destroy(): void;
|
|
78
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { EduUIStoreBase } from '../base';
|
|
2
|
+
export declare class LayoutUIStore extends EduUIStoreBase {
|
|
3
|
+
awardAnims: {
|
|
4
|
+
id: string;
|
|
5
|
+
}[];
|
|
6
|
+
loadingPhase: 'idle' | 'resources' | 'connecting';
|
|
7
|
+
private _loadingPhaseTimer?;
|
|
8
|
+
private _connectionStateDisposer?;
|
|
9
|
+
get isInSubRoom(): boolean;
|
|
10
|
+
get loadingText(): string;
|
|
11
|
+
/**
|
|
12
|
+
* 所在房间名称
|
|
13
|
+
*/
|
|
14
|
+
get currentSubRoomName(): string | null | undefined;
|
|
15
|
+
onInstall(): void;
|
|
16
|
+
private _handleClassroomEvents;
|
|
17
|
+
removeAward(id: string): void;
|
|
18
|
+
/**
|
|
19
|
+
* 教室加载状态
|
|
20
|
+
*/
|
|
21
|
+
get loading(): boolean;
|
|
22
|
+
private _syncLoadingPhase;
|
|
23
|
+
onDestroy(): void;
|
|
24
|
+
}
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import { ClassState, RecordMode, RecordStatus } from 'agora-edu-core';
|
|
2
|
+
import { AGNetworkQuality } from 'agora-rte-sdk';
|
|
3
|
+
import { SvgIconEnum } from '@classroom/ui-kit';
|
|
4
|
+
import { EduUIStoreBase } from '../base';
|
|
5
|
+
export interface EduNavAction<P = undefined> {
|
|
6
|
+
id: 'Record' | 'AskForHelp' | 'Settings' | 'Exit' | 'Camera' | 'Mic' | 'Share';
|
|
7
|
+
title: string;
|
|
8
|
+
iconType: SvgIconEnum;
|
|
9
|
+
iconColor?: string;
|
|
10
|
+
onClick?: () => void;
|
|
11
|
+
payload?: P;
|
|
12
|
+
}
|
|
13
|
+
export interface EduNavRecordActionPayload {
|
|
14
|
+
text: string;
|
|
15
|
+
recordStatus: RecordStatus;
|
|
16
|
+
}
|
|
17
|
+
export declare class NavigationBarUIStore extends EduUIStoreBase {
|
|
18
|
+
private _disposers;
|
|
19
|
+
externalRecordStatus?: RecordStatus;
|
|
20
|
+
recordStartPending: boolean;
|
|
21
|
+
private _recordLogId;
|
|
22
|
+
private _recordAlwaysLog;
|
|
23
|
+
private _recordTrace;
|
|
24
|
+
private _recordDebugEnabled;
|
|
25
|
+
private _waitExternalRecordingStarted;
|
|
26
|
+
get hasRecordingIntegration(): boolean;
|
|
27
|
+
onInstall(): void;
|
|
28
|
+
shareVisible: boolean;
|
|
29
|
+
get recordStatus(): RecordStatus;
|
|
30
|
+
get isRecording(): boolean;
|
|
31
|
+
get isRecordStarting(): boolean;
|
|
32
|
+
get isRecordStoped(): boolean;
|
|
33
|
+
/**
|
|
34
|
+
* 是否选择摄像头设备
|
|
35
|
+
* @returns
|
|
36
|
+
*/
|
|
37
|
+
get localCameraOff(): boolean;
|
|
38
|
+
/**
|
|
39
|
+
* 是否选择麦克风设备
|
|
40
|
+
*/
|
|
41
|
+
get localMicOff(): boolean;
|
|
42
|
+
get hasStreamWindow(): boolean;
|
|
43
|
+
/**
|
|
44
|
+
* 当前 camera 的状态根据讲台的隐藏展示 + camera 的状态来更新状态
|
|
45
|
+
* stage --> 讲台
|
|
46
|
+
* camera --> camera 状态
|
|
47
|
+
*
|
|
48
|
+
* stage === true 那么控制摄像头开关
|
|
49
|
+
* stage === flase 控制老师窗口的展示和关闭
|
|
50
|
+
*/
|
|
51
|
+
get localNavCameraOff(): boolean;
|
|
52
|
+
/**
|
|
53
|
+
* 顶部导航栏按钮列表
|
|
54
|
+
* @returns
|
|
55
|
+
*/
|
|
56
|
+
get actions(): EduNavAction<EduNavRecordActionPayload | undefined>[];
|
|
57
|
+
get teacherInCurrentRoom(): boolean | "" | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* 老师所在房间
|
|
60
|
+
*/
|
|
61
|
+
get teacherGroupUuid(): string | false | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* 教室时间信息
|
|
64
|
+
* @returns
|
|
65
|
+
*/
|
|
66
|
+
get classroomSchedule(): import("agora-edu-core/lib/stores/domain/common/room/type").ClassroomSchedule;
|
|
67
|
+
/**
|
|
68
|
+
* 教室状态
|
|
69
|
+
* @returns
|
|
70
|
+
*/
|
|
71
|
+
get classState(): ClassState | undefined;
|
|
72
|
+
/**
|
|
73
|
+
* 服务器时间
|
|
74
|
+
* @returns
|
|
75
|
+
*/
|
|
76
|
+
get calibratedTime(): number;
|
|
77
|
+
/**
|
|
78
|
+
* 教室持续时间
|
|
79
|
+
* @returns
|
|
80
|
+
*/
|
|
81
|
+
get classTimeDuration(): number;
|
|
82
|
+
/**
|
|
83
|
+
* 教室状态文字
|
|
84
|
+
* @returns
|
|
85
|
+
*/
|
|
86
|
+
get classStatusText(): string;
|
|
87
|
+
/**
|
|
88
|
+
* 教室状态文字颜色
|
|
89
|
+
* @returns
|
|
90
|
+
*/
|
|
91
|
+
get classStatusTextColor(): "#F04C36" | "#677386" | undefined;
|
|
92
|
+
/**
|
|
93
|
+
* 是否为开始上课
|
|
94
|
+
* @returns
|
|
95
|
+
*/
|
|
96
|
+
get isBeforeClass(): boolean;
|
|
97
|
+
/**
|
|
98
|
+
* 网络质量状态
|
|
99
|
+
* @returns
|
|
100
|
+
*/
|
|
101
|
+
get networkQualityClass(): string;
|
|
102
|
+
/**
|
|
103
|
+
* 网络质量状态图标
|
|
104
|
+
* @returns
|
|
105
|
+
*/
|
|
106
|
+
get networkQualityIcon(): {
|
|
107
|
+
icon: SvgIconEnum;
|
|
108
|
+
color: string;
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* 网络质量状态
|
|
112
|
+
* @returns
|
|
113
|
+
*/
|
|
114
|
+
get networkQualityLabel(): string;
|
|
115
|
+
/**
|
|
116
|
+
* CPU 用量
|
|
117
|
+
* @returns
|
|
118
|
+
*/
|
|
119
|
+
get cpuValue(): number;
|
|
120
|
+
/**
|
|
121
|
+
* CPU 负载百分比
|
|
122
|
+
* @returns
|
|
123
|
+
*/
|
|
124
|
+
get cpuLabel(): string;
|
|
125
|
+
/**
|
|
126
|
+
* 丢包率
|
|
127
|
+
* @returns
|
|
128
|
+
*/
|
|
129
|
+
get packetLoss(): string;
|
|
130
|
+
/**
|
|
131
|
+
* 网络质量状态
|
|
132
|
+
* @returns
|
|
133
|
+
*/
|
|
134
|
+
get networkQuality(): AGNetworkQuality;
|
|
135
|
+
/**
|
|
136
|
+
* 网络延时
|
|
137
|
+
* @returns
|
|
138
|
+
*/
|
|
139
|
+
get delay(): string;
|
|
140
|
+
/**
|
|
141
|
+
* 导航栏标题
|
|
142
|
+
* @returns
|
|
143
|
+
*/
|
|
144
|
+
get navigationTitle(): string;
|
|
145
|
+
/**
|
|
146
|
+
* 当前屏幕分享人名称
|
|
147
|
+
*/
|
|
148
|
+
get currScreenShareTitle(): string | undefined;
|
|
149
|
+
/**
|
|
150
|
+
* 所在房间名称
|
|
151
|
+
*/
|
|
152
|
+
get currentSubRoomName(): string | null | undefined;
|
|
153
|
+
get recordArgs(): {
|
|
154
|
+
webRecordConfig: {
|
|
155
|
+
rootUrl: string;
|
|
156
|
+
videoBitrate: number;
|
|
157
|
+
};
|
|
158
|
+
mode: RecordMode;
|
|
159
|
+
retryTimeout: number;
|
|
160
|
+
};
|
|
161
|
+
/**
|
|
162
|
+
* 倒计时格式化
|
|
163
|
+
* @param ms
|
|
164
|
+
* @param mode
|
|
165
|
+
* @returns
|
|
166
|
+
*/
|
|
167
|
+
private formatCountDown;
|
|
168
|
+
closeShare(): void;
|
|
169
|
+
/**
|
|
170
|
+
* 开始上课
|
|
171
|
+
*/
|
|
172
|
+
startClass(): Promise<void>;
|
|
173
|
+
/**
|
|
174
|
+
* 切换本地摄像头设备开关状态
|
|
175
|
+
*/
|
|
176
|
+
private _toggleLocalVideo;
|
|
177
|
+
/**
|
|
178
|
+
* 切换本地麦克风设备开关状态
|
|
179
|
+
*/
|
|
180
|
+
private _toggleLocalAudio;
|
|
181
|
+
/**
|
|
182
|
+
* 打开关闭老师的 streamWindow
|
|
183
|
+
*/
|
|
184
|
+
private _toggleStreamWindow;
|
|
185
|
+
/**
|
|
186
|
+
* stage === true 那么控制摄像头开关
|
|
187
|
+
* stage === flase 控制老师窗口的展示和关闭
|
|
188
|
+
*/
|
|
189
|
+
private _toggleNavCamera;
|
|
190
|
+
private _leaveSubRoom;
|
|
191
|
+
onDestroy(): void;
|
|
192
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { EduUIStoreBase } from '../base';
|
|
2
|
+
import { ClassState } from 'agora-edu-core';
|
|
3
|
+
import { Duration } from 'dayjs/plugin/duration';
|
|
4
|
+
export declare class NotificationUIStore extends EduUIStoreBase {
|
|
5
|
+
private _notificationTask?;
|
|
6
|
+
private _prevClassState;
|
|
7
|
+
private _disposers;
|
|
8
|
+
private _isMobile;
|
|
9
|
+
leaveClass: boolean;
|
|
10
|
+
setLeaveRoom(leaveClass: boolean): void;
|
|
11
|
+
/** Observables */
|
|
12
|
+
/** Methods */
|
|
13
|
+
private _filterUsers;
|
|
14
|
+
onInstall(): void;
|
|
15
|
+
private _handleClassroomEvent;
|
|
16
|
+
onDestroy(): void;
|
|
17
|
+
/**
|
|
18
|
+
* add class state notification
|
|
19
|
+
* @param state
|
|
20
|
+
* @param minutes
|
|
21
|
+
*/
|
|
22
|
+
protected addClassStateNotification(state: ClassState, minutes: number): void;
|
|
23
|
+
/** Actions */
|
|
24
|
+
/**
|
|
25
|
+
* check classroom notification
|
|
26
|
+
*/
|
|
27
|
+
protected checkClassroomNotification(): void;
|
|
28
|
+
private _checkMinutesThrough;
|
|
29
|
+
/** Computed */
|
|
30
|
+
/**
|
|
31
|
+
* 根据课堂状态获取时长,
|
|
32
|
+
* 未开始:距开始时间
|
|
33
|
+
* 进行中:距离结束时间
|
|
34
|
+
* 课程结束:距离教室关闭时间
|
|
35
|
+
* @returns
|
|
36
|
+
*/
|
|
37
|
+
get classDuration(): number;
|
|
38
|
+
/**
|
|
39
|
+
* 距离教室关闭的时间
|
|
40
|
+
* @returns
|
|
41
|
+
*/
|
|
42
|
+
get durationToRoomClose(): Duration;
|
|
43
|
+
/**
|
|
44
|
+
* 距离课程结束的时间
|
|
45
|
+
* @returns
|
|
46
|
+
*/
|
|
47
|
+
get durationToClassEnd(): Duration;
|
|
48
|
+
/** others */
|
|
49
|
+
/** 错误提示信息
|
|
50
|
+
* get state error reason
|
|
51
|
+
* @param reason
|
|
52
|
+
* @returns
|
|
53
|
+
*/
|
|
54
|
+
private _getStateErrorReason;
|
|
55
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const matchVirtualSoundCardPattern: (deviceName: string) => boolean;
|