index-b710e757.js 1.1 KB

1
  1. import{d as v,ac as r,aM as d,a as s,r as m,o as x,x as h,w as R,f as I,l as p,af as U,cN as g,R as q,_ as w,__tla as y}from"./index-8dc1e40a.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(c,{emit:_}){const t=c;d(()=>t.modelValue,e=>{e!==s(a)&&(a.value=e)});const n=_,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 V=g,f=q;return x(),h(f,U({modelValue:s(a),"onUpdate:modelValue":o[1]||(o[1]=u=>p(a)?a.value=u:null)},e.$attrs),{append:R(()=>[I(V,{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};