import{a as c,k as m,O as i,m as b,g as v,M as f,p as l,U as y}from"./convert-case-to-camel-case.utils-DDUpNI96.js";const k={class:"ccb-field__input-wrapper"},w=["id","aria-labelledby"],C=c({__name:"Default",props:{field:{},value:{},inputId:{},ariaLabelledby:{}},emits:["input","focus","focusout","blur","keypress","increment","decrement"],setup(a,{emit:r}){const u=a,o=m(u.value),n=r,p=()=>n("increment"),d=()=>n("decrement");return i(o,s=>{n("input",{target:{value:s}})}),i(()=>u.value,s=>{o.value=s}),(s,e)=>(v(),b("div",k,[f(l("input",{type:"text",id:s.inputId,"aria-labelledby":s.ariaLabelledby,"onUpdate:modelValue":e[0]||(e[0]=t=>o.value=t),onFocus:e[1]||(e[1]=t=>n("focus",t)),onFocusout:e[2]||(e[2]=t=>n("focusout",t)),onBlur:e[3]||(e[3]=t=>n("blur",t)),onKeypress:e[4]||(e[4]=t=>n("keypress",t))},null,40,w),[[y,o.value]]),l("div",{class:"ccb-input-counter up",onClick:p},e[5]||(e[5]=[l("i",{class:"ccb-icon-Path-3486"},null,-1)])),l("div",{class:"ccb-input-counter down",onClick:d},e[6]||(e[6]=[l("i",{class:"ccb-icon-Path-3485"},null,-1)]))]))}});export{C as default};
//# sourceMappingURL=Default-DfqxTtCe.js.map
