UNPKG

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