Files
qhmes/web-dist/js/EditTree-Zp86HHVW.js
2026-06-16 18:19:57 +08:00

2 lines
2.7 KiB
Java

import{B as s}from"./index-Bzmv9Ie7.js";import{t as c}from"./data-B6s_JPbS.js";import{P as l}from"./index-Ckh_BVlA.js";import{aD as u,a$ as f,au as d}from"./index-X7Y8jykP.js";import{e as h,i as n,y as g,z as D,A as b,K as p,Q as k,f as o}from"./vue-vendor-DNhG1Cve.js";import"./index-BzChaRPg.js";import"./bem-CTsBfXqP.js";import"./emoji-mart-vue-fast-R0uJEDq-.js";import"./props-Cc-8EPhZ.js";import"./fromPairs-Dx9PT-t0.js";import"./index-CfNJyBRj.js";import"./dropdown-jkliuVyN.js";import"./index-ByCwbQDV.js";import"./index-Upeu4GGa.js";import"./index-C4wWpZeQ.js";import"./useTimeout-D5AmIBZw.js";import"./index-M9QP6cvf.js";import"./Skeleton-CimgOdM7.js";import"./useScrollTo-0FPEw5-K.js";import"./useIntersectionObserver-BGOgyKyu.js";import"./useContextMenu-BncvQCmV.js";import"./index-saD4h7VJ.js";import"./difference-CGvbIcA7.js";import"./index-C7ckZv9Z.js";import"./DirectoryTree-nk_YTTIy.js";import"./FolderOpenOutlined-SzIPA7z0.js";import"./index-Cl-8Hzo4.js";import"./useMaxLevel-DE205ncc.js";import"./eagerComputed-BTlOruLW.js";import"./index-BuONesFs.js";import"./useMenuSetting-BwQ9LkAm.js";import"./useFullContent-B3OUGaJG.js";import"./useContentHeight-vWUZcXk1.js";import"./onMountedOrActivated-DhSdLlqP.js";import"./useWindowSizeFn-C-0M9_Ul.js";import"./useContentViewHeight-Cja8zrBg.js";import"./usePageContext-9jIr04Op.js";import"./injectionKey-DPVn4AgL.js";import"./ArrowLeftOutlined-B3JgaWh-.js";import"./ArrowRightOutlined-CZG1QCpB.js";import"./index-lcIOKfa7.js";import"./index-B4gPlWQt.js";import"./transButton-B2CWzlQO.js";import"./operationUnit-vCu2co3e.js";const C=h({components:{BasicTree:s,PageWrapper:l},setup(){function t(e){return[{label:"新增",handler:()=>{},icon:"bi:plus"},{label:"删除",handler:()=>{},icon:"bx:bxs-folder-open"}]}const i=[{render:e=>n(u,{class:"ml-2",onClick:()=>{}})},{render:()=>n(f)}];function a({level:e}){return e===1?"ion:git-compare-outline":e===2?"ion:home":e===3?"ion:airplane":""}return{treeData:c,actionList:i,getRightMenuList:t,createIcon:a}}}),_={class:"flex"};function B(t,i,a,e,L,R){const r=p("BasicTree"),m=p("PageWrapper");return D(),g(m,{title:"Tree函数操作示例"},{default:b(()=>[k("div",_,[o(r,{class:"w-1/3",title:"右侧操作按钮/自定义图标",helpMessage:"帮助信息",treeData:t.treeData,actionList:t.actionList,renderIcon:t.createIcon},null,8,["treeData","actionList","renderIcon"]),o(r,{class:"w-1/3 mx-4",title:"右键菜单",treeData:t.treeData,beforeRightClick:t.getRightMenuList},null,8,["treeData","beforeRightClick"]),o(r,{class:"w-1/3",title:"工具栏使用",toolbar:"",checkable:"",search:"",treeData:t.treeData,beforeRightClick:t.getRightMenuList},null,8,["treeData","beforeRightClick"])])]),_:1})}const ht=d(C,[["render",B]]);export{ht as default};