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 v,__tla as w}from"./index-2c56227b.js";import{E as P,__tla as I}from"./el-tree-select-97cbdeb3.js";import{h as S,d as k}from"./tree-0af4953a.js";import{g as x,__tla as C}from"./category-6b00ba40.js";let d,A=Promise.all([(()=>{try{return w}catch{}})(),(()=>{try{return I}catch{}})(),(()=>{try{return C}catch{}})()]).then(async()=>{d=v(_({name:"ProductCategorySelect",__name:"ProductCategorySelect",props:{modelValue:i([Number,Array]),multiple:u.bool.def(!1),parentId:u.number.def(void 0)},emits:["update:modelValue"],setup(e,{emit:m}){const o=e,t=y({get:()=>o.modelValue,set:a=>{p("update:modelValue",a)}}),p=m,r=f([]);return h(async()=>{const a=await x({parentId:o.parentId});r.value=S(a,"id","parentId")}),(a,s)=>{const n=P;return g(),V(n,{modelValue:l(t),"onUpdate:modelValue":s[0]||(s[0]=c=>b(t)?t.value=c:null),data:l(r),props:l(k),multiple:e.multiple,"show-checkbox":e.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","E:/GAOHP_2023/mall/newfeifan-front/yudao-ui-admin-vue3/src/views/mall/product/category/components/ProductCategorySelect.vue"]])});export{A as __tla,d as default};
