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