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