1 |
- import{d as v,af as n,K as d,a as t,r as m,o as b,q as h,w as q,f as U,N as p,ai as g,d6 as x,U as y,__tla as I}from"./index-2eab2d23.js";import{P}from"./color-6e929987.js";import{_ as R}from"./_plugin-vue_export-helper-1b428a4d.js";let i,w=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=_;d(()=>s.modelValue,e=>{e!==t(a)&&(a.value=e)});const r=c,a=m(s.modelValue);d(()=>a.value,e=>{r("update:modelValue",e)});const l=m(s.color);return d(()=>l.value,e=>{r("update:color",e)}),(e,o)=>{const V=x,f=y;return b(),h(f,g({modelValue:t(a),"onUpdate:modelValue":o[1]||(o[1]=u=>p(a)?a.value=u:null)},e.$attrs),{append:q(()=>[U(V,{modelValue:t(l),"onUpdate:modelValue":o[0]||(o[0]=u=>p(l)?l.value=u:null),predefine:t(P)},null,8,["modelValue","predefine"])]),_:1},16,["modelValue"])}}}),[["__scopeId","data-v-bbab35a0"]])});export{i as _,w as __tla};
|