import{d as _,aS as i,p as u,b as y,r as f,B as h,o as g,l as V,a as l,y as b,_ as w,__tla as v}from"./index-b2b3c6c4.js";import{E as k,__tla as x}from"./el-tree-select-7784ba1b.js";import{h as I,d as P}from"./tree-0af4953a.js";import{g as S,__tla as C}from"./category-39c7fbf6.js";let d,U=Promise.all([(()=>{try{return v}catch{}})(),(()=>{try{return x}catch{}})(),(()=>{try{return C}catch{}})()]).then(async()=>{d=w(_({name:"ProductCategorySelect",__name:"ProductCategorySelect",props:{modelValue:i([Number,Array]),multiple:u.bool.def(!1),parentId:u.number.def(void 0)},emits:["update:modelValue"],setup(a,{emit:m}){const r=a,t=y({get:()=>r.modelValue,set:e=>{p("update:modelValue",e)}}),p=m,o=f([]);return h(async()=>{const e=await S({parentId:r.parentId});o.value=I(e,"id","parentId")}),(e,s)=>{const c=k;return g(),V(c,{modelValue:l(t),"onUpdate:modelValue":s[0]||(s[0]=n=>b(t)?t.value=n:null),data:l(o),props:l(P),multiple:a.multiple,"show-checkbox":a.multiple,class:"w-1/1","node-key":"id",placeholder:"\u8BF7\u9009\u62E9\u5546\u54C1\u5206\u7C7B"},null,8,["modelValue","data","props","multiple","show-checkbox"])}}}),[["__file","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/views/mall/product/category/components/ProductCategorySelect.vue"]])});export{U as __tla,d as default};
