index-beb0eb37.js 1.1 KB

1
  1. import{d as v,ag as r,L as d,a as s,r as m,o as h,v as x,w as g,f as I,O as p,aj as R,df as U,V as q,_ as w,__tla as y}from"./index-11e4820e.js";import{P as C}from"./color-6e929987.js";let i,P=Promise.all([(()=>{try{return y}catch{}})()]).then(async()=>{i=w(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=U,V=q;return h(),x(V,R({modelValue:s(a),"onUpdate:modelValue":o[1]||(o[1]=u=>p(a)?a.value=u:null)},e.$attrs),{append:g(()=>[I(f,{modelValue:s(l),"onUpdate:modelValue":o[0]||(o[0]=u=>p(l)?l.value=u:null),predefine:s(C)},null,8,["modelValue","predefine"])]),_:1},16,["modelValue"])}}}),[["__scopeId","data-v-556d261b"],["__file","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/components/InputWithColor/index.vue"]])});export{i as _,P as __tla};