educast-classroom-sdk 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -0
- package/lib/edu_sdk.bundle.js +2 -0
- package/lib/edu_sdk.bundle.js.LICENSE.txt +164 -0
- package/lib/infra/api/index.d.ts +50 -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 +107 -0
- package/lib/infra/capabilities/config.d.ts +21 -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/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/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 +41 -0
- package/lib/infra/capabilities/containers/stream/index.mobile.d.ts +23 -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 +12 -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 +2 -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/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 +119 -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 +20 -0
- package/lib/infra/stores/common/nav/index.d.ts +184 -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 +162 -0
- package/lib/infra/stores/common/roster/type.d.ts +55 -0
- package/lib/infra/stores/common/share/index.d.ts +149 -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 +29 -0
- package/lib/infra/stores/lecture/toolbar.d.ts +11 -0
- package/lib/infra/stores/lecture-mobile/board.d.ts +16 -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 +54 -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 +802 -0
- package/lib/infra/translate/zh.d.ts +802 -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 +7 -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 +14 -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/lib/worker-entry.bundle.worker.js.LICENSE.txt +3 -0
- package/package.json +152 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { BaseProps } from '@classroom/ui-kit/components/util/type';
|
|
3
|
+
import './index.css';
|
|
4
|
+
import { AGScreenShareDevice } from 'agora-rte-sdk';
|
|
5
|
+
export declare const ScreenPickerDialog: ({ id, onOK, onCancel, windowList, desktopList, }: {
|
|
6
|
+
id: string;
|
|
7
|
+
onOK?: ((id: string, withAudio: boolean) => void) | undefined;
|
|
8
|
+
onCancel?: (() => void) | undefined;
|
|
9
|
+
windowList: (AGScreenShareDevice & {
|
|
10
|
+
imagebase64: string;
|
|
11
|
+
})[];
|
|
12
|
+
desktopList: (AGScreenShareDevice & {
|
|
13
|
+
imagebase64: string;
|
|
14
|
+
})[];
|
|
15
|
+
}) => JSX.Element;
|
|
16
|
+
export interface ScreenPickerProps extends BaseProps {
|
|
17
|
+
screenShareTitle?: string;
|
|
18
|
+
scrollHeight?: number;
|
|
19
|
+
desktopList: (AGScreenShareDevice & {
|
|
20
|
+
imagebase64: string;
|
|
21
|
+
})[];
|
|
22
|
+
windowList: (AGScreenShareDevice & {
|
|
23
|
+
imagebase64: string;
|
|
24
|
+
})[];
|
|
25
|
+
onActiveItem: (id: string) => void;
|
|
26
|
+
currentActiveId?: string;
|
|
27
|
+
onOK?: (withAudio: boolean) => void;
|
|
28
|
+
onCancel?: () => void;
|
|
29
|
+
}
|
|
30
|
+
export declare const ScreenPicker: FC<ScreenPickerProps>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import './index.css';
|
|
3
|
+
import { ScreenShareRoleType } from '@classroom/infra/stores/common/toolbar/type';
|
|
4
|
+
export declare const ScreenShareDialog: ({ id, onOK, onCancel, }: {
|
|
5
|
+
id: string;
|
|
6
|
+
onOK: (roleType: ScreenShareRoleType) => void;
|
|
7
|
+
onCancel?: (() => void) | undefined;
|
|
8
|
+
}) => JSX.Element;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
import { DraggableData, Rnd, RndDragEvent } from 'react-rnd';
|
|
3
|
+
/**
|
|
4
|
+
* pagniation control, update published user list when user scroll into page
|
|
5
|
+
*/
|
|
6
|
+
export declare const useVideoPage: () => {
|
|
7
|
+
streamList: import("../../../../stores/common/stream/struct").EduStreamUI[];
|
|
8
|
+
setPageSize: (pageSize: number) => void;
|
|
9
|
+
totalPageNum: number;
|
|
10
|
+
};
|
|
11
|
+
export declare enum ForceDirection {
|
|
12
|
+
RightToLeft = "left",
|
|
13
|
+
LeftToRight = "right",
|
|
14
|
+
TopToBottom = "bottom",
|
|
15
|
+
BottomToTop = "top"
|
|
16
|
+
}
|
|
17
|
+
declare type DragOutCallback = (forceDirection: ForceDirection) => void;
|
|
18
|
+
/**
|
|
19
|
+
* analyze whether the target moved out of bounds and how it is being moved out
|
|
20
|
+
*/
|
|
21
|
+
export declare const useDragAnalyzer: ({ bounds, rnd, onDragOutDetect, detectMovement, }: {
|
|
22
|
+
bounds: string;
|
|
23
|
+
rnd: RefObject<Rnd>;
|
|
24
|
+
onDragOutDetect: DragOutCallback;
|
|
25
|
+
detectMovement: number;
|
|
26
|
+
}) => {
|
|
27
|
+
eventHandlers: {
|
|
28
|
+
onDragStart: (e: RndDragEvent, data: DraggableData) => void;
|
|
29
|
+
onDragStop: (e: RndDragEvent, data: DraggableData) => void;
|
|
30
|
+
onDrag: (e: RndDragEvent, data: DraggableData) => void;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
import { Props as PagerProps } from './pager';
|
|
4
|
+
import { Props as SettingProps } from './setting';
|
|
5
|
+
import './index.css';
|
|
6
|
+
import { EduStreamUI } from '@classroom/infra/stores/common/stream/struct';
|
|
7
|
+
interface VideoGalleryProps {
|
|
8
|
+
id: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const VideoGallery: FC<VideoGalleryProps>;
|
|
11
|
+
declare type PortalProps = {
|
|
12
|
+
className: string;
|
|
13
|
+
streamList: EduStreamUI[];
|
|
14
|
+
} & SettingProps & PagerProps & StageHoverProps;
|
|
15
|
+
export declare const VideoGalleryPortal: FC<PortalProps>;
|
|
16
|
+
declare type StageHoverProps = {
|
|
17
|
+
renderVideo: (stream: EduStreamUI) => React.ReactElement;
|
|
18
|
+
stageUserUuids: string[];
|
|
19
|
+
onStageClick: (userUuid: string) => void;
|
|
20
|
+
offStageClick: (userUuid: string) => void;
|
|
21
|
+
};
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { EduStreamUI } from '@classroom/infra/stores/common/stream/struct';
|
|
2
|
+
import AgoraRtcEngine from 'agora-electron-sdk/types/Api';
|
|
3
|
+
declare type VideoGalleryState = {
|
|
4
|
+
options: {
|
|
5
|
+
text: string;
|
|
6
|
+
value: number;
|
|
7
|
+
}[];
|
|
8
|
+
pageSize: number;
|
|
9
|
+
curPage: number;
|
|
10
|
+
totalPageNum: number;
|
|
11
|
+
streamList: EduStreamUI[];
|
|
12
|
+
stageUserUuids: string[];
|
|
13
|
+
};
|
|
14
|
+
export declare const updateVideoGalleryState: (payload: Partial<VideoGalleryState>) => void;
|
|
15
|
+
export declare const clickStage: (type: 'on' | 'off', userUuid: string) => void;
|
|
16
|
+
export declare const useRtcEngine: () => {
|
|
17
|
+
rtcEngine: AgoraRtcEngine;
|
|
18
|
+
};
|
|
19
|
+
export declare const useVideoGalleryState: () => {
|
|
20
|
+
options: {
|
|
21
|
+
text: string;
|
|
22
|
+
value: number;
|
|
23
|
+
}[];
|
|
24
|
+
pageSize: number;
|
|
25
|
+
curPage: number;
|
|
26
|
+
totalPageNum: number;
|
|
27
|
+
setPageSize: (pageSize: number) => void;
|
|
28
|
+
nextPage: () => void;
|
|
29
|
+
prevPage: () => void;
|
|
30
|
+
streamList: EduStreamUI[];
|
|
31
|
+
stageUserUuids: string[];
|
|
32
|
+
onStage: (userUuid: string) => void;
|
|
33
|
+
offStage: (userUuid: string) => void;
|
|
34
|
+
};
|
|
35
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { EduStreamUI } from '@classroom/infra/stores/common/stream/struct';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* 本地视频渲染
|
|
5
|
+
* @returns
|
|
6
|
+
*/
|
|
7
|
+
export declare const LocalRenderer: FC<{
|
|
8
|
+
isMirrorMode: boolean;
|
|
9
|
+
className?: string;
|
|
10
|
+
}>;
|
|
11
|
+
/**
|
|
12
|
+
* 远端视频渲染
|
|
13
|
+
* @param param0
|
|
14
|
+
* @returns
|
|
15
|
+
*/
|
|
16
|
+
export declare const RemoteRenderer: FC<{
|
|
17
|
+
uid: number;
|
|
18
|
+
className?: string;
|
|
19
|
+
}>;
|
|
20
|
+
export declare const VideoRenderer: FC<{
|
|
21
|
+
stream: EduStreamUI;
|
|
22
|
+
}>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { HandUpUIStore } from '@classroom/infra/stores/common/hand-up';
|
|
2
|
+
import { EduShareUIStore } from '@classroom/infra/stores/common/share';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import './invite-confirm.css';
|
|
5
|
+
interface InviteConfirmContainerProps {
|
|
6
|
+
id: string;
|
|
7
|
+
onOk: () => void;
|
|
8
|
+
onClose: () => void;
|
|
9
|
+
onCancel: () => void;
|
|
10
|
+
}
|
|
11
|
+
export declare const useInvitedModal: (beingInvited: boolean, handUpUIStore: HandUpUIStore, shareUIStore: EduShareUIStore) => void;
|
|
12
|
+
export declare const InviteConfirmContainer: React.FC<InviteConfirmContainerProps>;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FC, PropsWithChildren } from 'react';
|
|
2
|
+
import { BaseWaveArmProps, UserWaveArmInfo } from './types';
|
|
3
|
+
export interface WaveArmManagerProps extends BaseWaveArmProps {
|
|
4
|
+
hasWaveArmUser: boolean;
|
|
5
|
+
waveArmCount: number;
|
|
6
|
+
}
|
|
7
|
+
export declare const WaveArmManager: FC<PropsWithChildren<WaveArmManagerProps>>;
|
|
8
|
+
export interface StudentsWaveArmListProps extends BaseWaveArmProps {
|
|
9
|
+
userWaveArmList: UserWaveArmInfo[];
|
|
10
|
+
onClick: (userUuid: string) => Promise<void> | void;
|
|
11
|
+
}
|
|
12
|
+
export declare const StudentsWaveArmList: FC<StudentsWaveArmListProps>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { BaseWaveArmProps } from './types';
|
|
3
|
+
export declare enum WaveArmStateEnum {
|
|
4
|
+
waveArmBefore = "wave-arm-before",
|
|
5
|
+
waveArming = "wave-arm-ing",
|
|
6
|
+
waveArmAfter = "wave-arm-after"
|
|
7
|
+
}
|
|
8
|
+
export interface HandlerCondition {
|
|
9
|
+
oldState: WaveArmStateEnum;
|
|
10
|
+
newState: WaveArmStateEnum;
|
|
11
|
+
callbackFn: () => void;
|
|
12
|
+
}
|
|
13
|
+
export declare class FSM {
|
|
14
|
+
currentState: WaveArmStateEnum;
|
|
15
|
+
handlers: HandlerCondition[];
|
|
16
|
+
timer: ReturnType<typeof setTimeout> | null;
|
|
17
|
+
constructor(currentState: WaveArmStateEnum);
|
|
18
|
+
handlerConditionMatch(oldeState: WaveArmStateEnum, newState: WaveArmStateEnum): void;
|
|
19
|
+
/**
|
|
20
|
+
* 跳转到新状态
|
|
21
|
+
* @param newState
|
|
22
|
+
* @returns
|
|
23
|
+
*/
|
|
24
|
+
changeState(newState: WaveArmStateEnum, durationTime: number): void;
|
|
25
|
+
/**
|
|
26
|
+
* 当从oldState跳转到newState时,执行handler
|
|
27
|
+
* @param oldState 老状态
|
|
28
|
+
* @param newState 新状态
|
|
29
|
+
* @param handler 回调方法
|
|
30
|
+
*/
|
|
31
|
+
whenAfter(oldState: WaveArmStateEnum, newState: WaveArmStateEnum, handler: () => void): void;
|
|
32
|
+
getCurrentState(): WaveArmStateEnum;
|
|
33
|
+
}
|
|
34
|
+
export declare const WaveArmSender: FC<BaseWaveArmProps>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BaseProps } from '@classroom/ui-kit/components/util/type';
|
|
2
|
+
export interface BaseWaveArmProps extends BaseProps {
|
|
3
|
+
width?: number;
|
|
4
|
+
height?: number;
|
|
5
|
+
borderRadius?: number;
|
|
6
|
+
isH5?: boolean;
|
|
7
|
+
isOnPodium?: boolean;
|
|
8
|
+
onOffPodium?: () => void;
|
|
9
|
+
}
|
|
10
|
+
export declare type UserWaveArmInfo = {
|
|
11
|
+
userUuid: string;
|
|
12
|
+
userName: string;
|
|
13
|
+
onPodium: boolean;
|
|
14
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import './style.css';
|
|
3
|
+
export declare type CommonProps = {
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
value: string;
|
|
6
|
+
onChange?: (value: string) => void;
|
|
7
|
+
onBlur?: () => void;
|
|
8
|
+
onKeyDown?: () => void;
|
|
9
|
+
onKeyUp?: () => void;
|
|
10
|
+
options?: {
|
|
11
|
+
text: string;
|
|
12
|
+
value: string;
|
|
13
|
+
}[];
|
|
14
|
+
readOnly?: boolean;
|
|
15
|
+
error?: string;
|
|
16
|
+
};
|
|
17
|
+
export declare type FieldProps = {
|
|
18
|
+
label: string;
|
|
19
|
+
type: 'text' | 'select';
|
|
20
|
+
width?: number;
|
|
21
|
+
} & CommonProps;
|
|
22
|
+
export declare const Field: FC<FieldProps>;
|
|
23
|
+
export declare const TextInput: FC<CommonProps>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { BaseProps } from '@classroom/ui-kit/components/util/type';
|
|
3
|
+
export interface PretestProps extends BaseProps {
|
|
4
|
+
className?: string;
|
|
5
|
+
onOK?: () => void;
|
|
6
|
+
closeable?: boolean;
|
|
7
|
+
onCancel?: () => void;
|
|
8
|
+
showStage?: boolean;
|
|
9
|
+
pertestTitle?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const RoomPretest: FC<PretestProps>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
declare type FixedAspectRatioProps = {
|
|
3
|
+
minimumWidth?: number;
|
|
4
|
+
minimumHeight?: number;
|
|
5
|
+
trackMargin?: Partial<{
|
|
6
|
+
top: number;
|
|
7
|
+
}>;
|
|
8
|
+
trackResize?: Partial<{
|
|
9
|
+
minHeight: number;
|
|
10
|
+
minWidth: number;
|
|
11
|
+
maxHeight: number;
|
|
12
|
+
maxWidth: number;
|
|
13
|
+
}>;
|
|
14
|
+
children?: React.ReactNode;
|
|
15
|
+
};
|
|
16
|
+
export declare const TrackArea: ({ top, boundaryName }: {
|
|
17
|
+
top?: number | undefined;
|
|
18
|
+
boundaryName: string;
|
|
19
|
+
}) => JSX.Element;
|
|
20
|
+
export declare const FixedAspectRatioRootBox: FC<FixedAspectRatioProps>;
|
|
21
|
+
export declare const ClassroomTrackBounds: ({ trackMargin }: {
|
|
22
|
+
trackMargin: FixedAspectRatioProps['trackMargin'];
|
|
23
|
+
}) => JSX.Element | null;
|
|
24
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { FixedAspectRatioRootBox, TrackArea } from './fixed-aspect-ratio';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EduStream } from 'agora-edu-core';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import './index.css';
|
|
4
|
+
export declare const ScreenShareRemoteTrackPlayer: ({ style, stream, className }: {
|
|
5
|
+
style?: any;
|
|
6
|
+
stream: EduStream;
|
|
7
|
+
className?: string | undefined;
|
|
8
|
+
}) => JSX.Element;
|
|
9
|
+
export declare type ScreenShareContainerProps = {
|
|
10
|
+
className?: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const ScreenShareContainer: React.FC<ScreenShareContainerProps>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { AgoraRteMediaSourceState } from 'agora-rte-sdk';
|
|
2
|
+
import { CSSProperties } from 'react';
|
|
3
|
+
declare type CDNPlayerStream = {
|
|
4
|
+
rtmp: string;
|
|
5
|
+
flv: string;
|
|
6
|
+
hls: string;
|
|
7
|
+
videoSourceState: AgoraRteMediaSourceState;
|
|
8
|
+
audioSourceState: AgoraRteMediaSourceState;
|
|
9
|
+
};
|
|
10
|
+
declare enum RecordStatus {
|
|
11
|
+
starting = -1,
|
|
12
|
+
started = 1,
|
|
13
|
+
stopped = 0
|
|
14
|
+
}
|
|
15
|
+
declare type CDNPlayerProps = {
|
|
16
|
+
stream: CDNPlayerStream;
|
|
17
|
+
style?: CSSProperties;
|
|
18
|
+
className?: string;
|
|
19
|
+
state: RecordStatus;
|
|
20
|
+
placeholderIcon?: React.ReactElement;
|
|
21
|
+
placeholderText?: string;
|
|
22
|
+
};
|
|
23
|
+
export declare const CDNPlayer: React.FC<CDNPlayerProps>;
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { EduStreamUI } from '@classroom/infra/stores/common/stream/struct';
|
|
2
|
+
import { CSSProperties, FC } from 'react';
|
|
3
|
+
export declare const DragableContainer: FC<{
|
|
4
|
+
stream: EduStreamUI;
|
|
5
|
+
}>;
|
|
6
|
+
export declare const DragableStream: ({ stream, style, playerStyle, }: {
|
|
7
|
+
stream?: EduStreamUI | undefined;
|
|
8
|
+
style?: CSSProperties | undefined;
|
|
9
|
+
playerStyle?: CSSProperties | undefined;
|
|
10
|
+
}) => JSX.Element | null;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EduStreamUI, VideoPlacement } from '@classroom/infra/stores/common/stream/struct';
|
|
2
|
+
import { EduRoleTypeEnum } from 'agora-edu-core';
|
|
3
|
+
import React, { CSSProperties, FC } from 'react';
|
|
4
|
+
import './index.css';
|
|
5
|
+
import { AGRenderMode } from 'agora-rte-sdk';
|
|
6
|
+
export declare const AwardAnimations: ({ stream }: {
|
|
7
|
+
stream: EduStreamUI;
|
|
8
|
+
}) => JSX.Element;
|
|
9
|
+
export declare const StreamPlaceholder: ({ className, style }: {
|
|
10
|
+
role: EduRoleTypeEnum;
|
|
11
|
+
className?: string | undefined;
|
|
12
|
+
style?: React.CSSProperties | undefined;
|
|
13
|
+
}) => JSX.Element;
|
|
14
|
+
export declare const StreamPlayerCameraPlaceholder: ({ stream }: {
|
|
15
|
+
stream: EduStreamUI;
|
|
16
|
+
}) => JSX.Element;
|
|
17
|
+
export declare const StreamPlayerOverlay: ({ stream }: {
|
|
18
|
+
stream: EduStreamUI;
|
|
19
|
+
}) => JSX.Element;
|
|
20
|
+
export declare const StreamPlayer: FC<{
|
|
21
|
+
stream: EduStreamUI;
|
|
22
|
+
renderAt: VideoPlacement;
|
|
23
|
+
style?: CSSProperties;
|
|
24
|
+
toolbarDisabled?: boolean;
|
|
25
|
+
renderMode?: AGRenderMode;
|
|
26
|
+
}>;
|
|
27
|
+
export declare const CarouselGroup: ({ videoWidth, videoHeight, gap, carouselStreams, }: {
|
|
28
|
+
videoWidth: number;
|
|
29
|
+
videoHeight: number;
|
|
30
|
+
carouselStreams: EduStreamUI[];
|
|
31
|
+
gap: number;
|
|
32
|
+
}) => JSX.Element;
|
|
33
|
+
export declare const NavGroup: FC<{
|
|
34
|
+
onNext: () => void;
|
|
35
|
+
onPrev: () => void;
|
|
36
|
+
visible: boolean;
|
|
37
|
+
}>;
|
|
38
|
+
export declare const MeasuerContainer: FC<{
|
|
39
|
+
streamUuid: string;
|
|
40
|
+
style?: CSSProperties;
|
|
41
|
+
}>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { EduStreamUI } from '@classroom/infra/stores/common/stream/struct';
|
|
2
|
+
import { CSSProperties, FC } from 'react';
|
|
3
|
+
import './index.mobile.css';
|
|
4
|
+
declare type StreamPlayerMobileProps = {
|
|
5
|
+
stream: EduStreamUI;
|
|
6
|
+
className?: string;
|
|
7
|
+
style?: CSSProperties;
|
|
8
|
+
onClick?: () => void;
|
|
9
|
+
};
|
|
10
|
+
export declare const StreamPlayerMobile: FC<StreamPlayerMobileProps>;
|
|
11
|
+
export declare const TeacherCameraPlaceHolderMobile: () => JSX.Element;
|
|
12
|
+
export declare const LocalTrackPlayerMobile: ({ stream }: {
|
|
13
|
+
stream: EduStreamUI;
|
|
14
|
+
}) => JSX.Element;
|
|
15
|
+
export declare const LocalTrackPlayer: import("react").MemoExoticComponent<({ style, renderAt }: {
|
|
16
|
+
style: CSSProperties;
|
|
17
|
+
renderAt: 'Preview' | 'Window';
|
|
18
|
+
}) => JSX.Element>;
|
|
19
|
+
/**
|
|
20
|
+
* 生成用户缩略姓名
|
|
21
|
+
*/
|
|
22
|
+
export declare const generateShortUserName: (name: string) => string;
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { EduStreamUI } from '@classroom/infra/stores/common/stream/struct';
|
|
3
|
+
import './index.mobile.css';
|
|
4
|
+
export declare const RoomBigTeacherStreamContainerMobile: (({ teacherCameraStream }: {
|
|
5
|
+
teacherCameraStream: EduStreamUI;
|
|
6
|
+
}) => JSX.Element) & {
|
|
7
|
+
displayName: string;
|
|
8
|
+
};
|
|
9
|
+
export declare const RoomBigStudentStreamsContainerMobile: FC;
|
|
10
|
+
export declare const H5RoomPlaceholder: (() => JSX.Element | null) & {
|
|
11
|
+
displayName: string;
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EduStreamUI } from '@classroom/infra/stores/common/stream/struct';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
export declare const StreamPlayerToolbar: FC<{
|
|
4
|
+
visible: boolean;
|
|
5
|
+
stream: EduStreamUI;
|
|
6
|
+
offset?: number[];
|
|
7
|
+
placement?: 'left' | 'bottom';
|
|
8
|
+
}>;
|
|
9
|
+
export declare const LocalStreamPlayerTools: () => JSX.Element;
|
|
10
|
+
export declare const RemoteStreamPlayerTools: ({ stream }: {
|
|
11
|
+
stream: EduStreamUI;
|
|
12
|
+
}) => JSX.Element;
|