import{c as K,a7 as cr,d as Mt,a as V,b as Jr,w as D,e as U,f as Yr,g as Zr,i as P,h as Qr,t as xt,B as Bt,u as Gt}from"./index-BZkriacA.js";var M=function(r){return r&&r.Math===Math&&r},d=M(typeof globalThis=="object"&&globalThis)||M(typeof window=="object"&&window)||M(typeof self=="object"&&self)||M(typeof K=="object"&&K)||M(typeof K=="object"&&K)||function(){return this}()||Function("return this")(),Lr={},p=function(r){try{return!!r()}catch(e){return!0}},kt=p,S=!kt(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),Kt=p,tr=!Kt(function(){var r=function(){}.bind();return typeof r!="function"||r.hasOwnProperty("prototype")}),Vt=tr,W=Function.prototype.call,Nr=Vt?W.bind(W):function(){return W.apply(W,arguments)},Ve={},Ue={}.propertyIsEnumerable,We=Object.getOwnPropertyDescriptor,Ut=We&&!Ue.call({1:2},1);Ve.f=Ut?function(e){var t=We(this,e);return!!t&&t.enumerable}:Ue;var ar=function(r,e){return{enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:e}},ze=tr,He=Function.prototype,Ir=He.call,Wt=ze&&He.bind.bind(Ir,Ir),v=ze?Wt:function(r){return function(){return Ir.apply(r,arguments)}},qe=v,zt=qe({}.toString),Ht=qe("".slice),nr=function(r){return Ht(zt(r),8,-1)},qt=v,Xt=p,Jt=nr,ur=Object,Yt=qt("".split),Xe=Xt(function(){return!ur("z").propertyIsEnumerable(0)})?function(r){return Jt(r)==="String"?Yt(r,""):ur(r)}:ur,Je=function(r){return r==null},Zt=Je,Qt=TypeError,Fr=function(r){if(Zt(r))throw new Qt("Can't call method on "+r);return r},ra=Xe,ea=Fr,Dr=function(r){return ra(ea(r))},lr=typeof document=="object"&&document.all,y=typeof lr=="undefined"&&lr!==void 0?function(r){return typeof r=="function"||r===lr}:function(r){return typeof r=="function"},ta=y,b=function(r){return typeof r=="object"?r!==null:ta(r)},sr=d,aa=y,na=function(r){return aa(r)?r:void 0},or=function(r,e){return arguments.length<2?na(sr[r]):sr[r]&&sr[r][e]},oa=v,Ye=oa({}.isPrototypeOf),ia=typeof navigator!="undefined"&&String(navigator.userAgent)||"",Ze=d,vr=ia,re=Ze.process,ee=Ze.Deno,te=re&&re.versions||ee&&ee.version,ae=te&&te.v8,$,Z;ae&&($=ae.split("."),Z=$[0]>0&&$[0]<4?1:+($[0]+$[1]));!Z&&vr&&($=vr.match(/Edge\/(\d+)/),(!$||$[1]>=74)&&($=vr.match(/Chrome\/(\d+)/),$&&(Z=+$[1])));var Mr=Z,ne=Mr,ca=p,ua=d,la=ua.String,Qe=!!Object.getOwnPropertySymbols&&!ca(function(){var r=Symbol("symbol detection");return!la(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&ne&&ne<41}),sa=Qe,rt=sa&&!Symbol.sham&&typeof Symbol.iterator=="symbol",va=or,fa=y,pa=Ye,ya=rt,da=Object,et=ya?function(r){return typeof r=="symbol"}:function(r){var e=va("Symbol");return fa(e)&&pa(e.prototype,da(r))},$a=String,ba=function(r){try{return $a(r)}catch(e){return"Object"}},ga=y,ha=ba,Sa=TypeError,xr=function(r){if(ga(r))return r;throw new Sa(ha(r)+" is not a function")},ma=xr,Oa=Je,Ea=function(r,e){var t=r[e];return Oa(t)?void 0:ma(t)},fr=Nr,pr=y,yr=b,Ta=TypeError,wa=function(r,e){var t,a;if(e==="string"&&pr(t=r.toString)&&!yr(a=fr(t,r))||pr(t=r.valueOf)&&!yr(a=fr(t,r))||e!=="string"&&pr(t=r.toString)&&!yr(a=fr(t,r)))return a;throw new Ta("Can't convert object to primitive value")},tt={exports:{}},oe=d,Ia=Object.defineProperty,Br=function(r,e){try{Ia(oe,r,{value:e,configurable:!0,writable:!0})}catch(t){oe[r]=e}return e},Pa=d,_a=Br,ie="__core-js_shared__",ce=tt.exports=Pa[ie]||_a(ie,{});(ce.versions||(ce.versions=[])).push({version:"3.37.1",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"});var Gr=tt.exports,ue=Gr,at=function(r,e){return ue[r]||(ue[r]=e||{})},Ca=Fr,ja=Object,kr=function(r){return ja(Ca(r))},Ra=v,Aa=kr,La=Ra({}.hasOwnProperty),T=Object.hasOwn||function(e,t){return La(Aa(e),t)},Na=v,Fa=0,Da=Math.random(),Ma=Na(1 .toString),nt=function(r){return"Symbol("+(r===void 0?"":r)+")_"+Ma(++Fa+Da,36)},xa=d,Ba=at,le=T,Ga=nt,ka=Qe,Ka=rt,C=xa.Symbol,dr=Ba("wks"),Va=Ka?C.for||C:C&&C.withoutSetter||Ga,j=function(r){return le(dr,r)||(dr[r]=ka&&le(C,r)?C[r]:Va("Symbol."+r)),dr[r]},Ua=Nr,se=b,ve=et,Wa=Ea,za=wa,Ha=j,qa=TypeError,Xa=Ha("toPrimitive"),Ja=function(r,e){if(!se(r)||ve(r))return r;var t=Wa(r,Xa),a;if(t){if(e===void 0&&(e="default"),a=Ua(t,r,e),!se(a)||ve(a))return a;throw new qa("Can't convert object to primitive value")}return e===void 0&&(e="number"),za(r,e)},Ya=Ja,Za=et,ot=function(r){var e=Ya(r,"string");return Za(e)?e:e+""},Qa=d,fe=b,Pr=Qa.document,rn=fe(Pr)&&fe(Pr.createElement),it=function(r){return rn?Pr.createElement(r):{}},en=S,tn=p,an=it,ct=!en&&!tn(function(){return Object.defineProperty(an("div"),"a",{get:function(){return 7}}).a!==7}),nn=S,on=Nr,cn=Ve,un=ar,ln=Dr,sn=ot,vn=T,fn=ct,pe=Object.getOwnPropertyDescriptor;Lr.f=nn?pe:function(e,t){if(e=ln(e),t=sn(t),fn)try{return pe(e,t)}catch(a){}if(vn(e,t))return un(!on(cn.f,e,t),e[t])};var R={},pn=S,yn=p,dn=pn&&yn(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),$n=b,bn=String,gn=TypeError,ut=function(r){if($n(r))return r;throw new gn(bn(r)+" is not an object")},hn=S,Sn=ct,mn=dn,z=ut,ye=ot,On=TypeError,$r=Object.defineProperty,En=Object.getOwnPropertyDescriptor,br="enumerable",gr="configurable",hr="writable";R.f=hn?mn?function(e,t,a){if(z(e),t=ye(t),z(a),typeof e=="function"&&t==="prototype"&&"value"in a&&hr in a&&!a[hr]){var n=En(e,t);n&&n[hr]&&(e[t]=a.value,a={configurable:gr in a?a[gr]:n[gr],enumerable:br in a?a[br]:n[br],writable:!1})}return $r(e,t,a)}:$r:function(e,t,a){if(z(e),t=ye(t),z(a),Sn)try{return $r(e,t,a)}catch(n){}if("get"in a||"set"in a)throw new On("Accessors not supported");return"value"in a&&(e[t]=a.value),e};var Tn=S,wn=R,In=ar,A=Tn?function(r,e,t){return wn.f(r,e,In(1,t))}:function(r,e,t){return r[e]=t,r},lt={exports:{}},_r=S,Pn=T,st=Function.prototype,_n=_r&&Object.getOwnPropertyDescriptor,Kr=Pn(st,"name"),Cn=Kr&&function(){}.name==="something",jn=Kr&&(!_r||_r&&_n(st,"name").configurable),Rn={EXISTS:Kr,PROPER:Cn,CONFIGURABLE:jn},An=v,Ln=y,Cr=Gr,Nn=An(Function.toString);Ln(Cr.inspectSource)||(Cr.inspectSource=function(r){return Nn(r)});var vt=Cr.inspectSource,Fn=d,Dn=y,de=Fn.WeakMap,Mn=Dn(de)&&/native code/.test(String(de)),xn=at,Bn=nt,$e=xn("keys"),Gn=function(r){return $e[r]||($e[r]=Bn(r))},ft={},kn=Mn,pt=d,Kn=b,Vn=A,Sr=T,mr=Gr,Un=Gn,Wn=ft,be="Object already initialized",jr=pt.TypeError,zn=pt.WeakMap,Q,B,rr,Hn=function(r){return rr(r)?B(r):Q(r,{})},qn=function(r){return function(e){var t;if(!Kn(e)||(t=B(e)).type!==r)throw new jr("Incompatible receiver, "+r+" required");return t}};if(kn||mr.state){var g=mr.state||(mr.state=new zn);g.get=g.get,g.has=g.has,g.set=g.set,Q=function(r,e){if(g.has(r))throw new jr(be);return e.facade=r,g.set(r,e),e},B=function(r){return g.get(r)||{}},rr=function(r){return g.has(r)}}else{var _=Un("state");Wn[_]=!0,Q=function(r,e){if(Sr(r,_))throw new jr(be);return e.facade=r,Vn(r,_,e),e},B=function(r){return Sr(r,_)?r[_]:{}},rr=function(r){return Sr(r,_)}}var Xn={set:Q,get:B,has:rr,enforce:Hn,getterFor:qn},Vr=v,Jn=p,Yn=y,H=T,Rr=S,Zn=Rn.CONFIGURABLE,Qn=vt,yt=Xn,ro=yt.enforce,eo=yt.get,ge=String,J=Object.defineProperty,to=Vr("".slice),ao=Vr("".replace),no=Vr([].join),oo=Rr&&!Jn(function(){return J(function(){},"length",{value:8}).length!==8}),io=String(String).split("String"),co=lt.exports=function(r,e,t){to(ge(e),0,7)==="Symbol("&&(e="["+ao(ge(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),t&&t.getter&&(e="get "+e),t&&t.setter&&(e="set "+e),(!H(r,"name")||Zn&&r.name!==e)&&(Rr?J(r,"name",{value:e,configurable:!0}):r.name=e),oo&&t&&H(t,"arity")&&r.length!==t.arity&&J(r,"length",{value:t.arity});try{t&&H(t,"constructor")&&t.constructor?Rr&&J(r,"prototype",{writable:!1}):r.prototype&&(r.prototype=void 0)}catch(n){}var a=ro(r);return H(a,"source")||(a.source=no(io,typeof e=="string"?e:"")),r};Function.prototype.toString=co(function(){return Yn(this)&&eo(this).source||Qn(this)},"toString");var uo=lt.exports,lo=y,so=R,vo=uo,fo=Br,dt=function(r,e,t,a){a||(a={});var n=a.enumerable,o=a.name!==void 0?a.name:e;if(lo(t)&&vo(t,o,a),a.global)n?r[e]=t:fo(e,t);else{try{a.unsafe?r[e]&&(n=!0):delete r[e]}catch(i){}n?r[e]=t:so.f(r,e,{value:t,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return r},$t={},po=Math.ceil,yo=Math.floor,$o=Math.trunc||function(e){var t=+e;return(t>0?yo:po)(t)},bo=$o,bt=function(r){var e=+r;return e!==e||e===0?0:bo(e)},go=bt,ho=Math.max,So=Math.min,mo=function(r,e){var t=go(r);return t<0?ho(t+e,0):So(t,e)},Oo=bt,Eo=Math.min,To=function(r){var e=Oo(r);return e>0?Eo(e,9007199254740991):0},wo=To,Ur=function(r){return wo(r.length)},Io=Dr,Po=mo,_o=Ur,he=function(r){return function(e,t,a){var n=Io(e),o=_o(n);if(o===0)return!r&&-1;var i=Po(a,o),c;if(r&&t!==t){for(;o>i;)if(c=n[i++],c!==c)return!0}else for(;o>i;i++)if((r||i in n)&&n[i]===t)return r||i||0;return!r&&-1}},Co={includes:he(!0),indexOf:he(!1)},jo=v,Or=T,Ro=Dr,Ao=Co.indexOf,Lo=ft,Se=jo([].push),No=function(r,e){var t=Ro(r),a=0,n=[],o;for(o in t)!Or(Lo,o)&&Or(t,o)&&Se(n,o);for(;e.length>a;)Or(t,o=e[a++])&&(~Ao(n,o)||Se(n,o));return n},Fo=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Do=No,Mo=Fo,xo=Mo.concat("length","prototype");$t.f=Object.getOwnPropertyNames||function(e){return Do(e,xo)};var gt={};gt.f=Object.getOwnPropertySymbols;var Bo=or,Go=v,ko=$t,Ko=gt,Vo=ut,Uo=Go([].concat),Wo=Bo("Reflect","ownKeys")||function(e){var t=ko.f(Vo(e)),a=Ko.f;return a?Uo(t,a(e)):t},me=T,zo=Wo,Ho=Lr,qo=R,ht=function(r,e,t){for(var a=zo(e),n=qo.f,o=Ho.f,i=0;io&&uc(O,arguments[o]),O});s.prototype=l,c!=="Error"?_e?_e(s,f):Ce(s,f,{name:!0}):sc&&n in u&&(je(s,u,n),je(s,u,"prepareStackTrace")),Ce(s,u);try{l.name!==c&&Pe(l,"name",c),l.constructor=s}catch(m){}return s}},It=St,fc=d,h=si,Pt=vc,Ar="WebAssembly",Re=fc[Ar],er=new Error("e",{cause:7}).cause!==7,I=function(r,e){var t={};t[r]=Pt(r,e,er),It({global:!0,constructor:!0,arity:1,forced:er},t)},Hr=function(r,e){if(Re&&Re[r]){var t={};t[r]=Pt(Ar+"."+r,e,er),It({target:Ar,stat:!0,constructor:!0,arity:1,forced:er},t)}};I("Error",function(r){return function(t){return h(r,this,arguments)}});I("EvalError",function(r){return function(t){return h(r,this,arguments)}});I("RangeError",function(r){return function(t){return h(r,this,arguments)}});I("ReferenceError",function(r){return function(t){return h(r,this,arguments)}});I("SyntaxError",function(r){return function(t){return h(r,this,arguments)}});I("TypeError",function(r){return function(t){return h(r,this,arguments)}});I("URIError",function(r){return function(t){return h(r,this,arguments)}});Hr("CompileError",function(r){return function(t){return h(r,this,arguments)}});Hr("LinkError",function(r){return function(t){return h(r,this,arguments)}});Hr("RuntimeError",function(r){return function(t){return h(r,this,arguments)}});var pc=nr,_t=Array.isArray||function(e){return pc(e)==="Array"},yc=TypeError,dc=9007199254740991,$c=function(r){if(r>dc)throw yc("Maximum allowed index exceeded");return r},bc=S,gc=R,hc=ar,Sc=function(r,e,t){bc?gc.f(r,e,hc(0,t)):r[e]=t},mc=v,Oc=p,Ct=y,Ec=zr,Tc=or,wc=vt,jt=function(){},Rt=Tc("Reflect","construct"),qr=/^\s*(?:class|function)\b/,Ic=mc(qr.exec),Pc=!qr.test(jt),x=function(e){if(!Ct(e))return!1;try{return Rt(jt,[],e),!0}catch(t){return!1}},At=function(e){if(!Ct(e))return!1;switch(Ec(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Pc||!!Ic(qr,wc(e))}catch(t){return!0}};At.sham=!0;var _c=!Rt||Oc(function(){var r;return x(x.call)||!x(Object)||!x(function(){r=!0})||r})?At:x,Ae=_t,Cc=_c,jc=b,Rc=j,Ac=Rc("species"),Le=Array,Lc=function(r){var e;return Ae(r)&&(e=r.constructor,Cc(e)&&(e===Le||Ae(e.prototype))?e=void 0:jc(e)&&(e=e[Ac],e===null&&(e=void 0))),e===void 0?Le:e},Nc=Lc,Lt=function(r,e){return new(Nc(r))(e===0?0:e)},Fc=p,Dc=j,Mc=Mr,xc=Dc("species"),Bc=function(r){return Mc>=51||!Fc(function(){var e=[],t=e.constructor={};return t[xc]=function(){return{foo:1}},e[r](Boolean).foo!==1})},Gc=St,kc=p,Kc=_t,Vc=b,Uc=kr,Wc=Ur,Ne=$c,Fe=Sc,zc=Lt,Hc=Bc,qc=j,Xc=Mr,Nt=qc("isConcatSpreadable"),Jc=Xc>=51||!kc(function(){var r=[];return r[Nt]=!1,r.concat()[0]!==r}),Yc=function(r){if(!Vc(r))return!1;var e=r[Nt];return e!==void 0?!!e:Kc(r)},Zc=!Jc||!Hc("concat");Gc({target:"Array",proto:!0,arity:1,forced:Zc},{concat:function(e){var t=Uc(this),a=zc(t,0),n=0,o,i,c,u,l;for(o=-1,c=arguments.length;ow;w++)if((c||w in L)&&(F=L[w],ir=O(F,w,m),r))if(e)k[w]=ir;else if(ir)switch(r){case 3:return!0;case 5:return F;case 6:return w;case 2:xe(k,F)}else switch(r){case 4:return!1;case 7:xe(k,F)}return o?-1:a||n?n:k}},mu={forEach:E(0),map:E(1),filter:E(2),some:E(3),every:E(4),find:E(5),findIndex:E(6),filterReject:E(7)},Ou=p,Eu=function(r,e){var t=[][r];return!!t&&Ou(function(){t.call(null,e||function(){return 1},1)})},Tu=mu.forEach,wu=Eu,Iu=wu("forEach"),Pu=Iu?[].forEach:function(e){return Tu(this,e,arguments.length>1?arguments[1]:void 0)},Be=d,Ge=ou,_u=cu,Tr=Pu,Cu=A,Ft=function(r){if(r&&r.forEach!==Tr)try{Cu(r,"forEach",Tr)}catch(e){r.forEach=Tr}};for(var wr in Ge)Ge[wr]&&Ft(Be[wr]&&Be[wr].prototype);Ft(_u);/*! * el-table-infinite-scroll v3.0.5 * (c) 2019-2024 yujinpan */function ju(r,e,t){var a;t.forEach(function(n){a=r.getAttribute(n),a!==null?e.setAttribute(n,a):e.removeAttribute(n)})}/*! * el-table-infinite-scroll v3.0.5 * (c) 2019-2024 yujinpan */var ke="[el-table-infinite-scroll]: ",X=".el-scrollbar__wrap",Ru={mounted:function(e,t,a,n){var o=e.querySelector(X);if(!o)throw new Error("".concat(ke).concat(X," element not found."));o.style.overflowY="auto",setTimeout(function(){e.style.height||(o.style.height="400px",console.warn("".concat(ke,"el-table height required, otherwise will set scrollbar default height: 400px"))),Ke(e,o),cr.mounted(o,t,a,n)},0)},updated:function(e){Ke(e,e.querySelector(X))},unmounted:function(e){for(var t=e.querySelector(X),a=arguments.length,n=new Array(a>1?a-1:0),o=1;o{o.value||(a.value++,a.value<=n.value&&(t.value=t.value.concat(e)),a.value===n.value&&(o.value=!0))};return(c,u)=>{const l=U("el-link"),f=U("el-table-column"),s=U("el-table"),m=U("el-card");return Yr(),Jr(m,{shadow:"never"},{header:D(()=>[Zr("div",Au,[P(l,{href:"https://github.com/yujinpan/el-table-infinite-scroll",target:"_blank",style:{margin:"0 5px 4px 0","font-size":"16px"}},{default:D(()=>[Qr(" 表格无限滚动 ")]),_:1})]),P(l,{class:"mt-2",href:"https://github.com/pure-admin/vue-pure-admin/blob/main/src/views/able/infinite-scroll.vue",target:"_blank"},{default:D(()=>[Qr(" 代码位置 src/views/able/infinite-scroll.vue ")]),_:1})]),default:D(()=>[Zr("p",Lu,xt(o.value?"已加载全部页":`加载到第 ${a.value} 页`),1),Bt((Yr(),Jr(s,{border:"",height:"435px",data:t.value,"infinite-scroll-disabled":o.value},{default:D(()=>[P(f,{width:"80",type:"index",label:"序号"}),P(f,{prop:"date",label:"日期"}),P(f,{prop:"name",label:"名称"}),P(f,{prop:"age",label:"年龄"})]),_:1},8,["data","infinite-scroll-disabled"])),[[Gt(Dt),i]])]),_:1})}}});export{Fu as default};