educast-classroom-sdk 2.4.3 → 2.4.5
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/edu_sdk.bundle.js +2 -0
- package/lib/edu_sdk.bundle.js.LICENSE.txt +164 -0
- package/lib/worker-entry.bundle.worker.js.LICENSE.txt +3 -0
- package/package.json +1 -1
- package/lib/infra/api/index.d.ts +0 -53
- package/lib/infra/api/lock.d.ts +0 -8
- package/lib/infra/api/polyfills.d.ts +0 -0
- package/lib/infra/api/providers.d.ts +0 -7
- package/lib/infra/api/rtc-extensions/index.d.ts +0 -29
- package/lib/infra/api/type.d.ts +0 -112
- package/lib/infra/capabilities/config.d.ts +0 -22
- package/lib/infra/capabilities/containers/action-sheet-mobile/hands-up.mobile.d.ts +0 -3
- package/lib/infra/capabilities/containers/action-sheet-mobile/mic.d.ts +0 -5
- package/lib/infra/capabilities/containers/action-sheet-mobile/share.mobile.d.ts +0 -3
- package/lib/infra/capabilities/containers/aside/index.d.ts +0 -3
- package/lib/infra/capabilities/containers/award/index.d.ts +0 -3
- package/lib/infra/capabilities/containers/camera-preview/index.d.ts +0 -3
- package/lib/infra/capabilities/containers/cloud-driver/cloud-driver.d.ts +0 -13
- package/lib/infra/capabilities/containers/cloud-driver/cloud-help.d.ts +0 -2
- package/lib/infra/capabilities/containers/cloud-driver/cloud-minimize.d.ts +0 -3
- package/lib/infra/capabilities/containers/cloud-driver/cloud-more-menu.d.ts +0 -6
- package/lib/infra/capabilities/containers/cloud-driver/cloud-toolbar.d.ts +0 -21
- package/lib/infra/capabilities/containers/cloud-driver/index.d.ts +0 -6
- package/lib/infra/capabilities/containers/cloud-driver/person-resource.d.ts +0 -6
- package/lib/infra/capabilities/containers/cloud-driver/public-resource.d.ts +0 -2
- package/lib/infra/capabilities/containers/device-setting/index.d.ts +0 -5
- package/lib/infra/capabilities/containers/dialog/breakout-room/confirm-dialog.d.ts +0 -10
- package/lib/infra/capabilities/containers/dialog/breakout-room/confirm-panel.d.ts +0 -10
- package/lib/infra/capabilities/containers/dialog/breakout-room/fragments/group-select.d.ts +0 -7
- package/lib/infra/capabilities/containers/dialog/breakout-room/fragments/start.d.ts +0 -10
- package/lib/infra/capabilities/containers/dialog/breakout-room/group.d.ts +0 -17
- package/lib/infra/capabilities/containers/dialog/breakout-room/index.d.ts +0 -5
- package/lib/infra/capabilities/containers/dialog/breakout-room/panel.d.ts +0 -23
- package/lib/infra/capabilities/containers/dialog/breakout-room/user.d.ts +0 -18
- package/lib/infra/capabilities/containers/dialog/confirm.d.ts +0 -13
- package/lib/infra/capabilities/containers/dialog/error-generic.d.ts +0 -9
- package/lib/infra/capabilities/containers/dialog/guide/index.d.ts +0 -5
- package/lib/infra/capabilities/containers/dialog/index.d.ts +0 -5
- package/lib/infra/capabilities/containers/dialog/kick-out.d.ts +0 -5
- package/lib/infra/capabilities/containers/dialog/quit.d.ts +0 -6
- package/lib/infra/capabilities/containers/dialog/remote-control-confirm/index.d.ts +0 -7
- package/lib/infra/capabilities/containers/dialog/screen-picker/index.d.ts +0 -30
- package/lib/infra/capabilities/containers/dialog/screen-share/index.d.ts +0 -8
- package/lib/infra/capabilities/containers/dialog/video-gallery/hooks.d.ts +0 -33
- package/lib/infra/capabilities/containers/dialog/video-gallery/index.d.ts +0 -22
- package/lib/infra/capabilities/containers/dialog/video-gallery/pager.d.ts +0 -9
- package/lib/infra/capabilities/containers/dialog/video-gallery/setting.d.ts +0 -11
- package/lib/infra/capabilities/containers/fragments/video-gallery/context.d.ts +0 -5
- package/lib/infra/capabilities/containers/fragments/video-gallery/hooks.d.ts +0 -35
- package/lib/infra/capabilities/containers/fragments/video-gallery/index.d.ts +0 -4
- package/lib/infra/capabilities/containers/fragments/video-gallery/renderer.d.ts +0 -22
- package/lib/infra/capabilities/containers/hand-up/index.d.ts +0 -5
- package/lib/infra/capabilities/containers/hand-up/invite-confirm.d.ts +0 -13
- package/lib/infra/capabilities/containers/hand-up/invite-container.d.ts +0 -7
- package/lib/infra/capabilities/containers/hand-up/invite-table.d.ts +0 -7
- package/lib/infra/capabilities/containers/hand-up/manager.d.ts +0 -12
- package/lib/infra/capabilities/containers/hand-up/sender.d.ts +0 -34
- package/lib/infra/capabilities/containers/hand-up/types.d.ts +0 -14
- package/lib/infra/capabilities/containers/loading/index.d.ts +0 -3
- package/lib/infra/capabilities/containers/nav/index.d.ts +0 -7
- package/lib/infra/capabilities/containers/pczbj-bottom-controls/index.d.ts +0 -3
- package/lib/infra/capabilities/containers/pczbj-middle/index.d.ts +0 -3
- package/lib/infra/capabilities/containers/pczbj-right-panel/index.d.ts +0 -3
- package/lib/infra/capabilities/containers/pretest/form-field/index.d.ts +0 -23
- package/lib/infra/capabilities/containers/pretest/form-field/select.d.ts +0 -5
- package/lib/infra/capabilities/containers/pretest/index.d.ts +0 -11
- package/lib/infra/capabilities/containers/pretest/pretest-audio.d.ts +0 -2
- package/lib/infra/capabilities/containers/pretest/pretest-footer.d.ts +0 -5
- package/lib/infra/capabilities/containers/pretest/pretest-stage.d.ts +0 -2
- package/lib/infra/capabilities/containers/pretest/pretest-video.d.ts +0 -5
- package/lib/infra/capabilities/containers/pretest/volume.d.ts +0 -8
- package/lib/infra/capabilities/containers/root-box/fixed-aspect-ratio.d.ts +0 -24
- package/lib/infra/capabilities/containers/root-box/hooks.d.ts +0 -4
- package/lib/infra/capabilities/containers/root-box/index.d.ts +0 -1
- package/lib/infra/capabilities/containers/roster/button.d.ts +0 -3
- package/lib/infra/capabilities/containers/roster/index.d.ts +0 -2
- package/lib/infra/capabilities/containers/roster/lecture-user-list.d.ts +0 -5
- package/lib/infra/capabilities/containers/roster/user-list.d.ts +0 -5
- package/lib/infra/capabilities/containers/scene-switch/index.d.ts +0 -7
- package/lib/infra/capabilities/containers/scenes-controller/index.d.ts +0 -3
- package/lib/infra/capabilities/containers/screen-share/index.d.ts +0 -12
- package/lib/infra/capabilities/containers/screen-share/index.mobile.d.ts +0 -3
- package/lib/infra/capabilities/containers/stream/cdn-player.d.ts +0 -24
- package/lib/infra/capabilities/containers/stream/draggable-stream.d.ts +0 -10
- package/lib/infra/capabilities/containers/stream/index.d.ts +0 -42
- package/lib/infra/capabilities/containers/stream/index.mobile.d.ts +0 -24
- package/lib/infra/capabilities/containers/stream/room-1v1-player.d.ts +0 -4
- package/lib/infra/capabilities/containers/stream/room-big-class-player.mobile.d.ts +0 -12
- package/lib/infra/capabilities/containers/stream/room-big-player.d.ts +0 -3
- package/lib/infra/capabilities/containers/stream/room-mid-player.d.ts +0 -4
- package/lib/infra/capabilities/containers/stream/stream-tool.d.ts +0 -13
- package/lib/infra/capabilities/containers/stream/track-player.d.ts +0 -21
- package/lib/infra/capabilities/containers/stream/video-live-player.d.ts +0 -16
- package/lib/infra/capabilities/containers/stream-window/index.d.ts +0 -9
- package/lib/infra/capabilities/containers/toast/index.d.ts +0 -3
- package/lib/infra/capabilities/containers/toast/index.mobile.d.ts +0 -3
- package/lib/infra/capabilities/containers/toolbar/board-cleaners/index.d.ts +0 -2
- package/lib/infra/capabilities/containers/toolbar/index.d.ts +0 -6
- package/lib/infra/capabilities/containers/toolbar/pens/index.d.ts +0 -5
- package/lib/infra/capabilities/containers/toolbar/slice/index.d.ts +0 -2
- package/lib/infra/capabilities/containers/toolbar/tool-cabinet/index.d.ts +0 -2
- package/lib/infra/capabilities/containers/widget/index.d.ts +0 -7
- package/lib/infra/capabilities/containers/widget/index.mobile.d.ts +0 -6
- package/lib/infra/capabilities/containers/widget/slots.d.ts +0 -8
- package/lib/infra/capabilities/containers/widget/track.d.ts +0 -22
- package/lib/infra/capabilities/scenarios/1v1/index.d.ts +0 -2
- package/lib/infra/capabilities/scenarios/big-class/index.d.ts +0 -2
- package/lib/infra/capabilities/scenarios/big-class-mobile/index.mobile.d.ts +0 -12
- package/lib/infra/capabilities/scenarios/big-class-mobile/zbj-layout.d.ts +0 -3
- package/lib/infra/capabilities/scenarios/index.d.ts +0 -10
- package/lib/infra/capabilities/scenarios/mid-class/index.d.ts +0 -2
- package/lib/infra/capabilities/scenarios/room/index.d.ts +0 -6
- package/lib/infra/configs/base-theme.d.ts +0 -391
- package/lib/infra/configs/base-ui.d.ts +0 -14
- package/lib/infra/contexts/index.d.ts +0 -15
- package/lib/infra/contexts/ui-store-factory.d.ts +0 -6
- package/lib/infra/hooks/cabinet.d.ts +0 -4
- package/lib/infra/hooks/index.d.ts +0 -6
- package/lib/infra/hooks/ui-store.d.ts +0 -10
- package/lib/infra/hooks/utilites.d.ts +0 -3
- package/lib/infra/protocol/board.d.ts +0 -70
- package/lib/infra/protocol/events.d.ts +0 -67
- package/lib/infra/protocol/index.d.ts +0 -24
- package/lib/infra/protocol/type.d.ts +0 -70
- package/lib/infra/stores/common/base.d.ts +0 -46
- package/lib/infra/stores/common/board/index.d.ts +0 -41
- package/lib/infra/stores/common/cloud-drive/helper.d.ts +0 -14
- package/lib/infra/stores/common/cloud-drive/index.d.ts +0 -178
- package/lib/infra/stores/common/cloud-drive/struct.d.ts +0 -109
- package/lib/infra/stores/common/cloud-drive/type.d.ts +0 -23
- package/lib/infra/stores/common/device-setting/index.d.ts +0 -68
- package/lib/infra/stores/common/getters.d.ts +0 -61
- package/lib/infra/stores/common/group/index.d.ts +0 -139
- package/lib/infra/stores/common/hand-up/index.d.ts +0 -127
- package/lib/infra/stores/common/hand-up/type.d.ts +0 -18
- package/lib/infra/stores/common/index.d.ts +0 -78
- package/lib/infra/stores/common/layout/helper.d.ts +0 -4
- package/lib/infra/stores/common/layout/index.d.ts +0 -24
- package/lib/infra/stores/common/nav/index.d.ts +0 -192
- package/lib/infra/stores/common/notification/index.d.ts +0 -55
- package/lib/infra/stores/common/pretest/helper.d.ts +0 -1
- package/lib/infra/stores/common/pretest/index.d.ts +0 -299
- package/lib/infra/stores/common/pretest/type.d.ts +0 -8
- package/lib/infra/stores/common/roster/index.d.ts +0 -163
- package/lib/infra/stores/common/roster/type.d.ts +0 -55
- package/lib/infra/stores/common/share/index.d.ts +0 -151
- package/lib/infra/stores/common/stream/index.d.ts +0 -257
- package/lib/infra/stores/common/stream/state-keeper.d.ts +0 -18
- package/lib/infra/stores/common/stream/struct.d.ts +0 -63
- package/lib/infra/stores/common/stream/tool.d.ts +0 -32
- package/lib/infra/stores/common/stream-window/helper.d.ts +0 -101
- package/lib/infra/stores/common/stream-window/index.d.ts +0 -223
- package/lib/infra/stores/common/stream-window/struct.d.ts +0 -95
- package/lib/infra/stores/common/stream-window/type.d.ts +0 -32
- package/lib/infra/stores/common/subscription/abstract.d.ts +0 -43
- package/lib/infra/stores/common/subscription/index.d.ts +0 -14
- package/lib/infra/stores/common/subscription/main-room.d.ts +0 -14
- package/lib/infra/stores/common/subscription/type.d.ts +0 -10
- package/lib/infra/stores/common/toolbar/index.d.ts +0 -145
- package/lib/infra/stores/common/toolbar/type.d.ts +0 -45
- package/lib/infra/stores/common/type.d.ts +0 -10
- package/lib/infra/stores/common/video-gallery/index.d.ts +0 -42
- package/lib/infra/stores/common/widget/index.d.ts +0 -40
- package/lib/infra/stores/interactive/board.d.ts +0 -6
- package/lib/infra/stores/interactive/index.d.ts +0 -7
- package/lib/infra/stores/interactive/stream.d.ts +0 -33
- package/lib/infra/stores/lecture/board.d.ts +0 -7
- package/lib/infra/stores/lecture/index.d.ts +0 -9
- package/lib/infra/stores/lecture/roster.d.ts +0 -57
- package/lib/infra/stores/lecture/stream.d.ts +0 -31
- package/lib/infra/stores/lecture/toolbar.d.ts +0 -11
- package/lib/infra/stores/lecture-mobile/board.d.ts +0 -24
- package/lib/infra/stores/lecture-mobile/device-setting.d.ts +0 -9
- package/lib/infra/stores/lecture-mobile/index.d.ts +0 -13
- package/lib/infra/stores/lecture-mobile/layout.d.ts +0 -40
- package/lib/infra/stores/lecture-mobile/stream.d.ts +0 -66
- package/lib/infra/stores/one-on-one/index.d.ts +0 -7
- package/lib/infra/stores/one-on-one/stream.d.ts +0 -12
- package/lib/infra/stores/one-on-one/toolbar.d.ts +0 -7
- package/lib/infra/translate/en.d.ts +0 -882
- package/lib/infra/translate/zh.d.ts +0 -882
- package/lib/infra/utils/async-queue.d.ts +0 -16
- package/lib/infra/utils/board-utils.d.ts +0 -22
- package/lib/infra/utils/colors.d.ts +0 -13
- package/lib/infra/utils/config-loader.d.ts +0 -9
- package/lib/infra/utils/error.d.ts +0 -12
- package/lib/infra/utils/event-center.d.ts +0 -20
- package/lib/infra/utils/extract.d.ts +0 -6
- package/lib/infra/utils/index.d.ts +0 -16
- package/lib/infra/utils/interaction.d.ts +0 -6
- package/lib/infra/utils/ipc-channels.d.ts +0 -39
- package/lib/infra/utils/ipc.d.ts +0 -48
- package/lib/ui-kit/components/button/abutton.d.ts +0 -6
- package/lib/ui-kit/components/button/index.d.ts +0 -18
- package/lib/ui-kit/components/card/index.d.ts +0 -14
- package/lib/ui-kit/components/checkbox/index.d.ts +0 -14
- package/lib/ui-kit/components/float/index.d.ts +0 -13
- package/lib/ui-kit/components/index.d.ts +0 -27
- package/lib/ui-kit/components/input/ainput.d.ts +0 -6
- package/lib/ui-kit/components/input/index.d.ts +0 -31
- package/lib/ui-kit/components/input-number/index.d.ts +0 -10
- package/lib/ui-kit/components/layout/index.d.ts +0 -12
- package/lib/ui-kit/components/loading/index.d.ts +0 -37
- package/lib/ui-kit/components/modal/index.d.ts +0 -32
- package/lib/ui-kit/components/overlay-wrap/index.d.ts +0 -15
- package/lib/ui-kit/components/pagination/index.d.ts +0 -5
- package/lib/ui-kit/components/placeholder/index.d.ts +0 -18
- package/lib/ui-kit/components/popover/index.d.ts +0 -9
- package/lib/ui-kit/components/progress/index.d.ts +0 -19
- package/lib/ui-kit/components/radio/index.d.ts +0 -21
- package/lib/ui-kit/components/root-box/index.d.ts +0 -5
- package/lib/ui-kit/components/roster/carousel-setting.d.ts +0 -5
- package/lib/ui-kit/components/roster/columns.d.ts +0 -8
- package/lib/ui-kit/components/roster/hooks.d.ts +0 -3
- package/lib/ui-kit/components/roster/index.d.ts +0 -140
- package/lib/ui-kit/components/roster/roster.d.ts +0 -3
- package/lib/ui-kit/components/roster/table.d.ts +0 -21
- package/lib/ui-kit/components/select/index.d.ts +0 -24
- package/lib/ui-kit/components/slider/index.d.ts +0 -17
- package/lib/ui-kit/components/sound-player/index.d.ts +0 -6
- package/lib/ui-kit/components/svg-img/generate.d.ts +0 -0
- package/lib/ui-kit/components/svg-img/index.d.ts +0 -37
- package/lib/ui-kit/components/svg-img/paths/add-scene.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/add.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/alf.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/answer.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/arrow.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/ask-for-help.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/audio.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/authorized-solid.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/authorized.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/auto-play-failed.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/backward.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/bad-signal.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/beta.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/board-not-granted.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/buffing.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/calendar.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/camera-disabled.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/camera-enabled.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/camera-off-mobile.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/camera-on-mobile.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/camera.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/chat.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/checked.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/chevron-right.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/circle.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/clear.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/clicker.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/clock.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/close.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/cloud-file-help.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/cloud-more.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/cloud-refresh.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/cloud.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/collapse-stream-mobile.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/copy.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/countdown.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/delete.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/down.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/dropdown.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/edit.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/emoji.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/eraser.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/excel.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/exit.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/extension-actived.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/fcr-ppt-broken.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/forward.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/fullscreen-shrink.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/fullscreen.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/gooffstage.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/goonstage.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/group-discuss.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/h5.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/hand.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/hands-up-active.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/hands-up.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/id.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/image.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/indicator.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/invite-on-podium.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/invite-to-podium.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/kick-out.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/landscape.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/laser-pointer.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/line.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/link-solid.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/link.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/log.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/m-camera-off.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/m-camera.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/m-micphone-off.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/m-micphone.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/m-switch-camera.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/mark.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/matrix.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/max.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/maximize.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/menu-fold.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/menu-unfold.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/mic-disabled.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/mic-enabled.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/microphone-off-outline.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/microphone-off.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/microphone-on-outline.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/microphone-on.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/microphone.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/min.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/minimize.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/more.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/mute-mobile.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/no-authorized.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/no-discussion.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/none.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/normal-signal.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/on-podium.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/out.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/pdf.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/pen-arrow.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/pen-circle.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/pen-curve.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/pen-line.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/pen-pentagram.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/pen-rhombus.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/pen-square.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/pen-triangle.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/pen.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/pentagram.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/pic.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/pip-off.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/pip-on.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/placeholder-camera-broken.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/placeholder-camera-no-body.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/placeholder-camera-off.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/placeholder-no-ask.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/placeholder-no-file.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/placeholder-no-message.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/placeholder-no-search.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/placeholder-no-setup.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/placeholder-not-present.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/ppt.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/pretest-check.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/pretest-checked.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/pretest-speaker.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/record.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/recording.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/red-caution.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/redo.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/register.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/replay.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/reset.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/restore.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/review.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/reward.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/rhombus.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/room-label.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/ruddy.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/save-ghost.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/search.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/select.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/set-outline.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/set.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/settings.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/share-close.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/share-default.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/share-hover.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/share-mobile.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/share-screen.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/slice-window.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/slice.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/speaker.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/square.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/stage.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/star-outline.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/star.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/stream-window-on.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/switch-screen-share-active.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/switch-screen-share.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/text.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/toast-info.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/toast-success.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/tools.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/triangle-down.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/triangle-solid-down.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/triangle-solid-right.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/triangle-solid-up.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/triangle.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/txt.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/undo.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/unknown-signal.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/unknown.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/unmute-mobile.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/video-gallery.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/video-switch-mobile.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/video.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/vote.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/whiteboard.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/whitening.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/word.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/zoom-in.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/paths/zoom-out.d.ts +0 -4
- package/lib/ui-kit/components/svg-img/svg-dict.d.ts +0 -12
- package/lib/ui-kit/components/svg-img/type.d.ts +0 -182
- package/lib/ui-kit/components/svga-player/index.d.ts +0 -11
- package/lib/ui-kit/components/svga-player/svga-types.d.ts +0 -1
- package/lib/ui-kit/components/table/index.d.ts +0 -40
- package/lib/ui-kit/components/tabs/index.d.ts +0 -7
- package/lib/ui-kit/components/toast/index.d.ts +0 -16
- package/lib/ui-kit/components/toolbar/board-cleaners.d.ts +0 -15
- package/lib/ui-kit/components/toolbar/index.d.ts +0 -15
- package/lib/ui-kit/components/toolbar/pens.d.ts +0 -19
- package/lib/ui-kit/components/toolbar/slice.d.ts +0 -14
- package/lib/ui-kit/components/toolbar/tool-cabinet.d.ts +0 -7
- package/lib/ui-kit/components/toolbar/tool.d.ts +0 -19
- package/lib/ui-kit/components/toolbar/util.d.ts +0 -3
- package/lib/ui-kit/components/tooltip/index.d.ts +0 -30
- package/lib/ui-kit/components/tooltip/placements.d.ts +0 -17
- package/lib/ui-kit/components/tree/index.d.ts +0 -34
- package/lib/ui-kit/components/util/colors.d.ts +0 -3
- package/lib/ui-kit/components/util/getRenderPropValue.d.ts +0 -3
- package/lib/ui-kit/components/util/motion.d.ts +0 -5
- package/lib/ui-kit/components/util/type.d.ts +0 -13
- package/lib/ui-kit/components/volume/index.d.ts +0 -17
- package/lib/ui-kit/index.d.ts +0 -2
- package/lib/ui-kit/utilities/hooks.d.ts +0 -22
- package/lib/ui-kit/utilities/index.d.ts +0 -31
- package/lib/ui-kit/utilities/state-color.d.ts +0 -17
- package/lib/ui-kit/utilities/style-config.d.ts +0 -60
- package/lib/ui-kit/utilities/types.d.ts +0 -8
|
@@ -1,192 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const matchVirtualSoundCardPattern: (deviceName: string) => boolean;
|
|
@@ -1,299 +0,0 @@
|
|
|
1
|
-
import { AGBeautyEffect, AgoraRteMediaSourceState } from 'agora-rte-sdk';
|
|
2
|
-
import { EduUIStoreBase } from '../base';
|
|
3
|
-
import { BeautyType } from 'agora-edu-core';
|
|
4
|
-
import { CameraPlaceholderType } from '../stream/struct';
|
|
5
|
-
export declare type PretestToast = {
|
|
6
|
-
id: string;
|
|
7
|
-
type: 'video' | 'audio_recording' | 'audio_playback' | 'error';
|
|
8
|
-
info: string;
|
|
9
|
-
};
|
|
10
|
-
declare type AddToastArgs = Omit<PretestToast, 'id'>;
|
|
11
|
-
declare type EffectType = 'beauty' | 'virtualBackground';
|
|
12
|
-
declare type DeviceType = 'audio' | 'video';
|
|
13
|
-
export declare class PretestUIStore extends EduUIStoreBase {
|
|
14
|
-
private _disposers;
|
|
15
|
-
currentEffectType: EffectType;
|
|
16
|
-
beautyEffectOptions: AGBeautyEffect;
|
|
17
|
-
currentPretestTab: DeviceType | 'stage';
|
|
18
|
-
aiDenoiserEnabled: boolean;
|
|
19
|
-
backgroundImage: never[];
|
|
20
|
-
currentVirtualBackground: string;
|
|
21
|
-
private _virtualBackgroundProcessor?;
|
|
22
|
-
private _beautyEffectProcessor?;
|
|
23
|
-
private _aiDenoiserProcessor?;
|
|
24
|
-
private _virtualBackgroundProcessorForPreview?;
|
|
25
|
-
private _beautyEffectProcessorForPreview?;
|
|
26
|
-
private _aiDenoiserProcessorForPreview?;
|
|
27
|
-
onInstall(): void;
|
|
28
|
-
get virtualBackgroundSupported(): boolean;
|
|
29
|
-
get beautySupported(): boolean;
|
|
30
|
-
get aiDenoiserSupported(): boolean;
|
|
31
|
-
/**
|
|
32
|
-
* 交互事件通知
|
|
33
|
-
* @param type
|
|
34
|
-
*/
|
|
35
|
-
private _handleInteractionEvents;
|
|
36
|
-
private _timer;
|
|
37
|
-
/**
|
|
38
|
-
* Toast 消息列表
|
|
39
|
-
*/
|
|
40
|
-
toastQueue: PretestToast[];
|
|
41
|
-
/**
|
|
42
|
-
* 美颜类型
|
|
43
|
-
*/
|
|
44
|
-
activeBeautyType: BeautyType | 'none';
|
|
45
|
-
/**
|
|
46
|
-
* 是否正在测试扬声器
|
|
47
|
-
*/
|
|
48
|
-
playbackTesting: boolean;
|
|
49
|
-
/**
|
|
50
|
-
* 视频消息 Toast 列表
|
|
51
|
-
* @returns
|
|
52
|
-
*/
|
|
53
|
-
get videoToastQueue(): PretestToast[];
|
|
54
|
-
/**
|
|
55
|
-
* 扬声器消息 Toast 列表
|
|
56
|
-
* @returns
|
|
57
|
-
*/
|
|
58
|
-
get audioPlaybackToastQueue(): PretestToast[];
|
|
59
|
-
/**
|
|
60
|
-
* 麦克风消息 Toast 列表
|
|
61
|
-
* @returns
|
|
62
|
-
*/
|
|
63
|
-
get audioRecordingToastQueue(): PretestToast[];
|
|
64
|
-
/**
|
|
65
|
-
* 错误消息 Toast 列表
|
|
66
|
-
* @returns
|
|
67
|
-
*/
|
|
68
|
-
get errorToastQueue(): PretestToast[];
|
|
69
|
-
/**
|
|
70
|
-
* 摄像头设备列表
|
|
71
|
-
* @returns
|
|
72
|
-
*/
|
|
73
|
-
get cameraDevicesList(): {
|
|
74
|
-
label: string;
|
|
75
|
-
value: string;
|
|
76
|
-
}[];
|
|
77
|
-
/**
|
|
78
|
-
* 麦克风设备列表
|
|
79
|
-
* @returns
|
|
80
|
-
*/
|
|
81
|
-
get recordingDevicesList(): {
|
|
82
|
-
label: string;
|
|
83
|
-
value: string;
|
|
84
|
-
}[];
|
|
85
|
-
/**
|
|
86
|
-
* 扬声器设备列表
|
|
87
|
-
* @returns
|
|
88
|
-
*/
|
|
89
|
-
get playbackDevicesList(): {
|
|
90
|
-
label: string;
|
|
91
|
-
value: string;
|
|
92
|
-
}[];
|
|
93
|
-
/**
|
|
94
|
-
* 当前摄像头设备ID
|
|
95
|
-
* @returns
|
|
96
|
-
*/
|
|
97
|
-
get currentCameraDeviceId(): string;
|
|
98
|
-
/**
|
|
99
|
-
* 当前麦克风设备ID
|
|
100
|
-
* @returns
|
|
101
|
-
*/
|
|
102
|
-
get currentRecordingDeviceId(): string;
|
|
103
|
-
/**
|
|
104
|
-
* 当前扬声器设备ID
|
|
105
|
-
* @returns
|
|
106
|
-
*/
|
|
107
|
-
get currentPlaybackDeviceId(): string;
|
|
108
|
-
/**
|
|
109
|
-
* 麦克风音量
|
|
110
|
-
* @returns 音量 0 ~ 1
|
|
111
|
-
*/
|
|
112
|
-
get localVolume(): number;
|
|
113
|
-
/**
|
|
114
|
-
* 本地音量(设备检测)
|
|
115
|
-
* @returns
|
|
116
|
-
*/
|
|
117
|
-
get localPreviewVolume(): number;
|
|
118
|
-
/**
|
|
119
|
-
* 扬声器测试音量
|
|
120
|
-
* @returns 音量 0 ~ 1
|
|
121
|
-
*/
|
|
122
|
-
get localPlaybackTestVolume(): number;
|
|
123
|
-
/**
|
|
124
|
-
* 本地摄像头设备状态
|
|
125
|
-
* @returns
|
|
126
|
-
*/
|
|
127
|
-
get localCameraTrackState(): AgoraRteMediaSourceState;
|
|
128
|
-
/**
|
|
129
|
-
* 本地麦克风设备状态
|
|
130
|
-
* @returns
|
|
131
|
-
*/
|
|
132
|
-
get localMicTrackState(): AgoraRteMediaSourceState;
|
|
133
|
-
/**
|
|
134
|
-
* 本地摄像头设备状态(设备检测)
|
|
135
|
-
* @returns
|
|
136
|
-
*/
|
|
137
|
-
get localPreviewCameraTrackState(): AgoraRteMediaSourceState;
|
|
138
|
-
/**
|
|
139
|
-
* 本地摄像头是否开启
|
|
140
|
-
* @returns
|
|
141
|
-
*/
|
|
142
|
-
get localCameraOff(): boolean;
|
|
143
|
-
/**
|
|
144
|
-
* 本地麦克风设备是否开启
|
|
145
|
-
* @returns
|
|
146
|
-
*/
|
|
147
|
-
get localMicOff(): boolean;
|
|
148
|
-
/**
|
|
149
|
-
* 本地摄像头是否开启(设备检测)
|
|
150
|
-
*/
|
|
151
|
-
get localPreviewCameraOff(): boolean;
|
|
152
|
-
/**
|
|
153
|
-
* 本地音频设备状态显示的 Icon 类型
|
|
154
|
-
* microphone-off 麦克风开启
|
|
155
|
-
* microphone-on 麦克风关闭
|
|
156
|
-
* @returns Icon 类型
|
|
157
|
-
*/
|
|
158
|
-
get localMicIconType(): "microphone-on" | "microphone-off";
|
|
159
|
-
/**
|
|
160
|
-
* 本地视频状态显示的占位符类型
|
|
161
|
-
* @returns
|
|
162
|
-
*/
|
|
163
|
-
get localCameraPlaceholder(): CameraPlaceholderType;
|
|
164
|
-
/**
|
|
165
|
-
* 本地视频状态显示的占位符类型(设备检测)
|
|
166
|
-
* @returns
|
|
167
|
-
*/
|
|
168
|
-
get localPreviewCameraPlaceholder(): CameraPlaceholderType;
|
|
169
|
-
/**
|
|
170
|
-
* @ignore
|
|
171
|
-
*/
|
|
172
|
-
get disable(): boolean;
|
|
173
|
-
/**
|
|
174
|
-
* 是否开启镜像
|
|
175
|
-
* @returns
|
|
176
|
-
*/
|
|
177
|
-
get isMirror(): boolean;
|
|
178
|
-
/**
|
|
179
|
-
* 美白参数 (0 ~ 100)
|
|
180
|
-
* @returns
|
|
181
|
-
*/
|
|
182
|
-
get whiteningValue(): number;
|
|
183
|
-
/**
|
|
184
|
-
* 红润参数 (0 ~ 100)
|
|
185
|
-
* @returns
|
|
186
|
-
*/
|
|
187
|
-
get ruddyValue(): number;
|
|
188
|
-
/**
|
|
189
|
-
* 磨皮参数 (0 ~ 100)
|
|
190
|
-
* @returns
|
|
191
|
-
*/
|
|
192
|
-
get buffingValue(): number;
|
|
193
|
-
/**
|
|
194
|
-
* 美颜调整参数类型
|
|
195
|
-
* @returns
|
|
196
|
-
*/
|
|
197
|
-
get activeBeautyValue(): number;
|
|
198
|
-
/**
|
|
199
|
-
* 显示 Toast 信息
|
|
200
|
-
* @param toast
|
|
201
|
-
*/
|
|
202
|
-
addToast(toast: AddToastArgs): void;
|
|
203
|
-
/**
|
|
204
|
-
* 移除 Toast 信息
|
|
205
|
-
* @param id
|
|
206
|
-
* @returns
|
|
207
|
-
*/
|
|
208
|
-
removeToast(id: string): string;
|
|
209
|
-
/**
|
|
210
|
-
* 设置镜像开启或关闭
|
|
211
|
-
* @param v 开启或关闭
|
|
212
|
-
*/
|
|
213
|
-
setMirror(v: boolean): void;
|
|
214
|
-
/**
|
|
215
|
-
* 开始扬声器测试
|
|
216
|
-
* @param url
|
|
217
|
-
*/
|
|
218
|
-
startPlaybackDeviceTest(url: string): void;
|
|
219
|
-
/**
|
|
220
|
-
* 停止扬声器测试
|
|
221
|
-
*/
|
|
222
|
-
stopPlaybackDeviceTest(): void;
|
|
223
|
-
/**
|
|
224
|
-
* 开始麦克风测试
|
|
225
|
-
*/
|
|
226
|
-
startRecordingDeviceTest(): void;
|
|
227
|
-
/**
|
|
228
|
-
* 停止麦克风测试
|
|
229
|
-
*/
|
|
230
|
-
stopRecordingDeviceTest(): void;
|
|
231
|
-
/**
|
|
232
|
-
* 打开本地摄像头
|
|
233
|
-
* @param value 开启或关闭
|
|
234
|
-
*/
|
|
235
|
-
enableLocalVideo(value: boolean): void;
|
|
236
|
-
/**
|
|
237
|
-
* 打开本地麦克风
|
|
238
|
-
* @param value 开启或关闭
|
|
239
|
-
*/
|
|
240
|
-
enableLocalAudio(value: boolean): void;
|
|
241
|
-
/**
|
|
242
|
-
* 设置当前使用摄像头设备
|
|
243
|
-
* @param id
|
|
244
|
-
*/
|
|
245
|
-
setCameraDevice(id: string): void;
|
|
246
|
-
/**
|
|
247
|
-
* 设置当前使用麦克风设备
|
|
248
|
-
* @param id
|
|
249
|
-
*/
|
|
250
|
-
setRecordingDevice(id: string): void;
|
|
251
|
-
/**
|
|
252
|
-
* 设置美颜类型
|
|
253
|
-
* @param value
|
|
254
|
-
*/
|
|
255
|
-
setActiveBeautyType(value: BeautyType | 'none'): void;
|
|
256
|
-
/**
|
|
257
|
-
* 设置美颜参数
|
|
258
|
-
* @param value (0 ~ 100)
|
|
259
|
-
*/
|
|
260
|
-
setActiveBeautyValue(value: number): void;
|
|
261
|
-
/**
|
|
262
|
-
* 设置当前使用扬声器设备
|
|
263
|
-
* @param id
|
|
264
|
-
*/
|
|
265
|
-
setPlaybackDevice(id: string): void;
|
|
266
|
-
/**
|
|
267
|
-
* 渲染本地视频
|
|
268
|
-
* @param dom
|
|
269
|
-
* @param mirror
|
|
270
|
-
*/
|
|
271
|
-
setupLocalVideo(dom: HTMLElement, mirror: boolean): void;
|
|
272
|
-
/**
|
|
273
|
-
* 设置单当前效果tab
|
|
274
|
-
*/
|
|
275
|
-
setCurrentEffectOption(type: EffectType): void;
|
|
276
|
-
setCurrentTab(type: DeviceType | 'stage'): void;
|
|
277
|
-
handleBackgroundChange(key: string, value?: {
|
|
278
|
-
type: 'img';
|
|
279
|
-
url: string;
|
|
280
|
-
} | {
|
|
281
|
-
type: 'video';
|
|
282
|
-
url: string;
|
|
283
|
-
}): void;
|
|
284
|
-
setAIDenoiser(enable: boolean): void;
|
|
285
|
-
setVirtualBackground({ type, source, }: {
|
|
286
|
-
type: 'img';
|
|
287
|
-
source: HTMLImageElement;
|
|
288
|
-
} | {
|
|
289
|
-
type: 'video';
|
|
290
|
-
source: HTMLVideoElement;
|
|
291
|
-
}): void;
|
|
292
|
-
startCameraPreview(): void;
|
|
293
|
-
stopCameraPreview(): void;
|
|
294
|
-
startAudioRecordingPreview(): void;
|
|
295
|
-
stopAudioRecordingPreview(): void;
|
|
296
|
-
setupLocalVideoPreview(dom: HTMLElement, mirror: boolean): void;
|
|
297
|
-
onDestroy(): void;
|
|
298
|
-
}
|
|
299
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare enum DeviceStateChangedReason {
|
|
2
|
-
cameraFailed = "pretest.device_not_working",
|
|
3
|
-
micFailed = "pretest.device_not_working",
|
|
4
|
-
newDeviceDetected = "new_device_detected",
|
|
5
|
-
cameraUnplugged = "pretest.camera_move_out",
|
|
6
|
-
micUnplugged = "pretest.mic_move_out",
|
|
7
|
-
playbackUnplugged = "pretest.playback_move_out"
|
|
8
|
-
}
|
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
import { IReactionDisposer } from 'mobx';
|
|
2
|
-
import { EduUIStoreBase } from '../base';
|
|
3
|
-
import { DeviceState, Operation, Profile } from './type';
|
|
4
|
-
import { BoardGrantState } from '@classroom/ui-kit';
|
|
5
|
-
export declare class RosterUIStore extends EduUIStoreBase {
|
|
6
|
-
/**
|
|
7
|
-
* width: 花名册窗口宽度
|
|
8
|
-
*/
|
|
9
|
-
get uiOverrides(): {
|
|
10
|
-
width: number;
|
|
11
|
-
};
|
|
12
|
-
protected _disposers: IReactionDisposer[];
|
|
13
|
-
onInstall(): void;
|
|
14
|
-
/** Observables */
|
|
15
|
-
/**
|
|
16
|
-
* 检索字符串
|
|
17
|
-
*/
|
|
18
|
-
searchKeyword: string;
|
|
19
|
-
/**
|
|
20
|
-
* 轮播参数
|
|
21
|
-
*/
|
|
22
|
-
carousel: {
|
|
23
|
-
isOpenCarousel: boolean;
|
|
24
|
-
mode: string;
|
|
25
|
-
randomValue: string;
|
|
26
|
-
times: string;
|
|
27
|
-
};
|
|
28
|
-
/** Methods */
|
|
29
|
-
/**
|
|
30
|
-
* 开始轮播
|
|
31
|
-
* @param start
|
|
32
|
-
*/
|
|
33
|
-
private startCarousel;
|
|
34
|
-
/**
|
|
35
|
-
* 轮播参数事件
|
|
36
|
-
* @param propKey
|
|
37
|
-
* @returns
|
|
38
|
-
*/
|
|
39
|
-
private updatePartial;
|
|
40
|
-
/**
|
|
41
|
-
* 获取主流
|
|
42
|
-
* @param userUuid
|
|
43
|
-
* @returns
|
|
44
|
-
*/
|
|
45
|
-
protected getMainStream(userUuid: string): import("agora-edu-core").EduStream | null | undefined;
|
|
46
|
-
/**
|
|
47
|
-
* 是否不可点击操作
|
|
48
|
-
* @param deviceState
|
|
49
|
-
* @returns
|
|
50
|
-
*/
|
|
51
|
-
protected shouldBlockMediaAction(deviceState: DeviceState): boolean;
|
|
52
|
-
/**
|
|
53
|
-
* 更新轮播参数
|
|
54
|
-
* @param carousel
|
|
55
|
-
*/
|
|
56
|
-
/** Actions */
|
|
57
|
-
updateCarousel(carousel: RosterUIStore['carousel']): void;
|
|
58
|
-
/**
|
|
59
|
-
* 设置检索字符串
|
|
60
|
-
* @param keyword
|
|
61
|
-
*/
|
|
62
|
-
setSearchKeyword(keyword: string): void;
|
|
63
|
-
/**
|
|
64
|
-
* 花名册功能按钮点击
|
|
65
|
-
* @param operation
|
|
66
|
-
* @param profile
|
|
67
|
-
*/
|
|
68
|
-
clickRowAction: (operation: Operation, profile: Profile) => void;
|
|
69
|
-
clickInvitePodium: (profile: Profile) => void;
|
|
70
|
-
clickPodium: (profile: Profile) => void;
|
|
71
|
-
clickGrantBoard: (profile: Profile) => void;
|
|
72
|
-
clickCamera: (profile: Profile) => void;
|
|
73
|
-
clickMicrophone: (profile: Profile) => void;
|
|
74
|
-
clickStar: (profile: Profile) => void;
|
|
75
|
-
clickKick: (profile: Profile) => void;
|
|
76
|
-
/** Computed */
|
|
77
|
-
/**
|
|
78
|
-
* 老师名称
|
|
79
|
-
* @returns
|
|
80
|
-
*/
|
|
81
|
-
get teacherName(): string;
|
|
82
|
-
/**
|
|
83
|
-
* 学生列表
|
|
84
|
-
* @returns
|
|
85
|
-
*/
|
|
86
|
-
get userList(): {
|
|
87
|
-
uid: string;
|
|
88
|
-
name: string;
|
|
89
|
-
isOnPodium: boolean;
|
|
90
|
-
boardGrantState: BoardGrantState;
|
|
91
|
-
isChatMuted: boolean;
|
|
92
|
-
cameraState: DeviceState;
|
|
93
|
-
microphoneState: DeviceState;
|
|
94
|
-
stars: number;
|
|
95
|
-
operations: Partial<Record<Operation, {
|
|
96
|
-
interactable: boolean;
|
|
97
|
-
}>>;
|
|
98
|
-
}[];
|
|
99
|
-
/**
|
|
100
|
-
* 花名册功能列表
|
|
101
|
-
* @returns
|
|
102
|
-
*/
|
|
103
|
-
get rosterFunctions(): ("search" | "stars" | "kick" | "podium" | "grant-board" | "supervise-student" | "carousel")[];
|
|
104
|
-
/**
|
|
105
|
-
* 轮播组件属性
|
|
106
|
-
* @returns
|
|
107
|
-
*/
|
|
108
|
-
get carouselProps(): {
|
|
109
|
-
onTimesChange: (val: string, eventType?: "blur" | "change" | undefined) => void;
|
|
110
|
-
onModeChange: (val: string, eventType?: "blur" | "change" | undefined) => void;
|
|
111
|
-
onRandomValueChange: (val: string, eventType?: "blur" | "change" | undefined) => void;
|
|
112
|
-
onOpenCarousel: (val: boolean, eventType?: "blur" | "change" | undefined) => void;
|
|
113
|
-
isOpenCarousel: boolean;
|
|
114
|
-
mode: string;
|
|
115
|
-
randomValue: string;
|
|
116
|
-
times: string;
|
|
117
|
-
};
|
|
118
|
-
get groupStarted(): boolean;
|
|
119
|
-
/** Getters */
|
|
120
|
-
/**
|
|
121
|
-
* 是否有踢人权限
|
|
122
|
-
* @returns
|
|
123
|
-
*/
|
|
124
|
-
get canKickOut(): boolean;
|
|
125
|
-
/**
|
|
126
|
-
* 是否有白板授权权限
|
|
127
|
-
* @returns
|
|
128
|
-
*/
|
|
129
|
-
get canGrantWhiteboardPermissions(): boolean;
|
|
130
|
-
/**
|
|
131
|
-
* 是否可以操作上下台
|
|
132
|
-
* @returns
|
|
133
|
-
*/
|
|
134
|
-
get canOperatePodium(): boolean;
|
|
135
|
-
/**
|
|
136
|
-
* 是否可以禁言IM
|
|
137
|
-
* @returns
|
|
138
|
-
*/
|
|
139
|
-
get canMuteChat(): boolean;
|
|
140
|
-
/**
|
|
141
|
-
* 是否可以开启和关闭学生音视频
|
|
142
|
-
* @returns
|
|
143
|
-
*/
|
|
144
|
-
get canOperateMedia(): boolean;
|
|
145
|
-
/**
|
|
146
|
-
* 是否可以操作轮播
|
|
147
|
-
* @returns
|
|
148
|
-
*/
|
|
149
|
-
get canOperateCarousel(): boolean;
|
|
150
|
-
/**
|
|
151
|
-
* 是否可以检索
|
|
152
|
-
* @returns
|
|
153
|
-
*/
|
|
154
|
-
get canSearchInRoster(): boolean;
|
|
155
|
-
/**
|
|
156
|
-
* 是否可以发奖励
|
|
157
|
-
* @returns
|
|
158
|
-
*/
|
|
159
|
-
get canSendRewards(): boolean;
|
|
160
|
-
get canSubscribeUser(): boolean;
|
|
161
|
-
get canSuperviseStudent(): boolean;
|
|
162
|
-
onDestroy(): void;
|
|
163
|
-
}
|