System.register(["./page_layout-legacy.js?v=1763625242172","./naive-legacy.js?v=1763625242172","./vue-legacy.js?v=1763625242172"],(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.l,i=e.s,t=e.k},e=>{p=e.d$},e=>{u=e.k,o=e.ad,r=e.c,l=e.ae,n=e.R,g=e.a2,c=e.ay,d=e.a3,z=e.U,f=e.a4,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`:""})),y=l(e,"page"),m=l(e,"pageSize"),w=e=>{y.value=e,h("refresh")},x=e=>{y.value=1,m.value=e,o.onUpdatePageSize?.(s(e)),P(e),S((()=>{h("refresh")}))},P=e=>{k.value&&i(k.value,String(e))};return(()=>{if(k.value){const e=t(k.value);e&&(m.value=s(e),o.onUpdatePageSize?.(s(e)))}})(),(e,s)=>{const i=p;return n(),g(i,v(e.$attrs,{page:y.value,"onUpdate:page":[s[0]||(s[0]=e=>y.value=e),w],"page-size":m.value,"onUpdate:pageSize":[s[1]||(s[1]=e=>m.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"])}}}))}}}));
