var g=Object.defineProperty,_=Object.defineProperties;var S=Object.getOwnPropertyDescriptors;var n=Object.getOwnPropertySymbols;var b=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var a=(r,o,e)=>o in r?g(r,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[o]=e,l=(r,o)=>{for(var e in o||(o={}))b.call(o,e)&&a(r,e,o[e]);if(n)for(var e of n(o))C.call(o,e)&&a(r,e,o[e]);return r},s=(r,o)=>_(r,S(o));import{d,a2 as k,a3 as x,k as c,af as y,u as p}from"./vue-vendor-CxLCUzY4.js";import"./index-gyz1IdHU.js";import{useListPage as I}from"./useListPage-TMORxSEa.js";import{Q as w}from"./componentMap-0iK4HQBq.js";import $ from"./BasicTable-CgafrQwz.js";import"./index-Cy4uayzW.js";import"./antd-vue-vendor-CahNzUUa.js";import"./vxe-table-vendor-Cdi8WfTx.js";import"./index-BN26Feep.js";import"./useForm-DfoT2G6J.js";import"./index-Bdn0r8CG.js";import"./index-zKZnG1QC.js";import"./BasicModal-sKcs_9Ir.js";import"./ModalHeader-ByCVDoqO.js";import"./useTimeout-gJpgadD6.js";import"./useWindowSizeFn-DDyhhqyw.js";import"./index-CYoRlduV.js";import"./index-DYB8Ashr.js";import"./index-CrdW4fN1.js";import"./useIntersectionObserver-FVRzwlSd.js";import"./JAreaLinkage-CTMEfTuh.js";import"./areaDataUtil-Dk3xkGfK.js";import"./china-area-data-vendor-ByvEpbzN.js";import"./JSelectUser-B98pRPrS.js";import"./props-CtlWAg-s.js";import"./JSelectBiz-vYDBA0SK.js";import"./JSelectDept-D-TUaHvK.js";import"./index-CNQBnF3P.js";import"./bem-IZKqD41e.js";import"./props-CG-jAkbI.js";import"./useContextMenu-Q6J5bB_u.js";import"./JCodeEditor-U9QIstNN.js";import"./useFormItem-IOFWTdED.js";import"./htmlmixed-DoVLO6sG.js";import"./vue-DY75b9GC.js";/* empty css             */import"./JAddInput-DP4caUmw.js";import"./index-tDBMxW9-.js";import"./depart.api-B8q8MC-j.js";import"./JPopup-CVHkQZFq.js";import"./EasyCronInput-CZdChTcP.js";import"./JEllipsis-TuDc52fh.js";import"./JDictSelectTag-CalJXNVe.js";import"./JImageUpload-C5OCTlCG.js";import"./download-Bn4f3tzD.js";import"./base64Conver-24EVOS6V.js";import"./index-D6H6KsT6.js";import"./index-CLxBW_h0.js";import"./useCountdown-2P9HvnfJ.js";import"./useFormItemSingle-BEyrYQqf.js";import"./JUpload-DSWoDwh2.js";import"./index-B4vNk56t.js";import"./index-Dc7Jr5-j.js";import"./index-Dm1rPBfc.js";import"./injectionKey-DPVn4AgL.js";const P={class:"p-4"},R=d({name:"basic-table-demo"}),Tt=d(s(l({},R),{setup(r){const o=[{title:"名称",dataIndex:"name",customCell:(i,t,m)=>({colSpan:t<4?1:5}),customRender:({text:i,record:t,index:m,column:A})=>m<4?i:`${t.name}/${t.age}/${t.address}/${t.phone}`},{title:"年龄",dataIndex:"age",customCell:(i,t,m)=>{if(t==4)return{colSpan:0}}},{title:"家庭住址",dataIndex:"address",customCell:(i,t,m)=>{if(t==4)return{colSpan:0}}},{title:"联系电话",colSpan:2,dataIndex:"tel",customCell:(i,t,m)=>{if(t===2)return{rowSpan:2};if(t===3)return{rowSpan:0};if(t===4)return{colSpan:0}}},{title:"Phone",colSpan:0,dataIndex:"phone",customCell:(i,t,m)=>{if(t===4)return{colSpan:0}}}],{tableContext:e}=I({designScope:"basic-table-demo",tableProps:{title:"合并行列",dataSource:[{key:"1",name:"尹嘉乐",age:32,tel:"0319-5972018",phone:17600080009,address:"北京市昌平区"},{key:"2",name:"龙佳钰",tel:"0319-5972018",phone:17600060007,age:42,address:"北京市海淀区"},{key:"3",name:"贺泽惠",age:32,tel:"0319-5972018",phone:17600040005,address:"北京市门头沟区"},{key:"4",name:"沈勇",age:18,tel:"0319-5972018",phone:17600010003,address:"北京市朝阳区"},{key:"5",name:"白佳毅",age:18,tel:"0319-5972018",phone:17600010002,address:"北京市丰台区"}],columns:o,showActionColumn:!1,useSearchForm:!1}}),[u]=e;function f(i){return[{label:"编辑",onClick:h.bind(null,i)}]}function h(i){}return(i,t)=>(k(),x("div",P,[c(p($),{onRegister:p(u)},{action:y(({record:m})=>[c(p(w),{actions:f(m)},null,8,["actions"])]),_:1},8,["onRegister"])]))}}));export{Tt as default};
