import{b1 as a,j as t,h as o,q as n,L as p,s as l,t as d,m as x}from"./vendor-ClLR6ncd.js";import{L as h}from"./index-OtVJl4GC.js";import"./lodash-ZyeDnt0e.js";function u(){const{queryResult:e,isTableFetching:i}=a(),s=e==null?void 0:e.shapes;return i?t.jsx(h,{}):!Array.isArray(s)||s.length===0?t.jsx(o,{sx:{color:"text.disabled",p:2,textAlign:"center"},children:"No results"}):t.jsx(n,{sx:{p:2,listStyleType:"disc"},children:s.map(r=>t.jsx(p,{LinkComponent:l,to:`../../../../control/shacl-shape/edit/${encodeURIComponent(r)}`,relative:"path",children:t.jsx(d,{disableGutters:!0,disablePadding:!0,sx:{display:"list-item"},children:t.jsx(x,{primaryTypographyProps:{sx:{overflowWrap:"anywhere"}},primary:`View & Edit ${r}`})})},r))})}export{u as default};
