1import{d as y,l as C,p as g,O as k,bH as B,r as V,v as A,C as a,c as r,e as P,f as p,y as u,w as c,h as n,t as i,ak as b,x as h,au as x,g as v,R as S,j as f,G as D}from"./index-u-ppHw0H.js";import{P as L}from"./ProjectCardGrid-1IwaZlg2.js";const N={class:"project-header"},$={class:"action-buttons"},G=y({__name:"ListProjects",setup(I){const{t:j}=C(),o=g();k(()=>j("project.title"));const e=B("showArchived",!1),_=f(()=>o.isLoading),m=f(()=>e.value?o.projectsArray:o.projectsArray.filter(({isArchived:t})=>!t));return(t,l)=>{const d=V("XButton"),s=A("cy");return a((r(),P("div",{class:S(["content loader-container",{"is-loading":_.value}])},[p("header",N,[a((r(),u(x,{modelValue:h(e),"onUpdate:modelValue":l[0]||(l[0]=w=>b(e)?e.value=w:null)},{default:c(()=>[n(i(t.$t("project.showArchived")),1)]),_:1},8,["modelValue"])),[[s,"show-archived-check"]]),p("div",$,[v(d,{to:{name:"filters.create"},icon:"filter"},{default:c(()=>[n(i(t.$t("filters.create.title")),1)]),_:1}),a((r(),u(d,{to:{name:"project.create"},icon:"plus"},{default:c(()=>[n(i(t.$t("project.create.header")),1)]),_:1})),[[s,"new-project"]])])]),v(L,{projects:m.value,"show-archived":h(e)},null,8,["projects","show-archived"])],2)),[[s,"projects-list"]])}}}),X=D(G,[["__scopeId","data-v-ab1e9f73"]]);export{X 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.