UNPKG

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