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) • 15.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.22.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";var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=function(t){return t&&t.Math===Math&&t},r=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof n&&n)||e("object"==typeof n&&n)||function(){return this}()||Function("return this")(),o={},i=function(t){try{return!!t()}catch(t){return!0}},u=!i((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),c=!i((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),a=c,f=Function.prototype.call,l=a?f.bind(f):function(){return f.apply(f,arguments)},s={},p={}.propertyIsEnumerable,g=Object.getOwnPropertyDescriptor,b=g&&!p.call({1:2},1);s.f=b?function(t){var n=g(this,t);return!!n&&n.enumerable}:p;var y,h,m=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}},v=c,d=Function.prototype,w=d.call,S=v&&d.bind.bind(w,w),O=v?S:function(t){return function(){return w.apply(t,arguments)}},j=O,P=j({}.toString),T=j("".slice),A=function(t){return T(P(t),8,-1)},E=i,x=A,C=Object,M=O("".split),F=E((function(){return!C("z").propertyIsEnumerable(0)}))?function(t){return"String"===x(t)?M(t,""):C(t)}:C,D=function(t){return null==t},R=D,I=TypeError,L=function(t){if(R(t))throw new I("Can't call method on "+t);return t},k=F,N=L,Z=function(t){return k(N(t))},_="object"==typeof document&&document.all,z={all:_,IS_HTMLDDA:void 0===_&&void 0!==_},G=z.all,U=z.IS_HTMLDDA?function(t){return"function"==typeof t||t===G}:function(t){return"function"==typeof t},W=U,q=z.all,K=z.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:W(t)||t===q}:function(t){return"object"==typeof t?null!==t:W(t)},B=r,H=U,V=function(t){return H(t)?t:void 0},J=function(t,n){return arguments.length<2?V(B[t]):B[t]&&B[t][n]},Q=O({}.isPrototypeOf),X=r,Y="undefined"!=typeof navigator&&String(navigator.userAgent)||"",$=X.process,tt=X.Deno,nt=$&&$.versions||tt&&tt.version,et=nt&&nt.v8;et&&(h=(y=et.split("."))[0]>0&&y[0]<4?1:+(y[0]+y[1])),!h&&Y&&(!(y=Y.match(/Edge\/(\d+)/))||y[1]>=74)&&(y=Y.match(/Chrome\/(\d+)/))&&(h=+y[1]);var rt=h,ot=rt,it=i,ut=r.String,ct=!!Object.getOwnPropertySymbols&&!it((function(){var t=Symbol("symbol detection");return!ut(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&ot&&ot<41})),at=ct&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ft=J,lt=U,st=Q,pt=Object,gt=at?function(t){return"symbol"==typeof t}:function(t){var n=ft("Symbol");return lt(n)&&st(n.prototype,pt(t))},bt=String,yt=U,ht=function(t){try{return bt(t)}catch(t){return"Object"}},mt=TypeError,vt=function(t){if(yt(t))return t;throw new mt(ht(t)+" is not a function")},dt=D,wt=l,St=U,Ot=K,jt=TypeError,Pt={exports:{}},Tt=r,At=Object.defineProperty,Et=function(t,n){try{At(Tt,t,{value:n,configurable:!0,writable:!0})}catch(e){Tt[t]=n}return n},xt=Et,Ct="__core-js_shared__",Mt=r[Ct]||xt(Ct,{}),Ft=Mt;(Pt.exports=function(t,n){return Ft[t]||(Ft[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.34.0",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.34.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Dt=Pt.exports,Rt=L,It=Object,Lt=function(t){return It(Rt(t))},kt=Lt,Nt=O({}.hasOwnProperty),Zt=Object.hasOwn||function(t,n){return Nt(kt(t),n)},_t=O,zt=0,Gt=Math.random(),Ut=_t(1..toString),Wt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+Ut(++zt+Gt,36)},qt=Dt,Kt=Zt,Bt=Wt,Ht=ct,Vt=at,Jt=r.Symbol,Qt=qt("wks"),Xt=Vt?Jt.for||Jt:Jt&&Jt.withoutSetter||Bt,Yt=function(t){return Kt(Qt,t)||(Qt[t]=Ht&&Kt(Jt,t)?Jt[t]:Xt("Symbol."+t)),Qt[t]},$t=l,tn=K,nn=gt,en=function(t,n){var e=t[n];return dt(e)?void 0:vt(e)},rn=function(t,n){var e,r;if("string"===n&&St(e=t.toString)&&!Ot(r=wt(e,t)))return r;if(St(e=t.valueOf)&&!Ot(r=wt(e,t)))return r;if("string"!==n&&St(e=t.toString)&&!Ot(r=wt(e,t)))return r;throw new jt("Can't convert object to primitive value")},on=TypeError,un=Yt("toPrimitive"),cn=function(t,n){if(!tn(t)||nn(t))return t;var e,r=en(t,un);if(r){if(void 0===n&&(n="default"),e=$t(r,t,n),!tn(e)||nn(e))return e;throw new on("Can't convert object to primitive value")}return void 0===n&&(n="number"),rn(t,n)},an=gt,fn=function(t){var n=cn(t,"string");return an(n)?n:n+""},ln=K,sn=r.document,pn=ln(sn)&&ln(sn.createElement),gn=function(t){return pn?sn.createElement(t):{}},bn=!u&&!i((function(){return 7!==Object.defineProperty(gn("div"),"a",{get:function(){return 7}}).a})),yn=u,hn=l,mn=s,vn=m,dn=Z,wn=fn,Sn=Zt,On=bn,jn=Object.getOwnPropertyDescriptor;o.f=yn?jn:function(t,n){if(t=dn(t),n=wn(n),On)try{return jn(t,n)}catch(t){}if(Sn(t,n))return vn(!hn(mn.f,t,n),t[n])};var Pn={},Tn=u&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),An=K,En=String,xn=TypeError,Cn=function(t){if(An(t))return t;throw new xn(En(t)+" is not an object")},Mn=u,Fn=bn,Dn=Tn,Rn=Cn,In=fn,Ln=TypeError,kn=Object.defineProperty,Nn=Object.getOwnPropertyDescriptor,Zn="enumerable",_n="configurable",zn="writable";Pn.f=Mn?Dn?function(t,n,e){if(Rn(t),n=In(n),Rn(e),"function"==typeof t&&"prototype"===n&&"value"in e&&zn in e&&!e.writable){var r=Nn(t,n);r&&r.writable&&(t[n]=e.value,e={configurable:_n in e?e.configurable:r.configurable,enumerable:Zn in e?e.enumerable:r.enumerable,writable:!1})}return kn(t,n,e)}:kn:function(t,n,e){if(Rn(t),n=In(n),Rn(e),Fn)try{return kn(t,n,e)}catch(t){}if("get"in e||"set"in e)throw new Ln("Accessors not supported");return"value"in e&&(t[n]=e.value),t};var Gn=Pn,Un=m,Wn=u?function(t,n,e){return Gn.f(t,n,Un(1,e))}:function(t,n,e){return t[n]=e,t},qn={exports:{}},Kn=u,Bn=Zt,Hn=Function.prototype,Vn=Kn&&Object.getOwnPropertyDescriptor,Jn=Bn(Hn,"name"),Qn={EXISTS:Jn,PROPER:Jn&&"something"===function(){}.name,CONFIGURABLE:Jn&&(!Kn||Kn&&Vn(Hn,"name").configurable)},Xn=U,Yn=Mt,$n=O(Function.toString);Xn(Yn.inspectSource)||(Yn.inspectSource=function(t){return $n(t)});var te,ne,ee,re=Yn.inspectSource,oe=U,ie=r.WeakMap,ue=oe(ie)&&/native code/.test(String(ie)),ce=Wt,ae=Dt("keys"),fe={},le=ue,se=r,pe=K,ge=Wn,be=Zt,ye=Mt,he=function(t){return ae[t]||(ae[t]=ce(t))},me=fe,ve="Object already initialized",de=se.TypeError,we=se.WeakMap;if(le||ye.state){var Se=ye.state||(ye.state=new we);Se.get=Se.get,Se.has=Se.has,Se.set=Se.set,te=function(t,n){if(Se.has(t))throw new de(ve);return n.facade=t,Se.set(t,n),n},ne=function(t){return Se.get(t)||{}},ee=function(t){return Se.has(t)}}else{var Oe=he("state");me[Oe]=!0,te=function(t,n){if(be(t,Oe))throw new de(ve);return n.facade=t,ge(t,Oe,n),n},ne=function(t){return be(t,Oe)?t[Oe]:{}},ee=function(t){return be(t,Oe)}}var je={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(!pe(n)||(e=ne(n)).type!==t)throw new de("Incompatible receiver, "+t+" required");return e}}},Pe=O,Te=i,Ae=U,Ee=Zt,xe=u,Ce=Qn.CONFIGURABLE,Me=re,Fe=je.enforce,De=je.get,Re=String,Ie=Object.defineProperty,Le=Pe("".slice),ke=Pe("".replace),Ne=Pe([].join),Ze=xe&&!Te((function(){return 8!==Ie((function(){}),"length",{value:8}).length})),_e=String(String).split("String"),ze=qn.exports=function(t,n,e){"Symbol("===Le(Re(n),0,7)&&(n="["+ke(Re(n),/^Symbol\(([^)]*)\)/,"$1")+"]"),e&&e.getter&&(n="get "+n),e&&e.setter&&(n="set "+n),(!Ee(t,"name")||Ce&&t.name!==n)&&(xe?Ie(t,"name",{value:n,configurable:!0}):t.name=n),Ze&&e&&Ee(e,"arity")&&t.length!==e.arity&&Ie(t,"length",{value:e.arity});try{e&&Ee(e,"constructor")&&e.constructor?xe&&Ie(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var r=Fe(t);return Ee(r,"source")||(r.source=Ne(_e,"string"==typeof n?n:"")),t};Function.prototype.toString=ze((function(){return Ae(this)&&De(this).source||Me(this)}),"toString");var Ge=qn.exports,Ue=U,We=Pn,qe=Ge,Ke=Et,Be={},He=Math.ceil,Ve=Math.floor,Je=Math.trunc||function(t){var n=+t;return(n>0?Ve:He)(n)},Qe=function(t){var n=+t;return n!=n||0===n?0:Je(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=Z,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=Zt,lr=Z,sr=ar.indexOf,pr=fe,gr=O([].push),br=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},yr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],hr=br,mr=yr.concat("length","prototype");Be.f=Object.getOwnPropertyNames||function(t){return hr(t,mr)};var vr={};vr.f=Object.getOwnPropertySymbols;var dr=J,wr=Be,Sr=vr,Or=Cn,jr=O([].concat),Pr=dr("Reflect","ownKeys")||function(t){var n=wr.f(Or(t)),e=Sr.f;return e?jr(n,e(t)):n},Tr=Zt,Ar=Pr,Er=o,xr=Pn,Cr=i,Mr=U,Fr=/#|\.prototype\./,Dr=function(t,n){var e=Ir[Rr(t)];return e===kr||e!==Lr&&(Mr(n)?Cr(n):!!n)},Rr=Dr.normalize=function(t){return String(t).replace(Fr,".").toLowerCase()},Ir=Dr.data={},Lr=Dr.NATIVE="N",kr=Dr.POLYFILL="P",Nr=Dr,Zr=r,_r=o.f,zr=Wn,Gr=function(t,n,e,r){r||(r={});var o=r.enumerable,i=void 0!==r.name?r.name:n;if(Ue(e)&&qe(e,i,r),r.global)o?t[n]=e:Ke(n,e);else{try{r.unsafe?t[n]&&(o=!0):delete t[n]}catch(t){}o?t[n]=e:We.f(t,n,{value:e,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return t},Ur=Et,Wr=function(t,n,e){for(var r=Ar(n),o=xr.f,i=Er.f,u=0;u<r.length;u++){var c=r[u];Tr(t,c)||e&&Tr(e,c)||o(t,c,i(n,c))}},qr=Nr,Kr=function(t,n){var e,r,o,i,u,c=t.target,a=t.global,f=t.stat;if(e=a?Zr:f?Zr[c]||Ur(c,{}):(Zr[c]||{}).prototype)for(r in n){if(i=n[r],o=t.dontCallGetSet?(u=_r(e,r))&&u.value:e[r],!qr(a?r:c+(f?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Wr(i,o)}(t.sham||o&&o.sham)&&zr(i,"sham",!0),Gr(e,r,i,t)}},Br=A,Hr=Array.isArray||function(t){return"Array"===Br(t)},Vr=TypeError,Jr=fn,Qr=Pn,Xr=m,Yr={};Yr[Yt("toStringTag")]="z";var $r="[object z]"===String(Yr),to=U,no=A,eo=Yt("toStringTag"),ro=Object,oo="Arguments"===no(function(){return arguments}()),io=O,uo=i,co=U,ao=$r?no: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=ro(t),eo))?e:oo?no(n):"Object"===(r=no(n))&&to(n.callee)?"Arguments":r},fo=re,lo=function(){},so=[],po=J("Reflect","construct"),go=/^\s*(?:class|function)\b/,bo=io(go.exec),yo=!go.test(lo),ho=function(t){if(!co(t))return!1;try{return po(lo,so,t),!0}catch(t){return!1}},mo=function(t){if(!co(t))return!1;switch(ao(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return yo||!!bo(go,fo(t))}catch(t){return!0}};mo.sham=!0;var vo=!po||uo((function(){var t;return ho(ho.call)||!ho(Object)||!ho((function(){t=!0}))||t}))?mo:ho,wo=Hr,So=vo,Oo=K,jo=Yt("species"),Po=Array,To=function(t){var n;return wo(t)&&(n=t.constructor,(So(n)&&(n===Po||wo(n.prototype))||Oo(n)&&null===(n=n[jo]))&&(n=void 0)),void 0===n?Po:n},Ao=i,Eo=rt,xo=Yt("species"),Co=Kr,Mo=i,Fo=Hr,Do=K,Ro=Lt,Io=rr,Lo=function(t){if(t>9007199254740991)throw Vr("Maximum allowed index exceeded");return t},ko=function(t,n,e){var r=Jr(n);r in t?Qr.f(t,r,Xr(0,e)):t[r]=e},No=function(t,n){return new(To(t))(0===n?0:n)},Zo=function(t){return Eo>=51||!Ao((function(){var n=[];return(n.constructor={})[xo]=function(){return{foo:1}},1!==n[t](Boolean).foo}))},_o=rt,zo=Yt("isConcatSpreadable"),Go=_o>=51||!Mo((function(){var t=[];return t[zo]=!1,t.concat()[0]!==t})),Uo=function(t){if(!Do(t))return!1;var n=t[zo];return void 0!==n?!!n:Fo(t)};Co({target:"Array",proto:!0,arity:1,forced:!Go||!Zo("concat")},{concat:function(t){var n,e,r,o,i,u=Ro(this),c=No(u,0),a=0;for(n=-1,r=arguments.length;n<r;n++)if(Uo(i=-1===n?u:arguments[n]))for(o=Io(i),Lo(a+o),e=0;e<o;e++,a++)e in i&&ko(c,a,i[e]);else Lo(a+1),ko(c,a++,i);return c.length=a,c}});var Wo=br,qo=yr,Ko=Object.keys||function(t){return Wo(t,qo)},Bo=u,Ho=O,Vo=l,Jo=i,Qo=Ko,Xo=vr,Yo=s,$o=Lt,ti=F,ni=Object.assign,ei=Object.defineProperty,ri=Ho([].concat),oi=!ni||Jo((function(){if(Bo&&1!==ni({b:1},ni(ei({},"a",{enumerable:!0,get:function(){ei(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},n={},e=Symbol("assign detection"),r="abcdefghijklmnopqrst";return t[e]=7,r.split("").forEach((function(t){n[t]=t})),7!==ni({},t)[e]||Qo(ni({},n)).join("")!==r}))?function(t,n){for(var e=$o(t),r=arguments.length,o=1,i=Xo.f,u=Yo.f;r>o;)for(var c,a=ti(arguments[o++]),f=i?ri(Qo(a),i(a)):Qo(a),l=f.length,s=0;l>s;)c=f[s++],Bo&&!Vo(u,a,c)||(e[c]=a[c]);return e}:ni,ii=oi;Kr({target:"Object",stat:!0,arity:2,forced:Object.assign!==ii},{assign:ii}),t.fn.bootstrapTable.locales["lb-LU"]=t.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"},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"}},Object.assign(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["lb-LU"])}));