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