import{d as v,ar as n,w as u,a as t,r as m,o as b,A as h,B as g,f as q,a2 as p,m as x,cG as y,a8 as I,__tla as P}from"./index-92ad187a.js";import{P as R}from"./color-6e929987.js";import{_ as U}from"./_plugin-vue_export-helper-1b428a4d.js";let i,w=Promise.all([(()=>{try{return P}catch{}})()]).then(async()=>{i=U(v({name:"InputWithColor",__name:"index",props:{modelValue:n.string.def("").isRequired,color:n.string.def("").isRequired},emits:["update:modelValue","update:color"],setup(_,{emit:c}){const s=_;u(()=>s.modelValue,e=>{e!==t(a)&&(a.value=e)});const d=c,a=m(s.modelValue);u(()=>a.value,e=>{d("update:modelValue",e)});const l=m(s.color);return u(()=>l.value,e=>{d("update:color",e)}),(e,o)=>{const V=y,f=I;return b(),h(f,x({modelValue:t(a),"onUpdate:modelValue":o[1]||(o[1]=r=>p(a)?a.value=r:null)},e.$attrs),{append:g(()=>[q(V,{modelValue:t(l),"onUpdate:modelValue":o[0]||(o[0]=r=>p(l)?l.value=r:null),predefine:t(R)},null,8,["modelValue","predefine"])]),_:1},16,["modelValue"])}}}),[["__scopeId","data-v-bbab35a0"]])});export{i as _,w as __tla};
