import{d as v,ah as r,L as d,a as s,r as m,o as h,v as x,w as I,f as P,P as i,ak as W,da as b,W as g,_ as q,__tla as w}from"./index-04f8d540.js";import{P as y}from"./color-6e929987.js";let p,z=Promise.all([(()=>{try{return w}catch{}})()]).then(async()=>{p=q(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 f=b,V=g;return h(),x(V,W({modelValue:s(a),"onUpdate:modelValue":o[1]||(o[1]=u=>i(a)?a.value=u:null)},e.$attrs),{append:I(()=>[P(f,{modelValue:s(l),"onUpdate:modelValue":o[0]||(o[0]=u=>i(l)?l.value=u:null),predefine:s(y)},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 _,z as __tla};
