import{r as e}from"./rolldown-runtime-B0Z9INg1.js";import{B as t,D as n,F as r,G as i,M as a,N as o,Ut as s,bt as c,ct as l,lt as u,ot as d,qt as f}from"./vue-3bs2-dMU.js";import{t as p}from"./ConfirmDialog-DHXl2ipv.js";i(),s();var m={class:`d-flex flex-wrap flex-gap-small`},h=t({__name:`ConfirmListDialog`,props:{guid:{},title:{},items:{},noColor:{},noText:{},yesColor:{},yesText:{}},emits:[`confirm`,`cancel`],setup(e){return(t,i)=>(d(),o(p,{guid:e.guid,title:e.title,"no-color":e.noColor,"no-text":e.noText,"yes-color":e.yesColor,"yes-text":e.yesText,onCancel:i[0]||=e=>t.$emit(`cancel`),onConfirm:i[1]||=e=>t.$emit(`confirm`)},{default:c(()=>[a(`div`,m,[(d(!0),r(n,null,l(e.items,e=>(d(),r(`span`,{key:e,class:`pa-1 border wrap-anywhere`},f(e),1))),128))]),u(t.$slots,`default`)]),_:3},8,[`guid`,`title`,`no-color`,`no-text`,`yes-color`,`yes-text`]))}}),g=e({default:()=>_}),_=h;export{g as n,_ as t};