index-57d95584.js 1.1 KB

1
  1. import{d as v,ah as r,M as u,a as t,r as m,o as x,x as h,w as g,g as I,P as i,ak as P,dc as W,W as q,_ as w,__tla as y}from"./index-52b99925.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(c,{emit:_}){const s=c;u(()=>s.modelValue,e=>{e!==t(a)&&(a.value=e)});const n=_,a=m(s.modelValue);u(()=>a.value,e=>{n("update:modelValue",e)});const l=m(s.color);return u(()=>l.value,e=>{n("update:color",e)}),(e,o)=>{const V=W,f=q;return x(),h(f,P({modelValue:t(a),"onUpdate:modelValue":o[1]||(o[1]=d=>i(a)?a.value=d:null)},e.$attrs),{append:g(()=>[I(V,{modelValue:t(l),"onUpdate:modelValue":o[0]||(o[0]=d=>i(l)?l.value=d:null),predefine:t(z)},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 _,C as __tla};