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