import{d as v,p as r,aP as d,a as s,r as m,o as h,l as x,w as U,i as y,y as i,ai as I,c3 as P,U as R,_ as g,__tla as q}from"./index-8c6726e5.js";import{P as w}from"./color-6e929987.js";let p,C=Promise.all([(()=>{try{return q}catch{}})()]).then(async()=>{p=g(v({name:"InputWithColor",__name:"index",props:{modelValue:r.string.def("").isRequired,color:r.string.def("").isRequired},emits:["update:modelValue","update:color"],setup(c,{emit:_}){const t=c;d(()=>t.modelValue,e=>{e!==s(a)&&(a.value=e)});const n=_,a=m(t.modelValue);d(()=>a.value,e=>{n("update:modelValue",e)});const l=m(t.color);return d(()=>l.value,e=>{n("update:color",e)}),(e,o)=>{const V=P,f=R;return h(),x(f,I({modelValue:s(a),"onUpdate:modelValue":o[1]||(o[1]=u=>i(a)?a.value=u:null)},e.$attrs),{append:U(()=>[y(V,{modelValue:s(l),"onUpdate:modelValue":o[0]||(o[0]=u=>i(l)?l.value=u:null),predefine:s(w)},null,8,["modelValue","predefine"])]),_:1},16,["modelValue"])}}}),[["__scopeId","data-v-556d261b"],["__file","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/components/InputWithColor/index.vue"]])});export{p as _,C as __tla};
