const e=require("../context/SummaryContext.js"),t=require("../context/TableContext.js"),n=require("../Cell/index.js"),r=require("../utils/fixUtil.js");let i=require("vue");var a=(0,i.defineComponent)({name:`ATableSummaryCell`,props:[`index`,`colSpan`,`rowSpan`,`align`],setup(a,{attrs:o,slots:s}){let c=t.useInjectTable(),l=e.useInjectSummary();return()=>{let{index:e,colSpan:t=1,rowSpan:u,align:d}=a,{prefixCls:f,direction:p}=c,{scrollColumnIndex:m,stickyOffsets:h,flattenColumns:g}=l,_=e+t-1+1===m?t+1:t,v=r.getCellFixedInfo(e,e+_-1,g,h,p);return(0,i.createVNode)(n.default,{class:o.class,index:e,component:`td`,prefixCls:f,record:null,dataIndex:null,align:d,colSpan:_,rowSpan:u,customRender:()=>s.default?.(),...v},null)}}});exports.default=a;