function r(){return[{title:"ID",dataIndex:"id",fixed:"left",width:200},{title:"姓名",dataIndex:"name",width:150,filters:[{text:"Male",value:"male"},{text:"Female",value:"female"}]},{title:"地址",dataIndex:"address",width:300},{title:"编号",dataIndex:"no",width:150,sorter:!0,defaultHidden:!0},{title:"开始时间",width:150,sorter:!0,dataIndex:"beginTime"},{title:"结束时间",width:150,sorter:!0,dataIndex:"endTime"}]}function l(){return[{title:"ID",width:150,dataIndex:"id",sorter:!0,sortOrder:"ascend"},{title:"姓名",dataIndex:"name",width:120},{title:"地址",dataIndex:"address"},{title:"编号",dataIndex:"no",width:80}]}function o(){return[{title:"ID",dataIndex:"id",width:200},{title:"姓名",dataIndex:"name",width:120},{title:"地址",dataIndex:"address",sorter:!0,children:[{title:"编号",dataIndex:"no",width:120,filters:[{text:"Male",value:"male",children:[]},{text:"Female",value:"female",children:[]}]},{title:"开始时间",dataIndex:"beginTime",width:120},{title:"结束时间",dataIndex:"endTime",width:120}]}]}function s(){return[{title:"ID",dataIndex:"id",width:200},{dataIndex:"name",width:120,slots:{title:"customTitle"}},{dataIndex:"address",width:120,slots:{title:"customAddress"},sorter:!0},{title:"编号",dataIndex:"no",width:120,filters:[{text:"Male",value:"male",children:[]},{text:"Female",value:"female",children:[]}]},{title:"开始时间",dataIndex:"beginTime",width:120},{title:"结束时间",dataIndex:"endTime",width:120}]}const n=a=>(t,e)=>{const d={children:t[a],attrs:{}};return e===9&&(d.attrs.colSpan=0),d};function c(){return[{title:"ID",dataIndex:"id",width:300,customCell:n("id")},{title:"姓名",dataIndex:"name",width:300,customCell:n("name")},{title:"地址",dataIndex:"address",colSpan:2,width:120,sorter:!0,customCell:(a,t)=>{const e={children:a.address,attrs:{}};return t===2&&(e.attrs.rowSpan=2),t===3&&(e.attrs.colSpan=0),e}},{title:"编号",dataIndex:"no",colSpan:0,filters:[{text:"Male",value:"male",children:[]},{text:"Female",value:"female",children:[]}],customCell:n("no")},{title:"开始时间",dataIndex:"beginTime",width:200,customCell:n("beginTime")},{title:"结束时间",dataIndex:"endTime",width:200,customCell:n("endTime")}]}const i=(a=6)=>{const t=[];for(let e=0;e<a;e++)t.push({field:`field${e}`,label:`字段${e}`,component:"Input",colProps:{xl:12,xxl:8}});return t};function m(){return{labelWidth:100,schemas:[...i(5),{field:"field11",label:"Slot示例",component:"Select",slot:"custom",colProps:{xl:12,xxl:8}}]}}function u(){return(()=>{const t=[];for(let e=0;e<40;e++)t.push({id:`${e}`,name:"John Brown",age:`1${e}`,no:`${e+10}`,address:"New York No. 1 Lake ParkNew York No. 1 Lake Park",beginTime:new Date().toLocaleString(),endTime:new Date().toLocaleString()});return t})()}function h(){return(()=>{const t=[];for(let e=0;e<40;e++)t.push({id:`${e}`,name:"John Brown",age:`1${e}`,no:`${e+10}`,address:"New York No. 1 Lake ParkNew York No. 1 Lake Park",beginTime:new Date().toLocaleString(),endTime:new Date().toLocaleString(),children:[{id:`l2-${e}`,name:"John Brown",age:`1${e}`,no:`${e+10}`,address:"New York No. 1 Lake ParkNew York No. 1 Lake Park",beginTime:new Date().toLocaleString(),endTime:new Date().toLocaleString()},{id:`l3-${e}`,name:"John Mary",age:`1${e}`,no:`${e+10}`,address:"New York No. 1 Lake ParkNew York No. 1 Lake Park",beginTime:new Date().toLocaleString(),endTime:new Date().toLocaleString()}]});return t})()}export{i as getAdvanceSchema,r as getBasicColumns,u as getBasicData,l as getBasicShortColumns,s as getCustomHeaderColumns,m as getFormConfig,c as getMergeHeaderColumns,o as getMultipleHeaderColumns,h as getTreeTableData};
