import{r as a,o as i,g as m,w as s,h as u,j as n,t as p}from"./vendor-cf98dd49.js";import{_}from"./_plugin-vue_export-helper-c27b6911.js";const f={expose:["showMessage"],data(){return{snackbar:!1,message:"",color:"success",timeout:6e3}},methods:{showMessage(t,e){this.message=t,this.snackbar=!0,e==="Success"?this.color="success":this.color="error"}}};function b(t,e,k,d,o,g){const c=a("v-btn"),l=a("v-snackbar");return i(),m(l,{color:o.color,timeout:o.timeout,modelValue:o.snackbar,"onUpdate:modelValue":e[1]||(e[1]=r=>o.snackbar=r)},{actions:s(()=>[u(c,{color:"white",variant:"text",onClick:e[0]||(e[0]=r=>o.snackbar=!1)},{default:s(()=>[n(" Close ")]),_:1})]),default:s(()=>[n(p(o.message)+" ",1)]),_:1},8,["color","timeout","modelValue"])}const x=_(f,[["render",b]]);export{x as default};
