"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),a=t=>{const s=e.useSlots(),o=e.shallowRef("default"),u=e.computed(()=>!!(s["tools-bar"]||t.showMoreTools||t.title));e.watch(()=>t.size,l=>{l&&(o.value=l)},{immediate:!0});const r=e.computed(()=>o.value==="small"?{background:!1,layout:"total,prev,pager,next"}:{});return{showTool:u,tableSize:o,paginationSize:r}};exports.default=a;
