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
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
/*
|
|
2
|
+
@preserve
|
|
3
|
+
AgoraRTM Web SDK 1.5.1 - commit: v1.5.1-0-g5bbbcd72
|
|
4
|
+
Copyright (C) 2018-2022 Agora Lab.
|
|
5
|
+
This file is licensed under the AGORA, INC. SDK LICENSE AGREEMENT
|
|
6
|
+
A copy of this license may be found at https://www.agora.io/en/sdk-license-agreement/
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/*
|
|
10
|
+
object-assign
|
|
11
|
+
(c) Sindre Sorhus
|
|
12
|
+
@license MIT
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/*!
|
|
16
|
+
Copyright (c) 2018 Jed Watson.
|
|
17
|
+
Licensed under the MIT License (MIT), see
|
|
18
|
+
http://jedwatson.github.io/classnames
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
/*!
|
|
22
|
+
Copyright (c) 2017 Jed Watson.
|
|
23
|
+
Licensed under the MIT License (MIT), see
|
|
24
|
+
http://jedwatson.github.io/classnames
|
|
25
|
+
*/
|
|
26
|
+
|
|
27
|
+
/*!
|
|
28
|
+
* The buffer module from node.js, for the browser.
|
|
29
|
+
*
|
|
30
|
+
* @author Feross Aboukhadijeh <https://feross.org>
|
|
31
|
+
* @license MIT
|
|
32
|
+
*/
|
|
33
|
+
|
|
34
|
+
/*!
|
|
35
|
+
* UAParser.js v0.7.23
|
|
36
|
+
* Lightweight JavaScript-based User-Agent string parser
|
|
37
|
+
* https://github.com/faisalman/ua-parser-js
|
|
38
|
+
*
|
|
39
|
+
* Copyright © 2012-2019 Faisal Salman <f@faisalman.com>
|
|
40
|
+
* Licensed under MIT License
|
|
41
|
+
*/
|
|
42
|
+
|
|
43
|
+
/*!
|
|
44
|
+
* clipboard.js v2.0.11
|
|
45
|
+
* https://clipboardjs.com/
|
|
46
|
+
*
|
|
47
|
+
* Licensed MIT © Zeno Rocha
|
|
48
|
+
*/
|
|
49
|
+
|
|
50
|
+
/*! *****************************************************************************
|
|
51
|
+
Copyright (c) Microsoft Corporation.
|
|
52
|
+
|
|
53
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
54
|
+
purpose with or without fee is hereby granted.
|
|
55
|
+
|
|
56
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
57
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
58
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
59
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
60
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
61
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
62
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
63
|
+
***************************************************************************** */
|
|
64
|
+
|
|
65
|
+
/*! *****************************************************************************
|
|
66
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
67
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
68
|
+
this file except in compliance with the License. You may obtain a copy of the
|
|
69
|
+
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
70
|
+
|
|
71
|
+
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
72
|
+
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
73
|
+
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
74
|
+
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
75
|
+
|
|
76
|
+
See the Apache Version 2.0 License for specific language governing permissions
|
|
77
|
+
and limitations under the License.
|
|
78
|
+
***************************************************************************** */
|
|
79
|
+
|
|
80
|
+
/*! formdata-polyfill. MIT License. Jimmy W?rting <https://jimmy.warting.se/opensource> */
|
|
81
|
+
|
|
82
|
+
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
83
|
+
|
|
84
|
+
/*! matchMedia() polyfill - Test a CSS media type/query in JS. Authors & copyright (c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas, David Knight. MIT license */
|
|
85
|
+
|
|
86
|
+
/*! matchMedia() polyfill addListener/removeListener extension. Author & copyright (c) 2012: Scott Jehl. MIT license */
|
|
87
|
+
|
|
88
|
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
89
|
+
|
|
90
|
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* @license
|
|
94
|
+
* Lodash <https://lodash.com/>
|
|
95
|
+
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
96
|
+
* Released under MIT license <https://lodash.com/license>
|
|
97
|
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
98
|
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
99
|
+
*/
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* @license React
|
|
103
|
+
* react-is.production.min.js
|
|
104
|
+
*
|
|
105
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
106
|
+
*
|
|
107
|
+
* This source code is licensed under the MIT license found in the
|
|
108
|
+
* LICENSE file in the root directory of this source tree.
|
|
109
|
+
*/
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* [js-md5]{@link https://github.com/emn178/js-md5}
|
|
113
|
+
*
|
|
114
|
+
* @namespace md5
|
|
115
|
+
* @version 0.7.3
|
|
116
|
+
* @author Chen, Yi-Cyuan [emn178@gmail.com]
|
|
117
|
+
* @copyright Chen, Yi-Cyuan 2014-2017
|
|
118
|
+
* @license MIT
|
|
119
|
+
*/
|
|
120
|
+
|
|
121
|
+
/** @license React v0.20.2
|
|
122
|
+
* scheduler.production.min.js
|
|
123
|
+
*
|
|
124
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
125
|
+
*
|
|
126
|
+
* This source code is licensed under the MIT license found in the
|
|
127
|
+
* LICENSE file in the root directory of this source tree.
|
|
128
|
+
*/
|
|
129
|
+
|
|
130
|
+
/** @license React v16.13.1
|
|
131
|
+
* react-is.production.min.js
|
|
132
|
+
*
|
|
133
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
134
|
+
*
|
|
135
|
+
* This source code is licensed under the MIT license found in the
|
|
136
|
+
* LICENSE file in the root directory of this source tree.
|
|
137
|
+
*/
|
|
138
|
+
|
|
139
|
+
/** @license React v17.0.0
|
|
140
|
+
* react-dom.production.min.js
|
|
141
|
+
*
|
|
142
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
143
|
+
*
|
|
144
|
+
* This source code is licensed under the MIT license found in the
|
|
145
|
+
* LICENSE file in the root directory of this source tree.
|
|
146
|
+
*/
|
|
147
|
+
|
|
148
|
+
/** @license React v17.0.0
|
|
149
|
+
* react-jsx-runtime.production.min.js
|
|
150
|
+
*
|
|
151
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
152
|
+
*
|
|
153
|
+
* This source code is licensed under the MIT license found in the
|
|
154
|
+
* LICENSE file in the root directory of this source tree.
|
|
155
|
+
*/
|
|
156
|
+
|
|
157
|
+
/** @license React v17.0.0
|
|
158
|
+
* react.production.min.js
|
|
159
|
+
*
|
|
160
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
161
|
+
*
|
|
162
|
+
* This source code is licensed under the MIT license found in the
|
|
163
|
+
* LICENSE file in the root directory of this source tree.
|
|
164
|
+
*/
|
package/package.json
CHANGED
package/lib/infra/api/index.d.ts
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { CloudDriveResource, EduRoomTypeEnum } from 'agora-edu-core';
|
|
2
|
-
import './polyfills';
|
|
3
|
-
import { BoardWindowAnimationOptions, ConfigParams, LaunchOption, LaunchWindowOption, RecordingHandlers } from './type';
|
|
4
|
-
import { FcrMultiThemeMode, FcrTheme, FcrUIConfig, AgoraWidgetBase } from 'agora-common-libs';
|
|
5
|
-
export * from './type';
|
|
6
|
-
export { applyTheme, loadGeneratedFiles, themes } from '../utils/config-loader';
|
|
7
|
-
export declare class AgoraEduSDK {
|
|
8
|
-
private static _config;
|
|
9
|
-
private static _widgets;
|
|
10
|
-
private static _coursewareList;
|
|
11
|
-
private static _boardWindowAnimationOptions;
|
|
12
|
-
private static _language;
|
|
13
|
-
private static _appId;
|
|
14
|
-
private static _uiMode;
|
|
15
|
-
private static _uiConfig;
|
|
16
|
-
private static _theme;
|
|
17
|
-
private static _shareUrl;
|
|
18
|
-
private static _recordingHandlers?;
|
|
19
|
-
private static _region;
|
|
20
|
-
private static _virtualBackgroundImages;
|
|
21
|
-
private static _virtualBackgroundVideos;
|
|
22
|
-
private static _convertRegion;
|
|
23
|
-
private static _convertMediaOptions;
|
|
24
|
-
static setParameters(params: string): void;
|
|
25
|
-
static setRecordingHandlers(handlers: RecordingHandlers): void;
|
|
26
|
-
static get recordingHandlers(): RecordingHandlers | undefined;
|
|
27
|
-
static getLoadedScenes(): {
|
|
28
|
-
name: string;
|
|
29
|
-
roomType: EduRoomTypeEnum;
|
|
30
|
-
}[];
|
|
31
|
-
static config(config: ConfigParams): void;
|
|
32
|
-
static get widgets(): Record<string, typeof AgoraWidgetBase>;
|
|
33
|
-
static get courseWareList(): CloudDriveResource[];
|
|
34
|
-
static get boardWindowAnimationOptions(): BoardWindowAnimationOptions;
|
|
35
|
-
static get language(): string;
|
|
36
|
-
static get uiConfig(): FcrUIConfig;
|
|
37
|
-
static get theme(): FcrTheme;
|
|
38
|
-
static get uiMode(): FcrMultiThemeMode;
|
|
39
|
-
static get shareUrl(): string;
|
|
40
|
-
static get virtualBackgroundImages(): string[];
|
|
41
|
-
static get virtualBackgroundVideos(): string[];
|
|
42
|
-
private static _validateOptions;
|
|
43
|
-
static launch(dom: HTMLElement, option: LaunchOption): () => void;
|
|
44
|
-
/**
|
|
45
|
-
* 运行窗口UI
|
|
46
|
-
* @param dom
|
|
47
|
-
* @param option
|
|
48
|
-
* @returns
|
|
49
|
-
*/
|
|
50
|
-
static launchWindow(dom: HTMLElement, option: LaunchWindowOption): () => void;
|
|
51
|
-
private static _selectUITheme;
|
|
52
|
-
static setRecordReady(): void;
|
|
53
|
-
}
|
package/lib/infra/api/lock.d.ts
DELETED
|
File without changes
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { IVirtualBackgroundProcessor } from 'agora-extension-virtual-background';
|
|
2
|
-
import { IBeautyProcessor } from 'agora-extension-beauty-effect';
|
|
3
|
-
import { IAIDenoiserProcessor } from 'agora-extension-ai-denoiser';
|
|
4
|
-
import { ProcessorInitializer } from '../type';
|
|
5
|
-
import { IBaseProcessor, IExtension } from 'agora-rte-extension';
|
|
6
|
-
export declare const builtInExtensions: {
|
|
7
|
-
virtualBackgroundExtension: string;
|
|
8
|
-
beautyEffectExtension: string;
|
|
9
|
-
aiDenoiserExtension: string;
|
|
10
|
-
};
|
|
11
|
-
export declare const setAssetsBaseUrl: (baseUrl: string) => void;
|
|
12
|
-
export declare const initializeBuiltInExtensions: () => {
|
|
13
|
-
virtualBackgroundExtension: {
|
|
14
|
-
name: string;
|
|
15
|
-
instance: IExtension<IBaseProcessor>;
|
|
16
|
-
createProcessor: () => Promise<IVirtualBackgroundProcessor>;
|
|
17
|
-
};
|
|
18
|
-
beautyEffectExtension: {
|
|
19
|
-
name: string;
|
|
20
|
-
instance: IExtension<IBaseProcessor>;
|
|
21
|
-
createProcessor: () => Promise<IBeautyProcessor>;
|
|
22
|
-
};
|
|
23
|
-
aiDenoiserExtension: {
|
|
24
|
-
name: string;
|
|
25
|
-
instance: IExtension<IBaseProcessor>;
|
|
26
|
-
createProcessor: () => Promise<IAIDenoiserProcessor>;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
export declare const getProcessorInitializer: <T extends IBaseProcessor>(name: string) => ProcessorInitializer<T>;
|
package/lib/infra/api/type.d.ts
DELETED
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import { AgoraEduClassroomEvent, ConversionOption, EduRoleTypeEnum, EduRoomTypeEnum, EduRtcConfig, Platform, AgoraCloudProxyType } from 'agora-edu-core';
|
|
2
|
-
import { AGMediaOptions, AgoraLatencyLevel, AGVideoEncoderConfiguration } from 'agora-rte-sdk';
|
|
3
|
-
import { IBaseProcessor, IExtension } from 'agora-rte-extension';
|
|
4
|
-
import { CloudDriveResourceConvertProgress } from '../stores/common/cloud-drive/type';
|
|
5
|
-
import { FcrMultiThemeMode, AgoraWidgetBase } from 'agora-common-libs';
|
|
6
|
-
export declare type AgoraRegion = Uppercase<AgoraRegionString>;
|
|
7
|
-
export declare const regionMap: {
|
|
8
|
-
readonly AP: "sg";
|
|
9
|
-
readonly CN: "cn-hz";
|
|
10
|
-
readonly EU: "gb-lon";
|
|
11
|
-
readonly NA: "us-sv";
|
|
12
|
-
};
|
|
13
|
-
export declare type AgoraRegionString = 'cn' | 'ap' | 'na' | 'eu';
|
|
14
|
-
export declare type ListenerCallback = (evt: AgoraEduClassroomEvent, ...args: unknown[]) => void;
|
|
15
|
-
export declare enum WindowID {
|
|
16
|
-
Main = "main",
|
|
17
|
-
VideoGallery = "video-gallery"
|
|
18
|
-
}
|
|
19
|
-
export declare type LanguageEnum = 'en' | 'zh';
|
|
20
|
-
export declare type TranslateEnum = '' | 'auto' | 'zh-CHS' | 'en' | 'ja' | 'ko' | 'fr' | 'es' | 'pt' | 'it' | 'ru' | 'vi' | 'de' | 'ar';
|
|
21
|
-
export declare type ConfigParams = {
|
|
22
|
-
appId: string;
|
|
23
|
-
region?: string;
|
|
24
|
-
};
|
|
25
|
-
export declare type LaunchMediaOptions = AGMediaOptions & {
|
|
26
|
-
lowStreamCameraEncoderConfiguration?: AGVideoEncoderConfiguration;
|
|
27
|
-
};
|
|
28
|
-
export declare type ConvertMediaOptionsConfig = EduRtcConfig & {
|
|
29
|
-
defaultLowStreamCameraEncoderConfigurations?: AGVideoEncoderConfiguration;
|
|
30
|
-
};
|
|
31
|
-
export declare type RecordingHandlers = {
|
|
32
|
-
start: (args?: unknown) => Promise<boolean | void> | boolean | void;
|
|
33
|
-
stop: (args?: unknown) => Promise<boolean | void> | boolean | void;
|
|
34
|
-
isRecording?: () => Promise<boolean> | boolean;
|
|
35
|
-
};
|
|
36
|
-
/**
|
|
37
|
-
* LaunchOption 接口
|
|
38
|
-
*/
|
|
39
|
-
export declare type LaunchOption = {
|
|
40
|
-
userUuid: string;
|
|
41
|
-
userName: string;
|
|
42
|
-
roomUuid: string;
|
|
43
|
-
roleType: EduRoleTypeEnum;
|
|
44
|
-
roomType: EduRoomTypeEnum;
|
|
45
|
-
roomName: string;
|
|
46
|
-
listener: ListenerCallback;
|
|
47
|
-
pretest: boolean;
|
|
48
|
-
rtmToken: string;
|
|
49
|
-
language: LanguageEnum;
|
|
50
|
-
startTime?: number;
|
|
51
|
-
duration: number;
|
|
52
|
-
courseWareList: CourseWareList;
|
|
53
|
-
recordUrl?: string;
|
|
54
|
-
widgets?: {
|
|
55
|
-
[key: string]: typeof AgoraWidgetBase;
|
|
56
|
-
};
|
|
57
|
-
userFlexProperties?: {
|
|
58
|
-
[key: string]: unknown;
|
|
59
|
-
};
|
|
60
|
-
mediaOptions?: LaunchMediaOptions;
|
|
61
|
-
latencyLevel?: AgoraLatencyLevel;
|
|
62
|
-
platform?: Platform;
|
|
63
|
-
recordOptions?: BoardWindowAnimationOptions;
|
|
64
|
-
recordRetryTimeout?: number;
|
|
65
|
-
uiMode?: FcrMultiThemeMode;
|
|
66
|
-
shareUrl?: string;
|
|
67
|
-
virtualBackgroundImages?: string[];
|
|
68
|
-
virtualBackgroundVideos?: string[];
|
|
69
|
-
webrtcExtensionBaseUrl?: string;
|
|
70
|
-
rtcCloudProxyType?: AgoraCloudProxyType;
|
|
71
|
-
rtmCloudProxyEnabled?: boolean;
|
|
72
|
-
};
|
|
73
|
-
/**
|
|
74
|
-
* 运行窗口选项
|
|
75
|
-
*/
|
|
76
|
-
export declare type LaunchWindowOption = {
|
|
77
|
-
windowID: WindowID;
|
|
78
|
-
language: LanguageEnum;
|
|
79
|
-
args: any;
|
|
80
|
-
roomType: EduRoomTypeEnum;
|
|
81
|
-
uiMode: FcrMultiThemeMode;
|
|
82
|
-
};
|
|
83
|
-
export declare type CourseWareItem = {
|
|
84
|
-
resourceName: string;
|
|
85
|
-
resourceUuid: string;
|
|
86
|
-
ext: string;
|
|
87
|
-
url?: string;
|
|
88
|
-
size: number;
|
|
89
|
-
updateTime: number;
|
|
90
|
-
taskUuid?: string;
|
|
91
|
-
taskProgress?: CloudDriveResourceConvertProgress;
|
|
92
|
-
conversion?: ConversionOption;
|
|
93
|
-
initOpen?: boolean;
|
|
94
|
-
};
|
|
95
|
-
export declare type CourseWareList = CourseWareItem[];
|
|
96
|
-
export declare type BoardWindowAnimationOptions = {
|
|
97
|
-
minFPS?: number;
|
|
98
|
-
maxFPS?: number;
|
|
99
|
-
resolution?: number;
|
|
100
|
-
autoResolution?: boolean;
|
|
101
|
-
autoFPS?: boolean;
|
|
102
|
-
maxResolutionLevel?: number;
|
|
103
|
-
forceCanvas?: boolean;
|
|
104
|
-
};
|
|
105
|
-
export declare type ExtensionInitializer = {
|
|
106
|
-
createInstance: () => IExtension<IBaseProcessor>;
|
|
107
|
-
createProcessor: (extension: IExtension<IBaseProcessor>) => Promise<IBaseProcessor>;
|
|
108
|
-
};
|
|
109
|
-
export declare type ProcessorInitializer<T extends IBaseProcessor> = {
|
|
110
|
-
name: string;
|
|
111
|
-
createProcessor: () => Promise<T>;
|
|
112
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 教学区组件层级规则控制
|
|
3
|
-
* -------- 顶层 ---------
|
|
4
|
-
* 教师工具
|
|
5
|
-
* 视频容器(摄像头/屏幕共享)
|
|
6
|
-
* 在线课件(webview/youtube)
|
|
7
|
-
* 白板
|
|
8
|
-
* -------- 底层 ---------
|
|
9
|
-
*/
|
|
10
|
-
export declare enum ComponentLevelRules {
|
|
11
|
-
WhiteBoard = 0,
|
|
12
|
-
ScreenShare = 1,
|
|
13
|
-
OnlineCourseware = 2,
|
|
14
|
-
StreamWindow = 3,
|
|
15
|
-
TeachTools = 4
|
|
16
|
-
}
|
|
17
|
-
export declare enum ComponentLevelRulesMobile {
|
|
18
|
-
Level1 = 1,
|
|
19
|
-
Level2 = 10,
|
|
20
|
-
Level3 = 20,
|
|
21
|
-
Level4 = 2000
|
|
22
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import './index.css';
|
|
3
|
-
import { CloudDriverContainerProps } from '.';
|
|
4
|
-
export declare enum ActiveKeyEnum {
|
|
5
|
-
public = "1",
|
|
6
|
-
person = "2",
|
|
7
|
-
download = "3"
|
|
8
|
-
}
|
|
9
|
-
export declare type CloudDriverProps = {
|
|
10
|
-
activeKey: ActiveKeyEnum;
|
|
11
|
-
handleChange: (key: string) => void;
|
|
12
|
-
} & CloudDriverContainerProps;
|
|
13
|
-
export declare const CloudDriver: ({ onClose, activeKey, handleChange }: CloudDriverProps) => JSX.Element;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare type CloudToolbarProps = {
|
|
3
|
-
/**
|
|
4
|
-
* 文件数量
|
|
5
|
-
*/
|
|
6
|
-
fileCounts: number;
|
|
7
|
-
/**
|
|
8
|
-
* 搜索关键字
|
|
9
|
-
*/
|
|
10
|
-
keyword: string;
|
|
11
|
-
/**
|
|
12
|
-
* 关键字搜索变化
|
|
13
|
-
*/
|
|
14
|
-
onKeywordChange: (evt: any) => void;
|
|
15
|
-
showRefresh?: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* 刷新方法
|
|
18
|
-
*/
|
|
19
|
-
onRefresh?: () => void;
|
|
20
|
-
};
|
|
21
|
-
export default function CloudToolbar({ fileCounts, keyword, onKeywordChange, showRefresh, onRefresh, }: CloudToolbarProps): JSX.Element;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React, { FC } from 'react';
|
|
2
|
-
declare type ConfirmDialogProps = {
|
|
3
|
-
children: React.ReactNode;
|
|
4
|
-
onOk: () => void | Promise<void>;
|
|
5
|
-
onCancel: () => void | Promise<void>;
|
|
6
|
-
onOkText?: string;
|
|
7
|
-
onCancelText?: string;
|
|
8
|
-
};
|
|
9
|
-
export declare const ConfirmDialog: FC<ConfirmDialogProps>;
|
|
10
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React, { FC } from 'react';
|
|
2
|
-
declare type ConfirmPanelProps = {
|
|
3
|
-
title: string;
|
|
4
|
-
onOk: () => void | Promise<void>;
|
|
5
|
-
onCancel: () => void | Promise<void>;
|
|
6
|
-
panelId?: string;
|
|
7
|
-
children?: React.ReactNode;
|
|
8
|
-
};
|
|
9
|
-
export declare const ConfirmPanel: FC<ConfirmPanelProps>;
|
|
10
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { TreeModel } from '@classroom/ui-kit';
|
|
3
|
-
declare type GroupPanelProps = {
|
|
4
|
-
groups: {
|
|
5
|
-
text: string;
|
|
6
|
-
id: string;
|
|
7
|
-
}[];
|
|
8
|
-
panelId?: string;
|
|
9
|
-
onOpen?: () => void;
|
|
10
|
-
onClose?: (users: string[]) => void;
|
|
11
|
-
onChange?: (users: string[]) => void;
|
|
12
|
-
canExpand?: boolean;
|
|
13
|
-
onNodeClick?: (node: TreeModel, level: number) => void;
|
|
14
|
-
children?: React.ReactNode;
|
|
15
|
-
};
|
|
16
|
-
export declare const GroupPanel: FC<GroupPanelProps>;
|
|
17
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
export declare const PanelStateContext: import("react").Context<{
|
|
3
|
-
visiblePanelId: number | string;
|
|
4
|
-
onTrigger: (panelId: number | string) => void;
|
|
5
|
-
getNextPanelId: () => number | string;
|
|
6
|
-
closeAll: () => void;
|
|
7
|
-
}>;
|
|
8
|
-
export declare const usePanelState: () => {
|
|
9
|
-
visiblePanelId: string | number;
|
|
10
|
-
onTrigger: (panelId: number | string) => void;
|
|
11
|
-
getNextPanelId: () => number;
|
|
12
|
-
closeAll: () => void;
|
|
13
|
-
};
|
|
14
|
-
declare type PanelProps = {
|
|
15
|
-
trigger: React.ReactElement;
|
|
16
|
-
className?: string;
|
|
17
|
-
onOpen?: () => void;
|
|
18
|
-
onClose?: () => void;
|
|
19
|
-
panelId?: string;
|
|
20
|
-
children?: React.ReactNode;
|
|
21
|
-
};
|
|
22
|
-
export declare const Panel: FC<PanelProps>;
|
|
23
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React, { FC } from 'react';
|
|
2
|
-
declare type UserPanelProps = {
|
|
3
|
-
groupUuid?: string;
|
|
4
|
-
users: {
|
|
5
|
-
userUuid: string;
|
|
6
|
-
userName: string;
|
|
7
|
-
groupUuid: string | undefined;
|
|
8
|
-
}[];
|
|
9
|
-
limitCount: number;
|
|
10
|
-
onOpen?: () => void;
|
|
11
|
-
onClose?: (users: string[]) => void;
|
|
12
|
-
onChange?: (users: string[]) => void;
|
|
13
|
-
onError?: (message: string) => void;
|
|
14
|
-
panelId?: string;
|
|
15
|
-
children?: React.ReactNode;
|
|
16
|
-
};
|
|
17
|
-
export declare const UserPanel: FC<UserPanelProps>;
|
|
18
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ConfirmDialogAction } from '@classroom/infra/stores/common/type';
|
|
3
|
-
import { BaseDialogProps } from '.';
|
|
4
|
-
export declare const Confirm: React.FC<BaseDialogProps & {
|
|
5
|
-
title: string;
|
|
6
|
-
content: string;
|
|
7
|
-
opts?: {
|
|
8
|
-
actions?: ConfirmDialogAction[];
|
|
9
|
-
btnText?: Record<ConfirmDialogAction, string>;
|
|
10
|
-
onOk?: () => void;
|
|
11
|
-
onCancel?: () => void;
|
|
12
|
-
};
|
|
13
|
-
}>;
|