import{d as x,U as r,a2 as i,a3 as m,k as a,af as o,G as p,V as s,a4 as d}from"./vue-vendor-CxLCUzY4.js";import"./index-gyz1IdHU.js";import{useListPage as I}from"./useListPage-TMORxSEa.js";import N from"./BasicTable-CgafrQwz.js";import{_ as C}from"./index-Cy4uayzW.js";import"./componentMap-0iK4HQBq.js";import"./antd-vue-vendor-CahNzUUa.js";import"./useFormItem-IOFWTdED.js";import"./index-zKZnG1QC.js";import"./BasicModal-sKcs_9Ir.js";import"./ModalHeader-ByCVDoqO.js";import"./useTimeout-gJpgadD6.js";import"./vxe-table-vendor-Cdi8WfTx.js";import"./index-Bdn0r8CG.js";import"./useWindowSizeFn-DDyhhqyw.js";import"./index-CYoRlduV.js";import"./index-DYB8Ashr.js";import"./index-CrdW4fN1.js";import"./useIntersectionObserver-FVRzwlSd.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"./JSelectUser-B98pRPrS.js";import"./props-CtlWAg-s.js";import"./JSelectBiz-vYDBA0SK.js";import"./JAddInput-DP4caUmw.js";import"./areaDataUtil-Dk3xkGfK.js";import"./china-area-data-vendor-ByvEpbzN.js";import"./index-tDBMxW9-.js";import"./index-CNQBnF3P.js";import"./bem-IZKqD41e.js";import"./props-CG-jAkbI.js";import"./useContextMenu-Q6J5bB_u.js";import"./depart.api-B8q8MC-j.js";import"./JImageUpload-C5OCTlCG.js";import"./JDictSelectTag-CalJXNVe.js";import"./JSelectDept-D-TUaHvK.js";import"./JPopup-CVHkQZFq.js";import"./JEllipsis-TuDc52fh.js";import"./JUpload-DSWoDwh2.js";import"./index-B4vNk56t.js";import"./index-Dc7Jr5-j.js";import"./index-Dm1rPBfc.js";import"./index-BN26Feep.js";import"./useForm-DfoT2G6J.js";import"./JAreaLinkage-CTMEfTuh.js";import"./JCodeEditor-U9QIstNN.js";import"./htmlmixed-DoVLO6sG.js";import"./vue-DY75b9GC.js";/* empty css             */import"./EasyCronInput-CZdChTcP.js";import"./injectionKey-DPVn4AgL.js";const c=[{title:"Name",dataIndex:"name",key:"name"},{title:"Platform",dataIndex:"platform",key:"platform"},{title:"Version",dataIndex:"version",key:"version"},{title:"Upgraded",dataIndex:"upgradeNum",key:"upgradeNum"},{title:"Creator",dataIndex:"creator",key:"creator"},{title:"Date",dataIndex:"createdAt",key:"createdAt"},{title:"Action",key:"operation"}],l=[];for(let e=0;e<3;++e)l.push({key:e,name:"Screem",platform:"iOS",version:"10.3.4.5654",upgradeNum:500,creator:"Jack",createdAt:"2014-12-24 23:12:00"});const A=[{title:"Date",dataIndex:"date",key:"date"},{title:"Name",dataIndex:"name",key:"name"},{title:"Status",dataIndex:"state",key:"state"},{title:"Upgrade Status",dataIndex:"upgradeNum",key:"upgradeNum"},{title:"Action",dataIndex:"operation",key:"operation"}],_=[];for(let e=0;e<3;++e)_.push({key:e,date:"2014-12-24 23:12:00",name:"This is production name",upgradeNum:"Upgraded: 56"});const T=x({components:{BasicTable:N},setup(){const{tableContext:e}=I({tableProps:{title:"内嵌表格",dataSource:l,columns:c,showActionColumn:!1,rowKey:"key",useSearchForm:!1}}),[t]=e;return{data:l,columns:c,innerColumns:A,innerData:_,registerTable:t}}}),S={class:"p-4"},v={key:0},w={key:0},B={key:1,class:"table-operation"};function V(e,t,D,P,R,U){const f=r("a-badge"),u=r("a-menu-item"),k=r("a-menu"),y=r("a-dropdown"),b=r("a-table"),g=r("BasicTable");return i(),m("div",S,[a(g,{onRegister:e.registerTable,class:"components-table-demo-nested"},{bodyCell:o(({column:n})=>[n.key==="operation"?(i(),m("a",v,"Publish")):s("",!0)]),expandedRowRender:o(()=>[a(b,{columns:e.innerColumns,"data-source":e.innerData,pagination:!1},{bodyCell:o(({column:n})=>[n.dataIndex==="state"?(i(),m("span",w,[a(f,{status:"success"}),t[0]||(t[0]=p(" Finished "))])):s("",!0),n.dataIndex==="operation"?(i(),m("span",B,[t[4]||(t[4]=d("a",null,"Pause",-1)),t[5]||(t[5]=d("a",null,"Stop",-1)),a(y,null,{overlay:o(()=>[a(k,null,{default:o(()=>[a(u,null,{default:o(()=>t[1]||(t[1]=[p("Action 1")])),_:1}),a(u,null,{default:o(()=>t[2]||(t[2]=[p("Action 2")])),_:1})]),_:1})]),default:o(()=>[t[3]||(t[3]=d("a",null," More ",-1))]),_:1})])):s("",!0)]),_:1},8,["columns","data-source"])]),_:1},8,["onRegister"])])}const Ft=C(T,[["render",V]]);export{Ft as default};
