text: import{I as e}from"./index.57ea88fd.js";import{_ as t}from"./TableImg.796610fd.js";import"./BasicForm.adb2a199.js";import{P as s}from"./index.c1dc3b6b.js";import{j as o,r as a,K as i,o as r,m as d,Q as n,n as c,V as m,ah as p,Y as f}from"./vendor.686fd1d4.js";import"./index.04486bdf.js";import"./index.13a30da8.js";import"./useWindowSizeFn.d82e06bf.js";import"./useForm.40c52001.js";/* empty css              *//* empty css              *//* empty css              *//* empty css              *//* empty css              */import"./uuid.2b29000c.js";import"./onMountedOrActivated.172ad1ec.js";/* empty css              */import"./useSortable.979115a3.js";/* empty css              *//* empty css              *//* empty css              *//* empty css              */import"./index.a84c0e16.js";/* empty css              *//* empty css              *//* empty css              */import"./download.45a835c8.js";import"./base64Conver.bb012c73.js";import"./index.9702aa73.js";import"./useContentViewHeight.c5b829cb.js";/* empty css              *//* empty css              */var u=o({components:{BasicTable:t,ImpExcel:e,PageWrapper:s},setup(){const e=a([]);return{loadDataSuccess:function(t){e.value=[];for(const s of t){const{header:t,results:o,meta:{sheetName:a}}=s,i=[];for(const e of t)i.push({title:e,dataIndex:e});e.value.push({title:a,dataSource:o,columns:i})}},tableListRef:e}}});const l=f(" 导入Excel ");u.render=function(e,t,s,o,a,f){const u=i("a-button"),j=i("ImpExcel"),x=i("BasicTable"),b=i("PageWrapper");return r(),d(b,{title:"excel数据导入示例"},{default:n((()=>[c(j,{onSuccess:e.loadDataSuccess},{default:n((()=>[c(u,{class:"m-3"},{default:n((()=>[l])),_:1})])),_:1},8,["onSuccess"]),(r(!0),d(m,null,p(e.tableListRef,((e,t)=>(r(),d(x,{key:t,title:e.title,columns:e.columns,dataSource:e.dataSource},null,8,["title","columns","dataSource"])))),128))])),_:1})};export default u;
  