const e=require("../context/SummaryContext.js"),t=require("../context/TableContext.js"),n=require("./Cell.js"),r=require("./Row.js"),i=require("./Summary.js");let a=require("vue");var o=(0,a.defineComponent)({name:`TableFooter`,inheritAttrs:!1,props:[`stickyOffsets`,`flattenColumns`],setup(n,{slots:r}){let i=t.useInjectTable();return e.useProvideSummary((0,a.reactive)({stickyOffsets:(0,a.toRef)(n,`stickyOffsets`),flattenColumns:(0,a.toRef)(n,`flattenColumns`),scrollColumnIndex:(0,a.computed)(()=>{let e=n.flattenColumns.length-1;return n.flattenColumns[e]?.scrollbar?e:null})})),()=>{let{prefixCls:e}=i;return(0,a.createVNode)(`tfoot`,{class:`${e}-summary`},[r.default?.()])}}}),s=i.default;exports.FooterComponents=s,exports.SummaryCell=n.default,exports.SummaryRow=r.default,exports.default=o;