System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./data-legacy-B9xdUIE5.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785"],(function(e,a){"use strict";var s,i,t,p,u,o,r,n,g,l,c,d,z,f,v,S;return{setters:[e=>{s=e.aH,i=e.aI},e=>{t=e.g},e=>{p=e.aB},e=>{u=e.k,o=e.c,r=e.an,n=e.$,g=e.a8,l=e.au,c=e.a9,d=e._,z=e.aa,f=e.s,v=e.ao,S=e.n}],execute:function(){const a={class:"ml-8px text-14px"};e("_",u({__name:"index",props:v({storeKey:{default:""},pageSizes:{default:()=>[10,20,50,100]},showTotal:{type:Boolean,default:!0},showSizePicker:{type:Boolean,default:!0},showQuickJumper:{type:Boolean,default:!0},onUpdatePageSize:{}},{page:{},pageModifiers:{},pageSize:{},pageSizeModifiers:{}}),emits:v(["refresh"],["update:page","update:pageSize"]),setup(e,{emit:u}){const v=e,h=u,k=o((()=>{const{storeKey:e}=v;return e?`${e}-page`:""})),m=r(e,"page"),y=r(e,"pageSize"),w=e=>{m.value=e,h("refresh")},x=e=>{m.value=1,y.value=e,v.onUpdatePageSize?.(t(e)),j(e),S((()=>{h("refresh")}))},j=e=>{k.value&&s(k.value,String(e))};return(()=>{if(k.value){const e=i(k.value);e&&(y.value=t(e),v.onUpdatePageSize?.(t(e)))}})(),(e,s)=>{const i=p;return n(),g(i,f(e.$attrs,{page:m.value,"onUpdate:page":[s[0]||(s[0]=e=>m.value=e),w],"page-size":y.value,"onUpdate:pageSize":[s[1]||(s[1]=e=>y.value=e),x],"show-size-picker":e.showSizePicker,"show-quick-jumper":e.showQuickJumper,"page-sizes":e.pageSizes,"display-order":["pages","size-picker","quick-jumper"]}),l({_:2},[e.showTotal?{name:"suffix",fn:c((({itemCount:s})=>[d("span",a,z(e.$t("Public.Table.Page.index_4",[s])),1)])),key:"0"}:void 0]),1040,["page","page-size","show-size-picker","show-quick-jumper","page-sizes"])}}}))}}}));
