import{c as e,o as a,v as s,x as t,z as l,A as o,e as i,B as r,y as m,C as c,R as f,U as n,ab as p,a9 as d}from"./base-lib.js?v=1761009159";import{aP as u,P as v,iD as x,_}from"./utils-lib.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";const b={class:"flex flex-col p-[1.6rem] lib-box"},D={class:"flex"},g={class:"flex text-[#ff0000] my-[1.4rem] text-base pl-[1rem]"},y={class:"pl-[5rem]"},h=_(e({__name:"clear-confirm",props:{compData:{default:()=>({})}},emits:["close"],setup(e,{expose:_,emit:h}){const{refs:{isRefreshTableList:j}}=u(),C=e,w=h,V=a({filters:!1});return _({onConfirm:async e=>{C.compData.confirmEvent?C.compData.confirmEvent(V.filters,e):(await v({request:x({data:JSON.stringify({filters:V.filters?"1":"0"})}),message:!0}),j.value=!0,w("close"))}}),(e,a)=>{const u=n,v=p,x=d;return s(),t("div",b,[l("div",D,[a[2]||(a[2]=l("i",{"data-v-5f070e15":"",class:"svgtofont-el-warning-filled !text-[4rem] !text-[#e6a23c]",style:{}},null,-1)),l("div",g,o(e.compData.confirmMsg?e.compData.confirmMsg:"即将清理没有镜像名的镜像，是否继续？"),1)]),l("div",y,[i(x,{size:"default",model:m(V),class:"relative w-full","label-position":"right",onSubmit:a[1]||(a[1]=f(()=>{},["prevent"]))},{default:r(()=>[i(v,null,{default:r(()=>[i(u,{modelValue:m(V).filters,"onUpdate:modelValue":a[0]||(a[0]=e=>m(V).filters=e)},{default:r(()=>[c(o(e.compData.confirmCheck?e.compData.confirmCheck:"清理没有容器使用的镜像"),1)]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model"])])])}}}),[["__scopeId","data-v-05c2a087"]]);export{h as default};
