1import{F as t,W as s}from"./DZYn2iLo.js";import{dZ as i,a,a2 as r}from"./CmXcu67W.js";import{a as o}from"./D8lfnukH.js";import{g as e,D as m}from"./DWLdKW_g.js";import{u as p}from"./BlPYlmHN.js";import"./Bg2Y_5Ho.js";import"./Mzf2m3X2.js";import"./BL-U-8tV.js";import"./DA8ZiHaz.js";import"./rh6KHdwV.js";import"./DuHoqZDG.js";import"./CJKPVqHF.js";import"./rKqj2IsV.js";import"./C8mKd7uw.js";import"./BC7gXI0b.js";import"./BJ7ZYSLf.js";import"./D7q4vz8Q.js";import"./DfFBvCJS.js";import"./HtTxHEEO.js";import"./SNd35RXN.js";import"./BS7xc076.js";import"./BlFTQK7b.js";import"./VCg4fHUe.js";import"./BlXh1M5k.js";import"./fzmokaul.js";import"./CrG1iY_D.js";import"./CIlsnfBz.js";import"./BpQVIAtX.js";import"./C1SjZvYv.js";import"./BLWUSjMD.js";import"./B6jJT4uC.js";import"./BAYV89ER.js";function j(){var j;const{page:c,search:n,tab:d,limit:l}=i.useSearch(),{data:v}=p({}),{data:u,isPending:g}=o({page:c,search:n,limit:l,status:"active"===d?"active":"inactive"}),f=a(t=>t.updateBreadcrumbs);t.useEffect(()=>{u&&f({type:"counter",value:`${"active"===d?"Active":"Inactive"} ${u.data.paging.totalElements}`})},[u]);const h={activated:"inactive"!==d,deactivated:"active"!==d},b=e({driverApiAccessEnabled:null==v?void 0:v.data.features.driver_api_access});return s.jsxs("div",{className:"w-nested-table space-y-4",children:[s.jsx(m,{search:n,tab:d}),s.jsx(r,{isNestedTable:!0,columnPins:{left:["position","driver"],right:["actions"]},page:c,limit:l,isLoading:g,columns:b,columnViews:h,data:(null==(j=null==u?void 0:u.data)?void 0:j.drivers)||[],totalPages:null==u?void 0:u.data.paging.totalPages})]})}export{j as component};
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.