mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-14 08:15:02 -05:00
2 lines
2.7 KiB
JavaScript
2 lines
2.7 KiB
JavaScript
import{_ as d,r as _,o as u,c as C,a as s,d as o,w as a,q as l,u as r,t as m,g as h,k as y}from"./index.js";const k={name:"TabsMusic",computed:{spotify_enabled(){return this.$store.state.spotify.webapi_token_valid}}},f={class:"section fd-tabs-section"},b={class:"container"},K={class:"columns is-centered"},x={class:"column is-four-fifths"},$={class:"tabs is-centered is-small"},v=["onClick","onKeypress"],z=["textContent"],g=["onClick","onKeypress"],w=["textContent"],B=["onClick","onKeypress"],N=["textContent"],T=["onClick","onKeypress"],V=["textContent"],M=["onClick","onKeypress"],q=["textContent"],D=["onClick","onKeypress"],E=["textContent"];function S(n,j,A,F,G,p){const i=_("mdicon"),c=_("router-link");return u(),C("section",f,[s("div",b,[s("div",K,[s("div",x,[s("div",$,[s("ul",null,[o(c,{to:{name:"music-history"},custom:""},{default:a(({navigate:e,isActive:t})=>[s("li",{class:l({"is-active":t})},[s("a",{onClick:e,onKeypress:r(e,["enter"])},[o(i,{class:"icon is-small",name:"history",size:"16"}),s("span",{textContent:m(n.$t("page.music.tabs.history"))},null,8,z)],40,v)],2)]),_:1}),o(c,{to:{name:"music-artists"},custom:""},{default:a(({navigate:e,isActive:t})=>[s("li",{class:l({"is-active":t})},[s("a",{onClick:e,onKeypress:r(e,["enter"])},[o(i,{class:"icon is-small",name:"account-music",size:"16"}),s("span",{textContent:m(n.$t("page.music.tabs.artists"))},null,8,w)],40,g)],2)]),_:1}),o(c,{to:{name:"music-albums"},custom:""},{default:a(({navigate:e,isActive:t})=>[s("li",{class:l({"is-active":t})},[s("a",{onClick:e,onKeypress:r(e,["enter"])},[o(i,{class:"icon is-small",name:"album",size:"16"}),s("span",{textContent:m(n.$t("page.music.tabs.albums"))},null,8,N)],40,B)],2)]),_:1}),o(c,{to:{name:"music-genres"},custom:""},{default:a(({navigate:e,isActive:t})=>[s("li",{class:l({"is-active":t})},[s("a",{onClick:e,onKeypress:r(e,["enter"])},[o(i,{class:"icon is-small",name:"speaker",size:"16"}),s("span",{textContent:m(n.$t("page.music.tabs.genres"))},null,8,V)],40,T)],2)]),_:1}),o(c,{to:{name:"music-composers"},custom:""},{default:a(({navigate:e,isActive:t})=>[s("li",{class:l({"is-active":t})},[s("a",{onClick:e,onKeypress:r(e,["enter"])},[o(i,{class:"icon is-small",name:"book-open-page-variant",size:"16"}),s("span",{textContent:m(n.$t("page.music.tabs.composers"))},null,8,q)],40,M)],2)]),_:1}),p.spotify_enabled?(u(),h(c,{key:0,to:{name:"music-spotify"},custom:""},{default:a(({navigate:e,isActive:t})=>[s("li",{class:l({"is-active":t})},[s("a",{onClick:e,onKeypress:r(e,["enter"])},[o(i,{class:"icon is-small",name:"spotify",size:"16"}),s("span",{textContent:m(n.$t("page.music.tabs.spotify"))},null,8,E)],40,D)],2)]),_:1})):y("",!0)])])])])])])}const I=d(k,[["render",S]]);export{I as T};
|