import{u as c,a as d,b as u,r as o,c as x,j as e,N as f,P as h,d as m,F as j,O as p}from"./index-e867d936.js";const g=()=>{const{t:s}=c(),t=d("files"),a=u("folder"),r=o.useMemo(()=>(a||"/").replaceAll("//","/"),[a]),l=x(),n=o.useCallback(i=>{l({search:`?folder=${i}`})},[l]);return t?e.jsxs(h,{children:[e.jsx("div",{className:"flex w-full flex-col justify-between gap-5 py-10 md:flex-row",children:e.jsx("h1",{className:"text-3xl font-semibold capitalize",children:s(m(t.tableName||""))})}),e.jsx(j,{currentFolder:r,onFolderChange:n}),e.jsx(p,{})]}):e.jsx(f,{text:s("This model with this id does not exist.")})};export{g as default};
