import{a as v,u as Q,g as b,h as k,i as g,j as e,k as a,Q as w,n as o,p as u,t as n,m as x,y as i,D}from"./index-DAvBaevK.js";import{Q as L,a as V,b as C,c as I}from"./QLayout-DZVoSyXn.js";import{Q as T}from"./QToolbar-DdNWxglI.js";import{b as r,Q as f,a as l}from"./format-DaKpMo2W.js";import{Q as h}from"./QResizeObserver-CenQZ1Fm.js";import{Q as y}from"./QDrawer-1VLwP6kh.js";import"./touch-BjYP5sR0.js";import"./selection-DrSF90ET.js";const F=v({__name:"AdminLayout",setup(B){const{t}=Q(),d=D(!1);function m(){d.value=!d.value}return(p,s)=>{const _=b("router-view");return k(),g(I,{view:"lHh Lpr lFf"},{default:e(()=>[a(L,{elevated:""},{default:e(()=>[a(T,null,{default:e(()=>[a(w,{flat:"",dense:"",round:"",icon:"menu","aria-label":o(t)("app.menu"),onClick:m},null,8,["aria-label"]),a(V,null,{default:e(()=>[u(n(o(t)("app.title"))+" Admin",1)]),_:1}),x("div",null,"Quasar v"+n(p.$q.version),1)]),_:1})]),_:1}),a(y,{modelValue:d.value,"onUpdate:modelValue":s[0]||(s[0]=c=>d.value=c),"show-if-above":"",bordered:""},{default:e(()=>[a(h,null,{default:e(()=>[a(r,{header:""},{default:e(()=>[u(n(o(t)("app.links")),1)]),_:1}),a(f,{clickable:"",to:"/",exact:""},{default:e(()=>[a(l,{avatar:""},{default:e(()=>[a(i,{name:"home"})]),_:1}),a(l,null,{default:e(()=>[a(r,null,{default:e(()=>[u(n(o(t)("app.home")),1)]),_:1})]),_:1})]),_:1}),a(f,{clickable:"",to:"/dev/api/endpoints",exact:""},{default:e(()=>[a(l,{avatar:""},{default:e(()=>[a(i,{name:"api"})]),_:1}),a(l,null,{default:e(()=>[a(r,null,{default:e(()=>[u(n(o(t)("dev.apiEndpointsTester")),1)]),_:1})]),_:1})]),_:1}),a(f,{clickable:"",to:"/dev/api/mail-debug",exact:""},{default:e(()=>[a(l,{avatar:""},{default:e(()=>[a(i,{name:"mail"})]),_:1}),a(l,null,{default:e(()=>[a(r,null,{default:e(()=>[u(n(o(t)("dev.mailDebug")),1)]),_:1})]),_:1})]),_:1}),a(f,{clickable:"",to:"/admin/users",exact:""},{default:e(()=>[a(l,{avatar:""},{default:e(()=>[a(i,{name:"manage_accounts"})]),_:1}),a(l,null,{default:e(()=>[a(r,null,{default:e(()=>[...s[1]||(s[1]=[u("Users",-1)])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"]),a(C,null,{default:e(()=>[a(_)]),_:1})]),_:1})}}});export{F as default};
