mirror of
https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak.git
synced 2026-12-02 19:42:51 +08:00
feat(kaak): render TeamSpeak server banner
This commit is contained in:
1 parent
766a9b9b5a
commit
398a4d6c7f
24 files changed
+335
-27
No files matched your search
@@ -982,6 +982,7 @@ import VoicePerformancePanel from "../components/web-client/VoicePerformancePane
|
||||
import VoiceChannelTree from "../components/web-client/VoiceChannelTree.vue";
|
||||
import VoiceServerSwitcher from "../components/web-client/VoiceServerSwitcher.vue";
|
||||
import VoiceServerHeader from "../components/web-client/VoiceServerHeader.vue";
|
||||
import VoiceServerBanner from "../components/web-client/VoiceServerBanner.vue";
|
||||
import ScreenShareSettingsDialog from "../components/web-client/ScreenShareSettingsDialog.vue";
|
||||
import ScreenSharePlayer from "../components/web-client/ScreenSharePlayer.vue";
|
||||
import AudioDock from "../components/web-client/AudioDock.vue";
|
||||
@@ -1010,7 +1011,7 @@ import { useVoiceWebSocket, type ChannelMember, type ChatMessage } from "../comp
|
||||
import { useWebClientScreenShare } from "../composables/useWebClientScreenShare.js";
|
||||
import { useWebClientPerformance } from "../composables/useWebClientPerformance.js";
|
||||
import { useWebClientI18n } from "../composables/useWebClientI18n.js";
|
||||
import { useWebClientPublicConfig } from "../composables/useWebClientPublicConfig.js";
|
||||
import { useWebClientPublicConfig } from "../composables/useWebClientPublicConfig.js";
|
||||
import { useWebClientServerHistory } from "../composables/useWebClientServerHistory.js";
|
||||
import { getInitialLanguage, type Language } from "../i18n/web-client.js";
|
||||
import { clearLocalData as clearStoredLocalData, isLocalPersistenceAvailable, loadLocalPreferences, loadStoredIdentity, removeStoredIdentity, saveLocalPreferences, saveStoredIdentity, type FavoriteServer } from "../services/local-persistence.js";
|
||||
@@ -1788,6 +1789,11 @@ const skinPluginWidgets = {
|
||||
onSwitchServer: switchQuickServerByOpaqueId,
|
||||
"onUpdate:query": (value: string) => { channelTreeSearchQuery.value = value; },
|
||||
}),
|
||||
"voice.server-banner": () => h(VoiceServerBanner, {
|
||||
bannerUrl: voiceServerInfo.value?.bannerUrl ?? null,
|
||||
welcomeMessage: voiceServerInfo.value?.welcomeMessage ?? "",
|
||||
t,
|
||||
}),
|
||||
"voice.channel-tree": (options?: SkinPluginWidgetOptions) => h(VoiceChannelTree, {
|
||||
channels: channelTree.value,
|
||||
currentChannelId: currentChannel.value?.id,
|
||||
|
||||
Reference in new issue
Block a user