bootstrap-table
Version:
An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation)
11 lines (9 loc) • 14.6 kB
JavaScript
/**
* bootstrap-table - An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation)
*
* @version v1.20.2
* @homepage https://bootstrap-table.com
* @author wenzhixin <wenzhixin2010@gmail.com> (http://wenzhixin.net.cn/)
* @license MIT
*/
!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],n):n((t="undefined"!=typeof globalThis?globalThis:t||self).jQuery)}(this,(function(t){"use strict";function n(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var e=n(t),r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},o=function(t){return t&&t.Math==Math&&t},i=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof r&&r)||function(){return this}()||Function("return this")(),u={},c=function(t){try{return!!t()}catch(t){return!0}},a=!c((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),f=!c((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),l=f,s=Function.prototype.call,p=l?s.bind(s):function(){return s.apply(s,arguments)},g={},y={}.propertyIsEnumerable,b=Object.getOwnPropertyDescriptor,h=b&&!y.call({1:2},1);g.f=h?function(t){var n=b(this,t);return!!n&&n.enumerable}:y;var m,v,d=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}},S=f,w=Function.prototype,O=w.bind,j=w.call,P=S&&O.bind(j,j),T=S?function(t){return t&&P(t)}:function(t){return t&&function(){return j.apply(t,arguments)}},x=T,A=x({}.toString),E=x("".slice),C=function(t){return E(A(t),8,-1)},F=T,R=c,M=C,k=i.Object,I=F("".split),L=R((function(){return!k("z").propertyIsEnumerable(0)}))?function(t){return"String"==M(t)?I(t,""):k(t)}:k,D=i.TypeError,N=function(t){if(null==t)throw D("Can't call method on "+t);return t},Z=L,z=N,G=function(t){return Z(z(t))},U=function(t){return"function"==typeof t},_=U,K=function(t){return"object"==typeof t?null!==t:_(t)},W=i,q=U,B=function(t){return q(t)?t:void 0},V=function(t,n){return arguments.length<2?B(W[t]):W[t]&&W[t][n]},H=T({}.isPrototypeOf),J=i,Q=V("navigator","userAgent")||"",X=J.process,Y=J.Deno,$=X&&X.versions||Y&&Y.version,tt=$&&$.v8;tt&&(v=(m=tt.split("."))[0]>0&&m[0]<4?1:+(m[0]+m[1])),!v&&Q&&(!(m=Q.match(/Edge\/(\d+)/))||m[1]>=74)&&(m=Q.match(/Chrome\/(\d+)/))&&(v=+m[1]);var nt=v,et=nt,rt=c,ot=!!Object.getOwnPropertySymbols&&!rt((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&et&&et<41})),it=ot&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ut=V,ct=U,at=H,ft=it,lt=i.Object,st=ft?function(t){return"symbol"==typeof t}:function(t){var n=ut("Symbol");return ct(n)&&at(n.prototype,lt(t))},pt=i.String,gt=U,yt=function(t){try{return pt(t)}catch(t){return"Object"}},bt=i.TypeError,ht=function(t){if(gt(t))return t;throw bt(yt(t)+" is not a function")},mt=p,vt=U,dt=K,St=i.TypeError,wt={exports:{}},Ot=i,jt=Object.defineProperty,Pt=function(t,n){try{jt(Ot,t,{value:n,configurable:!0,writable:!0})}catch(e){Ot[t]=n}return n},Tt=Pt,xt="__core-js_shared__",At=i[xt]||Tt(xt,{}),Et=At;(wt.exports=function(t,n){return Et[t]||(Et[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.22.5",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.5/LICENSE",source:"https://github.com/zloirock/core-js"});var Ct=N,Ft=i.Object,Rt=function(t){return Ft(Ct(t))},Mt=Rt,kt=T({}.hasOwnProperty),It=Object.hasOwn||function(t,n){return kt(Mt(t),n)},Lt=T,Dt=0,Nt=Math.random(),Zt=Lt(1..toString),zt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+Zt(++Dt+Nt,36)},Gt=i,Ut=wt.exports,_t=It,Kt=zt,Wt=ot,qt=it,Bt=Ut("wks"),Vt=Gt.Symbol,Ht=Vt&&Vt.for,Jt=qt?Vt:Vt&&Vt.withoutSetter||Kt,Qt=function(t){if(!_t(Bt,t)||!Wt&&"string"!=typeof Bt[t]){var n="Symbol."+t;Wt&&_t(Vt,t)?Bt[t]=Vt[t]:Bt[t]=qt&&Ht?Ht(n):Jt(n)}return Bt[t]},Xt=p,Yt=K,$t=st,tn=function(t,n){var e=t[n];return null==e?void 0:ht(e)},nn=function(t,n){var e,r;if("string"===n&&vt(e=t.toString)&&!dt(r=mt(e,t)))return r;if(vt(e=t.valueOf)&&!dt(r=mt(e,t)))return r;if("string"!==n&&vt(e=t.toString)&&!dt(r=mt(e,t)))return r;throw St("Can't convert object to primitive value")},en=Qt,rn=i.TypeError,on=en("toPrimitive"),un=function(t,n){if(!Yt(t)||$t(t))return t;var e,r=tn(t,on);if(r){if(void 0===n&&(n="default"),e=Xt(r,t,n),!Yt(e)||$t(e))return e;throw rn("Can't convert object to primitive value")}return void 0===n&&(n="number"),nn(t,n)},cn=st,an=function(t){var n=un(t,"string");return cn(n)?n:n+""},fn=K,ln=i.document,sn=fn(ln)&&fn(ln.createElement),pn=function(t){return sn?ln.createElement(t):{}},gn=!a&&!c((function(){return 7!=Object.defineProperty(pn("div"),"a",{get:function(){return 7}}).a})),yn=a,bn=p,hn=g,mn=d,vn=G,dn=an,Sn=It,wn=gn,On=Object.getOwnPropertyDescriptor;u.f=yn?On:function(t,n){if(t=vn(t),n=dn(n),wn)try{return On(t,n)}catch(t){}if(Sn(t,n))return mn(!bn(hn.f,t,n),t[n])};var jn={},Pn=a&&c((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Tn=i,xn=K,An=Tn.String,En=Tn.TypeError,Cn=function(t){if(xn(t))return t;throw En(An(t)+" is not an object")},Fn=a,Rn=gn,Mn=Pn,kn=Cn,In=an,Ln=i.TypeError,Dn=Object.defineProperty,Nn=Object.getOwnPropertyDescriptor,Zn="enumerable",zn="configurable",Gn="writable";jn.f=Fn?Mn?function(t,n,e){if(kn(t),n=In(n),kn(e),"function"==typeof t&&"prototype"===n&&"value"in e&&Gn in e&&!e.writable){var r=Nn(t,n);r&&r.writable&&(t[n]=e.value,e={configurable:zn in e?e.configurable:r.configurable,enumerable:Zn in e?e.enumerable:r.enumerable,writable:!1})}return Dn(t,n,e)}:Dn:function(t,n,e){if(kn(t),n=In(n),kn(e),Rn)try{return Dn(t,n,e)}catch(t){}if("get"in e||"set"in e)throw Ln("Accessors not supported");return"value"in e&&(t[n]=e.value),t};var Un=jn,_n=d,Kn=a?function(t,n,e){return Un.f(t,n,_n(1,e))}:function(t,n,e){return t[n]=e,t},Wn={exports:{}},qn=a,Bn=It,Vn=Function.prototype,Hn=qn&&Object.getOwnPropertyDescriptor,Jn=Bn(Vn,"name"),Qn={EXISTS:Jn,PROPER:Jn&&"something"===function(){}.name,CONFIGURABLE:Jn&&(!qn||qn&&Hn(Vn,"name").configurable)},Xn=U,Yn=At,$n=T(Function.toString);Xn(Yn.inspectSource)||(Yn.inspectSource=function(t){return $n(t)});var te,ne,ee,re=Yn.inspectSource,oe=U,ie=re,ue=i.WeakMap,ce=oe(ue)&&/native code/.test(ie(ue)),ae=wt.exports,fe=zt,le=ae("keys"),se={},pe=ce,ge=i,ye=T,be=K,he=Kn,me=It,ve=At,de=function(t){return le[t]||(le[t]=fe(t))},Se=se,we="Object already initialized",Oe=ge.TypeError,je=ge.WeakMap;if(pe||ve.state){var Pe=ve.state||(ve.state=new je),Te=ye(Pe.get),xe=ye(Pe.has),Ae=ye(Pe.set);te=function(t,n){if(xe(Pe,t))throw new Oe(we);return n.facade=t,Ae(Pe,t,n),n},ne=function(t){return Te(Pe,t)||{}},ee=function(t){return xe(Pe,t)}}else{var Ee=de("state");Se[Ee]=!0,te=function(t,n){if(me(t,Ee))throw new Oe(we);return n.facade=t,he(t,Ee,n),n},ne=function(t){return me(t,Ee)?t[Ee]:{}},ee=function(t){return me(t,Ee)}}var Ce={set:te,get:ne,has:ee,enforce:function(t){return ee(t)?ne(t):te(t,{})},getterFor:function(t){return function(n){var e;if(!be(n)||(e=ne(n)).type!==t)throw Oe("Incompatible receiver, "+t+" required");return e}}},Fe=c,Re=U,Me=It,ke=a,Ie=Qn.CONFIGURABLE,Le=re,De=Ce.enforce,Ne=Ce.get,Ze=Object.defineProperty,ze=ke&&!Fe((function(){return 8!==Ze((function(){}),"length",{value:8}).length})),Ge=String(String).split("String"),Ue=Wn.exports=function(t,n,e){if("Symbol("===String(n).slice(0,7)&&(n="["+String(n).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),e&&e.getter&&(n="get "+n),e&&e.setter&&(n="set "+n),(!Me(t,"name")||Ie&&t.name!==n)&&Ze(t,"name",{value:n,configurable:!0}),ze&&e&&Me(e,"arity")&&t.length!==e.arity&&Ze(t,"length",{value:e.arity}),e&&Me(e,"constructor")&&e.constructor){if(ke)try{Ze(t,"prototype",{writable:!1})}catch(t){}}else t.prototype=void 0;var r=De(t);return Me(r,"source")||(r.source=Ge.join("string"==typeof n?n:"")),t};Function.prototype.toString=Ue((function(){return Re(this)&&Ne(this).source||Le(this)}),"toString");var _e=i,Ke=U,We=Kn,qe=Wn.exports,Be=Pt,Ve={},He=Math.ceil,Je=Math.floor,Qe=function(t){var n=+t;return n!=n||0===n?0:(n>0?Je:He)(n)},Xe=Qe,Ye=Math.max,$e=Math.min,tr=Qe,nr=Math.min,er=function(t){return t>0?nr(tr(t),9007199254740991):0},rr=function(t){return er(t.length)},or=G,ir=function(t,n){var e=Xe(t);return e<0?Ye(e+n,0):$e(e,n)},ur=rr,cr=function(t){return function(n,e,r){var o,i=or(n),u=ur(i),c=ir(r,u);if(t&&e!=e){for(;u>c;)if((o=i[c++])!=o)return!0}else for(;u>c;c++)if((t||c in i)&&i[c]===e)return t||c||0;return!t&&-1}},ar={includes:cr(!0),indexOf:cr(!1)},fr=It,lr=G,sr=ar.indexOf,pr=se,gr=T([].push),yr=function(t,n){var e,r=lr(t),o=0,i=[];for(e in r)!fr(pr,e)&&fr(r,e)&&gr(i,e);for(;n.length>o;)fr(r,e=n[o++])&&(~sr(i,e)||gr(i,e));return i},br=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype");Ve.f=Object.getOwnPropertyNames||function(t){return yr(t,br)};var hr={};hr.f=Object.getOwnPropertySymbols;var mr=V,vr=Ve,dr=hr,Sr=Cn,wr=T([].concat),Or=mr("Reflect","ownKeys")||function(t){var n=vr.f(Sr(t)),e=dr.f;return e?wr(n,e(t)):n},jr=It,Pr=Or,Tr=u,xr=jn,Ar=c,Er=U,Cr=/#|\.prototype\./,Fr=function(t,n){var e=Mr[Rr(t)];return e==Ir||e!=kr&&(Er(n)?Ar(n):!!n)},Rr=Fr.normalize=function(t){return String(t).replace(Cr,".").toLowerCase()},Mr=Fr.data={},kr=Fr.NATIVE="N",Ir=Fr.POLYFILL="P",Lr=Fr,Dr=i,Nr=u.f,Zr=Kn,zr=function(t,n,e,r){var o=!!r&&!!r.unsafe,i=!!r&&!!r.enumerable,u=!!r&&!!r.noTargetGet,c=r&&void 0!==r.name?r.name:n;return Ke(e)&&qe(e,c,r),t===_e?(i?t[n]=e:Be(n,e),t):(o?!u&&t[n]&&(i=!0):delete t[n],i?t[n]=e:We(t,n,e),t)},Gr=Pt,Ur=function(t,n,e){for(var r=Pr(n),o=xr.f,i=Tr.f,u=0;u<r.length;u++){var c=r[u];jr(t,c)||e&&jr(e,c)||o(t,c,i(n,c))}},_r=Lr,Kr=C,Wr=Array.isArray||function(t){return"Array"==Kr(t)},qr=an,Br=jn,Vr=d,Hr={};Hr[Qt("toStringTag")]="z";var Jr=i,Qr="[object z]"===String(Hr),Xr=U,Yr=C,$r=Qt("toStringTag"),to=Jr.Object,no="Arguments"==Yr(function(){return arguments}()),eo=T,ro=c,oo=U,io=Qr?Yr:function(t){var n,e,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,n){try{return t[n]}catch(t){}}(n=to(t),$r))?e:no?Yr(n):"Object"==(r=Yr(n))&&Xr(n.callee)?"Arguments":r},uo=re,co=function(){},ao=[],fo=V("Reflect","construct"),lo=/^\s*(?:class|function)\b/,so=eo(lo.exec),po=!lo.exec(co),go=function(t){if(!oo(t))return!1;try{return fo(co,ao,t),!0}catch(t){return!1}},yo=function(t){if(!oo(t))return!1;switch(io(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return po||!!so(lo,uo(t))}catch(t){return!0}};yo.sham=!0;var bo=!fo||ro((function(){var t;return go(go.call)||!go(Object)||!go((function(){t=!0}))||t}))?yo:go,ho=i,mo=Wr,vo=bo,So=K,wo=Qt("species"),Oo=ho.Array,jo=function(t){var n;return mo(t)&&(n=t.constructor,(vo(n)&&(n===Oo||mo(n.prototype))||So(n)&&null===(n=n[wo]))&&(n=void 0)),void 0===n?Oo:n},Po=c,To=nt,xo=Qt("species"),Ao=function(t,n){var e,r,o,i,u,c=t.target,a=t.global,f=t.stat;if(e=a?Dr:f?Dr[c]||Gr(c,{}):(Dr[c]||{}).prototype)for(r in n){if(i=n[r],o=t.noTargetGet?(u=Nr(e,r))&&u.value:e[r],!_r(a?r:c+(f?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Ur(i,o)}(t.sham||o&&o.sham)&&Zr(i,"sham",!0),zr(e,r,i,t)}},Eo=i,Co=c,Fo=Wr,Ro=K,Mo=Rt,ko=rr,Io=function(t,n,e){var r=qr(n);r in t?Br.f(t,r,Vr(0,e)):t[r]=e},Lo=function(t,n){return new(jo(t))(0===n?0:n)},Do=function(t){return To>=51||!Po((function(){var n=[];return(n.constructor={})[xo]=function(){return{foo:1}},1!==n[t](Boolean).foo}))},No=nt,Zo=Qt("isConcatSpreadable"),zo=9007199254740991,Go="Maximum allowed index exceeded",Uo=Eo.TypeError,_o=No>=51||!Co((function(){var t=[];return t[Zo]=!1,t.concat()[0]!==t})),Ko=Do("concat"),Wo=function(t){if(!Ro(t))return!1;var n=t[Zo];return void 0!==n?!!n:Fo(t)};Ao({target:"Array",proto:!0,arity:1,forced:!_o||!Ko},{concat:function(t){var n,e,r,o,i,u=Mo(this),c=Lo(u,0),a=0;for(n=-1,r=arguments.length;n<r;n++)if(Wo(i=-1===n?u:arguments[n])){if(a+(o=ko(i))>zo)throw Uo(Go);for(e=0;e<o;e++,a++)e in i&&Io(c,a,i[e])}else{if(a>=zo)throw Uo(Go);Io(c,a++,i)}return c.length=a,c}}),e.default.fn.bootstrapTable.locales["lb-LU"]=e.default.fn.bootstrapTable.locales.lb={formatCopyRows:function(){return"Zeilen kopéieren"},formatPrint:function(){return"Drécken"},formatLoadingMessage:function(){return"Gëtt gelueden, gedellëgt Iech wannechgelift ee Moment"},formatRecordsPerPage:function(t){return"".concat(t," Zeilen per Säit")},formatShowingRows:function(t,n,e,r){return void 0!==r&&r>0&&r>e?"Weist Zeil ".concat(t," bis ").concat(n," vun ").concat(e," Zeil").concat(e>1?"en":""," (gefiltert vun insgesamt ").concat(r," Zeil").concat(e>1?"en":"",")"):"Weist Zeil ".concat(t," bis ").concat(n," vun ").concat(e," Zeil").concat(e>1?"en":"")},formatSRPaginationPreText:function(){return"viregt Säit"},formatSRPaginationPageText:function(t){return"op Säit ".concat(t)},formatSRPaginationNextText:function(){return"nächst Säit"},formatDetailPagination:function(t){return"Weist ".concat(t," Zeilen")},formatClearSearch:function(){return"Sich réckgängeg maachen"},formatSearch:function(){return"Sich"},formatNoMatches:function(){return"Keng passend Anträg fonnt"},formatPaginationSwitch:function(){return"Paginatioun uweisen/verstoppen"},formatPaginationSwitchDown:function(){return"Paginatioun uweisen"},formatPaginationSwitchUp:function(){return"Paginatioun verstoppen"},formatRefresh:function(){return"Nei lueden"},formatToggle:function(){return"Ëmschalten"},formatToggleOn:function(){return"Kaartenusiicht uweisen"},formatToggleOff:function(){return"Kaartenusiicht verstoppen"},formatColumns:function(){return"Kolonnen"},formatColumnsToggleAll:function(){return"All ëmschalten"},formatFullscreen:function(){return"Vollbild"},formatAllRows:function(){return"All"},formatAutoRefresh:function(){return"Automatescht neilueden"},formatExport:function(){return"Daten exportéieren"},formatJumpTo:function(){return"Sprangen"},formatAdvancedSearch:function(){return"Erweidert Sich"},formatAdvancedCloseButton:function(){return"Zoumaachen"},formatFilterControlSwitch:function(){return"Schaltelementer uweisen/verstoppen"},formatFilterControlSwitchHide:function(){return"Schaltelementer verstoppen"},formatFilterControlSwitchShow:function(){return"Schaltelementer uweisen"}},e.default.extend(e.default.fn.bootstrapTable.defaults,e.default.fn.bootstrapTable.locales["lb-LU"])}));