1import{j as i,e as l,t as s,f as n,w as t,m as a,g as r,d as u,l as d,G as x}from"./index-CKUd8UCd.js";import{_ as f}from"./Badge-Ce3QAbeg.js";import{_}from"./DataTable-CjmVxOsk.js";import{_ as p}from"./EmptyState-x4Rif5zL.js";import"./Pagination-CrmCgan6.js";const h={id:"equipment-section"},y={class:"flex items-center gap-2 mb-4"},g={class:"ml-auto font-mono text-xs text-atlas-text-muted"},b={key:1},N={__name:"EquipmentTable",props:{equipment:{type:Array,default:()=>[]}},setup(o){const c=[{key:"name",label:"Name",cellClass:"font-medium text-atlas-text"},{key:"type",label:"Typ"},{key:"manufacturer",label:"Hersteller",cellClass:"text-xs text-atlas-text-muted"},{key:"drone",label:"Zugeordnete Drohne",cellClass:"text-xs text-atlas-text-muted"},{key:"serial_number",label:"Seriennr.",cellClass:"font-mono text-xs text-atlas-text-muted"},{key:"weight",label:"Gewicht",cellClass:"font-mono text-xs text-atlas-text-muted"}];return(k,m)=>(r(),i("div",h,[l("div",y,[m[0]||(m[0]=l("h2",{class:"text-base font-semibold text-da-text"},"Ausrüstung",-1)),l("span",g,s(o.equipment.length)+" Eintrag/Einträge",1)]),n(_,{columns:c,rows:o.equipment},{"cell-type":t(({row:e})=>[n(f,null,{default:t(()=>[a(s(e.type??"-"),1)]),_:2},1024)]),"cell-manufacturer":t(({row:e})=>[a(s(e.manufacturer??"-"),1)]),"cell-drone":t(({row:e})=>[e.drone?(r(),u(d(x),{key:0,href:e.drone.url,class:"text-atlas-accent hover:underline inline-flex min-h-11 items-center"},{default:t(()=>[a(s(e.drone.name),1)]),_:2},1032,["href"])):(r(),i("span",b,"-"))]),"cell-serial_number":t(({row:e})=>[a(s(e.serial_number??"-"),1)]),"cell-weight":t(({row:e})=>[a(s(e.weight??"-"),1)]),empty:t(()=>[n(p,{size:"sm",title:"Dieser Benutzer hat keine Ausrüstungsgegenstände."})]),_:1},8,["rows"])]))}};export{N 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.