var v=Object.defineProperty;var s=Object.getOwnPropertySymbols;var w=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable;var u=(e,t,a)=>t in e?v(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,g=(e,t)=>{for(var a in t||(t={}))w.call(t,a)&&u(e,a,t[a]);if(s)for(var a of s(t))z.call(t,a)&&u(e,a,t[a]);return e};import{a as o,v as P}from"./ant-design-vue-710243d9.js";const k=(e={})=>{const t=o(!1),a=o([]),l=o({}),n=P(g({total:0,current:1,pageSize:10,showSizeChanger:!0,showQuickJumper:!0,showTotal:r=>`总 ${r} 条数据`,pageSizeOptions:["10","20","30","40"]},e!=null?e:{}));function f(){n.total=0,n.current=1}function h(r=1){const{total:m,current:i,pageSize:p}=n,c=Math.ceil((m-r)/p);n.current=i>c?c:i}function S(){t.value=!0}function d(){t.value=!1}return{loading:t,listData:a,searchFormData:l,paginationState:n,resetPagination:f,refreshPagination:h,showLoading:S,hideLoading:d}};export{k as u};
