1import{_ as x}from"./BC0bmsmX.js";import{_ as b}from"./CJlzNQ1F.js";import{_ as k}from"./D4H9sm2l.js";import{_ as w}from"./BKkv2N_l.js";import{_ as C}from"./v6eW2DxJ.js";import{u as M}from"./CovG4A66.js";import{r as N,d as v,c as B,a as P,w as a,b as A,i as o,h as R,n as S,g as m}from"./t8OAlijK.js";import"./DSNWTBrn.js";import"./BbAC7yzK.js";import"./BK-tONi_.js";const T=[{name:"ID",sortable:!0,field:e=>e.id},{name:"Name",sortable:!0,field:e=>e.name},{name:"# of Links",sortable:!0,field:e=>e.menu_links.length}],y={__name:"index",setup(e){const s=M(),r=N(10),u=v(()=>T.filter(n=>!n.hidden)),_=n=>S(`/admin/menus/${n}`),l=n=>{s.fetchMenus(n)};return(n,t)=>{const i=x,p=b,c=k,d=w,f=C;return P(),B(f,{class:"rounded-3"},{default:a(()=>[t[2]||(t[2]=A("title",null,"All Menus",-1)),o(i,{title:"All Menus"}),o(c,{to:"/admin/menus/create",class:"mb-4 d-inline-block"},{default:a(()=>[o(p,{class:"bg-new-blue"},{default:a(()=>t[1]||(t[1]=[R("Add Menu")])),_:1,__:[1]})]),_:1}),o(d,{columns:u.value,rows:m(s).menus,pagination:m(s).pagination,perPage:r.value,"onUpdate:perPage":t[0]||(t[0]=g=>r.value=g),onRequest:l,onRedirect:_},null,8,["columns","rows","pagination","perPage"])]),_:1,__:[2]})}}};export{y as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.