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