import{c as g,b as c,e as d,w as o,f as e,G as k,S as v,O as u,h as l,Q as _,t as b,D as r,H as h,T as x}from"./index-OSKNspXo.js";const w={class:"q-py-md text-center"},D={style:{"font-size":"larger"}},V={class:"row justify-end"},B={class:"q-pr-md"},C={name:"deleteModal"},S=Object.assign(C,{props:{title:{type:String},click:{type:Function},text:{type:String},open:{type:Boolean}},emits:["update:open"],setup(t,{emit:m}){const p=t,f=m,n=g({get:()=>p.open,set:function(a){f("update:open",a)}});function i(){n.value=!1}return(a,s)=>(d(),c(x,{class:"text-primary",modelValue:n.value,"onUpdate:modelValue":s[0]||(s[0]=y=>n.value=y)},{default:o(()=>[e(k,{style:{width:"500px","max-width":"80vw"}},{default:o(()=>[e(v,{title:t.title,click:i},null,8,["title"]),e(u,null,{default:o(()=>[l("div",w,[e(_,{color:"negative",name:"notification_important",size:"4rem"}),l("p",D,b(t.text),1)])]),_:1}),e(u,null,{default:o(()=>[l("div",V,[l("div",B,[e(r,{color:"cancel",outline:"",label:a.$t("ui.button.cancel"),click:i},null,8,["label"])]),l("div",null,[t.click?(d(),c(r,{key:0,label:a.$t("ui.button.del"),click:t.click},null,8,["label","click"])):h("",!0)])])]),_:1})]),_:1})]),_:1},8,["modelValue"]))}});export{S as _};
//# sourceMappingURL=deleteModal-CoM-5OZg.js.map
