import{d as p,l as s,U as u,a2 as l,ad as m,af as f,a4 as d,k as o}from"./vue-vendor-CxLCUzY4.js";import{_ as h}from"./index-CNQBnF3P.js";import{t as D}from"./data-B6s_JPbS.js";import{aM as g,bi as C}from"./antd-vue-vendor-CahNzUUa.js";import{P as F}from"./index-CRgSyMPH.js";import{_ as b}from"./index-Cy4uayzW.js";import"./index-Bdn0r8CG.js";import"./bem-IZKqD41e.js";import"./vxe-table-vendor-Cdi8WfTx.js";import"./props-CG-jAkbI.js";import"./index-CYoRlduV.js";import"./index-DYB8Ashr.js";import"./index-CrdW4fN1.js";import"./useTimeout-gJpgadD6.js";import"./useIntersectionObserver-FVRzwlSd.js";import"./useContextMenu-Q6J5bB_u.js";import"./useContentHeight-XU-h1taH.js";import"./useWindowSizeFn-DDyhhqyw.js";import"./useContentViewHeight-Qm4QNm5l.js";import"./usePageContext-CXQdt-5h.js";import"./injectionKey-DPVn4AgL.js";const _=p({components:{BasicTree:h,PageWrapper:F},setup(){function e(t){}function a(t){return[{label:"新增",handler:()=>{},icon:"bi:plus"},{label:"删除",handler:()=>{},icon:"bx:bxs-folder-open"}]}const i=[{render:t=>s(g,{class:"ml-2",onClick:()=>{}})},{render:()=>s(C)}];function n({level:t}){return t===1?"ion:git-compare-outline":t===2?"ion:home":t===3?"ion:airplane":""}return{treeData:D,actionList:i,getRightMenuList:a,createIcon:n}}}),E={class:"flex"};function k(e,a,i,n,t,B){const r=u("BasicTree"),c=u("PageWrapper");return l(),m(c,{title:"Tree函数操作示例"},{default:f(()=>[d("div",E,[o(r,{class:"w-1/3",title:"右侧操作按钮/自定义图标",helpMessage:"帮助信息",treeData:e.treeData,actionList:e.actionList,renderIcon:e.createIcon},null,8,["treeData","actionList","renderIcon"]),o(r,{class:"w-1/3 mx-4",title:"右键菜单",treeData:e.treeData,beforeRightClick:e.getRightMenuList},null,8,["treeData","beforeRightClick"]),o(r,{class:"w-1/3",title:"工具栏使用",toolbar:"",checkable:"",search:"",treeData:e.treeData,beforeRightClick:e.getRightMenuList},null,8,["treeData","beforeRightClick"])])]),_:1})}const H=b(_,[["render",k]]);export{H as default};
