index-bb942718.js 1.1 KB

1
  1. import{d as v,as as r,w as d,a as t,r as m,o as x,C as h,A as C,f as I,a2 as i,m as g,cN as q,a9 as w,_ as y,__tla as z}from"./index-f6fb8e95.js";import{P}from"./color-6e929987.js";let p,R=Promise.all([(()=>{try{return z}catch{}})()]).then(async()=>{p=y(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 s=c;d(()=>s.modelValue,e=>{e!==t(a)&&(a.value=e)});const n=_,a=m(s.modelValue);d(()=>a.value,e=>{n("update:modelValue",e)});const l=m(s.color);return d(()=>l.value,e=>{n("update:color",e)}),(e,o)=>{const f=q,V=w;return x(),h(V,g({modelValue:t(a),"onUpdate:modelValue":o[1]||(o[1]=u=>i(a)?a.value=u:null)},e.$attrs),{append:C(()=>[I(f,{modelValue:t(l),"onUpdate:modelValue":o[0]||(o[0]=u=>i(l)?l.value=u:null),predefine:t(P)},null,8,["modelValue","predefine"])]),_:1},16,["modelValue"])}}}),[["__scopeId","data-v-556d261b"],["__file","D:/zx/mall-newfeifan-zx-admin/src/components/InputWithColor/index.vue"]])});export{p as _,R as __tla};