1 |
- import{d as v,ar as n,w as u,a as t,r as m,o as b,C as h,A as g,f as q,a1 as p,m as x,cG as y,a8 as C,__tla as I}from"./index-f65577b8.js";import{P}from"./color-6e929987.js";import{_ as R}from"./_plugin-vue_export-helper-1b428a4d.js";let i,U=Promise.all([(()=>{try{return I}catch{}})()]).then(async()=>{i=R(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=C;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(P)},null,8,["modelValue","predefine"])]),_:1},16,["modelValue"])}}}),[["__scopeId","data-v-bbab35a0"]])});export{i as _,U as __tla};
|