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-BN5Ac_IG.js";import{useListPage as I}from"./useListPage-i3Wl0_Fg.js";import{Q as w}from"./componentMap-7D1QIeNI.js";import $ from"./BasicTable-DAfCfXmD.js";import"./index-CYriLmQo.js";import"./antd-vue-vendor-CDWW6V_M.js";import"./vxe-table-vendor-B5h3MVdD.js";import"./index-BkgeZpOO.js";import"./useForm-8o5KRzWo.js";import"./index-CxQILSKV.js";import"./index-CF_FJn6P.js";import"./BasicModal-BBgVjypv.js";import"./ModalHeader-jGKMr-DQ.js";import"./useTimeout-DC8132dd.js";import"./useWindowSizeFn-BxrEMPtP.js";import"./index-BRTtls-l.js";import"./index-DOuVMe-q.js";import"./index-ByLO0zSl.js";import"./useIntersectionObserver-FVRzwlSd.js";import"./JAreaLinkage-DFTeDmm8.js";import"./areaDataUtil-DFHnz1wu.js";import"./china-area-data-vendor-D0sJ9kfX.js";import"./JSelectUser-nVFm3ao2.js";import"./props-DoGpHXAD.js";import"./JSelectBiz-BW6f3e--.js";import"./JSelectDept-DorRVguN.js";import"./index-BTAl55Kt.js";import"./bem-2ra1afoV.js";import"./props-BLY2qIO5.js";import"./useContextMenu-DYyhcDf7.js";import"./JCodeEditor-_KZ8XnNK.js";import"./useFormItem-CWa0w7fA.js";import"./htmlmixed-DRe7JlAp.js";import"./vue-B0b3nX1K.js";/* empty css             */import"./JAddInput-CXT54-j9.js";import"./index-BTSd5ebC.js";import"./depart.api-C9T5xfw6.js";import"./JPopup-KP1kIsae.js";import"./EasyCronInput-XK54XB3r.js";import"./JEllipsis-287cEHxd.js";import"./JDictSelectTag-Jqy9TBcS.js";import"./download-CkbK5et1.js";import"./base64Conver-24EVOS6V.js";import"./index-QMJkXEyl.js";import"./index-Bb_NRLur.js";import"./useCountdown-C3-PRPLY.js";import"./useFormItemSingle-DM34aWgK.js";import"./JUpload-pyrTRFCz.js";import"./index-Bx9Mnn3N.js";import"./index-B1-pj6uh.js";import"./index-isxCPgHp.js";import"./injectionKey-DPVn4AgL.js";const P={class:"p-4"},R=d({name:"basic-table-demo"}),Et=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{Et as default};
