import{d as m,k as g,r as h,o,b as l,w as e,q as t,A as n,L as V,M as x,P as C,I as v,s as p,Q as S,c as y,F as A,a as I,t as k,R as w,n as d,y as _}from"./index-2e57ee69.js";import{V as B}from"./VMenu-9f22b74a.js";import{V as M}from"./VDivider-29fb9868.js";import{V as N,a as z}from"./VRow-22fc34ca.js";const F={class:"text-base font-weight-medium mt-2 mb-0"},P={class:"text-sm"},R=m({__name:"Shortcuts",props:{togglerIcon:{default:"tabler-layout-grid-add"},shortcuts:null},setup(r){const s=r,c=g();return(f,i)=>{const u=h("IconBtn");return o(),l(u,null,{default:e(()=>[t(n,{size:"26",icon:s.togglerIcon},null,8,["icon"]),t(B,{activator:"parent",offset:"14px",location:"bottom end"},{default:e(()=>[t(V,{width:"340","max-height":"560",class:"d-flex flex-column"},{default:e(()=>[t(x,{class:"py-4"},{append:e(()=>[t(u,null,{default:e(()=>[t(n,{icon:"tabler-layout-grid-add"})]),_:1})]),default:e(()=>[t(C,null,{default:e(()=>[v("Shortcuts")]),_:1})]),_:1}),t(M),t(p(S),{options:{wheelPropagation:!1}},{default:e(()=>[t(N,{class:"ma-0 mt-n1"},{default:e(()=>[(o(!0),y(A,null,I(s.shortcuts,(a,b)=>(o(),l(z,{key:a.title,cols:"6",class:k(["text-center border-t cursor-pointer pa-4 shortcut-icon",(b+1)%2?"border-e":""]),onClick:$=>p(c).push(a.to)},{default:e(()=>[t(w,{variant:"tonal",size:"48"},{default:e(()=>[t(n,{icon:a.icon},null,8,["icon"])]),_:2},1024),d("h6",F,_(a.title),1),d("span",P,_(a.subtitle),1)]),_:2},1032,["class","onClick"]))),128))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})}}});const U=m({__name:"NavbarShortcuts",setup(r){const s=[{icon:"tabler-calendar",title:"Calendar",subtitle:"Appointments",to:{name:"apps-calendar"}},{icon:"tabler-file",title:"Invoice App",subtitle:"Manage Accounts",to:{name:"apps-invoice-list"}},{icon:"tabler-user",title:"Users",subtitle:"Manage Users",to:{name:"apps-user-list"}},{icon:"tabler-settings",title:"Settings",subtitle:"Account Settings",to:{name:"pages-account-settings-tab",params:{tab:"account"}}},{icon:"tabler-help",title:"Help Center",subtitle:"FAQs & Articles",to:{name:"pages-help-center"}}];return(c,f)=>{const i=R;return o(),l(i,{shortcuts:s})}}});export{U as default};
