educast-classroom-sdk 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -0
- package/lib/edu_sdk.bundle.js +2 -0
- package/lib/edu_sdk.bundle.js.LICENSE.txt +164 -0
- package/lib/infra/api/index.d.ts +50 -0
- package/lib/infra/api/lock.d.ts +8 -0
- package/lib/infra/api/polyfills.d.ts +0 -0
- package/lib/infra/api/providers.d.ts +7 -0
- package/lib/infra/api/rtc-extensions/index.d.ts +29 -0
- package/lib/infra/api/type.d.ts +107 -0
- package/lib/infra/capabilities/config.d.ts +21 -0
- package/lib/infra/capabilities/containers/action-sheet-mobile/hands-up.mobile.d.ts +3 -0
- package/lib/infra/capabilities/containers/action-sheet-mobile/mic.d.ts +5 -0
- package/lib/infra/capabilities/containers/action-sheet-mobile/share.mobile.d.ts +3 -0
- package/lib/infra/capabilities/containers/aside/index.d.ts +3 -0
- package/lib/infra/capabilities/containers/award/index.d.ts +3 -0
- package/lib/infra/capabilities/containers/camera-preview/index.d.ts +3 -0
- package/lib/infra/capabilities/containers/cloud-driver/cloud-driver.d.ts +13 -0
- package/lib/infra/capabilities/containers/cloud-driver/cloud-help.d.ts +2 -0
- package/lib/infra/capabilities/containers/cloud-driver/cloud-minimize.d.ts +3 -0
- package/lib/infra/capabilities/containers/cloud-driver/cloud-more-menu.d.ts +6 -0
- package/lib/infra/capabilities/containers/cloud-driver/cloud-toolbar.d.ts +21 -0
- package/lib/infra/capabilities/containers/cloud-driver/index.d.ts +6 -0
- package/lib/infra/capabilities/containers/cloud-driver/person-resource.d.ts +6 -0
- package/lib/infra/capabilities/containers/cloud-driver/public-resource.d.ts +2 -0
- package/lib/infra/capabilities/containers/device-setting/index.d.ts +5 -0
- package/lib/infra/capabilities/containers/dialog/breakout-room/confirm-dialog.d.ts +10 -0
- package/lib/infra/capabilities/containers/dialog/breakout-room/confirm-panel.d.ts +10 -0
- package/lib/infra/capabilities/containers/dialog/breakout-room/fragments/group-select.d.ts +7 -0
- package/lib/infra/capabilities/containers/dialog/breakout-room/fragments/start.d.ts +10 -0
- package/lib/infra/capabilities/containers/dialog/breakout-room/group.d.ts +17 -0
- package/lib/infra/capabilities/containers/dialog/breakout-room/index.d.ts +5 -0
- package/lib/infra/capabilities/containers/dialog/breakout-room/panel.d.ts +23 -0
- package/lib/infra/capabilities/containers/dialog/breakout-room/user.d.ts +18 -0
- package/lib/infra/capabilities/containers/dialog/confirm.d.ts +13 -0
- package/lib/infra/capabilities/containers/dialog/error-generic.d.ts +9 -0
- package/lib/infra/capabilities/containers/dialog/index.d.ts +5 -0
- package/lib/infra/capabilities/containers/dialog/kick-out.d.ts +5 -0
- package/lib/infra/capabilities/containers/dialog/quit.d.ts +6 -0
- package/lib/infra/capabilities/containers/dialog/remote-control-confirm/index.d.ts +7 -0
- package/lib/infra/capabilities/containers/dialog/screen-picker/index.d.ts +30 -0
- package/lib/infra/capabilities/containers/dialog/screen-share/index.d.ts +8 -0
- package/lib/infra/capabilities/containers/dialog/video-gallery/hooks.d.ts +33 -0
- package/lib/infra/capabilities/containers/dialog/video-gallery/index.d.ts +22 -0
- package/lib/infra/capabilities/containers/dialog/video-gallery/pager.d.ts +9 -0
- package/lib/infra/capabilities/containers/dialog/video-gallery/setting.d.ts +11 -0
- package/lib/infra/capabilities/containers/fragments/video-gallery/context.d.ts +5 -0
- package/lib/infra/capabilities/containers/fragments/video-gallery/hooks.d.ts +35 -0
- package/lib/infra/capabilities/containers/fragments/video-gallery/index.d.ts +4 -0
- package/lib/infra/capabilities/containers/fragments/video-gallery/renderer.d.ts +22 -0
- package/lib/infra/capabilities/containers/hand-up/index.d.ts +5 -0
- package/lib/infra/capabilities/containers/hand-up/invite-confirm.d.ts +13 -0
- package/lib/infra/capabilities/containers/hand-up/invite-container.d.ts +7 -0
- package/lib/infra/capabilities/containers/hand-up/invite-table.d.ts +7 -0
- package/lib/infra/capabilities/containers/hand-up/manager.d.ts +12 -0
- package/lib/infra/capabilities/containers/hand-up/sender.d.ts +34 -0
- package/lib/infra/capabilities/containers/hand-up/types.d.ts +14 -0
- package/lib/infra/capabilities/containers/loading/index.d.ts +3 -0
- package/lib/infra/capabilities/containers/nav/index.d.ts +7 -0
- package/lib/infra/capabilities/containers/pretest/form-field/index.d.ts +23 -0
- package/lib/infra/capabilities/containers/pretest/form-field/select.d.ts +5 -0
- package/lib/infra/capabilities/containers/pretest/index.d.ts +11 -0
- package/lib/infra/capabilities/containers/pretest/pretest-audio.d.ts +2 -0
- package/lib/infra/capabilities/containers/pretest/pretest-footer.d.ts +5 -0
- package/lib/infra/capabilities/containers/pretest/pretest-stage.d.ts +2 -0
- package/lib/infra/capabilities/containers/pretest/pretest-video.d.ts +5 -0
- package/lib/infra/capabilities/containers/pretest/volume.d.ts +8 -0
- package/lib/infra/capabilities/containers/root-box/fixed-aspect-ratio.d.ts +24 -0
- package/lib/infra/capabilities/containers/root-box/hooks.d.ts +4 -0
- package/lib/infra/capabilities/containers/root-box/index.d.ts +1 -0
- package/lib/infra/capabilities/containers/roster/button.d.ts +3 -0
- package/lib/infra/capabilities/containers/roster/index.d.ts +2 -0
- package/lib/infra/capabilities/containers/roster/lecture-user-list.d.ts +5 -0
- package/lib/infra/capabilities/containers/roster/user-list.d.ts +5 -0
- package/lib/infra/capabilities/containers/scene-switch/index.d.ts +7 -0
- package/lib/infra/capabilities/containers/scenes-controller/index.d.ts +3 -0
- package/lib/infra/capabilities/containers/screen-share/index.d.ts +12 -0
- package/lib/infra/capabilities/containers/screen-share/index.mobile.d.ts +3 -0
- package/lib/infra/capabilities/containers/stream/cdn-player.d.ts +24 -0
- package/lib/infra/capabilities/containers/stream/draggable-stream.d.ts +10 -0
- package/lib/infra/capabilities/containers/stream/index.d.ts +41 -0
- package/lib/infra/capabilities/containers/stream/index.mobile.d.ts +23 -0
- package/lib/infra/capabilities/containers/stream/room-1v1-player.d.ts +4 -0
- package/lib/infra/capabilities/containers/stream/room-big-class-player.mobile.d.ts +12 -0
- package/lib/infra/capabilities/containers/stream/room-big-player.d.ts +3 -0
- package/lib/infra/capabilities/containers/stream/room-mid-player.d.ts +4 -0
- package/lib/infra/capabilities/containers/stream/stream-tool.d.ts +12 -0
- package/lib/infra/capabilities/containers/stream/track-player.d.ts +21 -0
- package/lib/infra/capabilities/containers/stream/video-live-player.d.ts +16 -0
- package/lib/infra/capabilities/containers/stream-window/index.d.ts +9 -0
- package/lib/infra/capabilities/containers/toast/index.d.ts +3 -0
- package/lib/infra/capabilities/containers/toast/index.mobile.d.ts +3 -0
- package/lib/infra/capabilities/containers/toolbar/board-cleaners/index.d.ts +2 -0
- package/lib/infra/capabilities/containers/toolbar/index.d.ts +2 -0
- package/lib/infra/capabilities/containers/toolbar/pens/index.d.ts +5 -0
- package/lib/infra/capabilities/containers/toolbar/slice/index.d.ts +2 -0
- package/lib/infra/capabilities/containers/toolbar/tool-cabinet/index.d.ts +2 -0
- package/lib/infra/capabilities/containers/widget/index.d.ts +7 -0
- package/lib/infra/capabilities/containers/widget/index.mobile.d.ts +6 -0
- package/lib/infra/capabilities/containers/widget/slots.d.ts +8 -0
- package/lib/infra/capabilities/containers/widget/track.d.ts +22 -0
- package/lib/infra/capabilities/scenarios/1v1/index.d.ts +2 -0
- package/lib/infra/capabilities/scenarios/big-class/index.d.ts +2 -0
- package/lib/infra/capabilities/scenarios/big-class-mobile/index.mobile.d.ts +12 -0
- package/lib/infra/capabilities/scenarios/index.d.ts +10 -0
- package/lib/infra/capabilities/scenarios/mid-class/index.d.ts +2 -0
- package/lib/infra/capabilities/scenarios/room/index.d.ts +6 -0
- package/lib/infra/configs/base-theme.d.ts +391 -0
- package/lib/infra/configs/base-ui.d.ts +14 -0
- package/lib/infra/contexts/index.d.ts +15 -0
- package/lib/infra/contexts/ui-store-factory.d.ts +6 -0
- package/lib/infra/hooks/cabinet.d.ts +4 -0
- package/lib/infra/hooks/index.d.ts +6 -0
- package/lib/infra/hooks/ui-store.d.ts +10 -0
- package/lib/infra/hooks/utilites.d.ts +3 -0
- package/lib/infra/protocol/board.d.ts +70 -0
- package/lib/infra/protocol/events.d.ts +67 -0
- package/lib/infra/protocol/index.d.ts +24 -0
- package/lib/infra/protocol/type.d.ts +70 -0
- package/lib/infra/stores/common/base.d.ts +46 -0
- package/lib/infra/stores/common/board/index.d.ts +41 -0
- package/lib/infra/stores/common/cloud-drive/helper.d.ts +14 -0
- package/lib/infra/stores/common/cloud-drive/index.d.ts +178 -0
- package/lib/infra/stores/common/cloud-drive/struct.d.ts +109 -0
- package/lib/infra/stores/common/cloud-drive/type.d.ts +23 -0
- package/lib/infra/stores/common/device-setting/index.d.ts +68 -0
- package/lib/infra/stores/common/getters.d.ts +61 -0
- package/lib/infra/stores/common/group/index.d.ts +139 -0
- package/lib/infra/stores/common/hand-up/index.d.ts +119 -0
- package/lib/infra/stores/common/hand-up/type.d.ts +18 -0
- package/lib/infra/stores/common/index.d.ts +78 -0
- package/lib/infra/stores/common/layout/helper.d.ts +4 -0
- package/lib/infra/stores/common/layout/index.d.ts +20 -0
- package/lib/infra/stores/common/nav/index.d.ts +184 -0
- package/lib/infra/stores/common/notification/index.d.ts +55 -0
- package/lib/infra/stores/common/pretest/helper.d.ts +1 -0
- package/lib/infra/stores/common/pretest/index.d.ts +299 -0
- package/lib/infra/stores/common/pretest/type.d.ts +8 -0
- package/lib/infra/stores/common/roster/index.d.ts +162 -0
- package/lib/infra/stores/common/roster/type.d.ts +55 -0
- package/lib/infra/stores/common/share/index.d.ts +149 -0
- package/lib/infra/stores/common/stream/index.d.ts +257 -0
- package/lib/infra/stores/common/stream/state-keeper.d.ts +18 -0
- package/lib/infra/stores/common/stream/struct.d.ts +63 -0
- package/lib/infra/stores/common/stream/tool.d.ts +32 -0
- package/lib/infra/stores/common/stream-window/helper.d.ts +101 -0
- package/lib/infra/stores/common/stream-window/index.d.ts +223 -0
- package/lib/infra/stores/common/stream-window/struct.d.ts +95 -0
- package/lib/infra/stores/common/stream-window/type.d.ts +32 -0
- package/lib/infra/stores/common/subscription/abstract.d.ts +43 -0
- package/lib/infra/stores/common/subscription/index.d.ts +14 -0
- package/lib/infra/stores/common/subscription/main-room.d.ts +14 -0
- package/lib/infra/stores/common/subscription/type.d.ts +10 -0
- package/lib/infra/stores/common/toolbar/index.d.ts +145 -0
- package/lib/infra/stores/common/toolbar/type.d.ts +45 -0
- package/lib/infra/stores/common/type.d.ts +10 -0
- package/lib/infra/stores/common/video-gallery/index.d.ts +42 -0
- package/lib/infra/stores/common/widget/index.d.ts +40 -0
- package/lib/infra/stores/interactive/board.d.ts +6 -0
- package/lib/infra/stores/interactive/index.d.ts +7 -0
- package/lib/infra/stores/interactive/stream.d.ts +33 -0
- package/lib/infra/stores/lecture/board.d.ts +7 -0
- package/lib/infra/stores/lecture/index.d.ts +9 -0
- package/lib/infra/stores/lecture/roster.d.ts +57 -0
- package/lib/infra/stores/lecture/stream.d.ts +29 -0
- package/lib/infra/stores/lecture/toolbar.d.ts +11 -0
- package/lib/infra/stores/lecture-mobile/board.d.ts +16 -0
- package/lib/infra/stores/lecture-mobile/device-setting.d.ts +9 -0
- package/lib/infra/stores/lecture-mobile/index.d.ts +13 -0
- package/lib/infra/stores/lecture-mobile/layout.d.ts +40 -0
- package/lib/infra/stores/lecture-mobile/stream.d.ts +54 -0
- package/lib/infra/stores/one-on-one/index.d.ts +7 -0
- package/lib/infra/stores/one-on-one/stream.d.ts +12 -0
- package/lib/infra/stores/one-on-one/toolbar.d.ts +7 -0
- package/lib/infra/translate/en.d.ts +802 -0
- package/lib/infra/translate/zh.d.ts +802 -0
- package/lib/infra/utils/async-queue.d.ts +16 -0
- package/lib/infra/utils/board-utils.d.ts +22 -0
- package/lib/infra/utils/colors.d.ts +13 -0
- package/lib/infra/utils/config-loader.d.ts +9 -0
- package/lib/infra/utils/error.d.ts +12 -0
- package/lib/infra/utils/event-center.d.ts +20 -0
- package/lib/infra/utils/extract.d.ts +6 -0
- package/lib/infra/utils/index.d.ts +16 -0
- package/lib/infra/utils/interaction.d.ts +6 -0
- package/lib/infra/utils/ipc-channels.d.ts +39 -0
- package/lib/infra/utils/ipc.d.ts +48 -0
- package/lib/ui-kit/components/button/abutton.d.ts +6 -0
- package/lib/ui-kit/components/button/index.d.ts +18 -0
- package/lib/ui-kit/components/card/index.d.ts +14 -0
- package/lib/ui-kit/components/checkbox/index.d.ts +14 -0
- package/lib/ui-kit/components/float/index.d.ts +13 -0
- package/lib/ui-kit/components/index.d.ts +27 -0
- package/lib/ui-kit/components/input/ainput.d.ts +6 -0
- package/lib/ui-kit/components/input/index.d.ts +31 -0
- package/lib/ui-kit/components/input-number/index.d.ts +10 -0
- package/lib/ui-kit/components/layout/index.d.ts +12 -0
- package/lib/ui-kit/components/loading/index.d.ts +37 -0
- package/lib/ui-kit/components/modal/index.d.ts +32 -0
- package/lib/ui-kit/components/overlay-wrap/index.d.ts +15 -0
- package/lib/ui-kit/components/pagination/index.d.ts +5 -0
- package/lib/ui-kit/components/placeholder/index.d.ts +18 -0
- package/lib/ui-kit/components/popover/index.d.ts +9 -0
- package/lib/ui-kit/components/progress/index.d.ts +19 -0
- package/lib/ui-kit/components/radio/index.d.ts +21 -0
- package/lib/ui-kit/components/root-box/index.d.ts +5 -0
- package/lib/ui-kit/components/roster/carousel-setting.d.ts +5 -0
- package/lib/ui-kit/components/roster/columns.d.ts +7 -0
- package/lib/ui-kit/components/roster/hooks.d.ts +3 -0
- package/lib/ui-kit/components/roster/index.d.ts +140 -0
- package/lib/ui-kit/components/roster/roster.d.ts +3 -0
- package/lib/ui-kit/components/roster/table.d.ts +21 -0
- package/lib/ui-kit/components/select/index.d.ts +24 -0
- package/lib/ui-kit/components/slider/index.d.ts +17 -0
- package/lib/ui-kit/components/sound-player/index.d.ts +6 -0
- package/lib/ui-kit/components/svg-img/generate.d.ts +0 -0
- package/lib/ui-kit/components/svg-img/index.d.ts +37 -0
- package/lib/ui-kit/components/svg-img/paths/add-scene.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/add.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/alf.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/answer.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/arrow.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/ask-for-help.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/audio.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/authorized-solid.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/authorized.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/auto-play-failed.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/backward.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/bad-signal.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/beta.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/board-not-granted.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/buffing.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/calendar.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/camera-disabled.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/camera-enabled.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/camera-off-mobile.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/camera-on-mobile.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/camera.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/chat.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/checked.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/chevron-right.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/circle.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/clear.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/clicker.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/clock.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/close.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/cloud-file-help.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/cloud-more.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/cloud-refresh.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/cloud.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/collapse-stream-mobile.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/copy.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/countdown.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/delete.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/down.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/dropdown.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/edit.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/emoji.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/eraser.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/excel.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/exit.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/extension-actived.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/fcr-ppt-broken.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/forward.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/fullscreen-shrink.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/fullscreen.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/gooffstage.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/goonstage.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/group-discuss.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/h5.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/hand.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/hands-up-active.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/hands-up.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/id.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/image.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/indicator.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/invite-on-podium.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/invite-to-podium.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/kick-out.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/landscape.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/laser-pointer.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/line.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/link-solid.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/link.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/log.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/m-camera-off.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/m-camera.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/m-micphone-off.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/m-micphone.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/m-switch-camera.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/mark.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/matrix.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/max.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/maximize.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/menu-fold.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/menu-unfold.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/mic-disabled.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/mic-enabled.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/microphone-off-outline.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/microphone-off.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/microphone-on-outline.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/microphone-on.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/microphone.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/min.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/minimize.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/more.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/mute-mobile.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/no-authorized.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/no-discussion.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/none.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/normal-signal.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/on-podium.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/out.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pdf.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pen-arrow.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pen-circle.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pen-curve.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pen-line.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pen-pentagram.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pen-rhombus.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pen-square.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pen-triangle.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pen.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pentagram.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pic.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pip-off.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pip-on.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/placeholder-camera-broken.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/placeholder-camera-no-body.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/placeholder-camera-off.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/placeholder-no-ask.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/placeholder-no-file.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/placeholder-no-message.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/placeholder-no-search.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/placeholder-no-setup.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/placeholder-not-present.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/ppt.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pretest-check.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pretest-checked.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/pretest-speaker.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/record.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/recording.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/red-caution.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/redo.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/register.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/replay.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/reset.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/restore.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/review.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/reward.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/rhombus.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/room-label.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/ruddy.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/save-ghost.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/search.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/select.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/set-outline.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/set.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/settings.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/share-close.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/share-default.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/share-hover.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/share-mobile.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/share-screen.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/slice-window.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/slice.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/speaker.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/square.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/stage.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/star-outline.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/star.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/stream-window-on.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/switch-screen-share-active.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/switch-screen-share.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/text.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/toast-info.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/toast-success.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/tools.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/triangle-down.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/triangle-solid-down.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/triangle-solid-right.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/triangle-solid-up.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/triangle.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/txt.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/undo.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/unknown-signal.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/unknown.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/unmute-mobile.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/video-gallery.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/video-switch-mobile.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/video.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/vote.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/whiteboard.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/whitening.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/word.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/zoom-in.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/paths/zoom-out.d.ts +4 -0
- package/lib/ui-kit/components/svg-img/svg-dict.d.ts +12 -0
- package/lib/ui-kit/components/svg-img/type.d.ts +182 -0
- package/lib/ui-kit/components/svga-player/index.d.ts +11 -0
- package/lib/ui-kit/components/svga-player/svga-types.d.ts +1 -0
- package/lib/ui-kit/components/table/index.d.ts +40 -0
- package/lib/ui-kit/components/tabs/index.d.ts +7 -0
- package/lib/ui-kit/components/toast/index.d.ts +16 -0
- package/lib/ui-kit/components/toolbar/board-cleaners.d.ts +15 -0
- package/lib/ui-kit/components/toolbar/index.d.ts +14 -0
- package/lib/ui-kit/components/toolbar/pens.d.ts +19 -0
- package/lib/ui-kit/components/toolbar/slice.d.ts +14 -0
- package/lib/ui-kit/components/toolbar/tool-cabinet.d.ts +7 -0
- package/lib/ui-kit/components/toolbar/tool.d.ts +19 -0
- package/lib/ui-kit/components/toolbar/util.d.ts +3 -0
- package/lib/ui-kit/components/tooltip/index.d.ts +30 -0
- package/lib/ui-kit/components/tooltip/placements.d.ts +17 -0
- package/lib/ui-kit/components/tree/index.d.ts +34 -0
- package/lib/ui-kit/components/util/colors.d.ts +3 -0
- package/lib/ui-kit/components/util/getRenderPropValue.d.ts +3 -0
- package/lib/ui-kit/components/util/motion.d.ts +5 -0
- package/lib/ui-kit/components/util/type.d.ts +13 -0
- package/lib/ui-kit/components/volume/index.d.ts +17 -0
- package/lib/ui-kit/index.d.ts +2 -0
- package/lib/ui-kit/utilities/hooks.d.ts +22 -0
- package/lib/ui-kit/utilities/index.d.ts +31 -0
- package/lib/ui-kit/utilities/state-color.d.ts +17 -0
- package/lib/ui-kit/utilities/style-config.d.ts +60 -0
- package/lib/ui-kit/utilities/types.d.ts +8 -0
- package/lib/worker-entry.bundle.worker.js.LICENSE.txt +3 -0
- package/package.json +152 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare type PathOptions = {
|
|
3
|
+
iconPrimary: string;
|
|
4
|
+
iconSecondary: string;
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
};
|
|
7
|
+
export declare type SvgPath = {
|
|
8
|
+
path: (options: PathOptions) => React.ReactNode;
|
|
9
|
+
viewBox?: string;
|
|
10
|
+
};
|
|
11
|
+
export declare const getPath: (name: string, props: PathOptions) => string | number | boolean | React.ReactFragment | JSX.Element | null | undefined;
|
|
12
|
+
export declare const getViewBox: (name: string) => string | undefined;
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
export declare enum SvgIconEnum {
|
|
2
|
+
ADD_SCENE = "add-scene",
|
|
3
|
+
ALF = "alf",
|
|
4
|
+
ANSWER = "answer",
|
|
5
|
+
ARROW = "arrow",
|
|
6
|
+
ASK_FOR_HELP = "ask-for-help",
|
|
7
|
+
AUDIO = "audio",
|
|
8
|
+
AUTHORIZED = "authorized",
|
|
9
|
+
AUTHORIZED_SOLID = "authorized-solid",
|
|
10
|
+
BACKWARD = "backward",
|
|
11
|
+
BAD_SIGNAL = "bad-signal",
|
|
12
|
+
BOARD_NOT_GRANTED = "board-not-granted",
|
|
13
|
+
BUFFING = "buffing",
|
|
14
|
+
CALENDAR = "calendar",
|
|
15
|
+
CAMERA = "camera",
|
|
16
|
+
CAMERA_DISABLED = "camera-disabled",
|
|
17
|
+
CAMERA_ENABLED = "camera-enabled",
|
|
18
|
+
CHAT = "chat",
|
|
19
|
+
CHECKED = "checked",
|
|
20
|
+
COPY = "copy",
|
|
21
|
+
CHEVRON_RIGHT = "chevron-right",
|
|
22
|
+
CIRCLE = "circle",
|
|
23
|
+
CLEAR = "clear",
|
|
24
|
+
CLICKER = "clicker",
|
|
25
|
+
CLOSE = "close",
|
|
26
|
+
CLOUD = "cloud",
|
|
27
|
+
CLOUD_FILE_HELP = "cloud-file-help",
|
|
28
|
+
CLOUD_MORE = "cloud-more",
|
|
29
|
+
CLOUD_REFRESH = "cloud-refresh",
|
|
30
|
+
COUNTDOWN = "countdown",
|
|
31
|
+
DELETE = "delete",
|
|
32
|
+
EDIT = "edit",
|
|
33
|
+
DOWN = "down",
|
|
34
|
+
DROPDOWN = "dropdown",
|
|
35
|
+
EMOJI = "emoji",
|
|
36
|
+
ERASER = "eraser",
|
|
37
|
+
EXCEL = "excel",
|
|
38
|
+
EXIT = "exit",
|
|
39
|
+
EXTENSION_ACTIVED = "extension-actived",
|
|
40
|
+
FORWARD = "forward",
|
|
41
|
+
FULLSCREEN = "fullscreen",
|
|
42
|
+
FULLSCREEN_SHRINK = "fullscreen-shrink",
|
|
43
|
+
GOOFFSTAGE = "goonstage",
|
|
44
|
+
GOONSTAGE = "gooffstage",
|
|
45
|
+
GROUP_DISCUSS = "group-discuss",
|
|
46
|
+
H5 = "h5",
|
|
47
|
+
HAND = "hand",
|
|
48
|
+
HANDS_UP = "hands-up",
|
|
49
|
+
HANDS_UP_ACTIVE = "hands-up-active",
|
|
50
|
+
ID = "id",
|
|
51
|
+
IMAGE = "image",
|
|
52
|
+
INVITE_ON_PODIUM = "invite-on-podium",
|
|
53
|
+
INVITE_TO_PODIUM = "invite-to-podium",
|
|
54
|
+
KICK_OUT = "kick-out",
|
|
55
|
+
LASER_POINTER = "laser-pointer",
|
|
56
|
+
LINE = "line",
|
|
57
|
+
LINK = "link",
|
|
58
|
+
LINK_SOLID = "link-solid",
|
|
59
|
+
LOG = "log",
|
|
60
|
+
M_CAMERA = "m-camera",
|
|
61
|
+
M_CAMERA_OFF = "m-camera-off",
|
|
62
|
+
M_MICPHONE = "m-micphone",
|
|
63
|
+
M_MICPHONE_OFF = "m-micphone-off",
|
|
64
|
+
M_SWITCH_CAMERA = "m-switch-camera",
|
|
65
|
+
MAX = "max",
|
|
66
|
+
MAXIMIZE = "maximize",
|
|
67
|
+
MENU_FOLD = "menu-fold",
|
|
68
|
+
MENU_UNFOLD = "menu-unfold",
|
|
69
|
+
MIC_DISABLED = "mic-disabled",
|
|
70
|
+
MIC_ENABLED = "mic-enabled",
|
|
71
|
+
MICROPHONE = "microphone",
|
|
72
|
+
MICROPHONE_OFF = "microphone-off",
|
|
73
|
+
MICROPHONE_OFF_OUTLINE = "microphone-off-outline",
|
|
74
|
+
MICROPHONE_ON = "microphone-on",
|
|
75
|
+
MICROPHONE_ON_OUTLINE = "microphone-on-outline",
|
|
76
|
+
MIN = "min",
|
|
77
|
+
MINIMIZE = "minimize",
|
|
78
|
+
MORE = "more",
|
|
79
|
+
NO_AUTHORIZED = "no-authorized",
|
|
80
|
+
NO_DISCUSSION = "no-discussion",
|
|
81
|
+
NORMAL_SIGNAL = "normal-signal",
|
|
82
|
+
ON_PODIUM = "on-podium",
|
|
83
|
+
OUT = "out",
|
|
84
|
+
PDF = "pdf",
|
|
85
|
+
PEN = "pen",
|
|
86
|
+
PEN_ARROW = "pen-arrow",
|
|
87
|
+
PEN_CIRCLE = "pen-circle",
|
|
88
|
+
PEN_CURVE = "pen-curve",
|
|
89
|
+
PEN_LINE = "pen-line",
|
|
90
|
+
PEN_PENTAGRAM = "pen-pentagram",
|
|
91
|
+
PEN_RHOMBUS = "pen-rhombus",
|
|
92
|
+
PEN_SQUARE = "pen-square",
|
|
93
|
+
PEN_TRIANGLE = "pen-triangle",
|
|
94
|
+
PENTAGRAM = "pentagram",
|
|
95
|
+
PIC = "pic",
|
|
96
|
+
PLACEHOLDER_CAMERA_BROKEN = "placeholder-camera-broken",
|
|
97
|
+
PLACEHOLDER_CAMERA_NO_BODY = "placeholder-camera-no-body",
|
|
98
|
+
PLACEHOLDER_CAMERA_OFF = "placeholder-camera-off",
|
|
99
|
+
PLACEHOLDER_NO_ASK = "placeholder-no-ask",
|
|
100
|
+
PLACEHOLDER_NO_FILE = "placeholder-no-file",
|
|
101
|
+
PLACEHOLDER_NO_MESSAGE = "placeholder-no-message",
|
|
102
|
+
PLACEHOLDER_NO_SEARCH = "placeholder-no-search",
|
|
103
|
+
PLACEHOLDER_NO_SETUP = "placeholder-no-setup",
|
|
104
|
+
PLACEHOLDER_NOT_PRESENT = "placeholder-not-present",
|
|
105
|
+
PPT = "ppt",
|
|
106
|
+
PRETEST_CHECK = "pretest-check",
|
|
107
|
+
PRETEST_CHECKED = "pretest-checked",
|
|
108
|
+
PRETEST_SPEAKER = "pretest-speaker",
|
|
109
|
+
RECORD = "record",
|
|
110
|
+
RECORDING = "recording",
|
|
111
|
+
RED_CAUTION = "red-caution",
|
|
112
|
+
REDO = "redo",
|
|
113
|
+
REGISTER = "register",
|
|
114
|
+
RESTORE = "restore",
|
|
115
|
+
REPLAY = "replay",
|
|
116
|
+
REVIEW = "review",
|
|
117
|
+
REWARD = "reward",
|
|
118
|
+
RHOMBUS = "rhombus",
|
|
119
|
+
RUDDY = "ruddy",
|
|
120
|
+
ROOM_LABEL = "room-label",
|
|
121
|
+
SAVE_GHOST = "save-ghost",
|
|
122
|
+
SEARCH = "search",
|
|
123
|
+
SELECT = "select",
|
|
124
|
+
SET = "set",
|
|
125
|
+
SET_OUTLINE = "set-outline",
|
|
126
|
+
SETTINGS = "settings",
|
|
127
|
+
SHARE_CLOSE = "share-close",
|
|
128
|
+
SHARE_DEFAULT = "share-default",
|
|
129
|
+
SHARE_HOVER = "share-hover",
|
|
130
|
+
SHARE_SCREEN = "share-screen",
|
|
131
|
+
SLICE = "slice",
|
|
132
|
+
SLICE_WINDOW = "slice-window",
|
|
133
|
+
SPEAKER = "speaker",
|
|
134
|
+
SQUARE = "square",
|
|
135
|
+
STAR = "star",
|
|
136
|
+
STAR_OUTLINE = "star-outline",
|
|
137
|
+
STREAM_WINDOW_ON = "stream-window-on",
|
|
138
|
+
SWITCH_SCREEN_SHARE = "switch-screen-share",
|
|
139
|
+
SWITCH_SCREEN_SHARE_ACTIVE = "switch-screen-share-active",
|
|
140
|
+
TEXT = "text",
|
|
141
|
+
TOAST_INFO = "toast-info",
|
|
142
|
+
TOAST_SUCCESS = "toast-success",
|
|
143
|
+
TOOLS = "tools",
|
|
144
|
+
TRIANGLE = "triangle",
|
|
145
|
+
TRIANGLE_DOWN = "triangle-down",
|
|
146
|
+
TRIANGLE_SOLID_DOWN = "triangle-solid-down",
|
|
147
|
+
TRIANGLE_SOLID_RIGHT = "triangle-solid-right",
|
|
148
|
+
TRIANGLE_SOLID_UP = "triangle-solid-up",
|
|
149
|
+
TXT = "txt",
|
|
150
|
+
UNDO = "undo",
|
|
151
|
+
UNKNOWN = "unknown",
|
|
152
|
+
UNKNOWN_SIGNAL = "unknown-signal",
|
|
153
|
+
VIDEO_GALLERY = "video-gallery",
|
|
154
|
+
VIDEO = "video",
|
|
155
|
+
VOTE = "vote",
|
|
156
|
+
WHITEBOARD = "whiteboard",
|
|
157
|
+
WHITENING = "whitening",
|
|
158
|
+
WORD = "word",
|
|
159
|
+
ZOOM_IN = "zoom-in",
|
|
160
|
+
ZOOM_OUT = "zoom-out",
|
|
161
|
+
NONE = "none",
|
|
162
|
+
MARK = "mark",
|
|
163
|
+
MATRIX = "matrix",
|
|
164
|
+
ADD = "add",
|
|
165
|
+
CLOCK = "clock",
|
|
166
|
+
STAGE = "stage",
|
|
167
|
+
RESET = "reset",
|
|
168
|
+
INDICATOR = "indicator",
|
|
169
|
+
PIP_ON = "pip-on",
|
|
170
|
+
PIP_OFF = "pip-off",
|
|
171
|
+
LANDSCAPE = "landscape",
|
|
172
|
+
SHARE_MOBILE = "share-mobile",
|
|
173
|
+
COLLAPSE_STREAM_MOBILE = "collapse-stream-mobile",
|
|
174
|
+
BETA = "beta",
|
|
175
|
+
AUTO_PLAY_FAILED = "auto-play-failed",
|
|
176
|
+
FCR_PPT_BROKEN = "fcr-ppt-broken",
|
|
177
|
+
CAMERA_OFF_MOBILE = "camera-off-mobile",
|
|
178
|
+
CAMERA_ON_MOBILE = "camera-on-mobile",
|
|
179
|
+
MUTE_MOBILE = "mute-mobile",
|
|
180
|
+
UNMUTE_MOBILE = "unmute-mobile",
|
|
181
|
+
VIDEO_SWITCH_MOBILE = "video-switch-mobile"
|
|
182
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BaseProps } from '../util/type';
|
|
3
|
+
export type { SvgaTypes } from './svga-types';
|
|
4
|
+
export interface SvgaPlayerProps extends BaseProps {
|
|
5
|
+
width?: number;
|
|
6
|
+
height?: number;
|
|
7
|
+
url: string;
|
|
8
|
+
onFinish?: () => void;
|
|
9
|
+
loops?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const SvgaPlayer: React.FC<SvgaPlayerProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type SvgaTypes = 'reward';
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import React, { ReactElement } from 'react';
|
|
2
|
+
import { BaseProps } from '../util/type';
|
|
3
|
+
import './index.css';
|
|
4
|
+
import { TableProps as AntTableProps } from 'antd/lib/table';
|
|
5
|
+
export interface TableBaseProps extends BaseProps {
|
|
6
|
+
className?: string;
|
|
7
|
+
children?: any;
|
|
8
|
+
align?: 'center' | 'start' | 'end' | 'between' | 'around' | 'evenly';
|
|
9
|
+
onClick?: (evt: any) => Promise<void> | void;
|
|
10
|
+
hoverClass?: string;
|
|
11
|
+
onMouseEnter?: () => void;
|
|
12
|
+
onMouseLeave?: () => void;
|
|
13
|
+
onScroll?: React.UIEventHandler<HTMLDivElement>;
|
|
14
|
+
}
|
|
15
|
+
export declare type TableProps = TableBaseProps;
|
|
16
|
+
export declare const Table: React.FC<TableProps>;
|
|
17
|
+
export interface ColProps extends TableBaseProps {
|
|
18
|
+
width?: 9 | 20;
|
|
19
|
+
}
|
|
20
|
+
export declare const Col: React.FC<ColProps>;
|
|
21
|
+
export interface RowProps extends TableBaseProps {
|
|
22
|
+
border?: 1;
|
|
23
|
+
height?: 10;
|
|
24
|
+
gap?: 10;
|
|
25
|
+
}
|
|
26
|
+
export declare const Row: React.FC<RowProps>;
|
|
27
|
+
export interface ItemFontColorProps extends BaseProps {
|
|
28
|
+
children: any;
|
|
29
|
+
color?: string;
|
|
30
|
+
width?: number;
|
|
31
|
+
title?: string;
|
|
32
|
+
}
|
|
33
|
+
export declare const Inline: React.FC<ItemFontColorProps>;
|
|
34
|
+
export declare const TableHeader: React.FC<RowProps>;
|
|
35
|
+
declare type ATableProps<T> = AntTableProps<T> & {
|
|
36
|
+
emptyImg?: string;
|
|
37
|
+
emptyClassName?: string;
|
|
38
|
+
};
|
|
39
|
+
export declare function ATable<T>(props: ATableProps<T>): ReactElement;
|
|
40
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TabPaneProps, TabsProps } from 'antd/lib/tabs';
|
|
2
|
+
import { FC, PropsWithChildren } from 'react';
|
|
3
|
+
import './index.css';
|
|
4
|
+
export declare type ATabsProps = Pick<TabsProps, 'className' | 'activeKey' | 'centered' | 'type' | 'onChange' | 'onEdit' | 'onTabClick' | 'animated' | 'moreIcon' | 'renderTabBar' | 'items'>;
|
|
5
|
+
export declare const ATabs: FC<PropsWithChildren<ATabsProps>>;
|
|
6
|
+
export declare type ATabPaneProps = Pick<TabPaneProps, 'className' | 'tab' | 'tabKey'>;
|
|
7
|
+
export declare const ATabPane: FC<PropsWithChildren<ATabPaneProps>>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FC, PropsWithChildren } from 'react';
|
|
2
|
+
import { BaseProps } from '../util/type';
|
|
3
|
+
import './index.css';
|
|
4
|
+
export declare type ToastCategory = 'success' | 'error' | 'warning';
|
|
5
|
+
export interface ToastProps extends BaseProps {
|
|
6
|
+
type?: 'success' | 'error' | 'warning';
|
|
7
|
+
text?: string;
|
|
8
|
+
duration?: number;
|
|
9
|
+
closeToast?: CallableFunction;
|
|
10
|
+
canStop?: boolean;
|
|
11
|
+
}
|
|
12
|
+
declare type ToastType = FC<PropsWithChildren<ToastProps>> & {
|
|
13
|
+
show: (params: ToastProps) => void;
|
|
14
|
+
};
|
|
15
|
+
export declare const Toast: ToastType;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React, { FC } from 'react';
|
|
2
|
+
import { ToolItem } from './tool';
|
|
3
|
+
export interface CleanerItem {
|
|
4
|
+
id: string;
|
|
5
|
+
icon: React.ReactElement;
|
|
6
|
+
name: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface BoardCleanersProps extends ToolItem {
|
|
10
|
+
cleanersList: CleanerItem[];
|
|
11
|
+
onClick?: (value: string) => void;
|
|
12
|
+
activeItem?: string;
|
|
13
|
+
hover?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare const BoardCleaners: FC<BoardCleanersProps>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FC, PropsWithChildren } from 'react';
|
|
2
|
+
import { BaseProps } from '../util/type';
|
|
3
|
+
import './index.css';
|
|
4
|
+
export { Pens } from './pens';
|
|
5
|
+
export { ToolCabinet } from './tool-cabinet';
|
|
6
|
+
export { BoardCleaners } from './board-cleaners';
|
|
7
|
+
export { Slice } from './slice';
|
|
8
|
+
export { Tool } from './tool';
|
|
9
|
+
export type { ToolProps } from './tool';
|
|
10
|
+
export interface ToolbarProps extends BaseProps {
|
|
11
|
+
defaultOpened?: boolean;
|
|
12
|
+
onOpenedChange?: (opened: boolean) => void;
|
|
13
|
+
}
|
|
14
|
+
export declare const Toolbar: FC<PropsWithChildren<ToolbarProps>>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ToolItem } from './tool';
|
|
3
|
+
export interface PensProps extends ToolItem {
|
|
4
|
+
pens?: string[];
|
|
5
|
+
activePen?: string;
|
|
6
|
+
onClick?: (value: string) => void;
|
|
7
|
+
isActive?: boolean;
|
|
8
|
+
colors?: string[];
|
|
9
|
+
activeColor?: string;
|
|
10
|
+
colorSliderMin?: number;
|
|
11
|
+
colorSliderMax?: number;
|
|
12
|
+
colorSliderDefault?: number;
|
|
13
|
+
strokeWidthValue?: number;
|
|
14
|
+
colorSliderStep?: number;
|
|
15
|
+
paletteMap?: Record<string, string>;
|
|
16
|
+
onColorClick?: (value: string) => void;
|
|
17
|
+
onSliderChange?: (value: any) => void;
|
|
18
|
+
}
|
|
19
|
+
export declare const Pens: FC<PensProps>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React, { FC } from 'react';
|
|
2
|
+
import { ToolItem } from './tool';
|
|
3
|
+
export interface SliceItem {
|
|
4
|
+
id: string;
|
|
5
|
+
icon: React.ReactElement;
|
|
6
|
+
name: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface SliceProps extends ToolItem {
|
|
10
|
+
slicersList: SliceItem[];
|
|
11
|
+
onClick?: (value: string) => void;
|
|
12
|
+
hover?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare const Slice: FC<SliceProps>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React, { FC, ReactEventHandler } from 'react';
|
|
2
|
+
import { BaseProps } from '../util/type';
|
|
3
|
+
import { SvgIconEnum } from '../svg-img/type';
|
|
4
|
+
export interface ToolItem extends BaseProps {
|
|
5
|
+
value: string;
|
|
6
|
+
label: any;
|
|
7
|
+
icon: SvgIconEnum;
|
|
8
|
+
isActive?: boolean;
|
|
9
|
+
hover?: boolean;
|
|
10
|
+
component?: React.FC<{
|
|
11
|
+
isActive: boolean;
|
|
12
|
+
onClick: ReactEventHandler<any>;
|
|
13
|
+
hover?: boolean;
|
|
14
|
+
}>;
|
|
15
|
+
}
|
|
16
|
+
export interface ToolProps extends ToolItem {
|
|
17
|
+
onClick?: (value: string) => void;
|
|
18
|
+
}
|
|
19
|
+
export declare const Tool: FC<ToolProps>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { SvgIconEnum } from '../svg-img';
|
|
2
|
+
export declare const getPenIcon: (penTool: string) => SvgIconEnum.PEN_ARROW | SvgIconEnum.PEN_CIRCLE | SvgIconEnum.PEN_CURVE | SvgIconEnum.PEN_LINE | SvgIconEnum.PEN_PENTAGRAM | SvgIconEnum.PEN_RHOMBUS | SvgIconEnum.PEN_SQUARE | SvgIconEnum.PEN_TRIANGLE;
|
|
3
|
+
export declare const getPenShapeIcon: (penTool: string) => SvgIconEnum.ARROW | SvgIconEnum.CIRCLE | SvgIconEnum.LINE | SvgIconEnum.PEN | SvgIconEnum.PENTAGRAM | SvgIconEnum.RHOMBUS | SvgIconEnum.SQUARE | SvgIconEnum.TRIANGLE;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TooltipProps as RcTooltipProps } from 'rc-tooltip/lib/Tooltip';
|
|
3
|
+
import { AdjustOverflow, PlacementsConfig } from './placements';
|
|
4
|
+
import { placements as Placements } from 'rc-tooltip/lib/placements';
|
|
5
|
+
import './index.css';
|
|
6
|
+
export type { AdjustOverflow, PlacementsConfig };
|
|
7
|
+
export declare type TooltipPlacement = 'top' | 'left' | 'right' | 'bottom' | 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight' | 'leftTop' | 'leftBottom' | 'rightTop' | 'rightBottom';
|
|
8
|
+
export interface AbstractTooltipProps extends Partial<Omit<RcTooltipProps, 'children'>> {
|
|
9
|
+
style?: React.CSSProperties;
|
|
10
|
+
className?: string;
|
|
11
|
+
color?: string;
|
|
12
|
+
placement?: TooltipPlacement;
|
|
13
|
+
builtinPlacements?: typeof Placements;
|
|
14
|
+
openClassName?: string;
|
|
15
|
+
arrowPointAtCenter?: boolean;
|
|
16
|
+
autoAdjustOverflow?: boolean | AdjustOverflow;
|
|
17
|
+
getPopupContainer?: (triggerNode: HTMLElement) => HTMLElement;
|
|
18
|
+
children?: React.ReactNode;
|
|
19
|
+
}
|
|
20
|
+
export declare type RenderFunction = () => React.ReactNode;
|
|
21
|
+
export interface TooltipPropsWithOverlay extends AbstractTooltipProps {
|
|
22
|
+
title?: React.ReactNode | RenderFunction;
|
|
23
|
+
overlay: React.ReactNode | RenderFunction;
|
|
24
|
+
}
|
|
25
|
+
export interface TooltipPropsWithTitle extends AbstractTooltipProps {
|
|
26
|
+
title: React.ReactNode | RenderFunction;
|
|
27
|
+
overlay?: React.ReactNode | RenderFunction;
|
|
28
|
+
}
|
|
29
|
+
export declare type TooltipProps = TooltipPropsWithTitle | TooltipPropsWithOverlay;
|
|
30
|
+
export declare const Tooltip: React.ForwardRefExoticComponent<TooltipProps & React.RefAttributes<unknown>>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BuildInPlacements } from 'rc-trigger';
|
|
2
|
+
export interface AdjustOverflow {
|
|
3
|
+
adjustX?: 0 | 1;
|
|
4
|
+
adjustY?: 0 | 1;
|
|
5
|
+
}
|
|
6
|
+
export interface PlacementsConfig {
|
|
7
|
+
arrowWidth?: number;
|
|
8
|
+
horizontalArrowShift?: number;
|
|
9
|
+
verticalArrowShift?: number;
|
|
10
|
+
arrowPointAtCenter?: boolean;
|
|
11
|
+
autoAdjustOverflow?: boolean | AdjustOverflow;
|
|
12
|
+
}
|
|
13
|
+
export declare function getOverflowOptions(autoAdjustOverflow?: boolean | AdjustOverflow): {
|
|
14
|
+
adjustX: number;
|
|
15
|
+
adjustY: number;
|
|
16
|
+
};
|
|
17
|
+
export default function getPlacements(config: PlacementsConfig): BuildInPlacements;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { BaseProps } from '../util/type';
|
|
3
|
+
import './style.css';
|
|
4
|
+
export declare type TreeModel = {
|
|
5
|
+
id: string;
|
|
6
|
+
text: string;
|
|
7
|
+
children?: TreeModel[];
|
|
8
|
+
};
|
|
9
|
+
declare type MultiRootTreeProps = {
|
|
10
|
+
data: TreeModel[];
|
|
11
|
+
renderNode?: (node: TreeModel, level: number) => JSX.Element | undefined;
|
|
12
|
+
gap?: number;
|
|
13
|
+
disableExpansion?: boolean;
|
|
14
|
+
childClassName?: string;
|
|
15
|
+
showArrowAlways?: boolean;
|
|
16
|
+
} & BaseProps;
|
|
17
|
+
declare type TreeProps = {
|
|
18
|
+
level: number;
|
|
19
|
+
data: TreeModel;
|
|
20
|
+
gap?: number;
|
|
21
|
+
renderNode?: (node: TreeModel, level: number) => JSX.Element | undefined;
|
|
22
|
+
disableExpansion?: boolean;
|
|
23
|
+
childClassName?: string;
|
|
24
|
+
showArrowAlways?: boolean;
|
|
25
|
+
};
|
|
26
|
+
export declare const MultiRootTree: FC<MultiRootTreeProps>;
|
|
27
|
+
export declare const Tree: FC<TreeProps>;
|
|
28
|
+
declare type TreeNodeProps = {
|
|
29
|
+
content: React.ReactNode;
|
|
30
|
+
className?: string;
|
|
31
|
+
tail?: JSX.Element;
|
|
32
|
+
} & React.HTMLAttributes<HTMLDivElement>;
|
|
33
|
+
export declare const TreeNode: FC<TreeNodeProps>;
|
|
34
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { CSSMotionProps } from 'rc-motion';
|
|
2
|
+
declare const collapseMotion: CSSMotionProps;
|
|
3
|
+
declare const getTransitionName: (rootPrefixCls: string, motion: string, transitionName?: string | undefined) => string;
|
|
4
|
+
export { getTransitionName };
|
|
5
|
+
export default collapseMotion;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { SvgIconEnum } from '../svg-img';
|
|
3
|
+
export interface BaseProps {
|
|
4
|
+
style?: CSSProperties;
|
|
5
|
+
className?: string;
|
|
6
|
+
id?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const tuple: <T extends string[]>(...args: T) => T;
|
|
9
|
+
export declare type ElementOf<T> = T extends (infer E)[] ? E : T extends readonly (infer F)[] ? F : never;
|
|
10
|
+
export declare type IconWithState = {
|
|
11
|
+
icon: SvgIconEnum;
|
|
12
|
+
color?: string;
|
|
13
|
+
};
|