import{H as f,d as h,o,j as r,i as e,f as t,B as n,aP as g,aG as x,aQ as V,aR as y,E as C,aD as v,A as d,ax as S,e as A,F as k,J as B,z as I,aK as w,h as p,O as m}from"./index.737529e8.1750111005555.js";/* empty css                                                                */import{a as D,V as z}from"./VRow.65155936.1750111005555.js";const M={class:"text-base font-weight-medium mt-2 mb-0"},N={class:"text-sm"},P={__name:"Shortcuts",props:{togglerIcon:{type:String,required:!1,default:"tabler-layout-grid-add"},shortcuts:{type:Array,required:!0}},setup(l){const s=l,c=f();return(_,i)=>{const u=h("IconBtn");return o(),r(u,null,{default:e(()=>[t(n,{size:"26",icon:s.togglerIcon},null,8,["icon"]),t(g,{activator:"parent",offset:"14px",location:"bottom end"},{default:e(()=>[t(x,{width:"340","max-height":"560",class:"d-flex flex-column"},{default:e(()=>[t(V,{class:"py-4"},{append:e(()=>[t(u,null,{default:e(()=>[t(n,{icon:"tabler-layout-grid-add"})]),_:1})]),default:e(()=>[t(y,null,{default:e(()=>[C("Shortcuts")]),_:1})]),_:1}),t(v),t(d(S),{options:{wheelPropagation:!1}},{default:e(()=>[t(D,{class:"ma-0 mt-n1"},{default:e(()=>[(o(!0),A(k,null,B(s.shortcuts,(a,b)=>(o(),r(z,{key:a.title,cols:"6",class:I(["text-center border-t cursor-pointer pa-4 shortcut-icon",(b+1)%2?"border-e":""]),onClick:R=>d(c).push(a.to)},{default:e(()=>[t(w,{variant:"tonal",size:"48"},{default:e(()=>[t(n,{icon:a.icon},null,8,["icon"])]),_:2},1024),p("h6",M,m(a.title),1),p("span",N,m(a.subtitle),1)]),_:2},1032,["class","onClick"]))),128))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})}}},F={__name:"NavbarShortcuts",setup(l){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-lock",title:"Role Management",subtitle:"Permission",to:{name:"apps-roles"}},{icon:"tabler-layout-dashboard",title:"Dashboard",subtitle:"Dashboard Analytics",to:{name:"dashboards-analytics"}},{icon:"tabler-settings",title:"Settings",subtitle:"Account Settings",to:{name:"pages-account-settings-tab",params:{tab:"account"}}}];return(c,_)=>{const i=P;return o(),r(i,{shortcuts:s})}}};export{F as default};
