import{t as l}from"./theme.43fc44e2.js";import{d as s,o,a as r}from"./index.477073af.js";import{n as i,aa as p}from"./index.ef672c15.js";const d=["value","min","max","step"],b=s({__name:"InputNumber",props:{modelValue:{type:[String,Number],default:""},min:{type:[String,Number],default:0},max:{type:[String,Number],default:void 0},step:{type:[String,Number],default:1}},emits:["update:modelValue"],setup(e,{emit:n}){const m=a=>{n("update:modelValue",+a.value)};return(a,t)=>(o(),r("input",{class:i(p(l)()),type:"number",value:e.modelValue,min:e.min,max:e.max,step:e.step,onInput:t[0]||(t[0]=u=>m(u.target))},null,42,d))}});export{b as default};
