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,6 +0,0 @@
|
|
|
1
|
-
import { EduClassroomStore, EduRoomTypeEnum } from 'agora-edu-core';
|
|
2
|
-
import { EduClassroomUIStore } from '../stores/common';
|
|
3
|
-
export declare class EduUIStoreFactory {
|
|
4
|
-
static createWithType(roomType: EduRoomTypeEnum, store: EduClassroomStore): EduClassroomUIStore;
|
|
5
|
-
static createWithTypeH5(roomType: EduRoomTypeEnum, store: EduClassroomStore): EduClassroomUIStore;
|
|
6
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { DependencyList } from 'react';
|
|
2
|
-
export declare const useInteractionThrottleHandler: <T>(func: T, options: {
|
|
3
|
-
limitMs?: number;
|
|
4
|
-
limitFunc?: () => void;
|
|
5
|
-
}, deps: DependencyList) => T;
|
|
6
|
-
export declare const useClickAnywhere: (cb: () => void) => import("react").RefObject<HTMLDivElement>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { EduClassroomUIStore } from '../stores/common';
|
|
2
|
-
import { EduInteractiveUIClassStore } from '../stores/interactive';
|
|
3
|
-
import { EduLectureUIStore } from '../stores/lecture';
|
|
4
|
-
import { EduLectureH5UIStore } from '../stores/lecture-mobile';
|
|
5
|
-
import { Edu1v1ClassUIStore } from '../stores/one-on-one';
|
|
6
|
-
export declare const use1v1UIStores: () => Edu1v1ClassUIStore;
|
|
7
|
-
export declare const useInteractiveUIStores: () => EduInteractiveUIClassStore;
|
|
8
|
-
export declare const useLectureUIStores: () => EduLectureUIStore;
|
|
9
|
-
export declare const useLectureH5UIStores: () => EduLectureH5UIStore;
|
|
10
|
-
export declare function useStore(): EduClassroomUIStore;
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { AgoraWidgetController } from 'agora-edu-core';
|
|
2
|
-
import { Logger } from 'agora-rte-sdk';
|
|
3
|
-
import { BoardConnectionState, BoardMountState, FcrBoardShape, FcrBoardTool } from './type';
|
|
4
|
-
export declare class Board {
|
|
5
|
-
logger: Logger;
|
|
6
|
-
private _controller?;
|
|
7
|
-
private _disposers;
|
|
8
|
-
grantedUsers: Set<string>;
|
|
9
|
-
connState: BoardConnectionState;
|
|
10
|
-
mountState: BoardMountState;
|
|
11
|
-
undoSteps: number;
|
|
12
|
-
redoSteps: number;
|
|
13
|
-
pageIndex: number;
|
|
14
|
-
pageCount: number;
|
|
15
|
-
strokeColor: {
|
|
16
|
-
r: number;
|
|
17
|
-
g: number;
|
|
18
|
-
b: number;
|
|
19
|
-
};
|
|
20
|
-
strokeWidth: number;
|
|
21
|
-
selectedTool?: FcrBoardTool | undefined;
|
|
22
|
-
selectedShape?: FcrBoardShape;
|
|
23
|
-
get connected(): boolean;
|
|
24
|
-
get mounted(): boolean;
|
|
25
|
-
get granted(): boolean;
|
|
26
|
-
enable(): void;
|
|
27
|
-
disable(): void;
|
|
28
|
-
addPage(): void;
|
|
29
|
-
removePage(): void;
|
|
30
|
-
gotoPage(index: number): void;
|
|
31
|
-
undo(): void;
|
|
32
|
-
redo(): void;
|
|
33
|
-
clean(): void;
|
|
34
|
-
putImageResource(url: string, pos?: {
|
|
35
|
-
x: number;
|
|
36
|
-
y: number;
|
|
37
|
-
width: number;
|
|
38
|
-
height: number;
|
|
39
|
-
}): void;
|
|
40
|
-
putImageResourceIntoWindow(src: string): void;
|
|
41
|
-
selectTool(tool: FcrBoardTool): void;
|
|
42
|
-
drawShape(shape: FcrBoardShape): void;
|
|
43
|
-
grantPrivilege(userUuid: string, granted: boolean): void;
|
|
44
|
-
changeStrokeWidth(strokeWidth: number): void;
|
|
45
|
-
changeStrokeColor(color: {
|
|
46
|
-
r: number;
|
|
47
|
-
g: number;
|
|
48
|
-
b: number;
|
|
49
|
-
}): void;
|
|
50
|
-
loadAttributes(): void;
|
|
51
|
-
saveAttributes(): void;
|
|
52
|
-
getSnapshotImageList(): void;
|
|
53
|
-
setDelay(delay: number): void;
|
|
54
|
-
hasPrivilege(): boolean;
|
|
55
|
-
install(controller: AgoraWidgetController): void;
|
|
56
|
-
uninstall(): void;
|
|
57
|
-
private _handleRequestGrantedList;
|
|
58
|
-
private _handleDragOver;
|
|
59
|
-
private _handleDrop;
|
|
60
|
-
private _handleRedoStepsChanged;
|
|
61
|
-
private _handleUndoStepsChanged;
|
|
62
|
-
private _handlePageInfoChanged;
|
|
63
|
-
private _handleGrantedUpdate;
|
|
64
|
-
private _handleSnapshotImageReceived;
|
|
65
|
-
private _handleConnStateChanged;
|
|
66
|
-
private _handleMountStateChanged;
|
|
67
|
-
private _resetTool;
|
|
68
|
-
private _waitReply;
|
|
69
|
-
private _sendBoardCommandMessage;
|
|
70
|
-
}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 此类事件从教室发出,在Widget中监听
|
|
3
|
-
*/
|
|
4
|
-
/** @en
|
|
5
|
-
* Events that come from SDK toward widget
|
|
6
|
-
*/
|
|
7
|
-
export declare enum AgoraExtensionRoomEvent {
|
|
8
|
-
/** 白板 */
|
|
9
|
-
BoardSelectTool = "board-select-tool",
|
|
10
|
-
BoardAddPage = "board-add-page",
|
|
11
|
-
BoardRemovePage = "board-remove-page",
|
|
12
|
-
BoardGotoPage = "board-goto-page",
|
|
13
|
-
BoardUndo = "board-undo",
|
|
14
|
-
BoardRedo = "board-redo",
|
|
15
|
-
BoardClean = "board-clean",
|
|
16
|
-
BoardPutImageResource = "board-put-image-resource",
|
|
17
|
-
BoardPutImageResourceIntoWindow = "board-put-image-resource-into-window",
|
|
18
|
-
BoardOpenMaterialResourceWindow = "board-open-material-resource-window",
|
|
19
|
-
BoardOpenMediaResourceWindow = "board-open-media-resource-window",
|
|
20
|
-
BoardOpenH5ResourceWindow = "board-open-h5-resource-window",
|
|
21
|
-
BoardDrawShape = "board-draw-shape",
|
|
22
|
-
BoardGrantPrivilege = "board-grant-privilege",
|
|
23
|
-
BoardChangeStrokeWidth = "board-change-stroke-width",
|
|
24
|
-
BoardChangeStrokeColor = "board-change-stroke-color",
|
|
25
|
-
BoardSaveAttributes = "board-save-attributes",
|
|
26
|
-
BoardLoadAttributes = "board-load-attributes",
|
|
27
|
-
BoardGetSnapshotImageList = "board-get-snapshot-image-list",
|
|
28
|
-
BoardSetDelay = "board-set-delay",
|
|
29
|
-
BoardSetAnimationOptions = "board-set-animation-options",
|
|
30
|
-
ToggleBoard = "toggle-board",
|
|
31
|
-
OpenWebview = "open-webview",
|
|
32
|
-
OpenStreamMediaPlayer = "open-stream-media-player",
|
|
33
|
-
ResponseGrantedList = "response-granted-list",
|
|
34
|
-
OrientationStatesChanged = "orientation-changed",
|
|
35
|
-
MobileLandscapeToolBarVisibleChanged = "mobile-landscape-tool-bar-visible-changed",
|
|
36
|
-
MobileCallStateChanged = "mobile-call-state-changed"
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* 此事件从Widget发出,在教室内监听
|
|
40
|
-
*/
|
|
41
|
-
/** @en
|
|
42
|
-
* Events that come from widget toward SDK
|
|
43
|
-
*/
|
|
44
|
-
export declare enum AgoraExtensionWidgetEvent {
|
|
45
|
-
/** 白板 */
|
|
46
|
-
BoardConnStateChanged = "board-connection-state-changed",
|
|
47
|
-
BoardMountStateChanged = "board-mount-state-changed",
|
|
48
|
-
BoardMemberStateChanged = "board-member-state-changed",
|
|
49
|
-
BoardPageInfoChanged = "board-page-info-changed",
|
|
50
|
-
BoardRedoStepsChanged = "board-redo-steps-changed",
|
|
51
|
-
BoardUndoStepsChanged = "board-undo-steps-changed",
|
|
52
|
-
BoardGrantedUsersUpdated = "board-granted-users-updated",
|
|
53
|
-
BoardSnapshotImageReceived = "board-snapshot-image-received",
|
|
54
|
-
BoardDragOver = "board-drag-over",
|
|
55
|
-
BoardDrop = "board-drop",
|
|
56
|
-
WidgetBecomeActive = "widget-become-active",
|
|
57
|
-
WidgetBecomeInactive = "widget-become-inactive",
|
|
58
|
-
RegisterCabinetTool = "register-cabinet-tool",
|
|
59
|
-
UnregisterCabinetTool = "unregister-cabinet-tool",
|
|
60
|
-
RequestGrantedList = "request-granted-list",
|
|
61
|
-
RequestOrientationStates = "request-orientation",
|
|
62
|
-
QuitForceLandscape = "quit-force-landscape",
|
|
63
|
-
AddSingletonToast = "add-singleton-toast",
|
|
64
|
-
PollActiveStateChanged = "poll-active-state-changed",
|
|
65
|
-
RequestMobileLandscapeToolBarVisible = "request-mobile-landscape-tool-bar-visible",
|
|
66
|
-
OpenMobileHandsActionSheet = "open-mobile-hands-up-action-sheet"
|
|
67
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { AgoraWidgetController } from 'agora-edu-core';
|
|
2
|
-
import { Logger } from 'agora-rte-sdk';
|
|
3
|
-
import { CabinetItem } from '../stores/common/toolbar/type';
|
|
4
|
-
import { FcrBoardH5WindowConfig, FcrBoardMaterialWindowConfig, FcrBoardMediaWindowConfig, OrientationStates, StreamMediaPlayerOpenParams, WebviewOpenParams } from './type';
|
|
5
|
-
import { MobileCallState } from '../stores/lecture-mobile/layout';
|
|
6
|
-
export declare class Extension {
|
|
7
|
-
logger: Logger;
|
|
8
|
-
private _controller?;
|
|
9
|
-
private _registeredCabinetItems;
|
|
10
|
-
get cabinetItems(): CabinetItem[];
|
|
11
|
-
install(controller: AgoraWidgetController): void;
|
|
12
|
-
uninstall(): void;
|
|
13
|
-
private _handleRegisterCabinetTool;
|
|
14
|
-
private _handleUnregisterCabinetTool;
|
|
15
|
-
openWebview(params: WebviewOpenParams): void;
|
|
16
|
-
openMediaStreamPlayer(params: StreamMediaPlayerOpenParams): void;
|
|
17
|
-
openMaterialResourceWindow(resource: FcrBoardMaterialWindowConfig): void;
|
|
18
|
-
openMediaResourceWindow(resource: FcrBoardMediaWindowConfig): void;
|
|
19
|
-
openH5ResourceWindow(resource: FcrBoardH5WindowConfig): void;
|
|
20
|
-
updateOrientationStates(param: OrientationStates): void;
|
|
21
|
-
updateMobileLandscapeToolBarVisible(visible: boolean): void;
|
|
22
|
-
updateMobileCallState(callState: MobileCallState): void;
|
|
23
|
-
private _broadcastMessage;
|
|
24
|
-
}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { OrientationEnum } from '../stores/common/type';
|
|
2
|
-
export declare enum BoardConnectionState {
|
|
3
|
-
Disconnected = 0,
|
|
4
|
-
Connecting = 1,
|
|
5
|
-
Connected = 2,
|
|
6
|
-
Reconnecting = 3,
|
|
7
|
-
Disconnecting = 4
|
|
8
|
-
}
|
|
9
|
-
export declare enum BoardMountState {
|
|
10
|
-
NotMounted = 0,
|
|
11
|
-
Mounted = 1
|
|
12
|
-
}
|
|
13
|
-
/** Board types */
|
|
14
|
-
export declare enum FcrBoardTool {
|
|
15
|
-
Selector = 1,
|
|
16
|
-
LaserPointer = 2,
|
|
17
|
-
Eraser = 3,
|
|
18
|
-
Clicker = 4,
|
|
19
|
-
Hand = 5,
|
|
20
|
-
Text = 6
|
|
21
|
-
}
|
|
22
|
-
export declare enum FcrBoardShape {
|
|
23
|
-
Curve = 1,
|
|
24
|
-
Straight = 2,
|
|
25
|
-
Arrow = 3,
|
|
26
|
-
Rectangle = 4,
|
|
27
|
-
Triangle = 5,
|
|
28
|
-
Rhombus = 6,
|
|
29
|
-
Pentagram = 7,
|
|
30
|
-
Ellipse = 8
|
|
31
|
-
}
|
|
32
|
-
export declare type WebviewOpenParams = {
|
|
33
|
-
resourceUuid: string;
|
|
34
|
-
url: string;
|
|
35
|
-
title: string;
|
|
36
|
-
};
|
|
37
|
-
export declare type StreamMediaPlayerOpenParams = {
|
|
38
|
-
resourceUuid: string;
|
|
39
|
-
url: string;
|
|
40
|
-
title: string;
|
|
41
|
-
};
|
|
42
|
-
export declare type Color = {
|
|
43
|
-
r: number;
|
|
44
|
-
g: number;
|
|
45
|
-
b: number;
|
|
46
|
-
a?: number;
|
|
47
|
-
};
|
|
48
|
-
export declare type FcrBoardMaterialWindowConfig<T = unknown> = {
|
|
49
|
-
resourceUuid: string;
|
|
50
|
-
urlPrefix: string;
|
|
51
|
-
title: string;
|
|
52
|
-
pageList: T[];
|
|
53
|
-
taskUuid: string;
|
|
54
|
-
resourceHasAnimation: boolean;
|
|
55
|
-
};
|
|
56
|
-
export declare type FcrBoardMediaWindowConfig = {
|
|
57
|
-
resourceUuid: string;
|
|
58
|
-
resourceUrl: string;
|
|
59
|
-
title: string;
|
|
60
|
-
mimeType: string;
|
|
61
|
-
};
|
|
62
|
-
export declare type FcrBoardH5WindowConfig = {
|
|
63
|
-
resourceUuid: string;
|
|
64
|
-
resourceUrl: string;
|
|
65
|
-
title: string;
|
|
66
|
-
};
|
|
67
|
-
export declare type OrientationStates = {
|
|
68
|
-
orientation: OrientationEnum;
|
|
69
|
-
forceLandscape: boolean;
|
|
70
|
-
};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { EduClassroomStore } from 'agora-edu-core';
|
|
2
|
-
import { EduShareUIStore } from './share';
|
|
3
|
-
import { Board } from '@classroom/infra/protocol/board';
|
|
4
|
-
import { Extension } from '@classroom/infra/protocol';
|
|
5
|
-
import { Getters } from './getters';
|
|
6
|
-
import { Logger } from 'agora-rte-sdk';
|
|
7
|
-
export declare abstract class EduUIStoreBase {
|
|
8
|
-
private static _boardApi;
|
|
9
|
-
private static _extensionApi;
|
|
10
|
-
protected readonly logger: Logger;
|
|
11
|
-
/**
|
|
12
|
-
* 参数覆盖
|
|
13
|
-
*/
|
|
14
|
-
protected get uiOverrides(): {};
|
|
15
|
-
protected readonly getters: Getters;
|
|
16
|
-
/**
|
|
17
|
-
* 当前 EduClassroomStore 实例
|
|
18
|
-
*/
|
|
19
|
-
readonly classroomStore: EduClassroomStore;
|
|
20
|
-
/**
|
|
21
|
-
* EduShareUIStore 实例
|
|
22
|
-
*/
|
|
23
|
-
readonly shareUIStore: EduShareUIStore;
|
|
24
|
-
/**
|
|
25
|
-
* 构造函数
|
|
26
|
-
* @param store
|
|
27
|
-
* @param shareUIStore
|
|
28
|
-
*/
|
|
29
|
-
constructor(store: EduClassroomStore, shareUIStore: EduShareUIStore, getters: Getters);
|
|
30
|
-
/**
|
|
31
|
-
* 初始化
|
|
32
|
-
*/
|
|
33
|
-
abstract onInstall(): void;
|
|
34
|
-
/**
|
|
35
|
-
* 销毁
|
|
36
|
-
*/
|
|
37
|
-
abstract onDestroy(): void;
|
|
38
|
-
/**
|
|
39
|
-
* 白板API服务
|
|
40
|
-
*/
|
|
41
|
-
get boardApi(): Board;
|
|
42
|
-
/**
|
|
43
|
-
* 扩展API
|
|
44
|
-
*/
|
|
45
|
-
get extensionApi(): Extension;
|
|
46
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { IReactionDisposer, Lambda } from 'mobx';
|
|
3
|
-
import { EduUIStoreBase } from '../base';
|
|
4
|
-
export declare class BoardUIStore extends EduUIStoreBase {
|
|
5
|
-
protected _disposers: (IReactionDisposer | Lambda)[];
|
|
6
|
-
protected get uiOverrides(): {
|
|
7
|
-
heightRatio: number;
|
|
8
|
-
};
|
|
9
|
-
/**
|
|
10
|
-
* 白板容器高度
|
|
11
|
-
* @returns
|
|
12
|
-
*/
|
|
13
|
-
get boardAreaHeight(): number;
|
|
14
|
-
isCopying: boolean;
|
|
15
|
-
get isTeacherOrAssistant(): boolean;
|
|
16
|
-
get grantedUsers(): Set<string>;
|
|
17
|
-
get isGrantedBoard(): boolean;
|
|
18
|
-
get undoSteps(): number;
|
|
19
|
-
get redoSteps(): number;
|
|
20
|
-
get currentSceneIndex(): number;
|
|
21
|
-
get scenesCount(): number;
|
|
22
|
-
get mounted(): boolean;
|
|
23
|
-
onInstall(): void;
|
|
24
|
-
private _handleUIEvents;
|
|
25
|
-
addMainViewScene(): void;
|
|
26
|
-
toPreMainViewScene(): void;
|
|
27
|
-
toNextMainViewScene(): void;
|
|
28
|
-
setDelay(delay: number): void;
|
|
29
|
-
/**
|
|
30
|
-
* for teacher and assistent only
|
|
31
|
-
*
|
|
32
|
-
* @param event
|
|
33
|
-
*/
|
|
34
|
-
handleDragOver(event: React.DragEvent<HTMLDivElement>): void;
|
|
35
|
-
/**
|
|
36
|
-
* for teacher and assistent only
|
|
37
|
-
* @param event
|
|
38
|
-
*/
|
|
39
|
-
hanldeDrop(event: React.DragEvent<HTMLDivElement>): Promise<void>;
|
|
40
|
-
onDestroy(): void;
|
|
41
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { CourseWareItem } from '@classroom/infra/api';
|
|
2
|
-
import { CloudDriveResource, ConversionOption } from 'agora-edu-core';
|
|
3
|
-
export declare const h5Type = "ah5";
|
|
4
|
-
export declare const linkType = "alf";
|
|
5
|
-
export declare const imageTypes: string[];
|
|
6
|
-
export declare const mediaVideoTypes: string[];
|
|
7
|
-
export declare const mediaAudioTypes: string[];
|
|
8
|
-
export declare const convertableTypes: string[];
|
|
9
|
-
export declare const convertableDynamicTypes: string[];
|
|
10
|
-
export declare const supportedTypes: string[];
|
|
11
|
-
export declare const createCloudResource: (data: CourseWareItem) => CloudDriveResource | never;
|
|
12
|
-
export declare const conversionOption: (ext: string, scale?: number | undefined) => ConversionOption | undefined;
|
|
13
|
-
export declare const extractFileExt: (name: string) => string | undefined;
|
|
14
|
-
export declare const fileExt2ContentType: (fileExt: string) => string;
|
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
import { IUploadOnlineCoursewareData } from '@classroom/infra/capabilities/containers/cloud-driver/person-resource';
|
|
2
|
-
import { CloudDrivePagingOption, CloudDriveResource, CloudDriveResourceUploadStatus } from 'agora-edu-core';
|
|
3
|
-
import { SvgIconEnum } from '@classroom/ui-kit';
|
|
4
|
-
import { EduUIStoreBase } from '../base';
|
|
5
|
-
export declare enum FileTypeSvgColor {
|
|
6
|
-
ppt = "#F6B081",
|
|
7
|
-
word = "#96CBE1",
|
|
8
|
-
excel = "#A6DDBF",
|
|
9
|
-
pdf = "#A3C3DE",
|
|
10
|
-
video = "#A8ABE9",
|
|
11
|
-
audio = "#6C82D1",
|
|
12
|
-
txt = "#8597FF",
|
|
13
|
-
image = "#95E2E7"
|
|
14
|
-
}
|
|
15
|
-
export interface UploadItem {
|
|
16
|
-
resourceUuid: string;
|
|
17
|
-
iconType?: string;
|
|
18
|
-
fileName?: string;
|
|
19
|
-
fileSize?: string;
|
|
20
|
-
currentProgress?: number;
|
|
21
|
-
status: CloudDriveResourceUploadStatus;
|
|
22
|
-
}
|
|
23
|
-
export declare class CloudUIStore extends EduUIStoreBase {
|
|
24
|
-
readonly pageSize: number;
|
|
25
|
-
personalResourceUuidByPage: Map<number, string[]>;
|
|
26
|
-
personalResourcesTotalNum: number;
|
|
27
|
-
private _disposers;
|
|
28
|
-
private _isUploading;
|
|
29
|
-
onInstall(): void;
|
|
30
|
-
/**
|
|
31
|
-
* 根据类型返回扩展名
|
|
32
|
-
* @param name
|
|
33
|
-
* @returns
|
|
34
|
-
*/
|
|
35
|
-
fileNameToType(name: string): SvgIconEnum.ALF | SvgIconEnum.AUDIO | SvgIconEnum.EXCEL | SvgIconEnum.H5 | SvgIconEnum.IMAGE | SvgIconEnum.PDF | SvgIconEnum.PPT | SvgIconEnum.UNKNOWN | SvgIconEnum.VIDEO | SvgIconEnum.WORD;
|
|
36
|
-
/**
|
|
37
|
-
* 文件大小信息格式化
|
|
38
|
-
* @param fileByteSize
|
|
39
|
-
* @param decimalPoint
|
|
40
|
-
* @returns
|
|
41
|
-
*/
|
|
42
|
-
formatFileSize(fileByteSize: number, decimalPoint?: number): string;
|
|
43
|
-
/**
|
|
44
|
-
* 刷新资源列表
|
|
45
|
-
*/
|
|
46
|
-
reloadPersonalResources(): Promise<void>;
|
|
47
|
-
/**
|
|
48
|
-
* 查询个人资源列表
|
|
49
|
-
* @param options
|
|
50
|
-
* @returns
|
|
51
|
-
*/
|
|
52
|
-
fetchPersonalResources(options: CloudDrivePagingOption): Promise<{
|
|
53
|
-
list: never[];
|
|
54
|
-
total: number;
|
|
55
|
-
} | undefined>;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @param files
|
|
59
|
-
*/
|
|
60
|
-
validateFiles(files: File[]): boolean;
|
|
61
|
-
/**
|
|
62
|
-
* 上传文件至个人资源
|
|
63
|
-
* @param file
|
|
64
|
-
* @returns
|
|
65
|
-
*/
|
|
66
|
-
uploadPersonalResource(files: File[]): Promise<void>;
|
|
67
|
-
addOnlineCourseware({ resourceName, url }: IUploadOnlineCoursewareData): Promise<void>;
|
|
68
|
-
/**
|
|
69
|
-
* 打开课件
|
|
70
|
-
*/
|
|
71
|
-
private _tryOpenCourseware;
|
|
72
|
-
/**
|
|
73
|
-
* 打开课件
|
|
74
|
-
* @param resource
|
|
75
|
-
*/
|
|
76
|
-
openResource(resource: CloudDriveResource): Promise<void>;
|
|
77
|
-
/**
|
|
78
|
-
* 公共资源
|
|
79
|
-
* @returns
|
|
80
|
-
*/
|
|
81
|
-
get publicResources(): Map<string, CloudDriveResource>;
|
|
82
|
-
showUploadModal: boolean;
|
|
83
|
-
showUploadToast: boolean;
|
|
84
|
-
/**
|
|
85
|
-
* 上传状态
|
|
86
|
-
*/
|
|
87
|
-
uploadState: 'uploading' | 'success' | 'error' | 'idle';
|
|
88
|
-
/**
|
|
89
|
-
* 云盘上传modal最小化显示
|
|
90
|
-
*/
|
|
91
|
-
showUploadMinimize: boolean;
|
|
92
|
-
/**
|
|
93
|
-
* 检索公共资源课件字符串
|
|
94
|
-
*/
|
|
95
|
-
searchPublicResourcesKeyword: string;
|
|
96
|
-
/**
|
|
97
|
-
* 检索个人资源课件字符串
|
|
98
|
-
*/
|
|
99
|
-
searchPersonalResourcesKeyword: string;
|
|
100
|
-
/**
|
|
101
|
-
* 个人资源左侧选项框状态
|
|
102
|
-
*/
|
|
103
|
-
personalResourcesCheckSet: Set<string>;
|
|
104
|
-
/**
|
|
105
|
-
* 个人资源页码
|
|
106
|
-
*/
|
|
107
|
-
currentPersonalResPage: number;
|
|
108
|
-
/**
|
|
109
|
-
* 个人资源全选
|
|
110
|
-
*/
|
|
111
|
-
isPersonalResSelectedAll: boolean;
|
|
112
|
-
/**
|
|
113
|
-
* 云盘资源列表
|
|
114
|
-
*/
|
|
115
|
-
get personalResources(): Map<string, CloudDriveResource>;
|
|
116
|
-
/**
|
|
117
|
-
* 云盘资源列表(左侧选择框使用)
|
|
118
|
-
* @returns
|
|
119
|
-
*/
|
|
120
|
-
get personalResourcesList(): {
|
|
121
|
-
resource: CloudDriveResource;
|
|
122
|
-
checked: boolean;
|
|
123
|
-
}[];
|
|
124
|
-
/**
|
|
125
|
-
* 是否有选中资源文件
|
|
126
|
-
* @returns
|
|
127
|
-
*/
|
|
128
|
-
get hasSelectedPersonalRes(): boolean;
|
|
129
|
-
/**
|
|
130
|
-
* 资源上传进度
|
|
131
|
-
* @returns
|
|
132
|
-
*/
|
|
133
|
-
get uploadingProgresses(): UploadItem[];
|
|
134
|
-
/**
|
|
135
|
-
* 勾选资源文件
|
|
136
|
-
* @param resourceUuid
|
|
137
|
-
* @param val
|
|
138
|
-
*/
|
|
139
|
-
setPersonalResourceSelected: (resourceUuid: string, val: boolean) => void;
|
|
140
|
-
/**
|
|
141
|
-
* 资源列表全选
|
|
142
|
-
* @param val
|
|
143
|
-
*/
|
|
144
|
-
setAllPersonalResourceSelected: (val: boolean) => void;
|
|
145
|
-
/**
|
|
146
|
-
* 设置资源列表页码
|
|
147
|
-
* @param num
|
|
148
|
-
*/
|
|
149
|
-
setPersonalResCurrentPage: (num: number) => void;
|
|
150
|
-
/**
|
|
151
|
-
* 设置上传状态
|
|
152
|
-
* @param uploadState
|
|
153
|
-
*/
|
|
154
|
-
setUploadState: (uploadState: 'uploading' | 'success' | 'error') => void;
|
|
155
|
-
setShowUploadModal: (v: boolean) => void;
|
|
156
|
-
setShowUploadToast: (v: boolean) => void;
|
|
157
|
-
/**
|
|
158
|
-
* 设置云盘上传modal最小化
|
|
159
|
-
* @param v
|
|
160
|
-
*/
|
|
161
|
-
setShowUploadMinimize: (v: boolean) => void;
|
|
162
|
-
/**
|
|
163
|
-
* 删除个人资源
|
|
164
|
-
* @returns
|
|
165
|
-
*/
|
|
166
|
-
removePersonalResources: (singleFileUuid?: string | undefined) => Promise<void>;
|
|
167
|
-
/**
|
|
168
|
-
* 设置检索公共资源字符串
|
|
169
|
-
* @param keyword
|
|
170
|
-
*/
|
|
171
|
-
setSearchPublicResourcesKeyword(keyword: string): void;
|
|
172
|
-
/**
|
|
173
|
-
* 设置检索个人资源字符串
|
|
174
|
-
* @param keyword
|
|
175
|
-
*/
|
|
176
|
-
setSearchPersonalResourcesKeyword(keyword: string): void;
|
|
177
|
-
onDestroy(): void;
|
|
178
|
-
}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 云盘资源对象。支持两种类型;
|
|
3
|
-
* - `'dynamic'`: 动态资源
|
|
4
|
-
* - `'static'`: 静态资源
|
|
5
|
-
*/
|
|
6
|
-
import { CloudDriveResource, ConversionOption } from 'agora-edu-core';
|
|
7
|
-
import { CloudDriveResourceConvertProgress } from './type';
|
|
8
|
-
/** @en
|
|
9
|
-
* The cloud drive resource object. Supports two types of resources:
|
|
10
|
-
* - `'dynamic'`: Dynamic resources.
|
|
11
|
-
* - `'static'`: Static resources.
|
|
12
|
-
*/
|
|
13
|
-
export declare class CloudDriveCourseResource extends CloudDriveResource {
|
|
14
|
-
private _taskProgress;
|
|
15
|
-
taskUuid: string;
|
|
16
|
-
conversion: ConversionOption;
|
|
17
|
-
scenes: {
|
|
18
|
-
name?: string;
|
|
19
|
-
previewUrl?: string;
|
|
20
|
-
contentUrl: string;
|
|
21
|
-
height: number;
|
|
22
|
-
width: number;
|
|
23
|
-
}[];
|
|
24
|
-
constructor(data: {
|
|
25
|
-
ext: string;
|
|
26
|
-
resourceName: string;
|
|
27
|
-
resourceUuid: string;
|
|
28
|
-
size: number;
|
|
29
|
-
updateTime: number;
|
|
30
|
-
taskProgress: CloudDriveResourceConvertProgress;
|
|
31
|
-
taskUuid: string;
|
|
32
|
-
conversion: ConversionOption;
|
|
33
|
-
initOpen?: boolean;
|
|
34
|
-
});
|
|
35
|
-
get hasAnimation(): boolean;
|
|
36
|
-
get convertedPercentage(): number;
|
|
37
|
-
get status(): "Waiting" | "Converting" | "Finished" | "Fail";
|
|
38
|
-
get prefix(): string | undefined;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* 多媒体资源文件对象。支持以下类型:
|
|
42
|
-
* - `'video'`: 视频文件
|
|
43
|
-
* - `'audio'`: 音频文件
|
|
44
|
-
*/
|
|
45
|
-
/** @en
|
|
46
|
-
* The multi-media resource object. Supports types of multi-media resources:
|
|
47
|
-
* - `'video'`
|
|
48
|
-
* - `'audio'`
|
|
49
|
-
*/
|
|
50
|
-
export declare class CloudDriveMediaResource extends CloudDriveResource {
|
|
51
|
-
url: string;
|
|
52
|
-
type: 'video' | 'audio';
|
|
53
|
-
constructor(data: {
|
|
54
|
-
ext: string;
|
|
55
|
-
resourceName: string;
|
|
56
|
-
resourceUuid: string;
|
|
57
|
-
size: number;
|
|
58
|
-
updateTime: number;
|
|
59
|
-
url: string;
|
|
60
|
-
type: 'video' | 'audio';
|
|
61
|
-
initOpen?: boolean;
|
|
62
|
-
});
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* 图片资源文件对象
|
|
66
|
-
*/
|
|
67
|
-
/** @en
|
|
68
|
-
* Cloud Drive Image Resource
|
|
69
|
-
*/
|
|
70
|
-
export declare class CloudDriveImageResource extends CloudDriveResource {
|
|
71
|
-
url: string;
|
|
72
|
-
constructor(data: {
|
|
73
|
-
ext: string;
|
|
74
|
-
resourceName: string;
|
|
75
|
-
resourceUuid: string;
|
|
76
|
-
size: number;
|
|
77
|
-
updateTime: number;
|
|
78
|
-
url: string;
|
|
79
|
-
initOpen?: boolean;
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
export declare class CloudDriveH5Resource extends CloudDriveResource {
|
|
83
|
-
url: string;
|
|
84
|
-
type: string;
|
|
85
|
-
constructor(data: {
|
|
86
|
-
ext: string;
|
|
87
|
-
resourceName: string;
|
|
88
|
-
resourceUuid: string;
|
|
89
|
-
size: number;
|
|
90
|
-
updateTime: number;
|
|
91
|
-
url: string;
|
|
92
|
-
type: string;
|
|
93
|
-
initOpen?: boolean;
|
|
94
|
-
});
|
|
95
|
-
}
|
|
96
|
-
export declare class CloudDriveLinkResource extends CloudDriveResource {
|
|
97
|
-
url: string;
|
|
98
|
-
type: string;
|
|
99
|
-
constructor(data: {
|
|
100
|
-
ext: string;
|
|
101
|
-
resourceName: string;
|
|
102
|
-
resourceUuid: string;
|
|
103
|
-
size: number;
|
|
104
|
-
updateTime: number;
|
|
105
|
-
url: string;
|
|
106
|
-
type: string;
|
|
107
|
-
initOpen?: boolean;
|
|
108
|
-
});
|
|
109
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export interface CloudDriveResourceConvertProgress {
|
|
2
|
-
prefix?: string;
|
|
3
|
-
status: 'Waiting' | 'Converting' | 'Finished' | 'Fail';
|
|
4
|
-
totalPageSize: number;
|
|
5
|
-
convertedPageSize: number;
|
|
6
|
-
convertedPercentage: number;
|
|
7
|
-
convertedFileList: {
|
|
8
|
-
name?: string;
|
|
9
|
-
ppt: {
|
|
10
|
-
preview?: string;
|
|
11
|
-
src: string;
|
|
12
|
-
width: number;
|
|
13
|
-
height: number;
|
|
14
|
-
};
|
|
15
|
-
}[];
|
|
16
|
-
currentStep: string;
|
|
17
|
-
previews: Record<number, string>;
|
|
18
|
-
images: Record<number, {
|
|
19
|
-
width: number;
|
|
20
|
-
height: number;
|
|
21
|
-
url: string;
|
|
22
|
-
}>;
|
|
23
|
-
}
|