import{b as c}from"./vendor-vue-runtime-dom-B2rky8vu.js";import{d as m,w as r,f as b,i as f,B as v,x as s}from"./vendor-vue-runtime-core-DwK6Ry68.js";import{r as y}from"./vendor-vue-reactivity-CheHbvBM.js";import"./vendor-vue-shared-DrzsEcag.js";const k={class:"ccb-field__input-wrapper"},w=["id","aria-labelledby"],F=m({__name:"Default",props:{field:{},value:{},inputId:{},ariaLabelledby:{}},emits:["input","focus","focusout","blur","keypress","increment","decrement"],setup(u,{emit:a}){const i=u,l=y(i.value),n=a,p=()=>n("increment"),d=()=>n("decrement");return r(l,o=>{n("input",{target:{value:o}})}),r(()=>i.value,o=>{l.value=o}),(o,e)=>(f(),b("div",k,[v(s("input",{type:"text",id:o.inputId,"aria-labelledby":o.ariaLabelledby,"onUpdate:modelValue":e[0]||(e[0]=t=>l.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),[[c,l.value]]),s("div",{class:"ccb-input-counter up",onClick:p},e[5]||(e[5]=[s("i",{class:"ccb-icon-Path-3486"},null,-1)])),s("div",{class:"ccb-input-counter down",onClick:d},e[6]||(e[6]=[s("i",{class:"ccb-icon-Path-3485"},null,-1)]))]))}});export{F as default};
//# sourceMappingURL=Default-GsnSBc0k.js.map
