import{d as v,p as r,aP as d,a as t,r as i,o as h,l as y,w as P,i as x,y as m,ai as I,c3 as U,U as g,_ as q,__tla as w}from"./index-2c56227b.js";import{P as C}from"./color-6e929987.js";let p,R=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 s=_;d(()=>s.modelValue,e=>{e!==t(a)&&(a.value=e)});const n=c,a=i(s.modelValue);d(()=>a.value,e=>{n("update:modelValue",e)});const l=i(s.color);return d(()=>l.value,e=>{n("update:color",e)}),(e,o)=>{const f=U,V=g;return h(),y(V,I({modelValue:t(a),"onUpdate:modelValue":o[1]||(o[1]=u=>m(a)?a.value=u:null)},e.$attrs),{append:P(()=>[x(f,{modelValue:t(l),"onUpdate:modelValue":o[0]||(o[0]=u=>m(l)?l.value=u:null),predefine:t(C)},null,8,["modelValue","predefine"])]),_:1},16,["modelValue"])}}}),[["__scopeId","data-v-556d261b"],["__file","E:/GAOHP_2023/mall/newfeifan-front/yudao-ui-admin-vue3/src/components/InputWithColor/index.vue"]])});export{p as _,R as __tla};
