import{i as o}from"./_virtual___federation_fn_import-DB-0B1B_.js";import{j as e}from"./jsx-runtime-u17CrQMm.js";import{M as d}from"./model-header-bar-CBex25WP.js";import{R as i}from"./route-IhhxmrAo.js";const{NavigationTabs:n,NavigationTabsItem:t}=await o("@baseplate-dev/ui-components"),{Link:s,Outlet:l}=await o("@tanstack/react-router");function h(){const{model:r}=i.useLoaderData(),{key:a}=i.useParams();return e.jsxs("div",{className:"relative flex h-full flex-1 flex-col overflow-hidden",children:[e.jsxs("div",{className:"max-w-7xl space-y-4 px-4 pb-4",children:[e.jsx(d,{model:r}),e.jsxs(n,{children:[e.jsx(t,{render:e.jsx(s,{to:"/data/models/edit/$key",params:{key:a},activeOptions:{exact:!0}}),children:"Fields"}),e.jsx(t,{render:e.jsx(s,{to:"/data/models/edit/$key/authorization",params:{key:a},activeOptions:{exact:!0}}),children:"Authorization"}),e.jsx(t,{render:e.jsx(s,{to:"/data/models/edit/$key/service",params:{key:a},activeOptions:{exact:!0}}),children:"Service"}),e.jsx(t,{render:e.jsx(s,{to:"/data/models/edit/$key/graphql",params:{key:a},activeOptions:{exact:!0}}),children:"GraphQL"})]})]}),e.jsx("div",{className:"mb-(--action-bar-height) flex flex-1 overflow-y-auto",style:{"--action-bar-height":"52px"},children:e.jsx(l,{})})]},r.id)}export{h as component};
//# sourceMappingURL=route-DgQuMhIZ.js.map
