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