{ "schemaVersion": 3, "components": [ { "id": "kaak-home", "name": "{{skin.messages.kaakHomeComponentName}}", "page": "home", "mode": "surface", "accessibleName": "{{skin.messages.kaakHomeAccessibleName}}", "permissions": [ "ui.surface.replace", "session.status.read" ], "actions": {}, "root": { "tag": "main", "part": "home", "children": [ { "tag": "section", "part": "hero", "children": [ { "tag": "div", "part": "brand", "children": [ { "tag": "span", "part": "logo", "children": [ { "text": "W" } ] }, { "tag": "span", "part": "brand-name", "children": [ { "text": "WebSpeak" } ] } ] }, { "tag": "p", "part": "slogan", "children": [ { "text": "{{skin.messages.kaakTagline}}" } ] }, { "widget": "home.server-announcement", "part": "server-announcement" }, { "tag": "div", "part": "hero-media", "children": [ { "tag": "svg", "part": "illustration", "attributes": { "viewbox": "0 0 640 480", "role": "img", "aria-label": "{{skin.messages.kaakHomeIllustrationAlt}}" }, "children": [ { "tag": "rect", "attributes": { "x": 40, "y": 22, "width": 560, "height": 436, "rx": 88, "fill": "#b0f49b" } }, { "tag": "path", "attributes": { "d": "M526 51v-18M549 61l13-13", "stroke": "#ff9b70", "stroke-width": 12, "fill": "none", "stroke-linecap": "round" } }, { "tag": "circle", "attributes": { "cx": 526, "cy": 83, "r": 23, "fill": "#ff9b70" } }, { "tag": "rect", "attributes": { "x": 295, "y": 394, "width": 50, "height": 29, "rx": 7, "fill": "#223641" } }, { "tag": "rect", "attributes": { "x": 250, "y": 418, "width": 140, "height": 16, "rx": 8, "fill": "#223641" } }, { "tag": "rect", "attributes": { "x": 120, "y": 110, "width": 400, "height": 288, "rx": 25, "fill": "#223641" } }, { "tag": "path", "attributes": { "d": "M147 122h346a15 15 0 0 1 15 15v234a15 15 0 0 1-15 15H147a15 15 0 0 1-15-15V137a15 15 0 0 1 15-15Z", "fill": "#f5fff4" } }, { "tag": "path", "attributes": { "d": "M147 122h346a15 15 0 0 1 15 15v31H132v-31a15 15 0 0 1 15-15Z", "fill": "#e4f5e6" } }, { "tag": "circle", "attributes": { "cx": 156, "cy": 145, "r": 6, "fill": "#82cd62" } }, { "tag": "circle", "attributes": { "cx": 177, "cy": 145, "r": 6, "fill": "#c2e3b2" } }, { "tag": "rect", "attributes": { "x": 160, "y": 205, "width": 128, "height": 13, "rx": 7, "fill": "#acdca6" } }, { "tag": "rect", "attributes": { "x": 160, "y": 233, "width": 94, "height": 11, "rx": 6, "fill": "#d6e8d8" } }, { "tag": "rect", "attributes": { "x": 160, "y": 258, "width": 112, "height": 11, "rx": 6, "fill": "#d6e8d8" } }, { "tag": "rect", "attributes": { "x": 160, "y": 283, "width": 84, "height": 11, "rx": 6, "fill": "#d6e8d8" } }, { "tag": "circle", "attributes": { "cx": 418, "cy": 250, "r": 46, "fill": "#77d33d" } }, { "tag": "path", "attributes": { "d": "M394 251v-10a24 24 0 0 1 48 0v10", "stroke": "white", "stroke-width": 10, "fill": "none", "stroke-linecap": "round" } }, { "tag": "rect", "attributes": { "x": 387, "y": 246, "width": 13, "height": 27, "rx": 6, "fill": "white" } }, { "tag": "rect", "attributes": { "x": 436, "y": 246, "width": 13, "height": 27, "rx": 6, "fill": "white" } }, { "tag": "circle", "attributes": { "cx": 99, "cy": 338, "r": 38, "fill": "#55c3cf" } }, { "tag": "path", "attributes": { "d": "M76 330h9l14-12v38l-14-12h-9z", "fill": "white" } }, { "tag": "path", "attributes": { "d": "M107 327q13 13 0 27", "stroke": "white", "stroke-width": 5, "fill": "none" } } ] }, { "widget": "home.visitor-count", "part": "visitor-stats" } ] } ] }, { "tag": "section", "part": "right", "children": [ { "tag": "div", "part": "content", "children": [ { "tag": "h1", "part": "welcome-title", "children": [ { "text": "{{skin.messages.kaakWelcomeTitle}}" } ] }, { "tag": "section", "part": "connection-card", "children": [ { "tag": "div", "part": "card-heading", "children": [ { "tag": "h2", "part": "connection-title", "children": [ { "text": "{{skin.messages.kaakConnectTitle}}" } ] }, { "widget": "home.identity-provider", "part": "identity-provider", "options": { "identityProviderId": "myts", "identityProviderLabel": "myts" } } ] }, { "tag": "p", "part": "description", "children": [ { "text": "{{skin.messages.kaakConnectDescription}}" } ] }, { "widget": "home.connection-form", "part": "connection-form" }, { "tag": "p", "part": "note", "children": [ { "text": "{{skin.messages.kaakBrowserDirect}}" } ] }, { "widget": "home.connection-status", "part": "status" } ] } ] } ] }, { "widget": "home.social-links", "part": "home-social-links" }, { "widget": "app.language-switcher", "part": "home-language" } ] } }, { "id": "kaak-workspace", "name": "{{skin.messages.kaakVoiceComponentName}}", "page": "voice", "mode": "surface", "accessibleName": "{{skin.messages.kaakVoiceAccessibleName}}", "stateScope": "session.status.channelId", "permissions": [ "ui.surface.replace", "session.status.read", "session.invite.copy", "session.channels.read", "session.members.read", "session.memberAvatars.read", "session.channel.join", "servers.quickList.read", "servers.quickList.switch", "chat.channel.read", "chat.channel.send", "audio.status.read", "audio.microphone.control", "audio.output.control", "audio.settings.open", "voice.connect", "voice.disconnect", "voice.screenShare.status.read", "voice.screenShare.read", "voice.screenShare.control" ], "actions": { "switch-server": { "type": "quickServers.switch", "args": { "quickServerId": "{{server.id}}" } }, "disconnect": { "type": "voice.disconnect", "args": {} }, "copy-invite-link": { "type": "session.copyInviteLink", "args": {} }, "stop-screen-share": { "type": "voice.stopScreenShare", "args": {} }, "start-screen-share": { "type": "voice.startScreenShare", "args": {} }, "toggle-microphone": { "type": "voice.toggleMicrophone", "args": {} }, "toggle-noise-suppression": { "type": "audio.toggleNoiseSuppression", "args": {} }, "toggle-accompaniment": { "type": "audio.toggleAccompaniment", "args": {} }, "toggle-output-mute": { "type": "voice.toggleOutputMute", "args": {} }, "open-audio-settings": { "type": "audio.openSettings", "args": {} }, "toggle-chat-panel": { "type": "chat.togglePanel", "args": {} }, "toggle-mobile-page": { "type": "ui.toggleState", "args": { "key": "channelspage", "resetKey": "roommenu" } }, "toggle-room-menu": { "type": "ui.toggleState", "args": { "key": "roommenu" } }, "toggle-voice-group": { "type": "ui.toggleState", "args": { "key": "voicegroupopen" } } }, "state": { "channelspage": false, "roommenu": false, "voicegroupopen": true }, "root": { "tag": "main", "part": "workspace", "children": [ { "tag": "nav", "part": "server-rail", "attributes": { "aria-label": "{{skin.messages.kaakFavoritesAndHistory}}" }, "children": [ { "tag": "div", "part": "server-list", "children": [ { "tag": "div", "part": "quick-server-item", "repeat": { "path": "servers.quickList", "as": "server" }, "children": [ { "tag": "button", "part": "quick-server", "attributes": { "type": "button", "aria-current": "{{server.current}}", "aria-label": "{{server.switchTitle}}", "title": "{{server.switchTitle}}" }, "events": { "click": "switch-server" }, "children": [ { "tag": "span", "part": "server-monogram", "attributes": { "data-tone": "{{server.tone}}" }, "children": [ { "tag": "img", "part": "server-icon", "when": { "path": "server.icon" }, "attributes": { "src": "{{server.icon}}", "alt": "" } }, { "tag": "span", "part": "server-monogram-initial", "when": { "path": "server.icon", "equals": "" }, "children": [ { "text": "{{server.monogram}}" } ] } ] }, { "tag": "span", "part": "server-kind", "when": { "path": "server.favorite", "equals": true }, "children": [ { "text": "{{skin.messages.kaakFavorites}}" } ] }, { "tag": "span", "part": "server-kind", "when": { "path": "server.kind", "equals": "recent" }, "children": [ { "text": "{{skin.messages.kaakRecent}}" } ] } ] } ] } ] }, { "widget": "app.skin-switcher", "part": "rail-skin" }, { "widget": "app.language-switcher", "part": "rail-language" }, {"widget":"voice.plugin-launcher","part":"plugin-launcher","options":{"pluginPresentation":"drawer-side"}}, { "widget": "home.social-links", "part": "rail-links", "options": { "communityLinks": false } } ] }, { "tag": "header", "part": "mobile-room-topbar", "attributes": { "aria-label": "{{skin.messages.kaakVoiceRoomControls}}" }, "children": [ { "tag": "button", "part": "mobile-room-back", "attributes": { "type": "button", "aria-label": "{{skin.messages.kaakReturnChannelsNoDisconnect}}" }, "events": { "click": "toggle-mobile-page" }, "children": [ { "tag": "svg", "className": "mobile-room-top-icon", "attributes": { "width": 23, "height": 23, "viewbox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "stroke-width": 1.8, "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": "true" }, "children": [ { "tag": "path", "attributes": { "d": "M20 12H4m7-7-7 7 7 7" } } ] } ] }, { "tag": "strong", "part": "mobile-room-mode", "children": [ { "text": "{{skin.messages.kaakVoiceRoom}}" } ] }, { "tag": "button", "part": "mobile-room-more-toggle", "attributes": { "type": "button", "aria-expanded": "{{state.roommenu}}", "aria-label": "{{skin.messages.kaakMoreVoiceActions}}" }, "events": { "click": "toggle-room-menu" }, "children": [ { "tag": "svg", "className": "mobile-room-top-icon", "attributes": { "width": 23, "height": 23, "viewbox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "stroke-width": 1.8, "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": "true" }, "children": [ { "tag": "circle", "attributes": { "cx": 5, "cy": 12, "r": 1, "fill": "currentColor", "stroke": "none" } }, { "tag": "circle", "attributes": { "cx": 12, "cy": 12, "r": 1, "fill": "currentColor", "stroke": "none" } }, { "tag": "circle", "attributes": { "cx": 19, "cy": 12, "r": 1, "fill": "currentColor", "stroke": "none" } } ] } ] } ] }, { "tag": "div", "part": "mobile-room-menu", "when": { "path": "state.roommenu", "equals": true }, "attributes": { "role": "menu", "aria-label": "{{skin.messages.kaakMoreVoiceActions}}" }, "children": [ { "tag": "button", "part": "mobile-room-chat-open", "attributes": { "type": "button", "role": "menuitem", "aria-label": "{{skin.messages.kaakOpenChatHistory}}" }, "events": { "click": "toggle-chat-panel" }, "children": [ { "text": "{{skin.messages.kaakChatHistory}}" } ] }, { "tag": "button", "part": "mobile-room-invite-copy", "attributes": { "type": "button", "role": "menuitem", "aria-label": "{{skin.messages.kaakCopyInviteLink}}" }, "events": { "click": "copy-invite-link" }, "children": [ { "text": "{{skin.messages.kaakCopyInviteLink}}" } ] }, { "tag": "button", "part": "mobile-room-menu-close", "attributes": { "type": "button", "role": "menuitem" }, "events": { "click": "toggle-room-menu" }, "children": [ { "text": "{{skin.messages.kaakCloseMenu}}" } ] } ] }, { "tag": "section", "part": "mobile-room-head", "attributes": { "aria-label": "{{skin.messages.kaakCurrentVoiceChannel}}" }, "children": [ { "tag": "div", "part": "mobile-room-channel-item", "repeat": { "path": "session.channels", "as": "roomchannel" }, "children": [ { "tag": "div", "part": "mobile-room-channel-current", "when": { "path": "roomchannel.current", "equals": true }, "children": [ { "tag": "h1", "part": "mobile-room-channel-name", "children": [ { "text": "{{roomchannel.name}}" } ] }, { "tag": "div", "part": "mobile-room-channel-subtitle", "children": [ { "tag": "span", "part": "mobile-room-online-indicator", "attributes": { "aria-hidden": "true" }, "children": [ { "text": "●" } ] }, { "tag": "span", "part": "mobile-room-connection-label", "children": [ { "text": "{{skin.messages.kaakVoiceConnected}}" } ] }, { "tag": "span", "part": "mobile-room-subtitle-separator", "attributes": { "aria-hidden": "true" }, "children": [ { "text": "·" } ] }, { "tag": "span", "part": "mobile-room-member-count", "children": [ { "text": "{{roomchannel.memberCountLabel}} 人" } ] } ] } ] } ] } ] }, { "tag": "aside", "part": "channel-panel", "attributes": { "aria-label": "{{skin.messages.kaakServerChannels}}" }, "children": [ { "widget": "voice.server-header", "part": "server-summary" }, { "widget": "voice.server-banner", "part": "server-banner" }, { "widget": "voice.connection-status", "part": "connection-status" }, { "tag": "nav", "part": "channel-list", "attributes": { "aria-label": "{{skin.messages.kaakChannels}}" }, "children": [ { "tag": "button", "part": "voice-channel-group-toggle", "attributes": { "type": "button", "aria-expanded": "{{state.voicegroupopen}}", "aria-label": "{{skin.messages.kaakToggleVoiceGroup}}" }, "events": { "click": "toggle-voice-group" }, "children": [ { "tag": "span", "part": "voice-group-chevron", "attributes": { "aria-hidden": "true" }, "children": [ { "text": "›" } ] }, { "tag": "span", "part": "voice-group-name", "children": [ { "text": "{{skin.messages.kaakVoiceGroup}}" } ] } ] }, { "tag": "div", "part": "voice-channel-list", "children": [ { "tag": "div", "part": "voice-channel-items", "children": [ { "widget": "voice.channel-tree", "part": "voice-channel-tree", "options": { "layout": "server-sidebar", "memberActions": true, "memberDragDrop": true } } ] } ] } ] }, { "tag": "button", "part": "mobile-room-return", "when": { "path": "session.status.connected", "equals": true }, "attributes": { "type": "button", "aria-label": "{{skin.messages.kaakReturnVoiceRoom}}" }, "events": { "click": "toggle-mobile-page" }, "children": [ { "tag": "span", "part": "mobile-room-return-indicator", "attributes": { "aria-hidden": "true" }, "children": [ { "text": "●" } ] }, { "tag": "span", "part": "mobile-room-return-copy", "children": [ { "text": "{{skin.messages.kaakReturnVoiceRoomConnected}}" } ] }, { "tag": "strong", "part": "mobile-room-return-channel", "children": [ { "text": "{{session.status.channelName}}" } ] }, { "tag": "span", "part": "mobile-room-return-arrow", "attributes": { "aria-hidden": "true" }, "children": [ { "text": "›" } ] } ] } ] }, { "tag": "section", "part": "conversation", "attributes": { "aria-label": "{{skin.messages.kaakChat}}", "data-chat-open": "{{chat.status.panelOpen}}" }, "children": [ { "tag": "header", "part": "conversation-heading", "children": [ { "tag": "h1", "part": "conversation-title", "children": [ { "text": "{{chat.status.tabLabel}}" } ] }, { "tag": "button", "part": "chat-panel-toggle", "attributes": { "type": "button", "aria-expanded": "{{chat.status.panelOpen}}", "aria-label": "{{skin.messages.kaakToggleChatPanel}}" }, "events": { "click": "toggle-chat-panel" }, "children": [ { "tag": "span", "part": "chat-panel-chevron", "when": { "path": "chat.status.panelOpen", "equals": true }, "children": [ { "text": "×" } ] }, { "tag": "span", "part": "chat-panel-chevron", "when": { "path": "chat.status.panelOpen", "equals": false }, "children": [ { "text": "‹" } ] } ] } ] }, { "widget": "voice.chat-panel", "part": "chat-panel", "when": { "path": "chat.status.panelOpen", "equals": true } } ] }, { "tag": "aside", "part": "voice-stage", "attributes": { "aria-label": "{{skin.messages.kaakVoiceRoomAccessibleName}}" }, "children": [ { "tag": "div", "part": "voice-stage-heading-item", "repeat": { "path": "session.channels", "as": "stagechannel" }, "children": [ { "tag": "header", "part": "voice-stage-heading", "when": { "path": "stagechannel.current", "equals": true }, "children": [ { "tag": "button", "part": "mobile-channel-back", "attributes": { "type": "button", "aria-label": "{{skin.messages.kaakBackToChannels}}" }, "events": { "click": "toggle-mobile-page" }, "children": [ { "text": "‹" } ] }, { "tag": "span", "part": "voice-stage-glyph", "attributes": { "aria-hidden": "true" }, "children": [ { "text": "🔊︎" } ] }, { "tag": "h2", "part": "voice-stage-title", "children": [ { "text": "{{stagechannel.name}}" } ] }, { "tag": "span", "part": "voice-stage-member-count", "attributes": { "aria-label": "{{skin.messages.kaakChannelMemberCount}}" }, "children": [ { "text": "{{stagechannel.memberCountLabel}}" }, { "tag": "span", "part": "voice-stage-capacity", "when": { "path": "stagechannel.maxClientsLimited", "equals": true }, "children": [ { "text": "/{{stagechannel.maxClients}}" } ] } ] }, { "tag": "button", "part": "voice-stage-invite", "className": "voice-stage-invite", "attributes": { "type": "button", "aria-label": "{{skin.messages.kaakCopyInviteLink}}", "title": "{{skin.messages.kaakCopyInviteLink}}" }, "events": { "click": "copy-invite-link" }, "children": [ { "tag": "svg", "className": "voice-stage-action-icon", "attributes": { "width": 18, "height": 18, "viewbox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "stroke-width": 1.8, "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": "true" }, "children": [ { "tag": "path", "attributes": { "d": "M10 13a5 5 0 0 0 7.07 0l2-2a5 5 0 0 0-7.07-7.07l-1.15 1.15" } }, { "tag": "path", "attributes": { "d": "M14 11a5 5 0 0 0-7.07 0l-2 2a5 5 0 0 0 7.07 7.07l1.15-1.15" } } ] } ] }, { "tag": "button", "part": "chat-panel-expand", "when": { "path": "chat.status.panelOpen", "equals": false }, "attributes": { "type": "button", "aria-expanded": "{{chat.status.panelOpen}}", "aria-label": "{{skin.messages.kaakExpandChatPanel}}" }, "events": { "click": "toggle-chat-panel" }, "children": [ { "text": "#" } ] } ] } ] }, { "widget": "voice.screen-share-player", "part": "screen-share-player" }, { "widget": "voice.member-cards", "part": "member-cards", "options": { "screenShare": true, "memberActions": true } } ] }, { "tag": "footer", "part": "voice-dock", "attributes": { "aria-label": "{{skin.messages.kaakVoiceControls}}" }, "children": [ { "tag": "div", "part": "voice-dock-heading", "children": [ { "tag": "span", "part": "connection-indicator", "children": [ { "text": "●" } ] }, { "tag": "strong", "part": "voice-channel-name", "children": [ { "text": "{{session.status.channelName}}" } ] }, { "widget": "voice.performance-panel", "part": "performance-panel" }, { "tag": "button", "part": "disconnect-control", "attributes": { "type": "button", "aria-label": "{{skin.messages.kaakDisconnectVoice}}" }, "events": { "click": "disconnect" }, "children": [ { "text": "{{skin.messages.kaakLeaveVoice}}" } ] } ] }, { "tag": "div", "part": "voice-dock-actions", "children": [ { "tag": "div", "part": "voice-dock-share", "children": [ { "widget": "voice.screen-share-start", "part": "screen-share-start", "when": { "path": "screenShare.status.active", "equals": false } }, { "tag": "button", "part": "screen-share-stop", "when": { "path": "screenShare.status.active", "equals": true }, "attributes": { "type": "button", "aria-label": "{{skin.messages.kaakStopScreenShare}}" }, "events": { "click": "stop-screen-share" }, "children": [ { "text": "{{skin.messages.kaakStopScreenShare}}" } ] } ] }, { "tag": "div", "part": "desktop-room-controls", "className": "desktop-room-controls", "attributes": { "role": "toolbar", "aria-label": "{{skin.messages.kaakAudioControls}}" }, "children": [ { "tag": "button", "part": "desktop-room-settings", "className": "desktop-room-control desktop-room-settings", "attributes": { "type": "button", "aria-label": "{{skin.messages.kaakAudioSettings}}", "title": "{{skin.messages.kaakAudioSettings}}" }, "events": { "click": "open-audio-settings" }, "children": [ { "tag": "svg", "className": "desktop-room-control-icon", "attributes": { "width": 18, "height": 18, "viewbox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "stroke-width": 1.8, "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": true }, "children": [ { "tag": "path", "attributes": { "d": "M12 8a4 4 0 1 0 0 8 4 4 0 0 0 0-8Z" } }, { "tag": "path", "attributes": { "d": "M10 2h4l1 3 2 1 3-1 2 4-2 2v2l2 2-2 4-3-1-2 1-1 3h-4l-1-3-2-1-3 1-2-4 2-2v-2l-2-2 2-4 3 1 2-1z" } } ] }, { "tag": "span", "className": "desktop-room-control-label", "children": [ { "text": "{{skin.messages.kaakAudioSettingsShort}}" } ] } ] }, { "tag": "button", "part": "desktop-room-noise-suppression", "className": "desktop-room-control desktop-room-noise-suppression", "attributes": { "type": "button", "aria-label": "{{skin.messages.kaakNoiseSuppression}}", "title": "{{skin.messages.kaakNoiseSuppression}}", "aria-pressed": "{{audio.status.noiseSuppressionEnabled}}" }, "events": { "click": "toggle-noise-suppression" }, "children": [ { "tag": "svg", "className": "desktop-room-control-icon", "attributes": { "width": 18, "height": 18, "viewbox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "stroke-width": 1.8, "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": true }, "children": [ { "tag": "path", "attributes": { "d": "M3 12h4l3-4v8l-3-4H3Z" } }, { "tag": "path", "attributes": { "d": "M14 9l6 6" } }, { "tag": "path", "attributes": { "d": "M20 9l-6 6" } } ] } ] }, { "tag": "button", "part": "desktop-room-microphone", "className": "desktop-room-control desktop-room-microphone", "attributes": { "type": "button", "aria-label": "{{skin.messages.kaakMicrophone}}", "title": "{{skin.messages.kaakMicrophone}}", "aria-pressed": "{{audio.status.microphoneMuted}}" }, "events": { "click": "toggle-microphone" }, "children": [ { "tag": "svg", "className": "desktop-room-control-icon", "attributes": { "width": 18, "height": 18, "viewbox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "stroke-width": 1.8, "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": true }, "children": [ { "tag": "rect", "when": { "path": "audio.status.microphoneMuted", "equals": false }, "attributes": { "x": 9, "y": 2, "width": 6, "height": 13, "rx": 3 } }, { "tag": "path", "when": { "path": "audio.status.microphoneMuted", "equals": false }, "attributes": { "d": "M5 11a7 7 0 0 0 14 0M12 18v4M8 22h8" } }, { "tag": "path", "when": { "path": "audio.status.microphoneMuted", "equals": true }, "attributes": { "d": "M9 9V5a3 3 0 0 1 6 0v6M9 11a3 3 0 0 0 4 2.8M5 10a7 7 0 0 0 12 4M19 10a7 7 0 0 1-.7 3M12 18v4M8 22h8M3 3l18 18" } } ] } ] }, { "tag": "button", "part": "desktop-room-output", "className": "desktop-room-control desktop-room-output", "attributes": { "type": "button", "aria-label": "{{skin.messages.kaakSpeakerMute}}", "title": "{{skin.messages.kaakSpeakerMute}}", "aria-pressed": "{{audio.status.outputMuted}}" }, "events": { "click": "toggle-output-mute" }, "children": [ { "tag": "svg", "className": "desktop-room-control-icon", "attributes": { "width": 18, "height": 18, "viewbox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "stroke-width": 1.8, "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": true }, "children": [ { "tag": "path", "attributes": { "d": "M3 9v6h4l5 4V5L7 9H3Z" } }, { "tag": "path", "when": { "path": "audio.status.outputMuted", "equals": false }, "attributes": { "d": "M16 9a5 5 0 0 1 0 6" } }, { "tag": "path", "when": { "path": "audio.status.outputMuted", "equals": true }, "attributes": { "d": "M19 6l-8 12" } } ] } ] }, { "tag": "button", "part": "desktop-room-accompaniment", "className": "desktop-room-control desktop-room-accompaniment", "attributes": { "type": "button", "aria-label": "{{skin.messages.kaakAccompaniment}}", "title": "{{skin.messages.kaakAccompaniment}}", "aria-pressed": "{{audio.status.accompanimentActive}}" }, "events": { "click": "toggle-accompaniment" }, "children": [ { "tag": "svg", "className": "desktop-room-control-icon", "attributes": { "width": 18, "height": 18, "viewbox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "stroke-width": 1.8, "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": true }, "children": [ { "tag": "path", "attributes": { "d": "M9 18V5l12-2v13" } }, { "tag": "circle", "attributes": { "cx": 6, "cy": 18, "r": 3 } }, { "tag": "circle", "attributes": { "cx": 18, "cy": 16, "r": 3 } } ] } ] } ] } ] }, { "tag": "div", "part": "mobile-room-controls", "className": "mobile-room-controls", "attributes": { "role": "toolbar", "aria-label": "{{skin.messages.kaakVoiceControls}}" }, "children": [ { "tag": "button", "part": "mobile-room-microphone", "className": "mobile-room-control mobile-room-microphone", "attributes": { "type": "button", "aria-label": "{{skin.messages.kaakMicrophone}}", "aria-pressed": "{{audio.status.microphoneMuted}}", "data-muted": "{{audio.status.microphoneMuted}}", "title": "{{skin.messages.kaakMicrophone}}" }, "events": { "click": "toggle-microphone" }, "children": [ { "tag": "span", "className": "mobile-room-control-disc", "attributes": { "aria-hidden": "true" }, "children": [ { "tag": "svg", "className": "mobile-room-control-icon", "attributes": { "width": 28, "height": 28, "viewbox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "stroke-width": 1.8, "stroke-linecap": "round", "stroke-linejoin": "round" }, "children": [ { "tag": "rect", "when": { "path": "audio.status.microphoneMuted", "equals": false }, "attributes": { "x": 9, "y": 2, "width": 6, "height": 13, "rx": 3 } }, { "tag": "path", "when": { "path": "audio.status.microphoneMuted", "equals": false }, "attributes": { "d": "M5 11a7 7 0 0 0 14 0M12 18v4M8 22h8" } }, { "tag": "path", "when": { "path": "audio.status.microphoneMuted", "equals": true }, "attributes": { "d": "M9 9V5a3 3 0 0 1 6 0v6M9 11a3 3 0 0 0 4 2.8M5 10a7 7 0 0 0 12 4M19 10a7 7 0 0 1-.7 3M12 18v4M8 22h8M3 3l18 18" } } ] } ] }, { "tag": "span", "className": "mobile-room-control-caption", "when": { "path": "audio.status.microphoneMuted", "equals": false }, "children": [ { "text": "{{skin.messages.kaakMuteMicrophone}}" } ] }, { "tag": "span", "className": "mobile-room-control-caption", "when": { "path": "audio.status.microphoneMuted", "equals": true }, "children": [ { "text": "{{skin.messages.kaakUnmuteMicrophone}}" } ] } ] }, { "tag": "button", "part": "mobile-room-deafen", "className": "mobile-room-control mobile-room-deafen", "attributes": { "type": "button", "aria-label": "{{skin.messages.kaakMuteOutput}}", "aria-pressed": "{{audio.status.outputMuted}}", "data-muted": "{{audio.status.outputMuted}}", "title": "{{skin.messages.kaakMuteOutput}}" }, "events": { "click": "toggle-output-mute" }, "children": [ { "tag": "span", "className": "mobile-room-control-disc", "attributes": { "aria-hidden": "true" }, "children": [ { "tag": "svg", "className": "mobile-room-control-icon", "attributes": { "width": 28, "height": 28, "viewbox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "stroke-width": 1.8, "stroke-linecap": "round", "stroke-linejoin": "round" }, "children": [ { "tag": "path", "when": { "path": "audio.status.outputMuted", "equals": false }, "attributes": { "d": "M3 14v-3a9 9 0 0 1 18 0v3M3 14h5v7H6a3 3 0 0 1-3-3v-4ZM16 14h5v4a3 3 0 0 1-3 3h-2v-7Z" } }, { "tag": "path", "when": { "path": "audio.status.outputMuted", "equals": true }, "attributes": { "d": "M3 14v-3a9 9 0 0 1 3-7M9 2.5A9 9 0 0 1 21 11v3M3 14h5v7H6a3 3 0 0 1-3-3v-4ZM16 14h5v4a3 3 0 0 1-3 3h-2v-7ZM3 3l18 18" } } ] } ] }, { "tag": "span", "className": "mobile-room-control-caption", "when": { "path": "audio.status.outputMuted", "equals": false }, "children": [ { "text": "{{skin.messages.kaakMute}}" } ] }, { "tag": "span", "className": "mobile-room-control-caption", "when": { "path": "audio.status.outputMuted", "equals": true }, "children": [ { "text": "{{skin.messages.kaakUnmute}}" } ] } ] }, { "tag": "button", "part": "mobile-room-speaker", "className": "mobile-room-control mobile-room-speaker", "attributes": { "type": "button", "aria-label": "{{skin.messages.kaakSpeaker}}", "title": "{{skin.messages.kaakSpeaker}}" }, "events": { "click": "open-audio-settings" }, "children": [ { "tag": "span", "className": "mobile-room-control-disc", "attributes": { "aria-hidden": "true" }, "children": [ { "tag": "svg", "className": "mobile-room-control-icon", "attributes": { "width": 28, "height": 28, "viewbox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "stroke-width": 1.8, "stroke-linecap": "round", "stroke-linejoin": "round" }, "children": [ { "tag": "path", "attributes": { "d": "M11 5 6 9H3v6h3l5 4V5ZM15 9a5 5 0 0 1 0 6m3-9a9 9 0 0 1 0 12" } } ] } ] }, { "tag": "span", "className": "mobile-room-control-caption", "children": [ { "text": "{{skin.messages.kaakSpeaker}}" } ] } ] }, { "tag": "button", "part": "mobile-room-share", "className": "mobile-room-control mobile-room-share", "when": { "path": "screenShare.status.active", "equals": false }, "attributes": { "type": "button", "aria-label": "{{skin.messages.kaakScreenShare}}", "title": "{{skin.messages.kaakScreenShare}}", "aria-pressed": false }, "events": { "click": "start-screen-share" }, "children": [ { "tag": "span", "className": "mobile-room-control-disc", "attributes": { "aria-hidden": "true" }, "children": [ { "tag": "svg", "className": "mobile-room-control-icon", "attributes": { "width": 28, "height": 28, "viewbox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "stroke-width": 1.8, "stroke-linecap": "round", "stroke-linejoin": "round" }, "children": [ { "tag": "rect", "attributes": { "x": 3, "y": 4, "width": 18, "height": 14, "rx": 2 } }, { "tag": "path", "attributes": { "d": "M8 22h8M12 18v4" } } ] } ] }, { "tag": "span", "className": "mobile-room-control-caption", "children": [ { "text": "{{skin.messages.kaakScreenShare}}" } ] } ] }, { "tag": "button", "part": "mobile-room-share-active", "className": "mobile-room-control mobile-room-share active", "when": { "path": "screenShare.status.active", "equals": true }, "attributes": { "type": "button", "aria-label": "{{skin.messages.kaakStopScreenShare}}", "title": "{{skin.messages.kaakStopScreenShare}}", "aria-pressed": true }, "events": { "click": "stop-screen-share" }, "children": [ { "tag": "span", "className": "mobile-room-control-disc", "attributes": { "aria-hidden": "true" }, "children": [ { "tag": "svg", "className": "mobile-room-control-icon", "attributes": { "width": 28, "height": 28, "viewbox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "stroke-width": 1.8, "stroke-linecap": "round", "stroke-linejoin": "round" }, "children": [ { "tag": "rect", "attributes": { "x": 3, "y": 4, "width": 18, "height": 14, "rx": 2 } }, { "tag": "path", "attributes": { "d": "M8 22h8M12 18v4" } } ] } ] }, { "tag": "span", "className": "mobile-room-control-caption", "children": [ { "text": "{{skin.messages.kaakScreenShare}}" } ] } ] }, { "tag": "button", "part": "mobile-room-exit", "className": "mobile-room-control mobile-room-exit", "attributes": { "type": "button", "aria-label": "{{skin.messages.kaakLeaveVoice}}", "title": "{{skin.messages.kaakLeaveVoice}}" }, "events": { "click": "disconnect" }, "children": [ { "tag": "span", "className": "mobile-room-control-disc", "attributes": { "aria-hidden": "true" }, "children": [ { "tag": "svg", "className": "mobile-room-control-icon", "attributes": { "width": 28, "height": 28, "viewbox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "stroke-width": 1.8, "stroke-linecap": "round", "stroke-linejoin": "round" }, "children": [ { "tag": "path", "attributes": { "d": "M12 2v10M6 5a9 9 0 1 0 12 0" } } ] } ] }, { "tag": "span", "className": "mobile-room-control-caption", "children": [ { "text": "{{skin.messages.kaakLeaveVoice}}" } ] } ] } ] } ] }, { "tag": "div", "part": "identity-entry", "when": { "path": "session.status.userName" }, "attributes": { "role": "group", "aria-label": "{{skin.messages.kaakCurrentIdentity}}" }, "children": [ { "tag": "span", "part": "identity-monogram", "children": [ { "text": "TS" }, { "tag": "span", "part": "identity-online", "when": { "path": "session.status.connected", "equals": true }, "attributes": { "role": "img", "aria-label": "{{skin.messages.kaakOnline}}" } } ] }, { "tag": "span", "part": "identity-name", "children": [ { "text": "{{session.status.userName}}" } ] } ] } ], "attributes": { "data-chat-open": "{{chat.status.panelOpen}}", "data-mobile-channels": "{{state.channelspage}}", "data-session-connected": "{{session.status.connected}}", "data-voice-group-open": "{{state.voicegroupopen}}" } } } ] }