System.register(["./page_layout-legacy.js?v=1753954525509","./naive-legacy.js?v=1753954525509","./vue-legacy.js?v=1753954525509"],(function(e,a){"use strict";var s,i,t,p,u,o,r,l,n,g,c,d,z,f,v,S;return{setters:[e=>{s=e.k,i=e.s,t=e.j},e=>{p=e.cO},e=>{u=e.k,o=e.ab,r=e.c,l=e.ac,n=e.U,g=e.a1,c=e.ax,d=e.a2,z=e.W,f=e.a3,v=e.s,S=e.n}],execute:function(){const a={class:"ml-8px text-14px"};e("_",u({__name:"index",props:o({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:o(["refresh"],["update:page","update:pageSize"]),setup(e,{emit:u}){const o=e,h=u,k=r((()=>{const{storeKey:e}=o;return e?`${e}-page`:""})),m=l(e,"page"),y=l(e,"pageSize"),w=e=>{m.value=e,h("refresh")},x=e=>{m.value=1,y.value=e,o.onUpdatePageSize?.(s(e)),j(e),S((()=>{h("refresh")}))},j=e=>{k.value&&i(k.value,String(e))};return(()=>{if(k.value){const e=t(k.value);e&&(y.value=s(e),o.onUpdatePageSize?.(s(e)))}})(),(e,s)=>{const i=p;return n(),g(i,v(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"]}),c({_:2},[e.showTotal?{name:"suffix",fn:d((({itemCount:s})=>[z("span",a,f(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"])}}}))}}}));
