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-BTAl55Kt.js";import{t as D}from"./data-B6s_JPbS.js";import{aN as g,bi as C}from"./antd-vue-vendor-CDWW6V_M.js";import{P as F}from"./index-BxgvQLkr.js";import{_ as b}from"./index-CYriLmQo.js";import"./index-CxQILSKV.js";import"./bem-2ra1afoV.js";import"./vxe-table-vendor-B5h3MVdD.js";import"./props-BLY2qIO5.js";import"./index-BRTtls-l.js";import"./index-DOuVMe-q.js";import"./index-ByLO0zSl.js";import"./useTimeout-DC8132dd.js";import"./useIntersectionObserver-FVRzwlSd.js";import"./useContextMenu-DYyhcDf7.js";import"./useContentHeight-DtBiGC0g.js";import"./useWindowSizeFn-BxrEMPtP.js";import"./useContentViewHeight-D71xl1HH.js";import"./usePageContext-CCgh0KDo.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};
