import{c as t,o,F as i,h as d,t as m}from"./app-fEKA3BkQ.js";const p={class:"flex flex-row items-center gap-3 py-2"},u=["onClick"],y={__name:"ShortCodes",props:{modelValue:String,codes:{type:Array,default:["{name}","{phone}"]}},emits:["update:modelValue"],setup(a,{emit:r}){const n=a,l=r,c=s=>{l("update:modelValue",`${n.modelValue} ${s}`)};return(s,h)=>(o(),t("div",p,[(o(!0),t(i,null,d(a.codes,e=>(o(),t("button",{onClick:_=>c(e),key:e,type:"button",class:"btn bg-slate-200 text-gray-700 hover:opacity-90 dark:bg-dark-700 dark:text-white"},m(e),9,u))),128))]))}};export{y as _};
