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-LwlFn7Y4.js";import{useListPage as I}from"./useListPage-BEtybUiF.js";import{Q as w}from"./componentMap-CzCGDP7x.js";import $ from"./BasicTable-Clbg3fHx.js";import"./index-B_2CoVdl.js";import"./antd-vue-vendor-CDWW6V_M.js";import"./vxe-table-vendor-B5h3MVdD.js";import"./index-ARbUvvsq.js";import"./useForm-CcjrODHR.js";import"./index-DAURrYyA.js";import"./index-D2AmS0aU.js";import"./BasicModal-D3g2CFhF.js";import"./ModalHeader-C-C0dUi_.js";import"./useTimeout-CB9F1PLu.js";import"./useWindowSizeFn-C3WExEpc.js";import"./index-Dz2zbQB_.js";import"./index-exs4VcBw.js";import"./index-ByLO0zSl.js";import"./useIntersectionObserver-FVRzwlSd.js";import"./JAreaLinkage-CSgDAlrn.js";import"./areaDataUtil-DFHnz1wu.js";import"./china-area-data-vendor-D0sJ9kfX.js";import"./JSelectUser-BQIJUcBR.js";import"./props-BCVPj-bG.js";import"./JSelectBiz-CJyWq5s2.js";import"./JSelectDept-wKz_Qtmc.js";import"./index-BKs2x_To.js";import"./bem-C6eT35UB.js";import"./props-BLY2qIO5.js";import"./useContextMenu-CSt5a1-F.js";import"./JCodeEditor-esTLnfS3.js";import"./useFormItem-CWa0w7fA.js";import"./htmlmixed-DRe7JlAp.js";import"./vue-B0b3nX1K.js";/* empty css             */import"./JAddInput-YFlAniYT.js";import"./index-CkL00Q0a.js";import"./depart.api-0qTriT9h.js";import"./JPopup-BJBYqoWe.js";import"./EasyCronInput-DclSHT47.js";import"./JEllipsis-Cn7GCKHR.js";import"./JDictSelectTag-CxpDdimB.js";import"./download-2tYEzlDW.js";import"./base64Conver-24EVOS6V.js";import"./index-Cgt544dC.js";import"./index-BZ9ST2iq.js";import"./useCountdown-ImUE7YaG.js";import"./useFormItemSingle-DM34aWgK.js";import"./JUpload-DzM-D4DX.js";import"./index-khU3p_On.js";import"./index-DPEnuI0R.js";import"./index-Cnb8BkwG.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};
