import{f as a}from"./vendor-@vue.d54eea3a.js";var n=a({data(){return{columns:[],data:[]}},mounted(){this.init()},methods:{init(){this.columns=[{title:"Name",dataIndex:"name",key:"name",width:100,fixed:"left",filters:[{text:"Joe",value:"Joe"},{text:"John",value:"John"}],onFilter:(t,e)=>e.name.indexOf(t)===0},{title:"Other",children:[{title:"Age",dataIndex:"age",key:"age",width:200,sorter:(t,e)=>t.age-e.age},{title:"Address",children:[{title:"Street",dataIndex:"street",key:"street",width:200},{title:"Block",children:[{title:"Building",dataIndex:"building",key:"building",width:100},{title:"Door No.",dataIndex:"number",key:"number",width:100}]}]}]},{title:"Company",children:[{title:"Company Address",dataIndex:"companyAddress",key:"companyAddress",width:200},{title:"Company Name",dataIndex:"companyName",key:"companyName"}]},{title:"Gender",dataIndex:"gender",key:"gender",width:80,fixed:"right"}],this.data=[...Array(100)].map((t,e)=>({key:e,name:"John Brown",age:e+1,street:"Lake Park",building:"C",number:2035,companyAddress:"Lake Street 42",companyName:"SoftLake Co",gender:"M"}))}}});export{n as default};
