import{t as m}from"./theme.43fc44e2.js";import{d as i,o as u,i as c,e as t}from"./index.9838a17e.js";import{ac as d,n as p}from"./index.02c939b6.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=i({__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)=>(u(),c("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};
