1import{_ as p,a as d}from"./AdminViewButton.vue_vue_type_script_setup_true_lang-DlNswY6X.js";import{_}from"./AdminLayout.vue_vue_type_script_setup_true_lang-B4Do257T.js";import{d as f,c as o,a as t,u as s,h as k,w as e,o as n,e as u,l as r,b as l,t as c,F as g}from"./app-CMgbTyix.js";import"./index-CJI8j1s3.js";import"./TableHeader.vue_vue_type_script_setup_true_lang-OHatdu5t.js";import"./DropdownMenuTrigger.vue_vue_type_script_setup_true_lang-CYZUaGE9.js";import"./useForwardPropsEmits-B9i7ptId.js";import"./useForwardExpose-BD36fatX.js";import"./Presence-BFTX7RqV.js";import"./Teleport-BW85u_du.js";import"./VisuallyHidden-CxMVyL5f.js";import"./index-BBTz9S6Z.js";const h={key:1,class:"text-gray-500"},E=f({__name:"Index",props:{workspaces:{}},setup(i){const m=[{key:"name",label:"Name"},{key:"organization",label:"Organization"},{key:"assistants_count",label:"Assistants",class:"text-right"},{key:"created_at",label:"Created"}];return(y,x)=>(n(),o(g,null,[t(s(k),{title:"Workspaces"}),t(_,{title:"Workspaces"},{default:e(()=>[t(p,{columns:m,rows:i.workspaces.data,pagination:i.workspaces},{"cell-name":e(({row:a})=>[t(s(r),{href:`/admin/workspaces/${a.id}`,class:"admin-link"},{default:e(()=>[l(c(a.name),1)]),_:2},1032,["href"])]),"cell-organization":e(({row:a})=>[a.organization?(n(),u(s(r),{key:0,href:`/admin/organizations/${a.organization.id}`,class:"admin-link"},{default:e(()=>[l(c(a.organization.name),1)]),_:2},1032,["href"])):(n(),o("span",h,"â"))]),actions:e(({row:a})=>[t(d,{href:`/admin/workspaces/${a.id}`},null,8,["href"])]),_:1},8,["rows","pagination"])]),_:1})],64))}});export{E 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.