import{bQ as s,bU as t,l as e,bT as a,a1 as l,a2 as i,_ as o}from"./utils-lib.js?v=20260328163632";import{S as p}from"./index185.js?v=20260328163632";import{k as r,ah as n,o as c,J as f,V as x,W as m,O as d,a3 as u,X as b,Z as v,Y as y,F as _,L as g,U as h,j,K as w,l as k}from"./base-lib.js?v=20260328163632";import{D as C,B as z}from"./naive-ui.js?v=20260328163632";import"./__commonjsHelpers__.js?v=20260328163632";import"./env-lib.js?v=20260328163632";const D={class:"w-full h-full pt-[12px]"},L={class:"leading-[25px] flex items-center text-[#31708f] text-[14px]"},B={class:"w-full flex items-center mb-[20px] mt-[16px]"},P={class:"soft-left-title w-[80px] pr-16px text-[14px] flex justify-end mt-4px"},T={class:"flex w-full justify-between"},E={class:"flex flex-1 relative flex-wrap"},O=["onClick"],U={class:"text-14px text-[var(--text-color-2)]"},A=o(r({__name:"index",setup(o){const{tabDeployActive:r,isLoading:A}=n(s()),{BtTable:F,BtPage:H,pageOptions:I,importProjectEvent:J,toggleClassEvent:K,refreshDeployList:Q,typeList:R,cutDeployTablePage:S,$reset:V}=t();return c(Q),f(V),(s,t)=>{const o=z,n=C,c=h("bt-loading");return x(),m("div",D,[d(p),d(n,{class:"deploy-alert !mb-20px","show-icon":!1,closable:!1},{default:u((()=>[b("div",L,[j(v(y(e)("宝塔一键部署已上线，诚邀全球优秀项目入驻(限项目官方)"))+" ",1),d(o,{title:"免费入驻",size:"tiny",type:"primary",class:"!ml-[5px]",onClick:t[0]||(t[0]=s=>y(a)("https://www.bt.cn/bbs/thread-33063-1-1.html"))},{default:u((()=>[j(v(y(e)("免费入驻")),1)])),_:1}),d(o,{title:"导入项目",type:"primary",size:"tiny",class:"!ml-[5px]",onClick:t[1]||(t[1]=s=>y(J)())},{default:u((()=>[j(v(y(e)("导入项目")),1)])),_:1})])])),_:1}),b("div",B,[b("span",P,v(y(e)("应用分类")),1),b("div",T,[b("div",E,[(x(!0),m(_,null,g(y(R),(s=>(x(),m("div",{key:s.tid,class:w(["class-item mt-4px",y(r)===s.tid?"on":""]),onClick:t=>y(K)(s.tid)},v(s.title),11,O)))),128))])])]),d(y(i),null,{content:u((()=>[k(d(y(F),{class:w({"other-soft-table":100==y(r)}),"scroll-x":900},null,8,["class"]),[[c,y(A)],[c,y(e)("正在获取软件列表，请稍候..."),"title"]])])),"footer-left":u((()=>t[3]||(t[3]=[]))),"footer-right":u((()=>[d(y(H),{"show-size-picker":"","page-sizes":y(l)([6,10,12,16,20,50,200]),onRefresh:t[2]||(t[2]=s=>y(S)())},{suffix:u((()=>[b("span",U,v(y(e)("共 {0} 条",[y(I).itemCount])),1)])),_:1},8,["page-sizes"])])),_:1})])}}}),[["__scopeId","data-v-681e0eed"]]);export{A as default};
