import{t as m}from"./theme.43fc44e2.js";import{d as u,o as c,a as i,f as t}from"./index.477073af.js";import{ac as d,n as p}from"./index.ef672c15.js";const f={class:"relative rounded-md shadow-sm"},_={class:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3"},y={class:"text-theme-500 sm:text-sm"},h=["value"],S=u({__name:"InputPrice",props:{modelValue:{type:[String,Number],default:""},currencySymbol:{type:String,default:"$"}},emits:["update:modelValue"],setup(s,{emit:l}){const n=a=>{l("update:modelValue",a.value)},o=["pl-7",...m()];return(a,e)=>(c(),i("div",f,[t("div",_,[t("span",y,d(s.currencySymbol),1)]),t("input",{type:"number",class:p(o),placeholder:"0.00",value:s.modelValue,step:".01",min:"0",onInput:e[0]||(e[0]=r=>n(r.target))},null,40,h)]))}});export{S as default};
