import{_ as e}from"./index105.js?v=1761009159";import{_ as a}from"./index114.js?v=1761009159";import{u as l,l as t,ah as s,_ as o}from"./utils-lib.js?v=1761009159";import{c as i,s as n,q as r,a6 as p,H as m,v as c,x as d,e as f,B as u,z as b,C as x,y as g,F as h,b0 as y,Q as _,K as v,I as w,N as j,D as C,G as k,aY as T,al as L,A as z,ak as D}from"./base-lib.js?v=1761009159";import{S as E,z as H,y as P}from"./validator.js?v=1761009159";import{S}from"./index380.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";import"./index106.js?v=1761009159";import"./column.js?v=1761009159";const U={class:"w-full h-full"},V={class:"leading-[2.5rem] flex items-center text-[var(--el-base-supplement)] text-base"},A={class:"w-full flex items-center mb-[20px] mt-[16px]"},B={class:"flex w-full justify-between"},I={class:"flex flex-1 relative flex-wrap"},O=["onClick"],R=o(i({__name:"index",setup(o){const{mainHeight:i}=l(),{tabDeployActive:R,isLoading:q}=n(E()),F=H(),{TableBatchOptions:G,projectTypeOptions:K,pageChangeEvent:N,importProjectEvent:Q,toggleClassEvent:Y,onChangeProjectType:$,refreshDeployList:J}=F,{typeList:M,projectType:W,TableColumn:X,deployShowTableList:Z,deployTableListRef:ee,tablePageConfig:ae}=n(F);return r(J),p(F.$reset),(l,o)=>{const n=k,r=T,p=D,E=L,H=t,F=s,J=a,le=e,te=m("bt-loading");return c(),d("div",U,[f(S),f(r,{"show-icon":!1,closable:!1,class:"!mb-20px"},{title:u(()=>[b("div",V,[o[7]||(o[7]=x(" 宝塔一键部署已上线，诚邀全球优秀项目入驻(限项目官方) ",-1)),f(n,{title:"免费入驻",size:"small",type:"primary",class:"!ml-[.5rem]",onClick:o[0]||(o[0]=e=>g(P)("https://www.bt.cn/bbs/thread-33063-1-1.html"))},{default:u(()=>o[5]||(o[5]=[x(" 免费入驻 ",-1)])),_:1,__:[5]}),f(n,{title:"导入项目",type:"primary",size:"small",class:"!ml-[.5rem]",onClick:o[1]||(o[1]=e=>g(Q)())},{default:u(()=>o[6]||(o[6]=[x(" 导入项目 ",-1)])),_:1,__:[6]})])]),_:1}),b("div",A,[o[8]||(o[8]=b("span",{class:"w-[80px] pr-16px text-base flex justify-end mt-4px"},"应用分类",-1)),b("div",B,[b("div",I,[(c(!0),d(h,null,y(g(M),e=>(c(),d("div",{key:e.tid,class:v(["class-item mt-4px",g(R)===e.tid?"on":""]),onClick:a=>g(Y)(e.tid)},z(e.title),11,O))),128))]),f(E,{modelValue:g(W),"onUpdate:modelValue":o[2]||(o[2]=e=>_(W)?W.value=e:null),class:v(["mr-[6px] !w-[16rem]",{"custom-types-bg-green":"all"!==g(W)}]),onChange:g($)},{default:u(()=>[(c(!0),d(h,null,y(g(K),e=>(c(),j(p,{label:"".concat("all"!==g(W)?"已选：":"").concat(e.label),value:e.value,key:e.value},{default:u(()=>[x(z(e.label),1)]),_:2},1032,["label","value"]))),128))]),_:1},8,["modelValue","class","onChange"])])]),f(le,null,{content:u(()=>[w(f(H,{ref_key:"deployTableListRef",ref:ee,class:v(["soft-table mt-1rem",{"other-soft-table":100==g(R)}]),column:g(X),"max-height":g(i),data:g(Z),description:"列表为空"},null,8,["class","column","max-height","data"]),[[te,g(q)],[te,"正在获取软件列表，请稍候...","title"]])]),"footer-left":u(()=>[100==g(R)?(c(),j(F,{key:0,"table-ref":g(ee),options:g(G)},null,8,["table-ref","options"])):C("",!0)]),"footer-right":u(()=>[f(J,{page:g(ae).page,"onUpdate:page":o[3]||(o[3]=e=>g(ae).page=e),row:g(ae).row,"onUpdate:row":o[4]||(o[4]=e=>g(ae).row=e),total:g(ae).total,rowList:[10,15,20,30,50,100],onChange:g(N)},null,8,["page","row","total","onChange"])]),_:1})])}}}),[["__scopeId","data-v-40be02cc"]]);export{R as default};
