import{M as r}from"./MkSignin-ikEPb45Z.js";import{i as d,a3 as c}from"./app-JmgyQoR0.js";import{b as m,a as u,h as f,i as p,j as t,K as g,E as _,z as k,l as S}from"./vue-y3KLWBaS.js";const y=m({__name:"MkSigninDialog",props:{autoSet:{type:Boolean,default:!1},message:{default:""}},emits:["done","closed","cancelled"],setup(C,{emit:n}){const o=n,a=u();function l(){o("cancelled"),a.value.close()}function i(e){o("done",e),a.value.close()}return(e,s)=>(f(),p(c,{ref_key:"dialog",ref:a,width:400,onClose:l,onClosed:s[0]||(s[0]=M=>o("closed"))},{header:t(()=>[g(_(k(d).ts.login),1)]),default:t(()=>[S(r,{"auto-set":e.autoSet,message:e.message,onLogin:i},null,8,["auto-set","message"])]),_:1},512))}});export{y as _};
