System.register(["./index.vue_vue_type_script_setup_true_lang-legacy6.js?v=1753954525509","./page_layout-legacy.js?v=1753954525509","./public-legacy.js?v=1753954525509","./vue-legacy.js?v=1753954525509","./naive-legacy.js?v=1753954525509","./soft-legacy2.js?v=1753954525509","./soft-legacy.js?v=1753954525509","./index-legacy.js?v=1753954525509"],(function(e,t){"use strict";var n,a,l,s,i,r,o,d,c,u,p,y,_,f,x,m,g,b,h,v,k,S,w,j,C,q,N,P,M,$,z,D,F,O,R,U;return{setters:[e=>{n=e._},e=>{a=e.i,l=e.cI,s=e.cL,i=e.w,r=e.h,o=e.e,d=e.X,c=e.q,u=e.z,p=e._,y=e.cM,_=e.cN},e=>{f=e.c,x=e.N,m=e.Q},e=>{g=e.e,b=e.k,h=e.b,v=e.U,k=e.a1,S=e.a2,w=e.Q,j=e.W,C=e.a3,q=e.X,N=e.j,P=e.r,M=e.al,$=e.V,z=e.O,D=e.F},e=>{F=e.bY,O=e.ay},e=>{R=e.g},e=>{U=e.u},null],execute:function(){var t=document.createElement("style");t.textContent=".list[data-v-ba583501]{display:flex;cursor:pointer;align-items:center;padding:10px}.list[data-v-ba583501]:hover{--un-bg-opacity:1;background-color:rgb(245 245 245 / var(--un-bg-opacity))}\n",document.head.appendChild(t);const{t:H}=a.global,I=e("s",g({p:1,row:20,query:"",type:0,tojs:"soft.get_list",force:0})),L=(e("o",g([{label:H("Crontab.Script.index_25"),value:0},{label:H("Mail.Setting.index_7"),value:-1},{label:H("Soft.index_1"),value:5},{label:H("Database.index_22"),value:6},{label:H("Soft.index_2"),value:7},{label:H("Soft.index_3"),value:8}])),{class:"w-80px! inline-block"}),Q=(e("_",b({__name:"app-seach",setup(e){const t=l(),a=()=>{I.p=1,t.setRefresh(!0)},s=()=>{I.force=1,t.setRefresh(!0)};return h((()=>{I.p=1,I.query=""})),(e,t)=>{const l=n,i=F,r=O;return v(),k(i,{class:"py-16px justify-between!"},{default:S((()=>[w(i,{class:"items-center"},{default:S((()=>[j("span",L,C(e.$t("Soft.index_4")),1),w(l,{clearable:"",class:"w-580px!",value:q(I).query,"onUpdate:value":t[0]||(t[0]=e=>q(I).query=e),placeholder:e.$t("Soft.index_5"),onSearch:a},null,8,["value","placeholder"])])),_:1}),w(r,{onClick:s},{default:S((()=>[N(C(e.$t("Soft.index_6")),1)])),_:1})])),_:1})}}})),{class:"w-80px inline-block"}),X=["onClick"],E=["src"],{t:V}=(e("R",o(b({__name:"recently-used",setup(e){const t=P(),{loading:n,setLoading:a}=f();return(async()=>{try{a(!0);const{message:e}=await s();i(e)&&(t.value=e)}finally{a(!1)}})(),(e,a)=>{const l=r,s=F;return v(),k(s,{class:"items-center h-42px"},{default:S((()=>[j("span",Q,C(e.$t("Soft.index_8")),1),q(n)?(v(),k(l,{key:0,width:800,sharp:!1,size:"medium"})):M("",!0),(v(!0),$(D,null,z(q(t),(e=>(v(),$("div",{class:"list",key:e.id,onClick:t=>{U(e)}},[j("img",{class:"w-22px mr-5px",src:q(R)(e.name)},null,8,E),j("span",null,C(e.title),1)],8,X)))),128))])),_:1})}}}),[["__scopeId","data-v-ba583501"]])),a.global);e("u",(()=>({key:"softwareName",title:V("Soft.index_29"),width:"220",ellipsis:{tooltip:{width:"trigger"}},render:e=>w("span",{class:e.setup&&!x(e)?"cursor-pointer":"",onClick:e.setup&&!x(e)?()=>U(e):void 0},[w("img",{class:"w-22px max-h-22px mr-5px",src:R(e.name)},null),e.title,N(" "),e.title.indexOf("PHP-")>-1?"":e.version])}))),e("a",(()=>({key:"name",title:V("Soft.index_14"),width:"100",render:e=>{if(e.pid>0){if(e.endtime>0)return d(e.endtime,"yyyy-MM-dd");if(0===e.endtime)return V("Soft.index_27");if(-1===e.endtime)return V("Soft.index_28");if(-2===e.endtime)return V("Site.PHP.index_28")}return"--"}}))),e("b",(()=>({key:"location",title:V("Database.index_19"),width:"80",render:e=>e.setup?w(p,{name:"base-dir",class:"cursor-pointer",size:"16",onClick:()=>{c("Path",e.uninsatll_checks),u.push("/files")}},null):"---"}))),e("c",(()=>({key:"status",title:V("Component.UploadFile.index_5"),width:"80",render:e=>{if(5!==e.type)return w("span",null,[N("--")]);const t="phpmyadmin"===e.name||e.status;return e.setup?w("span",{class:"iconfont icon-"+(t?"start":"stop")},null):w("span",null,[N("--")])}}))),e("d",(()=>({key:"displayOnDashboard",title:V("Soft.index_30"),width:"80",render:e=>e.setup?w(m,{value:e.index_display,onClick:t=>{t?y({sName:e.name}):_({sName:e.name})}},null):"---"}))),e("e",(()=>({key:"name",title:V("Soft.index_31"),width:"80",render:e=>e.sort?e.sort<=0||e.sort>5?V("Soft.index_32"):e.sort.toFixed(1):"--"})))}}}));
