import{d as i,dO as _,ai as u,L as y,r as f,m as h,o as g,x as V,a as l,Q as b,_ as w,__tla as x}from"./index-7d5b26d3.js";import{E as v,__tla as I}from"./el-tree-select-50c86e57.js";import{h as P,d as k}from"./tree-0af4953a.js";import{g as C,__tla as S}from"./category-4f7cc9ea.js";let d,z=Promise.all([(()=>{try{return x}catch{}})(),(()=>{try{return I}catch{}})(),(()=>{try{return S}catch{}})()]).then(async()=>{d=w(i({name:"ProductCategorySelect",__name:"ProductCategorySelect",props:{modelValue:_([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 C({parentId:r.parentId});o.value=P(e,"id","parentId")}),(e,s)=>{const c=v;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(k),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","D:/zx/mall-newfeifan-zx-business/src/views/mall/product/category/components/ProductCategorySelect.vue"]])});export{z as __tla,d as default};
