System.register(["./utils-lib-legacy.js?v=1761009159","./validator-legacy.js?v=1761009159","./base-lib-legacy.js?v=1761009159","./__commonjsHelpers__-legacy.js?v=1761009159","./index-legacy106.js?v=1761009159","./column-legacy.js?v=1761009159"],function(e,n){"use strict";var l,t,s,a,i,u,o,c,r,d,g,f,m,v,_;return{setters:[function(e){l=e.aR,t=e.dn,s=e.L,a=e._},function(e){i=e.l},function(e){u=e.c,o=e.r,c=e.v,r=e.x,d=e.z,g=e.e,f=e.y,m=e.Q,v=e.B,_=e.C},null,null,null],execute:function(){var n={class:"disk-warning"},p={class:"warning-message"},y={class:"action-buttons"};e("default",a(u({__name:"index",emits:["close"],setup:function(e,a){var u=a.expose,k=a.emit,h=o([]),x=o([{label:"已知晓风险，忽略本次风险警告",value:1}]),C=k,b=function(){i({pluginName:"disk_analysis",source:120,type:"ltd"}),l("diskPath","/"),l("taskStatus","true"),C("close"),h.value.length>0&&sessionStorage.setItem("diskWarn","true")},j=function(){C("close"),h.value.length>0&&sessionStorage.setItem("diskWarn","true")};return u({onCancel:j}),function(e,l){var a=t,i=s;return c(),r("div",n,[l[5]||(l[5]=d("div",{class:"warning-icon"},[d("i",{class:"svgtofont-el-warning-filled"}),d("span",{class:"text-medium text-red-500"},"警告，磁盘空间不足")],-1)),d("div",p,[l[3]||(l[3]=d("p",null,"当前磁盘存储可用空间小于 500MB，将会导致以下风险，请及时处理：",-1)),l[4]||(l[4]=d("ul",null,[d("li",null,"1. 网站相关服务无法运行和访问"),d("li",null,"2. 面板相关服务将无法正常运或启动"),d("li",null,"2. 插件相关服务将无法安装或运行"),d("li",null,"3. 服务器出现瘫痪和宕机风险")],-1)),g(a,{modelValue:f(h),"onUpdate:modelValue":l[0]||(l[0]=function(e){return m(h)?h.value=e:null}),options:f(x),onChange:e.handleCheckboxChange},null,8,["modelValue","options","onChange"]),d("div",y,[g(i,{type:"primary",onClick:b},{default:v(function(){return l[1]||(l[1]=[_("立即处理",-1)])}),_:1,__:[1]}),g(i,{onClick:j},{default:v(function(){return l[2]||(l[2]=[_("暂不处理",-1)])}),_:1,__:[2]})])])])}}}),[["__scopeId","data-v-b4cf19ce"]]))}}});
