import{_ as t}from"./WebFormFieldCore_String-Daj5WKW-.mjs";import{_ as d,o as a,c as n,N as i,O as l,a as p,y as m,t as h,l as u}from"./BDipKYNj.js";import"./WebFormFieldCore-xNTPdj0N.mjs";const c={extends:t,props:{},data(){return{phone:""}},mounted(){this.phone=this.value??""}},f={class:"phone-field"},v=["id","name","placeholder","disabled","required"],b={key:0,class:"error"};function E(e,r,_,y,s,g){return a(),n("div",f,[i(p("input",{id:e.name,"onUpdate:modelValue":r[0]||(r[0]=o=>s.phone=o),name:e.name,type:"tel",placeholder:e.placeholder,disabled:e.disabled,required:e.required,class:m(e.hasError&&e.showErrors?"has-error":""),onInput:r[1]||(r[1]=o=>e.update(o.target.value))},null,42,v),[[l,s.phone]]),e.hasError&&e.showErrors?(a(),n("span",b,h(e.errorMsg),1)):u("",!0)])}const B=d(c,[["render",E],["__scopeId","data-v-84b998ac"]]);export{B as default};