educast-classroom-sdk 2.4.1 → 2.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/infra/api/index.d.ts +53 -0
- package/lib/infra/api/lock.d.ts +8 -0
- package/lib/infra/api/polyfills.d.ts +0 -0
- package/lib/infra/api/providers.d.ts +7 -0
- package/lib/infra/api/rtc-extensions/index.d.ts +29 -0
- package/lib/infra/api/type.d.ts +112 -0
- package/lib/infra/capabilities/config.d.ts +22 -0
- package/lib/infra/capabilities/containers/action-sheet-mobile/hands-up.mobile.d.ts +3 -0
- package/lib/infra/capabilities/containers/action-sheet-mobile/mic.d.ts +5 -0
- package/lib/infra/capabilities/containers/action-sheet-mobile/share.mobile.d.ts +3 -0
- package/lib/infra/capabilities/containers/aside/index.d.ts +3 -0
- package/lib/infra/capabilities/containers/award/index.d.ts +3 -0
- package/lib/infra/capabilities/containers/camera-preview/index.d.ts +3 -0
- package/lib/infra/capabilities/containers/cloud-driver/cloud-driver.d.ts +13 -0
- package/lib/infra/capabilities/containers/cloud-driver/cloud-help.d.ts +2 -0
- package/lib/infra/capabilities/containers/cloud-driver/cloud-minimize.d.ts +3 -0
- package/lib/infra/capabilities/containers/cloud-driver/cloud-more-menu.d.ts +6 -0
- package/lib/infra/capabilities/containers/cloud-driver/cloud-toolbar.d.ts +21 -0
- package/lib/infra/capabilities/containers/cloud-driver/index.d.ts +6 -0
- package/lib/infra/capabilities/containers/cloud-driver/person-resource.d.ts +6 -0
- package/lib/infra/capabilities/containers/cloud-driver/public-resource.d.ts +2 -0
- package/lib/infra/capabilities/containers/device-setting/index.d.ts +5 -0
- package/lib/infra/capabilities/containers/dialog/breakout-room/confirm-dialog.d.ts +10 -0
- package/lib/infra/capabilities/containers/dialog/breakout-room/confirm-panel.d.ts +10 -0
- package/lib/infra/capabilities/containers/dialog/breakout-room/fragments/group-select.d.ts +7 -0
- package/lib/infra/capabilities/containers/dialog/breakout-room/fragments/start.d.ts +10 -0
- package/lib/infra/capabilities/containers/dialog/breakout-room/group.d.ts +17 -0
- package/lib/infra/capabilities/containers/dialog/breakout-room/index.d.ts +5 -0
- package/lib/infra/capabilities/containers/dialog/breakout-room/panel.d.ts +23 -0
- package/lib/infra/capabilities/containers/dialog/breakout-room/user.d.ts +18 -0
- package/lib/infra/capabilities/containers/dialog/confirm.d.ts +13 -0
- package/lib/infra/capabilities/containers/dialog/error-generic.d.ts +9 -0
- package/lib/infra/capabilities/containers/dialog/guide/index.d.ts +5 -0
- package/lib/infra/capabilities/containers/dialog/index.d.ts +5 -0
- package/lib/infra/capabilities/containers/dialog/kick-out.d.ts +5 -0
- package/lib/infra/capabilities/containers/dialog/quit.d.ts +6 -0
- package/lib/infra/capabilities/containers/dialog/remote-control-confirm/index.d.ts +7 -0
- package/lib/infra/capabilities/containers/dialog/screen-picker/index.d.ts +30 -0
- package/lib/infra/capabilities/containers/dialog/screen-share/index.d.ts +8 -0
- package/lib/infra/capabilities/containers/dialog/video-gallery/hooks.d.ts +33 -0
- package/lib/infra/capabilities/containers/dialog/video-gallery/index.d.ts +22 -0
- package/lib/infra/capabilities/containers/dialog/video-gallery/pager.d.ts +9 -0
- package/lib/infra/capabilities/containers/dialog/video-gallery/setting.d.ts +11 -0
- package/lib/infra/capabilities/containers/fragments/video-gallery/context.d.ts +5 -0
- package/lib/infra/capabilities/containers/fragments/video-gallery/hooks.d.ts +35 -0
- package/lib/infra/capabilities/containers/fragments/video-gallery/index.d.ts +4 -0
- package/lib/infra/capabilities/containers/fragments/video-gallery/renderer.d.ts +22 -0
- package/lib/infra/capabilities/containers/hand-up/index.d.ts +5 -0
- package/lib/infra/capabilities/containers/hand-up/invite-confirm.d.ts +13 -0
- package/lib/infra/capabilities/containers/hand-up/invite-container.d.ts +7 -0
- package/lib/infra/capabilities/containers/hand-up/invite-table.d.ts +7 -0
- package/lib/infra/capabilities/containers/hand-up/manager.d.ts +12 -0
- package/lib/infra/capabilities/containers/hand-up/sender.d.ts +34 -0
- package/lib/infra/capabilities/containers/hand-up/types.d.ts +14 -0
- package/lib/infra/capabilities/containers/loading/index.d.ts +3 -0
- package/lib/infra/capabilities/containers/nav/index.d.ts +7 -0
- package/lib/infra/capabilities/containers/pczbj-bottom-controls/index.d.ts +3 -0
- package/lib/infra/capabilities/containers/pczbj-middle/index.d.ts +3 -0
- package/lib/infra/capabilities/containers/pczbj-right-panel/index.d.ts +3 -0
- package/lib/infra/capabilities/containers/pretest/form-field/index.d.ts +23 -0
- package/lib/infra/capabilities/containers/pretest/form-field/select.d.ts +5 -0
- package/lib/infra/capabilities/containers/pretest/index.d.ts +11 -0
- package/lib/infra/capabilities/containers/pretest/pretest-audio.d.ts +2 -0
- package/lib/infra/capabilities/containers/pretest/pretest-footer.d.ts +5 -0
- package/lib/infra/capabilities/containers/pretest/pretest-stage.d.ts +2 -0
- package/lib/infra/capabilities/containers/pretest/pretest-video.d.ts +5 -0
- package/lib/infra/capabilities/containers/pretest/volume.d.ts +8 -0
- package/lib/infra/capabilities/containers/root-box/fixed-aspect-ratio.d.ts +24 -0
- package/lib/infra/capabilities/containers/root-box/hooks.d.ts +4 -0
- package/lib/infra/capabilities/containers/root-box/index.d.ts +1 -0
- package/lib/infra/capabilities/containers/roster/button.d.ts +3 -0
- package/lib/infra/capabilities/containers/roster/index.d.ts +2 -0
- package/lib/infra/capabilities/containers/roster/lecture-user-list.d.ts +5 -0
- package/lib/infra/capabilities/containers/roster/user-list.d.ts +5 -0
- package/lib/infra/capabilities/containers/scene-switch/index.d.ts +7 -0
- package/lib/infra/capabilities/containers/scenes-controller/index.d.ts +3 -0
- package/lib/infra/capabilities/containers/screen-share/index.d.ts +12 -0
- package/lib/infra/capabilities/containers/screen-share/index.mobile.d.ts +3 -0
- package/lib/infra/capabilities/containers/stream/cdn-player.d.ts +24 -0
- package/lib/infra/capabilities/containers/stream/draggable-stream.d.ts +10 -0
- package/lib/infra/capabilities/containers/stream/index.d.ts +42 -0
- package/lib/infra/capabilities/containers/stream/index.mobile.d.ts +24 -0
- package/lib/infra/capabilities/containers/stream/room-1v1-player.d.ts +4 -0
- package/lib/infra/capabilities/containers/stream/room-big-class-player.mobile.d.ts +12 -0
- package/lib/infra/capabilities/containers/stream/room-big-player.d.ts +3 -0
- package/lib/infra/capabilities/containers/stream/room-mid-player.d.ts +4 -0
- package/lib/infra/capabilities/containers/stream/stream-tool.d.ts +13 -0
- package/lib/infra/capabilities/containers/stream/track-player.d.ts +21 -0
- package/lib/infra/capabilities/containers/stream/video-live-player.d.ts +16 -0
- package/lib/infra/capabilities/containers/stream-window/index.d.ts +9 -0
- package/lib/infra/capabilities/containers/toast/index.d.ts +3 -0
- package/lib/infra/capabilities/containers/toast/index.mobile.d.ts +3 -0
- package/lib/infra/capabilities/containers/toolbar/board-cleaners/index.d.ts +2 -0
- package/lib/infra/capabilities/containers/toolbar/index.d.ts +6 -0
- package/lib/infra/capabilities/containers/toolbar/pens/index.d.ts +5 -0
- package/lib/infra/capabilities/containers/toolbar/slice/index.d.ts +2 -0
- package/lib/infra/capabilities/containers/toolbar/tool-cabinet/index.d.ts +2 -0
- package/lib/infra/capabilities/containers/widget/index.d.ts +7 -0
- package/lib/infra/capabilities/containers/widget/index.mobile.d.ts +6 -0
- package/lib/infra/capabilities/containers/widget/slots.d.ts +8 -0
- package/lib/infra/capabilities/containers/widget/track.d.ts +22 -0
- package/lib/infra/capabilities/scenarios/1v1/index.d.ts +2 -0
- package/lib/infra/capabilities/scenarios/big-class/index.d.ts +2 -0
- package/lib/infra/capabilities/scenarios/big-class-mobile/index.mobile.d.ts +12 -0
- package/lib/infra/capabilities/scenarios/big-class-mobile/zbj-layout.d.ts +3 -0
- package/lib/infra/capabilities/scenarios/index.d.ts +10 -0
- package/lib/infra/capabilities/scenarios/mid-class/index.d.ts +2 -0
- package/lib/infra/capabilities/scenarios/room/index.d.ts +6 -0
- package/lib/infra/configs/base-theme.d.ts +391 -0
- package/lib/infra/configs/base-ui.d.ts +14 -0
- package/lib/infra/contexts/index.d.ts +15 -0
- package/lib/infra/contexts/ui-store-factory.d.ts +6 -0
- package/lib/infra/hooks/cabinet.d.ts +4 -0
- package/lib/infra/hooks/index.d.ts +6 -0
- package/lib/infra/hooks/ui-store.d.ts +10 -0
- package/lib/infra/hooks/utilites.d.ts +3 -0
- package/lib/infra/protocol/board.d.ts +70 -0
- package/lib/infra/protocol/events.d.ts +67 -0
- package/lib/infra/protocol/index.d.ts +24 -0
- package/lib/infra/protocol/type.d.ts +70 -0
- package/lib/infra/stores/common/base.d.ts +46 -0
- package/lib/infra/stores/common/board/index.d.ts +41 -0
- package/lib/infra/stores/common/cloud-drive/helper.d.ts +14 -0
- package/lib/infra/stores/common/cloud-drive/index.d.ts +178 -0
- package/lib/infra/stores/common/cloud-drive/struct.d.ts +109 -0
- package/lib/infra/stores/common/cloud-drive/type.d.ts +23 -0
- package/lib/infra/stores/common/device-setting/index.d.ts +68 -0
- package/lib/infra/stores/common/getters.d.ts +61 -0
- package/lib/infra/stores/common/group/index.d.ts +139 -0
- package/lib/infra/stores/common/hand-up/index.d.ts +127 -0
- package/lib/infra/stores/common/hand-up/type.d.ts +18 -0
- package/lib/infra/stores/common/index.d.ts +78 -0
- package/lib/infra/stores/common/layout/helper.d.ts +4 -0
- package/lib/infra/stores/common/layout/index.d.ts +24 -0
- package/lib/infra/stores/common/nav/index.d.ts +192 -0
- package/lib/infra/stores/common/notification/index.d.ts +55 -0
- package/lib/infra/stores/common/pretest/helper.d.ts +1 -0
- package/lib/infra/stores/common/pretest/index.d.ts +299 -0
- package/lib/infra/stores/common/pretest/type.d.ts +8 -0
- package/lib/infra/stores/common/roster/index.d.ts +163 -0
- package/lib/infra/stores/common/roster/type.d.ts +55 -0
- package/lib/infra/stores/common/share/index.d.ts +151 -0
- package/lib/infra/stores/common/stream/index.d.ts +257 -0
- package/lib/infra/stores/common/stream/state-keeper.d.ts +18 -0
- package/lib/infra/stores/common/stream/struct.d.ts +63 -0
- package/lib/infra/stores/common/stream/tool.d.ts +32 -0
- package/lib/infra/stores/common/stream-window/helper.d.ts +101 -0
- package/lib/infra/stores/common/stream-window/index.d.ts +223 -0
- package/lib/infra/stores/common/stream-window/struct.d.ts +95 -0
- package/lib/infra/stores/common/stream-window/type.d.ts +32 -0
- package/lib/infra/stores/common/subscription/abstract.d.ts +43 -0
- package/lib/infra/stores/common/subscription/index.d.ts +14 -0
- package/lib/infra/stores/common/subscription/main-room.d.ts +14 -0
- package/lib/infra/stores/common/subscription/type.d.ts +10 -0
- package/lib/infra/stores/common/toolbar/index.d.ts +145 -0
- package/lib/infra/stores/common/toolbar/type.d.ts +45 -0
- package/lib/infra/stores/common/type.d.ts +10 -0
- package/lib/infra/stores/common/video-gallery/index.d.ts +42 -0
- package/lib/infra/stores/common/widget/index.d.ts +40 -0
- package/lib/infra/stores/interactive/board.d.ts +6 -0
- package/lib/infra/stores/interactive/index.d.ts +7 -0
- package/lib/infra/stores/interactive/stream.d.ts +33 -0
- package/lib/infra/stores/lecture/board.d.ts +7 -0
- package/lib/infra/stores/lecture/index.d.ts +9 -0
- package/lib/infra/stores/lecture/roster.d.ts +57 -0
- package/lib/infra/stores/lecture/stream.d.ts +31 -0
- package/lib/infra/stores/lecture/toolbar.d.ts +11 -0
- package/lib/infra/stores/lecture-mobile/board.d.ts +24 -0
- package/lib/infra/stores/lecture-mobile/device-setting.d.ts +9 -0
- package/lib/infra/stores/lecture-mobile/index.d.ts +13 -0
- package/lib/infra/stores/lecture-mobile/layout.d.ts +40 -0
- package/lib/infra/stores/lecture-mobile/stream.d.ts +66 -0
- package/lib/infra/stores/one-on-one/index.d.ts +7 -0
- package/lib/infra/stores/one-on-one/stream.d.ts +12 -0
- package/lib/infra/stores/one-on-one/toolbar.d.ts +7 -0
- package/lib/infra/translate/en.d.ts +882 -0
- package/lib/infra/translate/zh.d.ts +882 -0
- package/lib/infra/utils/async-queue.d.ts +16 -0
- package/lib/infra/utils/board-utils.d.ts +22 -0
- package/lib/infra/utils/colors.d.ts +13 -0
- package/lib/infra/utils/config-loader.d.ts +9 -0
- package/lib/infra/utils/error.d.ts +12 -0
- package/lib/infra/utils/event-center.d.ts +20 -0
- package/lib/infra/utils/extract.d.ts +6 -0
- package/lib/infra/utils/index.d.ts +16 -0
- package/lib/infra/utils/interaction.d.ts +6 -0
- package/lib/infra/utils/ipc-channels.d.ts +39 -0
- package/lib/infra/utils/ipc.d.ts +48 -0
- package/lib/ui-kit/components/button/abutton.d.ts +6 -0
- package/lib/ui-kit/components/button/index.d.ts +18 -0
- package/lib/ui-kit/components/card/index.d.ts +14 -0
- package/lib/ui-kit/components/checkbox/index.d.ts +14 -0
- package/lib/ui-kit/components/float/index.d.ts +13 -0
- package/lib/ui-kit/components/index.d.ts +27 -0
- package/lib/ui-kit/components/input/ainput.d.ts +6 -0
- package/lib/ui-kit/components/input/index.d.ts +31 -0
- package/lib/ui-kit/components/input-number/index.d.ts +10 -0
- package/lib/ui-kit/components/layout/index.d.ts +12 -0
- package/lib/ui-kit/components/loading/index.d.ts +37 -0
- package/lib/ui-kit/components/modal/index.d.ts +32 -0
- package/lib/ui-kit/components/overlay-wrap/index.d.ts +15 -0
- package/lib/ui-kit/components/pagination/index.d.ts +5 -0
- package/lib/ui-kit/components/placeholder/index.d.ts +18 -0
- package/lib/ui-kit/components/popover/index.d.ts +9 -0
- package/lib/ui-kit/components/progress/index.d.ts +19 -0
- package/lib/ui-kit/components/radio/index.d.ts +21 -0
- package/lib/ui-kit/components/root-box/index.d.ts +5 -0
- package/lib/ui-kit/components/roster/carousel-setting.d.ts +5 -0
- package/lib/ui-kit/components/roster/columns.d.ts +8 -0
- package/lib/ui-kit/components/roster/hooks.d.ts +3 -0
- package/lib/ui-kit/components/roster/index.d.ts +140 -0
- package/lib/ui-kit/components/roster/roster.d.ts +3 -0
- package/lib/ui-kit/components/roster/table.d.ts +21 -0
- package/lib/ui-kit/components/select/index.d.ts +24 -0
- package/lib/ui-kit/components/slider/index.d.ts +17 -0
- package/lib/ui-kit/components/sound-player/index.d.ts +6 -0
- package/lib/ui-kit/components/svg-img/generate.d.ts +0 -0
- package/lib/ui-kit/components/svg-img/index.d.ts +37 -0
- package/lib/ui-kit/components/svg-img/paths/add-scene.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/add.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/alf.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/answer.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/arrow.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/ask-for-help.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/audio.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/authorized-solid.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/authorized.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/auto-play-failed.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/backward.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/bad-signal.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/beta.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/board-not-granted.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/buffing.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/calendar.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/camera-disabled.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/camera-enabled.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/camera-off-mobile.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/camera-on-mobile.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/camera.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/chat.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/checked.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/chevron-right.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/circle.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/clear.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/clicker.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/clock.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/close.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/cloud-file-help.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/cloud-more.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/cloud-refresh.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/cloud.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/collapse-stream-mobile.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/copy.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/countdown.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/delete.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/down.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/dropdown.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/edit.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/emoji.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/eraser.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/excel.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/exit.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/extension-actived.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/fcr-ppt-broken.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/forward.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/fullscreen-shrink.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/fullscreen.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/gooffstage.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/goonstage.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/group-discuss.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/h5.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/hand.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/hands-up-active.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/hands-up.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/id.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/image.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/indicator.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/invite-on-podium.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/invite-to-podium.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/kick-out.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/landscape.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/laser-pointer.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/line.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/link-solid.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/link.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/log.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/m-camera-off.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/m-camera.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/m-micphone-off.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/m-micphone.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/m-switch-camera.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/mark.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/matrix.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/max.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/maximize.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/menu-fold.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/menu-unfold.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/mic-disabled.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/mic-enabled.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/microphone-off-outline.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/microphone-off.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/microphone-on-outline.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/microphone-on.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/microphone.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/min.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/minimize.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/more.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/mute-mobile.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/no-authorized.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/no-discussion.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/none.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/normal-signal.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/on-podium.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/out.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pdf.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pen-arrow.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pen-circle.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pen-curve.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pen-line.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pen-pentagram.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pen-rhombus.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pen-square.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pen-triangle.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pen.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pentagram.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pic.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pip-off.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pip-on.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/placeholder-camera-broken.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/placeholder-camera-no-body.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/placeholder-camera-off.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/placeholder-no-ask.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/placeholder-no-file.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/placeholder-no-message.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/placeholder-no-search.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/placeholder-no-setup.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/placeholder-not-present.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/ppt.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pretest-check.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pretest-checked.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pretest-speaker.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/record.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/recording.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/red-caution.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/redo.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/register.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/replay.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/reset.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/restore.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/review.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/reward.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/rhombus.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/room-label.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/ruddy.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/save-ghost.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/search.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/select.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/set-outline.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/set.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/settings.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/share-close.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/share-default.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/share-hover.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/share-mobile.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/share-screen.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/slice-window.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/slice.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/speaker.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/square.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/stage.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/star-outline.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/star.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/stream-window-on.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/switch-screen-share-active.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/switch-screen-share.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/text.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/toast-info.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/toast-success.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/tools.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/triangle-down.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/triangle-solid-down.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/triangle-solid-right.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/triangle-solid-up.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/triangle.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/txt.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/undo.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/unknown-signal.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/unknown.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/unmute-mobile.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/video-gallery.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/video-switch-mobile.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/video.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/vote.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/whiteboard.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/whitening.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/word.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/zoom-in.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/zoom-out.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/svg-dict.d.ts +12 -0
- package/lib/ui-kit/components/svg-img/type.d.ts +182 -0
- package/lib/ui-kit/components/svga-player/index.d.ts +11 -0
- package/lib/ui-kit/components/svga-player/svga-types.d.ts +1 -0
- package/lib/ui-kit/components/table/index.d.ts +40 -0
- package/lib/ui-kit/components/tabs/index.d.ts +7 -0
- package/lib/ui-kit/components/toast/index.d.ts +16 -0
- package/lib/ui-kit/components/toolbar/board-cleaners.d.ts +15 -0
- package/lib/ui-kit/components/toolbar/index.d.ts +15 -0
- package/lib/ui-kit/components/toolbar/pens.d.ts +19 -0
- package/lib/ui-kit/components/toolbar/slice.d.ts +14 -0
- package/lib/ui-kit/components/toolbar/tool-cabinet.d.ts +7 -0
- package/lib/ui-kit/components/toolbar/tool.d.ts +19 -0
- package/lib/ui-kit/components/toolbar/util.d.ts +3 -0
- package/lib/ui-kit/components/tooltip/index.d.ts +30 -0
- package/lib/ui-kit/components/tooltip/placements.d.ts +17 -0
- package/lib/ui-kit/components/tree/index.d.ts +34 -0
- package/lib/ui-kit/components/util/colors.d.ts +3 -0
- package/lib/ui-kit/components/util/getRenderPropValue.d.ts +3 -0
- package/lib/ui-kit/components/util/motion.d.ts +5 -0
- package/lib/ui-kit/components/util/type.d.ts +13 -0
- package/lib/ui-kit/components/volume/index.d.ts +17 -0
- package/lib/ui-kit/index.d.ts +2 -0
- package/lib/ui-kit/utilities/hooks.d.ts +22 -0
- package/lib/ui-kit/utilities/index.d.ts +31 -0
- package/lib/ui-kit/utilities/state-color.d.ts +17 -0
- package/lib/ui-kit/utilities/style-config.d.ts +60 -0
- package/lib/ui-kit/utilities/types.d.ts +8 -0
- package/package.json +1 -1
- package/lib/edu_sdk.bundle.js +0 -2
- package/lib/edu_sdk.bundle.js.LICENSE.txt +0 -164
- package/lib/worker-entry.bundle.worker.js.LICENSE.txt +0 -3
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Chat: () => JSX.Element;
|
|
3
|
+
export declare const Whiteboard: () => JSX.Element;
|
|
4
|
+
export declare const CountDownMobile: () => JSX.Element;
|
|
5
|
+
export declare const PollMobile: () => JSX.Element;
|
|
6
|
+
export declare const WhiteboardMobile: () => JSX.Element;
|
|
7
|
+
export declare const ChatMobile: () => JSX.Element;
|
|
8
|
+
export declare const Watermark: () => JSX.Element;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Dimensions, Point, Track, TrackOptions } from 'agora-edu-core';
|
|
3
|
+
declare type TrackSyncingProps = {
|
|
4
|
+
draggable: boolean;
|
|
5
|
+
resizable: boolean;
|
|
6
|
+
controlled: boolean;
|
|
7
|
+
handle?: string;
|
|
8
|
+
cancel?: string;
|
|
9
|
+
syncOn?: 'drag' | 'drop';
|
|
10
|
+
minWidth?: number;
|
|
11
|
+
minHeight?: number;
|
|
12
|
+
maxWidth?: number;
|
|
13
|
+
maxHeight?: number;
|
|
14
|
+
boundaryName?: string;
|
|
15
|
+
children?: React.ReactNode;
|
|
16
|
+
zIndex?: number;
|
|
17
|
+
track: Track;
|
|
18
|
+
onChange: (end: boolean, pos: Point, dimensions?: Dimensions, options?: TrackOptions) => void;
|
|
19
|
+
onZIndexChange: () => void;
|
|
20
|
+
};
|
|
21
|
+
export declare const TrackCore: React.FC<TrackSyncingProps>;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.mobile.css';
|
|
3
|
+
export declare const BigClassScenarioMobile: () => JSX.Element;
|
|
4
|
+
export declare const DialogContainerMobile: React.FC<unknown>;
|
|
5
|
+
interface GenericErrorDialogMobileProps {
|
|
6
|
+
onOK: () => void;
|
|
7
|
+
okBtnText: string;
|
|
8
|
+
title: string;
|
|
9
|
+
content: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const GenericErrorDialogMobile: ({ onOK, title, content, okBtnText, }: GenericErrorDialogMobileProps) => JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { EduRoomTypeEnum } from 'agora-edu-core';
|
|
3
|
+
import '@classroom/ui-kit/styles/global.css';
|
|
4
|
+
import '@classroom/ui-kit/styles/scenario.css';
|
|
5
|
+
export declare type ScenariosProps = {
|
|
6
|
+
pretest: boolean;
|
|
7
|
+
roomType: EduRoomTypeEnum;
|
|
8
|
+
};
|
|
9
|
+
export declare const renderRoomSceneWith: (roomType: EduRoomTypeEnum) => JSX.Element | null;
|
|
10
|
+
export declare const Scenarios: React.FC<ScenariosProps>;
|
|
@@ -0,0 +1,391 @@
|
|
|
1
|
+
import { FcrMultiThemes } from 'agora-common-libs';
|
|
2
|
+
declare class FcrMultiThemesImpl implements FcrMultiThemes {
|
|
3
|
+
get light(): {
|
|
4
|
+
/**
|
|
5
|
+
* 背景色
|
|
6
|
+
*/
|
|
7
|
+
readonly background: string;
|
|
8
|
+
/**
|
|
9
|
+
* 前景色
|
|
10
|
+
*/
|
|
11
|
+
readonly foreground: string;
|
|
12
|
+
/**
|
|
13
|
+
* 组件背景色
|
|
14
|
+
*/
|
|
15
|
+
readonly brand: string;
|
|
16
|
+
/**
|
|
17
|
+
* 分割线颜色
|
|
18
|
+
*/
|
|
19
|
+
readonly divider: string;
|
|
20
|
+
/**
|
|
21
|
+
* 错误提示颜色
|
|
22
|
+
*/
|
|
23
|
+
readonly error: string;
|
|
24
|
+
/**
|
|
25
|
+
* 警告提示色
|
|
26
|
+
*/
|
|
27
|
+
readonly warning: string;
|
|
28
|
+
/**
|
|
29
|
+
* 一般提示色
|
|
30
|
+
*/
|
|
31
|
+
readonly safe: string;
|
|
32
|
+
/**
|
|
33
|
+
* Icon 主色
|
|
34
|
+
*/
|
|
35
|
+
readonly iconPrimary: string;
|
|
36
|
+
/**
|
|
37
|
+
* Icon 副色
|
|
38
|
+
*/
|
|
39
|
+
readonly iconSecondary: string;
|
|
40
|
+
/**
|
|
41
|
+
* 图标被选背景色
|
|
42
|
+
*/
|
|
43
|
+
readonly iconSelected: string;
|
|
44
|
+
/**
|
|
45
|
+
* 组件背景色
|
|
46
|
+
*/
|
|
47
|
+
readonly component: string;
|
|
48
|
+
readonly toastNormal: string;
|
|
49
|
+
readonly textPrimaryButton: string;
|
|
50
|
+
readonly textLevel1: string;
|
|
51
|
+
readonly textLevel2: string;
|
|
52
|
+
readonly textLevel3: string;
|
|
53
|
+
readonly textDisable: string;
|
|
54
|
+
readonly textLink: string;
|
|
55
|
+
/**
|
|
56
|
+
* 块颜色 1
|
|
57
|
+
*/
|
|
58
|
+
/** @en
|
|
59
|
+
* Block color 1
|
|
60
|
+
*/
|
|
61
|
+
readonly v2Block1: string;
|
|
62
|
+
/**
|
|
63
|
+
* 块颜色 2
|
|
64
|
+
*/
|
|
65
|
+
/** @en
|
|
66
|
+
* Block color 2
|
|
67
|
+
*/
|
|
68
|
+
readonly v2Block2: string;
|
|
69
|
+
/**
|
|
70
|
+
* 块颜色 3
|
|
71
|
+
*/
|
|
72
|
+
/** @en
|
|
73
|
+
* Block color 3
|
|
74
|
+
*/
|
|
75
|
+
readonly v2Block3: string;
|
|
76
|
+
/**
|
|
77
|
+
* 块颜色 4
|
|
78
|
+
*/
|
|
79
|
+
/** @en
|
|
80
|
+
* Block color 4
|
|
81
|
+
*/
|
|
82
|
+
readonly v2Block4: string;
|
|
83
|
+
/**
|
|
84
|
+
* 块颜色 5
|
|
85
|
+
*/
|
|
86
|
+
/** @en
|
|
87
|
+
* Block color 5
|
|
88
|
+
*/
|
|
89
|
+
readonly v2Block5: string;
|
|
90
|
+
/**
|
|
91
|
+
* 块颜色 6
|
|
92
|
+
*/
|
|
93
|
+
/** @en
|
|
94
|
+
* Block color 6
|
|
95
|
+
*/
|
|
96
|
+
readonly v2Block6: string;
|
|
97
|
+
/**
|
|
98
|
+
* 块颜色 7
|
|
99
|
+
*/
|
|
100
|
+
/** @en
|
|
101
|
+
* Block color 7
|
|
102
|
+
*/
|
|
103
|
+
readonly v2Block7: string;
|
|
104
|
+
/**
|
|
105
|
+
* 块颜色 8
|
|
106
|
+
*/
|
|
107
|
+
/** @en
|
|
108
|
+
* Block color 8
|
|
109
|
+
*/
|
|
110
|
+
readonly v2Block8: string;
|
|
111
|
+
/**
|
|
112
|
+
* 边框和线条颜色 1
|
|
113
|
+
*/
|
|
114
|
+
/** @en
|
|
115
|
+
* Border and line color 1
|
|
116
|
+
*/
|
|
117
|
+
readonly v2Line1: string;
|
|
118
|
+
/**
|
|
119
|
+
* 字体颜色 1
|
|
120
|
+
*/
|
|
121
|
+
/** @en
|
|
122
|
+
* Font color 1
|
|
123
|
+
*/
|
|
124
|
+
readonly v2Text1: string;
|
|
125
|
+
/**
|
|
126
|
+
* 字体颜色 2
|
|
127
|
+
*/
|
|
128
|
+
/** @en
|
|
129
|
+
* Font color 2
|
|
130
|
+
*/
|
|
131
|
+
readonly v2Text2: string;
|
|
132
|
+
/**
|
|
133
|
+
* 字体颜色 3
|
|
134
|
+
*/
|
|
135
|
+
/** @en
|
|
136
|
+
* Font color 3
|
|
137
|
+
*/
|
|
138
|
+
readonly v2Text3: string;
|
|
139
|
+
/**
|
|
140
|
+
* 图标颜色 1
|
|
141
|
+
*/
|
|
142
|
+
/** @en
|
|
143
|
+
* Icon color 1
|
|
144
|
+
*/
|
|
145
|
+
readonly v2Icon1: string;
|
|
146
|
+
/**
|
|
147
|
+
* 图标颜色 2
|
|
148
|
+
*/
|
|
149
|
+
/** @en
|
|
150
|
+
* Icon color 2
|
|
151
|
+
*/
|
|
152
|
+
readonly v2Icon2: string;
|
|
153
|
+
/**
|
|
154
|
+
* 悬浮颜色
|
|
155
|
+
*/
|
|
156
|
+
/** @en
|
|
157
|
+
* Hover color
|
|
158
|
+
*/
|
|
159
|
+
readonly v2Hover: string;
|
|
160
|
+
/**
|
|
161
|
+
* 阴影颜色 1
|
|
162
|
+
*/
|
|
163
|
+
/** @en
|
|
164
|
+
* Shadow color 1
|
|
165
|
+
*/
|
|
166
|
+
readonly v2Shadow1: string;
|
|
167
|
+
/**
|
|
168
|
+
* 阴影颜色 2
|
|
169
|
+
*/
|
|
170
|
+
/** @en
|
|
171
|
+
* Shadow color 2
|
|
172
|
+
*/
|
|
173
|
+
readonly v2Shadow2: string;
|
|
174
|
+
/**
|
|
175
|
+
* 阴影颜色 3
|
|
176
|
+
*/
|
|
177
|
+
/** @en
|
|
178
|
+
* Shadow color 3
|
|
179
|
+
*/
|
|
180
|
+
readonly v2Shadow3: string;
|
|
181
|
+
/**
|
|
182
|
+
* 基色
|
|
183
|
+
*/
|
|
184
|
+
/** @en
|
|
185
|
+
* essential color
|
|
186
|
+
*/
|
|
187
|
+
readonly v2Essential: string;
|
|
188
|
+
/**
|
|
189
|
+
* 基色反色
|
|
190
|
+
*/
|
|
191
|
+
/** @en
|
|
192
|
+
* essential color inverse
|
|
193
|
+
*/
|
|
194
|
+
readonly v2EssentialInverse: string;
|
|
195
|
+
};
|
|
196
|
+
get dark(): {
|
|
197
|
+
/**
|
|
198
|
+
* 背景色
|
|
199
|
+
*/
|
|
200
|
+
readonly background: string;
|
|
201
|
+
/**
|
|
202
|
+
* 前景色
|
|
203
|
+
*/
|
|
204
|
+
readonly foreground: string;
|
|
205
|
+
/**
|
|
206
|
+
* 组件背景色
|
|
207
|
+
*/
|
|
208
|
+
readonly brand: string;
|
|
209
|
+
/**
|
|
210
|
+
* 分割线颜色
|
|
211
|
+
*/
|
|
212
|
+
readonly divider: string;
|
|
213
|
+
/**
|
|
214
|
+
* 错误提示颜色
|
|
215
|
+
*/
|
|
216
|
+
readonly error: string;
|
|
217
|
+
/**
|
|
218
|
+
* 警告提示色
|
|
219
|
+
*/
|
|
220
|
+
readonly warning: string;
|
|
221
|
+
/**
|
|
222
|
+
* 一般提示色
|
|
223
|
+
*/
|
|
224
|
+
readonly safe: string;
|
|
225
|
+
/**
|
|
226
|
+
* Icon 主色
|
|
227
|
+
*/
|
|
228
|
+
readonly iconPrimary: string;
|
|
229
|
+
/**
|
|
230
|
+
* Icon 副色
|
|
231
|
+
*/
|
|
232
|
+
readonly iconSecondary: string;
|
|
233
|
+
/**
|
|
234
|
+
* 图标被选背景色
|
|
235
|
+
*/
|
|
236
|
+
readonly iconSelected: string;
|
|
237
|
+
/**
|
|
238
|
+
* 组件背景色
|
|
239
|
+
*/
|
|
240
|
+
readonly component: string;
|
|
241
|
+
readonly toastNormal: string;
|
|
242
|
+
readonly textPrimaryButton: string;
|
|
243
|
+
readonly textLevel1: string;
|
|
244
|
+
readonly textLevel2: string;
|
|
245
|
+
readonly textLevel3: string;
|
|
246
|
+
readonly textDisable: string;
|
|
247
|
+
readonly textLink: string;
|
|
248
|
+
/**
|
|
249
|
+
* 块颜色 1
|
|
250
|
+
*/
|
|
251
|
+
/** @en
|
|
252
|
+
* Block color 1
|
|
253
|
+
*/
|
|
254
|
+
readonly v2Block1: string;
|
|
255
|
+
/**
|
|
256
|
+
* 块颜色 2
|
|
257
|
+
*/
|
|
258
|
+
/** @en
|
|
259
|
+
* Block color 2
|
|
260
|
+
*/
|
|
261
|
+
readonly v2Block2: string;
|
|
262
|
+
/**
|
|
263
|
+
* 块颜色 3
|
|
264
|
+
*/
|
|
265
|
+
/** @en
|
|
266
|
+
* Block color 3
|
|
267
|
+
*/
|
|
268
|
+
readonly v2Block3: string;
|
|
269
|
+
/**
|
|
270
|
+
* 块颜色 4
|
|
271
|
+
*/
|
|
272
|
+
/** @en
|
|
273
|
+
* Block color 4
|
|
274
|
+
*/
|
|
275
|
+
readonly v2Block4: string;
|
|
276
|
+
/**
|
|
277
|
+
* 块颜色 5
|
|
278
|
+
*/
|
|
279
|
+
/** @en
|
|
280
|
+
* Block color 5
|
|
281
|
+
*/
|
|
282
|
+
readonly v2Block5: string;
|
|
283
|
+
/**
|
|
284
|
+
* 块颜色 6
|
|
285
|
+
*/
|
|
286
|
+
/** @en
|
|
287
|
+
* Block color 6
|
|
288
|
+
*/
|
|
289
|
+
readonly v2Block6: string;
|
|
290
|
+
/**
|
|
291
|
+
* 块颜色 7
|
|
292
|
+
*/
|
|
293
|
+
/** @en
|
|
294
|
+
* Block color 7
|
|
295
|
+
*/
|
|
296
|
+
readonly v2Block7: string;
|
|
297
|
+
/**
|
|
298
|
+
* 块颜色 8
|
|
299
|
+
*/
|
|
300
|
+
/** @en
|
|
301
|
+
* Block color 8
|
|
302
|
+
*/
|
|
303
|
+
readonly v2Block8: string;
|
|
304
|
+
/**
|
|
305
|
+
* 边框和线条颜色 1
|
|
306
|
+
*/
|
|
307
|
+
/** @en
|
|
308
|
+
* Border and line color 1
|
|
309
|
+
*/
|
|
310
|
+
readonly v2Line1: string;
|
|
311
|
+
/**
|
|
312
|
+
* 字体颜色 1
|
|
313
|
+
*/
|
|
314
|
+
/** @en
|
|
315
|
+
* Font color 1
|
|
316
|
+
*/
|
|
317
|
+
readonly v2Text1: string;
|
|
318
|
+
/**
|
|
319
|
+
* 字体颜色 2
|
|
320
|
+
*/
|
|
321
|
+
/** @en
|
|
322
|
+
* Font color 2
|
|
323
|
+
*/
|
|
324
|
+
readonly v2Text2: string;
|
|
325
|
+
/**
|
|
326
|
+
* 字体颜色 3
|
|
327
|
+
*/
|
|
328
|
+
/** @en
|
|
329
|
+
* Font color 3
|
|
330
|
+
*/
|
|
331
|
+
readonly v2Text3: string;
|
|
332
|
+
/**
|
|
333
|
+
* 图标颜色 1
|
|
334
|
+
*/
|
|
335
|
+
/** @en
|
|
336
|
+
* Icon color 1
|
|
337
|
+
*/
|
|
338
|
+
readonly v2Icon1: string;
|
|
339
|
+
/**
|
|
340
|
+
* 图标颜色 2
|
|
341
|
+
*/
|
|
342
|
+
/** @en
|
|
343
|
+
* Icon color 2
|
|
344
|
+
*/
|
|
345
|
+
readonly v2Icon2: string;
|
|
346
|
+
/**
|
|
347
|
+
* 悬浮颜色
|
|
348
|
+
*/
|
|
349
|
+
/** @en
|
|
350
|
+
* Hover color
|
|
351
|
+
*/
|
|
352
|
+
readonly v2Hover: string;
|
|
353
|
+
/**
|
|
354
|
+
* 阴影颜色 1
|
|
355
|
+
*/
|
|
356
|
+
/** @en
|
|
357
|
+
* Shadow color 1
|
|
358
|
+
*/
|
|
359
|
+
readonly v2Shadow1: string;
|
|
360
|
+
/**
|
|
361
|
+
* 阴影颜色 2
|
|
362
|
+
*/
|
|
363
|
+
/** @en
|
|
364
|
+
* Shadow color 2
|
|
365
|
+
*/
|
|
366
|
+
readonly v2Shadow2: string;
|
|
367
|
+
/**
|
|
368
|
+
* 阴影颜色 3
|
|
369
|
+
*/
|
|
370
|
+
/** @en
|
|
371
|
+
* Shadow color 3
|
|
372
|
+
*/
|
|
373
|
+
readonly v2Shadow3: string;
|
|
374
|
+
/**
|
|
375
|
+
* 基色
|
|
376
|
+
*/
|
|
377
|
+
/** @en
|
|
378
|
+
* essential color
|
|
379
|
+
*/
|
|
380
|
+
readonly v2Essential: string;
|
|
381
|
+
/**
|
|
382
|
+
* 基色反色
|
|
383
|
+
*/
|
|
384
|
+
/** @en
|
|
385
|
+
* essential color inverse
|
|
386
|
+
*/
|
|
387
|
+
readonly v2EssentialInverse: string;
|
|
388
|
+
};
|
|
389
|
+
}
|
|
390
|
+
export declare const baseTheme: FcrMultiThemesImpl;
|
|
391
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FcrEngagement, FcrExtension, FcrFooter, FcrHeader, FcrStage, FcrUIConfig } from 'agora-common-libs';
|
|
2
|
+
declare class FcrUIConfigImpl implements FcrUIConfig {
|
|
3
|
+
get version(): string;
|
|
4
|
+
get name(): string;
|
|
5
|
+
get header(): FcrHeader;
|
|
6
|
+
get stage(): FcrStage;
|
|
7
|
+
get engagement(): FcrEngagement;
|
|
8
|
+
get footer(): FcrFooter;
|
|
9
|
+
get extension(): FcrExtension;
|
|
10
|
+
}
|
|
11
|
+
export declare const room1V1Class: FcrUIConfigImpl;
|
|
12
|
+
export declare const roomMidClass: FcrUIConfigImpl;
|
|
13
|
+
export declare const roomBigClass: FcrUIConfigImpl;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare class EduContext {
|
|
3
|
+
private static _shareContext?;
|
|
4
|
+
static get shared(): React.Context<any>;
|
|
5
|
+
static reset(): void;
|
|
6
|
+
static create(): React.Context<{
|
|
7
|
+
oneToOne: import("agora-edu-core").EduClassroomStore;
|
|
8
|
+
interactive: import("agora-edu-core").EduClassroomStore;
|
|
9
|
+
lecture: import("agora-edu-core").EduClassroomStore;
|
|
10
|
+
oneToOneUI: import("../stores/common").EduClassroomUIStore;
|
|
11
|
+
interactiveUI: import("../stores/common").EduClassroomUIStore;
|
|
12
|
+
lectureUI: import("../stores/common").EduClassroomUIStore;
|
|
13
|
+
lectureH5UI: import("../stores/common").EduClassroomUIStore;
|
|
14
|
+
}>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
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>;
|
|
@@ -0,0 +1,10 @@
|
|
|
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;
|
|
@@ -0,0 +1,70 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
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
|
+
}
|