text: import{_ as e}from"./TableImg.215d3df0.js";import"./BasicForm.df85bae6.js";import{u as o}from"./useTable.110df86b.js";import{getBasicColumns as t,getTreeTableData as s}from"./tableData.83d6955e.js";import{k as i,K as r,o as a,n,q as p,Q as d,Y as l}from"./vendor.9d9efc92.js";/* empty css              *//* empty css              */import"./useForm.a42bd52f.js";import"./index.3f4b0a4c.js";/* empty css              *//* empty css              *//* empty css              */import"./uuid.c53863e7.js";import"./useWindowSizeFn.0534066c.js";import"./useModal.fc795c66.js";import"./onMountedOrActivated.b73559bc.js";/* empty css              */import"./useSortable.03f0b134.js";import"./useExpose.0886c4eb.js";/* empty css              *//* empty css              *//* empty css              */import"./CountdownInput.07d1a2fc.js";/* empty css              *//* empty css              */import"./download.42909391.js";import"./StrengthMeter.7f6a4ce0.js";var m=i({components:{BasicTable:e},setup(){const[e,{expandAll:i,collapseAll:r}]=o({title:"树形表格",isTreeTable:!0,rowSelection:{type:"checkbox"},titleHelpMessage:"树形组件不能和序列号列同时存在",columns:t(),dataSource:s(),rowKey:"id"});return{register:e,expandAll:i,collapseAll:r}}});const c={class:"p-4"},f=l("展开全部"),j=l("折叠全部");m.render=function(e,o,t,s,i,l){const m=r("a-button"),b=r("BasicTable");return a(),n("div",c,[p(b,{onRegister:e.register},{toolbar:d((()=>[p(m,{type:"primary",onClick:e.expandAll},{default:d((()=>[f])),_:1},8,["onClick"]),p(m,{type:"primary",onClick:e.collapseAll},{default:d((()=>[j])),_:1},8,["onClick"])])),_:1},8,["onRegister"])])};export default m;
  