index-25db70d2.js 1.1 KB

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