@trtc/calls-uikit-vue2 4.1.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-zh_CN.md +83 -0
- package/README.md +89 -0
- package/debug/GenerateTestUserSig-es.js +26 -0
- package/debug/lib-generate-test-usersig-es.min.js +2 -0
- package/package.json +42 -0
- package/src/Components/TUICallKit.vue +334 -0
- package/src/Components/assets/MicrophoneVolume/desktop/mic-off.svg +5 -0
- package/src/Components/assets/MicrophoneVolume/desktop/mic-on.svg +5 -0
- package/src/Components/assets/base/close.svg +1 -0
- package/src/Components/assets/base/error.svg +1 -0
- package/src/Components/assets/base/info.svg +1 -0
- package/src/Components/assets/base/loading-circle.svg +1 -0
- package/src/Components/assets/base/success.svg +1 -0
- package/src/Components/assets/base/waring.svg +1 -0
- package/src/Components/assets/button/accept.svg +1 -0
- package/src/Components/assets/button/background-blur-close.svg +1 -0
- package/src/Components/assets/button/background-blur-open.svg +1 -0
- package/src/Components/assets/button/camera-close.svg +1 -0
- package/src/Components/assets/button/camera-open.svg +1 -0
- package/src/Components/assets/button/desktop/arrow.png +0 -0
- package/src/Components/assets/button/desktop/fullScreen.svg +4 -0
- package/src/Components/assets/button/desktop/inviteUser.svg +1 -0
- package/src/Components/assets/button/desktop/minimize.svg +6 -0
- package/src/Components/assets/button/hangup.svg +1 -0
- package/src/Components/assets/button/microphone-close.svg +1 -0
- package/src/Components/assets/button/microphone-open.svg +1 -0
- package/src/Components/assets/button/mobile/down.svg +1 -0
- package/src/Components/assets/button/mobile/inviteUser.svg +1 -0
- package/src/Components/assets/button/mobile/minimize.svg +1 -0
- package/src/Components/assets/button/mobile/switch-camera.svg +1 -0
- package/src/Components/assets/button/mobile/up.svg +1 -0
- package/src/Components/assets/button/speaker-close.svg +1 -0
- package/src/Components/assets/button/speaker-open.svg +1 -0
- package/src/Components/assets/button/switch-audio.svg +1 -0
- package/src/Components/assets/common/arrows.svg +1 -0
- package/src/Components/assets/common/call.svg +1 -0
- package/src/Components/assets/common/close.svg +1 -0
- package/src/Components/assets/common/defaultAvatar.svg +1 -0
- package/src/Components/assets/common/loading-audio.svg +1 -0
- package/src/Components/assets/common/loading-video.png +0 -0
- package/src/Components/assets/common/microphone-volumn-close.svg +1 -0
- package/src/Components/assets/desktop/acceptAudio.svg +4 -0
- package/src/Components/assets/desktop/acceptVideo.svg +8 -0
- package/src/Components/assets/desktop/arrow.png +0 -0
- package/src/Components/assets/desktop/camera-false.svg +5 -0
- package/src/Components/assets/desktop/camera.svg +6 -0
- package/src/Components/assets/desktop/floatCallEnd.svg +3 -0
- package/src/Components/assets/desktop/floatFullScreen.svg +3 -0
- package/src/Components/assets/desktop/floatMicrophone.svg +4 -0
- package/src/Components/assets/desktop/floatMicrophoneClosed.svg +3 -0
- package/src/Components/assets/desktop/fullScreen.svg +4 -0
- package/src/Components/assets/desktop/hangup.svg +4 -0
- package/src/Components/assets/desktop/invite_user.svg +5 -0
- package/src/Components/assets/desktop/microphone-false.svg +8 -0
- package/src/Components/assets/desktop/microphone.svg +9 -0
- package/src/Components/assets/desktop/minimize.svg +6 -0
- package/src/Components/assets/desktop/permission/index.ts +11 -0
- package/src/Components/assets/desktop/permission/mac/permit-en.jpg +0 -0
- package/src/Components/assets/desktop/permission/mac/permit-zh.jpg +0 -0
- package/src/Components/assets/desktop/permission/win/permit-en.png +0 -0
- package/src/Components/assets/desktop/permission/win/permit-zh.png +0 -0
- package/src/Components/assets/desktop/switchScreen.svg +5 -0
- package/src/Components/assets/desktop/trans.svg +6 -0
- package/src/Components/assets/floatingWindow/desktop/floatCallEnd.svg +3 -0
- package/src/Components/assets/floatingWindow/desktop/floatFullScreen.svg +3 -0
- package/src/Components/assets/floatingWindow/desktop/floatMicrophone.svg +4 -0
- package/src/Components/assets/floatingWindow/desktop/floatMicrophoneClosed.svg +3 -0
- package/src/Components/assets/floatingWindow/mobile/camera-close.svg +1 -0
- package/src/Components/assets/floatingWindow/mobile/camera-open.svg +1 -0
- package/src/Components/assets/floatingWindow/mobile/earphone.svg +1 -0
- package/src/Components/assets/floatingWindow/mobile/microphone-close.svg +1 -0
- package/src/Components/assets/floatingWindow/mobile/microphone-open.svg +1 -0
- package/src/Components/assets/mobile/accept.png +0 -0
- package/src/Components/assets/mobile/audio-false.png +0 -0
- package/src/Components/assets/mobile/audio-true.png +0 -0
- package/src/Components/assets/mobile/camera-false.png +0 -0
- package/src/Components/assets/mobile/camera-true.png +0 -0
- package/src/Components/assets/mobile/default_avatar.png +0 -0
- package/src/Components/assets/mobile/hangup.png +0 -0
- package/src/Components/assets/mobile/loading.png +0 -0
- package/src/Components/assets/mobile/phone_dialing.mp3 +0 -0
- package/src/Components/assets/mobile/phone_ringing.mp3 +0 -0
- package/src/Components/assets/mobile/speaker-false.png +0 -0
- package/src/Components/assets/mobile/speaker-true.png +0 -0
- package/src/Components/assets/mobile/switch_camera.png +0 -0
- package/src/Components/assets/mobile/swtich-camera.png +0 -0
- package/src/Components/assets/mobile/trans.png +0 -0
- package/src/Components/assets/permission/desktop/index.ts +11 -0
- package/src/Components/assets/permission/desktop/mac/permit-en.jpg +0 -0
- package/src/Components/assets/permission/desktop/mac/permit-zh.jpg +0 -0
- package/src/Components/assets/permission/desktop/win/permit-en.png +0 -0
- package/src/Components/assets/permission/desktop/win/permit-zh.png +0 -0
- package/src/Components/assets/streamInfo/mobile/mic-off-h5.svg +1 -0
- package/src/Components/assets/streamInfo/mobile/mic-on-h5.svg +1 -0
- package/src/Components/assets/streamInfo/mobile/microphone-close-group.svg +1 -0
- package/src/Components/assets/streamInfo/mobile/microphone-close-single.svg +1 -0
- package/src/Components/assets/streamInfo/mobile/volumn.svg +1 -0
- package/src/Components/assets/streamInfo/networkStatus.png +0 -0
- package/src/Components/components/GroupCall/BackGround/BackGround.vue +20 -0
- package/src/Components/components/GroupCall/BtnOperate/BtnOperate.vue +116 -0
- package/src/Components/components/GroupCall/BtnOperate/style/desktop.scss +60 -0
- package/src/Components/components/GroupCall/BtnOperate/style/index.scss +2 -0
- package/src/Components/components/GroupCall/BtnOperate/style/mobile.scss +39 -0
- package/src/Components/components/GroupCall/GroupCall.vue +129 -0
- package/src/Components/components/GroupCall/InviteInfo/InviteInfo.vue +116 -0
- package/src/Components/components/GroupCall/InviteInfo/mobile/InviteCallee.vue +120 -0
- package/src/Components/components/GroupCall/MediaContainer/MediaContainer.vue +267 -0
- package/src/Components/components/GroupCall/MediaContainer/StreamLoading/StreamLoading.vue +22 -0
- package/src/Components/components/GroupCall/PusherPlayer/PusherPlayer.vue +67 -0
- package/src/Components/components/GroupCall/PusherPlayer/deskTop/RemoteStreamList.vue +483 -0
- package/src/Components/components/GroupCall/PusherPlayer/mobile/RemoteStreamList.vue +151 -0
- package/src/Components/components/GroupCall/PusherPlayer/wechat/RemoteStreamList.vue +299 -0
- package/src/Components/components/SingleCall/BtnOperate/BtnOperate.vue +126 -0
- package/src/Components/components/SingleCall/BtnOperate/style/desktop.scss +60 -0
- package/src/Components/components/SingleCall/BtnOperate/style/index.scss +2 -0
- package/src/Components/components/SingleCall/BtnOperate/style/mobile.scss +39 -0
- package/src/Components/components/SingleCall/InviteInfo/InviteInfo.vue +161 -0
- package/src/Components/components/SingleCall/InviteInfo/mobile/SingleAudio.vue +69 -0
- package/src/Components/components/SingleCall/InviteInfo/mobile/SingleVideo.vue +67 -0
- package/src/Components/components/SingleCall/InviteInfo/style/desktop.sass +0 -0
- package/src/Components/components/SingleCall/InviteInfo/style/mobile.sass +0 -0
- package/src/Components/components/SingleCall/MediaContainer/MediaContainer.vue +165 -0
- package/src/Components/components/SingleCall/PusherPlayer/PusherPlayer.vue +215 -0
- package/src/Components/components/SingleCall/PusherPlayer/WeChatStream.vue +53 -0
- package/src/Components/components/SingleCall/PusherPlayer/wechat/Player.vue +110 -0
- package/src/Components/components/SingleCall/PusherPlayer/wechat/Pusher.vue +113 -0
- package/src/Components/components/SingleCall/SingleCall.vue +28 -0
- package/src/Components/components/SingleCall/hooks/useGetLargeViewName.ts +32 -0
- package/src/Components/components/base/Avatar/Avatar.ts +38 -0
- package/src/Components/components/base/Avatar/Avatar.vue +53 -0
- package/src/Components/components/base/Avatar/style/Avatar.scss +40 -0
- package/src/Components/components/base/Button/Button.ts +60 -0
- package/src/Components/components/base/Button/Button.vue +61 -0
- package/src/Components/components/base/Button/style/Button.scss +42 -0
- package/src/Components/components/base/Grid/Grid.ts +26 -0
- package/src/Components/components/base/Grid/Grid.vue +40 -0
- package/src/Components/components/base/Grid/GridItem/GridItem.vue +81 -0
- package/src/Components/components/base/Grid/GridItem/style/GridItem.scss +13 -0
- package/src/Components/components/base/Icon/Icon.ts +9 -0
- package/src/Components/components/base/Icon/Icon.vue +21 -0
- package/src/Components/components/base/Layout/Col/Col.ts +23 -0
- package/src/Components/components/base/Layout/Col/Col.vue +46 -0
- package/src/Components/components/base/Layout/Col/style/Col.scss +9 -0
- package/src/Components/components/base/Layout/Row/Row.ts +23 -0
- package/src/Components/components/base/Layout/Row/Row.vue +38 -0
- package/src/Components/components/base/Layout/Row/style/Row.scss +10 -0
- package/src/Components/components/base/Layout/constant.ts +1 -0
- package/src/Components/components/base/Loading/Circle/Circle.ts +13 -0
- package/src/Components/components/base/Loading/Circle/Circle.vue +36 -0
- package/src/Components/components/base/Loading/Circle/style/Circle.scss +26 -0
- package/src/Components/components/base/Loading/Dot/Dot.ts +13 -0
- package/src/Components/components/base/Loading/Dot/Dot.vue +44 -0
- package/src/Components/components/base/Loading/Dot/style/Dot.scss +61 -0
- package/src/Components/components/base/Loading/Loading.ts +29 -0
- package/src/Components/components/base/Loading/Loading.vue +36 -0
- package/src/Components/components/base/Loading/style/Loading.scss +18 -0
- package/src/Components/components/base/Message/Message.ts +117 -0
- package/src/Components/components/base/Message/Message.vue +60 -0
- package/src/Components/components/base/Message/style/Message.scss +49 -0
- package/src/Components/components/base/MessageGroup/MessageGroup.vue +37 -0
- package/src/Components/components/base/Overlay/Overlay.ts +46 -0
- package/src/Components/components/base/Overlay/Overlay.vue +75 -0
- package/src/Components/components/base/Overlay/style/Overlay.scss +40 -0
- package/src/Components/components/base/Popover/Popover.ts +36 -0
- package/src/Components/components/base/Popover/Popover.vue +44 -0
- package/src/Components/components/base/Popover/PopoverWeb/PopoverWeb.vue +110 -0
- package/src/Components/components/base/Popover/PopoverWx/PopoverWx.vue +15 -0
- package/src/Components/components/base/Popover/style/Popover.scss +30 -0
- package/src/Components/components/base/Popover/utils/calculatePosition.ts +50 -0
- package/src/Components/components/base/Portal/Portal.ts +14 -0
- package/src/Components/components/base/Portal/Portal.vue +26 -0
- package/src/Components/components/base/Portal/miniprogram/Portal.vue +20 -0
- package/src/Components/components/base/Portal/vue2/Portal.vue +53 -0
- package/src/Components/components/base/Portal/vue3/Portal.vue +19 -0
- package/src/Components/components/base/TKImage/TKImage.ts +34 -0
- package/src/Components/components/base/TKImage/TKImage.vue +77 -0
- package/src/Components/components/base/TKImage/style/TKImage.scss +20 -0
- package/src/Components/components/base/TKText/TKText.ts +24 -0
- package/src/Components/components/base/TKText/TKText.vue +43 -0
- package/src/Components/components/base/TKText/style/TKText.scss +19 -0
- package/src/Components/components/base/ToggleWindow/ToggleWindow.ts +19 -0
- package/src/Components/components/base/ToggleWindow/ToggleWindow.vue +46 -0
- package/src/Components/components/base/ToggleWindow/ToggleWindowItem/ToggleWindowItem.ts +5 -0
- package/src/Components/components/base/ToggleWindow/ToggleWindowItem/ToggleWindowItem.vue +62 -0
- package/src/Components/components/base/ToggleWindow/ToggleWindowItem/style/ToggleWindowItem.scss +38 -0
- package/src/Components/components/base/ToggleWindow/constant.ts +1 -0
- package/src/Components/components/base/ToggleWindow/style/ToggleWindow.scss +7 -0
- package/src/Components/components/base/assets/message/close.svg +5 -0
- package/src/Components/components/base/assets/message/error.svg +1 -0
- package/src/Components/components/base/assets/message/info.svg +1 -0
- package/src/Components/components/base/assets/message/success.svg +1 -0
- package/src/Components/components/base/assets/message/warning.svg +1 -0
- package/src/Components/components/base/constants/index.ts +8 -0
- package/src/Components/components/base/hooks/useListenerEvent.ts +36 -0
- package/src/Components/components/base/hooks/useOnClickOutSide.ts +27 -0
- package/src/Components/components/base/styles/common.scss +43 -0
- package/src/Components/components/base/styles/var.scss +132 -0
- package/src/Components/components/base/util/checkEnv.ts +51 -0
- package/src/Components/components/base/util/checkVueVersion.ts +11 -0
- package/src/Components/components/base/util/classNames.ts +34 -0
- package/src/Components/components/base/util/filterObject.ts +11 -0
- package/src/Components/components/base/util/index.ts +10 -0
- package/src/Components/components/common/AudioStream/AudioStream.ts +29 -0
- package/src/Components/components/common/AudioStream/AudioStream.vue +65 -0
- package/src/Components/components/common/Button/Accept.vue +66 -0
- package/src/Components/components/common/Button/Camera.vue +115 -0
- package/src/Components/components/common/Button/FullScreen.vue +32 -0
- package/src/Components/components/common/Button/Hangup.vue +57 -0
- package/src/Components/components/common/Button/InviteUser.vue +52 -0
- package/src/Components/components/common/Button/Microphone.vue +109 -0
- package/src/Components/components/common/Button/Minimize.vue +41 -0
- package/src/Components/components/common/Button/Reject.vue +52 -0
- package/src/Components/components/common/Button/Speaker.vue +98 -0
- package/src/Components/components/common/Button/SwitchAudioCall.vue +86 -0
- package/src/Components/components/common/Button/SwitchCamera.vue +58 -0
- package/src/Components/components/common/Button/Timer.vue +19 -0
- package/src/Components/components/common/Button/ToggleButtonPanel.vue +44 -0
- package/src/Components/components/common/Button/ToggleSize.vue +50 -0
- package/src/Components/components/common/Button/VirtualBackground.vue +76 -0
- package/src/Components/components/common/Button/hooks/useConfig.ts +33 -0
- package/src/Components/components/common/Button/props/Button.ts +15 -0
- package/src/Components/components/common/Button/style/common.scss +5 -0
- package/src/Components/components/common/Button/style/desktop.scss +49 -0
- package/src/Components/components/common/Button/style/index.scss +2 -0
- package/src/Components/components/common/Button/style/mobile.scss +63 -0
- package/src/Components/components/common/ButtonPanel/ButtonPanel.vue +238 -0
- package/src/Components/components/common/ButtonPanel/config/InitConfig.ts +252 -0
- package/src/Components/components/common/ButtonPanel/config/VirtualBackgroundMobileConfig.ts +29 -0
- package/src/Components/components/common/ButtonPanel/hooks/useButtonPanelLayout.ts +63 -0
- package/src/Components/components/common/DeviceSelect/DeviceSelect.ts +11 -0
- package/src/Components/components/common/DeviceSelect/DeviceSelect.vue +158 -0
- package/src/Components/components/common/FloatWindow/FloatWindow.vue +68 -0
- package/src/Components/components/common/FloatWindow/desktop/FloatWindow.vue +106 -0
- package/src/Components/components/common/FloatWindow/mobile/FloatWindow.vue +28 -0
- package/src/Components/components/common/FloatWindow/mobile/FloatWindowGroupCall.vue +141 -0
- package/src/Components/components/common/FloatWindow/mobile/FloatWindowSingleCall.vue +109 -0
- package/src/Components/components/common/JoinGroupCard/JoinGroupCard.vue +51 -0
- package/src/Components/components/common/JoinGroupCard/desktop/JoinGroupCard.scss +80 -0
- package/src/Components/components/common/JoinGroupCard/desktop/JoinGroupCard.vue +57 -0
- package/src/Components/components/common/JoinGroupCard/mobile/JoinGroupCard.scss +60 -0
- package/src/Components/components/common/JoinGroupCard/mobile/JoinGroupCard.vue +65 -0
- package/src/Components/components/common/MicVolume/MicVolume.vue +37 -0
- package/src/Components/components/common/MicVolume/MicVolumeClosed.vue +11 -0
- package/src/Components/components/common/MicrophoneVolume/MicrophoneVolume.ts +10 -0
- package/src/Components/components/common/MicrophoneVolume/MicrophoneVolume.vue +61 -0
- package/src/Components/components/common/OverlayStream/OverlayStream.ts +102 -0
- package/src/Components/components/common/OverlayStream/OverlayStream.vue +108 -0
- package/src/Components/components/common/OverlayStream/style/OverlayStream.scss +12 -0
- package/src/Components/components/common/OverlayStream/style/mobile.scss +32 -0
- package/src/Components/components/common/OverlayStream/style/pc.scss +21 -0
- package/src/Components/components/common/PermitTip/CloseIcon.vue +3 -0
- package/src/Components/components/common/PermitTip/PermitTip.ts +37 -0
- package/src/Components/components/common/PermitTip/PermitTip.vue +62 -0
- package/src/Components/components/common/PermitTip/SystemPermitTip.vue +160 -0
- package/src/Components/components/common/Player/Player.ts +18 -0
- package/src/Components/components/common/Player/Player.vue +59 -0
- package/src/Components/components/common/Player/WeChatPlayer/WeChatPlayer.vue +101 -0
- package/src/Components/components/common/Player/WeChatPlayer/style/index.scss +38 -0
- package/src/Components/components/common/Popover/Popover.vue +85 -0
- package/src/Components/components/common/Pusher/Pusher.ts +18 -0
- package/src/Components/components/common/Pusher/Pusher.vue +78 -0
- package/src/Components/components/common/Pusher/WeChatPusher/WeChatPusher.vue +70 -0
- package/src/Components/components/common/Pusher/WeChatPusher/style/index.scss +37 -0
- package/src/Components/components/common/SelectUser/SelectUser.vue +74 -0
- package/src/Components/components/common/SelectUser/components/Dialog/TDialog.vue +94 -0
- package/src/Components/components/common/SelectUser/components/Dialog/style/color.css +43 -0
- package/src/Components/components/common/SelectUser/components/Dialog/style/dialog.css +3 -0
- package/src/Components/components/common/SelectUser/components/Dialog/style/h5.css +49 -0
- package/src/Components/components/common/SelectUser/components/Dialog/style/web.css +55 -0
- package/src/Components/components/common/SelectUser/components/Icon/TIcon.vue +44 -0
- package/src/Components/components/common/SelectUser/components/Icon/style/icon.css +6 -0
- package/src/Components/components/common/SelectUser/components/Transfer/TTransfer.vue +304 -0
- package/src/Components/components/common/SelectUser/components/Transfer/icon/back.svg +16 -0
- package/src/Components/components/common/SelectUser/components/Transfer/icon/cancel.svg +23 -0
- package/src/Components/components/common/SelectUser/components/Transfer/icon/selected.svg +27 -0
- package/src/Components/components/common/SelectUser/components/Transfer/style/color.css +64 -0
- package/src/Components/components/common/SelectUser/components/Transfer/style/h5.css +86 -0
- package/src/Components/components/common/SelectUser/components/Transfer/style/transfer.css +17 -0
- package/src/Components/components/common/SelectUser/components/Transfer/style/web.css +146 -0
- package/src/Components/components/common/SelectUser/index.ts +12 -0
- package/src/Components/components/common/Swiper/Swiper.vue +145 -0
- package/src/Components/components/common/Swiper/SwiperSlider.vue +55 -0
- package/src/Components/components/common/Swiper/index.ts +10 -0
- package/src/Components/components/common/Swiper/useSlide.ts +56 -0
- package/src/Components/components/common/Swiper/useSwiperSliders.ts +34 -0
- package/src/Components/components/common/SwiperWx/Swiper.vue +123 -0
- package/src/Components/components/common/SwiperWx/SwiperSlider.vue +87 -0
- package/src/Components/components/common/SwiperWx/index.ts +5 -0
- package/src/Components/components/common/SwiperWx/useSlide.ts +60 -0
- package/src/Components/components/common/SwiperWx/useSwiperSliders.ts +23 -0
- package/src/Components/components/common/TKStreamInfo/StreamInfo.ts +34 -0
- package/src/Components/components/common/TKStreamInfo/StreamInfoMobile.vue +82 -0
- package/src/Components/components/common/TKStreamInfo/StreamInfoPC.vue +58 -0
- package/src/Components/components/common/TKStreamInfo/TKStreamInfo.vue +47 -0
- package/src/Components/components/common/Timer/Timer.ts +14 -0
- package/src/Components/components/common/Timer/Timer.vue +24 -0
- package/src/Components/components/common/Tip/Tip.ts +5 -0
- package/src/Components/components/common/Tip/Tip.vue +67 -0
- package/src/Components/components/common/Toast/Toast.ts +87 -0
- package/src/Components/components/common/Toast/Toast.vue +133 -0
- package/src/Components/components/common/Toast/index.ts +6 -0
- package/src/Components/components/common/Toast/type.ts +16 -0
- package/src/Components/components/common/TopBar/TopBar.ts +8 -0
- package/src/Components/components/common/TopBar/TopBar.vue +120 -0
- package/src/Components/components/common/Waiting/Waiting.vue +126 -0
- package/src/Components/components/config/button/ClosedPanelUI.ts +109 -0
- package/src/Components/components/config/button/DefaultUI.ts +550 -0
- package/src/Components/components/config/button/index.ts +2 -0
- package/src/Components/context/ButtonPanelContext.ts +6 -0
- package/src/Components/context/CallInfoContext.ts +15 -0
- package/src/Components/context/CallerUserInfoContext.ts +9 -0
- package/src/Components/context/CustomUIConfigContext.ts +1 -0
- package/src/Components/context/FloatWindowContext.ts +5 -0
- package/src/Components/context/FocusItemContext.ts +1 -0
- package/src/Components/context/IsClickableContext.ts +1 -0
- package/src/Components/context/PopoverContext.ts +1 -0
- package/src/Components/context/TranslateContext.ts +1 -0
- package/src/Components/context/UserInfoContextExcludeVolume.ts +8 -0
- package/src/Components/context/index.ts +10 -0
- package/src/Components/hooks/index.ts +22 -0
- package/src/Components/hooks/useButtonPanelStatus.ts +6 -0
- package/src/Components/hooks/useCallDuration.ts +32 -0
- package/src/Components/hooks/useCallInfoContext.ts +6 -0
- package/src/Components/hooks/useCallerUserInfoContext.ts +6 -0
- package/src/Components/hooks/useCustomUI.ts +7 -0
- package/src/Components/hooks/useCustomUIButtonConfig.ts +96 -0
- package/src/Components/hooks/useDeviceList.ts +51 -0
- package/src/Components/hooks/useFloatWindowContext.ts +6 -0
- package/src/Components/hooks/useFocusContext.ts +6 -0
- package/src/Components/hooks/useGetVolumeMap.ts +59 -0
- package/src/Components/hooks/useGroupCallLayout.ts +142 -0
- package/src/Components/hooks/useIsClickableContext.ts +6 -0
- package/src/Components/hooks/useJoinGroupCall.ts +69 -0
- package/src/Components/hooks/useNetWorkStatus.ts +30 -0
- package/src/Components/hooks/usePlayer.ts +32 -0
- package/src/Components/hooks/usePopover.ts +6 -0
- package/src/Components/hooks/useTip.ts +42 -0
- package/src/Components/hooks/useTranslate.ts +7 -0
- package/src/Components/hooks/useUserInfoContextExcludeVolume.ts +6 -0
- package/src/Components/hooks/useViewBackgroundConfig.ts +12 -0
- package/src/Components/util/deepClone.ts +15 -0
- package/src/Components/util/findValues.ts +21 -0
- package/src/Components/util/index.ts +6 -0
- package/src/Components/util/isEmpty.ts +15 -0
- package/src/Components/util/isEqual.ts +40 -0
- package/src/Components/util/isObject.ts +3 -0
- package/src/Components/util/stringToPath.ts +78 -0
- package/src/Components/util/toggleScreen.ts +10 -0
- package/src/Components/util/uiConfig.ts +74 -0
- package/src/TUICallService/CallService/UIDesign.ts +174 -0
- package/src/TUICallService/CallService/bellContext.ts +88 -0
- package/src/TUICallService/CallService/chatCombine.ts +313 -0
- package/src/TUICallService/CallService/engineEventHandler.ts +404 -0
- package/src/TUICallService/CallService/index.ts +797 -0
- package/src/TUICallService/CallService/miniProgram.ts +65 -0
- package/src/TUICallService/CallService/utils.ts +281 -0
- package/src/TUICallService/TUIGlobal/tuiGlobal.ts +43 -0
- package/src/TUICallService/TUIStore/callStore.ts +93 -0
- package/src/TUICallService/TUIStore/tuiStore.ts +167 -0
- package/src/TUICallService/assets/phone_dialing.mp3 +0 -0
- package/src/TUICallService/assets/phone_ringing.mp3 +0 -0
- package/src/TUICallService/const/call.ts +157 -0
- package/src/TUICallService/const/error.ts +20 -0
- package/src/TUICallService/const/index.ts +103 -0
- package/src/TUICallService/const/log.ts +9 -0
- package/src/TUICallService/index.ts +37 -0
- package/src/TUICallService/interface/ICallService.ts +70 -0
- package/src/TUICallService/interface/ICallStore.ts +55 -0
- package/src/TUICallService/interface/ITUIGlobal.ts +36 -0
- package/src/TUICallService/interface/ITUIStore.ts +87 -0
- package/src/TUICallService/interface/index.ts +4 -0
- package/src/TUICallService/locales/en.ts +135 -0
- package/src/TUICallService/locales/index.ts +61 -0
- package/src/TUICallService/locales/ja_JP.ts +134 -0
- package/src/TUICallService/locales/zh-cn.ts +130 -0
- package/src/TUICallService/serve/callManager.ts +109 -0
- package/src/TUICallService/utils/common-utils.ts +269 -0
- package/src/TUICallService/utils/decorators/promise-retry.ts +51 -0
- package/src/TUICallService/utils/env.ts +51 -0
- package/src/TUICallService/utils/index.ts +32 -0
- package/src/TUICallService/utils/is-empty.ts +31 -0
- package/src/TUICallService/utils/retry.ts +88 -0
- package/src/TUICallService/utils/timer.ts +162 -0
- package/src/TUICallService/utils/validate/avoidRepeatedCall.ts +39 -0
- package/src/TUICallService/utils/validate/index.ts +7 -0
- package/src/TUICallService/utils/validate/validateConfig.ts +203 -0
- package/src/TUICallService/utils/validate/validateParams.ts +88 -0
- package/src/TUICallService/utils/validate/validateStatus.ts +26 -0
- package/src/adapter-vue.ts +4 -0
- package/src/index.ts +65 -0
- package/tuicall-uikit-vue2.es.js +12469 -0
- package/tuicall-uikit-vue2.umd.js +102 -0
- package/types/Components/assets/desktop/permission/index.d.ts +5 -0
- package/types/Components/assets/permission/desktop/index.d.ts +5 -0
- package/types/Components/components/SingleCall/hooks/useGetLargeViewName.d.ts +2 -0
- package/types/Components/components/base/Avatar/Avatar.d.ts +34 -0
- package/types/Components/components/base/Button/Button.d.ts +56 -0
- package/types/Components/components/base/Grid/Grid.d.ts +23 -0
- package/types/Components/components/base/Icon/Icon.d.ts +9 -0
- package/types/Components/components/base/Layout/Col/Col.d.ts +20 -0
- package/types/Components/components/base/Layout/Row/Row.d.ts +20 -0
- package/types/Components/components/base/Layout/constant.d.ts +1 -0
- package/types/Components/components/base/Loading/Circle/Circle.d.ts +13 -0
- package/types/Components/components/base/Loading/Dot/Dot.d.ts +13 -0
- package/types/Components/components/base/Loading/Loading.d.ts +26 -0
- package/types/Components/components/base/Message/Message.d.ts +50 -0
- package/types/Components/components/base/Overlay/Overlay.d.ts +45 -0
- package/types/Components/components/base/Popover/Popover.d.ts +34 -0
- package/types/Components/components/base/Popover/utils/calculatePosition.d.ts +4 -0
- package/types/Components/components/base/Portal/Portal.d.ts +14 -0
- package/types/Components/components/base/TKImage/TKImage.d.ts +33 -0
- package/types/Components/components/base/TKText/TKText.d.ts +24 -0
- package/types/Components/components/base/ToggleWindow/ToggleWindow.d.ts +18 -0
- package/types/Components/components/base/ToggleWindow/ToggleWindowItem/ToggleWindowItem.d.ts +5 -0
- package/types/Components/components/base/ToggleWindow/constant.d.ts +1 -0
- package/types/Components/components/base/constants/index.d.ts +7 -0
- package/types/Components/components/base/hooks/useListenerEvent.d.ts +13 -0
- package/types/Components/components/base/hooks/useOnClickOutSide.d.ts +1 -0
- package/types/Components/components/base/util/checkEnv.d.ts +10 -0
- package/types/Components/components/base/util/checkVueVersion.d.ts +4 -0
- package/types/Components/components/base/util/classNames.d.ts +1 -0
- package/types/Components/components/base/util/filterObject.d.ts +1 -0
- package/types/Components/components/base/util/index.d.ts +5 -0
- package/types/Components/components/common/AudioStream/AudioStream.d.ts +29 -0
- package/types/Components/components/common/Button/hooks/useConfig.d.ts +2 -0
- package/types/Components/components/common/Button/props/Button.d.ts +15 -0
- package/types/Components/components/common/ButtonPanel/config/InitConfig.d.ts +89 -0
- package/types/Components/components/common/ButtonPanel/config/VirtualBackgroundMobileConfig.d.ts +66 -0
- package/types/Components/components/common/ButtonPanel/hooks/useButtonPanelLayout.d.ts +4 -0
- package/types/Components/components/common/DeviceSelect/DeviceSelect.d.ts +11 -0
- package/types/Components/components/common/MicrophoneVolume/MicrophoneVolume.d.ts +10 -0
- package/types/Components/components/common/OverlayStream/OverlayStream.d.ts +92 -0
- package/types/Components/components/common/PermitTip/PermitTip.d.ts +3 -0
- package/types/Components/components/common/Player/Player.d.ts +18 -0
- package/types/Components/components/common/Pusher/Pusher.d.ts +18 -0
- package/types/Components/components/common/SelectUser/index.d.ts +6 -0
- package/types/Components/components/common/Swiper/index.d.ts +7 -0
- package/types/Components/components/common/Swiper/useSlide.d.ts +7 -0
- package/types/Components/components/common/Swiper/useSwiperSliders.d.ts +1 -0
- package/types/Components/components/common/SwiperWx/index.d.ts +4 -0
- package/types/Components/components/common/SwiperWx/useSlide.d.ts +9 -0
- package/types/Components/components/common/SwiperWx/useSwiperSliders.d.ts +1 -0
- package/types/Components/components/common/TKStreamInfo/StreamInfo.d.ts +34 -0
- package/types/Components/components/common/Timer/Timer.d.ts +14 -0
- package/types/Components/components/common/Tip/Tip.d.ts +5 -0
- package/types/Components/components/common/Toast/Toast.d.ts +4 -0
- package/types/Components/components/common/Toast/index.d.ts +2 -0
- package/types/Components/components/common/Toast/type.d.ts +16 -0
- package/types/Components/components/common/TopBar/TopBar.d.ts +8 -0
- package/types/Components/components/config/button/ClosedPanelUI.d.ts +3380 -0
- package/types/Components/components/config/button/DefaultUI.d.ts +14751 -0
- package/types/Components/components/config/button/index.d.ts +2 -0
- package/types/Components/context/ButtonPanelContext.d.ts +4 -0
- package/types/Components/context/CallInfoContext.d.ts +13 -0
- package/types/Components/context/CallerUserInfoContext.d.ts +8 -0
- package/types/Components/context/CustomUIConfigContext.d.ts +1 -0
- package/types/Components/context/FloatWindowContext.d.ts +4 -0
- package/types/Components/context/FocusItemContext.d.ts +1 -0
- package/types/Components/context/IsClickableContext.d.ts +1 -0
- package/types/Components/context/PopoverContext.d.ts +1 -0
- package/types/Components/context/TranslateContext.d.ts +1 -0
- package/types/Components/context/UserInfoContextExcludeVolume.d.ts +6 -0
- package/types/Components/context/index.d.ts +10 -0
- package/types/Components/hooks/index.d.ts +20 -0
- package/types/Components/hooks/useButtonPanelStatus.d.ts +2 -0
- package/types/Components/hooks/useCallDuration.d.ts +3 -0
- package/types/Components/hooks/useCallInfoContext.d.ts +2 -0
- package/types/Components/hooks/useCallerUserInfoContext.d.ts +2 -0
- package/types/Components/hooks/useCustomUI.d.ts +3 -0
- package/types/Components/hooks/useCustomUIButtonConfig.d.ts +1 -0
- package/types/Components/hooks/useDeviceList.d.ts +7 -0
- package/types/Components/hooks/useFloatWindowContext.d.ts +2 -0
- package/types/Components/hooks/useFocusContext.d.ts +1 -0
- package/types/Components/hooks/useGetVolumeMap.d.ts +1 -0
- package/types/Components/hooks/useGroupCallLayout.d.ts +1 -0
- package/types/Components/hooks/useIsClickableContext.d.ts +2 -0
- package/types/Components/hooks/useJoinGroupCall.d.ts +9 -0
- package/types/Components/hooks/useNetWorkStatus.d.ts +3 -0
- package/types/Components/hooks/usePlayer.d.ts +1 -0
- package/types/Components/hooks/usePopover.d.ts +2 -0
- package/types/Components/hooks/useTip.d.ts +5 -0
- package/types/Components/hooks/useTranslate.d.ts +2 -0
- package/types/Components/hooks/useUserInfoContextExcludeVolume.d.ts +2 -0
- package/types/Components/hooks/useViewBackgroundConfig.d.ts +1 -0
- package/types/Components/util/deepClone.d.ts +1 -0
- package/types/Components/util/findValues.d.ts +1 -0
- package/types/Components/util/index.d.ts +6 -0
- package/types/Components/util/isEmpty.d.ts +1 -0
- package/types/Components/util/isEqual.d.ts +1 -0
- package/types/Components/util/isObject.d.ts +1 -0
- package/types/Components/util/stringToPath.d.ts +12 -0
- package/types/Components/util/toggleScreen.d.ts +1 -0
- package/types/Components/util/uiConfig.d.ts +3 -0
- package/types/TUICallService/CallService/UIDesign.d.ts +28 -0
- package/types/TUICallService/CallService/bellContext.d.ts +19 -0
- package/types/TUICallService/CallService/chatCombine.d.ts +50 -0
- package/types/TUICallService/CallService/engineEventHandler.d.ts +35 -0
- package/types/TUICallService/CallService/index.d.ts +98 -0
- package/types/TUICallService/CallService/miniProgram.d.ts +7 -0
- package/types/TUICallService/CallService/utils.d.ts +42 -0
- package/types/TUICallService/TUIGlobal/tuiGlobal.d.ts +21 -0
- package/types/TUICallService/TUIStore/callStore.d.ts +10 -0
- package/types/TUICallService/TUIStore/tuiStore.d.ts +57 -0
- package/types/TUICallService/const/call.d.ts +141 -0
- package/types/TUICallService/const/error.d.ts +2 -0
- package/types/TUICallService/const/index.d.ts +27 -0
- package/types/TUICallService/const/log.d.ts +7 -0
- package/types/TUICallService/index.d.ts +5 -0
- package/types/TUICallService/interface/ICallService.d.ts +69 -0
- package/types/TUICallService/interface/ICallStore.d.ts +47 -0
- package/types/TUICallService/interface/ITUIGlobal.d.ts +36 -0
- package/types/TUICallService/interface/ITUIStore.d.ts +83 -0
- package/types/TUICallService/interface/index.d.ts +4 -0
- package/types/TUICallService/locales/en.d.ts +128 -0
- package/types/TUICallService/locales/index.d.ts +10 -0
- package/types/TUICallService/locales/ja_JP.d.ts +127 -0
- package/types/TUICallService/locales/zh-cn.d.ts +123 -0
- package/types/TUICallService/serve/callManager.d.ts +11 -0
- package/types/TUICallService/utils/common-utils.d.ts +62 -0
- package/types/TUICallService/utils/decorators/promise-retry.d.ts +32 -0
- package/types/TUICallService/utils/env.d.ts +10 -0
- package/types/TUICallService/utils/index.d.ts +2 -0
- package/types/TUICallService/utils/is-empty.d.ts +2 -0
- package/types/TUICallService/utils/retry.d.ts +36 -0
- package/types/TUICallService/utils/timer.d.ts +64 -0
- package/types/TUICallService/utils/validate/avoidRepeatedCall.d.ts +10 -0
- package/types/TUICallService/utils/validate/index.d.ts +2 -0
- package/types/TUICallService/utils/validate/validateConfig.d.ts +188 -0
- package/types/TUICallService/utils/validate/validateParams.d.ts +1 -0
- package/types/TUICallService/utils/validate/validateStatus.d.ts +5 -0
- package/types/adapter-vue.d.ts +2 -0
- package/types/index.d.ts +11 -0
- package/types/tsconfig.tsbuildinfo +1 -0
package/package.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@trtc/calls-uikit-vue2",
|
|
3
|
+
"version": "4.1.0",
|
|
4
|
+
"main": "./tuicall-uikit-vue2.umd.js",
|
|
5
|
+
"module": "./tuicall-uikit-vue2.es.js",
|
|
6
|
+
"types": "./types/index.d.ts",
|
|
7
|
+
"description": "An Open-source Voice & Video Calling UI Component Based on Tencent Cloud Service.",
|
|
8
|
+
"homepage": "https://cloud.tencent.com/document/product/647/78731",
|
|
9
|
+
"license": "ISC",
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "https://github.com/tencentyun/TUICallKit.git",
|
|
13
|
+
"directory": "Web"
|
|
14
|
+
},
|
|
15
|
+
"dependencies": {
|
|
16
|
+
"@tencentcloud/chat": "^3.5.2",
|
|
17
|
+
"@tencentcloud/tui-core": "latest",
|
|
18
|
+
"@trtc/call-engine-lite-js": "~3.4.0",
|
|
19
|
+
"@tencentcloud/lite-chat": "^1.4.1"
|
|
20
|
+
},
|
|
21
|
+
"bugs": {
|
|
22
|
+
"url": "https://github.com/tencentyun/TUICallKit/issues"
|
|
23
|
+
},
|
|
24
|
+
"keywords": [
|
|
25
|
+
"call",
|
|
26
|
+
"video call",
|
|
27
|
+
"audio call",
|
|
28
|
+
"callkit",
|
|
29
|
+
"uikit",
|
|
30
|
+
"call uikit",
|
|
31
|
+
"video",
|
|
32
|
+
"audio",
|
|
33
|
+
"TRTC",
|
|
34
|
+
"camera",
|
|
35
|
+
"microphone",
|
|
36
|
+
"webrtc",
|
|
37
|
+
"real-time communication",
|
|
38
|
+
"javascript",
|
|
39
|
+
"rtc",
|
|
40
|
+
"@trtc/calls-uikit-vue2"
|
|
41
|
+
]
|
|
42
|
+
}
|
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div v-if="callInfoContextValue.callStatus !== CallStatus.IDLE" :style="[{ visibility: floatWindowContextValue.isFloatWindow ? 'hidden' : '' }]" id="tuicallkit-id" :class="[bodyStyle, miniMizedDeskStyle, mobileVideoStyle, mobileAudioStyle]">
|
|
3
|
+
<SingleCall v-if="!callInfoContextValue.isGroupCall" class="singCall"></SingleCall>
|
|
4
|
+
<GroupCall v-else class="singCall"></GroupCall>
|
|
5
|
+
</div>
|
|
6
|
+
</template>
|
|
7
|
+
|
|
8
|
+
<script lang="ts" setup>
|
|
9
|
+
import { ref, onMounted, reactive, onUnmounted, toRefs, watchEffect, provide } from '../adapter-vue';
|
|
10
|
+
import SingleCall from './components/SingleCall/SingleCall.vue';
|
|
11
|
+
import GroupCall from './components/GroupCall/GroupCall.vue';
|
|
12
|
+
import { PermitTip } from './components/common/PermitTip/PermitTip';
|
|
13
|
+
import { Toast } from './components/common/Toast';
|
|
14
|
+
import { TUIGlobal, TUIStore, StoreName, TUICallKitAPI, NAME, CallStatus, CallMediaType, VideoDisplayMode, VideoResolution } from '../TUICallService/index';
|
|
15
|
+
import {
|
|
16
|
+
CallInfoContextKey,
|
|
17
|
+
CallerUserInfoContextKey,
|
|
18
|
+
UserInfoExcludeVolumeContextKey,
|
|
19
|
+
FloatWindowContextKey,
|
|
20
|
+
TCallerUserInfoValue,
|
|
21
|
+
TFloatWindowContextValue,
|
|
22
|
+
CustomUIConfigContextKey,
|
|
23
|
+
translateContextKey,
|
|
24
|
+
} from './context';
|
|
25
|
+
import { isEmpty } from './util/isEmpty';
|
|
26
|
+
const isMobile = !TUIGlobal.isPC;
|
|
27
|
+
const bodyStyle = isMobile ? 'TUICallKit-mobile transition-animation' : 'TUICallKit-desktop';
|
|
28
|
+
const miniMizedDeskStyle = ref('');
|
|
29
|
+
const mobileAudioStyle = ref('');
|
|
30
|
+
const mobileVideoStyle = ref('');
|
|
31
|
+
const isShowFloatWindow = ref(false);
|
|
32
|
+
const props = withDefaults(
|
|
33
|
+
defineProps<{
|
|
34
|
+
beforeCalling?: (...args: any[]) => void;
|
|
35
|
+
afterCalling?: (...args: any[]) => void;
|
|
36
|
+
onMinimized?: (...args: any[]) => void;
|
|
37
|
+
onMessageSentByMe?: (...args: any[]) => void;
|
|
38
|
+
kickedOut?: (...args: any[]) => void;
|
|
39
|
+
statusChanged?: (...args: any[]) => void;
|
|
40
|
+
allowedMinimized?: boolean;
|
|
41
|
+
allowedFullScreen?: boolean;
|
|
42
|
+
videoDisplayMode?: string;
|
|
43
|
+
videoResolution?: string;
|
|
44
|
+
}>(),
|
|
45
|
+
{
|
|
46
|
+
allowedMinimized: false,
|
|
47
|
+
allowedFullScreen: true,
|
|
48
|
+
videoDisplayMode: VideoDisplayMode.COVER,
|
|
49
|
+
videoResolution: VideoResolution.RESOLUTION_720P,
|
|
50
|
+
},
|
|
51
|
+
);
|
|
52
|
+
|
|
53
|
+
const callStatus = ref(TUIStore.getData(StoreName.CALL, NAME.CALL_STATUS));
|
|
54
|
+
const callRole = ref(TUIStore.getData(StoreName.CALL, NAME.CALL_ROLE));
|
|
55
|
+
const callType = ref(TUIStore.getData(StoreName.CALL, NAME.CALL_MEDIA_TYPE));
|
|
56
|
+
const isGroupCall = ref(TUIStore.getData(StoreName.CALL, NAME.IS_GROUP));
|
|
57
|
+
const isEarPhone = ref(TUIStore.getData(StoreName.CALL, NAME.IS_EAR_PHONE));
|
|
58
|
+
const focusElement = ref(null);
|
|
59
|
+
const localUserInfoExcludeVolume = ref(TUIStore.getData(StoreName.CALL, NAME.LOCAL_USER_INFO_EXCLUDE_VOLUMN));
|
|
60
|
+
const remoteUserListExcludeVolume = ref(TUIStore.getData(StoreName.CALL, NAME.REMOTE_USER_INFO_EXCLUDE_VOLUMN_LIST));
|
|
61
|
+
const callerUserInfo = ref(TUIStore.getData(StoreName.CALL, NAME.CALLER_USER_INFO));
|
|
62
|
+
const isFloatWindow = ref(TUIStore.getData(StoreName.CALL, NAME.IS_MINIMIZED));
|
|
63
|
+
const enableVirtualBackground = ref(TUIStore.getData(StoreName.CALL, NAME.ENABLE_VIRTUAL_BACKGROUND));
|
|
64
|
+
const isShowEnableVirtualBackground = ref(TUIStore.getData(StoreName.CALL, NAME.IS_SHOW_ENABLE_VIRTUAL_BACKGROUND));
|
|
65
|
+
const customUIConfigContextValue = ref(TUIStore.getData(StoreName.CALL, NAME.CUSTOM_UI_CONFIG));
|
|
66
|
+
const isMuteSpeaker = ref(TUIStore.getData(StoreName.CALL, NAME.IS_MUTE_SPEAKER));
|
|
67
|
+
const translate = ref(TUIStore.getData(StoreName.CALL, NAME.TRANSLATE));
|
|
68
|
+
const callInfoContextValue = reactive({
|
|
69
|
+
callStatus,
|
|
70
|
+
callRole,
|
|
71
|
+
callType,
|
|
72
|
+
isGroupCall,
|
|
73
|
+
isEarPhone,
|
|
74
|
+
focusElement,
|
|
75
|
+
allowedFullScreen: props.allowedFullScreen,
|
|
76
|
+
enableVirtualBackground,
|
|
77
|
+
isShowEnableVirtualBackground,
|
|
78
|
+
isMuteSpeaker,
|
|
79
|
+
});
|
|
80
|
+
const callerUserInfoValue: TCallerUserInfoValue = reactive({ callerUserInfo });
|
|
81
|
+
const userInfoExcludeVolumeContextValue = reactive({
|
|
82
|
+
localUserInfoExcludeVolume,
|
|
83
|
+
remoteUserListExcludeVolume,
|
|
84
|
+
});
|
|
85
|
+
const floatWindowContextValue: TFloatWindowContextValue = reactive({ isFloatWindow });
|
|
86
|
+
const translateContextValue = ref(translate);
|
|
87
|
+
|
|
88
|
+
const {
|
|
89
|
+
beforeCalling,
|
|
90
|
+
afterCalling,
|
|
91
|
+
onMinimized,
|
|
92
|
+
onMessageSentByMe,
|
|
93
|
+
videoDisplayMode,
|
|
94
|
+
videoResolution,
|
|
95
|
+
kickedOut,
|
|
96
|
+
statusChanged,
|
|
97
|
+
allowedMinimized,
|
|
98
|
+
} = toRefs(props);
|
|
99
|
+
|
|
100
|
+
const handleCallStatusChange = (value) => {
|
|
101
|
+
callInfoContextValue.callStatus = value;
|
|
102
|
+
};
|
|
103
|
+
const handleIsGroupChange = (value) => {
|
|
104
|
+
callInfoContextValue.isGroupCall = value;
|
|
105
|
+
};
|
|
106
|
+
const handleToastInfoChange = (value) => {
|
|
107
|
+
if (typeof value === 'object') {
|
|
108
|
+
const { content, type = 'info' } = value;
|
|
109
|
+
!isEmpty(content) && showToast(translate.value(content), type);
|
|
110
|
+
}
|
|
111
|
+
};
|
|
112
|
+
|
|
113
|
+
const handleCallMediaTypeChange = (value) => {
|
|
114
|
+
callInfoContextValue.callType = value;
|
|
115
|
+
if (isMobile && isShowFloatWindow.value) {
|
|
116
|
+
mobileVideoStyle.value = 'miniMized-mobile-audio';
|
|
117
|
+
mobileAudioStyle.value = '';
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
if (isMobile && !isShowFloatWindow.value) {
|
|
121
|
+
mobileAudioStyle.value = 'mobile-audio';
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
|
|
125
|
+
const handleIsMinimizedChange = (value) => {
|
|
126
|
+
floatWindowContextValue.isFloatWindow = value;
|
|
127
|
+
// 开启悬浮窗
|
|
128
|
+
if (value) {
|
|
129
|
+
if (!isMobile) {
|
|
130
|
+
miniMizedDeskStyle.value = 'miniMized';
|
|
131
|
+
} else {
|
|
132
|
+
if (callInfoContextValue.callType === CallMediaType.AUDIO) {
|
|
133
|
+
mobileAudioStyle.value = 'miniMized-mobile-audio';
|
|
134
|
+
} else {
|
|
135
|
+
mobileVideoStyle.value = 'miniMized-mobile-video';
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
} else {
|
|
139
|
+
// 关闭悬浮窗
|
|
140
|
+
mobileAudioStyle.value = 'mobile-audio';
|
|
141
|
+
miniMizedDeskStyle.value = '';
|
|
142
|
+
mobileVideoStyle.value = '';
|
|
143
|
+
}
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
const handlePermissionErrorTipChange = (data) => {
|
|
147
|
+
if (data && TUIGlobal.isPC) {
|
|
148
|
+
try {
|
|
149
|
+
PermitTip.show();
|
|
150
|
+
} catch (error) {
|
|
151
|
+
console.debug(error);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
};
|
|
155
|
+
const handleCallRoleChange = (value) => {
|
|
156
|
+
callInfoContextValue.callRole = value;
|
|
157
|
+
};
|
|
158
|
+
const handleLocalUserInfoChange = (value) => {
|
|
159
|
+
userInfoExcludeVolumeContextValue.localUserInfoExcludeVolume = value;
|
|
160
|
+
};
|
|
161
|
+
const handleRemoteUserInfoListChange = (value) => {
|
|
162
|
+
userInfoExcludeVolumeContextValue.remoteUserListExcludeVolume = [...value];
|
|
163
|
+
};
|
|
164
|
+
const handleCallerUserInfoChange = (value) => {
|
|
165
|
+
callerUserInfoValue.callerUserInfo = value;
|
|
166
|
+
};
|
|
167
|
+
const handEarPhoneChange = (value) => {
|
|
168
|
+
callInfoContextValue.isEarPhone = value;
|
|
169
|
+
};
|
|
170
|
+
const handleEnableVirtualBackgroundChange = (value) => {
|
|
171
|
+
callInfoContextValue.enableVirtualBackground = value;
|
|
172
|
+
};
|
|
173
|
+
const handleIsShowEnableVirtualBackgroundChange = (value) => {
|
|
174
|
+
callInfoContextValue.isShowEnableVirtualBackground = value;
|
|
175
|
+
};
|
|
176
|
+
const handleCustomUIConfigChange = (value) => {
|
|
177
|
+
customUIConfigContextValue.value = value;
|
|
178
|
+
};
|
|
179
|
+
const handleMuteSpeakerChange = (value) => {
|
|
180
|
+
callInfoContextValue.isMuteSpeaker = value;
|
|
181
|
+
};
|
|
182
|
+
const handleTranslateChange = (value) => {
|
|
183
|
+
translate.value = value;
|
|
184
|
+
};
|
|
185
|
+
|
|
186
|
+
watchEffect(() => {
|
|
187
|
+
TUICallKitAPI.setCallback({
|
|
188
|
+
beforeCalling: beforeCalling && beforeCalling.value,
|
|
189
|
+
afterCalling: afterCalling && afterCalling.value,
|
|
190
|
+
onMinimized: onMinimized && onMinimized.value,
|
|
191
|
+
onMessageSentByMe: onMessageSentByMe && onMessageSentByMe.value,
|
|
192
|
+
kickedOut: kickedOut && kickedOut.value,
|
|
193
|
+
statusChanged: statusChanged && statusChanged.value,
|
|
194
|
+
});
|
|
195
|
+
});
|
|
196
|
+
|
|
197
|
+
const watchOptions = {
|
|
198
|
+
[NAME.CALL_STATUS]: handleCallStatusChange,
|
|
199
|
+
[NAME.IS_GROUP]: handleIsGroupChange,
|
|
200
|
+
[NAME.TOAST_INFO]: handleToastInfoChange,
|
|
201
|
+
[NAME.CALL_MEDIA_TYPE]: handleCallMediaTypeChange,
|
|
202
|
+
[NAME.SHOW_PERMISSION_TIP]: handlePermissionErrorTipChange,
|
|
203
|
+
[NAME.CALL_ROLE]: handleCallRoleChange,
|
|
204
|
+
[NAME.LOCAL_USER_INFO_EXCLUDE_VOLUMN]: handleLocalUserInfoChange,
|
|
205
|
+
[NAME.REMOTE_USER_INFO_EXCLUDE_VOLUMN_LIST]: handleRemoteUserInfoListChange,
|
|
206
|
+
[NAME.CALLER_USER_INFO]: handleCallerUserInfoChange,
|
|
207
|
+
[NAME.IS_EAR_PHONE]: handEarPhoneChange,
|
|
208
|
+
[NAME.ENABLE_VIRTUAL_BACKGROUND]: handleEnableVirtualBackgroundChange,
|
|
209
|
+
[NAME.IS_SHOW_ENABLE_VIRTUAL_BACKGROUND]: handleIsShowEnableVirtualBackgroundChange,
|
|
210
|
+
[NAME.CUSTOM_UI_CONFIG]: handleCustomUIConfigChange,
|
|
211
|
+
[NAME.IS_MUTE_SPEAKER]: handleMuteSpeakerChange,
|
|
212
|
+
[NAME.TRANSLATE]: handleTranslateChange,
|
|
213
|
+
};
|
|
214
|
+
|
|
215
|
+
onMounted(() => {
|
|
216
|
+
if(allowedMinimized.value){
|
|
217
|
+
TUICallKitAPI.enableFloatWindow(allowedMinimized.value)
|
|
218
|
+
}
|
|
219
|
+
TUICallKitAPI.setVideoDisplayMode(videoDisplayMode.value as any);
|
|
220
|
+
TUICallKitAPI.setVideoResolution(videoResolution.value as any);
|
|
221
|
+
TUIStore.watch(
|
|
222
|
+
StoreName.CALL,
|
|
223
|
+
watchOptions,
|
|
224
|
+
{
|
|
225
|
+
notifyRangeWhenWatch: NAME.MYSELF,
|
|
226
|
+
},
|
|
227
|
+
);
|
|
228
|
+
TUIStore.watch(StoreName.CALL, {
|
|
229
|
+
[NAME.IS_MINIMIZED]: handleIsMinimizedChange,
|
|
230
|
+
});
|
|
231
|
+
});
|
|
232
|
+
|
|
233
|
+
function showToast(value: string, type: string) {
|
|
234
|
+
switch (type) {
|
|
235
|
+
case 'info':
|
|
236
|
+
Toast?.info(value as any);
|
|
237
|
+
break;
|
|
238
|
+
case 'error':
|
|
239
|
+
Toast?.error(value as any);
|
|
240
|
+
break;
|
|
241
|
+
default:
|
|
242
|
+
break;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
onUnmounted(async () => {
|
|
247
|
+
TUIStore.unwatch(StoreName.CALL, {
|
|
248
|
+
...watchOptions,
|
|
249
|
+
[NAME.IS_MINIMIZED]: handleIsMinimizedChange,
|
|
250
|
+
});
|
|
251
|
+
});
|
|
252
|
+
|
|
253
|
+
provide(CallInfoContextKey, callInfoContextValue);
|
|
254
|
+
provide(CallerUserInfoContextKey, callerUserInfoValue);
|
|
255
|
+
provide(UserInfoExcludeVolumeContextKey, userInfoExcludeVolumeContextValue);
|
|
256
|
+
provide(FloatWindowContextKey, floatWindowContextValue);
|
|
257
|
+
provide(CustomUIConfigContextKey, customUIConfigContextValue);
|
|
258
|
+
provide(translateContextKey, translateContextValue);
|
|
259
|
+
</script>
|
|
260
|
+
|
|
261
|
+
<style lang="scss">
|
|
262
|
+
.TUICallKit-mobile {
|
|
263
|
+
width: 100%;
|
|
264
|
+
height: 100%;
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
.singCall {
|
|
268
|
+
width: 100%;
|
|
269
|
+
height: 100%;
|
|
270
|
+
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.transition-animation {
|
|
275
|
+
transform: translateY(-100%);
|
|
276
|
+
animation: slideInDown 0.5s ease forwards;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
@keyframes slideInDown {
|
|
280
|
+
from {
|
|
281
|
+
transform: translateY(-100%);
|
|
282
|
+
}
|
|
283
|
+
to {
|
|
284
|
+
transform: translateY(0);
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.TUICallKit-desktop {
|
|
289
|
+
margin: 0 auto;
|
|
290
|
+
position: relative;
|
|
291
|
+
position: relative;
|
|
292
|
+
border-radius: inherit;
|
|
293
|
+
width: 100%;
|
|
294
|
+
height: 100%;
|
|
295
|
+
color: white;
|
|
296
|
+
display: flex;
|
|
297
|
+
flex-direction: column;
|
|
298
|
+
justify-content: center;
|
|
299
|
+
overflow: hidden;
|
|
300
|
+
z-index: 12;
|
|
301
|
+
border-radius: 16px;
|
|
302
|
+
|
|
303
|
+
.singCall {
|
|
304
|
+
width: 100%;
|
|
305
|
+
height: 100%;
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.mobile-audio {
|
|
310
|
+
background-color: white;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
.miniMized {
|
|
314
|
+
width: 168px !important;
|
|
315
|
+
height: 56px !important;
|
|
316
|
+
overflow: visible !important;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
.miniMized-mobile-audio {
|
|
320
|
+
width: 72px;
|
|
321
|
+
height: 72px;
|
|
322
|
+
position: fixed;
|
|
323
|
+
top: 40px;
|
|
324
|
+
right: 40px;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.miniMized-mobile-video {
|
|
328
|
+
width: 40%;
|
|
329
|
+
height: 30%;
|
|
330
|
+
position: fixed;
|
|
331
|
+
top: 40px;
|
|
332
|
+
right: 40px;
|
|
333
|
+
}
|
|
334
|
+
</style>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.73708 12.9963C8.71266 12.8344 8.7 12.6687 8.7 12.5V6C8.7 4.17746 10.1775 2.7 12 2.7C13.5488 2.7 14.8484 3.76695 15.2038 5.20592L16.4458 3.70974C15.615 2.10033 13.936 1 12 1C9.23858 1 7 3.23858 7 6V12.5C7 13.2333 7.15786 13.9297 7.44145 14.5572L8.73708 12.9963ZM11.3385 15.7337L10.1618 17.1513C10.7308 17.3763 11.3509 17.5 12 17.5C14.7614 17.5 17 15.2614 17 12.5V8.9133L15.3 10.9613V12.5C15.3 14.3225 13.8225 15.8 12 15.8C11.7734 15.8 11.5522 15.7772 11.3385 15.7337ZM5.96519 16.3356C5.25933 15.2273 4.85039 13.9114 4.85039 12.5V11H3.15039V12.5C3.15039 14.4416 3.77562 16.2371 4.83572 17.6963L5.96519 16.3356ZM7.63218 20.1986L8.7394 18.8647C9.71718 19.3667 10.8257 19.65 12.0004 19.65C15.9492 19.65 19.1504 16.4488 19.1504 12.5V11H20.8504V12.5C20.8504 17.0498 17.4171 20.7976 13 21.2942V24H11V21.2941C9.78613 21.1575 8.64658 20.7754 7.63218 20.1986Z" fill="#fff" />
|
|
3
|
+
<path d="M5.73682 19.5513L18.2667 4.46371" stroke="#ED414D" style="stroke:#ED414D;stroke:color(display-p3 0.9292 0.2555 0.3004);stroke-opacity:1;" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
</svg>
|
|
5
|
+
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
|
|
2
|
+
<rect x="11" y="20" width="2" height="4" fill="#fff" />
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.1499 11V12.5C3.1499 17.3877 7.11218 21.35 11.9999 21.35C16.8876 21.35 20.8499 17.3877 20.8499 12.5V11H19.1499V12.5C19.1499 16.4488 15.9487 19.65 11.9999 19.65C8.05107 19.65 4.8499 16.4488 4.8499 12.5V11H3.1499Z" fill="#fff"/>
|
|
4
|
+
<rect x="7.85" y="1.85" width="8.3" height="14.8" rx="4.15" stroke="#fff" stroke-width="1.7"/>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" width="32" height="32"><path d="m557.2 512 233.4-233.4c12.5-12.5 12.5-32.8 0-45.2s-32.8-12.5-45.2 0L512 466.8 278.6 233.4c-12.5-12.5-32.8-12.5-45.2 0s-12.5 32.8 0 45.2L466.8 512 233.4 745.4c-12.5 12.5-12.5 32.8 0 45.2 6.2 6.2 14.4 9.4 22.6 9.4s16.4-3.1 22.6-9.4L512 557.2l233.4 233.4c6.2 6.2 14.4 9.4 22.6 9.4s16.4-3.1 22.6-9.4c12.5-12.5 12.5-32.8 0-45.2L557.2 512z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" width="32" height="32"><path d="M512 97.524c228.913 0 414.476 185.563 414.476 414.476S740.913 926.476 512 926.476 97.524 740.913 97.524 512 283.087 97.524 512 97.524zM641.292 330.97 512.024 460.264 382.708 330.97l-51.737 51.737 129.317 129.268-129.317 129.316 51.737 51.737L512 563.688l129.292 129.316 51.737-51.736L563.688 512l129.316-129.292-51.736-51.737z" fill="#d54941"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" width="32" height="32"><path d="M512 97.524c228.913 0 414.476 185.563 414.476 414.476S740.913 926.476 512 926.476 97.524 740.913 97.524 512 283.087 97.524 512 97.524zm36.571 341.333H475.43V731.43h73.142V438.857zm0-121.905H475.43v73.143h73.142v-73.143z" fill="#0052d9"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" width="64" height="64"><path d="M520.665 64.564a29.244 29.244 0 0 0-7.071-.894c-16.211 0-29.35 13.14-29.35 29.35 0 15.83 12.538 28.696 28.223 29.293v.073c.375 0 .751-.014 1.127-.014 216.493 0 389.629 173.942 389.629 390.433 0 216.496-173.136 388.827-389.63 388.827s-389.63-172.333-389.63-388.829c0-.27.01-.536.01-.804h-.01c0-16.209-13.141-29.35-29.35-29.35s-29.35 13.139-29.35 29.35c0 .055.007.11.007.164-.001.214-.007.425-.007.64 0 247.609 200.722 448.331 448.33 448.331 247.607 0 448.33-200.722 448.33-448.33-.002-245.242-196.917-444.456-441.258-448.24z" fill="#fff"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" width="200" height="200"><path d="M512 97.524c228.913 0 414.476 185.563 414.476 414.476S740.913 926.476 512 926.476 97.524 740.913 97.524 512 283.087 97.524 512 97.524zm193.195 218.331L447.22 581.315 343.284 473.502l-52.663 50.762 156.38 162.23 310.661-319.683-52.467-50.956z" fill="#2ba471"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" width="32" height="32"><path d="M512 97.524c228.913 0 414.476 185.563 414.476 414.476S740.913 926.476 512 926.476 97.524 740.913 97.524 512 283.087 97.524 512 97.524zm36.571 341.333H475.43V731.43h73.142V438.857zm0-121.905H475.43v73.143h73.142v-73.143z" fill="#e37318"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="30" height="30" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#a)"><path d="M4.162 5.677C2.58 7.258 1.967 9.608 2.874 11.652a32.422 32.422 0 0 0 6.733 9.793 32.423 32.423 0 0 0 9.793 6.733c2.044.907 4.394.293 5.975-1.288l2.543-2.543a1.5 1.5 0 0 0-.073-2.19l-4.808-4.207a1.5 1.5 0 0 0-2.048.068l-2.131 2.131a.736.736 0 0 1-.932.095 26.385 26.385 0 0 1-3.9-3.218 26.385 26.385 0 0 1-3.218-3.9.736.736 0 0 1 .095-.932l2.13-2.13a1.5 1.5 0 0 0 .069-2.05L8.895 3.208a1.5 1.5 0 0 0-2.19-.073L4.162 5.677z" fill="#fff"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h30v30H0z"/></clipPath></defs></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="26" height="26" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0 1a1 1 0 0 1 1-1h24a1 1 0 0 1 1 1v24a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V1zm13 13a4.179 4.179 0 1 0 0-8.357A4.179 4.179 0 0 0 13 14zm-1.857 1.346a5.571 5.571 0 0 0-5.572 5.571v2.25a1 1 0 0 0 1 1H19.43a1 1 0 0 0 1-1v-2.25a5.571 5.571 0 0 0-5.572-5.571L13 18.019l-1.857-2.673zm-9.75-7.31 6.643-6.643h2.232l-8.875 8.875V8.036zm0 12.232v-2.233l6.642-6.641L9.15 12.51l-7.758 7.758zm23.214-5.447v2.233l-2.473 2.473-1.116-1.116 3.59-3.59zm0-10v2.233l-7.092 7.092-1.116-1.116 8.208-8.209zm-4.339-3.428-3.895 3.895-1.117-1.116 2.78-2.78h2.232z" fill="#000" style="fill:#000;fill-opacity:1"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="28" height="28" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M1 2a1 1 0 0 1 1-1h24a1 1 0 0 1 1 1v24a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2zm14.653 14.801a4.18 4.18 0 1 0-3.306 0h-.204a5.571 5.571 0 0 0-5.572 5.572v2.25a1 1 0 0 0 1 1H20.43a1 1 0 0 0 1-1v-2.25a5.571 5.571 0 0 0-5.572-5.572h-.204zm-13.26-9.18L7.62 2.393h2.232l-7.46 7.46V7.621zm0 8.13v-2.232L13.518 2.393h2.233L2.393 15.75zm0 5.898v-2.233l5.459-5.459c.062.626.217 1.224.452 1.78L2.393 21.65zM16.398 7.644a6.14 6.14 0 0 0-1.78-.452l4.798-4.8h2.233l-5.251 5.252zM2.84 24.867l1.731-1.732V25c0 .118.007.234.02.348l-.258.258a1.996 1.996 0 0 1-1.493-.739zM18.549 9.158c.36.393.672.833.923 1.31l6.134-6.135a1.996 1.996 0 0 0-.739-1.493l-6.319 6.318zm.97 6.963.125.071 5.963-5.963V7.997l-5.43 5.43a6.149 6.149 0 0 1-.659 2.694zm2.12 1.741c.346.409.65.854.903 1.33l3.065-3.065v-2.232l-3.967 3.967zm1.79 4.888v1.453l2.178-2.178v-2.233l-2.215 2.215c.024.244.037.492.037.743z" fill="#fff"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="28" height="28" fill="none" xmlns="http://www.w3.org/2000/svg"><mask id="a" fill="#fff"><path fill-rule="evenodd" clip-rule="evenodd" d="M9.952 23.334h8.881a1 1 0 0 0 1-1V11.43L9.952 23.334zM21.364 9.585l1.626-1.958 2.42-1.13a1 1 0 0 1 1.423.907v13.193a1 1 0 0 1-1.423.906l-2.952-1.378-.516-.24a1 1 0 0 1-.578-.907V9.585zm-3.5-4.918L2.367 23.334h-.201a1 1 0 0 1-1-1V5.667a1 1 0 0 1 1-1h15.696zM5.833 11.35h4.082v-1.7H5.833v1.7z"/></mask><path fill-rule="evenodd" clip-rule="evenodd" d="M9.952 23.334h8.881a1 1 0 0 0 1-1V11.43L9.952 23.334zM21.364 9.585l1.626-1.958 2.42-1.13a1 1 0 0 1 1.423.907v13.193a1 1 0 0 1-1.423.906l-2.952-1.378-.516-.24a1 1 0 0 1-.578-.907V9.585zm-3.5-4.918L2.367 23.334h-.201a1 1 0 0 1-1-1V5.667a1 1 0 0 1 1-1h15.696zM5.833 11.35h4.082v-1.7H5.833v1.7z" fill="#fff" style="fill:#fff;fill-opacity:1"/><path d="m9.952 23.334-1.308-1.086-2.313 2.786h3.62v-1.7zm9.881-11.904h1.7V6.72l-3.008 3.624 1.308 1.086zm3.157-3.803-.72-1.54-.345.161-.244.294 1.309 1.085zm-1.626 1.958L20.056 8.5l-.392.472v.614h1.7zm4.046-3.087.72 1.54-.72-1.54zm1.423.906h1.7-1.7zm0 13.193h-1.7 1.7zm-1.423.906-.719 1.54.72-1.54zm-2.952-1.378.72-1.54-.72 1.54zm-.516-.24-.72 1.54.72-1.54zm-.578-.907h-1.7 1.7zM2.368 23.334v1.7h.798l.51-.614-1.308-1.086zM17.863 4.667l1.308 1.086 2.313-2.786h-3.62v1.7zM9.916 11.35v1.7h1.7v-1.7h-1.7zm-4.083 0h-1.7v1.7h1.7v-1.7zm4.083-1.7h1.7v-1.7h-1.7v1.7zm-4.083 0v-1.7h-1.7v1.7h1.7zm13 11.984H9.952v3.4h8.881v-3.4zm-.7.7a.7.7 0 0 1 .7-.7v3.4a2.7 2.7 0 0 0 2.7-2.7h-3.4zm0-10.904v10.904h3.4V11.43h-3.4zm.392-1.086L8.644 22.248l2.616 2.171 9.881-11.903-2.616-2.172zm3.157-3.802-1.626 1.957 2.616 2.172 1.626-1.958-2.616-2.171zm3.01-1.585-2.421 1.13 1.438 3.08 2.42-1.129-1.438-3.08zm3.841 2.447c0-1.976-2.052-3.282-3.842-2.447l1.438 3.081a.7.7 0 0 1-.996-.634h3.4zm0 13.193V7.404h-3.4v13.193h3.4zm-3.842 2.447c1.79.835 3.842-.472 3.842-2.447h-3.4a.7.7 0 0 1 .996-.635l-1.438 3.082zm-2.952-1.378 2.952 1.378 1.438-3.082-2.952-1.377-1.438 3.08zm-.516-.241.516.24 1.438-3.08-.517-.241-1.437 3.08zm-1.559-2.447a2.7 2.7 0 0 0 1.559 2.447l1.438-3.081a.7.7 0 0 1 .403.634h-3.4zm0-9.393v9.393h3.4V9.585h-3.4zM3.676 24.42 19.171 5.753 16.555 3.58 1.06 22.248l2.616 2.171zm-1.308-2.785h-.201v3.4h.201v-3.4zm-.201 0a.7.7 0 0 1 .7.7h-3.4a2.7 2.7 0 0 0 2.7 2.7v-3.4zm.7.7V5.667h-3.4v16.667h3.4zm0-16.667a.7.7 0 0 1-.7.7v-3.4a2.7 2.7 0 0 0-2.7 2.7h3.4zm-.7.7h15.696v-3.4H2.166v3.4zm7.75 3.283H5.832v3.4h4.083v-3.4zm-1.7 0v1.7h3.4v-1.7h-3.4zm-2.384 1.7h4.083v-3.4H5.833v3.4zm1.7 0v-1.7h-3.4v1.7h3.4z" fill="#fff" style="fill:#fff;fill-opacity:1" mask="url(#a)"/><path d="M4.563 25.269 22.14 4.084" stroke="#fff" style="stroke:#fff;stroke-opacity:1" stroke-width="2" stroke-linecap="square" stroke-linejoin="round"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="26" height="20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.916 8.2h.85V4.8H3.984v3.4h4.933zm-7.9-6.533a.15.15 0 0 1 .15-.15h16.667a.15.15 0 0 1 .15.15v16.666a.15.15 0 0 1-.15.15H1.167a.15.15 0 0 1-.15-.15V1.667zm20.198 3.355a.15.15 0 0 1 .087-.136l3.469-1.618a.15.15 0 0 1 .213.135v13.193a.15.15 0 0 1-.213.136l-3.47-1.618a.15.15 0 0 1-.086-.136V5.022z" fill="#22262E" stroke="#22262E" stroke-width="1.7" stroke-linecap="round"/></svg>
|
|
Binary file
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.66683 9.33337H3.3335V4.00004C3.3335 3.63185 3.63197 3.33337 4.00016 3.33337L9.3335 3.33337V4.66671H5.60963L9.8049 8.86199L8.86209 9.8048L4.66683 5.60952V9.33337ZM15.3333 10.6667H16.6667V16C16.6667 16.3682 16.3682 16.6667 16 16.6667L10.6667 16.6667L10.6667 15.3333H14.3905L10.1953 11.138L11.1381 10.1952L15.3333 14.3905V10.6667Z" fill="white"/>
|
|
3
|
+
<path d="M0.666667 1.33333C0.666667 0.965144 0.965144 0.666667 1.33333 0.666667H18.6667C19.0349 0.666667 19.3333 0.965144 19.3333 1.33333V18.6667C19.3333 19.0349 19.0349 19.3333 18.6667 19.3333H1.33333C0.965143 19.3333 0.666667 19.0349 0.666667 18.6667V1.33333Z" stroke="white" stroke-width="1.33333"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg t="1708400849531" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8267" width="200" height="200"><path d="M121.51 460.15h779.64v100.6H121.51z" p-id="8268" fill="#ffffff"></path><path d="M461.035 900.271v-779.64h100.6v779.64z" p-id="8269" fill="#ffffff"></path></svg>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<rect x="0.769231" y="0.769231" width="18.4615" height="18.4615" rx="0.769231" stroke="white" stroke-width="1.53846"/>
|
|
3
|
+
<path d="M11.5385 12.3077C11.5385 11.8829 11.8829 11.5385 12.3077 11.5385H19.2308V18.4615C19.2308 18.8864 18.8864 19.2308 18.4616 19.2308H11.5385V12.3077Z" stroke="white" stroke-width="1.53846"/>
|
|
4
|
+
<path d="M0.769287 0.769226L8.9723 8.92412" stroke="white" stroke-width="1.53846"/>
|
|
5
|
+
<path d="M9.4967 4.71716V9.4486H4.74146" stroke="white" stroke-width="1.53846" stroke-linecap="round" stroke-linejoin="round"/>
|
|
6
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="30" height="30" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M30 16.05c0-2.235-1.228-4.33-3.314-5.135A32.423 32.423 0 0 0 15 8.751c-4.12 0-8.06.766-11.685 2.164C1.228 11.719 0 13.815 0 16.051v3.597a1.5 1.5 0 0 0 1.6 1.496l6.375-.425a1.5 1.5 0 0 0 1.4-1.496v-3.014c0-.353.245-.659.591-.726A26.382 26.382 0 0 1 15 15.001c1.722 0 3.404.166 5.034.482a.736.736 0 0 1 .591.726v3.014a1.5 1.5 0 0 0 1.4 1.496l6.375.425a1.5 1.5 0 0 0 1.6-1.496V16.05z" fill="#fff"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="30" height="30" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M8.75 7.5a6.25 6.25 0 0 1 11.133-3.902L8.873 16.862a6.28 6.28 0 0 1-.123-1.237V7.5zM6.806 19.352A8.967 8.967 0 0 1 6 15.625V13.75H4v1.875c0 1.963.514 3.806 1.416 5.402l1.39-1.675zm2.406 5.629 1.292-1.558A9 9 0 0 0 24 15.625v-1.874h2v1.875c0 5.738-4.393 10.45-10 10.955V30h-2v-3.42a10.934 10.934 0 0 1-4.788-1.6zm3.086-3.719 8.952-10.784v5.147a6.25 6.25 0 0 1-8.952 5.637z" fill="#fff" style="fill:#fff;fill-opacity:1"/><path d="M6.419 24.084 22.094 5.209" stroke="#fff" style="stroke:#fff;stroke-opacity:1" stroke-width="2" stroke-linecap="square" stroke-linejoin="round"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="30" height="30" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M4 15.625V13.75h2v1.875a9 9 0 1 0 18 0V13.75h2v1.875c0 5.738-4.393 10.45-10 10.955V30h-2v-3.42c-5.607-.505-10-5.217-10-10.955z" fill="#22262E"/><rect x="8.75" y="1.25" width="12.5" height="20.625" rx="6.25" fill="#22262E"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="30" height="30" fill="none" xmlns="http://www.w3.org/2000/svg"><circle opacity=".5" cx="15" cy="15" r="15" fill="#22262E"/><path fill-rule="evenodd" clip-rule="evenodd" d="M9.484 14.313a.4.4 0 0 1 .014-.565l.87-.827a.4.4 0 0 1 .566.015L15 17.216l4.066-4.28a.4.4 0 0 1 .565-.015l.87.827a.4.4 0 0 1 .015.565l-5.033 5.298a.667.667 0 0 1-.966 0l-5.033-5.298z" fill="#fff"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><g filter="url(#a)"><mask id="b" fill="#fff"><path fill-rule="evenodd" clip-rule="evenodd" d="M10.5 11.05a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9zm-2 1.45a6 6 0 0 0-6 6V21a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-2.5a6 6 0 0 0-6-6l-2 2.88-2-2.88z"/></mask><path d="m8.5 12.5 1.396-.97-.507-.73H8.5v1.7zm4 0v-1.7h-.889l-.507.73 1.396.97zm-2 2.88-1.396.969 1.396 2.01 1.396-2.01-1.396-.97zm2.8-8.83a2.8 2.8 0 0 1-2.8 2.8v3.4a6.2 6.2 0 0 0 6.2-6.2h-3.4zm-2.8-2.8a2.8 2.8 0 0 1 2.8 2.8h3.4a6.2 6.2 0 0 0-6.2-6.2v3.4zm-2.8 2.8a2.8 2.8 0 0 1 2.8-2.8V.35a6.2 6.2 0 0 0-6.2 6.2h3.4zm2.8 2.8a2.8 2.8 0 0 1-2.8-2.8H4.3a6.2 6.2 0 0 0 6.2 6.2v-3.4zM4.2 18.5a4.3 4.3 0 0 1 4.3-4.3v-3.4a7.7 7.7 0 0 0-7.7 7.7h3.4zm0 2.5v-2.5H.8V21h3.4zm-.7-.7a.7.7 0 0 1 .7.7H.8a2.7 2.7 0 0 0 2.7 2.7v-3.4zm14 0h-14v3.4h14v-3.4zm-.7.7a.7.7 0 0 1 .7-.7v3.4a2.7 2.7 0 0 0 2.7-2.7h-3.4zm0-2.5V21h3.4v-2.5h-3.4zm-4.3-4.3a4.3 4.3 0 0 1 4.3 4.3h3.4a7.7 7.7 0 0 0-7.7-7.7v3.4zm-.604 2.149 2-2.879-2.792-1.94-2 2.88 2.792 1.939zM7.104 13.47l2 2.879 2.792-1.94-2-2.879-2.792 1.94z" fill="#D5E0F2" mask="url(#b)"/></g><path d="M16 11h7m-3.5-3.5v7" stroke="#D5E0F2" stroke-width="1.7"/><defs><filter id="a" x="-5.5" y="-5.949" width="32" height="35.95" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feGaussianBlur in="BackgroundImageFix" stdDeviation="4"/><feComposite in2="SourceAlpha" operator="in" result="effect1_backgroundBlur_2584_236"/><feBlend in="SourceGraphic" in2="effect1_backgroundBlur_2584_236" result="shape"/></filter></defs></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="20" height="20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.5 4H3a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-5.5" stroke="#D5E0F2" stroke-width="1.5"/><path fill-rule="evenodd" clip-rule="evenodd" d="M11.5 3.5v5h5v-5h-5zM11 2a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1h-6z" fill="#D5E0F2"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="28" height="28" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M25.018 5.763a2 2 0 0 1 2 2v15.528a2 2 0 0 1-2 2H2.982a2 2 0 0 1-2-2V7.763a2 2 0 0 1 2-2h4.262a2 2 0 0 0 1.494-.67l1.41-1.587a2 2 0 0 1 1.495-.672h4.714a2 2 0 0 1 1.494.671l1.41 1.587a2 2 0 0 0 1.495.671h4.262zM11.723 9.585a5.907 5.907 0 0 1 2.186-.417c1.719 0 3.27.733 4.341 1.903V9.918h1.5v5.001h-1.5v-.005c-.002-2.332-1.932-4.245-4.34-4.245-.58 0-1.13.11-1.633.31l-.554-1.394zM8.25 19.919v-5h1.5c0 2.334 1.93 4.25 4.34 4.25.58 0 1.13-.111 1.633-.31l.554 1.393a5.908 5.908 0 0 1-2.186.417 5.873 5.873 0 0 1-4.341-1.903v1.153h-1.5z" fill="#fff"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="30" height="30" fill="none" xmlns="http://www.w3.org/2000/svg"><circle opacity=".5" cx="15" cy="15" r="15" fill="#22262E" style="fill:color(display-p3 .1333 .149 .1804);fill-opacity:1"/><path fill-rule="evenodd" clip-rule="evenodd" d="M20.516 17.452a.4.4 0 0 1-.014.565l-.87.827a.4.4 0 0 1-.566-.015L15 14.55l-4.066 4.28a.4.4 0 0 1-.566.015l-.87-.827a.4.4 0 0 1-.014-.565l5.033-5.298a.667.667 0 0 1 .966 0l5.033 5.298z" fill="#fff" style="fill:#fff;fill-opacity:1"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="30" height="30" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="m10.36 22.842 4.235 3.56c.697.587 1.76.091 1.76-.82V15.62l-5.995 7.223zm13.356-16.09 1.285-1.548A13.955 13.955 0 0 1 29 15c0 5.183-2.817 9.707-7 12.127l-.865.5-1.001-1.731.865-.5C24.59 23.318 27 19.44 27 15c0-3.194-1.248-6.097-3.284-8.248zm-3.278 3.95 1.288-1.553C23.14 10.613 24 12.71 24 15c0 2.869-1.35 5.433-3.445 6.832l-.831.555-1.11-1.663.83-.556C20.938 19.172 22 17.258 22 15c0-1.716-.613-3.232-1.562-4.299zm-4.082-4.22L3.928 21.456H2.252c-.592 0-1.072-.48-1.072-1.072V9.635c0-.591.478-1.07 1.069-1.072l6.073-.017c.251 0 .494-.09.687-.251l5.586-4.697c.697-.586 1.76-.091 1.76.82v2.065z" fill="#fff"/><path d="M4.564 25.268 22.14 4.084" stroke="#fff" stroke-width="2" stroke-linecap="square" stroke-linejoin="round"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="28" height="26" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="m20.135.373.866.5C25.183 3.294 28 7.818 28 13c0 5.183-2.817 9.707-7 12.127l-.865.5-1.001-1.731.865-.5C23.59 21.318 26 17.44 26 13s-2.411-8.319-6-10.395l-.866-.5L20.135.372zm-6.49 1.016a1.071 1.071 0 0 1 1.71.86V23.75c0 .881-1.003 1.386-1.71.86l-6.65-4.945a1.071 1.071 0 0 0-.639-.211H1.252c-.592 0-1.072-.48-1.072-1.072V7.634c0-.59.478-1.07 1.068-1.071l5.11-.017c.23 0 .452-.075.636-.211l6.65-4.946zm5.91 4.78-.831-.556-1.111 1.663.832.556C19.937 8.828 21 10.742 21 13c0 2.259-1.063 4.172-2.555 5.168l-.832.556 1.11 1.663.832-.555C21.65 18.432 23 15.869 23 13c0-2.869-1.35-5.433-3.445-6.832z" fill="#2E333D"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="20" height="19" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M10.302 2.09a7.164 7.164 0 0 0-8.287 7.539l-1.978.358A9.274 9.274 0 0 1 0 9.162C0 4.102 4.104 0 9.167 0c.508 0 1.007.041 1.493.12l-.358 1.97zm-.239 1.322A5.832 5.832 0 0 0 3.338 9.4l1.998-.364a3.832 3.832 0 0 1 4.37-3.655l.357-1.97zM8.181 7.218l10.445-.005a.47.47 0 0 1 .457.57l-2.287 10.186a.467.467 0 0 1-.823.19l-2.32-2.896C9.61 18.498 3.71 17.846.473 13.806c-.138-.172.049-.408.259-.339a8.44 8.44 0 0 0 7.94-1.42l1.463-1.172-2.32-2.896a.468.468 0 0 1 .365-.761z" fill="#fff" style="fill:#fff;fill-opacity:1"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="10" height="6" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M9.5 0 5 3.75.5 0v1.562l4.116 3.43.384.32.384-.32L9.5 1.562V0z" fill="#666"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="16" height="16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1.536 6.682c-.33-.955.088-1.98.9-2.581.617-.456 1.236-.916 1.589-1.178a.396.396 0 0 1 .539.062l1.925 2.264a.396.396 0 0 1 0 .513l-1.18 1.39a.388.388 0 0 0-.041.45 8.667 8.667 0 0 0 1.37 1.758c.57.57 1.12.982 1.765 1.364a.389.389 0 0 0 .45-.041l1.383-1.174a.397.397 0 0 1 .514 0l2.266 1.925c.159.135.186.37.062.538l-1.185 1.604c-.596.806-1.614 1.216-2.562.89a12.545 12.545 0 0 1-4.797-3.003 12.54 12.54 0 0 1-2.998-4.78z" fill="#1C66E5"/><path fill-rule="evenodd" clip-rule="evenodd" d="M8.889 2.133a.356.356 0 0 0-.356.356v3.685c0 .196.16.355.356.355h3.685c.196 0 .355-.159.355-.355v-.186a.32.32 0 0 1 .455-.29l.687.32a.356.356 0 0 0 .506-.322v-2.73c0-.26-.27-.432-.506-.322l-.687.32a.32.32 0 0 1-.455-.29V2.49a.356.356 0 0 0-.355-.356H8.889z" fill="#1C66E5"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" width="10" height="10"><path d="M512 466.752 86.656 41.344a32 32 0 0 0-45.312 45.312L466.752 512 41.344 937.344a32 32 0 0 0 45.312 45.312L512 557.248l425.344 425.408a32 32 0 0 0 45.312-45.312L557.248 512 982.656 86.656a32 32 0 0 0-45.312-45.312L512 466.752z" fill="#707070"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="100" height="100" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill="url(#a)" d="M-5-5h110v110H-5z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M25 71.5c0-10.264 7.93-18.676 17.998-19.443.496-.038.997-.057 1.502-.057h13c.505 0 1.006.02 1.501.057C69.07 52.824 77 61.236 77 71.5v6.783H25V71.5zM44.5 45.605a14.075 14.075 0 0 1-.205-.104c-4.704-2.431-7.92-7.34-7.92-13.001 0-8.077 6.548-14.625 14.625-14.625S65.625 24.423 65.625 32.5c0 5.66-3.216 10.57-7.92 13-.068.036-.136.07-.205.105a14.565 14.565 0 0 1-6.5 1.52c-2.335 0-4.542-.547-6.5-1.52z" fill="#D5E0F2"/><defs><linearGradient id="a" x1="73.5" y1="-5" x2="5" y2="98.5" gradientUnits="userSpaceOnUse"><stop stop-color="#7C859B"/><stop offset="1" stop-color="#747C90"/></linearGradient></defs></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" width="200" height="200"><path d="M512 170.667V256a256 256 0 1 1-223.573 131.2l-74.496-41.6A341.333 341.333 0 1 0 512 170.667z" opacity=".3"/></svg>
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16" class="design-iconfont"><path fill-rule="evenodd" clip-rule="evenodd" d="M4.828 12.476c.754.429 1.61.722 2.505.82V15c0 .184.15.334.334.334h.666c.184 0 .334-.15.334-.334v-1.703C11.54 12.98 14 10.666 14 8.273v-.592a.333.333 0 0 0-.333-.333H13a.333.333 0 0 0-.333.333v.592l-.004.12c-.095 1.76-2.265 3.605-4.659 3.607h-.008c-.77 0-1.519-.192-2.181-.51l-.987.986zm2.004-2.004c.364.12.758.186 1.168.186 1.827 0 3.333-1.303 3.333-2.932V5.97l-4.501 4.502zm4.075-8.317-6.17 6.17a2.602 2.602 0 0 1-.067-.468l-.003-.131V3.59C4.667 1.961 6.173.658 8 .658c1.24 0 2.333.601 2.907 1.497zM3.625 9.437l-.979.978c-.384-.625-.615-1.307-.643-1.999L2 8.273v-.608c0-.182.147-.33.33-.333l.664-.007a.333.333 0 0 1 .336.332l.003.616c0 .389.104.784.292 1.164z" fill="#fff"/><rect x=".61" y="13.451" width="19.013" height="1.5" rx=".75" transform="rotate(-45 .61 13.451)" fill="#FE3C44"/></svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 40 40" class="design-iconfont">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M0 20C0 8.95431 8.95431 0 20 0V0C31.0457 0 40 8.95431 40 20V20C40 31.0457 31.0457 40 20 40V40C8.95431 40 0 31.0457 0 20V20Z" fill="#19D255" />
|
|
3
|
+
<path d="M23.5397 16.9535C24.7172 18.131 25.4436 19.1544 28.0149 17.0938C30.5885 15.0308 28.5979 13.6354 27.4573 12.4955C26.1407 11.1806 21.2674 12.3951 16.4667 17.1935C11.6683 21.9919 10.4521 26.8677 11.7687 28.1844C12.9092 29.3249 14.3022 31.3156 16.3646 28.7437C18.4282 26.173 17.4041 25.446 16.2248 24.2691C15.4043 23.4444 17.1034 21.3853 18.8797 19.6066C20.656 17.8278 22.7174 16.1288 23.5397 16.9535Z" fill="white" />
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 40 40" class="design-iconfont">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
3
|
+
d="M0 20C0 8.95431 8.95431 0 20 0C31.0457 0 40 8.95431 40 20C40 31.0457 31.0457 40 20 40C8.95431 40 0 31.0457 0 20Z"
|
|
4
|
+
fill="#19D255" />
|
|
5
|
+
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
6
|
+
d="M24.0421 14.8129C23.8814 14.0792 23.3684 13.5231 22.7291 13.3902C21.6674 13.2126 20.3495 13 17.6667 13C14.7319 13 13.5011 13.2009 12.5263 13.3669C11.9235 13.5295 11.4484 14.0688 11.2926 14.7675C11.153 15.6419 11 17.8298 11 19.6667C11 21.4724 11.1481 23.6461 11.2912 24.5205C11.4519 25.2542 11.9649 25.8103 12.6042 25.9431C13.666 26.1207 14.9839 26.3333 17.6667 26.3333C20.3495 26.3333 21.6674 26.1207 22.7305 25.9522C23.3726 25.8194 23.8891 25.26 24.0512 24.5231C24.1853 23.6461 24.3333 21.4724 24.3333 19.6667C24.3333 17.8609 24.1853 15.6872 24.0421 14.8129ZM12.6667 15.5C12.6667 15.0398 13.0398 14.6667 13.5 14.6667H14.3333C14.7936 14.6667 15.1667 15.0398 15.1667 15.5C15.1667 15.9602 14.7936 16.3333 14.3333 16.3333H13.5C13.0398 16.3333 12.6667 15.9602 12.6667 15.5ZM28.5 14.6667C27.0942 14.6667 26 16.547 26 17.6429V21.6905C26 22.9804 26.8008 24.6667 28.5 24.6667C29.2858 24.6667 29.3333 21.4524 29.3333 19.6667C29.3333 17.881 29.3333 14.6667 28.5 14.6667Z"
|
|
7
|
+
fill="#fff" />
|
|
8
|
+
</svg>
|
|
Binary file
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 40 40" class="design-iconfont">
|
|
2
|
+
<rect width="40" height="40" rx="20" fill="#DADADA" fill-opacity=".3" />
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M22.7221 12.9557C22.7001 12.9496 22.6779 12.944 22.6556 12.939C21.5553 12.7392 20.1895 12.5 17.4091 12.5C14.3676 12.5 13.092 12.726 12.0818 12.9127C11.4571 13.0957 10.9647 13.7024 10.8033 14.4884C10.6585 15.4721 10.5 17.9335 10.5 20C10.5 21.7343 10.6118 23.7703 10.7369 24.9409L22.7221 12.9557ZM12.755 27.1654C13.7704 27.3355 15.1033 27.5 17.4091 27.5C20.1658 27.5 21.5319 27.2649 22.6289 27.0761L22.6571 27.0712C23.3225 26.9218 23.8578 26.2925 24.0258 25.4634C24.1647 24.4769 24.3182 22.0315 24.3182 20C24.3182 18.5797 24.2432 16.957 24.1473 15.773L12.755 27.1654ZM13.0606 14.375C12.6004 14.375 12.2273 14.7481 12.2273 15.2083V15.4167C12.2273 15.8769 12.6004 16.25 13.0606 16.25H13.9848C14.4451 16.25 14.8182 15.8769 14.8182 15.4167V15.2083C14.8182 14.7481 14.4451 14.375 13.9848 14.375H13.0606ZM26.0455 17.7232C26.0455 16.4904 27.1794 14.375 28.6364 14.375C29.5 14.375 29.5 17.9911 29.5 20C29.5 22.0089 29.4508 25.625 28.6364 25.625C26.8754 25.625 26.0455 23.7279 26.0455 22.2768V17.7232Z" fill="#fff" />
|
|
4
|
+
<rect x="24.8574" y="11.8564" width="1.5" height="22" rx=".75" transform="rotate(45 24.8574 11.8564)" fill="#FE3C44" />
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 40 40" class="design-iconfont">
|
|
2
|
+
<rect width="40" height="40" rx="20" fill="#DADADA" fill-opacity=".3" />
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
4
|
+
d="M24.0164 14.5395C23.8498 13.7141 23.3182 13.0884 22.6556 12.939C21.5553 12.7392 20.1895 12.5 17.4091 12.5C14.3676 12.5 13.092 12.726 12.0818 12.9127C11.4571 13.0957 10.9647 13.7024 10.8033 14.4884C10.6585 15.4721 10.5 17.9335 10.5 20C10.5 22.0315 10.6535 24.4769 10.8018 25.4605C10.9684 26.2859 11.5 26.9116 12.1625 27.061C13.2629 27.2608 14.6287 27.5 17.4091 27.5C20.1895 27.5 21.5553 27.2608 22.6571 27.0712C23.3225 26.9218 23.8578 26.2925 24.0258 25.4634C24.1647 24.4769 24.3182 22.0315 24.3182 20C24.3182 17.9685 24.1647 15.5231 24.0164 14.5395ZM12.2273 15.2083C12.2273 14.7481 12.6004 14.375 13.0606 14.375H13.9848C14.4451 14.375 14.8182 14.7481 14.8182 15.2083V15.4167C14.8182 15.8769 14.4451 16.25 13.9848 16.25H13.0606C12.6004 16.25 12.2273 15.8769 12.2273 15.4167V15.2083ZM28.6364 14.375C27.1794 14.375 26.0455 16.4904 26.0455 17.7232V22.2768C26.0455 23.7279 26.8754 25.625 28.6364 25.625C29.4508 25.625 29.5 22.0089 29.5 20C29.5 17.9911 29.5 14.375 28.6364 14.375Z"
|
|
5
|
+
fill="#fff" />
|
|
6
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="26" height="26" viewBox="0 0 26 26" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M18.4437 12.449C18.4437 14.1142 18.2336 15.3515 21.5089 15.7126C24.7875 16.0737 24.3666 13.6794 24.3662 12.0669C24.3649 10.2061 20.0602 7.61895 13.2726 7.6173C6.48662 7.61735 2.1789 10.205 2.17888 12.067C2.17887 13.68 1.75621 16.0726 5.03315 15.7123C8.31009 15.3537 8.10005 14.1155 8.09837 12.4495C8.10134 11.2862 10.7587 11.0316 13.2725 11.0298C15.7863 11.0281 18.4454 11.2844 18.4437 12.449Z" fill="#FE3C44"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M2.33337 9.33331H0.333374V0.99998C0.333374 0.63179 0.631851 0.333313 1.00004 0.333313L9.33338 0.333313V2.33331H3.74758L10.0405 8.62624L8.62627 10.0404L2.33337 3.74753V9.33331ZM18.3331 11.3333H20.3331V19.6666C20.3331 20.0348 20.0347 20.3333 19.6665 20.3333L11.3331 20.3333L11.3331 18.3333H16.9189L10.626 12.0403L12.0402 10.6261L18.3331 16.919V11.3333Z" fill="#101419"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.66666 4.16668C6.66666 2.32834 8.16166 0.833344 9.99999 0.833344C11.8383 0.833344 13.3333 2.32834 13.3333 4.16668V9.16668C13.3333 11.005 11.8383 12.5 9.99999 12.5C8.16166 12.5 6.66666 11.005 6.66666 9.16668V4.16668ZM6.66666 18.3333C6.66666 17.8725 7.03999 17.5 7.49999 17.5H12.5C12.9608 17.5 13.3333 17.8725 13.3333 18.3333C13.3333 18.7942 12.9608 19.1667 12.5 19.1667H7.49999C7.03999 19.1667 6.66666 18.7942 6.66666 18.3333Z" fill="#101419"/>
|
|
3
|
+
<path d="M15.8333 8.3512V9.50825C15.8333 12.081 13.2217 15 9.99999 15C6.77833 15 4.16666 12.081 4.16666 9.50825V8.33334" stroke="#101419" stroke-width="1.66667" stroke-linecap="round"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="15" height="21" viewBox="0 0 15 21" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M14.6247 0.719168C14.1934 0.374158 13.5641 0.44408 13.2191 0.875342L10.8168 3.83203C10.1789 3.02455 9.15387 2.50004 8.00001 2.50004C6.06976 2.50004 4.50001 3.96785 4.50001 5.77276V10.6819C4.50001 10.9563 4.5363 11.2229 4.60463 11.4778L3.388 12.9752C2.98449 12.3433 2.75001 11.6522 2.75001 10.9717V9.81819L2.74319 9.71556C2.6892 9.31213 2.32108 9.00001 1.87501 9.00001C1.39176 9.00001 1.00001 9.36632 1.00001 9.81819V10.9717L1.00466 11.1761C1.05557 12.2968 1.52161 13.4016 2.26939 14.3519L0.219137 16.8753L0.146861 16.9782C-0.112977 17.4017 -0.0227767 17.9624 0.375311 18.2809C0.806573 18.6259 1.43587 18.556 1.78088 18.1247L3.71661 15.7423C3.71849 15.7437 3.72038 15.745 3.72227 15.7464L4.2997 15.0246L8.28088 10.1247L14.7809 2.12473L14.8532 2.02191C15.113 1.59834 15.0228 1.03764 14.6247 0.719168ZM7.72499 13.9446L11.5 9.22582V10.6819C11.5 12.4868 9.93026 13.9546 8.00001 13.9546C7.90746 13.9546 7.81575 13.9512 7.72499 13.9446ZM6.60445 15.3453L5.50798 16.7159C6.29225 17.0136 7.13532 17.1818 8.00001 17.1818C11.6976 17.1818 15 14.1064 15 10.9717V9.83572L14.9932 9.73309C14.9392 9.32966 14.5711 9.01754 14.125 9.01754C13.6418 9.01754 13.25 9.38385 13.25 9.83572V10.9717L13.2445 11.1527C13.1138 13.3262 10.6589 15.5455 8.00001 15.5455C7.52424 15.5455 7.05501 15.4744 6.60445 15.3453ZM5.37501 18.8637C4.89201 18.8637 4.50001 19.2294 4.50001 19.6819C4.50001 20.1343 4.89201 20.5 5.37501 20.5H10.625C11.1089 20.5 11.5 20.1343 11.5 19.6819C11.5 19.2294 11.1089 18.8637 10.625 18.8637H5.37501Z" fill="#101419"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.66683 9.33337H3.3335V4.00004C3.3335 3.63185 3.63197 3.33337 4.00016 3.33337L9.3335 3.33337V4.66671H5.60963L9.8049 8.86199L8.86209 9.8048L4.66683 5.60952V9.33337ZM15.3333 10.6667H16.6667V16C16.6667 16.3682 16.3682 16.6667 16 16.6667L10.6667 16.6667L10.6667 15.3333H14.3905L10.1953 11.138L11.1381 10.1952L15.3333 14.3905V10.6667Z" fill="white"/>
|
|
3
|
+
<path d="M0.666667 1.33333C0.666667 0.965144 0.965144 0.666667 1.33333 0.666667H18.6667C19.0349 0.666667 19.3333 0.965144 19.3333 1.33333V18.6667C19.3333 19.0349 19.0349 19.3333 18.6667 19.3333H1.33333C0.965143 19.3333 0.666667 19.0349 0.666667 18.6667V1.33333Z" stroke="white" stroke-width="1.33333"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 40 40" class="design-iconfont">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M0 20C0 8.95431 8.95431 0 20 0C31.0457 0 40 8.95431 40 20C40 31.0457 31.0457 40 20 40C8.95431 40 0 31.0457 0 20Z" fill="#FE3C44" />
|
|
3
|
+
<path d="M25.4437 20.449C25.4437 22.1142 25.2336 23.3515 28.5089 23.7126C31.7875 24.0737 31.3666 21.6794 31.3662 20.0669C31.3649 18.2061 27.0602 15.619 20.2726 15.6173C13.4866 15.6173 9.1789 18.205 9.17888 20.067C9.17887 21.68 8.75621 24.0726 12.0332 23.7123C15.3101 23.3537 15.1 22.1155 15.0984 20.4495C15.1013 19.2862 17.7587 19.0316 20.2725 19.0298C22.7863 19.0281 25.4454 19.2844 25.4437 20.449Z" fill="#fff" />
|
|
4
|
+
</svg>
|