File: /www/server/panel/BTPanel/static/js/index92.js
import{_ as y}from"./index118.js?v=1777008528";import{_ as k}from"./index217.js?v=1777008528";import{c as R,d3 as L}from"./utils-lib.js?v=1777008528";import{c as O,aI as f,w as z,o as B,a8 as V,I as N,j as U,k as $,e as o,v as s,q as c,x as l,p as e,J as j,z as D,aV as F}from"./base-lib.js?v=1777008528";import{S as H,K as I,L as d}from"./index3.js?v=1777008528";import{S as P}from"./index260.js?v=1777008528";import{R as q}from"./index261.js?v=1777008528";import"./__commonjsHelpers__.js?v=1777008528";import"./index119.js?v=1777008528";import"./index116.js?v=1777008528";const A={class:"w-full h-full"},G={class:"leading-[2.5rem] flex items-center text-danger"},J={class:"flex items-center"},nt=O({__name:"index",setup(K){const{mainHeight:g,isRefreshSoftList:m}=R(),{isLoading:b}=f(H()),r=I(),{refreshList:p,importOtherEvent:w,pageChangeEvent:v}=r,{softTableList:C,tablePageConfig:n,TableColumn:h}=f(r);return z(()=>m.value,_=>{_&&(p("0"),m.value=!1)}),B(()=>p("0")),V(r.$reset),(_,t)=>{const i=D,x=F,E=L,S=k,T=y,u=N("bt-loading");return U(),$("div",A,[o(P),o(q),o(x,{type:"error","show-icon":!1,closable:!1},{title:s(()=>[c("div",G,[t[7]||(t[7]=l(" 安全提醒:第三方插件上架前,宝塔官方进行了安全审计,但可能还存在安全风险,在生产环境使用前请自行甄别 ",-1)),c("div",J,[o(i,{type:"primary",title:"免费入驻",size:"small",class:"!ml-[.5rem]",onClick:t[0]||(t[0]=a=>e(d)("https://www.bt.cn/developer/"))},{default:s(()=>[...t[4]||(t[4]=[l("免费入驻",-1)])]),_:1}),o(i,{type:"primary",title:"获取第三方应用",size:"small",class:"!ml-[.5rem]",onClick:t[1]||(t[1]=a=>e(d)("https://www.bt.cn/bbs/forum-40-1.html"))},{default:s(()=>[...t[5]||(t[5]=[l("获取第三方应用",-1)])]),_:1}),o(i,{title:"导入插件",size:"small",class:"!ml-[.5rem]",onClick:e(w),type:"primary"},{default:s(()=>[...t[6]||(t[6]=[l(" 导入插件 ",-1)])]),_:1},8,["onClick"])])])]),_:1}),o(T,null,{content:s(()=>[j(o(E,{class:"soft-table",column:e(h),"min-height":e(g),data:e(C),description:"列表为空"},null,8,["column","min-height","data"]),[[u,e(b)],[u,"正在获取软件列表,请稍候...","title"]])]),"footer-right":s(()=>[o(S,{page:e(n).page,"onUpdate:page":t[2]||(t[2]=a=>e(n).page=a),row:e(n).row,"onUpdate:row":t[3]||(t[3]=a=>e(n).row=a),total:e(n).total,rowList:[10,15,20,30,50,100],onChange:e(v)},null,8,["page","row","total","onChange"])]),_:1})])}}});export{nt as default};