Files
WebSpeak-client-for-TeamSpeak/docs/examples/ts3-classic-console/components.json
T
OddTurtleHead 25b0a01ae7 feat(skins): bundle the Classic 4.1.16 skin with the client
Add Classic (community.ts3-classic-console) as a bundled skin next to KAAK: example sources under docs/examples/ts3-classic-console, a reproducible skin:classic:build script that also packs chrome.json and writes identical archives to docs/examples/ and web/public/skins/, a built-in catalog entry and bundled package URL, and admin registry protection against replace, disable and delete. Classic stays outside the official consent-free skin list, so visitors without instance consent still see only Day, Night and ILLUSIA.
2026-12-04 13:43:49 +08:00

909 lines
35 KiB
JSON

{
"schemaVersion": 3,
"components": [
{
"id": "ts3-home-console",
"name": "TS3 Legacy connection console",
"page": "home",
"mode": "surface",
"accessibleName": "WebSpeak connection console",
"permissions": [
"ui.surface.replace",
"session.status.read",
"voice.connect"
],
"actions": {},
"root": {
"tag": "main",
"part": "ts-home",
"children": [
{
"tag": "div",
"className": "ts-home",
"children": [
{
"tag": "div",
"part": "ts-toolbar",
"className": "ts-toolbar",
"attributes": {
"role": "toolbar",
"aria-label": "{{skin.messages.toolbar.homeNote}}"
},
"children": [
{
"widget": "home.social-links",
"part": "ts-tool-admin",
"className": "ts-tool-admin",
"options": { "communityLinks": false }
},
{
"tag": "span",
"className": "ts-toolbar-brand",
"children": [
{
"tag": "span",
"className": "ts-toolbar-mark",
"attributes": {
"aria-hidden": "true"
}
},
{
"tag": "span",
"className": "ts-toolbar-note",
"children": [
{
"text": "{{skin.messages.toolbar.homeNote}}"
}
]
}
]
},
{
"tag": "span",
"className": "ts-toolbar-spacer",
"attributes": {
"aria-hidden": "true"
}
},
{
"tag": "span",
"part": "ts-recovery-slot",
"className": "ts-recovery-slot",
"attributes": { "aria-hidden": "true" }
},
{
"widget": "app.language-switcher",
"part": "ts-language",
"className": "ts-language"
},
{
"widget": "app.skin-switcher",
"part": "ts-skin",
"className": "ts-skin"
},
{
"tag": "span",
"className": "ts-toolbar-edition",
"children": [
{
"text": "{{skin.messages.shell.edition}}"
}
]
}
]
},
{
"tag": "div",
"part": "ts-home-body",
"className": "ts-home-body",
"children": [
{
"tag": "section",
"part": "ts-home-main",
"className": "ts-home-main",
"attributes": {
"aria-label": "{{skin.messages.home.windowTitle}}"
},
"children": [
{
"tag": "div",
"className": "ts-connect-window",
"children": [
{
"tag": "div",
"className": "ts-window-titlebar",
"children": [
{
"tag": "span",
"className": "ts-window-icon",
"attributes": {
"aria-hidden": "true"
}
},
{
"tag": "span",
"className": "ts-window-title",
"children": [
{
"text": "{{skin.messages.home.windowTitle}}"
}
]
},
{
"tag": "span",
"className": "ts-window-edition",
"children": [
{
"text": "{{skin.messages.shell.edition}}"
}
]
}
]
},
{
"tag": "div",
"className": "ts-window-body",
"children": [
{
"tag": "div",
"part": "ts-home-reconnect",
"className": "ts-conn-strip ts-home-reconnect",
"children": [
{
"widget": "voice.connection-status",
"part": "ts-home-connection-status",
"className": "ts-home-connection-status"
}
]
},
{
"tag": "p",
"className": "ts-home-lead",
"children": [
{
"text": "{{skin.messages.home.lead}}"
}
]
},
{
"tag": "fieldset",
"className": "ts-group-box",
"children": [
{
"tag": "legend",
"className": "ts-group-legend",
"children": [
{
"text": "{{skin.messages.home.panelLabel}}"
}
]
},
{
"widget": "home.connection-form",
"part": "ts-connection-form",
"className": "ts-connection-form"
},
{
"widget": "home.identity-provider",
"part": "ts-home-identity-provider",
"className": "ts-home-identity-provider",
"options": {
"identityProviderId": "myts",
"identityProviderLabel": "myts"
}
}
]
},
{
"widget": "home.connection-status",
"part": "ts-home-connection",
"className": "ts-home-connection"
},
{
"widget": "home.server-announcement",
"part": "ts-home-announcement",
"className": "ts-home-announcement"
},
{
"widget": "home.visitor-count",
"part": "ts-home-visitors",
"className": "ts-home-visitors"
},
{
"tag": "p",
"className": "ts-home-notice",
"children": [
{
"text": "{{skin.messages.home.notice}}"
}
]
}
]
}
]
}
]
}
]
},
{
"tag": "footer",
"part": "ts-statusbar",
"className": "ts-statusbar",
"children": [
{
"tag": "span",
"className": "ts-status-led",
"attributes": {
"aria-hidden": "true"
}
},
{
"tag": "span",
"className": "ts-status-text",
"children": [
{
"text": "{{skin.messages.home.footer}}"
}
]
},
{
"tag": "span",
"className": "ts-status-spacer",
"attributes": {
"aria-hidden": "true"
}
},
{
"tag": "span",
"className": "ts-status-edition",
"children": [
{
"text": "{{skin.messages.footer.skin}}"
}
]
}
]
}
]
}
]
}
},
{
"id": "ts3-voice-console",
"name": "TS3 Legacy voice workspace",
"page": "voice",
"mode": "surface",
"accessibleName": "WebSpeak voice workspace",
"permissions": [
"ui.surface.replace",
"session.status.read",
"servers.quickList.read",
"servers.quickList.switch",
"session.channels.read",
"session.members.read",
"session.memberAvatars.read",
"session.channel.join",
"chat.channel.read",
"chat.channel.send",
"audio.status.read",
"audio.microphone.control",
"audio.output.control",
"voice.disconnect",
"voice.screenShare.read",
"voice.screenShare.control",
"voice.whisper.status.read",
"voice.whisper.control",
"voice.connect",
"audio.settings.open"
],
"actions": {
"open-audio-settings": {
"type": "audio.openSettings",
"args": {}
},
"toggle-noise-suppression": {
"type": "audio.toggleNoiseSuppression",
"args": {}
},
"toggle-accompaniment": {
"type": "audio.toggleAccompaniment",
"args": {}
}
},
"root": {
"tag": "main",
"part": "ts-voice",
"children": [
{
"tag": "div",
"className": "ts-app",
"children": [
{
"tag": "div",
"part": "ts-toolbar",
"className": "ts-toolbar",
"attributes": {
"role": "toolbar",
"aria-label": "{{skin.messages.toolbar.voiceLabel}}"
},
"children": [
{
"tag": "div",
"className": "ts-toolgroup",
"children": [
{
"widget": "voice.server-switcher",
"part": "ts-tool-server",
"className": "ts-tool-server"
},
{
"tag": "span",
"className": "ts-tool-sep",
"attributes": {
"aria-hidden": "true"
}
},
{
"widget": "voice.connection-controls",
"part": "ts-tool-connection",
"className": "ts-tool-connection"
},
{
"tag": "span",
"className": "ts-tool-sep",
"attributes": {
"aria-hidden": "true"
}
},
{
"widget": "voice.audio-controls",
"part": "ts-tool-audio",
"className": "ts-tool-audio"
},
{
"tag": "div",
"part": "ts-tool-mobile-audio",
"className": "ts-tool-mobile-audio",
"attributes": {
"role": "group",
"aria-label": "{{skin.messages.toolbar.mobileAudio}}"
},
"children": [
{
"tag": "button",
"part": "ts-tool-noise",
"className": "ts-mtool ts-mtool-noise",
"attributes": {
"type": "button",
"aria-label": "{{skin.messages.toolbar.noise}}",
"title": "{{skin.messages.toolbar.noise}}",
"aria-pressed": "{{audio.status.noiseSuppressionEnabled}}"
},
"events": {
"click": "toggle-noise-suppression"
},
"children": [
{
"tag": "span",
"className": "ts-mtool-glyph",
"attributes": {
"aria-hidden": "true"
}
}
]
},
{
"tag": "button",
"part": "ts-tool-accompaniment",
"className": "ts-mtool ts-mtool-accompaniment",
"attributes": {
"type": "button",
"aria-label": "{{skin.messages.toolbar.accompaniment}}",
"title": "{{skin.messages.toolbar.accompaniment}}",
"aria-pressed": "{{audio.status.accompanimentActive}}"
},
"events": {
"click": "toggle-accompaniment"
},
"children": [
{
"tag": "span",
"className": "ts-mtool-glyph",
"attributes": {
"aria-hidden": "true"
}
}
]
},
{
"tag": "button",
"part": "ts-tool-audio-settings",
"className": "ts-mtool ts-mtool-settings",
"attributes": {
"type": "button",
"aria-label": "{{skin.messages.toolbar.audioSettings}}",
"title": "{{skin.messages.toolbar.audioSettings}}"
},
"events": {
"click": "open-audio-settings"
},
"children": [
{
"tag": "span",
"className": "ts-mtool-glyph",
"attributes": {
"aria-hidden": "true"
}
}
]
}
]
},
{
"tag": "span",
"className": "ts-tool-sep",
"attributes": {
"aria-hidden": "true"
}
},
{
"widget": "voice.screen-share-start",
"part": "ts-tool-share",
"className": "ts-tool-share"
},
{
"widget": "voice.whisper-controls",
"part": "ts-tool-whisper",
"className": "ts-tool-whisper"
}
]
},
{
"tag": "span",
"className": "ts-toolbar-spacer",
"attributes": {
"aria-hidden": "true"
}
},
{
"tag": "div",
"className": "ts-toolgroup ts-toolgroup-end",
"children": [
{
"tag": "span",
"part": "ts-recovery-slot",
"className": "ts-recovery-slot",
"attributes": { "aria-hidden": "true" }
},
{
"widget": "home.social-links",
"part": "ts-tool-admin",
"className": "ts-tool-admin",
"options": { "communityLinks": false }
},
{
"widget": "app.language-switcher",
"part": "ts-language",
"className": "ts-language"
},
{
"widget": "app.skin-switcher",
"part": "ts-skin",
"className": "ts-skin"
},
{
"tag": "span",
"className": "ts-toolbar-edition",
"children": [
{
"text": "{{skin.messages.shell.edition}}"
}
]
}
]
}
]
},
{
"tag": "div",
"part": "ts-conn-strip",
"className": "ts-conn-strip",
"children": [
{
"widget": "voice.connection-status",
"part": "ts-connection-status",
"className": "ts-connection-status"
}
]
},
{
"tag": "div",
"part": "ts-workspace",
"className": "ts-workspace",
"children": [
{
"tag": "aside",
"part": "ts-tree",
"className": "ts-tree",
"attributes": {
"aria-label": "{{skin.messages.tree.heading}}"
},
"children": [
{
"tag": "div",
"className": "ts-pane-caption",
"attributes": {
"aria-hidden": "true"
},
"children": [
{
"text": "{{skin.messages.tree.heading}}"
}
]
},
{
"widget": "voice.server-header",
"part": "ts-server-header",
"className": "ts-server-header"
},
{
"widget": "voice.channel-tree",
"part": "ts-channel-tree",
"className": "ts-channel-tree",
"options": {
"layout": "default",
"memberActions": true,
"memberDragDrop": true
}
}
]
},
{
"tag": "div",
"part": "ts-right",
"className": "ts-right",
"children": [
{
"tag": "section",
"part": "ts-info",
"className": "ts-info",
"attributes": {
"aria-label": "{{skin.messages.info.heading}}"
},
"children": [
{
"tag": "div",
"className": "ts-info-heading",
"children": [
{
"tag": "span",
"className": "ts-info-icon",
"attributes": {
"aria-hidden": "true"
}
},
{
"tag": "h1",
"className": "ts-info-title",
"children": [
{
"text": "{{skin.messages.info.heading}}"
}
]
}
]
},
{
"tag": "div",
"className": "ts-info-facts",
"children": [
{
"tag": "div",
"className": "ts-fact-row",
"children": [
{
"tag": "span",
"className": "ts-fact-label",
"children": [
{
"text": "{{skin.messages.info.nickname}}"
}
]
},
{
"tag": "span",
"className": "ts-fact-value",
"children": [
{
"text": "{{session.status.userName}}"
}
]
}
]
},
{
"tag": "div",
"className": "ts-fact-row",
"children": [
{
"tag": "span",
"className": "ts-fact-label",
"children": [
{
"text": "{{skin.messages.info.channel}}"
}
]
},
{
"tag": "span",
"className": "ts-fact-value",
"children": [
{
"text": "{{session.status.channelName}}"
}
]
}
]
},
{
"tag": "div",
"className": "ts-fact-row",
"children": [
{
"tag": "span",
"className": "ts-fact-label",
"children": [
{
"text": "{{skin.messages.info.server}}"
}
]
},
{
"tag": "span",
"className": "ts-fact-value",
"children": [
{
"text": "{{session.status.serverLabel}}"
}
]
}
]
},
{
"tag": "div",
"className": "ts-fact-row",
"children": [
{
"tag": "span",
"className": "ts-fact-label",
"children": [
{
"text": "{{skin.messages.info.state}}"
}
]
},
{
"tag": "span",
"className": "ts-fact-value",
"children": [
{
"text": "{{session.status.connectionState}}"
}
]
}
]
}
]
},
{
"tag": "div",
"part": "ts-info-voice",
"className": "ts-info-voice",
"children": [
{
"widget": "voice.performance-panel",
"part": "ts-performance",
"className": "ts-performance",
"options": {
"screenShare": false
}
}
]
},
{
"widget": "voice.screen-share-player",
"part": "ts-screen-share",
"className": "ts-screen-share"
},
{
"tag": "span",
"className": "ts-watermark",
"attributes": {
"aria-hidden": "true"
},
"children": [
{
"text": "{{skin.messages.watermark}}"
}
]
}
]
},
{
"widget": "voice.server-banner",
"part": "ts-server-banner",
"className": "ts-server-banner"
},
{
"tag": "section",
"part": "ts-log",
"className": "ts-log",
"attributes": {
"aria-label": "{{skin.messages.log.heading}}"
},
"children": [
{
"tag": "div",
"className": "ts-log-heading",
"children": [
{
"tag": "span",
"className": "ts-log-title",
"children": [
{
"text": "{{skin.messages.log.heading}}"
}
]
},
{
"tag": "small",
"className": "ts-log-notice",
"children": [
{
"text": "{{skin.messages.log.notice}}"
}
]
}
]
},
{
"widget": "voice.chat-panel",
"part": "ts-chat",
"className": "ts-chat"
}
]
}
]
}
]
},
{
"tag": "footer",
"part": "ts-statusbar",
"className": "ts-statusbar",
"children": [
{
"tag": "span",
"className": "ts-status-led",
"attributes": {
"aria-hidden": "true",
"data-state": "{{session.status.connectionState}}"
}
},
{
"tag": "span",
"className": "ts-status-text",
"children": [
{
"tag": "span",
"children": [
{
"text": "{{skin.messages.status.connected}}"
}
]
},
{
"tag": "span",
"className": "ts-status-name",
"children": [
{
"text": "{{session.status.userName}}"
}
]
},
{
"tag": "span",
"children": [
{
"text": "{{skin.messages.status.on}}"
}
]
},
{
"tag": "span",
"className": "ts-status-server",
"children": [
{
"text": "{{session.status.serverLabel}}"
}
]
}
],
"when": {
"path": "session.status.connected",
"equals": true
}
},
{
"tag": "span",
"className": "ts-status-text ts-status-offline",
"when": {
"path": "session.status.connected",
"equals": false
},
"children": [
{
"tag": "span",
"className": "ts-status-state",
"children": [
{
"text": "{{session.status.connectionState}}"
}
]
},
{
"tag": "span",
"className": "ts-status-sep",
"attributes": {
"aria-hidden": "true"
},
"children": [
{
"text": "·"
}
]
},
{
"tag": "span",
"className": "ts-status-server",
"children": [
{
"text": "{{session.status.serverLabel}}"
}
]
}
]
},
{
"tag": "span",
"className": "ts-status-spacer",
"attributes": {
"aria-hidden": "true"
}
},
{
"widget": "voice.disconnect-control",
"part": "ts-disconnect",
"className": "ts-disconnect"
},
{
"tag": "span",
"className": "ts-status-edition",
"children": [
{
"text": "{{skin.messages.footer.skin}}"
}
]
}
]
}
]
}
]
}
}
]
}