UNPKG

9.75 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.17.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=t||self).jQuery)}(this,(function(t){"use strict";t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t;var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t,n){return t(n={exports:{}},n.exports),n.exports}var r=function(t){return t&&t.Math==Math&&t},o=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n&&n)||Function("return this")(),i=function(t){try{return!!t()}catch(t){return!0}},u=!i((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),c={}.propertyIsEnumerable,f=Object.getOwnPropertyDescriptor,a={f:f&&!c.call({1:2},1)?function(t){var n=f(this,t);return!!n&&n.enumerable}:c},l=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}},s={}.toString,p=function(t){return s.call(t).slice(8,-1)},g="".split,m=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==p(t)?g.call(t,""):Object(t)}:Object,h=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},y=function(t){return m(h(t))},d=function(t){return"object"==typeof t?null!==t:"function"==typeof t},b=function(t,n){if(!d(t))return t;var e,r;if(n&&"function"==typeof(e=t.toString)&&!d(r=e.call(t)))return r;if("function"==typeof(e=t.valueOf)&&!d(r=e.call(t)))return r;if(!n&&"function"==typeof(e=t.toString)&&!d(r=e.call(t)))return r;throw TypeError("Can't convert object to primitive value")},v={}.hasOwnProperty,S=function(t,n){return v.call(t,n)},w=o.document,O=d(w)&&d(w.createElement),j=!u&&!i((function(){return 7!=Object.defineProperty((t="div",O?w.createElement(t):{}),"a",{get:function(){return 7}}).a;var t})),P=Object.getOwnPropertyDescriptor,T={f:u?P:function(t,n){if(t=y(t),n=b(n,!0),j)try{return P(t,n)}catch(t){}if(S(t,n))return l(!a.f.call(t,n),t[n])}},x=function(t){if(!d(t))throw TypeError(String(t)+" is not an object");return t},E=Object.defineProperty,A={f:u?E:function(t,n,e){if(x(t),n=b(n,!0),x(e),j)try{return E(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported");return"value"in e&&(t[n]=e.value),t}},Z=u?function(t,n,e){return A.f(t,n,l(1,e))}:function(t,n,e){return t[n]=e,t},M=function(t,n){try{Z(o,t,n)}catch(e){o[t]=n}return n},N=o["__core-js_shared__"]||M("__core-js_shared__",{}),C=Function.toString;"function"!=typeof N.inspectSource&&(N.inspectSource=function(t){return C.call(t)});var _,k,F,R,D=N.inspectSource,L=o.WeakMap,V="function"==typeof L&&/native code/.test(D(L)),I=e((function(t){(t.exports=function(t,n){return N[t]||(N[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.6.0",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})})),q=0,G=Math.random(),z=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++q+G).toString(36)},K=I("keys"),B={},U=o.WeakMap;if(V){var W=new U,H=W.get,J=W.has,Q=W.set;_=function(t,n){return Q.call(W,t,n),n},k=function(t){return H.call(W,t)||{}},F=function(t){return J.call(W,t)}}else{var Y=K[R="state"]||(K[R]=z(R));B[Y]=!0,_=function(t,n){return Z(t,Y,n),n},k=function(t){return S(t,Y)?t[Y]:{}},F=function(t){return S(t,Y)}}var X,$,tt={set:_,get:k,has:F,enforce:function(t){return F(t)?k(t):_(t,{})},getterFor:function(t){return function(n){var e;if(!d(n)||(e=k(n)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return e}}},nt=e((function(t){var n=tt.get,e=tt.enforce,r=String(String).split("String");(t.exports=function(t,n,i,u){var c=!!u&&!!u.unsafe,f=!!u&&!!u.enumerable,a=!!u&&!!u.noTargetGet;"function"==typeof i&&("string"!=typeof n||S(i,"name")||Z(i,"name",n),e(i).source=r.join("string"==typeof n?n:"")),t!==o?(c?!a&&t[n]&&(f=!0):delete t[n],f?t[n]=i:Z(t,n,i)):f?t[n]=i:M(n,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&n(this).source||D(this)}))})),et=o,rt=function(t){return"function"==typeof t?t:void 0},ot=function(t,n){return arguments.length<2?rt(et[t])||rt(o[t]):et[t]&&et[t][n]||o[t]&&o[t][n]},it=Math.ceil,ut=Math.floor,ct=function(t){return isNaN(t=+t)?0:(t>0?ut:it)(t)},ft=Math.min,at=function(t){return t>0?ft(ct(t),9007199254740991):0},lt=Math.max,st=Math.min,pt=function(t){return function(n,e,r){var o,i=y(n),u=at(i.length),c=function(t,n){var e=ct(t);return e<0?lt(e+n,0):st(e,n)}(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}},gt={includes:pt(!0),indexOf:pt(!1)}.indexOf,mt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype"),ht={f:Object.getOwnPropertyNames||function(t){return function(t,n){var e,r=y(t),o=0,i=[];for(e in r)!S(B,e)&&S(r,e)&&i.push(e);for(;n.length>o;)S(r,e=n[o++])&&(~gt(i,e)||i.push(e));return i}(t,mt)}},yt={f:Object.getOwnPropertySymbols},dt=ot("Reflect","ownKeys")||function(t){var n=ht.f(x(t)),e=yt.f;return e?n.concat(e(t)):n},bt=function(t,n){for(var e=dt(n),r=A.f,o=T.f,i=0;i<e.length;i++){var u=e[i];S(t,u)||r(t,u,o(n,u))}},vt=/#|\.prototype\./,St=function(t,n){var e=Ot[wt(t)];return e==Pt||e!=jt&&("function"==typeof n?i(n):!!n)},wt=St.normalize=function(t){return String(t).replace(vt,".").toLowerCase()},Ot=St.data={},jt=St.NATIVE="N",Pt=St.POLYFILL="P",Tt=St,xt=T.f,Et=Array.isArray||function(t){return"Array"==p(t)},At=function(t){return Object(h(t))},Zt=function(t,n,e){var r=b(n);r in t?A.f(t,r,l(0,e)):t[r]=e},Mt=!!Object.getOwnPropertySymbols&&!i((function(){return!String(Symbol())})),Nt=Mt&&!Symbol.sham&&"symbol"==typeof Symbol(),Ct=I("wks"),_t=o.Symbol,kt=Nt?_t:z,Ft=function(t){return S(Ct,t)||(Mt&&S(_t,t)?Ct[t]=_t[t]:Ct[t]=kt("Symbol."+t)),Ct[t]},Rt=Ft("species"),Dt=function(t,n){var e;return Et(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!Et(e.prototype)?d(e)&&null===(e=e[Rt])&&(e=void 0):e=void 0),new(void 0===e?Array:e)(0===n?0:n)},Lt=ot("navigator","userAgent")||"",Vt=o.process,It=Vt&&Vt.versions,qt=It&&It.v8;qt?$=(X=qt.split("."))[0]+X[1]:Lt&&(!(X=Lt.match(/Edge\/(\d+)/))||X[1]>=74)&&(X=Lt.match(/Chrome\/(\d+)/))&&($=X[1]);var Gt,zt=$&&+$,Kt=Ft("species"),Bt=Ft("isConcatSpreadable"),Ut=zt>=51||!i((function(){var t=[];return t[Bt]=!1,t.concat()[0]!==t})),Wt=(Gt="concat",zt>=51||!i((function(){var t=[];return(t.constructor={})[Kt]=function(){return{foo:1}},1!==t[Gt](Boolean).foo}))),Ht=function(t){if(!d(t))return!1;var n=t[Bt];return void 0!==n?!!n:Et(t)};!function(t,n){var e,r,i,u,c,f=t.target,a=t.global,l=t.stat;if(e=a?o:l?o[f]||M(f,{}):(o[f]||{}).prototype)for(r in n){if(u=n[r],i=t.noTargetGet?(c=xt(e,r))&&c.value:e[r],!Tt(a?r:f+(l?".":"#")+r,t.forced)&&void 0!==i){if(typeof u==typeof i)continue;bt(u,i)}(t.sham||i&&i.sham)&&Z(u,"sham",!0),nt(e,r,u,t)}}({target:"Array",proto:!0,forced:!Ut||!Wt},{concat:function(t){var n,e,r,o,i,u=At(this),c=Dt(u,0),f=0;for(n=-1,r=arguments.length;n<r;n++)if(Ht(i=-1===n?u:arguments[n])){if(f+(o=at(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(e=0;e<o;e++,f++)e in i&&Zt(c,f,i[e])}else{if(f>=9007199254740991)throw TypeError("Maximum allowed index exceeded");Zt(c,f++,i)}return c.length=f,c}}),t.fn.bootstrapTable.locales["de-DE"]={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"},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"GO"},formatAdvancedSearch:function(){return"Erweiterte Suche"},formatAdvancedCloseButton:function(){return"Schließen"},formatFilterControlSwitch:function(){return"Verstecke/Zeige controls"},formatFilterControlSwitchHide:function(){return"Verstecke controls"},formatFilterControlSwitchShow:function(){return"Zeige controls"}},t.extend(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["de-DE"])}));