const e=require("../context/TableContext.js");let t=require("vue");var n=0,r=(0,t.defineComponent)({name:`TableSummary`,props:[`fixed`],setup(r,{slots:i}){let a=e.useInjectTable(),o=`table-summary-uni-key-${++n}`,s=(0,t.computed)(()=>r.fixed===``||r.fixed);return(0,t.watchEffect)(()=>{a.summaryCollect(o,s.value)}),(0,t.onBeforeUnmount)(()=>{a.summaryCollect(o,!1)}),()=>i.default?.()}});exports.default=r;