import{_ as y}from"./DKqZLbne.js";import{_ as x}from"./Ba76BwjT.js";import{e as v,x as k,E as C,o as t,c as n,a,F as l,r as p,t as u,h as g,H as S,w as $,b as s,m as w,_ as d,aj as B,aC as I}from"./DpdQcRr7.js";import"./BXGwug7E.js";import"./MNmNWAT4.js";import"./DAqvLAaI.js";import"./q5-2l_tv.js";import"./DuJ0NDcC.js";import"./D1zzHZdQ.js";import"./D7eJvyae.js";import"./VG7eFHlH.js";import"./DnDgEkgi.js";import"./BcpEzrWT.js";const N={class:"company-sidebar"},V={class:"menu-nav"},z={key:0,class:"menu-group-label"},E={class:"menu-item-label"},F=v({__name:"CompanySidebar",setup(m){const c=k(),i=[{label:"",items:[{icon:"mdi:view-dashboard-outline",label:"ダッシュボード",to:"/company",exact:!0}]},{label:"管理",items:[{icon:"mdi:account-multiple-outline",label:"ユーザー管理",to:"/company/users"},{icon:"mdi:account-group-outline",label:"教室管理",to:"/company/organizations"}]}],r=o=>o.exact?c.path===o.to:c.path.startsWith(o.to);return(o,D)=>{const b=C("Icon"),h=x;return t(),n("aside",N,[a("nav",V,[(t(),n(l,null,p(i,(_,f)=>a("div",{key:f,class:"menu-group"},[_.label?(t(),n("p",z,u(_.label),1)):g("",!0),(t(!0),n(l,null,p(_.items,e=>(t(),S(h,{key:e.to,to:e.to,class:w(["menu-item",{"menu-item--active":r(e)}])},{default:$(()=>[s(b,{icon:e.icon,width:19,height:19,class:"menu-item-icon"},null,8,["icon"]),a("span",E,u(e.label),1)]),_:2},1032,["to","class"]))),128))])),64))])])}}}),G=d(F,[["__scopeId","data-v-4302f5dd"]]),H={},L={class:"company-layout"},j={class:"company-main"};function A(m,c){const i=y,r=G,o=I;return t(),n("div",null,[s(i),a("div",L,[s(r),a("main",j,[B(m.$slots,"default",{},void 0,!0)])]),s(o)])}const Z=d(H,[["render",A],["__scopeId","data-v-425ec7f8"]]);export{Z as default};
