import{u as p,b as c,g as u,h as s,c as l,o as f}from"./index-CTxlYqj4.js";import{_}from"./ConnectedLayout-CuQwWdiY.js";import{p as h}from"./parameters-1TAbI5b7.js";import"./VContainer-CC8lqRXa.js";/* empty css              */import"./tag-Dx3OexMp.js";import"./VApp-tsfSFSQl.js";import"./layout-BFr6o7er.js";import"./ssrBoot-DGgZQEVC.js";import"./global.store-C4iiNxy1.js";import"./admin-CjK02gmr.js";import"./layout.store-3tdRwdnE.js";import"./VAvatar-x_79C0tA.js";import"./VProgressCircular-ubzZW5PC.js";import"./forwardRefs-BSESyuUp.js";import"./VMenu-DTm7W1Hp.js";import"./VCard-DRptUN8Y.js";import"./VRow-B-csPNw7.js";import"./VSheet-BV83IblO.js";const j={__name:"AccountLayout",setup(d){const i=p(),{$gettext:e}=c(),r=u([]),m=s(()=>i.authUser),n=s(()=>{const t=[],a={contacts:"mdi-contacts-outline",webmail:"mdi-at"};if(t.push({text:e("Settings"),to:{name:"AccountSettings"},icon:"mdi-cog"}),m.value.mailbox){t.push({text:e("Filters"),to:{name:"AccountFilters"},icon:"mdi-filter"});for(const o of r.value)t.push({icon:a[o.name],text:o.label,to:{name:"AccountParametersEdit",params:{app:o.name}}})}return t});return h.getUserApplications().then(t=>{r.value=t.data}),(t,a)=>(f(),l(_,{color:"grey","menu-items":n.value},null,8,["menu-items"]))}};export{j as default};
