UNPKG

15.2 kBJavaScriptView Raw
1/**
2 * bootstrap-table - An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation)
3 *
4 * @version v1.20.2
5 * @homepage https://bootstrap-table.com
6 * @author wenzhixin <wenzhixin2010@gmail.com> (http://wenzhixin.net.cn/)
7 * @license MIT
8 */
9
10!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).jQuery)}(this,(function(t){"use strict";function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var n=e(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={},m={}.propertyIsEnumerable,y=Object.getOwnPropertyDescriptor,b=y&&!m.call({1:2},1);g.f=b?function(t){var e=y(this,t);return!!e&&e.enumerable}:m;var h,d,v=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},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)}},A=T,E=A({}.toString),x=A("".slice),F=function(t){return x(E(t),8,-1)},C=T,D=c,N=F,R=i.Object,Z=C("".split),M=D((function(){return!R("z").propertyIsEnumerable(0)}))?function(t){return"String"==N(t)?Z(t,""):R(t)}:R,k=i.TypeError,L=function(t){if(null==t)throw k("Can't call method on "+t);return t},I=M,z=L,B=function(t){return I(z(t))},G=function(t){return"function"==typeof t},V=G,_=function(t){return"object"==typeof t?null!==t:V(t)},U=i,q=G,K=function(t){return q(t)?t:void 0},W=function(t,e){return arguments.length<2?K(U[t]):U[t]&&U[t][e]},H=T({}.isPrototypeOf),J=i,Q=W("navigator","userAgent")||"",X=J.process,Y=J.Deno,$=X&&X.versions||Y&&Y.version,tt=$&&$.v8;tt&&(d=(h=tt.split("."))[0]>0&&h[0]<4?1:+(h[0]+h[1])),!d&&Q&&(!(h=Q.match(/Edge\/(\d+)/))||h[1]>=74)&&(h=Q.match(/Chrome\/(\d+)/))&&(d=+h[1]);var et=d,nt=et,rt=c,ot=!!Object.getOwnPropertySymbols&&!rt((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&nt&&nt<41})),it=ot&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ut=W,ct=G,at=H,ft=it,lt=i.Object,st=ft?function(t){return"symbol"==typeof t}:function(t){var e=ut("Symbol");return ct(e)&&at(e.prototype,lt(t))},pt=i.String,gt=G,mt=function(t){try{return pt(t)}catch(t){return"Object"}},yt=i.TypeError,bt=function(t){if(gt(t))return t;throw yt(mt(t)+" is not a function")},ht=p,dt=G,vt=_,St=i.TypeError,wt={exports:{}},Ot=i,jt=Object.defineProperty,Pt=function(t,e){try{jt(Ot,t,{value:e,configurable:!0,writable:!0})}catch(n){Ot[t]=e}return e},Tt=Pt,At="__core-js_shared__",Et=i[At]||Tt(At,{}),xt=Et;(wt.exports=function(t,e){return xt[t]||(xt[t]=void 0!==e?e:{})})("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 Ft=L,Ct=i.Object,Dt=function(t){return Ct(Ft(t))},Nt=Dt,Rt=T({}.hasOwnProperty),Zt=Object.hasOwn||function(t,e){return Rt(Nt(t),e)},Mt=T,kt=0,Lt=Math.random(),It=Mt(1..toString),zt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+It(++kt+Lt,36)},Bt=i,Gt=wt.exports,Vt=Zt,_t=zt,Ut=ot,qt=it,Kt=Gt("wks"),Wt=Bt.Symbol,Ht=Wt&&Wt.for,Jt=qt?Wt:Wt&&Wt.withoutSetter||_t,Qt=function(t){if(!Vt(Kt,t)||!Ut&&"string"!=typeof Kt[t]){var e="Symbol."+t;Ut&&Vt(Wt,t)?Kt[t]=Wt[t]:Kt[t]=qt&&Ht?Ht(e):Jt(e)}return Kt[t]},Xt=p,Yt=_,$t=st,te=function(t,e){var n=t[e];return null==n?void 0:bt(n)},ee=function(t,e){var n,r;if("string"===e&&dt(n=t.toString)&&!vt(r=ht(n,t)))return r;if(dt(n=t.valueOf)&&!vt(r=ht(n,t)))return r;if("string"!==e&&dt(n=t.toString)&&!vt(r=ht(n,t)))return r;throw St("Can't convert object to primitive value")},ne=Qt,re=i.TypeError,oe=ne("toPrimitive"),ie=function(t,e){if(!Yt(t)||$t(t))return t;var n,r=te(t,oe);if(r){if(void 0===e&&(e="default"),n=Xt(r,t,e),!Yt(n)||$t(n))return n;throw re("Can't convert object to primitive value")}return void 0===e&&(e="number"),ee(t,e)},ue=st,ce=function(t){var e=ie(t,"string");return ue(e)?e:e+""},ae=_,fe=i.document,le=ae(fe)&&ae(fe.createElement),se=function(t){return le?fe.createElement(t):{}},pe=!a&&!c((function(){return 7!=Object.defineProperty(se("div"),"a",{get:function(){return 7}}).a})),ge=a,me=p,ye=g,be=v,he=B,de=ce,ve=Zt,Se=pe,we=Object.getOwnPropertyDescriptor;u.f=ge?we:function(t,e){if(t=he(t),e=de(e),Se)try{return we(t,e)}catch(t){}if(ve(t,e))return be(!me(ye.f,t,e),t[e])};var Oe={},je=a&&c((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Pe=i,Te=_,Ae=Pe.String,Ee=Pe.TypeError,xe=function(t){if(Te(t))return t;throw Ee(Ae(t)+" is not an object")},Fe=a,Ce=pe,De=je,Ne=xe,Re=ce,Ze=i.TypeError,Me=Object.defineProperty,ke=Object.getOwnPropertyDescriptor,Le="enumerable",Ie="configurable",ze="writable";Oe.f=Fe?De?function(t,e,n){if(Ne(t),e=Re(e),Ne(n),"function"==typeof t&&"prototype"===e&&"value"in n&&ze in n&&!n.writable){var r=ke(t,e);r&&r.writable&&(t[e]=n.value,n={configurable:Ie in n?n.configurable:r.configurable,enumerable:Le in n?n.enumerable:r.enumerable,writable:!1})}return Me(t,e,n)}:Me:function(t,e,n){if(Ne(t),e=Re(e),Ne(n),Ce)try{return Me(t,e,n)}catch(t){}if("get"in n||"set"in n)throw Ze("Accessors not supported");return"value"in n&&(t[e]=n.value),t};var Be=Oe,Ge=v,Ve=a?function(t,e,n){return Be.f(t,e,Ge(1,n))}:function(t,e,n){return t[e]=n,t},_e={exports:{}},Ue=a,qe=Zt,Ke=Function.prototype,We=Ue&&Object.getOwnPropertyDescriptor,He=qe(Ke,"name"),Je={EXISTS:He,PROPER:He&&"something"===function(){}.name,CONFIGURABLE:He&&(!Ue||Ue&&We(Ke,"name").configurable)},Qe=G,Xe=Et,Ye=T(Function.toString);Qe(Xe.inspectSource)||(Xe.inspectSource=function(t){return Ye(t)});var $e,tn,en,nn=Xe.inspectSource,rn=G,on=nn,un=i.WeakMap,cn=rn(un)&&/native code/.test(on(un)),an=wt.exports,fn=zt,ln=an("keys"),sn={},pn=cn,gn=i,mn=T,yn=_,bn=Ve,hn=Zt,dn=Et,vn=function(t){return ln[t]||(ln[t]=fn(t))},Sn=sn,wn="Object already initialized",On=gn.TypeError,jn=gn.WeakMap;if(pn||dn.state){var Pn=dn.state||(dn.state=new jn),Tn=mn(Pn.get),An=mn(Pn.has),En=mn(Pn.set);$e=function(t,e){if(An(Pn,t))throw new On(wn);return e.facade=t,En(Pn,t,e),e},tn=function(t){return Tn(Pn,t)||{}},en=function(t){return An(Pn,t)}}else{var xn=vn("state");Sn[xn]=!0,$e=function(t,e){if(hn(t,xn))throw new On(wn);return e.facade=t,bn(t,xn,e),e},tn=function(t){return hn(t,xn)?t[xn]:{}},en=function(t){return hn(t,xn)}}var Fn={set:$e,get:tn,has:en,enforce:function(t){return en(t)?tn(t):$e(t,{})},getterFor:function(t){return function(e){var n;if(!yn(e)||(n=tn(e)).type!==t)throw On("Incompatible receiver, "+t+" required");return n}}},Cn=c,Dn=G,Nn=Zt,Rn=a,Zn=Je.CONFIGURABLE,Mn=nn,kn=Fn.enforce,Ln=Fn.get,In=Object.defineProperty,zn=Rn&&!Cn((function(){return 8!==In((function(){}),"length",{value:8}).length})),Bn=String(String).split("String"),Gn=_e.exports=function(t,e,n){if("Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!Nn(t,"name")||Zn&&t.name!==e)&&In(t,"name",{value:e,configurable:!0}),zn&&n&&Nn(n,"arity")&&t.length!==n.arity&&In(t,"length",{value:n.arity}),n&&Nn(n,"constructor")&&n.constructor){if(Rn)try{In(t,"prototype",{writable:!1})}catch(t){}}else t.prototype=void 0;var r=kn(t);return Nn(r,"source")||(r.source=Bn.join("string"==typeof e?e:"")),t};Function.prototype.toString=Gn((function(){return Dn(this)&&Ln(this).source||Mn(this)}),"toString");var Vn=i,_n=G,Un=Ve,qn=_e.exports,Kn=Pt,Wn={},Hn=Math.ceil,Jn=Math.floor,Qn=function(t){var e=+t;return e!=e||0===e?0:(e>0?Jn:Hn)(e)},Xn=Qn,Yn=Math.max,$n=Math.min,tr=Qn,er=Math.min,nr=function(t){return t>0?er(tr(t),9007199254740991):0},rr=function(t){return nr(t.length)},or=B,ir=function(t,e){var n=Xn(t);return n<0?Yn(n+e,0):$n(n,e)},ur=rr,cr=function(t){return function(e,n,r){var o,i=or(e),u=ur(i),c=ir(r,u);if(t&&n!=n){for(;u>c;)if((o=i[c++])!=o)return!0}else for(;u>c;c++)if((t||c in i)&&i[c]===n)return t||c||0;return!t&&-1}},ar={includes:cr(!0),indexOf:cr(!1)},fr=Zt,lr=B,sr=ar.indexOf,pr=sn,gr=T([].push),mr=function(t,e){var n,r=lr(t),o=0,i=[];for(n in r)!fr(pr,n)&&fr(r,n)&&gr(i,n);for(;e.length>o;)fr(r,n=e[o++])&&(~sr(i,n)||gr(i,n));return i},yr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype");Wn.f=Object.getOwnPropertyNames||function(t){return mr(t,yr)};var br={};br.f=Object.getOwnPropertySymbols;var hr=W,dr=Wn,vr=br,Sr=xe,wr=T([].concat),Or=hr("Reflect","ownKeys")||function(t){var e=dr.f(Sr(t)),n=vr.f;return n?wr(e,n(t)):e},jr=Zt,Pr=Or,Tr=u,Ar=Oe,Er=c,xr=G,Fr=/#|\.prototype\./,Cr=function(t,e){var n=Nr[Dr(t)];return n==Zr||n!=Rr&&(xr(e)?Er(e):!!e)},Dr=Cr.normalize=function(t){return String(t).replace(Fr,".").toLowerCase()},Nr=Cr.data={},Rr=Cr.NATIVE="N",Zr=Cr.POLYFILL="P",Mr=Cr,kr=i,Lr=u.f,Ir=Ve,zr=function(t,e,n,r){var o=!!r&&!!r.unsafe,i=!!r&&!!r.enumerable,u=!!r&&!!r.noTargetGet,c=r&&void 0!==r.name?r.name:e;return _n(n)&&qn(n,c,r),t===Vn?(i?t[e]=n:Kn(e,n),t):(o?!u&&t[e]&&(i=!0):delete t[e],i?t[e]=n:Un(t,e,n),t)},Br=Pt,Gr=function(t,e,n){for(var r=Pr(e),o=Ar.f,i=Tr.f,u=0;u<r.length;u++){var c=r[u];jr(t,c)||n&&jr(n,c)||o(t,c,i(e,c))}},Vr=Mr,_r=F,Ur=Array.isArray||function(t){return"Array"==_r(t)},qr=ce,Kr=Oe,Wr=v,Hr={};Hr[Qt("toStringTag")]="z";var Jr=i,Qr="[object z]"===String(Hr),Xr=G,Yr=F,$r=Qt("toStringTag"),to=Jr.Object,eo="Arguments"==Yr(function(){return arguments}()),no=T,ro=c,oo=G,io=Qr?Yr:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=to(t),$r))?n:eo?Yr(e):"Object"==(r=Yr(e))&&Xr(e.callee)?"Arguments":r},uo=nn,co=function(){},ao=[],fo=W("Reflect","construct"),lo=/^\s*(?:class|function)\b/,so=no(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}},mo=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}};mo.sham=!0;var yo=!fo||ro((function(){var t;return go(go.call)||!go(Object)||!go((function(){t=!0}))||t}))?mo:go,bo=i,ho=Ur,vo=yo,So=_,wo=Qt("species"),Oo=bo.Array,jo=function(t){var e;return ho(t)&&(e=t.constructor,(vo(e)&&(e===Oo||ho(e.prototype))||So(e)&&null===(e=e[wo]))&&(e=void 0)),void 0===e?Oo:e},Po=c,To=et,Ao=Qt("species"),Eo=function(t,e){var n,r,o,i,u,c=t.target,a=t.global,f=t.stat;if(n=a?kr:f?kr[c]||Br(c,{}):(kr[c]||{}).prototype)for(r in e){if(i=e[r],o=t.noTargetGet?(u=Lr(n,r))&&u.value:n[r],!Vr(a?r:c+(f?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Gr(i,o)}(t.sham||o&&o.sham)&&Ir(i,"sham",!0),zr(n,r,i,t)}},xo=i,Fo=c,Co=Ur,Do=_,No=Dt,Ro=rr,Zo=function(t,e,n){var r=qr(e);r in t?Kr.f(t,r,Wr(0,n)):t[r]=n},Mo=function(t,e){return new(jo(t))(0===e?0:e)},ko=function(t){return To>=51||!Po((function(){var e=[];return(e.constructor={})[Ao]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},Lo=et,Io=Qt("isConcatSpreadable"),zo=9007199254740991,Bo="Maximum allowed index exceeded",Go=xo.TypeError,Vo=Lo>=51||!Fo((function(){var t=[];return t[Io]=!1,t.concat()[0]!==t})),_o=ko("concat"),Uo=function(t){if(!Do(t))return!1;var e=t[Io];return void 0!==e?!!e:Co(t)};Eo({target:"Array",proto:!0,arity:1,forced:!Vo||!_o},{concat:function(t){var e,n,r,o,i,u=No(this),c=Mo(u,0),a=0;for(e=-1,r=arguments.length;e<r;e++)if(Uo(i=-1===e?u:arguments[e])){if(a+(o=Ro(i))>zo)throw Go(Bo);for(n=0;n<o;n++,a++)n in i&&Zo(c,a,i[n])}else{if(a>=zo)throw Go(Bo);Zo(c,a++,i)}return c.length=a,c}}),n.default.fn.bootstrapTable.locales["de-DE"]=n.default.fn.bootstrapTable.locales.de={formatCopyRows:function(){return"Zeilen kopieren"},formatPrint:function(){return"Drucken"},formatLoadingMessage:function(){return"Lade, bitte warten"},formatRecordsPerPage:function(t){return"".concat(t," Zeilen pro Seite.")},formatShowingRows:function(t,e,n,r){return void 0!==r&&r>0&&r>n?"Zeige Zeile ".concat(t," bis ").concat(e," von ").concat(n," Zeile").concat(n>1?"n":""," (Gefiltert von ").concat(r," Zeile").concat(r>1?"n":"",")"):"Zeige Zeile ".concat(t," bis ").concat(e," von ").concat(n," Zeile").concat(n>1?"n":"",".")},formatSRPaginationPreText:function(){return"Vorherige Seite"},formatSRPaginationPageText:function(t){return"Zu Seite ".concat(t)},formatSRPaginationNextText:function(){return"Nächste Seite"},formatDetailPagination:function(t){return"Zeige ".concat(t," Zeile").concat(t>1?"n":"",".")},formatClearSearch:function(){return"Lösche Filter"},formatSearch:function(){return"Suchen"},formatNoMatches:function(){return"Keine passenden Ergebnisse gefunden"},formatPaginationSwitch:function(){return"Verstecke/Zeige Nummerierung"},formatPaginationSwitchDown:function(){return"Zeige Nummerierung"},formatPaginationSwitchUp:function(){return"Verstecke Nummerierung"},formatRefresh:function(){return"Neu laden"},formatToggle:function(){return"Umschalten"},formatToggleOn:function(){return"Normale Ansicht"},formatToggleOff:function(){return"Kartenansicht"},formatColumns:function(){return"Spalten"},formatColumnsToggleAll:function(){return"Alle umschalten"},formatFullscreen:function(){return"Vollbild"},formatAllRows:function(){return"Alle"},formatAutoRefresh:function(){return"Automatisches Neuladen"},formatExport:function(){return"Datenexport"},formatJumpTo:function(){return"Springen"},formatAdvancedSearch:function(){return"Erweiterte Suche"},formatAdvancedCloseButton:function(){return"Schließen"},formatFilterControlSwitch:function(){return"Verstecke/Zeige Filter"},formatFilterControlSwitchHide:function(){return"Verstecke Filter"},formatFilterControlSwitchShow:function(){return"Zeige Filter"},formatAddLevel:function(){return"Ebene hinzufügen"},formatCancel:function(){return"Abbrechen"},formatColumn:function(){return"Spalte"},formatDeleteLevel:function(){return"Ebene entfernen"},formatDuplicateAlertTitle:function(){return"Doppelte Einträge gefunden!"},formatDuplicateAlertDescription:function(){return"Bitte doppelte Spalten entfenen oder ändern"},formatMultipleSort:function(){return"Mehrfachsortierung"},formatOrder:function(){return"Reihenfolge"},formatSort:function(){return"Sortieren"},formatSortBy:function(){return"Sortieren nach"},formatThenBy:function(){return"anschließend"},formatSortOrders:function(){return{asc:"Aufsteigend",desc:"Absteigend"}}},n.default.extend(n.default.fn.bootstrapTable.defaults,n.default.fn.bootstrapTable.locales["de-DE"])}));