import{_ as d,d as v,d3 as m,p as f,r as h,aw as g,B as k,i as a,o as s,A as b,y,e as x,c as n,F as B,z as C,x as D,G as w}from"./index.js";import{h as L}from"./index.b25ac795.js";const A=["onClick"],P=v({__name:"process-list",props:{currentProcess:{type:Object,required:!0}},emits:["change-btn-click"],setup(j,{emit:c}){const t=c,{run:i,data:r,loading:l}=m({initalData:[],isList:!0,success:()=>t("change-btn-click",r.value[0])});return f(()=>i(L())),(u,o)=>{const p=h("el-scrollbar"),_=g("loading");return k((s(),b(p,{"h-full":"","px-5":"",class:"processs-list__content"},{default:y(()=>[o[0]||(o[0]=x("h1",{"font-bold":"","py-2":""},"\u6D41\u7A0B\u5217\u8868",-1)),(s(!0),n(B,null,C(a(r),e=>(s(),n("p",{class:D(["px-1 hover:bg-#f7f7f7 hover:color-blue cursor-pointer duration-200 rounded",{"is-active":u.currentProcess.id===e.id}]),onClick:()=>t("change-btn-click",e),key:e.id},w(e.process_name),11,A))),128))]),_:1})),[[_,a(l)]])}}});var q=d(P,[["__scopeId","data-v-5661815d"],["__file","D:/work/jiesuan/settle-vue3/src/views/parameter/setActionProcess/components/process-list.vue"]]);export{q as default};
